/*
Theme Name: Sinply Cosy
Theme URI: https://www.sin-plypretty.com
Author: Dr. Preeti Chauhan
Author URI: https://www.sin-plypretty.com
Description: A warm, cosy lifestyle & health blog theme for Sin-ply Pretty by Dr. Preeti Chauhan.
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: sinply-cosy
Tags: blog, health, lifestyle, warm, cosy
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:        #1B2A4A;
  --blue:        #4A90C4;
  --blue-light:  #6DADD6;
  --cream:       #FDF6EF;
  --blush:       #F2D9CD;
  --rose:        #D4826A;
  --warm-gray:   #E8DDD4;
  --text:        #2C2C2C;
  --text-mid:    #5A5A5A;
  --text-light:  #8A8A8A;
  --white:       #FFFFFF;
  --gold:        #C9A96E;
  --gold-light:  #E8D5B0;
  --card-shadow: 0 2px 16px rgba(27,42,74,.07);
  --radius:      12px;
  --radius-sm:   6px;
  --transition:  .3s ease;
  --max-width:   1200px;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Lato', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Dancing Script', cursive;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rose); }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--rose);
  border-radius: 2px;
  margin-top: 8px;
}
.section-subtitle {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 32px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  letter-spacing: .04em;
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--blush); }
.topbar-social a { margin-left: 12px; font-size: .85rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(27,42,74,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  left: 0;
  right: 0;
}
/* When WP admin bar is visible, offset sticky header */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 24px;
}
.site-logo img {
  height: 72px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
}
.site-logo .text-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.site-logo .text-logo span { color: var(--blue); }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.site-nav a:hover,
.site-nav .current-menu-item a {
  background: var(--cream);
  color: var(--rose);
}
.nav-search { cursor: pointer; padding: 8px 10px; color: var(--navy); }
.nav-search:hover { color: var(--rose); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO / FEATURED POST
   ============================================================ */
.hero {
  position: relative;
  height: clamp(420px, 60vh, 620px);
  overflow: hidden;
  background: var(--navy);
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .65;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,.85) 0%, rgba(27,42,74,.35) 100%);
}
.hero-content {
  position: absolute; bottom: 60px; left: 0; right: 0;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-category {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.25;
  max-width: 680px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-meta {
  color: rgba(255,255,255,.8);
  font-size: .85rem;
}
.hero-meta span { margin-right: 16px; }
.hero-read-btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--rose);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: background var(--transition), transform var(--transition);
}
.hero-read-btn:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.category-strip {
  background: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid var(--warm-gray);
}
.category-strip .container {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 30px;
  background: var(--cream);
  border: 1.5px solid var(--warm-gray);
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
}
.cat-pill:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27,42,74,.2);
}
.cat-pill .cat-icon { font-size: 1.1rem; }

/* ============================================================
   POSTS GRID
   ============================================================ */
.posts-section { padding: 64px 0; }
.posts-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}
.view-all-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1.5px solid var(--blue);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.view-all-link:hover { color: var(--rose); border-color: var(--rose); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(27,42,74,.13);
}
.post-card-img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover .post-card-img { transform: scale(1.04); }
.post-card-img-wrap { overflow: hidden; }
.post-card-body { padding: 20px; }
.post-card-cat {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}
.post-card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 10px;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--rose); }
.post-card-excerpt {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--text-light);
  border-top: 1px solid var(--warm-gray);
  padding-top: 14px;
  margin-top: 4px;
}

/* ============================================================
   FEATURED WIDE CARD
   ============================================================ */
.post-card-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card-wide:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,42,74,.13); }
.post-card-wide .post-card-img { height: 280px; }
.post-card-wide .post-card-img-wrap { overflow: hidden; }
.post-card-wide .post-card-body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.post-card-wide .post-card-title { font-size: 1.3rem; margin-bottom: 14px; }
.post-card-wide .post-card-excerpt { -webkit-line-clamp: 5; }

/* ============================================================
   AUTHOR BANNER
   ============================================================ */
.author-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #2A4070 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.author-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--blush);
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.author-name {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.author-handle {
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--blush);
  margin-bottom: 18px;
}
.author-bio {
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
}
.author-cta {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}
.author-cta:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

/* ============================================================
   INSTAGRAM SECTION
   ============================================================ */
.instagram-section {
  background: var(--white);
  padding: 64px 0;
}
.instagram-header {
  text-align: center;
  margin-bottom: 40px;
}
.instagram-header .ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mid);
  font-size: .9rem;
  margin-top: 8px;
}
.instagram-slider-wrap {
  position: relative;
  overflow: hidden;
}
.instagram-slider {
  display: flex;
  gap: 20px;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.instagram-slide {
  flex: 0 0 calc(33.333% - 14px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--card-shadow);
}
.instagram-slide iframe {
  border: none !important;
  border-radius: var(--radius) !important;
  width: 100% !important;
  min-width: unset !important;
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.slider-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--warm-gray);
  background: var(--white);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--warm-gray);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slider-dot.active { background: var(--rose); transform: scale(1.3); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, #F9EDE4 0%, #F2D9CD 100%);
  padding: 64px 0;
  text-align: center;
}
.newsletter-section .section-title { color: var(--navy); }
.newsletter-section p { color: var(--text-mid); max-width: 480px; margin: 0 auto 28px; }
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,42,74,.12);
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 16px 24px;
  border: none;
  font-size: .95rem;
  background: var(--white);
  color: var(--text);
  outline: none;
}
.newsletter-form button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 16px 28px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--rose); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 56px 0;
  align-items: start;
}
.sidebar { position: sticky; top: 90px; }
.widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--card-shadow);
}
.widget-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blush);
  margin-bottom: 16px;
}
.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--warm-gray);
  font-size: .875rem;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text); transition: color var(--transition); }
