/*
Theme Name: TrendBloom
Theme URI: https://trendbloom.com
Author: TrendBloom Studio
Description: Premium Pinterest lifestyle magazine theme. AdSense ready, mobile responsive. Covers Fashion, Food, Home Decor, Travel, Health, Beauty, Finance & Parenting.
Version: 3.0.0
License: GNU General Public License v2 or later
Tags: blog, lifestyle, magazine, editorial, pinterest, adsense, custom-logo, featured-images, threaded-comments
*/

/* ────────────────────────────────────────────────────────
   FONTS
──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

/* ────────────────────────────────────────────────────────
   DESIGN TOKENS
──────────────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --rose:        #C96480;
  --rose-dark:   #A84F68;
  --rose-light:  #F3D9E1;
  --gold:        #D4A853;
  --gold-light:  #F5E6C4;
  --sage:        #5B8A6E;
  --sage-light:  #DBE8DF;
  --plum:        #5C3D5C;

  /* Neutrals */
  --ink:         #1C1917;
  --ink-mid:     #44403C;
  --muted:       #78716C;
  --border:      #E7E0D8;
  --bg:          #FAFAF7;
  --white:       #FFFFFF;
  --stone:       #F5F0EA;
  --dark:        #18140F;

  /* Category Colors */
  --fashion-c:   #C96480;
  --food-c:      #D4643A;
  --decor-c:     #8B6B4A;
  --travel-c:    #3A6B9E;
  --health-c:    #5B8A6E;
  --beauty-c:    #A84F7A;
  --finance-c:   #2E7A6A;
  --parenting-c: #7A5A9E;

  /* Category Gradients (for fallback cards) */
  --fashion-grad:   linear-gradient(135deg, #C96480 0%, #7D2C4A 100%);
  --food-grad:      linear-gradient(135deg, #D4643A 0%, #8B3A14 100%);
  --decor-grad:     linear-gradient(135deg, #8B6B4A 0%, #4A3020 100%);
  --travel-grad:    linear-gradient(135deg, #3A6B9E 0%, #1A3A6A 100%);
  --health-grad:    linear-gradient(135deg, #5B8A6E 0%, #2A5040 100%);
  --beauty-grad:    linear-gradient(135deg, #A84F7A 0%, #5C1A40 100%);
  --finance-grad:   linear-gradient(135deg, #2E7A6A 0%, #104040 100%);
  --parenting-grad: linear-gradient(135deg, #7A5A9E 0%, #3C1A60 100%);
  --default-grad:   linear-gradient(135deg, #C96480 0%, #5C3D5C 100%);

  /* Fonts */
  --f-display: 'Playfair Display', Georgia, serif;
  --f-script:  'Cormorant Garamond', Georgia, serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --max:    1300px;
  --pad:    clamp(18px, 4vw, 48px);
  --gap:    clamp(20px, 3vw, 36px);
  --radius: 4px;

  /* Animation */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  0.45s;
}

/* ────────────────────────────────────────────────────────
   RESET
──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: 0; background: 0; font-family: inherit; }

/* ────────────────────────────────────────────────────────
   LAYOUT UTILITIES
──────────────────────────────────────────────────────── */
.site-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.py-section { padding-block: clamp(60px, 9vw, 110px); }

.grid-1 { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }

/* ────────────────────────────────────────────────────────
   TYPOGRAPHY
──────────────────────────────────────────────────────── */
.f-display { font-family: var(--f-display); }
.f-script  { font-family: var(--f-script); }
.eyebrow {
  font-family: var(--f-body); font-size: 10px;
  font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; color: var(--rose);
}
.eyebrow::before { content: ''; width: 20px; height: 1.5px; background: currentColor; }

.section-head { margin-bottom: clamp(32px,5vw,52px); }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700; line-height: 1.15; color: var(--ink);
}
.section-head--center { text-align: center; }
.section-head--center .eyebrow { margin-inline: auto; }
.section-head--light h2,
.section-head--light .eyebrow { color: var(--white); }
.section-head--light .eyebrow::before { background: var(--gold); }
.section-head--light .eyebrow { color: var(--gold); }

.view-all-link {
  font-family: var(--f-body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose);
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1.5px solid var(--rose-light); padding-bottom: 2px;
  transition: border-color 0.2s;
}
.view-all-link:hover { border-color: var(--rose); }

/* ────────────────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────────────────── */
.btn {
  display: inline-block; font-family: var(--f-body); font-size: 11px;
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 13px 28px; line-height: 1; transition: all 0.2s;
}
.btn-primary   { background: var(--rose); color: var(--white); }
.btn-primary:hover  { background: var(--rose-dark); color: var(--white); }
.btn-dark      { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--rose); color: var(--white); }
.btn-outline   { border: 1.5px solid var(--border); color: var(--ink-mid); }
.btn-outline:hover { border-color: var(--rose); color: var(--rose); }

/* ────────────────────────────────────────────────────────
   HEADER
──────────────────────────────────────────────────────── */
#site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 900;
  padding-block: 16px;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, padding .3s, box-shadow .3s;
}
#site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,.06);
  padding-block: 10px;
}
.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.site-logo-wrap { justify-self: start; }
.site-logo {
  font-family: var(--f-display);
  font-size: 26px; font-weight: 700; color: var(--ink);
  letter-spacing: -.02em; line-height: 1;
}
.site-logo .dot { color: var(--rose); }

.header-nav { justify-self: center; }
.nav-list { display: flex; list-style: none; gap: 0; }
.nav-list a {
  font-family: var(--f-body); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
  padding: 7px 16px; display: block;
  transition: color .2s;
  border-right: 1px solid var(--border);
}
.nav-list li:first-child a { border-left: 1px solid var(--border); }
.nav-list a:hover,
.nav-list .current-cat > a,
.nav-list .current-menu-item > a { color: var(--rose); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.btn-subscribe-nav {
  font-family: var(--f-body); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--rose); color: var(--white);
  padding: 9px 20px; transition: background .2s;
}
.btn-subscribe-nav:hover { background: var(--rose-dark); }
.icon-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--ink-mid); transition: color .2s; }
.icon-btn:hover { color: var(--rose); }
.hamburger-btn { display: none; }

/* ────────────────────────────────────────────────────────
   MOBILE MENU
──────────────────────────────────────────────────────── */
#mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--white);
  display: flex; flex-direction: column; overflow-y: auto;
  padding: 90px var(--pad) 48px;
  transform: translateX(110%);
  transition: transform .55s var(--ease);
}
#mobile-menu.open { transform: translateX(0); }
.menu-close-btn { position: absolute; top: 22px; right: var(--pad); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.mob-nav { list-style: none; }
.mob-nav li { border-bottom: 1px solid var(--border); }
.mob-nav a {
  display: block; padding: 18px 0;
  font-family: var(--f-display); font-size: 28px; font-weight: 700;
  color: var(--ink); transition: color .2s;
}
.mob-nav a:hover { color: var(--rose); }
.mob-sub { font-family: var(--f-body); font-size: 12px; color: var(--muted); margin-top: 28px; }

/* ────────────────────────────────────────────────────────
   HERO
──────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 68px;
  overflow: hidden;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px var(--pad) 80px 0;
  padding-left: max(var(--pad), calc((100vw - var(--max))/2 + var(--pad)));
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--rose);
  margin-bottom: 24px;
}
.hero-tag::before { content: ''; width: 32px; height: 1.5px; background: var(--rose); }
.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(52px, 7vw, 108px);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -.03em; color: var(--ink);
  margin-bottom: 24px;
}
.hero-headline span { color: var(--rose); display: block; font-weight: 400; font-style: italic; }
.hero-excerpt { font-size: 16px; color: var(--muted); max-width: 400px; line-height: 1.85; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-scroll { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero-images {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; gap: 3px;
}
.hero-img { overflow: hidden; background: var(--stone); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hero-img:hover img { transform: scale(1.05); }
.hero-img-main { grid-row: 1 / 3; }

/* Fallback gradient card (when no image) */
.img-fallback {
  width: 100%; height: 100%; min-height: 200px;
  display: flex; align-items: flex-end; padding: 20px;
  background: var(--default-grad);
}
.img-fallback .fallback-text {
  font-family: var(--f-display); font-size: 18px; font-weight: 700;
  color: rgba(255,255,255,.7); line-height: 1.3;
}

/* ────────────────────────────────────────────────────────
   MARQUEE
──────────────────────────────────────────────────────── */
.marquee-bar { overflow: hidden; border-block: 1px solid var(--border); background: var(--white); padding-block: 12px; }
.marquee-inner { display: flex; width: max-content; animation: scroll-left 22s linear infinite; }
.marquee-inner:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-body); font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  padding-inline: 20px; white-space: nowrap;
}
.marquee-dot { color: var(--rose); font-size: 12px; }
@keyframes scroll-left { to { transform: translateX(-50%); } }

