.blog-page { background: var(--paper); }
.blog-page .site-header { position: fixed; }
.blog-hero { min-height: 90vh; padding-top: 84px; color: var(--cream); background: var(--coffee); background-image: linear-gradient(90deg, rgba(22, 11, 5, .97), rgba(22, 11, 5, .72)), url('../assets/images/entorno_0 (5).webp'); background-position: center, center 85%; background-size: cover; }
.blog-hero__inner { display: flex; min-height: calc(90vh - 84px); flex-direction: column; justify-content: center; }
.blog-hero h1 { margin-bottom: 25px; color: var(--cream); font-size: clamp(4.5rem, 8vw, 8rem); }
.blog-hero h1 em { color: var(--gold-soft); }
.blog-hero p:last-child { max-width: 480px; margin-bottom: 0; color: rgba(246, 239, 228, .74); font-size: 1.08rem; }
.blog-content { background: var(--paper); }
.featured-post { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(34px, 7vw, 98px); align-items: center; padding-bottom: 82px; border-bottom: 1px solid var(--line); }
.featured-post__image { overflow: hidden; }
.featured-post__image img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; filter: saturate(.86); transition: transform .8s var(--ease); }
.featured-post:hover .featured-post__image img { transform: scale(1.03); }
.featured-post__copy { max-width: 430px; }
.featured-post__copy h2 { margin-bottom: 20px; }
.featured-post__copy > p:not(.post-meta) { margin-bottom: 25px; color: var(--muted); }
.post-meta { margin-bottom: 13px; color: var(--brown); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 48px 0 25px; }
.blog-toolbar h2.eyebrow { margin: 0; font-family: Manrope, Arial, sans-serif; line-height: 1.2; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 20px; }
.blog-filters a { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.blog-filters a:hover, .blog-filters a.is-active { color: var(--gold); }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 54px 28px; }
.post-card { border-bottom: 1px solid var(--line); }
.post-card__image { overflow: hidden; }
.post-card__image, .post-card__body h2 a { display: block; min-height: 44px; color: inherit; }
.post-card__image img { height: auto; aspect-ratio: auto; object-fit: contain; filter: saturate(.83); transition: filter .6s var(--ease), transform .8s var(--ease); }
.post-card:hover .post-card__image img { filter: saturate(1); transform: scale(1.035); }
.post-card__body { padding: 22px 0 27px; }
.post-card__body h2 { margin-bottom: 11px; font-size: clamp(2rem, 3vw, 2.8rem); }
.post-card__body > p:not(.post-meta) { max-width: 430px; margin-bottom: 18px; color: var(--muted); }
.post-card__read { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding-right: 12px; color: var(--brown); border-bottom: 1px solid currentColor; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.post-card__details { margin-top: 4px; }
.post-card__details summary { display: inline-flex; gap: 8px; cursor: pointer; list-style: none; }
.post-card__details summary::-webkit-details-marker { display: none; }
.post-card__details summary span { transition: transform .35s var(--ease); }
.post-card__details[open] summary span { transform: rotate(90deg); }
.article-content { padding: 20px 0 5px; border-top: 1px solid var(--line); margin-top: 16px; }
.article-content p { margin-bottom: 15px; color: var(--muted); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.25rem; line-height: 1.2; }
.article-content p:last-child { margin-bottom: 0; }
.post-card[hidden] { display: none; }
.blog-cta { padding: 100px 0; }
.blog-cta__inner { display: flex; flex-direction: column; align-items: flex-start; }
.blog-cta h2 { color: var(--cream); }

.article-page__hero { padding: clamp(150px, 20vw, 230px) 0 clamp(64px, 9vw, 110px); color: var(--cream); background: var(--coffee); }
.article-page__hero h1 { max-width: 960px; margin: 18px 0 24px; color: var(--cream); font-size: clamp(3.5rem, 8vw, 7rem); }
.article-page__dek { max-width: 680px; margin: 0; color: rgba(246, 239, 228, .78); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.7; }
.article-page__content { padding: clamp(54px, 8vw, 96px) 0; }
.article-page__figure { max-width: 920px; margin: 0 auto clamp(42px, 7vw, 76px); }
.article-page__figure img { width: 100%; height: auto; max-height: 720px; object-fit: contain; }
.article-page__prose { max-width: 760px; margin: 0 auto; }
.article-page__prose p { margin-bottom: 1.25em; color: var(--ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.35rem, 2.5vw, 1.65rem); line-height: 1.55; }
.article-page__nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-page__nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--brown); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-page__back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 30px; color: var(--brown); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 760px) {
  .blog-hero { min-height: 440px; }
  .blog-hero__inner { min-height: 356px; }
  .blog-hero { background-image: linear-gradient(90deg, rgba(22, 11, 5, .98), rgba(22, 11, 5, .78)), url('../assets/images/entorno_0 (5).webp'); }
  .blog-page .menu-toggle { display: block; color: var(--gold); border-color: var(--gold); }
  .blog-hero p:last-child { max-width: 335px; padding: 10px 12px; background: rgba(22, 11, 5, .35); }
  .featured-post, .post-grid { grid-template-columns: 1fr; }
  .featured-post { gap: 28px; padding-bottom: 56px; }
  .blog-toolbar { display: block; padding-top: 35px; }
  .blog-filters { margin-top: 20px; gap: 14px; }
  .post-grid { gap: 36px; }
  .blog-cta { padding: 78px 0; }
  .article-page__nav { flex-direction: column; }
  .article-page__nav a { width: 100%; }
}