.widget ul li a:hover { color: var(--rose); }

/* About widget */
.widget-about { text-align: center; }
.widget-about img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--blush);
}
.widget-about .author-widget-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.widget-about .author-widget-tagline {
  font-size: .8rem;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.widget-about .author-widget-bio {
  font-size: .83rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.widget-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.widget-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: all var(--transition);
}
.widget-social a:hover { background: var(--navy); color: var(--white); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-hero {
  height: clamp(300px, 45vh, 480px);
  overflow: hidden;
  position: relative;
  background: var(--navy);
}
.single-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .75;
}
.single-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(27,42,74,.85));
  display: flex;
  align-items: flex-end;
}
.single-hero-content {
  padding: 36px;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}
.entry-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: var(--white);
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 12px;
}
.entry-meta {
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Post content */
.entry-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
}
.entry-content h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 36px 0 16px;
}
.entry-content h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 28px 0 12px;
}
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol {
  margin: 0 0 20px 24px;
}
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote {
  border-left: 4px solid var(--rose);
  background: var(--cream);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--navy);
}
.entry-content img { border-radius: var(--radius-sm); margin: 20px 0; }
.entry-content a { color: var(--blue); border-bottom: 1px solid rgba(74,144,196,.3); }
.entry-content a:hover { color: var(--rose); border-color: rgba(212,130,106,.3); }

/* Author box */
.author-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 40px 0;
}
.author-box img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--blush);
}
.author-box-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 6px;
}
.author-box-bio { font-size: .875rem; color: var(--text-mid); line-height: 1.65; }

/* Tags */
.entry-tags { margin: 28px 0; }
.entry-tags a {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  color: var(--text-mid);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .8rem;
  margin: 4px 4px 4px 0;
  transition: all var(--transition);
}
.entry-tags a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2A4070 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.about-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,.25);
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.about-hero-name {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.about-hero-title {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--blush);
  margin-bottom: 20px;
}
.about-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.about-badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.about-content { padding: 72px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}
.about-story-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-story p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-quote {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--rose);
  border-left: 3px solid var(--rose);
  padding-left: 20px;
  margin: 28px 0;
  line-height: 1.5;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.about-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.about-stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
}
.about-stat-label { font-size: .8rem; color: var(--text-mid); margin-top: 4px; }

.about-topics {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
}
.about-topics h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin-bottom: 14px;
}
.topic-tag {
  display: inline-block;
  background: var(--cream);
  border: 1.5px solid var(--blush);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  margin: 4px;
}

.about-ig {
  background: var(--cream);
  padding: 64px 0;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-about .footer-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-about p { font-size: .875rem; line-height: 1.75; max-width: 280px; }
.footer-heading {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(255,255,255,.15);
}
.footer-links li { padding: 5px 0; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--blush); }

