/* ==========================================================================
   Barefoot Opiniones — hoja de estilos unica
   Fusion de styles.css + lovable.css + covers.css + system.css en su orden
   de carga original, para que la cascada sea identica. Antes eran cuatro
   archivos con 51 selectores en disputa: cada cambio obligaba a averiguar
   cual de ellos ganaba.
   ========================================================================== */

/* ===== 1. BASE (antes styles.css) ===== */
/* Deployment marker: refresh Cloudflare asset cache after HSTS header update. */

/* Los nueve tokens de color que habia aqui estaban muertos: el segundo
   bloque :root de esta misma hoja los redefinia todos mas abajo. Se
   conservan solo los dos que no se repiten. La paleta viva esta en
   system.css. */
:root {
  --max: 1220px;
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}body {
  margin: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--butter);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 20;
  background: var(--ink);
  color: var(--milk);
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  left: 1rem;
}.site-header {
  padding: 0;
}.site-header__inner {
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .brand-logo */.main-nav {
  justify-content: flex-end;
  font-size: 0.88rem;
  border-radius: 0;
}

.main-nav a,
.footer-links a,
.button,
.chip {
  text-decoration: none;
}.main-nav a {
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  border-left: 1px solid rgba(16, 16, 14, 0.18);
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:first-child {
  border-left: 0;
}.main-nav a:hover,
.main-nav a[aria-current="page"] {
  box-shadow: none;
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
  color: var(--milk);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.05)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent 45%);
}

.hero-content {
  width: min(760px, 100%);
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .eyebrow */

.hero .eyebrow {
  color: var(--butter);
}

h1,
h2,
h3 {
  line-height: 1.02;
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-family: var(--font-apple);
  font-size: clamp(3rem, 9vw, 7.4rem);
  font-weight: 500;
}

h2 {
  font-family: var(--font-apple);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
}

h3 {
  font-size: 1.2rem;
}

.hero p {
  max-width: 620px;
  margin: 1rem 0 1.5rem;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.button-row,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.74rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.83rem;
}.button {
  border-color: var(--ink);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .button:hover *//* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .button.secondary */

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
  border-top: 1px solid rgba(16, 16, 14, 0.08);
}

.section-inner,
.page-content,
.article-body {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto 1.6rem;
}

.section-head p {
  max-width: 420px;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
}.post-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 16, 14, 0.34);
  box-shadow: 0 20px 44px rgba(16, 16, 14, 0.12);
}.post-card a {
  display: grid;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .post-card img */

.post-card:first-child img {
  aspect-ratio: 16 / 10;
}.post-card-content {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-weight: 800;
}

.post-card p {
  margin: 0;
  color: rgba(16, 16, 14, 0.72);
  overflow-wrap: anywhere;
}

.home-guides-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.home-guides-grid > p:empty {
  display: none;
}

.home-guides-grid .post-card {
  grid-column: span 4;
}

.home-guides-grid .post-card:nth-of-type(n + 7) {
  grid-column: span 3;
}

.home-guides-grid .post-card img,
.home-guides-grid .post-card:first-child img {
  aspect-ratio: 4 / 3;
}

.home-guides-grid .post-card-content {
  gap: 0.55rem;
  padding: 0.9rem;
}

.home-guides-grid h3 {
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.12;
}

.home-guides-grid .post-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.94rem;
}

.band {
  color: var(--milk);
  background: var(--ink);
}

.band .eyebrow {
  color: var(--butter);
}

.band-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.band img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.list-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.list-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--milk);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.newsletter {
  background: var(--cobalt);
  color: var(--milk);
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.newsletter form {
  display: flex;
  gap: 0.6rem;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 999px;
}

.newsletter button {
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  font-weight: 850;
  background: var(--butter);
  color: var(--ink);
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 1.5rem;
}

.page-hero h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.page-hero p:last-child {
  max-width: 720px;
  font-size: 1.15rem;
}

.page-content {
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid > p:empty,
.archive-grid > p:empty,
.blog-featured > p:empty,
.topic-grid > p:empty,
.style-featured-grid > p:empty,
.style-post-grid > p:empty,
.style-categories > p:empty,
.home-topic-grid > p:empty,
.home-route-grid > p:empty {
  display: none;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem) 2rem;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-heading h1 {
  max-width: 12ch;
  color: var(--ink);
}

.imported-hero .article-heading h1 {
  max-width: 980px;
  overflow-wrap: break-word;
  font-size: clamp(2.05rem, 4.15vw, 3.45rem);
  line-height: 1.02;
}

.article-heading p {
  max-width: 540px;
  font-size: 1.12rem;
}

.article-heading time {
  color: var(--moss);
  font-weight: 800;
}.article-body {
  max-width: 780px;
  font-size: 1.08rem;
}

.article-body h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 1rem 0;
}

.article-body li + li {
  margin-top: 0.4rem;
}.article-layout {
  justify-content: center;
  align-items: start;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
}

.article-layout .article-body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1rem 0 0;
}.article-toc {
  padding: 1rem;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(21, 18, 15, 0.06);
}

.article-toc p {
  margin: 0 0 0.75rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  display: block;
  color: rgba(21, 18, 15, 0.78);
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--clay);
}

.article-toc .toc-subitem {
  padding-left: 0.75rem;
  border-left: 2px solid rgba(198, 80, 61, 0.22);
}

.source-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.8rem;
  color: var(--cobalt);
  font-weight: 850;
}.imported-content {
  max-width: none;
}.imported-content img {
  display: block;
  max-width: 100%;
  margin: 1rem auto;
}

.imported-content p:empty,
.imported-content li:empty,
.imported-content ul:empty,
.imported-content ol:empty,
.imported-content li:has(> strong:empty):not(:has(img, picture, video, iframe, svg, canvas, audio)),
.imported-content li:has(> span:empty):not(:has(img, picture, video, iframe, svg, canvas, audio)),
.imported-content .blocks-gallery-item:empty,
.imported-content figure:empty,
.imported-content .wp-block-image:empty,
.imported-content .wp-block-spacer,
.imported-content .elementor-widget-container:empty {
  display: none;
}

.imported-content h2,
.imported-content h3,
.imported-content h4 {
  scroll-margin-top: 7rem;
  color: var(--ink);
  overflow-wrap: break-word;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .imported-content h2 *//* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .imported-content h3 */

.imported-content h4 {
  margin: 1.6rem 0 0.6rem;
  font-size: 1.15rem;
}

.imported-content a {
  overflow-wrap: anywhere;
}

.imported-content > *:first-child {
  margin-top: 0;
}

.imported-content .elementor-post__thumbnail__link,
.imported-content .elementor-image-box-img a {
  display: block;
  text-decoration: none;
}

.imported-content .elementor-post__thumbnail__link img,
.imported-content .elementor-image-box-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 0 0.8rem;
  box-shadow: var(--shadow);
}

.imported-content figure {
  margin: 1.5rem 0;
}

.imported-content figcaption {
  color: var(--moss);
  font-size: 0.9rem;
  text-align: center;
}.imported-content .wp-block-media-text {
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 1.5rem 0;
}

.imported-content .wp-block-media-text__media {
  margin: 0;
}

.imported-content .wp-block-media-text:not(:has(.wp-block-media-text__media)) {
  display: block;
}

.imported-content .wp-block-media-text__content {
  min-width: 0;
  padding: 0 !important;
}

.imported-content .wp-block-embed,
.imported-content .wp-block-video,
.imported-content .elementor-widget-video,
.imported-content .ast-oembed-container,
.imported-content .wp-block-embed__wrapper {
  width: 100%;
  max-width: 100%;
}

.imported-content .wp-block-embed,
.imported-content .wp-block-video,
.imported-content .elementor-widget-video {
  margin: 1.6rem 0;
}

.imported-content .wp-block-embed__wrapper,
.imported-content .ast-oembed-container,
.imported-content .elementor-widget-video .elementor-widget-container {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto !important;
  overflow: hidden;
  background: var(--ink);
}

.imported-content iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  margin: 1.4rem 0;
  background: var(--ink);
  border: 0;
  border-radius: 0;
}

.imported-content .wp-block-embed__wrapper iframe,
.imported-content .ast-oembed-container iframe,
.imported-content .elementor-widget-video iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  margin: 0;
}

