:root {
  --theme-primary: #e91e63;
  --theme-primary-dark: #ad1457;
  --theme-primary-rgb: 233, 30, 99;
  --theme-bg: #f5f5f5;
  --theme-bg-app: #ffffff;
  --theme-bg-light: rgba(0, 0, 0, 0.04);
  --surface: #ffffff;
  --surface-hover: #f3f4f6;
  --surface-card: #ffffff;
  --text-base: #111827;
  --text-muted: #6b7280;
  --text-low: #9ca3af;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --sidebar-bg: #ffffff;
  --sidebar-width: 4rem;
  --header-height: 64px;
  --header-bg: rgba(255, 255, 255, 0.95);
  --container-max: 80rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 9999px;
  --font-poppins: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-bebas: "Bebas Neue", cursive;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.theme-dark {
  --theme-bg: #121212;
  --theme-bg-app: #1a1a1a;
  --theme-bg-light: rgba(44, 44, 44, 0.7);
  --surface: #292929;
  --surface-hover: #2e2e2e;
  --surface-card: linear-gradient(rgb(34, 34, 34), rgb(26, 26, 26));
  --text-base: #ffffff;
  --text-muted: #a09a9a;
  --text-low: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --sidebar-bg: #1a1a1a;
  --header-bg: rgba(26, 26, 26, 0.95);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-poppins);
  background: var(--theme-bg);
  color: var(--text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.siete-shell {
  display: flex;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.siete-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: var(--sidebar-width);
  height: 100vh;
  display: none;
  flex-direction: column;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border-subtle);
}

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.5rem;
  margin-top: var(--header-height);
}

.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  color: #6b7280;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.sidebar-item:hover {
  color: var(--theme-primary);
  background: var(--theme-bg-light);
}

.sidebar-item:hover svg {
  transform: scale(1.1);
}

.sidebar-item svg {
  transition: transform var(--transition);
}

.sidebar-item.is-active {
  color: var(--theme-primary);
  background: rgba(var(--theme-primary-rgb), 0.1);
}

.sidebar-bottom {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--border-subtle);
}

.theme-toggle .icon-moon {
  display: none;
}

body.theme-dark .theme-toggle .icon-sun {
  display: none;
}

body.theme-dark .theme-toggle .icon-moon {
  display: block;
  color: #3b82f6;
}

.theme-toggle .icon-sun {
  color: #f59e0b;
}

.siete-app {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--theme-bg-app);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sidebar-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-lg);
  color: #6b7280;
  transition: color var(--transition), background var(--transition);
}

.sidebar-expand:hover {
  color: var(--theme-primary);
  background: var(--theme-bg-light);
}

.site-logo {
  margin-left: auto;
  margin-right: auto;
}

.site-logo .logo-desktop {
  display: none;
  height: 2rem;
  width: auto;
}

.site-logo .logo-mobile {
  display: block;
  height: 2rem;
  width: 2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--theme-primary);
  color: #fff;
  box-shadow:
    rgba(255, 255, 255, 0.25) 0 1px 0 0 inset,
    rgba(0, 0, 0, 0.15) 0 -1px 0 0 inset,
    rgba(var(--theme-primary-rgb), 0.35) 0 4px 12px;
}

.btn-primary:hover {
  background: var(--theme-primary-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text-base);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  background: var(--theme-bg-light);
  color: var(--theme-primary);
}

.site-main {
  flex: 1;
}

.page-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.page-container--narrow {
  max-width: 48rem;
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
  color: var(--text-base);
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.blog-category-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
}

.blog-category-filter::-webkit-scrollbar {
  display: none;
}

.blog-category-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-category-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-category-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0 0 0 0.75rem;
  list-style: none;
  border-left: 2px solid var(--border-subtle);
}

.category-btn {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-poppins);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.blog-category-sub .category-btn {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

.category-btn:hover {
  color: var(--theme-primary);
  border-color: rgba(var(--theme-primary-rgb), 0.3);
}

.category-btn.active,
.current-menu-item > .category-btn,
.current-cat > .category-btn {
  color: #fff;
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.3);
}

.blog-listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card-link {
  display: block;
  border-radius: var(--radius-xl);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.blog-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eee;
}

body.theme-dark .blog-thumb {
  background: #222;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.blog-card-link:hover .blog-thumb img {
  transform: scale(1.04);
}

.blog-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fce4ec 0%, #f5f5f5 100%);
}

body.theme-dark .blog-thumb--placeholder {
  background: linear-gradient(135deg, #3a1528 0%, #1a1a1a 100%);
}

.blog-thumb-icon {
  font-family: var(--font-bebas);
  font-size: 3.5rem;
  color: var(--theme-primary);
  opacity: 0.7;
}

.blog-content {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.blog-category-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--theme-primary);
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: var(--text-base);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-size: 0.75rem;
  color: var(--text-low);
}