.footer-social { display: flex; gap: 10px; margin-bottom: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ============================================================
   SEARCH BAR (overlay)
   ============================================================ */
.search-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(27,42,74,.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.search-overlay.open { display: flex; }
.search-overlay form { display: flex; gap: 0; width: 100%; max-width: 600px; }
.search-overlay input {
  flex: 1;
  padding: 18px 24px;
  font-size: 1.2rem;
  border: none;
  border-radius: 40px 0 0 40px;
  background: var(--white);
  color: var(--text);
  outline: none;
}
.search-overlay button {
  background: var(--rose);
  color: var(--white);
  border: none;
  padding: 18px 28px;
  border-radius: 0 40px 40px 0;
  font-size: 1rem;
  cursor: pointer;
}
.search-close {
  position: absolute; top: 24px; right: 32px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none; border: none;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 48px;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: .9rem;
  font-weight: 600;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: all var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .instagram-slide { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 768px) {
  .site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .site-nav.open { display: flex; }
  .hamburger { display: flex; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card-wide { grid-template-columns: 1fr; }
  .post-card-wide .post-card-img { height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .newsletter-form input[type="email"] { border-radius: var(--radius); }
  .newsletter-form button { border-radius: var(--radius); }
  .hero-content { bottom: 32px; }
  .instagram-slide { flex: 0 0 calc(100% - 0px); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .header-inner { padding: 12px 16px; }
  .topbar { display: none; }
}
@media (max-width: 480px) {
  .posts-section { padding: 40px 0; }
  .posts-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .about-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   BRIDGE — class aliases from new templates
   ============================================================ */

/* Primary nav = site-nav bridge */
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav__list a {
  display: block;
  padding: 6px 14px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a { color: var(--rose); }
.primary-nav.is-open .primary-nav__list { display: flex; }

/* Hamburger active state */
.hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Sticky header states */
.site-header--scrolled { box-shadow: 0 2px 24px rgba(27,42,74,.12); }
.site-header--hidden { transform: translateY(-100%); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-toggle {
  background: none; border: none; cursor: pointer; color: var(--navy);
  padding: 6px; border-radius: 50%; transition: color var(--transition), background var(--transition);
}
.search-toggle:hover { color: var(--rose); background: var(--blush); }

/* Search overlay backdrop */
.search-overlay__backdrop {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 199;
}
.search-overlay__backdrop.is-visible { display: block; }

/* Content layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
}
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
}

/* ── Hero Banner ─────────────────────────────────────────────────── */
.hero-banner { position: relative; min-height: 520px; display: flex; align-items: flex-end; }
.hero-banner__bg {
  position: absolute; inset: 0;
  background: var(--navy) center/cover no-repeat;
}
.hero-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,42,74,.85) 0%, rgba(27,42,74,.2) 70%, transparent 100%);
}
.hero-banner__content {
  position: relative; z-index: 2;
  padding: 60px 24px;
  max-width: var(--max-width); margin: 0 auto; width: 100%;
}
.hero-banner__title {
  font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white); font-weight: 700; line-height: 1.2; margin: 12px 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero-banner__title a { color: inherit; }
.hero-banner__title a:hover { color: var(--blush); }
.hero-banner__meta { color: rgba(255,255,255,.8); font-size: .9rem; display: flex; gap: 8px; margin-bottom: 14px; }
.hero-banner__meta .sep { opacity: .6; }
.hero-banner__excerpt { color: rgba(255,255,255,.9); max-width: 580px; margin-bottom: 20px; }

/* ── Post Cards ──────────────────────────────────────────────────── */
.post-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--card-shadow); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(27,42,74,.12); }
.post-card__img-wrap { display: block; overflow: hidden; aspect-ratio: 3/2; }
.post-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__img-wrap img { transform: scale(1.04); }
.post-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.post-card__title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--rose); }
.post-card__meta { display: flex; gap: 8px; font-size: .8rem; color: var(--text-light); }
.post-card__excerpt { font-size: .9rem; color: var(--text-mid); flex: 1; }
.read-more { font-size: .85rem; font-weight: 700; color: var(--blue); letter-spacing: .04em; margin-top: auto; }
.read-more:hover { color: var(--rose); }

/* Wide card variant */
.post-card--wide { flex-direction: row; }
.post-card--wide .post-card__img-wrap { flex: 0 0 45%; aspect-ratio: auto; min-height: 260px; }
.post-card--wide .post-card__body { flex: 1; padding: 28px 28px 28px 28px; }
.post-card--wide .post-card__title { font-size: 1.4rem; }
.featured-post-wrap { margin-bottom: 48px; }

/* ── Section Heading ─────────────────────────────────────────────── */
.section-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); font-weight: 700; white-space: nowrap; }
.section-heading__line { flex: 1; height: 2px; background: linear-gradient(to right, var(--blush), transparent); }
.section-heading--center { flex-direction: column; text-align: center; }
.section-heading--center .section-heading__line { width: 60px; height: 3px; background: var(--rose); border-radius: 2px; flex: none; }
.section-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.section-sub { color: var(--text-mid); max-width: 540px; margin: 0 auto; }

/* ── Author Banner ───────────────────────────────────────────────── */
.author-banner {
  display: flex; align-items: center; gap: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, #2a4070 100%);
  border-radius: var(--radius); padding: 40px 48px; margin: 48px 0;
  color: var(--white);
}
.author-banner__avatar img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.3); flex-shrink: 0; }
.author-banner__label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.author-banner__name { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; margin: 4px 0 12px; }
.author-banner__bio { opacity: .85; max-width: 480px; margin-bottom: 20px; }
.author-banner__links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 50px;
  font-size: .9rem; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn--primary { background: var(--rose); color: var(--white); }
.btn--primary:hover { background: #bf6a52; color: var(--white); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--rose { background: var(--rose); color: var(--white); border-color: var(--rose); }
.btn--rose:hover { background: #bf6a52; color: var(--white); }

/* ── Instagram Slider ────────────────────────────────────────────── */
.instagram-section { margin: 56px 0; }
.instagram-section__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.instagram-section__title { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); font-weight: 700; display: flex; align-items: center; }
.ig-follow-link { font-size: .9rem; font-weight: 700; color: var(--rose); }
.ig-follow-link:hover { text-decoration: underline; }

.instagram-slider { position: relative; overflow: hidden; border-radius: var(--radius); padding: 0 40px; }
.instagram-slider__track {
  display: flex; gap: 20px;
  transition: transform .4s ease;
}
.ig-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
}
.ig-slide .instagram-media { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }

.ig-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--white); border: 2px solid var(--blush); border-radius: 50%;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; z-index: 10; color: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: background var(--transition), border-color var(--transition);
}
.ig-slider-btn:hover { background: var(--rose); border-color: var(--rose); color: var(--white); }
.ig-slider-btn:disabled { opacity: .3; cursor: not-allowed; }
.ig-slider-btn--prev { left: 0; }
.ig-slider-btn--next { right: 0; }

.ig-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.ig-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--warm-gray); border: none; cursor: pointer; padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.ig-dot--active { background: var(--rose); transform: scale(1.3); }