/* ────────────────────────────────────────────────────────
   POST CARDS
──────────────────────────────────────────────────────── */

/* --- Card A: Big overlay (image full, text on top) --- */
.card-a {
  position: relative; display: block; overflow: hidden;
  background: var(--stone); min-height: 380px;
}
.card-a .card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.card-a:hover .card-img { transform: scale(1.05); }
.card-a .card-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,.92) 0%, rgba(28,25,23,.3) 50%, transparent 100%);
}
.card-a .card-body {
  position: absolute; bottom: 0; inset-inline: 0;
  padding: clamp(20px,3vw,36px); color: var(--white);
}
.card-a .card-cat {
  font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  display: inline-block; padding: 5px 12px; margin-bottom: 12px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
}
.card-a .card-title {
  font-family: var(--f-display);
  font-size: clamp(20px,2.5vw,30px); font-weight: 700; line-height: 1.2;
  color: var(--white); margin-bottom: 10px; transition: opacity .2s;
}
.card-a:hover .card-title { opacity: .85; }
.card-a .card-meta { font-size: 11px; color: rgba(255,255,255,.55); }

/* Gradient fallback when no image */
.card-a.no-img { background: var(--default-grad); }
.card-a.no-img .card-grad { background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 70%); }

/* --- Card B: Vertical (thumb top, text below) --- */
.card-b { display: flex; flex-direction: column; }
.card-b .thumb {
  overflow: hidden; aspect-ratio: 4/5;
  background: var(--stone); flex-shrink: 0; margin-bottom: 18px;
}
.card-b .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card-b:hover .thumb img { transform: scale(1.05); }
.card-b .card-cat { font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.card-b .card-title { font-family: var(--f-display); font-size: clamp(17px,2vw,21px); font-weight: 700; line-height: 1.3; margin-bottom: 8px; transition: color .2s; }
.card-b:hover .card-title { color: var(--rose); }
.card-b .card-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-b .card-meta { font-size: 11px; color: var(--muted); margin-top: 10px; }

/* Gradient fallback */
.card-b .thumb.no-img {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4/5;
}

/* --- Card C: Horizontal (small thumb left, text right) --- */
.card-c { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: start; padding-block: 20px; border-bottom: 1px solid var(--border); }
.card-c:first-child { border-top: 1px solid var(--border); }
.card-c .thumb { overflow: hidden; aspect-ratio: 1; background: var(--stone); }
.card-c .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-c:hover .thumb img { transform: scale(1.06); }
.card-c .card-cat { font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; display: block; margin-bottom: 5px; }
.card-c .card-title { font-family: var(--f-display); font-size: 15px; font-weight: 700; line-height: 1.35; transition: color .2s; }
.card-c:hover .card-title { color: var(--rose); }
.card-c .card-meta { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* ────────────────────────────────────────────────────────
   FEATURED GRID (Bento)
──────────────────────────────────────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
}
.fg-main  { grid-column: 1/8; grid-row: 1/3; }
.fg-s1    { grid-column: 8/13; }
.fg-s2    { grid-column: 8/13; }
.fg-main .card-a { min-height: 580px; height: 100%; }
.fg-s1 .card-a,
.fg-s2 .card-a { min-height: 280px; }

/* ────────────────────────────────────────────────────────
   CATEGORY SHOWCASE
──────────────────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; }
.cat-card {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,25,23,.84) 0%, transparent 55%); transition: opacity .3s; }
.cat-card-body { position: relative; z-index: 1; padding: 22px; color: var(--white); }
.cat-card-name { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--white); }
.cat-card-count { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 3px; }

/* Gradient fallback for category cards */
.cat-card.cat-fashion    { background: var(--fashion-grad); }
.cat-card.cat-food       { background: var(--food-grad); }
.cat-card.cat-home-decor { background: var(--decor-grad); }
.cat-card.cat-travel     { background: var(--travel-grad); }
.cat-card.cat-health     { background: var(--health-grad); }
.cat-card.cat-beauty     { background: var(--beauty-grad); }
.cat-card.cat-finance    { background: var(--finance-grad); }
.cat-card.cat-parenting  { background: var(--parenting-grad); }
.cat-card:not([class*="cat-"]) { background: var(--default-grad); }

/* ────────────────────────────────────────────────────────
   TRENDING (dark section)
──────────────────────────────────────────────────────── */
.trending-section { background: var(--dark); padding-block: clamp(60px,9vw,110px); }
.trending-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(32px,4vw,52px); }
.trend-card {}
.trend-num { font-family: var(--f-script); font-size: 68px; font-weight: 300; font-style: italic; color: rgba(255,255,255,.07); line-height: 1; margin-bottom: -10px; }
.trend-thumb { overflow: hidden; aspect-ratio: 16/10; background: rgba(255,255,255,.05); margin-bottom: 18px; }
.trend-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); opacity: .8; }
.trend-card:hover .trend-thumb img { transform: scale(1.05); opacity: 1; }
.trend-cat { font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 8px; }
.trend-title { font-family: var(--f-display); font-size: clamp(18px,2.2vw,23px); font-weight: 700; color: var(--white); line-height: 1.3; transition: color .2s; }
.trend-card:hover .trend-title { color: var(--gold); }
.trend-meta { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 10px; }