.imported-content video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.imported-content .missing-video-note {
  padding: 0.9rem 1rem;
  color: rgba(16, 16, 14, 0.78);
  background: var(--milk);
  border: 1px solid var(--line);
  font-size: 0.94rem;
}.imported-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  table-layout: auto;
  margin: 1.5rem 0;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.imported-content .table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.imported-content .table-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.imported-content .table-scroll table {
  width: max-content;
  min-width: 620px;
  max-width: none;
  margin: 0;
}.imported-content th,
.imported-content td {
  overflow-wrap: anywhere;
  word-break: normal;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.imported-content th {
  color: var(--ink);
  background: rgba(244, 201, 93, 0.18);
  font-weight: 900;
}

.imported-content .wp-block-buttons,
.imported-content .wp-block-button {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.imported-content .wp-block-button__link,
.imported-content .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem !important;
  color: var(--milk) !important;
  background: var(--clay) !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  font-weight: 850;
  line-height: 1.15;
}

.faq-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 1.2rem;
  align-items: end;
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  color: var(--milk);
  background:
    linear-gradient(135deg, rgba(21, 18, 15, 0.94), rgba(39, 76, 119, 0.84)),
    url("/assets/generated/featured/pages/barefoot-shoes-faq.jpg?hsts=20260813") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.faq-hub h2 {
  max-width: 720px;
  margin: 0;
  color: var(--milk);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.faq-hub p:not(.eyebrow) {
  max-width: 680px;
  margin: 1rem 0 0;
  color: rgba(255, 254, 253, 0.86);
}

.faq-hub__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.faq-hub__stats div {
  min-width: 0;
  padding: 0.8rem;
  background: rgba(255, 254, 253, 0.12);
  border: 1px solid rgba(255, 254, 253, 0.22);
  border-radius: 8px;
}

.faq-hub__stats strong {
  display: block;
  font-family: var(--font-apple);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.faq-hub__stats span {
  display: block;
  margin-top: 0.25rem;
  color: var(--butter);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.faq-jump-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.faq-jump-grid a {
  display: grid;
  gap: 0.5rem;
  min-height: 7.2rem;
  padding: 0.9rem;
  color: var(--ink);
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(21, 18, 15, 0.07);
}

.faq-jump-grid a:hover {
  border-color: rgba(198, 80, 61, 0.55);
}

.faq-jump-grid span {
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 850;
}

.faq-jump-grid strong {
  align-self: end;
  font-size: 1.05rem;
  line-height: 1.15;
}

.imported-content .elementor-heading-title {
  max-width: 760px;
  margin: 2rem 0 1rem;
  font-family: var(--font-apple);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.imported-content .elementor-accordion {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.imported-content .elementor-accordion-item,
.imported-content .ewd-ufaq-faq-div {
  overflow: hidden;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(21, 18, 15, 0.06);
}

.imported-content .elementor-tab-title,
.imported-content .ewd-ufaq-faq-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(244, 201, 93, 0.2), rgba(255, 254, 253, 0));
  font-weight: 850;
}

.imported-content .elementor-accordion-title {
  text-decoration: none;
}

.imported-content .elementor-tab-content,
.imported-content .ewd-ufaq-faq-body {
  padding: 0 1rem 1rem 3.2rem;
  color: rgba(21, 18, 15, 0.82);
}

.article-faq-intro {
  max-width: 680px;
  margin: -0.25rem 0 1.5rem;
  color: rgba(21, 18, 15, 0.7);
  font-size: 1.05rem;
}

.article-faq-accordion {
  display: grid;
  gap: 0.9rem;
  margin: 1.25rem 0 2.5rem;
}

.article-faq-accordion details {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--butter);
  border-radius: var(--radius-card);
  box-shadow: var(--soft-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.article-faq-accordion details:hover {
  border-color: rgba(198, 80, 61, 0.42);
  border-left-color: var(--clay);
  transform: translateY(-1px);
}

.article-faq-accordion details[open] {
  border-left-color: var(--clay);
  box-shadow: 0 16px 38px rgba(21, 18, 15, 0.1);
}

.article-faq-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  padding: 1.2rem 1.25rem;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(244, 201, 93, 0.2), rgba(255, 254, 253, 0));
  font-size: 1.08rem;
  font-weight: 780;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.article-faq-accordion summary::-webkit-details-marker {
  display: none;
}

.article-faq-accordion summary::after {
  content: "+";
  flex: 0 0 2rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: #fff;
  background: var(--clay);
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
}

.article-faq-accordion details[open] summary::after {
  content: "−";
}

.article-faq-accordion details > div {
  padding: 0 4.75rem 1.35rem 1.25rem;
  color: rgba(21, 18, 15, 0.82);
  font-size: 1.01rem;
  line-height: 1.65;
}

.article-faq-accordion details > div p:last-child {
  margin-bottom: 0;
}

.imported-content .ewd-ufaq-hidden {
  display: block;
}

.imported-content .ewd-ufaq-post-margin-symbol {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--milk) !important;
  background: var(--clay) !important;
  border-radius: 999px;
  font-size: 0;
}

.imported-content .ewd-ufaq-post-margin-symbol::before {
  content: "?";
  font-size: 1rem;
  font-weight: 900;
}

.imported-content .ewd-ufaq-post-margin-symbol span {
  display: none;
}

.imported-content .ewd-ufaq-faq-title-text h5 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ink) !important;
  font-size: 1rem !important;
  line-height: 1.25;
}

.imported-content .ewd-ufaq-faq-post p {
  padding: 0 !important;
  color: rgba(21, 18, 15, 0.82) !important;
}

.imported-content .ewd-ufaq-faq-category {
  margin: 2rem 0;
  scroll-margin-top: 7rem;
}

.imported-content .ewd-ufaq-faq-category-title h4 {
  margin: 0 0 0.8rem;
  padding: 0.85rem 1rem;
  color: var(--milk);
  background: var(--ink);
  border-radius: 8px;
  font-family: var(--font-apple);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.imported-content .ewd-ufaq-faq-category-inner,
.imported-content .ewd-ufaq-faqs {
  display: grid;
  gap: 0.75rem;
}

.imported-content #ewd-ufaq-jquery-ajax-search {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.imported-content .ewd-ufaq-field-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--moss);
  font-weight: 850;
}

.imported-content .search-field {
  display: flex;
  gap: 0.5rem;
}

.imported-content .ewd-ufaq-text-input {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.imported-content .clear-field {
  min-width: 2.9rem;
  color: var(--milk);
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  font-weight: 850;
}

.imported-content .ewd-ufaq-expand-collapse-div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.imported-content .ewd-ufaq-expand-all,
.imported-content .ewd-ufaq-collapse-all {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.5rem 0.85rem;
  color: var(--ink);
  background: var(--butter);
  border-radius: 999px;
  font-weight: 850;
}

.faq-page .imported-content > .elementor > .elementor-section:first-child .elementor-widget-heading,
.faq-page .imported-content > .elementor > .elementor-section:first-child .elementor-widget-accordion {
  display: none;
}

.faq-page .imported-content > .elementor > .elementor-section:first-child {
  margin-top: 0;
}

.faq-page .article-body {
  max-width: var(--max);
}

.faq-page .imported-hero {
  grid-template-columns: 1fr;
  padding-bottom: 1rem;
}

.faq-page .imported-hero img {
  display: none;
}

.faq-page .imported-hero .article-heading h1 {
  max-width: 860px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

.faq-page .imported-content .elementor-widget-text-editor {
  max-width: 780px;
}

.mirror-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.mirror-stats div {
  padding: 1rem;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mirror-stats strong {
  display: block;
  font-family: var(--font-apple);
  font-size: 2.5rem;
  line-height: 1;
}

.mirror-stats span {
  color: var(--moss);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.blog-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  padding-top: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.blog-dashboard__copy {
  display: grid;
  gap: 0.85rem;
}

.blog-dashboard__copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.blog-dashboard__copy p:last-child {
  max-width: 680px;
  margin: 0;
  font-size: 1.08rem;
}

.blog-stats {
  margin: 0;
}

.topic-nav {
  position: static;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.7rem 0;
  margin: 1rem 0 2rem;
  overflow: visible;
  background: var(--paper);
}

.topic-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 12rem;
  justify-content: space-between;
  min-width: min(100%, 11rem);
  min-height: 2.65rem;
  padding: 0.62rem 0.85rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.topic-nav strong {
  display: grid;
  place-items: center;
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 0.45rem;
  color: var(--milk);
  background: var(--clay);
  border-radius: 999px;
  font-size: 0.78rem;
}

.blog-featured {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 clamp(3rem, 7vw, 5rem);
}

.blog-featured .post-card {
  grid-column: span 4;
}

.blog-featured .post-card:nth-of-type(n + 7) {
  grid-column: span 3;
}

.blog-featured .post-card--lead {
  grid-row: auto;
}

.blog-featured .post-card--lead img {
  aspect-ratio: 4 / 3;
}

.blog-featured .post-card--lead h3 {
  font-size: 1.2rem;
  line-height: 1.12;
}

.topic-section {
  scroll-margin-top: 8rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.topic-head {
  margin-right: 0;
  margin-left: 0;
}

.topic-grid .post-card p,
.blog-featured .post-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.taxonomy-page {
  padding-top: clamp(2.2rem, 5vw, 4rem);
}

.taxonomy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.38fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: end;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
}

.taxonomy-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.taxonomy-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 1rem 0 0;
  font-size: 1.08rem;
}

.taxonomy-stats {
  display: grid;
  gap: 0.75rem;
}

.taxonomy-stats div {
  padding: 1rem;
  color: var(--milk);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.taxonomy-stats strong {
  display: block;
  color: var(--butter);
  font-family: var(--font-apple);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
}

.taxonomy-stats span {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.taxonomy-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.taxonomy-jump a {
  min-height: 2.45rem;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  background: var(--milk);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 850;
}

.taxonomy-jump a:hover {
  color: var(--milk);
  background: var(--ink);
  border-color: var(--ink);
}

.taxonomy-grid {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.taxonomy-empty {
  max-width: 760px;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--milk);
  border: 1px solid var(--line);
}

.style-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.78fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem) clamp(1.6rem, 4vw, 2.6rem);
}

.style-hero h1 {
  max-width: 880px;
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  line-height: 0.95;
}

.style-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 1rem 0 1.4rem;
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

.style-hero__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}

.style-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.style-hero .button.secondary {
  color: var(--ink);
  background: var(--milk);
  border-color: var(--ink);
}

.style-hero .button.secondary:hover {
  border-color: rgba(198, 80, 61, 0.55);
}

.style-categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
}

.style-categories a {
  min-height: 9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem;
  color: var(--ink);
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
  box-shadow: none;
}

.style-categories a:hover {
  border-color: rgba(198, 80, 61, 0.55);
}

.style-categories span {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.style-categories strong {
  font-family: var(--font-apple);
  font-size: 1.14rem;
  line-height: 1.08;
  font-weight: 500;
}

.style-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.style-featured-grid .post-card--lead {
  grid-row: auto;
}

.style-featured-grid .post-card--lead img {
  aspect-ratio: 4 / 3;
}

.style-featured-grid .post-card--lead h3 {
  font-size: 1.2rem;
  line-height: 1.12;
}

.style-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem);
  color: var(--milk);
  background: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.style-band > * {
  max-width: calc(var(--max) / 2);
}

.style-band > :first-child {
  justify-self: end;
}

.style-band .eyebrow {
  color: var(--butter);
}

.style-link-list {
  display: grid;
  gap: 0.75rem;
}

.style-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: var(--milk);
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 0;
  text-decoration: none;
  font-weight: 850;
}

.style-link-list a::after {
  content: "Leer";
  color: var(--butter);
}

.style-post-grid .post-card p,
.style-featured-grid .post-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.title-index {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.title-list {
  columns: 2;
  column-gap: clamp(1.5rem, 5vw, 4rem);
  padding-left: 1.4rem;
}

.title-list li {
  break-inside: avoid;
  margin: 0 0 0.55rem;
  padding-left: 0.2rem;
}

.title-list a {
  text-decoration-color: rgba(198, 80, 61, 0.35);
  text-underline-offset: 0.18em;
}

.paginated-grid {
  margin-bottom: 1.5rem;
}.pagination-nav {
  align-items: center;
  padding-top: 1.25rem;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .pagination-nav a, .pagination-nav span */

.pagination-nav a {
  color: var(--milk);
  background: var(--ink);
  border-color: var(--ink);
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .pagination-nav a:hover */

.compact-grid .post-card img {
  display: none;
}

.callout {
  padding: 1.1rem;
  border-left: 5px solid var(--clay);
  background: var(--milk);
  box-shadow: var(--shadow);
}

.home-hero {
  position: relative;
  min-height: min(720px, calc(82vh - 2rem));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--milk);
  background: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.home-hero__media {
  position: absolute;
  inset: 0;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  filter: saturate(0.92) contrast(1.03);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 16, 14, 0.92), rgba(16, 16, 14, 0.52) 52%, rgba(16, 16, 14, 0.08)),
    linear-gradient(0deg, rgba(16, 16, 14, 0.86), transparent 62%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(2.8rem, 7vw, 5.4rem) clamp(1rem, 5vw, 3rem) clamp(1.6rem, 4vw, 3rem);
}

.home-hero h1 {
  max-width: 920px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.93;
}

.home-hero__intro {
  max-width: 690px;
  margin: 1rem 0 1.4rem;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0.7rem;
  margin-top: clamp(1.4rem, 4vw, 2.4rem);
}

.home-hero__stats span {
  min-width: 8.2rem;
  padding: 0.7rem 0.8rem;
  color: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(255, 253, 248, 0.28);
  background: rgba(255, 253, 248, 0.08);
}

.home-hero__stats strong {
  display: block;
  color: var(--butter);
  font-family: var(--font-apple);
  font-size: 1.8rem;
  line-height: 1;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem) 2rem;
}

.home-intro h2 {
  max-width: 720px;
}

.home-intro p:last-child {
  margin: 0;
  font-size: 1.08rem;
}

.home-route-grid,
.home-topic-grid {
  display: grid;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3.5rem, 7vw, 6rem);
}

.home-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}.home-route {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: var(--ink);
  background: var(--milk);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-route:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 80, 61, 0.5);
  box-shadow: var(--shadow);
}

.home-route--large {
  grid-column: span 2;
  min-height: 320px;
  color: var(--milk);
  background:
    linear-gradient(135deg, rgba(16, 16, 14, 0.94), rgba(32, 61, 79, 0.8)),
    url("/assets/generated/featured/homepage-original.png?hsts=20260813") center / cover;
}

.home-route span,
.home-topic span {
  color: var(--clay);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.home-route--large span {
  color: var(--butter);
}

.home-route strong,
.home-topic strong {
  display: block;
  font-family: var(--font-apple);
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  line-height: 1.05;
  font-weight: 500;
}

.home-route small,
.home-topic small {
  display: block;
  color: rgba(21, 18, 15, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
}

.home-route--large small {
  color: rgba(255, 254, 253, 0.82);
}

.home-topic-section {
  background: var(--milk);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 0;
}

.home-topic {
  display: grid;
  gap: 0.75rem;
  min-height: 220px;
  padding: 1rem;
  color: var(--ink);
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
}

.home-topic-grid > p,
.home-route-grid > p {
  margin: 0;
}

.home-topic-grid > p > .home-topic,
.home-route-grid > p > .home-route {
  height: 100%;
}

.home-topic b {
  align-self: end;
  width: max-content;
  max-width: 100%;
  padding: 0.34rem 0.68rem;
  color: var(--milk);
  background: var(--moss);
  border-radius: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3.5rem, 7vw, 6rem);
}

.home-feature {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 1.2rem;
  color: var(--milk);
  text-decoration: none;
  border-radius: 8px;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.home-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(21, 18, 15, 0.82), rgba(21, 18, 15, 0.05) 65%);
}

.home-feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.home-feature:hover img {
  transform: scale(1.04);
}

.home-feature span {
  color: var(--butter);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.home-feature strong {
  max-width: 12rem;
  font-family: var(--font-apple);
  font-size: 1.7rem;
  line-height: 1.05;
}

.home-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
  color: var(--milk);
  background:
    linear-gradient(135deg, rgba(16, 16, 14, 0.96), rgba(32, 61, 79, 0.86)),
    url("/assets/generated/featured/pages/resources.jpg?hsts=20260813") center / cover;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.home-band > * {
  max-width: calc(var(--max) / 2);
}

.home-band > :first-child {
  justify-self: end;
}

.home-link-list {
  display: grid;
  gap: 0.75rem;
}

.home-link-list a {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  color: var(--milk);
  background: rgba(255, 253, 248, 0.09);
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 0;
  text-decoration: none;
  font-weight: 850;
}

.home-link-list a::after {
  content: "Ver";
  color: var(--butter);
}

.home-faq-strip {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.home-faq-strip .section-inner {
  display: grid;
  gap: 1rem;
}

.home-faq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.home-faq-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.6rem 0.9rem;
  color: var(--ink);
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
  font-weight: 850;
}

.home-faq-links a:hover {
  border-color: var(--clay);
}.site-footer {
  align-items: start;
  border-top: 1px solid rgba(255, 253, 248, 0.18);
}

.site-footer p {
  max-width: 36rem;
  margin: 0.35rem 0 0;
  color: rgba(255, 253, 248, 0.78);
}

.footer-title {
  margin: 0 0 0.4rem;
  font-weight: 850;
}.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}.footer-links a {
  text-underline-offset: 0.2em;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .footer-links a:hover */

.legal-links {
  max-width: 260px;
}

@media (max-width: 840px) {
  .site-header__inner,
  .section-head,
  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .main-nav,
  .footer-links {
    justify-content: flex-start;
  }

  .main-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .main-nav a {
    justify-content: center;
    flex: 1 1 6.5rem;
    min-width: 0;
    padding: 0.58rem 0.72rem;
    background: var(--milk);
    border: 1px solid var(--line);
    text-align: center;
    white-space: nowrap;
  }

  .grid,
  .feature-grid,
  .article-layout,
  .blog-dashboard,
  .taxonomy-hero,
  .faq-hub,
  .faq-jump-grid,
  .style-hero,
  .style-band,
  .split,
  .band-grid,
  .newsletter-box,
  .article-hero,
  .home-intro,
  .home-route-grid,
  .home-topic-grid,
  .home-feature-grid,
  .home-band,
  .mirror-stats,
  .imported-content .wp-block-media-text {
    grid-template-columns: 1fr;
  }

  .archive-grid,
  .blog-featured,
  .style-featured-grid,
  .style-post-grid,
  .taxonomy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .blog-featured .post-card,
  .blog-featured .post-card:nth-of-type(n + 7) {
    grid-column: auto;
  }

  .style-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-grid .post-card img,
  .blog-featured .post-card img,
  .style-featured-grid .post-card img,
  .style-post-grid .post-card img,
  .taxonomy-grid .post-card img,
  .blog-featured .post-card--lead img,
  .style-featured-grid .post-card--lead img {
    aspect-ratio: 1 / 1;
  }

  .home-route--large {
    grid-column: auto;
  }

  .home-hero__stats {
    grid-template-columns: 1fr;
  }

  .home-hero__stats span {
    min-width: 0;
  }

  .home-hero {
    min-height: 68vh;
  }

  .home-feature {
    min-height: 330px;
  }

  .home-guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-guides-grid .post-card,
  .home-guides-grid .post-card:nth-of-type(n + 7) {
    grid-column: auto;
  }

  .home-guides-grid .post-card img,
  .home-guides-grid .post-card:first-child img {
    aspect-ratio: 1 / 1;
  }

  .home-band > :first-child {
    justify-self: start;
  }

  .style-band > :first-child {
    justify-self: start;
  }

  .hero {
    min-height: 70vh;
  }

  .newsletter form {
    flex-direction: column;
  }

  .topic-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-nav a {
    min-width: 0;
    min-height: 2.25rem;
    gap: 0.35rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.82rem;
    line-height: 1.05;
  }

  .topic-nav strong {
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 0.35rem;
    font-size: 0.7rem;
  }

  .title-list {
    columns: 1;
  }

  .faq-hub__stats {
    grid-template-columns: 1fr;
  }

  .imported-content .elementor-tab-content,
  .imported-content .ewd-ufaq-faq-body {
    padding-left: 1rem;
  }

  .article-toc {
    position: static;
    max-height: none;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: min(13rem, 72vw);
  }

  .site-header {
    padding: 0;
  }

  .main-nav {
    font-size: 0.86rem;
    border-radius: 0;
  }

  .hero {
    min-height: 68vh;
  }

  h1 {
    font-size: clamp(2.7rem, 17vw, 4.2rem);
  }

  .imported-hero .article-heading h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.02;
  }

  .article-heading p {
    font-size: 1rem;
  }

  .button,
  .chip {
    width: 100%;
    justify-content: center;
  }

  .home-guides-grid {
    gap: 0.65rem;
  }

  .home-guides-grid .post-meta,
  .home-guides-grid .post-card p,
  .archive-grid .post-card p,
  .blog-featured .post-card p,
  .style-featured-grid .post-card p,
  .style-post-grid .post-card p,
  .taxonomy-grid .post-card p {
    display: none;
  }

  .home-guides-grid .post-card-content,
  .archive-grid .post-card-content,
  .blog-featured .post-card-content,
  .style-featured-grid .post-card-content,
  .style-post-grid .post-card-content,
  .taxonomy-grid .post-card-content {
    padding: 0.68rem;
  }

  .home-guides-grid h3,
  .archive-grid h3,
  .blog-featured h3,
  .style-featured-grid h3,
  .style-post-grid h3,
  .taxonomy-grid h3 {
    font-size: 0.92rem;
    line-height: 1.14;
  }

  .archive-grid .post-meta,
  .blog-featured .post-meta,
  .style-featured-grid .post-meta,
  .style-post-grid .post-meta,
  .taxonomy-grid .post-meta {
    font-size: 0.68rem;
  }
}