/* ── Newsletter CTA ──────────────────────────────────────────────── */
.newsletter-cta {
  background: linear-gradient(135deg, var(--blush) 0%, #e8c8ba 100%);
  border-radius: var(--radius); padding: 56px 48px; text-align: center; margin: 48px 0;
}
.newsletter-cta__eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.newsletter-cta__title { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy); font-weight: 700; margin: 8px 0 12px; }
.newsletter-cta__text { color: var(--text-mid); max-width: 480px; margin: 0 auto 24px; }
.newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; border-radius: 50px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.newsletter-form__input { flex: 1; padding: 14px 20px; border: none; outline: none; font-size: .95rem; background: var(--white); }
.newsletter-form__btn { padding: 14px 24px; background: var(--navy); color: var(--white); border: none; cursor: pointer; font-weight: 700; font-size: .9rem; white-space: nowrap; transition: background var(--transition); }
.newsletter-form__btn:hover { background: var(--rose); }
.newsletter-cta__note { font-size: .8rem; color: var(--text-light); margin-top: 12px; }

/* ── Single Post ─────────────────────────────────────────────────── */
.single-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; background: var(--navy); }
.single-hero__img { position: absolute; inset: 0; }
.single-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.single-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,42,74,.88) 0%, rgba(27,42,74,.3) 60%, transparent 100%); }
.single-hero--no-img { min-height: 200px; background: linear-gradient(135deg, var(--navy), #2a4070); }
.single-hero__content { position: relative; z-index: 2; padding: 48px 24px; width: 100%; max-width: var(--max-width); margin: 0 auto; }
.single-hero__title { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--white); font-weight: 700; line-height: 1.25; margin: 12px 0; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.single-hero__meta { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.8); font-size: .85rem; margin-top: 12px; }
.single-hero__avatar { border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.4); }
.single-hero__meta .sep { opacity: .5; }

.single-article { min-width: 0; }
.entry-content { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--font-head); color: var(--navy); margin: 2em 0 .8em; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content img { border-radius: var(--radius-sm); margin: 1.5em auto; }
.entry-content blockquote { border-left: 4px solid var(--rose); padding: 12px 24px; background: var(--blush); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 2em 0; font-style: italic; color: var(--navy); }
.entry-content a { color: var(--blue); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.entry-content li { margin-bottom: .5em; }

.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 32px 0; padding: 20px 0; border-top: 1px solid var(--warm-gray); }
.entry-tags__label { font-weight: 700; color: var(--text-mid); font-size: .85rem; }
.entry-tag { padding: 4px 12px; background: var(--blush); border-radius: 50px; font-size: .8rem; color: var(--navy); transition: background var(--transition); }
.entry-tag:hover { background: var(--rose); color: var(--white); }

/* ── Author Box ──────────────────────────────────────────────────── */
.author-box { display: flex; gap: 24px; background: var(--cream); border: 1px solid var(--warm-gray); border-radius: var(--radius); padding: 28px; margin: 40px 0; }
.author-box__avatar img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box__name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.author-box__role { font-size: .8rem; color: var(--rose); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.author-box__bio { font-size: .9rem; color: var(--text-mid); margin-bottom: 12px; }
.author-box__social { display: flex; gap: 16px; }
.author-box__social a { font-size: .85rem; font-weight: 700; color: var(--blue); }
.author-box__social a:hover { color: var(--rose); }

/* ── Post Navigation ─────────────────────────────────────────────── */
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }
.post-nav-link { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--card-shadow); border: 1px solid var(--warm-gray); transition: border-color var(--transition), transform var(--transition); }
.post-nav-link:hover { border-color: var(--rose); transform: translateY(-2px); }
.post-nav-link--next { text-align: right; }
.post-nav-link__dir { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); }
.post-nav-link__title { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--navy); line-height: 1.3; }

/* ── Related Posts ───────────────────────────────────────────────── */
.related-posts { margin: 48px 0; }
.posts-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ── Page Hero ───────────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; }
.page-hero__img { max-height: 360px; overflow: hidden; }
.page-hero__img img { width: 100%; height: 360px; object-fit: cover; }
.page-hero__overlay { position: absolute; inset: 0; background: rgba(27,42,74,.5); }
.page-hero__content { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 40px 0; }
.page-hero__title { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--white); font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.page-title { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2rem); color: var(--navy); font-weight: 700; padding: 40px 0 16px; border-bottom: 2px solid var(--blush); margin-bottom: 32px; }

/* ── About Page ──────────────────────────────────────────────────── */
.about-hero { position: relative; min-height: 480px; display: flex; align-items: flex-end; }
.about-hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #2a4070 50%, #3a3060 100%);
}
.about-hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.about-hero__content { position: relative; z-index: 2; padding: 80px 24px; width: 100%; max-width: var(--max-width); margin: 0 auto; }
.about-hero__eyebrow { font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blush); opacity: .9; }
.about-hero__name { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--white); font-weight: 700; line-height: 1.15; margin: 8px 0; }
.about-hero__subtitle { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 28px; }
.about-hero__social { display: flex; gap: 12px; flex-wrap: wrap; }
.about-social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 50px; font-size: .85rem; font-weight: 700; transition: transform var(--transition), opacity var(--transition); }
.about-social-btn:hover { transform: translateY(-2px); opacity: .85; }
.about-social-btn--ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: var(--white); }
.about-social-btn--tw { background: #000; color: var(--white); }
.about-social-btn--fb { background: #1877f2; color: var(--white); }

.about-story { padding: 80px 0; }
.about-story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-story__img-wrap { position: relative; }
.about-story__img { width: 100%; border-radius: var(--radius); box-shadow: 0 16px 48px rgba(27,42,74,.15); }
.about-story__img-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--rose); color: var(--white); border-radius: 50%;
  width: 100px; height: 100px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-size: .75rem; font-weight: 700;
  text-align: center; line-height: 1.4; box-shadow: 0 4px 16px rgba(212,130,106,.4);
}
.about-story__title { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy); font-weight: 700; margin: 8px 0 20px; }
.about-story__text p { color: var(--text-mid); margin-bottom: 1.2em; line-height: 1.8; }
.about-story__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge { padding: 6px 14px; background: var(--blush); border-radius: 50px; font-size: .8rem; font-weight: 700; color: var(--navy); }