.blog-date,
.blog-author {
  color: inherit;
}

.blog-meta-sep {
  opacity: 0.6;
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem;
}

.single-post .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.single-post .back-link:hover {
  color: var(--theme-primary);
}

.post-header {
  margin-bottom: 2rem;
}

.post-categories {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.post-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--theme-primary);
  background: rgba(var(--theme-primary-rgb), 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.post-category:hover {
  background: rgba(var(--theme-primary-rgb), 0.18);
  color: var(--theme-primary);
}

.post-title {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text-base);
  letter-spacing: -0.02em;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.post-meta-sep {
  opacity: 0.6;
}

.post-author {
  color: inherit;
}

.post-attribution {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 5vw, 3rem);
  margin-top: 1.25rem;
}

.article-author {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  margin-top: 0;
  padding: 0;
  border-top: 0;
}

.article-author__image {
  width: clamp(4rem, 14vw, 6rem);
  height: clamp(4rem, 14vw, 6rem);
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(var(--theme-primary-rgb), 0.1);
}

.article-author__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-author__initials {
  font-size: clamp(1.15rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--theme-primary);
}

.article-author__details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.article-author__label {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  color: var(--text-muted);
}

.article-author__name {
  max-width: 100%;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
  color: var(--text-base);
  border-bottom: 1px dashed currentColor;
}

.post-updated {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  text-align: right;
}

.post-updated__label {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.post-updated__date {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--text-base);
}

@media (max-width: 34rem) {
  .post-attribution {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .post-updated {
    align-items: flex-start;
    text-align: left;
  }
}

.post-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.post-featured-image img {
  width: 100%;
}

.entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #374151;
}

.entry-content > * + * {
  margin-top: 1.35rem;
}

.entry-content :is(h2, h3, h4, h5, h6) {
  margin: 0;
  color: var(--text-base);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.entry-content > * + :is(h2, h3, h4, h5, h6) {
  margin-top: 2.75rem;
}

.entry-content > * + h3 {
  margin-top: 2.25rem;
}

.entry-content > * + :is(h4, h5, h6) {
  margin-top: 1.85rem;
}

.entry-content > :is(h2, h3, h4, h5, h6) + :is(h2, h3, h4, h5, h6) {
  margin-top: 1.5rem;
}

.entry-content > :is(h2, h3, h4, h5, h6) + * {
  margin-top: 0.85rem;
}

.entry-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

.entry-content h3 {
  font-size: 1.375rem;
  font-weight: 600;
}

.entry-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

.entry-content h5 {
  font-size: 1rem;
  font-weight: 600;
}

.entry-content h6 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text-base);
}

.entry-content p {
  color: inherit;
}

.entry-content a:where(:not(.wp-element-button)) {
  color: var(--theme-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(var(--theme-primary-rgb), 0.45);
  transition: color var(--transition), text-decoration-color var(--transition);
}

.entry-content a:where(:not(.wp-element-button)):hover {
  color: var(--theme-primary-dark);
  text-decoration-color: currentColor;
}

.entry-content strong,
.entry-content b {
  font-weight: 700;
  color: var(--text-base);
}

.entry-content em,
.entry-content i {
  font-style: italic;
}

.entry-content small {
  font-size: 0.875em;
  color: var(--text-muted);
}

.entry-content cite,
.entry-content dfn {
  font-style: italic;
  color: var(--text-muted);
}

.entry-content var {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-style: italic;
  font-size: 0.92em;
}

.entry-content abbr[title] {
  text-decoration: underline dotted;
  text-underline-offset: 0.15em;
  cursor: help;
}

.entry-content q {
  font-style: italic;
}

.entry-content q::before {
  content: "«";
}

.entry-content q::after {
  content: "»";
}

.entry-content mark {
  background: rgba(var(--theme-primary-rgb), 0.14);
  color: var(--text-base);
  padding: 0.12em 0.35em;
  border-radius: 0.25rem;
}

.entry-content kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.15em 0.4em;
  border: 1px solid var(--border-subtle);
  border-radius: 0.35rem;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--border-subtle);
  color: var(--text-base);
}

.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  padding: 0.15em 0.4em;
  border-radius: 0.35rem;
  background: var(--theme-bg-light);
  color: var(--text-base);
}

.entry-content pre,
.entry-content .wp-block-code {
  margin: 0;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #f8fafc;
  font-size: 0.875rem;
  line-height: 1.6;
}

body.theme-dark .entry-content pre,
body.theme-dark .entry-content .wp-block-code {
  background: #1f1f1f;
}

.entry-content pre code,
.entry-content .wp-block-code code {
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre;
}

.entry-content blockquote,
.entry-content .wp-block-quote {
  margin: 0;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--theme-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: rgba(var(--theme-primary-rgb), 0.05);
  font-style: italic;
  color: #4b5563;
  line-height: 1.7;
}