/* Pretty Up My Opinions design port */
:root {
  --ink: #1f2421;
  --paper: #f7f3ee;
  --milk: #fbf8f3;
  --clay: #c96d4b;
  --moss: #4a5d4e;
  --cobalt: #2f4d57;
  --butter: #e6b75f;
  --line: rgba(31, 36, 33, 0.12);
  --shadow: 0 30px 80px -42px rgba(31, 36, 33, 0.45);
  --soft-shadow: 0 18px 42px -32px rgba(31, 36, 33, 0.38);
  --radius-card: 18px;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> body *//* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .site-header */.site-header__inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .brand-logo */.main-nav {
  font-size: 0.91rem;
}.main-nav a {
  border-radius: 0;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .main-nav a:hover, .main-nav a[aria-current="page"] */

.eyebrow,
.post-meta,
.footer-label,
.mirror-stats span,
.taxonomy-stats span,
.home-route span,
.home-topic span,
.style-categories span,
.faq-hub__stats span {
  letter-spacing: 0;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .eyebrow */

h1,
h2,
h3 {
  letter-spacing: 0;
}

.button,
.chip,
.pagination-nav a,
.pagination-nav span,
.taxonomy-jump a,
.home-faq-links a {
  border-radius: 999px;
}.button {
  border-color: var(--moss);
  box-shadow: 0 14px 28px -22px rgba(31, 36, 33, 0.8);
}

.button:hover,
.pagination-nav a:hover {
  color: var(--milk);
  background: var(--ink);
  transform: translateY(-2px);
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .button.secondary */

.button.secondary:hover {
  color: var(--clay);
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(201, 109, 75, 0.45);
}

.home-hero--magazine {
  min-height: auto;
  color: var(--ink);
  background: transparent;
  border-bottom: 0;
}

.home-hero--magazine::after,
.home-hero--magazine::before {
  display: none;
}

.home-hero--magazine .home-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.88fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.home-hero--magazine .eyebrow {
  color: var(--moss);
}

.home-hero--magazine h1 {
  max-width: 10.5ch;
  color: var(--ink);
  font-size: clamp(3rem, 7.4vw, 6.2rem);
  line-height: 0.98;
}

.home-hero--magazine h1 span {
  color: var(--clay);
  font-style: italic;
}

.home-hero--magazine .home-hero__intro {
  max-width: 560px;
  color: rgba(31, 36, 33, 0.76);
}

.home-author {
  width: min(100%, 31rem);
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.home-author img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 50%;
}

.home-author span,
.home-author strong,
.home-author small {
  display: block;
}

.home-author strong {
  margin-bottom: 0.18rem;
  font-family: var(--font-apple);
  font-size: 1rem;
}

.home-author small {
  color: rgba(31, 36, 33, 0.66);
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-author b {
  color: var(--clay);
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.home-author:hover b {
  transform: translateX(0.25rem);
}

.home-hero-visual {
  position: relative;
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.home-hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.home-hero-feature {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  align-items: end;
  padding: 1rem 1.1rem;
  color: var(--milk);
  text-decoration: none;
  background: rgba(31, 36, 33, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  backdrop-filter: blur(12px);
}

.home-hero-feature span {
  grid-column: 1;
  color: rgba(251, 248, 243, 0.72);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.home-hero-feature strong {
  grid-column: 1;
  max-width: 24rem;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.25;
}

.home-hero-feature b {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.home-hero-feature:hover b {
  transform: translateX(0.25rem);
}

.home-intro--editorial {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.home-route,
.home-topic,
.post-card,
.mirror-stats div,
.taxonomy-empty,
.faq-jump-grid a,
.imported-content .elementor-accordion-item,
.imported-content .ewd-ufaq-faq-div,
.imported-content table,
.imported-content .wp-block-media-text,
.callout {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--soft-shadow);
}

.home-route,
.home-topic {
  min-height: 210px;
  padding: 1.2rem;
}

.home-route--large {
  color: var(--milk);
}

.home-route--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--milk);
  border-color: transparent;
  background-position: center;
  background-size: cover;
}

.home-route--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(22, 28, 24, 0.9), rgba(22, 28, 24, 0.08) 78%);
}

.home-route--library {
  background-image: url("/assets/images/home/route-library.webp?hsts=20260813");
}

.home-route--style {
  background-image: url("/assets/images/home/route-style.webp?hsts=20260813");
  background-position: center 64%;
}

.home-route--kids {
  background-image: url("/assets/images/home/route-kids.webp?hsts=20260813");
  background-position: center 48%;
}

.home-route--photo span,
.home-route--photo small {
  color: rgba(251, 248, 243, 0.82);
}

.home-route strong,
.home-topic strong,
.style-categories strong {
  font-weight: 650;
}

.home-topic-section,
.latest-section,
.section:nth-of-type(even) {
  background: rgba(251, 248, 243, 0.72);
}.post-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card:hover {
  border-color: rgba(201, 109, 75, 0.45);
  box-shadow: var(--shadow);
}

.post-card img,
.post-card:first-child img {
  aspect-ratio: 4 / 3;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .post-card-content */.post-card h3 {
  color: var(--ink);
}

.post-card:hover h3 {
  color: var(--clay);
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .post-meta */

.latest-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.latest-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.latest-item:hover {
  transform: translateY(-3px);
  background: rgba(247, 243, 238, 0.78);
  border-color: rgba(201, 109, 75, 0.55);
}

.latest-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.latest-item > span {
  min-width: 0;
  display: block;
  padding: 1rem;
}

.latest-item small {
  display: block;
  color: var(--moss);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.latest-item strong {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.15;
}

.text-link {
  color: var(--clay);
  font-weight: 850;
  text-underline-offset: 0.25em;
}

.home-band,
.style-band,
.band {
  background:
    linear-gradient(135deg, rgba(31, 36, 33, 0.96), rgba(74, 93, 78, 0.88)),
    url("/assets/generated/featured/pages/resources.jpg?hsts=20260813") center / cover;
}

.home-link-list a,
.style-link-list a,
.list-links a {
  border-radius: 14px;
}

.page-hero,
.blog-dashboard,
.taxonomy-hero {
  padding-top: clamp(3rem, 7vw, 5.5rem);
}

.page-hero h1,
.blog-dashboard__copy h1,
.taxonomy-hero h1,
.style-hero h1,
.faq-page .imported-hero .article-heading h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  line-height: 1.02;
}

.topic-nav a,
.taxonomy-jump a,
.home-faq-links a,
.pagination-nav a,
.pagination-nav span {
  background: #fff;
  border-color: var(--line);
  box-shadow: none;
}

.topic-nav a:hover,
.taxonomy-jump a:hover,
.home-faq-links a:hover {
  color: var(--clay);
  background: #fff;
  border-color: rgba(201, 109, 75, 0.45);
}

.topic-nav strong {
  background: var(--clay);
}

.taxonomy-stats div {
  color: var(--milk);
  background: var(--moss);
  border-radius: var(--radius-card);
  border-color: transparent;
  box-shadow: var(--soft-shadow);
}

.taxonomy-stats strong {
  color: var(--milk);
}

.article-hero,
.imported-hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.82fr);
  padding-top: clamp(2.6rem, 6vw, 5rem);
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}

.article-hero img,
.imported-hero img {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.article-heading h1,
.imported-hero .article-heading h1 {
  max-width: 880px;
  font-size: clamp(2.25rem, 5.2vw, 4.35rem);
  line-height: 1.02;
}

.article-heading p {
  color: rgba(31, 36, 33, 0.76);
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .article-layout */

.article-body {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.2vw, 1.14rem);
  line-height: 1.78;
}

.imported-content h2,
.article-body h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
}

.imported-content h3,
.article-body h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}.imported-content a {
  text-decoration-thickness: 1px;
}.imported-content img {
  box-shadow: var(--soft-shadow);
}

.imported-content .wp-block-button__link,
.imported-content .elementor-button {
  background: var(--moss) !important;
  border-radius: 999px !important;
}

.faq-hub,
.faq-page .imported-hero {
  border-radius: 28px;
}.site-footer {
  padding-right: max(clamp(1rem, 4vw, 3rem), calc((100vw - var(--max)) / 2));
  padding-left: max(clamp(1rem, 4vw, 3rem), calc((100vw - var(--max)) / 2));
}.footer-title {
  line-height: 1.1;
}.footer-label {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}.footer-links {
  justify-content: start;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 920px) {
  .home-hero--magazine .home-hero__content,
  .article-hero,
  .imported-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    min-height: 480px;
  }

  .main-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .main-nav a {
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.55rem 0.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.82rem;
    text-align: center;
  }

  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    color: var(--milk);
    background: var(--moss);
    border-color: var(--moss);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .latest-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    gap: 0.8rem;
  }

  .brand-logo {
    width: min(13.5rem, 76vw);
  }

  .main-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .main-nav a {
    min-height: 2.35rem;
    padding-inline: 0.2rem;
    font-size: 0.7rem;
  }

  .home-hero--magazine h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .home-hero--magazine .home-hero__content {
    gap: 1.35rem;
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }

  .home-hero--magazine .home-hero__intro {
    margin: 0.8rem 0 1rem;
    font-size: 1rem;
  }

  .home-hero--magazine .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .home-hero--magazine .button-row .button {
    width: auto;
    min-height: 2.7rem;
    padding: 0.65rem 0.45rem;
    font-size: 0.72rem;
    text-align: center;
  }

  .home-hero-visual {
    min-height: 220px;
  }

  .home-hero-feature {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .home-author {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    margin-top: 1.25rem;
    padding-top: 0.9rem;
  }

  .home-author img {
    width: 3rem;
    height: 3rem;
  }

  .archive-grid,
  .blog-featured,
  .style-featured-grid,
  .style-post-grid,
  .taxonomy-grid,
  .home-guides-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .latest-item {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    align-items: center;
  }

  .latest-list {
    grid-template-columns: 1fr;
  }

  .latest-item img {
    height: 100%;
    min-height: 6.5rem;
    aspect-ratio: 1;
  }

  .latest-item > span {
    padding: 0.85rem;
  }

  .latest-item strong {
    font-size: 0.98rem;
  }

  .article-heading h1,
  .imported-hero .article-heading h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .article-hero img,
  .imported-hero img {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
  }
}

/* Final editorial layouts: FAQ, About and long-form information pages. */
.faq-hero,
.faq-start,
.faq-directory {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.faq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.faq-hero__copy h1 {
  max-width: 13ch;
  margin: 0.7rem 0 1.25rem;
  font-size: clamp(2.7rem, 6.5vw, 5.8rem);
  line-height: 0.98;
}

.faq-hero__copy > p:not(.eyebrow) {
  max-width: 42rem;
  color: rgba(31, 36, 33, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
}

.faq-hero__visual {
  position: relative;
  min-height: 330px;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  color: var(--milk);
  background: var(--moss);
  border: 1px solid rgba(31, 36, 33, 0.18);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.faq-hero__visual::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(251, 248, 243, 0.24);
  border-radius: calc(var(--radius-card) - 4px);
}

.faq-hero__visual span {
  position: absolute;
  top: -3.8rem;
  right: -0.5rem;
  color: rgba(251, 248, 243, 0.08);
  font-family: var(--font-apple);
  font-size: 15rem;
  line-height: 1;
}

.faq-hero__visual strong {
  position: relative;
  font-family: var(--font-apple);
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.9;
}

.faq-hero__visual small {
  position: relative;
  margin-top: 0.75rem;
  color: rgba(251, 248, 243, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}.faq-start,
.faq-directory {
  border-top: 1px solid var(--line);
}.faq-category-grid {
  display: grid;
  gap: 1rem;
}.faq-category-grid a,
.faq-directory__grid a {
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.faq-category-grid a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.faq-category-grid a:hover,
.faq-directory__grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 109, 75, 0.62);
  box-shadow: var(--soft-shadow);
}

.faq-category-grid span,
.faq-directory__grid span {
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 900;
}

.faq-category-grid strong {
  margin-top: auto;
  font-family: var(--font-apple);
  font-size: 1.25rem;
  line-height: 1.15;
}

.faq-category-grid small {
  margin-top: 0.55rem;
  color: rgba(31, 36, 33, 0.64);
  line-height: 1.45;
}.faq-directory {
  width: 100%;
}

.faq-directory__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: var(--max);
  margin-inline: auto;
}

.faq-directory__grid a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.15rem 0.65rem;
  align-content: start;
  padding: 1rem;
}

.faq-directory__grid strong {
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.faq-directory__grid small {
  grid-column: 2;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(31, 36, 33, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}.faq-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3.5rem, 7vw, 6rem) max(1rem, calc((100vw - var(--max)) / 2));
  color: var(--milk);
}

.faq-closing h2 {
  margin: 0.5rem 0;
  color: var(--milk);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.faq-closing p:not(.eyebrow) {
  max-width: 42rem;
  margin: 0;
  color: rgba(251, 248, 243, 0.76);
}

.about-hero blockquote > p {
  margin: 0;
}

.about-hero blockquote footer {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.9rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  border-top: 1px solid var(--line);
}

.about-hero blockquote footer img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.about-hero blockquote footer strong,
.about-hero blockquote footer small {
  display: block;
}

.about-hero blockquote footer strong {
  font-size: 0.88rem;
}

.about-hero blockquote footer small {
  margin-top: 0.1rem;
  color: rgba(31, 36, 33, 0.58);
  font-size: 0.72rem;
}

.about-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 5rem;
  max-width: 58rem;
  margin: 0 auto;
}

.about-timeline::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 50%;
  width: 1px;
  background: var(--line);
}

.about-timeline article {
  position: relative;
}

.about-timeline article:nth-child(even) {
  grid-column: 2;
  transform: translateY(4.5rem);
}

.about-timeline article:nth-child(odd) {
  grid-column: 1;
}

.about-timeline article::after {
  content: "";
  position: absolute;
  top: 2rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--clay);
  border: 4px solid var(--milk);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.about-timeline article:nth-child(odd)::after {
  right: -2.86rem;
}

.about-timeline article:nth-child(even)::after {
  left: -2.86rem;
}

.about-timeline article > div {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--soft-shadow);
}

.about-timeline span {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-timeline h3 {
  margin: 0.75rem 0 0.55rem;
  font-size: 1.45rem;
}

.about-timeline p {
  margin: 0;
  color: rgba(31, 36, 33, 0.68);
  line-height: 1.65;
}

.page-content > h2 {
  max-width: 22ch;
  margin-top: 2.8rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.page-content > h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.page-content > p,
.page-content > ul,
.page-content > ol {
  max-width: 52rem;
  color: rgba(31, 36, 33, 0.76);
  line-height: 1.75;
}

.page-content li + li {
  margin-top: 0.45rem;
}

@media (min-width: 781px) and (max-width: 920px) {
  .site-header__inner {
    flex-wrap: nowrap;
    gap: 0.7rem;
    padding-inline: 1rem;
  }

  .brand-logo {
    width: 10.4rem;
  }

  .main-nav {
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    border: 1px solid var(--ink);
  }

  .main-nav a {
    min-height: 2.2rem;
    padding: 0.45rem 0.42rem;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(16, 16, 14, 0.18);
    border-radius: 0;
    font-size: 0.68rem;
  }

  .main-nav a:first-child {
    border-left: 0;
  }

  .about-hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
    gap: 2rem;
  }

  .about-hero h1 {
    font-size: clamp(2.8rem, 6vw, 4rem);
  }

  .about-hero blockquote {
    left: -1rem;
  }
}

/* Sobre mi: faithful port of the published Lovable composition. */
.about-page {
  background: #f7f3ee;
}

@media (min-width: 781px) {
  .about-page .site-header__inner {
    min-height: 112px;
  }
}

.about-page .about-hero,
.about-page .about-story,
.about-page .about-values {
  width: 100%;
  max-width: none;
  margin: 0;
}

.about-page .about-hero {
  display: block;
  padding: 0;
  overflow: hidden;
}

.about-page .about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 429px) minmax(0, 627px);
  gap: 3rem;
  align-items: center;
  width: min(100% - 3rem, 1152px);
  min-height: 662px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-block: 5rem;
}

