/*
 * TTYM – Time To Transform Your Mind
 * assets/css/style.css
 * ─────────────────────────────────────────────────────────────────────────────
 * Design Philosophy: "Kingdom Authority"
 *   - Deep Navy (#0D1B4B) + Gold (#C9A84C) + White
 *   - Playfair Display for headings (authority, gravitas)
 *   - Lato for body (clarity, readability)
 *   - Asymmetric layouts, generous whitespace, subtle depth
 *   - Smooth transitions, no jarring animations
 * ─────────────────────────────────────────────────────────────────────────────
 */

/* ── CSS Custom Properties ──────────────────────────────────────────────────── */
:root {
  --navy:        #0D1B4B;
  --navy-mid:    #162259;
  --navy-light:  #1E3070;
  --gold:        #C9A84C;
  --gold-light:  #E2C06A;
  --gold-dark:   #A8882E;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --light-gray:  #EFEFEF;
  --mid-gray:    #9AA0B0;
  --dark-gray:   #3A3F52;
  --text-body:   #2C2F3E;
  --text-muted:  #6B7280;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm:   0 2px 8px rgba(13,27,75,.10);
  --shadow-md:   0 6px 24px rgba(13,27,75,.15);
  --shadow-lg:   0 16px 48px rgba(13,27,75,.20);

  --radius:      6px;
  --radius-lg:   12px;
  --transition:  0.25s cubic-bezier(0.23,1,0.32,1);

  --header-h:    80px;
  --announce-h:  38px;
}

/* ── Reset / Base ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── Typography ──────────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1.1rem; }
blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--off-white);
  font-style: italic;
  color: var(--navy-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── Layout helpers ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.section { padding-block: clamp(3rem, 6vw, 6rem); }
.section-alt { background: var(--off-white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h1,.section-navy h2,.section-navy h3 { color: var(--white); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* ── Section headings ────────────────────────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading .overline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.section-heading h2 { margin-bottom: .75rem; }
.section-heading .divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: .75rem auto 0;
  border-radius: 2px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--white); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }

/* ── Announcement bar ────────────────────────────────────────────────────────── */
.announcement-bar {
  background: var(--navy);
  color: var(--gold-light);
  text-align: center;
  padding: .55rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  position: relative;
  z-index: 200;
}
.announcement-bar a { color: var(--gold-light); text-decoration: underline; }
.announcement-bar a:hover { color: var(--white); }

/* ── Site header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img { width: 56px; height: 56px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-title {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.logo-tagline {
  font-size: .65rem;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Primary nav ─────────────────────────────────────────────────────────────── */
.primary-nav .nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  padding: .45rem .75rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: .02em;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-dark);
  background: rgba(201,168,76,.08);
}
.nav-cta { margin-left: .5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: .5rem;
  flex-direction: column;
  gap: 5px;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
  content: '';
  position: relative;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 5px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: rotate(-45deg); top: -2px; }

/* ── Hero section ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a2f7a 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504052434569-70ad5836ab65?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-block: 6rem;
}
.hero-overline {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--gold-light); }
.hero-sub {
  color: rgba(255,255,255,.82);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-verse {
  font-style: italic;
  color: var(--gold-light);
  font-size: .9rem;
  margin-bottom: 2.5rem;
  opacity: .9;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Post / article cards ────────────────────────────────────────────────────── */
.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.post-card-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
}
.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-card-meta {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .6rem;
  display: flex; gap: .75rem; flex-wrap: wrap;
}
.post-card-meta .cat {
  background: rgba(201,168,76,.12);
  color: var(--gold-dark);
  padding: .15rem .55rem;
  border-radius: 20px;
  font-weight: 700;
}
.post-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--gold-dark); }
.post-card p { font-size: .9rem; color: var(--text-muted); flex: 1; }
.post-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--light-gray);
  display: flex; justify-content: space-between; align-items: center;
}
.read-more {
  font-size: .85rem; font-weight: 700;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: .35rem;
}
.read-more:hover { color: var(--gold-dark); }
.read-more::after { content: '→'; transition: transform var(--transition); }
.read-more:hover::after { transform: translateX(4px); }