/* ────────────────────────────────────────────────────────
   NEWSLETTER
──────────────────────────────────────────────────────── */
.nl-section {
  background: linear-gradient(135deg, #2D1F2E 0%, #1C1917 60%, #1A2C1E 100%);
  padding-block: clamp(70px,11vw,140px); text-align: center; position: relative; overflow: hidden;
}
.nl-bg-word {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: clamp(100px,18vw,260px); font-weight: 900;
  color: rgba(255,255,255,.025); white-space: nowrap; pointer-events: none; user-select: none;
}
.nl-inner { position: relative; z-index: 1; }
.nl-tag { font-size: 10px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
.nl-heading { font-family: var(--f-display); font-size: clamp(44px,7.5vw,100px); font-weight: 900; line-height: 1.0; color: var(--white); margin-bottom: 18px; }
.nl-heading em { font-style: italic; color: var(--rose); }
.nl-sub { font-size: 15px; color: rgba(255,255,255,.45); max-width: 420px; margin-inline: auto; line-height: 1.85; margin-bottom: 44px; }
.nl-form { display: flex; max-width: 460px; margin-inline: auto; border: 1px solid rgba(255,255,255,.12); }
.nl-email { flex: 1; background: transparent; border: 0; outline: 0; padding: 16px 20px; font-family: var(--f-body); font-size: 14px; color: var(--white); }
.nl-email::placeholder { color: rgba(255,255,255,.3); }
.nl-submit { background: var(--rose); color: var(--white); border: 0; padding: 16px 28px; font-family: var(--f-body); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .2s; white-space: nowrap; }
.nl-submit:hover { background: var(--rose-dark); }
.nl-small { font-size: 11px; color: rgba(255,255,255,.2); margin-top: 14px; }
.nl-small a { color: rgba(255,255,255,.3); text-decoration: underline; }

/* ────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────── */
.site-footer { background: var(--dark); }
.footer-brand-row { padding: 36px var(--pad); border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.footer-brand-text { font-family: var(--f-display); font-size: clamp(56px,12vw,150px); font-weight: 900; color: rgba(255,255,255,.04); line-height: 1; white-space: nowrap; user-select: none; }
.footer-main { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; padding-block: 56px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-col-head { font-size: 9px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: block; }
.footer-about { font-size: 13.5px; color: rgba(255,255,255,.32); line-height: 1.9; margin-bottom: 18px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.25); transition: color .2s; }
.footer-social a:hover { color: var(--gold); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.3); transition: color .2s; line-height: 1.6; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.2); }
.back-top-btn { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 2px; transition: color .2s; }
.back-top-btn:hover { color: var(--white); }

/* ────────────────────────────────────────────────────────
   PAGE BANNER
──────────────────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #2D1820 100%);
  padding: clamp(80px,12vw,140px) var(--pad);
  text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,100,128,.2) 0%, transparent 60%);
}
.page-banner-inner { position: relative; z-index: 1; }
.page-banner-tag { font-size: 10px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 14px; }
.page-banner h1 { font-family: var(--f-display); font-size: clamp(44px,7vw,92px); font-weight: 800; color: var(--white); line-height: 1.05; }
.page-banner p { font-size: 15px; color: rgba(255,255,255,.45); max-width: 480px; margin: 14px auto 0; line-height: 1.8; }

/* ────────────────────────────────────────────────────────
   PAGE CONTENT
──────────────────────────────────────────────────────── */
.page-content { max-width: 820px; margin-inline: auto; padding: clamp(48px,8vw,96px) var(--pad); }
.page-content h2 { font-family: var(--f-display); font-size: clamp(26px,3.5vw,38px); font-weight: 700; margin: 48px 0 14px; color: var(--ink); }
.page-content h3 { font-family: var(--f-display); font-size: clamp(20px,2.5vw,26px); font-weight: 700; margin: 36px 0 10px; color: var(--ink); }
.page-content p { font-size: 16.5px; line-height: 1.95; color: var(--ink-mid); margin-bottom: 24px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 24px; }
.page-content li { font-size: 16px; line-height: 1.85; color: var(--ink-mid); margin-bottom: 8px; }
.page-content a { color: var(--rose); text-decoration: underline; }
.page-content blockquote { border-left: 3px solid var(--rose); background: var(--rose-light); padding: 24px 32px; margin: 36px 0; font-family: var(--f-script); font-size: 22px; font-style: italic; color: var(--ink); line-height: 1.5; }
.page-content strong { color: var(--ink); font-weight: 700; }

/* ────────────────────────────────────────────────────────
   CONTACT FORM
──────────────────────────────────────────────────────── */
.contact-form { margin-top: 40px; }
.contact-card { background: var(--stone); padding: 40px; margin-bottom: 32px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field-label { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.field-input, .field-textarea, .field-select {
  font-family: var(--f-body); font-size: 15px; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--border);
  padding: 13px 16px; outline: 0; width: 100%; transition: border-color .2s;
}
.field-input:focus, .field-textarea:focus, .field-select:focus { border-color: var(--rose); }
.field-textarea { resize: vertical; min-height: 150px; }

/* ────────────────────────────────────────────────────────
   SINGLE POST
──────────────────────────────────────────────────────── */
.post-hero-wrap { position: relative; height: min(72vh,680px); overflow: hidden; background: var(--stone); }
.post-hero-wrap img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,25,23,.6) 0%, transparent 60%); }
.post-hero-gradient {
  height: min(72vh,680px);
  display: flex; align-items: center; justify-content: center;
}
.single-header { max-width: 780px; margin-inline: auto; padding: 56px var(--pad) 0; text-align: center; }
.single-cat { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; display: block; margin-bottom: 16px; }
.single-title { font-family: var(--f-display); font-size: clamp(34px,5.5vw,68px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: var(--ink); }
.single-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.meta-sep { width: 16px; height: 1px; background: var(--border); display: inline-block; }
.single-body { max-width: 730px; margin-inline: auto; padding: 48px var(--pad) 80px; }
.single-body p { font-size: 17px; line-height: 1.95; color: var(--ink-mid); margin-bottom: 28px; }
.single-body h2 { font-family: var(--f-display); font-size: clamp(26px,3.5vw,38px); font-weight: 700; margin: 52px 0 18px; }
.single-body h3 { font-family: var(--f-display); font-size: clamp(22px,2.8vw,30px); font-weight: 700; margin: 40px 0 14px; }
.single-body img { width: 100%; margin-block: 36px; }
.single-body blockquote { border-left: 3px solid var(--rose); background: var(--rose-light); padding: 24px 32px; margin: 40px 0; font-family: var(--f-script); font-size: 24px; font-style: italic; color: var(--ink); line-height: 1.4; border-radius: var(--radius); }
.single-body ul, .single-body ol { padding-left: 24px; margin-bottom: 28px; }
.single-body li { font-size: 16px; line-height: 1.85; color: var(--ink-mid); margin-bottom: 8px; }
.single-body a { color: var(--rose); text-decoration: underline; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 36px; border-top: 1px solid var(--border); margin-top: 48px; }
.tag-chip { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1.5px solid var(--border); padding: 6px 14px; color: var(--muted); transition: all .2s; }
.tag-chip:hover { border-color: var(--rose); color: var(--rose); }

/* Pinterest button */
.pin-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #E60023; border-bottom: 1px solid #E60023; padding-bottom: 2px; margin-top: 24px; }

/* AdSense wrappers */
.ad-unit { text-align: center; padding-block: 24px; }

/* ────────────────────────────────────────────────────────
   ARCHIVE
──────────────────────────────────────────────────────── */
.archive-hero { padding-block: clamp(60px,9vw,110px) clamp(48px,6vw,80px); }
.archive-posts { padding-bottom: clamp(60px,9vw,110px); }

/* ────────────────────────────────────────────────────────
   SIDEBAR
──────────────────────────────────────────────────────── */
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 72px; align-items: start; }
.sidebar-widget { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.sidebar-widget:last-child { border-bottom: 0; }
.widget-label { font-size: 9px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--rose); display: block; margin-bottom: 18px; }
.widget ul { list-style: none; }
.widget ul li { border-bottom: 1px solid var(--border); }
.widget ul li a { display: block; padding: 10px 0; font-size: 13.5px; color: var(--muted); transition: color .2s; line-height: 1.5; }
.widget ul li a:hover { color: var(--rose); }