.about-page .about-hero__copy {
  position: relative;
  z-index: 2;
}

.about-page .eyebrow {
  letter-spacing: 0.28em;
}

.about-page .about-hero h1,
.about-page .about-section-heading h2,
.about-page .about-timeline h3,
.about-page .about-values h3,
.about-page .about-cta h2,
.about-page .about-hero blockquote > p {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
}

.about-page .about-hero h1 {
  max-width: none;
  margin: 1.4rem 0 1.4rem;
  font-size: 4rem;
  line-height: 1.05;
}

.about-page .about-hero h1 span {
  display: block;
  color: #c66d4e;
  font-style: italic;
}

.about-page .about-hero__copy > p:last-child {
  max-width: 31rem;
  margin: 0;
  color: rgba(31, 36, 33, 0.76);
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-page .about-hero__media {
  position: relative;
  margin: 0;
}

.about-page .about-hero__media > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(31, 36, 33, 0.13);
}

.about-page .about-hero blockquote {
  right: auto;
  bottom: 3rem;
  left: -3rem;
  width: 24rem;
  max-width: 24rem;
  padding: 1.45rem 1.55rem;
  font-size: 1.2rem;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(31, 36, 33, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(31, 36, 33, 0.14);
}

.about-page .about-hero blockquote footer {
  padding-top: 0;
  border-top: 0;
}

.about-page .about-hero blockquote footer img,
.article-author img,
.article-author-card img {
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.about-page .about-story {
  padding: 0;
  background: #f5f0e9;
  border-block: 1px solid rgba(31, 36, 33, 0.1);
}

.about-page .about-story__inner {
  width: min(100% - 3rem, 896px);
  margin-inline: auto;
  padding-block: 7rem;
}

.about-page .about-section-heading {
  max-width: 46rem;
  margin: 0 auto 5rem;
}

.about-page .about-section-heading h2,
.about-page .about-cta h2 {
  margin-top: 0.8rem;
  font-size: 2.65rem;
  line-height: 1.12;
}

.about-page .about-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  max-width: 848px;
}

.about-page .about-timeline::before {
  top: 0;
  bottom: 0;
  background: rgba(31, 36, 33, 0.14);
}

.about-page .about-timeline article:nth-child(n) {
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  transform: none;
}

.about-page .about-timeline article:nth-child(odd) > div {
  grid-column: 1;
  padding-right: 4rem;
  text-align: right;
}

.about-page .about-timeline article:nth-child(even) > div {
  grid-column: 2;
  padding-left: 4rem;
}

.about-page .about-timeline article > div {
  padding-block: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.about-page .about-timeline article:nth-child(n)::after {
  top: 0.15rem;
  left: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border: 4px solid #f5f0e9;
  transform: translateX(-50%);
}

.about-page .about-timeline span {
  letter-spacing: 0.12em;
}

.about-page .about-timeline h3 {
  margin: 0.65rem 0 0.75rem;
  font-size: 1.5rem;
}

.about-page .about-timeline p {
  color: rgba(31, 36, 33, 0.7);
  line-height: 1.75;
}

.about-page .about-values {
  width: min(100% - 3rem, 1152px);
  margin-inline: auto;
  padding-block: 7rem;
}

.about-page .about-values__grid {
  gap: 1.5rem;
}

.about-page .about-values__grid article {
  min-height: 280px;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: none;
}

.about-page .about-values__grid span {
  color: #c66d4e;
  font-size: 2.5rem;
  font-weight: 300;
}

.about-page .about-values__grid h3 {
  margin: 1.25rem 0 0.65rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.about-page .about-values__grid p {
  line-height: 1.7;
}

.about-page .about-cta {
  padding: 0;
  background: #4a5d4e;
}

.about-page .about-cta__inner {
  width: min(100% - 3rem, 896px);
  margin-inline: auto;
  padding-block: 7rem;
  text-align: center;
}

.about-page .about-cta h2 {
  font-size: 3rem;
}

.about-page .about-cta .button-row {
  margin-top: 2rem;
}

@media (max-width: 920px) {
  .about-page .about-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-page .about-hero__copy {
    max-width: 38rem;
  }
}

@media (max-width: 780px) {
  .about-page .main-nav {
    display: none;
  }

  .about-page .site-header__inner {
    justify-content: flex-start;
  }

  .about-page .about-hero__inner {
    width: min(100% - 3rem, 38rem);
    gap: 2.35rem;
    padding-inline: 0;
    padding-block: 3.75rem 4.5rem;
  }

  .about-page .about-hero h1 {
    max-width: none;
    margin-block: 1.15rem 1.3rem;
    font-size: 2.4rem;
    line-height: 1.02;
  }

  .about-page .about-hero h1 span {
    display: inline;
  }

  .about-page .about-hero__copy > p:last-child {
    font-size: 1.125rem;
    line-height: 1.55;
  }

  .about-page .about-hero__media > img {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .about-page .about-hero blockquote {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% + 2rem);
    max-width: none;
    margin: -11rem 0 0 -1rem;
    padding: 1.4rem;
    font-size: 1.25rem;
  }

  .about-page .about-story__inner,
  .about-page .about-values,
  .about-page .about-cta__inner {
    width: min(100% - 3rem, 38rem);
    padding-block: 5rem;
  }

  .about-page .about-section-heading {
    margin-bottom: 3.5rem;
    text-align: left;
  }

  .about-page .about-section-heading h2,
  .about-page .about-cta h2 {
    font-size: 2.2rem;
  }

  .about-page .about-timeline {
    gap: 3.5rem;
    padding-left: 2.4rem;
  }

  .about-page .about-timeline::before {
    left: 0.45rem;
  }

  .about-page .about-timeline article:nth-child(n) {
    display: block;
  }

  .about-page .about-timeline article:nth-child(n) > div {
    padding: 0;
    text-align: left;
  }

  .about-page .about-timeline article:nth-child(n)::after {
    top: 0.15rem;
    left: -1.95rem;
    transform: none;
  }

  .about-page .about-values__grid {
    grid-template-columns: 1fr;
  }

  .about-page .about-values__grid article {
    min-height: 0;
  }

  .about-page .about-cta__inner {
    text-align: left;
  }

  .about-page .about-cta .button-row {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Article index, adapted from the latest Lovable article layout. */
.article-layout {
  display: block;
  width: min(100% - 2rem, 820px);
  max-width: 1180px;
  padding-inline: 0;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .article-toc */

.article-toc-mobile {
  margin: 0 0 2rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.article-toc-mobile summary {
  color: var(--moss);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-toc-mobile ol,
.article-toc ol {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0 0 0 1rem;
  list-style: none;
  border-left: 1px solid var(--line);
}

.article-toc-mobile a,
.article-toc a {
  display: block;
  color: rgba(31, 36, 33, 0.72);
  font-size: 0.86rem;
  line-height: 1.4;
  text-decoration: none;
}

.article-toc-mobile a:hover,
.article-toc a:hover {
  color: var(--clay);
}

.article-toc-mobile .toc-subitem,
.article-toc .toc-subitem {
  padding-left: 0.8rem;
}

@media (min-width: 1020px) {
  .article-layout {
    width: min(100% - 3rem, 1180px);
    display: grid;
    grid-template-columns: minmax(0, 820px) minmax(220px, 260px);
    gap: clamp(3rem, 6vw, 6rem);
    justify-content: center;
  }

  .article-toc-mobile {
    display: none;
  }

  .article-toc {
    position: sticky;
    top: 6.5rem;
    display: block;
    max-height: calc(100vh - 8rem);
    overflow: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .article-toc p {
    margin-bottom: 0.9rem;
    color: var(--moss);
    letter-spacing: 0.08em;
  }
}

@media (max-width: 900px) {
  .faq-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-directory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .faq-hero {
    grid-template-columns: 1fr;
  }

  .faq-hero__visual {
    min-height: 230px;
  }

  .faq-closing {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 1.8rem;
  }

  .about-timeline::before {
    left: 0.35rem;
  }

  .about-timeline article:nth-child(n) {
    grid-column: 1;
    transform: none;
  }

  .about-timeline article:nth-child(n)::after {
    left: -1.8rem;
    right: auto;
  }
}

@media (max-width: 560px) {
  .faq-hero,
  .faq-start {
    width: min(100% - 1.25rem, var(--max));
  }

  .faq-hero__copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .faq-category-grid,
  .faq-directory__grid {
    grid-template-columns: 1fr;
  }

  .faq-category-grid a {
    min-height: 165px;
  }

  .faq-directory {
    padding-inline: 0.625rem;
  }

  .faq-closing .button {
    width: 100%;
    justify-content: center;
  }
}

/* Reference design: editorial imagery, author identity and about page. */
.article-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}/* regla eliminada: todas sus declaraciones las anulaba lovable.css -> .article-author--compact */

.article-author img,
.article-author-card img {
  flex: 0 0 auto;
  padding: 0.35rem;
  object-fit: contain;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: none;
}

.article-author img {
  width: 42px;
  height: 42px;
  aspect-ratio: 1;
}

.article-author-card img {
  width: 56px;
  height: 56px;
  aspect-ratio: 1;
}

.article-author span,
.article-author small {
  display: block;
}

.article-author strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.article-author small {
  margin-top: 0.08rem;
  color: rgba(31, 36, 33, 0.6);
  font-size: 0.76rem;
}.article-author-card {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.article-author-card p,
.article-author-card span {
  margin: 0;
}

.article-author-card p {
  color: var(--ink);
  font-family: var(--font-apple);
  font-size: 1.2rem;
  font-weight: 700;
}

.article-author-card span {
  display: block;
  margin-top: 0.22rem;
  color: rgba(31, 36, 33, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}.site-footer__copyright {
  grid-column: 1 / -1;
  padding-top: 1.2rem;
  text-align: center;
}

.about-hero,
.about-story,
.about-values {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.15fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.about-hero h1 {
  max-width: 10ch;
  margin: 0.8rem 0 1.3rem;
  color: var(--ink);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1;
}

.about-hero h1 span {
  color: var(--clay);
  font-style: italic;
}

.about-hero__copy > p:last-child {
  max-width: 34rem;
  color: rgba(31, 36, 33, 0.74);
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-hero__media {
  position: relative;
  margin: 0 0 2rem;
}

.about-hero__media > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-hero blockquote {
  position: absolute;
  right: clamp(1rem, 5vw, 3rem);
  bottom: -2rem;
  left: clamp(-3rem, -4vw, -1rem);
  max-width: 29rem;
  margin: 0;
  padding: 1.25rem 1.4rem;
  color: var(--ink);
  font-family: var(--font-apple);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.about-story {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.about-section-heading {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.about-section-heading h2,
.about-cta h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
}

.about-story__grid,
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-story__grid article,
.about-values__grid article {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--soft-shadow);
}

.about-story__grid span {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--moss);
  font-weight: 800;
  background: rgba(74, 93, 78, 0.1);
  border-radius: 50%;
}

.about-story__grid h3,
.about-values__grid strong {
  display: block;
  margin: 1rem 0 0.5rem;
  color: var(--ink);
  font-family: var(--font-apple);
  font-size: 1.35rem;
}

.about-story__grid p,
.about-values__grid p {
  margin: 0;
  color: rgba(31, 36, 33, 0.7);
  line-height: 1.65;
}

.about-values {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.about-values__grid article:hover,
.about-story__grid article:hover {
  border-color: rgba(201, 109, 75, 0.5);
  box-shadow: var(--shadow);
}

.about-cta {
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - 54rem) / 2));
  color: var(--milk);
  text-align: center;
  background: var(--moss);
}

.about-cta .eyebrow,
.about-cta h2 {
  color: var(--milk);
}

.about-cta > p:not(.eyebrow) {
  max-width: 38rem;
  margin: 1.2rem auto 0;
  color: rgba(251, 248, 243, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-cta .button-row {
  justify-content: center;
}

.button--light {
  color: var(--ink);
  background: var(--milk);
  border-color: var(--milk);
}

.button--outline-light {
  color: var(--milk);
  background: transparent;
  border-color: rgba(251, 248, 243, 0.45);
}

.button--light:hover {
  color: var(--ink);
  background: #fff;
}

.button--outline-light:hover {
  color: var(--ink);
  background: var(--milk);
}

@media (max-width: 1040px) {
  .main-nav {
    gap: 0.35rem;
  }

  .main-nav a {
    padding-inline: 0.45rem;
    font-size: 0.79rem;
  }
}

@media (max-width: 920px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero__copy {
    max-width: 42rem;
  }

  .about-hero blockquote {
    left: 1rem;
  }
}

@media (max-width: 720px) {
  .about-story__grid,
  .about-values__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-hero {
    width: min(100% - 1.25rem, var(--max));
  }

  .about-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  .about-hero__media > img {
    border-radius: 20px;
  }

  .about-hero blockquote {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin: -2rem 0 0 0.75rem;
  }

  .article-author-card {
    align-items: flex-start;
  }
}

/* Keep the reference composition on tablet and small desktop widths. */
@media (min-width: 781px) and (max-width: 920px) {
  .main-nav a {
    padding-inline: 0.42rem;
    font-size: 0.68rem;
  }

  .about-hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  }

  .about-hero blockquote {
    left: -1rem;
  }
}

/* ===== 2. TEMA (antes lovable.css) ===== */
:root {
  --lov-sand: #f7f3ee;
  --lov-cream: #fbf8f3;
  --lov-green: #4a5d4e;
  --lov-clay: #c96d4b;
  --lov-ink: #1f2421;
  --lov-muted: #6d746f;
  --lov-border: rgba(31, 36, 33, 0.14);
  --lov-serif: "Playfair Display", Georgia, serif;
  --lov-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lov-max: 1152px;
}

html {
  background: var(--lov-sand);
}

body {
  color: var(--lov-ink);
  background: var(--lov-sand);
  font-family: var(--lov-sans);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.footer-title {
  font-family: var(--lov-serif);
  font-weight: 400;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
  color: var(--lov-green);
  font-family: var(--lov-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 243, 0.9);
  border-bottom: 1px solid var(--lov-border);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  width: min(100% - 3rem, var(--lov-max));
  min-height: 112px;
  margin-inline: auto;
  padding: 1rem 0;
  flex-wrap: nowrap;
  gap: 2rem;
}

.brand-logo {
  width: auto;
  height: 80px;
}

.main-nav {
  display: flex;
  width: auto;
  padding: 0;
  gap: 1.75rem;
  flex-wrap: nowrap;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.main-nav a {
  min-height: 0;
  padding: 0;
  color: var(--lov-ink);
  background: transparent;
  border: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--lov-clay);
  background: transparent;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 2.5rem;
  margin-top: 5rem;
  padding: 3.5rem max(1.5rem, calc((100% - var(--lov-max)) / 2));
  color: var(--lov-cream);
  background: var(--lov-green);
  border: 0;
}

.site-footer__brand,
.footer-column {
  padding: 0;
}

.footer-title {
  color: var(--lov-cream);
  font-size: 1.5rem;
}

.site-footer__brand > p:last-child {
  max-width: 25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
}

.footer-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.footer-links a {
  color: var(--lov-cream);
  font-size: 0.875rem;
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--lov-clay);
}

.site-footer__copyright {
  margin: 0 -100vw -3.5rem;
  padding: 1.25rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.button {
  min-height: 0;
  padding: 0.75rem 1.25rem;
  color: var(--lov-cream);
  background: var(--lov-green);
  border: 1px solid var(--lov-green);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
}

.button:hover {
  color: var(--lov-cream);
  background: var(--lov-ink);
  border-color: var(--lov-ink);
  transform: none;
}

.button.secondary {
  color: var(--lov-ink);
  background: transparent;
  border-color: var(--lov-border);
}

/* Homepage */
.lov-home-hero {
  overflow: hidden;
}

.lov-home-hero__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem;
  width: min(100% - 3rem, var(--lov-max));
  margin-inline: auto;
  padding-block: 6rem;
}

.lov-home-hero__copy {
  grid-column: span 6;
  padding-top: 1.5rem;
}

.lov-home-hero h1 {
  max-width: 11ch;
  margin-top: 1.25rem;
  color: var(--lov-ink);
  font-size: clamp(2.5rem, 4.5vw, 3.6rem);
  line-height: 1.05;
}

.lov-home-hero h1 span {
  color: var(--lov-clay);
  font-style: italic;
}

.lov-home-hero__intro {
  max-width: 29rem;
  margin: 1.25rem 0 0;
  color: rgba(31, 36, 33, 0.75);
  font-size: 1.125rem;
  line-height: 1.65;
}

.lov-home-hero .button-row {
  margin-top: 2rem;
}

.lov-home-feature {
  position: relative;
  grid-column: span 6;
  display: block;
  overflow: hidden;
  color: var(--lov-cream);
  background: rgba(74, 93, 78, 0.1);
  border-radius: 24px;
  box-shadow: 0 30px 80px -40px rgba(31, 36, 33, 0.4);
}

.lov-home-feature img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 700ms ease;
}

.lov-home-feature:hover img,
.lov-media-card:hover img,
.lov-category-card:hover img,
.lov-archive-row:hover img {
  transform: scale(1.04);
}

.lov-home-feature__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 5rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(31, 36, 33, 0.92));
}

.lov-home-feature__caption span,
.lov-card-date,
.lov-article-kicker {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lov-home-feature__caption strong {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--lov-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.lov-band {
  background: var(--lov-cream);
  border-block: 1px solid var(--lov-border);
}

.lov-section {
  width: min(100% - 3rem, var(--lov-max));
  margin-inline: auto;
  padding-block: 4rem;
}

.lov-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.lov-section-head h2,
.lov-page-hero h1 {
  margin-top: 0.5rem;
  color: var(--lov-ink);
  font-size: 2.25rem;
  line-height: 1.15;
}

.lov-section-head > a,
.lov-text-link {
  color: var(--lov-clay);
  font-size: 0.875rem;
  text-underline-offset: 4px;
}

.lov-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.lov-topic-card,
.lov-category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--lov-ink);
  background: #fff;
  border: 1px solid var(--lov-border);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lov-topic-card {
  min-height: 210px;
  padding: 1.5rem;
}

.lov-topic-card:hover,
.lov-category-card:hover {
  border-color: var(--lov-clay);
  box-shadow: 0 12px 24px rgba(31, 36, 33, 0.08);
}

.lov-topic-card__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--lov-green);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lov-topic-card__top small {
  color: var(--lov-muted);
  letter-spacing: 0;
  text-transform: none;
}

.lov-topic-card strong {
  margin-top: 0.75rem;
  font-family: var(--lov-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}

.lov-topic-card p {
  margin: 0.5rem 0 0;
  color: var(--lov-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.lov-topic-card b {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--lov-clay);
  font-size: 0.875rem;
  font-weight: 500;
}

.lov-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.lov-latest-grid,
.lov-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.lov-media-card {
  display: block;
  min-width: 0;
  text-decoration: none;
}

.lov-media-card__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ece8e1;
  border-radius: 12px;
}

.lov-media-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.lov-card-date {
  display: block;
  margin-top: 1rem;
  color: var(--lov-green);
}

.lov-media-card h3 {
  margin-top: 0.45rem;
  color: var(--lov-ink);
  font-size: 1.25rem;
  line-height: 1.3;
}

.lov-media-card p {
  margin: 0.45rem 0 0;
  color: var(--lov-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* Archive and taxonomy pages */
.lov-page-hero {
  background: var(--lov-cream);
  border-bottom: 1px solid var(--lov-border);
}

.lov-page-hero__inner {
  width: min(100% - 3rem, var(--lov-max));
  margin-inline: auto;
  padding-block: 4rem;
}

.lov-page-hero p:last-child {
  max-width: 42rem;
  margin: 0.75rem 0 0;
  color: var(--lov-muted);
}

.lov-archive {
  width: min(100% - 3rem, var(--lov-max));
  margin-inline: auto;
  padding-block: 3.5rem;
}

.lov-archive-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lov-archive-row {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--lov-border);
}

.lov-archive-row > a {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) 9rem;
  gap: 1.5rem;
  align-items: center;
  text-decoration: none;
}

.lov-archive-row__image {
  overflow: hidden;
  height: 6rem;
  background: #ece8e1;
  border-radius: 8px;
}

.lov-archive-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.lov-archive-row h2,
.lov-archive-row h3 {
  color: var(--lov-ink);
  font-size: 1.25rem;
  line-height: 1.3;
}

.lov-archive-row p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.2rem 0 0;
  color: var(--lov-muted);
  font-size: 0.875rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lov-archive-row time {
  color: var(--lov-green);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-align: right;
  text-transform: uppercase;
}

.pagination-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 0;
  border: 0;
}

.pagination-nav a,
.pagination-nav span {
  min-width: 2.35rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--lov-border);
  border-radius: 999px;
  font-size: 0.8rem;
  text-align: center;
  text-decoration: none;
}

.pagination-nav a[aria-current="page"] {
  border-color: var(--lov-green);
  background: var(--lov-green);
  color: #fff;
  font-weight: 700;
}

.pagination-nav__disabled {
  color: var(--lov-muted);
  opacity: 0.55;
}

.pagination-nav {
  gap: 0.55rem;
}

.pagination-nav a,
.pagination-nav span {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  color: var(--lov-ink);
  background: #fff;
  border: 1px solid #b9b6ae;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.pagination-nav a:hover {
  color: #fff;
  background: var(--lov-ink);
  border-color: var(--lov-ink);
}

.pagination-nav a[aria-current="page"] {
  color: #fff;
  background: var(--lov-green);
  border-color: var(--lov-green);
}

.lov-category-card {
  overflow: hidden;
}

.lov-category-card__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ece8e1;
}

.lov-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.lov-category-card__body {
  padding: 1.25rem;
}

.lov-category-card h2,
.lov-category-card h3 {
  color: var(--lov-ink);
  font-size: 1.125rem;
  line-height: 1.35;
}

.lov-category-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.5rem 0 0;
  color: var(--lov-muted);
  font-size: 0.875rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Resources: editorial guide library */
.resource-index__hero {
  background: var(--lov-cream);
  border-bottom: 1px solid var(--lov-border);
}

.resource-index__hero-inner {
  width: min(100% - 3rem, var(--lov-max));
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.resource-index__hero h1 {
  max-width: 12ch;
  margin-top: 0.6rem;
  color: var(--lov-ink);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.02;
}

.resource-index__hero p:last-child {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: var(--lov-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.resource-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100% - 3rem, var(--lov-max));
  margin-inline: auto;
  border-bottom: 1px solid var(--lov-border);
}

.resource-paths a {
  min-width: 0;
  padding: 1.5rem;
  color: var(--lov-ink);
  border-right: 1px solid var(--lov-border);
  text-decoration: none;
}

.resource-paths a:first-child {
  padding-left: 0;
}

.resource-paths a:last-child {
  padding-right: 0;
  border-right: 0;
}

.resource-paths span,
.resource-card time {
  display: block;
  color: var(--lov-green);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.resource-paths strong,
.resource-paths small {
  display: block;
}

.resource-paths strong {
  margin-top: 0.5rem;
  font-family: var(--lov-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.resource-paths small {
  margin-top: 0.35rem;
  color: var(--lov-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.resource-library {
  width: min(100% - 3rem, var(--lov-max));
  margin-inline: auto;
  padding-block: 4rem;
}

.resource-library__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.resource-library__head h2 {
  max-width: 18ch;
  margin-top: 0.45rem;
  color: var(--lov-ink);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.12;
}

.resource-library__head > p {
  flex: 0 0 auto;
  margin: 0;
  color: var(--lov-muted);
  font-size: 0.8rem;
}

.resource-library__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
  margin-top: 2.5rem;
}

.resource-card {
  min-width: 0;
}

.resource-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: var(--lov-ink);
  background: #fff;
  border: 1px solid var(--lov-border);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.resource-card > a:hover {
  border-color: var(--lov-clay);
  transform: translateY(-3px);
}

.resource-card__image {
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: #ece8e1;
}

.resource-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.resource-card > a:hover img {
  transform: scale(1.035);
}

.resource-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.resource-card h3 {
  margin-top: 0.55rem;
  color: var(--lov-ink);
  font-size: 1.2rem;
  line-height: 1.3;
}

.resource-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.65rem 0 0;
  color: var(--lov-muted);
  font-size: 0.875rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.resource-card__link {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--lov-clay);
  font-size: 0.825rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .resource-paths,
  .resource-library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-paths a:nth-child(2) {
    border-right: 0;
  }

  .resource-paths a:nth-child(n + 3) {
    border-top: 1px solid var(--lov-border);
  }
}

@media (max-width: 560px) {
  .resource-index__hero-inner,
  .resource-paths,
  .resource-library {
    width: min(100% - 2rem, var(--lov-max));
  }

  .resource-index__hero-inner {
    padding-block: 3rem;
  }

  .resource-index__hero h1 {
    font-size: 2.65rem;
  }

  .resource-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-paths a,
  .resource-paths a:first-child,
  .resource-paths a:last-child {
    display: block;
    padding: 1rem;
    border-top: 0;
    border-bottom: 1px solid var(--lov-border);
  }

  .resource-paths a:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--lov-border);
  }

  .resource-paths a:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  .resource-paths strong {
    font-size: 0.95rem;
  }

  .resource-paths small {
    display: none;
  }

  .resource-library {
    padding-block: 3rem;
  }

  .resource-library__head {
    display: block;
  }

  .resource-library__head > p {
    margin-top: 0.75rem;
  }

  .resource-library__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Article */
.lov-article-hero {
  padding: 3.5rem 1.5rem 0;
  text-align: center;
  background: var(--lov-cream);
  border-bottom: 1px solid var(--lov-border);
}

.lov-article-heading {
  max-width: 768px;
  margin-inline: auto;
}

.lov-article-kicker {
  color: var(--lov-green);
}

.lov-article-heading h1 {
  max-width: none;
  margin-top: 1rem;
  color: var(--lov-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.lov-article-heading > p:not(.lov-article-kicker) {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: rgba(31, 36, 33, 0.74);
  font-size: 1.125rem;
}

.article-author--compact {
  justify-content: center;
  margin-top: 2rem;
}

.lov-article-image {
  overflow: hidden;
  max-width: 1024px;
  margin: 2.5rem auto 0;
  border-radius: 16px;
  box-shadow: 0 30px 80px -40px rgba(31, 36, 33, 0.45);
}

.lov-article-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

img[src*="/assets/images/models/"],
img[src*="/assets/images/brands/"] {
  object-fit: contain !important;
  background: #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: 3rem;
  width: min(100% - 3rem, var(--lov-max));
  max-width: none;
  margin-inline: auto;
  padding-block: 3.5rem;
}

.article-layout--single {
  display: block;
  max-width: 768px;
}

.article-body {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.imported-content {
  color: var(--lov-ink);
  font-size: 1.125rem;
  line-height: 1.75;
}

.model-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.model-image-gallery figure {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--lov-border);
  border-radius: 8px;
}

.model-image-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f3f1ec;
}

.model-image-gallery figcaption {
  padding: 0.7rem 0.8rem;
  color: var(--lov-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.imported-content > * + * {
  margin-top: 1.1em;
}

.imported-content h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.imported-content h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.imported-content p {
  color: rgba(31, 36, 33, 0.88);
}

.imported-content a {
  color: var(--lov-clay);
  text-underline-offset: 3px;
}

.imported-content blockquote {
  padding-left: 1.25rem;
  font-style: italic;
  border-left: 3px solid var(--lov-clay);
}

.imported-content img {
  height: auto;
  margin-block: 1.5rem;
  border-radius: 12px;
}

.imported-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.imported-content th,
.imported-content td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--lov-border);
  text-align: left;
}

.imported-content hr,
.imported-content .wp-block-separator {
  height: 1px;
  margin: 2.5rem auto;
  background: var(--lov-border);
  border: 0;
}

.imported-content .wp-block-media-text {
  display: block;
  margin-block: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--lov-cream);
  border: 1px solid var(--lov-border);
  border-radius: 14px;
}

.imported-content .wp-block-media-text__content {
  padding: 0;
}

.imported-content .wp-block-media-text p {
  margin: 0;
}

.imported-content .wp-block-media-text p + p {
  margin-top: 0.75em;
}

.imported-content .has-text-align-center {
  text-align: center;
}

.imported-content .has-small-font-size {
  color: var(--lov-muted);
  font-size: 0.85rem;
}

.imported-content .wp-block-buttons {
  display: flex;
  margin-block: 1.75rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.imported-content .wp-block-buttons.aligncenter,
.imported-content .wp-block-buttons.is-content-justification-center {
  justify-content: center;
}

.imported-content .wp-block-button__link {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  color: #fff;
  background: var(--lov-green);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.2s ease;
}

.imported-content .wp-block-button__link:hover {
  background: var(--lov-clay);
}

.article-toc {
  position: sticky;
  top: 8rem;
  display: block;
  max-height: calc(100vh - 10rem);
  overflow: auto;
}

.article-toc > p,
.article-toc-mobile summary {
  color: var(--lov-green);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.article-toc ol,
.article-toc-mobile ol {
  gap: 0.5rem;
  margin-top: 1rem;
}

.article-toc a,
.article-toc-mobile a {
  color: rgba(31, 36, 33, 0.74);
  font-size: 0.875rem;
}

.article-toc-mobile {
  display: none;
}

.article-author-card {
  margin-top: 3.5rem;
  padding: 1.25rem;
  background: var(--lov-cream);
  border: 1px solid var(--lov-border);
  border-radius: 16px;
  box-shadow: none;
}

.lov-related {
  padding-block: 4rem;
  background: var(--lov-cream);
  border-top: 1px solid var(--lov-border);
}

/* Existing hubs, FAQ and legal content normalized to the Lovable system. */
.page-content,
.blog-page,
.kids-hub,
.womens-hub,
.resources-page,
.style-page,
.shoe-lists-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.blog-dashboard,
.taxonomy-hero,
.faq-hero,
.style-hero,
.resources-hero,
.shoe-lists-hero,
.page-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4rem max(1.5rem, calc((100% - var(--lov-max)) / 2));
  background: var(--lov-cream);
  border-bottom: 1px solid var(--lov-border);
  border-radius: 0;
  box-shadow: none;
}

.blog-dashboard h1,
.taxonomy-hero h1,
.faq-hero h1,
.style-hero h1,
.resources-hero h1,
.shoe-lists-hero h1,
.page-hero h1 {
  max-width: 20ch;
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.12;
}

.mirror-stats,
.taxonomy-stats {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.blog-featured,
.archive-grid,
.topic-section,
.home-route-grid,
.faq-start,
.faq-directory,
.style-post-grid,
.resources-grid {
  width: min(100% - 3rem, var(--lov-max));
  max-width: var(--lov-max);
  margin-inline: auto;
}

.blog-featured,
.archive-grid,
.topic-grid,
.style-post-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-block: 3.5rem;
}

.post-card {
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--lov-border);
  border-radius: 16px;
  box-shadow: none;
}

.post-card a {
  height: 100%;
  text-decoration: none;
}

.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.post-card-content {
  padding: 1.25rem;
}

.post-card h3 {
  font-size: 1.125rem;
  line-height: 1.35;
}

.post-card-content > p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--lov-muted);
  font-size: 0.875rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-meta {
  color: var(--lov-green);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-route {
  border-radius: 16px;
}

.faq-start,
.faq-directory {
  padding-block: 4rem;
}

.faq-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-category-grid a,
.faq-directory__grid a {
  background: #fff;
  border: 1px solid var(--lov-border);
  border-radius: 16px;
  box-shadow: none;
}

.faq-directory {
  padding-inline: 0;
  background: transparent;
}

.faq-closing {
  background: var(--lov-green);
}

.page-shell {
  width: min(100% - 3rem, 896px);
  margin-inline: auto;
  padding-block: 4rem;
}

.page-content > h2,
.page-shell h2 {
  margin-top: 2.75rem;
  font-size: 1.75rem;
}

.page-shell p,
.page-shell li {
  color: rgba(31, 36, 33, 0.8);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .lov-home-hero__copy,
  .lov-home-feature {
    grid-column: span 12;
  }

  .lov-home-feature img {
    aspect-ratio: 4 / 3;
  }

  .lov-topic-grid,
  .lov-latest-grid,
  .lov-category-grid,
  .blog-featured,
  .archive-grid,
  .topic-grid,
  .style-post-grid,
  .resources-grid,
  .faq-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    display: block;
  }

  .article-toc {
    display: none;
  }

  .article-toc-mobile {
    display: block;
    margin-bottom: 2.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--lov-border);
    border-radius: 16px;
  }
}

@media (max-width: 780px) {
  .site-header__inner {
    min-height: 94px;
    justify-content: flex-start;
  }

  .brand-logo {
    height: 64px;
  }

  .main-nav {
    display: none;
  }

  .lov-home-hero__inner {
    display: block;
    padding-block: 3.5rem;
  }

  .lov-home-feature {
    margin-top: 3rem;
  }

  .lov-home-hero h1 {
    font-size: 2.55rem;
  }

  .lov-section-head {
    display: block;
  }

  .lov-section-head > a {
    display: inline-block;
    margin-top: 1rem;
  }

  .lov-archive-row > a {
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1rem;
  }

  .lov-archive-row time {
    grid-column: 2;
    text-align: left;
  }

  .lov-article-hero {
    padding-inline: 1.5rem;
  }

  .lov-article-image {
    border-radius: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .lov-topic-grid,
  .lov-feature-grid,
  .lov-latest-grid,
  .lov-category-grid,
  .blog-featured,
  .archive-grid,
  .topic-grid,
  .style-post-grid,
  .resources-grid,
  .faq-category-grid,
  .faq-directory__grid {
    grid-template-columns: 1fr;
  }

  .lov-section,
  .lov-archive,
  .lov-page-hero__inner,
  .article-layout,
  .page-shell {
    width: min(100% - 2rem, var(--lov-max));
  }

  .lov-home-hero__inner {
    width: min(100% - 3rem, var(--lov-max));
  }

  .lov-archive-row > a {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .lov-archive-row__image {
    height: 4.5rem;
  }

  .lov-archive-row h2,
  .lov-archive-row h3 {
    font-size: 1.05rem;
  }

  .lov-archive-row p {
    display: none;
  }

  .lov-article-heading h1 {
    font-size: 2rem;
  }

  .imported-content {
    font-size: 1rem;
  }
}

/* Miga de pan en artículos y FAQs */
.article-breadcrumb {
  max-width: var(--lov-max);
  margin: 0 auto;
  padding: 1.4rem clamp(1rem, 4vw, 2.5rem) 0;
}

.article-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--lov-muted);
}

.article-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.article-breadcrumb li + li::before {
  content: "›";
  color: var(--lov-clay);
  font-weight: 700;
}

.article-breadcrumb a {
  color: var(--lov-green);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  color: var(--lov-clay);
  text-decoration: underline;
}

.article-breadcrumb li[aria-current="page"] {
  display: inline-block;
  max-width: 38ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Artículos relacionados al final de artículos y FAQs */
.related-posts {
  max-width: var(--lov-max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--lov-border);
}

.related-posts__head {
  margin-bottom: 1.3rem;
}

.related-posts__head h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 920px) {
  .related-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .related-posts__grid {
    grid-template-columns: 1fr;
  }
}

/* Franja "seguir explorando" */
.article-explore {
  max-width: var(--lov-max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.2rem) clamp(1rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}

.article-explore .eyebrow {
  margin-bottom: 0.8rem;
}

.article-explore__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.article-explore__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.95rem;
  color: var(--lov-ink);
  background: var(--lov-cream);
  border: 1px solid var(--lov-border);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-explore__links a:hover {
  color: var(--lov-cream);
  background: var(--lov-green);
  border-color: var(--lov-green);
}

/* ===== 3. PORTADAS (antes covers.css) ===== */
/*
 * Sistema de carátulas de Barefoot Opiniones.
 * Mantiene las fotos reales de producto, pero unifica formato y dirección de arte.
 */
.editorial-cover,
.lov-article-image,
.lov-category-card__image,
.lov-archive-row__image,
.resource-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  background: #eeebe4;
}

.editorial-cover::before,
.lov-article-image::before,
.lov-category-card__image::before,
.lov-archive-row__image::before,
.resource-card__image::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(251, 248, 243, 0.72);
  pointer-events: none;
}

.editorial-cover::after,
.lov-article-image::after,
.lov-category-card__image::after,
.lov-archive-row__image::after,
.resource-card__image::after {
  content: "Barefoot Opiniones";
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 14px;
  padding: 0.45rem 0.65rem 0.42rem;
  color: #1f2421;
  background: rgba(251, 248, 243, 0.94);
  border-left: 3px solid #c96d4b;
  box-shadow: 0 8px 22px rgba(31, 36, 33, 0.12);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
}

.editorial-cover img,
.lov-article-image img,
.lov-category-card__image img,
.lov-archive-row__image img,
.resource-card__image img,
.post-card > a > img,
.latest-item > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.03);
  transition: transform 350ms ease, filter 350ms ease;
}

.editorial-cover img[src*="/images/models/"],
.editorial-cover img[src*="/images/brands/"],
.lov-article-image img[src*="/images/models/"],
.lov-article-image img[src*="/images/brands/"],
.lov-category-card__image img[src*="/images/models/"],
.lov-category-card__image img[src*="/images/brands/"],
.lov-archive-row__image img[src*="/images/models/"],
.lov-archive-row__image img[src*="/images/brands/"],
.resource-card__image img[src*="/images/models/"],
.resource-card__image img[src*="/images/brands/"],
.post-card > a > img[src*="/images/models/"],
.post-card > a > img[src*="/images/brands/"],
.latest-item > img[src*="/images/models/"],
.latest-item > img[src*="/images/brands/"] {
  padding: clamp(1rem, 5%, 2.25rem);
  object-fit: contain;
  background: #f2efe8;
  filter: saturate(0.92) contrast(1.01);
}

a:hover .editorial-cover img,
a:hover .lov-category-card__image img,
a:hover .lov-archive-row__image img,
a:hover .resource-card__image img,
.post-card > a:hover > img,
.latest-item:hover > img {
  transform: scale(1.025);
  filter: saturate(0.98) contrast(1.04);
}

.editorial-cover--hero,
.lov-article-image {
  min-height: 0;
  border-radius: 6px;
  box-shadow: 0 18px 45px rgba(31, 36, 33, 0.14);
}

.editorial-cover--hero::before,
.lov-article-image::before {
  inset: 14px;
}

.editorial-cover--hero::after,
.lov-article-image::after {
  left: 22px;
  bottom: 20px;
  font-size: 0.74rem;
}

.editorial-cover--card,
.lov-category-card__image,
.lov-archive-row__image,
.resource-card__image {
  border-radius: 0;
}

.post-card .editorial-cover,
.lov-category-card .editorial-cover,
.resource-card .editorial-cover,
.post-card > a > img,
.lov-category-card__image,
.resource-card__image {
  border-bottom: 1px solid rgba(31, 36, 33, 0.1);
}

.lov-archive-row .editorial-cover,
.lov-archive-row__image {
  min-width: 0;
  height: 100%;
  aspect-ratio: 4 / 3;
}

.lov-archive-row__image::after {
  content: "";
  left: 12px;
  bottom: 11px;
  width: 3px;
  height: 28px;
  padding: 0;
  background: #c96d4b;
  border: 0;
  box-shadow: none;
}

.latest-item .editorial-cover,
.latest-item > img {
  aspect-ratio: 16 / 10;
}

@media (max-width: 640px) {
  .editorial-cover::before,
  .lov-article-image::before,
  .lov-category-card__image::before,
  .lov-archive-row__image::before,
  .resource-card__image::before {
    inset: 7px;
  }

  .editorial-cover::after,
  .lov-article-image::after,
  .lov-category-card__image::after,
  .lov-archive-row__image::after,
  .resource-card__image::after {
    left: 11px;
    bottom: 10px;
    padding: 0.38rem 0.5rem 0.35rem;
    font-size: 0.6rem;
  }

  .editorial-cover--hero,
  .lov-article-image {
    aspect-ratio: 16 / 10;
  }

  .editorial-cover--hero::before,
  .lov-article-image::before {
    inset: 9px;
  }

  .editorial-cover--hero::after,
  .lov-article-image::after {
    left: 14px;
    bottom: 13px;
    font-size: 0.64rem;
  }

  .latest-item .editorial-cover,
  .latest-item > img {
    min-height: 6.5rem;
    height: 100%;
    aspect-ratio: 1;
  }

  .lov-archive-row__image::after {
    left: 9px;
    bottom: 8px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-cover img {
    transition: none;
  }
}

/* ===== 4. SISTEMA (antes system.css) ===== */
/* ==========================================================================
   Barefoot Opiniones — capa de sistema
   Se carga la ultima. Unifica tokens, impone una escala tipografica real
   y corrige los problemas de maquetacion detectados en la auditoria.
   No modifica contenido: solo presentacion.
   ========================================================================== */

:root {
  /* --- Paleta canonica -----------------------------------------------------
     styles.css declaraba :root dos veces con valores distintos y lovable.css
     mantenia una tercera paleta paralela (--lov-*). Esta es la unica fuente. */
  --ink: #1f2421;
  --paper: #f7f3ee;
  --milk: #fbf8f3;
  --clay: #c96d4b;
  --moss: #4a5d4e;
  --cobalt: #2f4d57;
  --butter: #e6b75f;
  --muted: #6d746f;
  --line: rgba(31, 36, 33, 0.12);
  --line-strong: rgba(31, 36, 33, 0.22);

  /* Los alias --lov-* apuntan ahora a la paleta canonica, para que
     lovable.css y styles.css no puedan divergir nunca mas. */
  --lov-sand: var(--paper);
  --lov-cream: var(--milk);
  --lov-green: var(--moss);
  --lov-clay: var(--clay);
  --lov-ink: var(--ink);
  --lov-muted: var(--muted);
  --lov-border: var(--line);

  /* --- Escala tipografica --------------------------------------------------
     Ocho pasos fluidos en razon ~1.22. Sustituye a los 100 tamanos sueltos
     que habia repartidos entre las tres hojas. */
  --text-2xs: clamp(0.7rem, 0.68rem + 0.09vw, 0.75rem);
  --text-xs: clamp(0.78rem, 0.76rem + 0.11vw, 0.84rem);
  --text-sm: clamp(0.88rem, 0.85rem + 0.13vw, 0.94rem);
  --text-base: clamp(1rem, 0.97rem + 0.17vw, 1.09rem);
  --text-lg: clamp(1.15rem, 1.1rem + 0.26vw, 1.31rem);
  --text-xl: clamp(1.35rem, 1.26rem + 0.44vw, 1.65rem);
  --text-2xl: clamp(1.6rem, 1.42rem + 0.9vw, 2.2rem);
  --text-3xl: clamp(1.95rem, 1.6rem + 1.72vw, 3rem);
  --text-4xl: clamp(2.3rem, 1.72rem + 2.9vw, 4.1rem);

  /* --- Ritmo vertical --------------------------------------------------- */
  --space-2xs: 0.35rem;
  --space-xs: 0.6rem;
  --space-sm: 1rem;
  --space-md: 1.6rem;
  --space-lg: 2.6rem;
  --space-xl: clamp(3rem, 6vw, 4.6rem);
  --space-2xl: clamp(4rem, 9vw, 7rem);

  /* --- Medida de lectura -------------------------------------------------
     En unidades ch pero acotada al contenedor: en ch a secas recorta en movil
     cuando el contenedor tiene overflow hidden. */
  --measure: min(68ch, 100%);

  /* --- Foco --------------------------------------------------------------
     Doble anillo: el interior claro y el exterior oscuro, para que siempre
     haya contraste tanto sobre papel como sobre el pie de pagina oscuro. */
  --focus-inner: #fffdf8;
  --focus-outer: #1f2421;
}

/* ==========================================================================
   1. Tipografia
   ========================================================================== */

body {
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-2xl);
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

p,
li {
  text-wrap: pretty;
}

/* Los titulares de seccion son piezas de display, no encabezados de
   lectura: se quedan en el paso mas alto de la escala. Sin esto, aplicar
   la escala al h2 generico les quitaba todo el caracter editorial. */
.section-head h2,
.home-intro h2,
.home-route-grid h2,
.home-topic-section h2,
.home-brand-directory h2,
.home-editor-picks h2,
.latest-section h2,
.home-faq-strip h2,
.home-band h2 {
  font-size: var(--text-3xl);
  line-height: 1.04;
}

.home-hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
}

/* ==========================================================================
   2. Foco visible sobre cualquier fondo
   ========================================================================== */

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-outer);
  outline-offset: 2px;
  border-radius: 3px;
  box-shadow: 0 0 0 2px var(--focus-inner);
}

.site-footer :where(a, button):focus-visible {
  outline-color: var(--focus-inner);
  box-shadow: 0 0 0 2px var(--focus-outer);
}

.skip-link:focus-visible {
  outline-offset: 4px;
}

/* ==========================================================================
   3. Articulo: portada, medida y ritmo
   ========================================================================== */

.lov-article-hero {
  padding-block: var(--space-xl) 0;
}

.lov-article-heading > p:not([class]) {
  max-width: 58ch;
  margin-inline: auto;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--muted);
}

.lov-article-kicker {
  font-size: var(--text-2xs);
  letter-spacing: 0.14em;
}

/* El titular del articulo es para leer, no un cartel: en movil ocupaba la
   pantalla entera y empujaba el contenido fuera del primer scroll. */
.lov-article-hero h1 {
  font-size: var(--text-3xl);
  margin-block: var(--space-xs) var(--space-sm);
}

/* Foto de producto: antes se metia a la fuerza en un marco 16/9 con
   object-fit: contain, y las fotos verticales quedaban flotando en una
   caja blanca enorme. Se le da una proporcion mas alta y un marco propio. */
.lov-article-image {
  max-width: 860px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.lov-article-image:has(img[src*="/assets/images/models/"]),
.lov-article-image:has(img[src*="/assets/images/brands/"]) {
  max-width: 620px;
  background: #fff;
}

.lov-article-image:has(img[src*="/assets/images/models/"]) img,
.lov-article-image:has(img[src*="/assets/images/brands/"]) img {
  aspect-ratio: 5 / 4;
  padding: clamp(1rem, 3vw, 2rem);
}

/* Medida de lectura: el cuerpo del articulo no debe pasar de ~68 caracteres. */
.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > h2,
.article-body > h3,
.article-body > h4,
.article-body > blockquote {
  max-width: var(--measure);
}

/* Cada encabezado debe quedar mas cerca del texto que introduce que del
   que deja atras, o deja de leerse como jerarquia. */
.article-body > h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

.article-body > h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.article-body > h4 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-2xs);
}