.about-stats { padding: 60px 0; background: var(--navy); }
.about-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.about-stat__number { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--blush); line-height: 1; }
.about-stat__label { display: block; font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 8px; letter-spacing: .06em; text-transform: uppercase; }

.about-topics { padding: 80px 0; }
.about-topics__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.about-topic-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--card-shadow); transition: transform var(--transition), box-shadow var(--transition); }
.about-topic-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,42,74,.12); }
.about-topic-card__icon { font-size: 2rem; margin-bottom: 12px; }
.about-topic-card h3 { font-family: var(--font-head); font-size: 1.1rem; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.about-topic-card p { font-size: .9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.topic-card-link { font-size: .85rem; font-weight: 700; color: var(--rose); }
.topic-card-link:hover { text-decoration: underline; }
.about-topic-card--ig { background: linear-gradient(135deg, var(--blush), #f5e8df); }

.about-communities { padding: 60px 0; background: var(--cream); border-top: 1px solid var(--warm-gray); border-bottom: 1px solid var(--warm-gray); }
.communities-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 36px; }
.community-badge { text-align: center; padding: 24px 36px; background: var(--white); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.community-badge__name { display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.community-badge__role { display: block; font-size: .8rem; color: var(--rose); font-weight: 700; margin-top: 4px; }

.about-instagram { padding: 80px 0; }

.about-contact { padding: 80px 0; background: var(--navy); }
.about-contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-contact__text .section-eyebrow { color: var(--blush); }
.about-contact__text h2 { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--white); font-weight: 700; margin: 8px 0 16px; }
.about-contact__text p { color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 20px; }
.about-contact__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.about-contact__list li { color: rgba(255,255,255,.8); font-size: .95rem; }
.about-contact__cta { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 40px; text-align: center; }
.about-contact__cta h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--white); font-weight: 700; margin-bottom: 12px; }
.about-contact__cta p { color: rgba(255,255,255,.7); margin-bottom: 24px; }
.about-contact__social-row { display: flex; justify-content: center; gap: 12px; align-items: center; margin-top: 16px; }
.about-contact__social-row a { color: rgba(255,255,255,.7); font-size: .85rem; }
.about-contact__social-row a:hover { color: var(--blush); }
.about-contact__social-row span { color: rgba(255,255,255,.3); }

/* ── Sidebar ─────────────────────────────────────────────────────── */
.blog-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 32px; }
.blog-sidebar .widget { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--card-shadow); }
.blog-sidebar .widget-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--blush); }

.sidebar-about { text-align: center; }
.sidebar-about__avatar img { border-radius: 50%; width: 90px; height: 90px; object-fit: cover; margin: 0 auto 12px; border: 3px solid var(--blush); }
.sidebar-about__name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); }
.sidebar-about__role { font-size: .75rem; color: var(--rose); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.sidebar-about__bio { font-size: .85rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 12px; }
.sidebar-about__link { font-size: .85rem; font-weight: 700; color: var(--blue); }
.sidebar-about__link:hover { color: var(--rose); }

.popular-posts { display: flex; flex-direction: column; gap: 14px; }
.popular-post { display: flex; gap: 12px; align-items: flex-start; }
.popular-post__img { flex-shrink: 0; width: 65px; height: 65px; border-radius: var(--radius-sm); overflow: hidden; }
.popular-post__img img { width: 100%; height: 100%; object-fit: cover; }
.popular-post__title { font-size: .875rem; font-weight: 700; color: var(--navy); line-height: 1.3; display: block; margin-bottom: 4px; }
.popular-post__title:hover { color: var(--rose); }
.popular-post__date { font-size: .75rem; color: var(--text-light); }

.sidebar-cats { display: flex; flex-direction: column; gap: 4px; }
.sidebar-cats li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: var(--radius-sm); font-size: .875rem; color: var(--text); transition: background var(--transition), color var(--transition); }
.sidebar-cats li a:hover { background: var(--blush); color: var(--navy); }
.cat-count { font-size: .75rem; background: var(--warm-gray); border-radius: 50px; padding: 1px 8px; color: var(--text-light); }