/* Mobile-first editorial layout */
.blog-hero { min-height: max(500px, 78svh); padding-top: 68px; background-image: linear-gradient(90deg, rgba(22, 11, 5, .98), rgba(22, 11, 5, .74)), url('../assets/images/entorno_0 (5).webp'); background-position: center, center bottom; background-size: auto, 100% auto; background-repeat: no-repeat; }
.blog-hero__inner { min-height: calc(max(500px, 78svh) - 68px); }
.blog-hero h1 { font-size: clamp(3.8rem, 16vw, 8rem); }
.blog-hero p:last-child { max-width: 36rem; padding: 0; background: transparent; font-size: 1rem; line-height: 1.6; }
.featured-post, .post-grid { grid-template-columns: minmax(0, 1fr); }
.featured-post { gap: 28px; padding-bottom: 56px; }
.blog-toolbar { display: block; padding: 38px 0 24px; }
.blog-filters { gap: 6px; margin-top: 18px; }
.blog-filters a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 10px; border: 1px solid var(--line); font-size: 10px; }
.blog-filters a:hover, .blog-filters a.is-active { color: var(--cream); background: var(--brown); border-color: var(--brown); }
.post-grid { gap: 38px; }
.post-card__body h2 { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1; }
.post-card__body > p:not(.post-meta) { font-size: 14px; line-height: 1.65; }
.post-card__details summary { min-height: 44px; align-items: center; padding-right: 12px; border-bottom: 1px solid currentColor; }
.post-card__read { font-size: 10px; }
.article-content p { font-size: 1.3rem; line-height: 1.35; }
.blog-cta { padding: 78px 0; }

@media (min-width: 720px) {
  .featured-post { grid-template-columns: 1.15fr .85fr; gap: clamp(34px, 6vw, 72px); padding-bottom: 72px; }
  .blog-toolbar { display: flex; padding: 48px 0 25px; }
  .blog-filters { margin-top: 0; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 28px; }
  .post-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 14px); justify-self: center; }
}

@media (min-width: 960px) {
  .blog-hero { min-height: 90vh; padding-top: 84px; background-image: linear-gradient(90deg, rgba(22, 11, 5, .97), rgba(22, 11, 5, .72)), url('../assets/images/entorno_0 (5).webp'); background-position: center, center 85%; background-size: cover; }
  .blog-hero__inner { min-height: calc(90vh - 84px); }
  .blog-hero h1 { font-size: clamp(4.5rem, 8vw, 8rem); }
  .blog-hero p:last-child { font-size: 1.08rem; }
  .featured-post { grid-template-columns: 1.25fr .75fr; gap: clamp(34px, 7vw, 98px); padding-bottom: 82px; }
  .post-card__body > p:not(.post-meta) { font-size: inherit; }
  .blog-cta { padding: 100px 0; }
}