.article-body > p {
  margin-block: 0 var(--space-sm);
}

.article-body > ul,
.article-body > ol {
  margin-block: 0 var(--space-sm);
  padding-left: 1.4rem;
}

.article-body > ul li,
.article-body > ol li {
  margin-bottom: var(--space-2xs);
}

/* Los parrafos destacados importados de WordPress conservan sus clases
   (has-background, has-ast-global-color-*) pero el CSS de aquel tema ya no
   existe, asi que el recuadro del TLDR se leia como texto corriente.
   Se le devuelve forma de aparte destacado. */
.article-body p.has-background,
.article-body p[class*="has-ast-global-color"] {
  max-width: var(--measure);
  padding: var(--space-sm) var(--space-md);
  background: var(--milk);
  border-left: 3px solid var(--clay);
  border-radius: 0 10px 10px 0;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.article-body p.has-text-align-center {
  text-align: center;
}

/* Las tablas comparativas son el formato estrella del sitio: se les deja
   scroll propio en lugar de ocultar columnas en movil. */
/* El sitio ya envuelve cada tabla en un .table-scroll que hace el
   desplazamiento horizontal. Poner display:block y overflow en la tabla
   ademas de eso era redundante y peor: una tabla en display:block deja de
   repartir sus columnas y la cabecera sticky pierde el sentido. */
.table-scroll {
  margin-block: var(--space-sm);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.article-body table th {
  position: sticky;
  top: 0;
  background: var(--milk);
}

.article-body table th,
.article-body table td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

/* ==========================================================================
   4. Indice del articulo
   ========================================================================== */

.article-toc {
  top: 6rem;
  max-height: calc(100vh - 8rem);
  padding-left: var(--space-sm);
  border-left: 2px solid var(--line);
}

.article-toc > p {
  font-size: var(--text-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-toc nav a {
  display: block;
  padding-block: 0.4rem;
  font-size: var(--text-xs);
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.article-toc nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--clay);
}

/* ==========================================================================
   5. Miga de pan
   ========================================================================== */

.article-breadcrumb ol {
  font-size: var(--text-xs);
}

.article-breadcrumb li + li::before {
  margin-right: 0.15rem;
}

/* En movil la miga se queda en una linea con scroll, en vez de partirse
   en dos y dejar el separador huerfano al principio de la segunda. */
@media (max-width: 640px) {
  .article-breadcrumb ol {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .article-breadcrumb ol::-webkit-scrollbar {
    display: none;
  }

  .article-breadcrumb li {
    white-space: nowrap;
  }

  .article-breadcrumb li[aria-current="page"] {
    overflow: hidden;
    max-width: 22ch;
    text-overflow: ellipsis;
  }
}

/* ==========================================================================
   6. Directorio de marcas
   ========================================================================== */

/* 126 marcas en pastillas sueltas era el bloque mas largo y monotono de la
   portada. En columnas se lee como un indice y ocupa un tercio. */
.home-brand-directory .home-faq-links {
  display: block;
  column-width: 11rem;
  column-gap: var(--space-md);
  column-rule: 1px solid var(--line);
}

.home-brand-directory .home-faq-links a,
.home-brand-directory .home-faq-links span {
  display: block;
  min-height: 0;
  padding: 0.3rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.35;
  break-inside: avoid;
  color: var(--ink);
}

.home-brand-directory .home-faq-links .home-brand-directory__unavailable {
  color: var(--muted);
}

.home-brand-directory .home-faq-links a:hover {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   7. Ritmo de la portada
   ========================================================================== */

.home-intro,
.home-route-grid,
.home-topic-section,
.home-brand-directory,
.home-editor-picks,
.latest-section,
.home-faq-strip {
  padding-block: var(--space-xl);
}

.section-head {
  margin-bottom: var(--space-lg);
}

.section-head h2 {
  margin: 0;
}

.eyebrow {
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

/* ==========================================================================
   8. Rejillas: reseteo en el punto de ruptura
   ========================================================================== */

/* Las colocaciones explicitas de grid sobreviven al breakpoint que colapsa
   a una columna y provocan solapamientos. Se anulan de forma explicita. */
@media (max-width: 720px) {
  main :where(section, div, article) > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    padding-block: var(--space-lg);
  }
}

/* ==========================================================================
   9. Imagenes
   ========================================================================== */

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

/* ==========================================================================
   10. Cabecera y navegacion
   ========================================================================== */

/* La cabecera ocupaba 112px fijos y pegajosos con un logo de 80px: mucho
   cromo permanente robando pantalla al contenido. */
.site-header__inner {
  min-height: 0;
  align-items: center;
  padding-block: 0.85rem;
}

.brand-logo {
  height: 56px;
}

.main-nav {
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

/* El unico indicador de pagina activa era un cambio de color, que no basta
   por si solo. Se le anade una linea inferior. */
.site-header .main-nav a {
  position: relative;
  padding: 0.5rem 0.7rem;
  font-size: var(--text-sm);
  border-radius: 6px;
}

.site-header .main-nav a::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  bottom: 0.25rem;
  left: 0.7rem;
  height: 2px;
  background: var(--clay);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-header .main-nav a:hover::after,
.site-header .main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  background: var(--milk);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle__icon {
  display: grid;
  width: 20px;
  gap: 4px;
}

.nav-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

/* Sin JavaScript, los enlaces siguen visibles y envuelven en dos columnas.
   Con JavaScript, el boton los convierte en un menu desplegable accesible. */
@media (max-width: 900px) {
  .site-header .main-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.25rem;
    margin: 0;
    padding: 0.4rem 0 0;
  }

  .site-header.nav-ready .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header.nav-ready .main-nav {
    display: none;
  }

  .site-header.nav-ready .main-nav.is-open {
    display: grid;
  }

  .site-header .main-nav a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 0.65rem 0.75rem;
    white-space: normal;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem 0.75rem;
    min-height: 0;
    padding-block: 0.7rem;
  }

  .brand-logo {
    height: 46px;
  }
}

@media (max-width: 440px) {
  .site-header .main-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   11. Pie de pagina
   ========================================================================== */

/* La rejilla declaraba 3 columnas para 4 bloques, asi que "Redes" caia sola
   a una segunda fila y dejaba dos tercios de hueco muerto a su derecha. */
.site-footer {
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 0.85fr));
  gap: var(--space-lg) var(--space-md);
  padding-block: var(--space-xl);
}

.site-footer__brand p:not(.footer-title) {
  max-width: 34ch;
  color: rgba(251, 248, 243, 0.72);
  font-size: var(--text-sm);
}

.footer-title {
  font-size: var(--text-xl);
}

.footer-label {
  margin-bottom: var(--space-xs);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--butter);
}

.footer-links {
  display: grid;
  gap: 0.15rem;
}

.footer-links a {
  padding-block: 0.3rem;
  font-size: var(--text-sm);
  color: rgba(251, 248, 243, 0.86);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* .site-footer p impone max-width: 36rem y gana en especificidad, por eso
   la linea del copyright solo cubria un tercio del ancho. */
.site-footer p.site-footer__copyright {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(251, 248, 243, 0.18);
  font-size: var(--text-xs);
  color: rgba(251, 248, 243, 0.62);
}

@media (max-width: 720px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   12. Tarjetas de articulo
   ========================================================================== */

/* Las tarjetas tenian dos proporciones de imagen en disputa (4/3 en una hoja,
   16/11 en la otra) y el texto no se alineaba entre columnas porque el
   contenido no estiraba. */
.post-card {
  display: flex;
  border-radius: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card a {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Las 297 portadas generadas son 1200x675 (16:9) y llevan el titulo dentro
   de la imagen. Cualquier proporcion mas cuadrada las recorta por los lados
   y se come el texto, que es justo lo que pasaba con el 4/3 heredado.
   El selector lleva los tres niveles porque covers.css fija height: 100%
   desde .post-card > a > img y gana en especificidad. */
.post-card > a > img,
.post-card:first-child > a > img {
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--milk);
}

/* La rejilla era 1.25fr 0.9fr 0.9fr: la primera tarjeta salia mas ancha,
   su imagen mas alta y las otras dos quedaban con un hueco muerto debajo
   del texto. Columnas iguales y las tarjetas se alinean solas. */
.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.post-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--space-sm);
}

.post-card h3 {
  margin: 0;
  font-size: var(--text-lg);
  line-height: 1.25;
}

.post-card-content > p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--muted);
}

/* En columnas estrechas la etiqueta y la fecha se partian en dos lineas.
   Se mantienen en una sola, con la fecha recortada antes que envuelta. */
.post-meta {
  display: flex;
  gap: 0.4rem;
  align-items: baseline;
  flex-wrap: nowrap;
  overflow: hidden;
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--moss);
}