/* ────────────────────────────────────────────────────────
   PAGINATION
──────────────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; padding-block: 52px; }
.page-numbers { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); font-size: 13px; font-weight: 600; color: var(--muted); transition: all .2s; }
.page-numbers:hover, .page-numbers.current { background: var(--rose); color: var(--white); border-color: var(--rose); }

/* ────────────────────────────────────────────────────────
   ABOUT PAGE SPECIAL
──────────────────────────────────────────────────────── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: clamp(60px,9vw,110px); }
.about-img { overflow: hidden; aspect-ratio: 4/5; background: var(--stone); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text .big { font-family: var(--f-display); font-size: clamp(28px,4vw,48px); font-weight: 700; line-height: 1.2; color: var(--ink); }
.about-text p { font-size: 16px; line-height: 1.9; color: var(--ink-mid); }
.about-values { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); padding-block: clamp(60px,9vw,110px); }
.value-card { background: var(--stone); padding: 36px 28px; }
.value-icon { width: 48px; height: 48px; background: var(--rose-light); color: var(--rose); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.value-card h3 { font-family: var(--f-display); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ────────────────────────────────────────────────────────
   PRIVACY / LEGAL PAGE
──────────────────────────────────────────────────────── */
.legal-content { max-width: 820px; margin-inline: auto; padding: clamp(48px,8vw,96px) var(--pad); }
.legal-content h1 { font-family: var(--f-display); font-size: clamp(36px,5vw,60px); font-weight: 800; margin-bottom: 8px; }
.legal-date { font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-bottom: 48px; display: block; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.legal-content h2 { font-family: var(--f-display); font-size: 26px; font-weight: 700; margin: 44px 0 12px; }
.legal-content p, .legal-content li { font-size: 15.5px; line-height: 1.9; color: var(--ink-mid); }
.legal-content p { margin-bottom: 20px; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--rose); }