/* ── Blog listing page ───────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.blog-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  color: var(--navy);
}
.sidebar-widget ul li { margin-bottom: .5rem; }
.sidebar-widget ul li a { font-size: .9rem; color: var(--text-body); }
.sidebar-widget ul li a:hover { color: var(--gold-dark); }

/* ── Single blog post ────────────────────────────────────────────────────────── */
.post-hero-img {
  width: 100%; max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
.post-content { max-width: 760px; }
.post-content h2,.post-content h3 { margin-top: 2rem; margin-bottom: .75rem; }
.post-content p { font-size: 1.05rem; line-height: 1.85; }
.post-content ul,.post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.post-content li { margin-bottom: .4rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.tag {
  background: rgba(13,27,75,.07);
  color: var(--navy);
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
}

/* ── Forms ───────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-body);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,27,75,.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input-row { display: flex; gap: .5rem; }
.input-row input { flex: 1; }
.form-msg {
  margin-top: .75rem;
  font-size: .88rem;
  font-weight: 700;
  padding: .5rem .75rem;
  border-radius: var(--radius);
  display: none;
}
.form-msg.success { background: #d4edda; color: #155724; display: block; }
.form-msg.error   { background: #f8d7da; color: #721c24; display: block; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; overflow: hidden; }

/* ── Contact page ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); }
.contact-info .info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-info .info-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* ── Services / Healing page ─────────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: .75rem; }

/* ── Resources page ──────────────────────────────────────────────────────────── */
.resource-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.resource-card:hover { transform: translateY(-3px); }
.resource-card img { width: 80px; height: 80px; object-fit: contain; border-radius: var(--radius); flex-shrink: 0; }
.resource-card h4 { margin-bottom: .4rem; }
.resource-card p { font-size: .9rem; color: var(--text-muted); }

/* ── In the News ─────────────────────────────────────────────────────────────── */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.news-card:hover { transform: translateY(-4px); }
.news-card-body { padding: 1.5rem; }
.news-source {
  font-size: .78rem; font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}

/* ── Podcast section ─────────────────────────────────────────────────────────── */
.podcast-embed {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}
.podcast-embed h3 { color: var(--gold-light); margin-bottom: 1rem; }
.podcast-embed iframe { border-radius: var(--radius); }

/* ── CTA banner ──────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2rem; }

/* ── Healing challenge banner ────────────────────────────────────────────────── */
.healing-banner {
  background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;
}
.healing-banner img { width: 120px; border-radius: var(--radius); flex-shrink: 0; }
.healing-banner h3 { color: var(--gold-light); margin-bottom: .5rem; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding-top: 4rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand img { margin-bottom: 1rem; }
.footer-tagline { font-size: .9rem; color: var(--gold-light); font-weight: 700; margin-bottom: .75rem; }
.footer-verse { font-style: italic; font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(201,168,76,.3);
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-subscribe p { font-size: .88rem; margin-bottom: 1rem; }
.footer-form .input-row { margin-top: .5rem; }
.footer-form input[type="email"] {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  font-size: .9rem;
  width: 100%;
}
.footer-form input[type="email"]::placeholder { color: rgba(255,255,255,.45); }
.footer-form input[type="email"]:focus { outline: none; border-color: var(--gold); }
.social-links { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal { margin-top: .35rem; }

/* ── Admin styles ────────────────────────────────────────────────────────────── */
.admin-body { background: #F0F2F5; font-family: var(--font-body); }
.admin-sidebar {
  width: 240px; min-height: 100vh;
  background: var(--navy);
  position: fixed; top: 0; left: 0;
  padding: 1.5rem 0;
  z-index: 50;
}
.admin-sidebar .brand {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1rem;
}
.admin-sidebar .brand img { width: 44px; margin-bottom: .5rem; }
.admin-sidebar .brand span { display: block; color: var(--gold-light); font-size: .78rem; font-weight: 700; }
.admin-nav a {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1.5rem;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,.08);
  color: var(--gold-light);
}
.admin-nav a i { width: 18px; text-align: center; }
.admin-main { margin-left: 240px; padding: 2rem; }
.admin-topbar {
  background: var(--white);
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 1rem;
}
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-icon.navy { background: rgba(13,27,75,.1); color: var(--navy); }
.stat-icon.gold  { background: rgba(201,168,76,.15); color: var(--gold-dark); }
.stat-icon.green { background: rgba(25,135,84,.12); color: #198754; }
.stat-icon.red   { background: rgba(220,53,69,.1);  color: #dc3545; }
.stat-val { font-size: 1.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-lbl { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--off-white);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.admin-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--light-gray); font-size: .9rem; }
.admin-table tr:hover td { background: rgba(13,27,75,.02); }
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
}
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger  { background: #f8d7da; color: #721c24; }
.badge-info    { background: #d1ecf1; color: #0c5460; }
.card-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.card-box-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--light-gray);
}
.card-box-header h3 { font-size: 1rem; margin: 0; }

/* ── Pagination ──────────────────────────────────────────────────────────────── */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius);
  font-size: .9rem; font-weight: 700;
  border: 1.5px solid var(--light-gray);
  color: var(--navy);
  transition: all var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex; gap: .5rem; align-items: center;
  font-size: .82rem; color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb .sep { color: var(--light-gray); }

/* ── Alert messages ──────────────────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: .92rem;
  font-weight: 600;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; top: calc(var(--header-h) + var(--announce-h));
    left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 99;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0 1rem; }
  .nav-link { padding: .75rem 1rem; }
  .nav-cta { margin: .5rem 0 0; text-align: center; }
  .hero-content { padding-block: 4rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .admin-sidebar { width: 100%; min-height: auto; position: relative; }
  .admin-main { margin-left: 0; padding: 1rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .input-row { flex-direction: column; }
  .healing-banner { flex-direction: column; }
}