.entry-content blockquote p,
.entry-content .wp-block-quote p {
  color: inherit;
}

.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text-low);
}

.entry-content img {
  border-radius: var(--radius-lg);
  margin: 0.5rem 0;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35rem;
  margin: 0;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content ul ul {
  list-style: circle;
  margin-top: 0.5rem;
}

.entry-content ol ol,
.entry-content ul ol {
  list-style: lower-alpha;
  margin-top: 0.5rem;
}

.entry-content ol ul,
.entry-content ul ul ul {
  margin-top: 0.5rem;
}

.entry-content li + li {
  margin-top: 0.4rem;
}

.entry-content li > ul,
.entry-content li > ol {
  margin-top: 0.4rem;
}

.entry-content dl {
  margin: 0;
}

.entry-content dt {
  font-weight: 600;
  color: var(--text-base);
}

.entry-content dt + dd {
  margin-top: 0.2rem;
}

.entry-content dd {
  margin: 0 0 0.85rem;
  padding-left: 0;
  color: #4b5563;
}

.entry-content dd:last-child {
  margin-bottom: 0;
}

.entry-content table,
.entry-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.entry-content .wp-block-table {
  overflow-x: auto;
}

.entry-content th,
.entry-content td {
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
  vertical-align: top;
}

.entry-content thead th {
  background: var(--theme-bg-light);
  color: var(--text-base);
  font-weight: 600;
}

.entry-content tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.015);
}

body.theme-dark .entry-content tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.entry-content figcaption,
.entry-content .wp-element-caption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.entry-content del {
  color: var(--text-low);
  text-decoration: line-through;
}

.entry-content ins {
  text-decoration: underline;
  text-decoration-color: rgba(var(--theme-primary-rgb), 0.55);
  text-underline-offset: 0.15em;
  background: rgba(var(--theme-primary-rgb), 0.06);
}

.entry-content hr,
.entry-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 2.5rem 0;
  background: none;
}

.wp-block-button__link {
  background-color: var(--theme-primary) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  padding: 0.75rem 1.5rem !important;
}

.error-page {
  text-align: center;
  padding: 4rem 0;
}

.error-code {
  font-family: var(--font-bebas);
  font-size: 6rem;
  color: var(--theme-primary);
  margin: 0;
  line-height: 1;
}

.error-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}

.error-message {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.site-footer {
  background: var(--theme-bg-app);
  color: var(--text-base);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  padding: 4rem 0;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-top {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo .logo-mobile {
  display: block;
  height: 2rem;
  width: 2rem;
}

.footer-logo .logo-desktop {
  display: none;
  height: 2rem;
  width: auto;
}

.footer-logo .logo-desktop.logo-dark {
  display: none;
}

.footer-tagline {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 28rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: var(--text-base);
  background: var(--theme-bg-light);
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s ease, color var(--transition), background var(--transition);
}

.footer-social-link:hover {
  transform: scale(1.1);
  color: var(--theme-primary);
}

.footer-license-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-anj-seal {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
}

.footer-license-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.footer-nav-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--theme-primary);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-list a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--theme-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-bottom-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bottom-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0, 0, 0, 0.4);
}

body.sidebar-open .sidebar-backdrop {
  display: block;
}

@media (min-width: 1024px) {
  .siete-sidebar {
    display: flex;
  }

  .siete-app {
    margin-left: var(--sidebar-width);
  }

  .header-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sidebar-expand {
    position: absolute;
    left: 0.75rem;
  }

  .header-inner {
    position: relative;
    justify-content: flex-end;
  }

  .site-logo {
    margin-left: 0;
    margin-right: auto;
    padding-left: 3.5rem;
  }

  .site-logo .logo-desktop.logo-light {
    display: block;
  }

  body.theme-dark .site-logo .logo-desktop.logo-dark {
    display: block;
  }

  body.theme-dark .site-logo .logo-desktop.logo-light {
    display: none;
  }

  .site-logo .logo-mobile {
    display: none;
  }

  .page-container {
    padding: 2.5rem 1.5rem 4rem;
  }

  .footer-container {
    padding: 0 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    text-align: center;
  }

  .footer-nav-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-bottom-copy {
    align-items: flex-start;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .footer-logo .logo-mobile {
    display: none;
  }

  .footer-logo .logo-desktop.logo-light {
    display: block;
  }

  body.theme-dark .footer-logo .logo-desktop.logo-light {
    display: none;
  }

  body.theme-dark .footer-logo .logo-desktop.logo-dark {
    display: block;
  }
}

@media (max-width: 1023px) {
  body.sidebar-open .siete-sidebar {
    display: flex;
    z-index: 70;
  }

  .blog-listing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header-actions .btn-ghost {
    display: none;
  }

  .page-title,
  .post-title {
    font-size: 1.6rem;
  }

  .blog-listing {
    grid-template-columns: 1fr;
  }
}