.post-meta time {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -24px rgba(31, 36, 33, 0.45);
}

/* Ultimos articulos: eran tarjetas verticales identicas a las de arriba, lo
   que repetia el mismo bloque dos veces. Como filas horizontales compactas
   se distinguen y caben mas titulares en la misma altura. */
.latest-item {
  flex-direction: row;
  gap: var(--space-sm);
  align-items: center;
  padding: 0.7rem;
  border-radius: 12px;
  transition: background 160ms ease, border-color 160ms ease;
}

.latest-item:hover {
  background: var(--milk);
  border-color: var(--line-strong);
}

.latest-item > img {
  width: 104px;
  height: 72px;
  flex: 0 0 auto;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 8px;
}

.latest-item > span {
  padding: 0;
}

.latest-item small {
  display: block;
  margin-bottom: 0.15rem;
  font-size: var(--text-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.latest-item strong {
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================================================
   13. Atajos de compra
   ========================================================================== */

/* El fondo era /assets/generated/featured/pages/resources.jpg: una portada
   de tarjeta autogenerada, morada y con "PAGINA / Recursos" rotulado dentro.
   Bajo el degradado se transparentaba y parecia un fallo de maquetacion.
   Se sustituye por color de marca solido con un rescoldo calido. */
.home-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: var(--space-xl);
  /* El rescoldo calido va a las esquinas vacias, no detras del titular:
     ahi solo ensuciaba el verde y restaba contraste al texto. */
  background:
    radial-gradient(70% 60% at 2% 108%, rgba(201, 109, 75, 0.26), transparent 62%),
    radial-gradient(60% 70% at 102% -8%, rgba(230, 183, 95, 0.14), transparent 62%),
    linear-gradient(152deg, #35422f 0%, #2a3428 48%, #1e2620 100%);
  border-top: 0;
  border-bottom: 0;
}

/* Filete de marca arriba: los tres colores en una linea de 3px. */
.home-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clay), var(--butter) 55%, var(--moss));
}