.sidebar-instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 14px; }
.sidebar-ig-item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); }
.sidebar-ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sidebar-ig-item:hover img { transform: scale(1.08); }
.ig-follow-btn { display: block; text-align: center; padding: 10px; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: var(--white); border-radius: var(--radius-sm); font-size: .85rem; font-weight: 700; }
.ig-follow-btn:hover { opacity: .9; color: var(--white); }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer-widgets { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 64px 0 48px; }
.footer-brand__name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 12px; }
.footer-brand__bio { font-size: .875rem; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); transition: background var(--transition); }
.footer-social a:hover { background: var(--rose); color: var(--white); }
.footer-col .widget-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { font-size: .875rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links li a:hover { color: var(--blush); }
.footer-newsletter-text { font-size: .875rem; color: rgba(255,255,255,.65); margin-bottom: 12px; }
.footer-subscribe { display: flex; flex-direction: column; gap: 8px; }
.footer-subscribe input { padding: 10px 14px; border-radius: var(--radius-sm); border: none; font-size: .875rem; background: rgba(255,255,255,.1); color: var(--white); outline: 1px solid rgba(255,255,255,.2); }
.footer-subscribe input::placeholder { color: rgba(255,255,255,.4); }
.footer-subscribe button { padding: 10px; background: var(--rose); color: var(--white); border: none; border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; transition: background var(--transition); }
.footer-subscribe button:hover { background: #bf6a52; }

.footer-bottom { background: rgba(0,0,0,.15); }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.footer-copy, .footer-powered { font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-powered a { color: rgba(255,255,255,.5); }
.footer-powered span { color: var(--rose); }

/* ── Archive Hero ────────────────────────────────────────────────── */
.archive-hero { background: linear-gradient(135deg, var(--navy), #2a4070); padding: 56px 0; }
.archive-hero__title { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--white); font-weight: 700; }
.archive-hero__desc { color: rgba(255,255,255,.75); margin-top: 8px; }
.archive-header { padding: 40px 0 0; }
.archive-title { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.archive-desc { color: var(--text-mid); }

/* ── Post Category Pills ─────────────────────────────────────────── */
.post-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-pill {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--blush); color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.cat-pill:hover, .cat-pill--active { background: var(--rose); color: var(--white); }

/* ── Pagination ──────────────────────────────────────────────────── */
.pagination { margin: 48px 0; }
.pagination ul { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination ul li a,
.pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: .9rem; font-weight: 700; color: var(--navy);
  background: var(--white); border: 2px solid var(--warm-gray);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.pagination ul li span.current { background: var(--rose); color: var(--white); border-color: var(--rose); }
.pagination ul li a:hover { background: var(--blush); border-color: var(--rose); }

/* ── No Results ──────────────────────────────────────────────────── */
.no-results { text-align: center; padding: 80px 24px; }
.no-results h2 { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); margin-bottom: 12px; }
.no-results p { color: var(--text-mid); margin-bottom: 24px; }

/* ── Back to Top ─────────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 100;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--rose); color: var(--white); border: none;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(212,130,106,.5);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: #bf6a52; }

/* ── Reading time / meta ─────────────────────────────────────────── */
.reading-time { color: var(--text-light); font-size: .8rem; }

/* ── Responsive overrides for new components ─────────────────────── */
@media (max-width: 1024px) {
  .content-with-sidebar, .single-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .about-story__inner, .about-contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .about-topics__grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: 1fr 1fr; gap: 32px; }
  .post-card--wide { flex-direction: column; }
  .post-card--wide .post-card__img-wrap { flex: none; min-height: 220px; }
  .ig-slide { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 768px) {
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 16px; z-index: 200; }
  .primary-nav.is-open { display: block; }
  .primary-nav__list { flex-direction: column; gap: 0; }
  .primary-nav__list a { padding: 12px 16px; border-bottom: 1px solid var(--warm-gray); }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about-topics__grid { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; }
  .newsletter-cta { padding: 40px 24px; }
  .author-banner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .ig-slide { flex: 0 0 calc(100% - 0px); }
  .post-navigation { grid-template-columns: 1fr; }
  .about-story__img-badge { right: 0; bottom: -16px; width: 80px; height: 80px; font-size: .65rem; }
  .communities-row { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .about-stats__grid { grid-template-columns: 1fr 1fr; }
  .hero-banner { min-height: 380px; }
  .back-to-top { bottom: 20px; right: 20px; }
  .instagram-slider { padding: 0 32px; }
}

/* ============================================================
   HEADER LAYOUT FIX — site-header__inner alias + logo
   ============================================================ */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  gap: 20px;
  min-height: 66px;
  box-sizing: border-box;
}

/* Logo — never shrinks, always left-aligned */
.site-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}
.site-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.site-logo a:hover { color: inherit; }
.site-logo img,
.site-logo .custom-logo {
  height: 72px !important;
  width: auto !important;
  max-width: 340px;
  object-fit: contain;
  display: block;
}
.site-logo__text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  white-space: nowrap;
}
.site-logo__tagline {
  display: block;
  font-size: .65rem;
  color: var(--text-light);
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Primary nav — fills remaining space, right-aligned */
.primary-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}
.primary-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;          /* keep on one line — hamburger kicks in at 900px */
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.primary-nav__list > li > a {
  display: block;
  padding: 7px 11px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.primary-nav__list > li > a:hover,
.primary-nav__list > .current-menu-item > a,
.primary-nav__list > .current-menu-ancestor > a {
  color: var(--rose);
  background: var(--blush);
}

/* Header actions */
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Topbar */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  padding: 6px 0;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar__tagline { letter-spacing: .05em; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social a { color: rgba(255,255,255,.75); transition: color var(--transition); }
.topbar__social a:hover { color: var(--blush); }

/* Responsive header */
@media (max-width: 900px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 32px rgba(27,42,74,.15);
    padding: 16px 24px;
    z-index: 500;
    flex: none;
    width: 100%;
    justify-content: flex-start;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav__list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .primary-nav__list > li > a {
    padding: 13px 16px;
    border-bottom: 1px solid var(--warm-gray);
    font-size: .9rem;
  }
  .primary-nav__list > li:last-child > a { border-bottom: none; }
  .hamburger { display: flex; }
  .site-header { position: sticky; }  /* keep sticky even on mobile */
}
@media (max-width: 600px) {
  .topbar { display: none; }
  .site-logo img, .site-logo .custom-logo { height: 44px !important; }
}

/* ============================================================
   FEATURED SLIDER — luxury hero
   ============================================================ */
.featured-slider {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: var(--navy);
}

.featured-slider__track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  transition: transform .85s cubic-bezier(.77,0,.175,1);
  will-change: transform;
}

/* Individual slide — flex: none is critical to prevent shrinking */
.featured-slide {
  position: relative;
  flex: none;            /* equivalent to flex: 0 0 auto — never shrink/grow */
  width: 100%;           /* fill one slider-width */
  min-width: 100vw;      /* belt-and-suspenders: never narrower than viewport */
  height: 100%;
  min-height: 560px;     /* matches slider min-height so height:100% always resolves */
  overflow: hidden;
}

/* Background with Ken Burns */
.featured-slide__bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.08);
  transition: transform 8s ease;
  will-change: transform;
}
.featured-slide.is-active .featured-slide__bg {
  transform: scale(1);
}

/* Gradient overlay */
.featured-slide__overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(
    180deg,
    rgba(27,42,74,.10) 0%,
    rgba(27,42,74,.20) 30%,
    rgba(27,42,74,.68) 65%,
    rgba(27,42,74,.90) 100%
  );
}

