/* ============================================================
   TRULY NUTRITION BLOG — Main Stylesheet
   ============================================================ */

:root {
  --black:      #080808;
  --dark:       #111111;
  --dark-2:     #1a1a1a;
  --dark-3:     #252525;
  --gold:       #c9a96e;
  --gold-light: #e0c07a;
  --gold-dark:  #9a7d48;
  --white:      #ffffff;
  --white-90:   rgba(255,255,255,.9);
  --white-70:   rgba(255,255,255,.7);
  --white-50:   rgba(255,255,255,.5);
  --white-30:   rgba(255,255,255,.3);
  --gray:       #888888;
  --border:     rgba(201,169,110,.2);
  --gap:        4px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: #ffffff;
  color: #111111;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Top Bar ---- */
.top-bar {
  background: #f5f0e8;
  border-bottom: 1px solid rgba(201,169,110,.3);
  padding: 9px 0;
  position: sticky;
  top: 0;
  z-index: 200;
  transition: transform .3s;
}
.top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.top-bar-text {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
}
.top-bar-link {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .3s;
  white-space: nowrap;
}
.top-bar-link:hover { color: var(--gold); }

/* ---- Header ---- */
.site-header {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  position: sticky;
  top: 38px;
  z-index: 190;
  transition: box-shadow .4s, border-color .4s;
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
  border-bottom-color: rgba(201,169,110,.3);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 6px;
  color: #111111;
  text-transform: uppercase;
}
.logo-sub {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 5px;
  color: rgba(0,0,0,.45);
  text-transform: uppercase;
}
.logo-blog {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-left: 2px;
  align-self: flex-end;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold-dark);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(0,0,0,.5);
  padding: 8px 14px;
  position: relative;
  transition: color .3s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold-dark);
  transform: scaleX(0);
  transition: transform .3s;
}
.nav-link:hover,
.nav-link.active {
  color: #111111;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-store {
  color: var(--gold-dark) !important;
  margin-left: 10px;
  border: 1px solid rgba(201,169,110,.35);
  border-radius: 2px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-store:hover { background: rgba(201,169,110,.08); }
.nav-store::after { display: none; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.search-toggle, .menu-toggle {
  background: none;
  border: none;
  color: rgba(0,0,0,.45);
  cursor: pointer;
  padding: 8px;
  font-size: 16px;
  transition: color .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-toggle:hover, .menu-toggle:hover { color: var(--gold-dark); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 32px; }
.menu-toggle span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: all .3s;
}

/* Search bar */
.search-bar {
  border-top: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease, padding .4s ease;
}
.search-bar.open { max-height: 70px; }
.search-form {
  display: flex;
  max-width: 700px;
  margin: 0 auto;
  padding: 12px 30px;
}
.search-input {
  flex: 1;
  background: #f5f5f5;
  border: 1px solid rgba(0,0,0,.1);
  border-right: none;
  padding: 10px 16px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #111111;
  border-radius: 2px 0 0 2px;
  outline: none;
  transition: border-color .3s;
}
.search-input:focus { border-color: var(--gold); }
.search-btn {
  background: var(--gold);
  border: none;
  padding: 10px 18px;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  border-radius: 0 2px 2px 0;
  transition: background .3s;
}
.search-btn:hover { background: var(--gold-dark); }

/* Nav overlay (mobile) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 185;
  backdrop-filter: blur(4px);
}
.nav-overlay.open { display: block; }

/* ---- Hero ---- */
.hero {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 70px 30px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero::after {
  content: '"';
  position: absolute;
  right: 60px;
  top: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 250px;
  color: rgba(201,169,110,.06);
  line-height: 1;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  color: #111111;
  margin-bottom: 16px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0,0,0,.4);
  margin-bottom: 30px;
}
.hero-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

/* ---- Mosaic ---- */
.mosaic-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  background: #ffffff;
  padding: var(--gap);
}
.mosaic-section {
  display: grid;
  gap: var(--gap);
}

/* Section A: 3 medium tiles */
.section-a {
  grid-template-columns: repeat(3, 1fr);
  min-height: 390px;
}
/* Section B: tall|2-stacked|tall */
.section-b {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 295px 295px;
}
.section-b .tile:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.section-b .tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.section-b .tile:nth-child(3) { grid-column: 2; grid-row: 2; }
.section-b .tile:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }

/* Section C: 4 small tiles */
.section-c {
  grid-template-columns: repeat(4, 1fr);
  min-height: 295px;
}

/* ---- Tile ---- */
.tile {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--dark-2);
  cursor: pointer;
  text-decoration: none;
}
.tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .7s ease;
  will-change: transform;
}
.tile:hover .tile-bg { transform: scale(1.06); }
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,.05) 100%);
  transition: background .4s;
}
.tile:hover .tile-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.05) 100%);
}
/* Gold border flash on hover */
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 0px solid transparent;
  transition: border .35s;
  pointer-events: none;
  z-index: 20;
}
.tile:hover::after { border: 2px solid rgba(201,169,110,.5); }

.tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 20px;
  z-index: 10;
  transform: translateY(3px);
  transition: transform .4s;
}
.tile:hover .tile-content { transform: translateY(0); }

.tile-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}
.tile-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 7px;
  letter-spacing: .5px;
}
.tile-excerpt {
  font-size: 12px;
  color: var(--white-70);
  line-height: 1.5;
  margin-bottom: 8px;
}
.tile-date {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--white-50);
  text-transform: uppercase;
}

/* Quote tile */
.tile-quote {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-quote::after { display: none; }
.tile-quote-inner {
  padding: 28px 24px;
  text-align: center;
  position: relative;
  z-index: 10;
}
.tile-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 90px;
  line-height: .6;
  color: rgba(0,0,0,.2);
  margin-bottom: 10px;
}
.tile-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
  color: rgba(0,0,0,.82);
  margin-bottom: 14px;
}
.tile-quote-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.tile-quote .tile-cat  { color: rgba(0,0,0,.5); margin: 0; }
.tile-quote .tile-date { color: rgba(0,0,0,.4); }

/* Empty tile */
.tile-empty { background: #f5f5f5; pointer-events: none; }

/* Section tiles font-size adjustments */
.section-a .tile-title  { font-size: 18px; }
.section-b .tile-tall .tile-title { font-size: 20px; }
.section-b .tile-sm .tile-title   { font-size: 15px; }
.section-c .tile-title  { font-size: 14px; }
.section-a .tile-content { padding: 26px 22px; }

/* ---- No posts ---- */
.no-posts {
  text-align: center;
  padding: 80px 20px;
  color: rgba(0,0,0,.35);
  font-size: 15px;
}
.no-posts p { margin-bottom: 20px; }
.btn-gold {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gold);
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
  transition: background .3s;
}
.btn-gold:hover { background: var(--gold-dark); }