.home-band .eyebrow {
  color: var(--butter);
}

.home-band h2 {
  margin-bottom: var(--space-xs);
  color: var(--milk);
}

.home-band p {
  color: rgba(251, 248, 243, 0.76);
}

/* Los atajos pasan de cajas con un "Ver" pegado a la derecha a un indice
   numerado: el numero da orden de lectura y la flecha, direccion. */
.home-link-list {
  gap: 0;
  counter-reset: atajo;
}

.home-link-list a {
  position: relative;
  align-items: center;
  gap: var(--space-sm);
  padding: 1.05rem 0.9rem 1.05rem 0;
  color: var(--milk);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(251, 248, 243, 0.16);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.3;
  transition: padding-left 180ms ease, background 180ms ease;
}

.home-link-list a:first-child {
  border-top: 1px solid rgba(251, 248, 243, 0.16);
}

.home-link-list a span {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
}

.home-link-list a span::before {
  counter-increment: atajo;
  content: counter(atajo, decimal-leading-zero);
  flex: 0 0 auto;
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--butter);
}

/* La flecha vive en un boton circular, para que se lea como destino y no
   como adorno tipografico. */
.home-link-list a::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 auto;
  color: var(--butter);
  border: 1px solid rgba(230, 183, 95, 0.45);
  border-radius: 999px;
  font-size: var(--text-sm);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.home-link-list a:hover {
  padding-left: 0.7rem;
  background: rgba(251, 248, 243, 0.06);
}