/* ────────────────────────────────────────────────────────
   404
──────────────────────────────────────────────────────── */
.error404-section { text-align: center; padding: clamp(80px,14vw,160px) var(--pad); min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error404-num { font-family: var(--f-display); font-size: clamp(100px,20vw,200px); font-weight: 900; line-height: 1; background: linear-gradient(135deg,var(--rose),var(--plum)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.error404-msg { font-size: 18px; color: var(--muted); margin: 8px 0 32px; max-width: 380px; }

/* ────────────────────────────────────────────────────────
   COMMENTS
──────────────────────────────────────────────────────── */
.comments-wrap { max-width: 730px; margin-inline: auto; padding: 60px var(--pad) 80px; }
.comments-count { font-family: var(--f-display); font-size: 28px; font-weight: 700; margin-bottom: 32px; }
.comment-list { list-style: none; }
.comment-item { padding-block: 28px; border-bottom: 1px solid var(--border); }
.comment-author .fn { font-family: var(--f-display); font-size: 18px; font-weight: 700; }
.comment-metadata a { font-size: 12px; color: var(--muted); }
.comment-content { margin-top: 10px; }
.comment-content p { font-size: 15px; line-height: 1.8; color: var(--ink-mid); }
.reply { margin-top: 10px; }
.comment-reply-link { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--rose); }
.comment-form-area { margin-top: 56px; }
.comment-reply-title { font-family: var(--f-display); font-size: 26px; font-weight: 700; margin-bottom: 24px; }

/* ────────────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .fg-main  { grid-column: 1/3; grid-row: 1; }
  .fg-s1    { grid-column: 1/2; grid-row: 2; }
  .fg-s2    { grid-column: 2/3; grid-row: 2; }
  .fg-main .card-a { min-height: 440px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-intro .about-img { aspect-ratio: 16/9; max-width: 520px; }
}

@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 60px var(--pad) 0; padding-left: var(--pad); }
  .hero-images { min-height: 50vw; }
  .header-nav { display: none; }
  .hamburger-btn { display: flex; }
  .btn-subscribe-nav { display: none; }
  .header-grid { grid-template-columns: auto 1fr auto; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .trending-grid { grid-template-columns: repeat(2,1fr); }
  .about-values { grid-template-columns: 1fr; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .layout-with-sidebar .sidebar { display: none; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .trending-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .nl-form { flex-direction: column; }
  .nl-submit { width: 100%; text-align: center; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .card-c { grid-template-columns: 80px 1fr; }
}

/* WP Core */
.alignwide { max-width: 1060px; margin-inline: auto; }
.alignfull { max-width: none; }
.wp-block-image { margin-block: 28px; }
.wp-caption-text { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: fixed; top: 16px; left: 16px; background: var(--rose); color: var(--white); padding: 10px 20px; font-weight: 700; z-index: 9999; left: unset; }