/* Content area */
.featured-slide__content {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}
.featured-slide__inner {
  width: 100%;
  max-width: 760px;
  padding: 0 24px;
}

/* Category pills on slider */
.featured-slide__content .cat-pills { margin-bottom: 18px; }
.featured-slide__content .cat-pill {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .08em;
  border-radius: 3px;
  padding: 5px 12px;
}

/* Slide title */
.featured-slide__title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.featured-slide__title a { color: inherit; }
.featured-slide__title a:hover { color: var(--gold-light); }

/* Meta row */
.featured-slide__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  letter-spacing: .03em;
  margin-bottom: 14px;
}
.featured-slide__meta .fs-sep { opacity: .5; }
.featured-slide__meta .fs-read::before {
  content: '⏱ ';
  opacity: .8;
}

/* Excerpt */
.featured-slide__excerpt {
  color: rgba(255,255,255,.82);
  font-size: .97rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 560px;
}

/* Read Article button */
.featured-slide__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 3px;
  transition: background var(--transition), color var(--transition);
}
.featured-slide__btn:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── Prev / Next arrows ──────────────────────────────── */
.fs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px);
}
.fs-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.fs-arrow--prev { left: 28px; }
.fs-arrow--next { right: 28px; }

/* ── Slide counter ─────────────────────────────────── */
.fs-counter {
  position: absolute;
  bottom: 30px;
  right: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.65);
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .08em;
  z-index: 20;
}
.fs-counter__current {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.fs-counter__sep { margin: 0 2px; }

/* ── Dot navigation ────────────────────────────────── */
.fs-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.fs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition), width var(--transition);
}
.fs-dot--active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* Responsive slider */
@media (max-width: 768px) {
  .featured-slider { height: 80vh; min-height: 420px; }
  .featured-slide__content { padding-bottom: 70px; }
  .fs-arrow { width: 40px; height: 40px; }
  .fs-arrow--prev { left: 14px; }
  .fs-arrow--next { right: 14px; }
  .fs-counter { display: none; }
}
@media (max-width: 480px) {
  .featured-slider { height: 72vh; min-height: 360px; }
  .featured-slide__content { padding-bottom: 64px; }
  .featured-slide__inner { max-height: calc(72vh - 80px); overflow: hidden; }
  /* hide category pills inside slider — they're in the strip below */
  .featured-slide__content .cat-pills,
  .featured-slide__content .cat-pill { display: none !important; }
  .featured-slide__title { font-size: 1.35rem; margin-bottom: 8px; line-height: 1.25; }
  .featured-slide__meta  { margin-bottom: 10px; font-size: .78rem; }
  .featured-slide__excerpt { display: none; }
  .featured-slide__btn { padding: 9px 16px; font-size: .73rem; }

  /* Dots — bigger tap target, centred near bottom */
  .fs-dots {
    bottom: 18px;
    gap: 8px;
  }
  .fs-dot {
    width: 8px; height: 8px;   /* slightly larger */
    /* invisible padding = bigger tap area without layout change */
    padding: 6px;
    margin: -6px;
    box-sizing: content-box;
  }
  .fs-dot--active { width: 22px; border-radius: 4px; }

  /* Arrows — bigger tap target, stay inside the slide */
  .fs-arrow {
    width: 40px; height: 40px;
    font-size: .95rem;
    background: rgba(27,42,74,.55);
    border-color: rgba(255,255,255,.25);
    color: var(--white);
  }
  .fs-arrow:hover,
  .fs-arrow:active {
    background: rgba(201,169,110,.85);
    border-color: transparent;
    color: var(--navy);
  }
  .fs-arrow--prev { left: 10px; }
  .fs-arrow--next { right: 10px; }
}

/* ============================================================
   NEW COMPONENTS — home page (no conflicts with earlier styles)
   ============================================================ */

/* Section heading with gold rule — NEW element in home.php */
.section-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}
.section-heading h2 {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.section-heading__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  opacity: .5;
}

/* Gold hover glow on post cards — lightweight addition only */
.post-card:hover {
  box-shadow: 0 12px 40px rgba(201,169,110,.18);
}