.home-link-list a:hover::after {
  transform: translateX(3px);
  color: #1f2421;
  background: var(--butter);
}

/* ==========================================================================
   14. Dudas frecuentes
   ========================================================================== */

/* Comparten clase con el directorio de 126 marcas, asi que heredaban tamano
   de etiqueta. Aqui son cuatro preguntas concretas: se tratan como fichas,
   en arcilla, para que hagan pareja con el bloque oscuro de arriba sin
   repetir su forma. */
.home-faq-strip {
  background: linear-gradient(180deg, var(--milk) 0%, var(--paper) 100%);
}

.home-faq-strip .home-faq-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-sm);
}

.home-faq-strip .home-faq-links a {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: var(--space-sm);
  min-height: 7.6rem;
  padding: var(--space-sm);
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.3;
  text-wrap: pretty;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

/* Interrogante como marca de agua: identifica el bloque de un vistazo sin
   anadir markup ni texto que leer. */
.home-faq-strip .home-faq-links a::before {
  content: "?";
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--clay);
  background: rgba(201, 109, 75, 0.12);
  border-radius: 999px;
  font-family: var(--lov-serif, Georgia, serif);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1;
}

.home-faq-strip .home-faq-links a::after {
  content: "";
  position: absolute;
  right: var(--space-sm);
  bottom: var(--space-sm);
  width: 1.5rem;
  height: 1.5rem;
  background: var(--clay);
  opacity: 0;
  transition: opacity 180ms ease;
  -webkit-mask: no-repeat center / 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  mask: no-repeat center / 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

.home-faq-strip .home-faq-links a:hover {
  transform: translateY(-3px);
  border-color: var(--clay);
  box-shadow: 0 18px 40px -26px rgba(201, 109, 75, 0.65);
}

.home-faq-strip .home-faq-links a:hover::after {
  opacity: 1;
}

/* La ultima ficha es el destino general, no una pregunta: se marca como tal. */
.home-faq-strip .home-faq-links a:last-child {
  color: var(--milk);
  background: var(--moss);
  border-color: var(--moss);
}

.home-faq-strip .home-faq-links a:last-child::before {
  content: "→";
  color: var(--milk);
  background: rgba(251, 248, 243, 0.18);
  font-family: inherit;
  font-size: var(--text-base);
}

.home-faq-strip .home-faq-links a:last-child::after {
  display: none;
}

/* ==========================================================================
   14.1 Iconografia de portada
   ========================================================================== */

/* Los 14 pictogramas comparten una rejilla 24x24 y el mismo trazo. El color
   se hereda del contexto: arcilla sobre papel y mantequilla sobre la banda. */
.home-card-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  overflow: visible;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.home-topic .home-card-icon {
  color: var(--clay);
}

.home-topic:hover .home-card-icon,
.home-faq-strip .home-faq-links a:hover .home-card-icon {
  transform: translateY(-2px);
}

.home-link-list a {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto;
}

.home-link-list .home-card-icon {
  color: var(--butter);
}

.home-link-list a span {
  min-width: 0;
}

.home-link-list a:hover .home-card-icon {
  transform: translateX(2px);
}

/* El icono propio sustituye el interrogante generico de las cuatro fichas. */
.home-faq-strip .home-faq-links a::before,
.home-faq-strip .home-faq-links a:last-child::before {
  content: none;
  display: none;
}

.home-faq-strip .home-faq-links .home-card-icon {
  color: var(--clay);
}

.home-faq-strip .home-faq-links a:last-child .home-card-icon {
  color: var(--milk);
}

/* ==========================================================================
   15. Carátulas: escala del sello y proporción
   ========================================================================== */

/* El sistema de portadas estampaba el sello "Barefoot Opiniones" y un marco
   interior en TODAS las caratulas, incluidas las miniaturas de 6rem de los
   listados. Ahi el sello no cabe: se recortaba y quedaba como una marca
   naranja suelta flotando sobre la imagen. El sello se reserva para las
   caratulas grandes, donde de verdad marca autoria. */
.lov-archive-row__image::after,
.lov-archive-row__image::before,
.latest-item > img + *::after {
  content: none;
}

/* Las portadas generadas son 16:9 y llevan el titular dentro de la imagen.
   El marco heredado era 16:10, que recorta lo justo para comerse el
   principio de cada linea de texto. */
/* El height: 6rem fijo de la miniatura anulaba la proporcion (con ancho y
   alto explicitos, aspect-ratio se ignora), asi que hay que soltar el alto. */
.lov-archive-row__image,
.lov-category-card__image,
.resource-card__image {
  height: auto;
  aspect-ratio: 16 / 9;
}

/* En la fila del listado la miniatura es apaisada y pequeña: el relleno
   generoso del sistema dejaba la foto de producto diminuta en una caja
   enorme. */
.lov-archive-row__image img[src*="/images/models/"],
.lov-archive-row__image img[src*="/images/brands/"] {
  padding: 0.35rem;
}

/* La fecha del listado se partia en dos lineas ("28 DE AGOSTO / DE 2026"). */
.lov-archive-row time,
.lov-archive-row__meta {
  white-space: nowrap;
}

/* Las portadas autogeneradas llevan el titular rotulado DENTRO de la imagen,
   asi que recortarlas es perder texto. En las miniaturas pequenas se muestran
   enteras: es preferible una franja de fondo a un titular cortado. */
.lov-archive-row__image img[src*="/assets/generated/featured/"],
.lov-category-card__image img[src*="/assets/generated/featured/"],
.latest-item > img[src*="/assets/generated/featured/"],
.resource-card__image img[src*="/assets/generated/featured/"] {
  object-fit: contain;
  background: #1f2421;
}

/* Las portadas autogeneradas ya llevan el sello "BAREFOOTOPINIONES" rotulado
   dentro de la propia imagen, asi que el sistema de caratulas estampaba un
   segundo sello encima: dos veces la misma marca en la misma tarjeta. */
.editorial-cover:has(img[src*="/assets/generated/featured/"])::after,
.lov-category-card__image:has(img[src*="/assets/generated/featured/"])::after,
.lov-article-image:has(img[src*="/assets/generated/featured/"])::after,
.resource-card__image:has(img[src*="/assets/generated/featured/"])::after {
  content: none;
}

/* El marco interior blanco tampoco aporta sobre una caratula que ya trae el
   suyo dibujado. */
.editorial-cover:has(img[src*="/assets/generated/featured/"])::before,
.lov-category-card__image:has(img[src*="/assets/generated/featured/"])::before {
  content: none;
}

/* ==========================================================================
   16. Índice del artículo: sección activa
   ========================================================================== */

/* El indice ya no depende de que alguien escriba autoToc a mano: se muestra
   cuando el articulo tiene 3 o mas encabezados. Con listas de 15 entradas,
   marcar donde estas deja de ser un lujo. */
.article-toc nav a {
  position: relative;
  padding-left: 0.85rem;
  border-left: 2px solid transparent;
  margin-left: -0.85rem;
  transition: color 160ms ease, border-color 160ms ease;
}

.article-toc nav a.is-active {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--clay);
}

/* El indice movil es un <details>: se le da forma de control, no de texto
   suelto, y se marca igual la seccion activa. */
.article-toc-mobile {
  margin-bottom: var(--space-md);
  padding: 0.35rem var(--space-sm);
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.article-toc-mobile summary {
  padding-block: 0.6rem;
  cursor: pointer;
}

.article-toc-mobile nav a {
  display: block;
  padding-block: 0.45rem;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
}

.article-toc-mobile nav a.is-active {
  color: var(--ink);
  font-weight: 600;
}

/* Al saltar a una seccion desde el indice, que no quede pegada al borde
   superior ni debajo de la cabecera fija. */
.article-body :where(h2, h3) {
  scroll-margin-top: 6rem;
}
