/* ============================================================
   ARMAGHAN AI THEME — MAIN STYLESHEET
   ============================================================ */

/* ── CSS VARIABLES ────────────────────────────────────────── */
:root {
  --bg:           #0c0e14;
  --surface:      #13161f;
  --card:         #181c28;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(201,168,76,0.4);
  --gold:         #c9a84c;
  --gold-light:   #e6c97a;
  --text:         #e8e4dc;
  --muted:        #7a7d8a;
  --accent:       #4a7fa5;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --max-w:        1200px;
  --radius:       4px;
  --transition:   0.25s ease;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── BASE ─────────────────────────────────────────────────── */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.3;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT HELPERS ───────────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #0c0e14;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color var(--transition), transform var(--transition);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ── NAV ──────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: linear-gradient(to bottom, rgba(12,14,20,0.97) 0%, rgba(12,14,20,0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  flex-shrink: 0;
}

.nav-menu-wrap {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.nav-linkedin {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
}
.nav-linkedin:hover { color: var(--gold); border-color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(74,127,165,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 15% 80%, rgba(201,168,76,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeUp 0.6s ease both;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

/* ── PROFILE CARD ─────────────────────────────────────────── */
.profile-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s 0.2s ease both;
}
.profile-card-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin: 0 auto 1.25rem;
  filter: grayscale(15%);
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.profile-title {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.profile-bio {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(74,127,165,0.12);
  border: 1px solid rgba(74,127,165,0.25);
  color: var(--accent);
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.profile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.82rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), color var(--transition);
}
.profile-link:hover { border-color: var(--gold); color: var(--gold); }

/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.stats-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── SECTION HEADERS ──────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
}
.section-link {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}
.section-link:hover { opacity: 0.7; }

/* ── MAIN / POSTS AREA ────────────────────────────────────── */
.site-main {
  padding: 5rem 0;
}

/* ── FEATURED POST ────────────────────────────────────────── */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: border-color var(--transition);
}
.featured-post:hover { border-color: var(--border-hover); }

.featured-post-link {
  display: contents;
}

.featured-post-image {
  background: linear-gradient(135deg, #1a2035 0%, #0f1520 100%);
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.featured-post-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.featured-post:hover .featured-post-image img {
  transform: scale(1.03);
  opacity: 0.75;
}
.featured-post-image-fallback {
  font-size: 5rem;
  opacity: 0.15;
  z-index: 1;
}

.featured-badge {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  background: var(--gold);
  color: #0c0e14;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  z-index: 2;
}

.featured-post-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-category {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.post-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 1rem;
}

.post-excerpt {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.post-meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: auto;
  transition: gap var(--transition);
}
.read-more::after { content: '→'; }
.featured-post:hover .read-more { gap: 0.75rem; }

/* ── POST GRID ────────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}
.post-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.post-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-thumb {
  background: linear-gradient(135deg, #1a2035 0%, #0f1520 100%);
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.post-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-emoji { font-size: 2.5rem; opacity: 0.3; z-index: 1; }
.post-card-thumb-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.post-card:hover .post-card-thumb-bar { transform: scaleX(1); }

.post-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card-cat {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.post-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 0.75rem;
  flex: 1;
}
.post-card-excerpt {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.post-card-meta {
  font-size: 0.72rem;
  color: var(--muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ── PAGINATION ───────────────────────────────────────────── */
.posts-pagination {
  margin-top: 3rem;
  text-align: center;
}
.posts-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--muted);
  transition: border-color var(--transition), color var(--transition);
}
.posts-pagination .page-numbers:hover,
.posts-pagination .page-numbers.current {
  border-color: var(--gold);
  color: var(--gold);
}
.posts-pagination .prev,
.posts-pagination .next { width: auto; padding: 0 1rem; }

/* ── NO POSTS ─────────────────────────────────────────────── */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
}

/* ── JOURNEY SECTION ──────────────────────────────────────── */
.journey-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.journey-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.journey-text h2 em { font-style: italic; color: var(--gold-light); }
.journey-text p { color: var(--muted); font-size: 0.95rem; line-height: 1.85; margin-bottom: 1rem; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}
.timeline-item:not(.last)::before {
  content: '';
  position: absolute;
  left: 19px; top: 42px; bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}