/* Author banner — home.php uses BEM classes, original uses flat classes */
.author-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin: 56px 0;
  box-shadow: var(--card-shadow);
}
.author-banner__avatar img {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.author-banner__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.author-banner__name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.author-banner__bio {
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.author-banner__links { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .author-banner { flex-direction: column; text-align: center; padding: 28px 20px; gap: 20px; }
  .author-banner__links { justify-content: center; }
}

/* Buttons — used in author banner and about page */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--rose {
  background: var(--rose);
  border: 1.5px solid var(--rose);
  color: var(--white);
}
.btn--rose:hover { background: #c0725a; border-color: #c0725a; color: var(--white); }
.btn--gold {
  background: var(--gold);
  border: 1.5px solid var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: #b8934a; border-color: #b8934a; }

/* Newsletter CTA — dark navy panel in home.php (NEW class, not .newsletter-section) */
.newsletter-cta {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(201,169,110,.08);
}
.newsletter-cta::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(201,169,110,.06);
}
.newsletter-cta__eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.newsletter-cta__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 14px;
}
.newsletter-cta__text {
  color: rgba(255,255,255,.72);
  font-size: .97rem;
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
/* newsletter-cta uses its own form with BEM classes — won't conflict with .newsletter-form */
.newsletter-cta .newsletter-form {
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  box-shadow: none;
  margin-bottom: 14px;
}
.newsletter-cta .newsletter-form input[type="email"] {
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.newsletter-cta .newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.45); }
.newsletter-cta .newsletter-form button {
  background: var(--gold);
  color: var(--navy);
  font-size: .82rem;
  letter-spacing: .08em;
}
.newsletter-cta .newsletter-form button:hover { background: #b8934a; }
.newsletter-cta__note {
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .newsletter-cta { padding: 40px 20px; }
  .newsletter-cta .newsletter-form { flex-direction: column; border-radius: 8px; }
  .newsletter-cta .newsletter-form button { border-radius: 0 0 6px 6px; }
}

/* Category strip — override original to make it horizontal scroll + sticky */
.category-strip {
  padding: 12px 0;
  position: sticky;
  top: 72px;
  z-index: 90;
}
.category-strip .container,
.category-strip__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-start;
  padding-bottom: 2px;
}
.category-strip .container::-webkit-scrollbar,
.category-strip__inner::-webkit-scrollbar { display: none; }
/* gold active state on cat pills */
.cat-pill--active,
.cat-pill.active {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--navy) !important;
}

/* Instagram section header — new layout elements */
.instagram-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.instagram-section__title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
  display: flex;
  align-items: center;
}
.ig-follow-link {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--gold);
  text-transform: uppercase;
}
.ig-follow-link:hover { color: var(--rose); }

/* Instagram slider — override existing to add wrap + track structure */
.instagram-slider {
  position: relative;
  overflow: hidden;
}
.instagram-slider__track {
  display: flex;
  gap: 16px;
  transition: transform .5s cubic-bezier(.77,0,.175,1);
}
.ig-slide {
  min-width: calc((100% - 32px) / 3);
}
@media (max-width: 1024px) { .ig-slide { min-width: calc((100% - 16px) / 2); } }
@media (max-width: 600px)  { .ig-slide { min-width: 100%; } }

.ig-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--card-shadow);
  z-index: 10;
  transition: background var(--transition), color var(--transition);
}
.ig-slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.ig-slider-btn--prev { left: -20px; }
.ig-slider-btn--next { right: -20px; }

.ig-dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.ig-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--warm-gray);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}
.ig-dot--active { background: var(--gold); }

/* ============================================================
   ABOUT PAGE — supplementary fixes
   ============================================================ */

/* Hero: add a subtle radial highlight so it doesn't look flat */
.about-hero__bg {
  background: radial-gradient(ellipse at 30% 50%, #2c4a80 0%, var(--navy) 60%);
}

/* section-heading centred variant (used on About topics, communities, Instagram) */
.section-heading--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.section-heading--center .section-heading__line {
  width: 60px;
}

/* About contact CTA — btn--gold needs white text on gold bg to stay legible */
.about-contact__cta .btn--gold {
  border-color: var(--gold);
}
.about-contact__cta .btn--gold:hover {
  background: #b8934a;
  border-color: #b8934a;
}

/* Instagram slider on About — give it breathing room from surrounding sections */
.about-instagram .instagram-slider {
  padding: 0 28px;
}
@media (max-width: 600px) {
  .about-instagram .instagram-slider {
    padding: 0 20px;
  }
  .about-instagram .ig-slider-btn--prev { left: -10px; }
  .about-instagram .ig-slider-btn--next { right: -10px; }
}

/* About story image — ensure it doesn't overflow on small screens */
@media (max-width: 480px) {
  .about-story__img-badge { display: none; }   /* badge overlaps on tiny screens */
  .about-contact__inner { gap: 32px; }
  .about-topics__grid { grid-template-columns: 1fr; }
  .about-hero__content { padding: 60px 20px; }
  .about-hero__name { font-size: clamp(1.8rem, 7vw, 2.8rem); }
}

/* Work-with-me contact list inside the dark contact section */
.about-contact__list {
  padding-left: 0;
}
.about-contact__list li {
  list-style: none;
}

/* Ensure btn--gold in the about-contact CTA box is centred */
.about-contact__cta { display: flex; flex-direction: column; align-items: center; }
.about-contact__cta h3,
.about-contact__cta p { text-align: center; }