/* ---- Article Hero ---- */
.article-hero {
  height: 65vh;
  min-height: 400px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.article-hero-no-img { background: var(--dark-2); }
.gradient-0 { background: linear-gradient(135deg,#1a1a2e,#0f3460) !important; }
.gradient-1 { background: linear-gradient(135deg,#0d0d0d,#2d2d2d) !important; }
.gradient-2 { background: linear-gradient(135deg,#1a0a00,#4a2d00) !important; }
.gradient-3 { background: linear-gradient(135deg,#0a1a0a,#2d4a2d) !important; }
.gradient-4 { background: linear-gradient(135deg,#1a001a,#4a004a) !important; }
.gradient-5 { background: linear-gradient(135deg,#001a1a,#004a4a) !important; }
.gradient-6 { background: linear-gradient(135deg,#2d2d00,#0d0d00) !important; }
.gradient-7 { background: linear-gradient(135deg,#1a0a0a,#4a2020) !important; }
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,.5) 40%, rgba(8,8,8,.1) 100%);
}
.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  padding: 50px 40px;
}
.article-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,.3);
  padding: 5px 12px;
  margin-bottom: 16px;
  transition: all .3s;
}
.article-cat:hover { background: rgba(201,169,110,.1); }
.article-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 720px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.article-date, .article-views {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--white-50);
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
}

/* ---- Article Body ---- */
.article-body {
  background: #ffffff;
  padding: 50px 0 80px;
}
.article-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

/* Sidebar */
.article-sidebar { order: -1; }
.sidebar-sticky {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.sidebar-label {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.sidebar-excerpt {
  background: #f9f5ee;
  border-left: 2px solid var(--gold);
  padding: 16px 18px;
}
.sidebar-excerpt p {
  font-size: 13px;
  line-height: 1.7;
  color: #555555;
  font-style: italic;
}
.sidebar-category {}
.sidebar-cat-link {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 8px 14px;
  border: 1px solid rgba(0,0,0,.1);
  transition: all .3s;
}
.sidebar-cat-link:hover { background: rgba(201,169,110,.1); border-color: var(--gold); }
.share-btns { display: flex; gap: 8px; margin-top: 4px; }
.share-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.1);
  color: #666666;
  font-size: 14px;
  transition: all .3s;
  border-radius: 2px;
}
.share-btn:hover { color: var(--gold-dark); border-color: var(--gold); background: rgba(201,169,110,.06); }

/* Article content */
.article-prose {
  font-size: 17px;
  line-height: 1.9;
  color: #333333;
  max-width: 700px;
}
.article-prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #111111;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.article-prose h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #222222;
  margin: 30px 0 12px;
}
.article-prose p { margin-bottom: 24px; }
.article-prose strong { color: #111111; font-weight: 600; }
.article-prose em { color: var(--gold-dark); font-style: italic; }
.article-prose ul, .article-prose ol {
  margin: 0 0 24px 20px;
  color: #444444;
}
.article-prose li { margin-bottom: 8px; }
.article-prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 14px 20px;
  margin: 30px 0;
  background: #f9f5ee;
  font-style: italic;
  color: #555555;
  font-size: 18px;
  font-family: 'Playfair Display', serif;
}
.article-prose img {
  width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 2px;
}
.article-prose a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-prose iframe,
.article-prose .ql-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  margin: 30px 0;
  border-radius: 2px;
}

.article-footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.back-link {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,.35);
  transition: color .3s;
}
.back-link:hover { color: var(--gold-dark); }
.cat-tag {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid rgba(0,0,0,.1);
  padding: 6px 14px;
  transition: all .3s;
}
.cat-tag:hover { background: rgba(201,169,110,.08); border-color: var(--gold); }

/* ---- Related Posts ---- */
.related-section {
  background: #f7f4ef;
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 70px 0;
}
.related-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.related-title {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.related-line {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,.08);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.related-card { display: block; text-decoration: none; }
.related-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform .5s;
  overflow: hidden;
}
.related-card:hover .related-img { transform: scale(1.04); }
.related-info { padding: 14px 0; }
.related-cat {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 6px;
}
.related-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #111111;
  margin-bottom: 6px;
  transition: color .3s;
}
.related-card:hover .related-post-title { color: var(--gold-dark); }
.related-date {
  font-size: 10px;
  color: rgba(0,0,0,.35);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- Category hero ---- */
.cat-hero {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 60px 30px 50px;
  text-align: center;
  position: relative;
}
.cat-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cat-hero-inner { max-width: 600px; margin: 0 auto; }
.cat-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.cat-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
}
.cat-hero-count {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(0,0,0,.35);
  text-transform: uppercase;
}

/* ---- Not found ---- */
.not-found {
  text-align: center;
  padding: 100px 20px;
}
.not-found h1 {
  font-family: 'Playfair Display', serif;
  font-size: 100px;
  color: rgba(0,0,0,.05);
  line-height: 1;
  margin-bottom: 16px;
}
.not-found p { color: rgba(0,0,0,.4); margin-bottom: 24px; }
.not-found a {
  color: var(--gold-dark);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Footer (stays dark) ---- */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  color: var(--white-70);
}
.footer-divider {
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 50px 30px 40px;
}
.footer-logo { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; }
.footer-logo .logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  letter-spacing: 6px;
  color: var(--white);
  text-transform: uppercase;
}
.footer-logo .logo-sub {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  letter-spacing: 5px;
  color: var(--white-70);
  text-transform: uppercase;
}
.logo-blog-sm {
  font-family: 'Raleway', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-left: 2px;
  align-self: flex-end;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}
.footer-heading {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.footer-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--white-50);
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--white-50);
  font-size: 14px;
  transition: all .3s;
  border-radius: 2px;
}
.social-link:hover { color: var(--gold); border-color: var(--gold); background: rgba(201,169,110,.08); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links li a {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--white-50);
  transition: color .3s;
  text-transform: uppercase;
}
.footer-links li a:hover { color: var(--gold); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--white-50);
}
.footer-contact li i { color: var(--gold); width: 14px; }
.footer-contact li a { color: var(--white-50); transition: color .3s; text-transform: none; letter-spacing: 0; }
.footer-contact li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 40px;
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 11px;
  color: var(--white-30);
  letter-spacing: 1px;
}
.footer-copy a { color: var(--gold); }
.footer-disclaimer {
  font-size: 10px;
  color: rgba(255,255,255,.2);
  max-width: 500px;
  text-align: right;
  line-height: 1.5;
}

/* ---- Tile Subtitle (hover reveal) ---- */
.tile-subtitle {
  font-size: 12px;
  color: #ffffff;
  line-height: 1.55;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height .45s ease, opacity .4s ease .05s, margin-bottom .4s ease;
}
.tile:hover .tile-subtitle {
  max-height: 80px;
  opacity: 1;
  margin-bottom: 8px;
}

/* "Ver mais" button — touch devices only */
.tile-read-more { display: none; }

@media (hover: none) {
  .tile-read-more {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    padding: 6px 14px;
    border: 1px solid rgba(201,169,110,.45);
    margin-top: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }
  .tile.tile-active .tile-read-more {
    opacity: 1;
    pointer-events: auto;
  }
  .tile.tile-active .tile-subtitle {
    max-height: 80px;
    opacity: 1;
    margin-bottom: 8px;
  }
  .tile.tile-active .tile-content {
    transform: translateY(0);
  }
  .tile.tile-active .tile-overlay {
    background: linear-gradient(to top, rgba(0,0,0,.93) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.15) 100%);
  }
  .tile.tile-active::after {
    border: 2px solid rgba(201,169,110,.5);
  }
}