.timeline-year {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.timeline-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── SINGLE POST ──────────────────────────────────────────── */
.single-post { padding: 8rem 0 5rem; }
.single-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.back-link:hover { color: var(--gold); }

.single-header { margin-bottom: 2.5rem; }
.single-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  margin-top: 0.75rem;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.single-featured-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid var(--border);
}
.single-featured-image img { width: 100%; }

.single-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.single-content h2 { font-size: 1.65rem; margin: 2.5rem 0 1rem; color: var(--text); }
.single-content h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--text); }
.single-content p { margin-bottom: 1.5rem; color: rgba(232,228,220,0.85); }
.single-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.single-content a:hover { color: var(--gold-light); }
.single-content ul, .single-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.single-content li { margin-bottom: 0.5rem; color: rgba(232,228,220,0.85); }
.single-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  color: var(--muted);
  font-style: italic;
}
.single-content pre {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}
.single-content code {
  font-size: 0.88em;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.15em 0.4em;
  border-radius: 2px;
}
.single-content pre code { border: none; background: none; padding: 0; }
.single-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.single-content strong { font-weight: 500; color: var(--text); }

.single-footer { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.post-navigation { display: flex; gap: 1.5rem; }
.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition);
}
.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover { border-color: var(--border-hover); }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.nav-title { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text); }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
}
.footer-text { font-size: 0.8rem; color: var(--muted); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── WORDPRESS ADMIN BAR OFFSET ───────────────────────────── */
.admin-bar .site-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-nav {
    top: 46px;
  }
}

/* ── STATS — always visible, no fade-in needed ────────────── */
.stats-bar,
.stats-inner,
.stat,
.stat-number,
.stat-label {
  opacity: 1 !important;
  transform: none !important;
}

/* ── SOCIAL SHARE BUTTONS — restyle to match dark theme ──── */
.sharedaddy,
.sd-sharing-enabled,
.sd-block,
[class*="share-"],
[class*="sharing-"] {
  margin: 2rem 0 !important;
}
/* Hide the garish coloured default buttons */
.sd-content ul li a,
.sd-content ul li a.share-facebook,
.sd-content ul li a.share-twitter,
.sd-content ul li a.share-pinterest,
.sd-content ul li a.share-linkedin,
[class*="share-button"],
.sharedaddy .sd-content ul li a {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  padding: 0.4rem 0.9rem !important;
  font-size: 0.78rem !important;
  font-family: var(--font-body) !important;
  transition: border-color 0.2s, color 0.2s !important;
}
.sharedaddy .sd-content ul li a:hover,
[class*="share-button"]:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: var(--card) !important;
}
/* Hide share counts / labels that look out of place */
.sd-content .share-count,
.sd-content .sd-social-text,
.sharedaddy h3.sd-title {
  display: none !important;
}

/* ── TIGHTEN GAP when only featured post (no grid) ────────── */
.site-main {
  padding-bottom: 0;
}
.site-main + .journey-section {
  margin-top: 0;
}

/* ── "MORE POSTS COMING" nudge ────────────────────────────── */
.coming-soon-nudge {
  text-align: center;
  padding: 2.5rem 2rem;
  color: var(--muted);
  font-size: 0.88rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.coming-soon-nudge span {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}


@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-aside { max-width: 400px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-image { min-height: 240px; }
}

@media (max-width: 800px) {
  .journey-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-menu-wrap {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 490;
  }
  .nav-menu-wrap.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: center; }
  .nav-links a { font-size: 1.25rem; }
  .nav-toggle { display: flex; z-index: 510; position: relative; }

  .hero { padding: 7rem 2rem 4rem; }
  .hero-title { font-size: 2.4rem; }
  .post-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 1.5rem; }
  .stats-divider { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
}

/* ── Fade-in animation (JS-driven via classes) ─────────────── */
.fade-in-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in-ready.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}