/* ---- Article subtitle ---- */
.article-hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-style: italic;
  color: rgba(255,255,255,.62);
  margin-bottom: 20px;
  max-width: 620px;
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tile { animation: fadeUp .5s ease both; }
.mosaic-section .tile:nth-child(1) { animation-delay: .05s; }
.mosaic-section .tile:nth-child(2) { animation-delay: .10s; }
.mosaic-section .tile:nth-child(3) { animation-delay: .15s; }
.mosaic-section .tile:nth-child(4) { animation-delay: .20s; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .article-container { grid-template-columns: 200px 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .section-b { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px; }
  .section-b .tile:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .section-b .tile:nth-child(2) { grid-column: 2; grid-row: 1; }
  .section-b .tile:nth-child(3) { grid-column: 2; grid-row: 2; }
  .section-b .tile:nth-child(4) { display: none; }
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    background: #ffffff;
    border-left: 1px solid rgba(0,0,0,.08);
    box-shadow: -10px 0 40px rgba(0,0,0,.1);
    padding: 80px 30px 30px;
    gap: 4px;
    z-index: 190;
    overflow-y: auto;
  }
  .site-nav.open .nav-link {
    padding: 12px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    color: #333333;
  }
  .site-nav.open .nav-store {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,.06);
    margin: 0;
    color: var(--gold-dark) !important;
  }
  .article-container { grid-template-columns: 1fr; }
  .article-sidebar { order: 0; }
  .sidebar-sticky { position: static; }
}

@media (max-width: 700px) {
  .top-bar-text { display: none; }
  .section-a { grid-template-columns: 1fr; min-height: auto; }
  .section-a .tile-md { min-height: 280px; }
  .section-b { grid-template-columns: 1fr; grid-template-rows: auto; }
  .section-b .tile { min-height: 260px; }
  .section-b .tile:nth-child(1),
  .section-b .tile:nth-child(2),
  .section-b .tile:nth-child(3),
  .section-b .tile:nth-child(4) { grid-column: auto; grid-row: auto; display: block; }
  .section-c { grid-template-columns: 1fr 1fr; }
  .section-c .tile { min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 30px 20px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-hero { height: 50vh; }
  .article-hero-content { padding: 30px 20px; }
  .article-container { padding: 0 20px; }
  .header-inner { padding: 0 16px; }
  .top-bar-inner { padding: 0 16px; }
}

@media (max-width: 480px) {
  .section-c { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
