/* ============================================================
   Events India — Master Stylesheet
   Bootstrap 5.3 CDN is loaded first; this file extends it.
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:      #0b2d3a;
  --navy-mid:  #123d50;
  --navy-soft: #1a5268;
  --gold:      #c9a84c;
  --gold-lt:   #e8c97e;
  --gold-dk:   #a07830;
  --bg:        #f0f5f6;
  --white:     #ffffff;
  --red:       #dc3545;
  --text:      #0f2530;
  --muted:     #6b8c99;
}

/* ============================================================
   2. BASE / RESET EXTENSIONS
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}

a {
  color: var(--gold);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-dk);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   3. TOP BAR
   ============================================================ */
.top-bar {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 7px 16px;
  line-height: 1.4;
}

.top-bar a {
  color: var(--navy);
  text-decoration: underline;
}

.top-bar a:hover {
  color: var(--navy-mid);
}

/* ============================================================
   4. NAVBAR
   ============================================================ */
.site-nav {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1;
  padding: 14px 0;
  white-space: nowrap;
}

.logo:hover {
  color: var(--white);
  text-decoration: none;
}

.logo span {
  color: var(--gold);
}

.logo small {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 10px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 22px 18px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggler span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #082230 60%, #061820 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 80px 48px;
}

.hero-diag {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.02) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-kicker::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 68px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero p {
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero cover image wrapper (right column of hero) */
.hero-cover-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 15px 36px;
  border-radius: 2px;
  border: 2px solid var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-gold:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.4);
  text-decoration: none;
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 15px 36px;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,0.5);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline-white:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 13px 24px;
  border-radius: 4px;
  border: 2px solid var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-download:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  text-decoration: none;
}

.btn-download-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 16px 32px;
  border-radius: 4px;
  border: 2px solid var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-download-lg:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  text-decoration: none;
}

/* ============================================================
   7. STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--gold);
  padding: 28px 0;
}

.stat-box {
  text-align: center;
  padding: 8px 16px;
}

.stat-box .num,
.stat-box .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  display: block;
}

.stat-box .lbl,
.stat-box .stat-label {
  font-size: 11px;
  color: rgba(13,27,42,0.65);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

/* ============================================================
   8. SECTION WRAPPERS
   ============================================================ */
.section {
  padding: 88px 0;
}

.section-bg {
  background: var(--bg);
}

.section-dk {
  background: var(--navy);
}

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.kicker::after {
  content: '';
  display: block;
  flex: 1;
  max-width: 48px;
  height: 2px;
  background: var(--gold);
}

h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 0;
}

h2.section-title.light {
  color: var(--white);
}

.title-line {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 20px 0 32px;
  border-radius: 2px;
}

/* ============================================================
   9. FEATURED ISSUE CARD
   ============================================================ */
.featured-card {
  background: var(--navy-mid);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  display: flex;
  align-items: stretch;
}

.featured-cover {
  flex: 0 0 38%;
  min-height: 480px;
  background: linear-gradient(160deg, var(--navy-soft) 0%, var(--navy) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* Cover image inside the featured-card panel — contain so full magazine shows */
.featured-card .featured-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 12px;
}

.featured-cover .fc-icon {
  font-size: 56px;
  color: var(--gold);
  opacity: 0.8;
}

.featured-cover .fc-label {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 2px;
}

.featured-body {
  flex: 1;
  min-width: 0;
  padding: 44px;
}

.issue-num {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  display: block;
  margin-bottom: 12px;
}

.issue-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 18px;
}

.issue-desc {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.issue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.issue-tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--gold);
  background: rgba(201,168,76,0.08);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
}

.issue-meta-row {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.meta-item i {
  color: var(--gold);
  font-size: 13px;
  flex-shrink: 0;
}

.meta-item strong {
  color: rgba(255,255,255,0.85);
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.meta-item span {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 500;
}

/* ============================================================
   10. MAGAZINE CARDS (listing page)
   ============================================================ */
.mag-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mag-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.mag-card-cover {
  aspect-ratio: 3 / 4;
  background: linear-gradient(155deg, var(--navy-soft) 0%, var(--navy) 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
}

/* Fill the card cover with a real image when present */
.mag-card-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mag-card-cover-2 {
  background: linear-gradient(155deg, #c2a09a 0%, #9e7a74 100%);
}

.mag-card-cover-3 {
  background: linear-gradient(155deg, #a8b8b2 0%, #8a9c96 100%);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 3px;
}

.card-cover-text {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
}

.card-cover-icon {
  font-size: 56px;
  color: rgba(255,255,255,0.18);
  opacity: 1;
}

.mag-card-body {
  padding: 20px;
}

.mag-card-body h5 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.mag-card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.mag-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0eb;
}

.free-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 3px 12px;
  background: rgba(25,135,84,0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
}

/* ============================================================
   11. MAGAZINE DETAIL PAGE
   ============================================================ */
.detail-hero {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.detail-cover {
  aspect-ratio: 3 / 4;
  max-width: 320px;
  width: 100%;
  background: linear-gradient(155deg, var(--navy-soft) 0%, #0a121f 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: -6px 0 0 rgba(0,0,0,0.35), 0 20px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Spine effect */
.detail-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: rgba(0,0,0,0.35);
}

.detail-cover .dc-icon {
  font-size: 52px;
  color: var(--gold);
  opacity: 0.75;
}

.detail-cover .dc-label {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 0 24px;
}

.detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 16px;
}

.detail-issue-badge {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 14px;
  display: block;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.detail-tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.08);
  color: var(--gold-lt);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
}

.detail-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  margin-bottom: 10px;
}

.detail-feat i {
  color: var(--gold);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.download-box {
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 12px;
  padding: 28px 24px;
  margin-top: 28px;
}

.download-box .price {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}

.download-box .price-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 20px;
}

/* ============================================================
   12. FLIPBOOK / PDF TABS
   ============================================================ */
.flip-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d0d0c8;
  display: inline-flex;
}

.flip-tab-btn {
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.flip-tab-btn.active {
  background: var(--navy);
  color: var(--gold);
}

.flip-tab-btn.inactive {
  background: var(--white);
  color: var(--muted);
}

.flip-tab-btn.inactive:hover {
  background: #f0f0eb;
  color: var(--navy);
}

.flip-embed-wrap {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
}

.flip-embed-wrap iframe {
  display: block;
  width: 100%;
  border: none;
  height: 600px;
}

/* ============================================================
   13. ABOUT PAGE
   ============================================================ */
.about-img {
  aspect-ratio: 4 / 3;
  background: var(--navy-soft);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.about-img i {
  font-size: 64px;
  color: var(--gold);
  opacity: 0.7;
}

.about-img span {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-highlight {
  background: var(--bg);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

.about-highlight p {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--navy);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   14. CONTACT PAGE
   ============================================================ */
.contact-card {
  background: var(--white);
  border-radius: 16px;
  padding: 44px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.contact-info-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 44px;
}

.ci-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.ci-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,168,76,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}

.ci-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 3px;
}

.ci-value {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.site-footer {
  background: #060d16;
  padding: 64px 0 24px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-logo span {
  color: var(--gold);
}

.footer-logo:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-tagline {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-col h6 {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col p {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  line-height: 1.65;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 40px 0 24px;
}

.footer-bottom {
  color: rgba(255,255,255,0.25);
  font-size: 12px;
}

/* ============================================================
   16. FORMS
   ============================================================ */
.form-label-custom {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
  outline: none;
}

.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
  outline: none;
}

/* ============================================================
   17. FLASH ALERTS
   ============================================================ */
.alert-flash {
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.5s ease;
}

.alert-success-custom {
  background: rgba(25,135,84,0.1);
  border: 1px solid rgba(25,135,84,0.3);
  color: #0a6640;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-error-custom {
  background: rgba(220,53,69,0.1);
  border: 1px solid rgba(220,53,69,0.3);
  color: #9e1f2b;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   18. ADMIN LAYOUT
   ============================================================ */
.admin-wrap {
  display: flex;
  min-height: 100vh;
}

/* --- Sidebar --- */
.admin-sidebar {
  width: 256px;
  background: var(--navy);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-logo-area {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.admin-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  display: block;
  text-decoration: none;
  line-height: 1.2;
}

.admin-logo-text:hover {
  color: var(--white);
  text-decoration: none;
}

.admin-logo-text span {
  color: var(--gold);
}

.admin-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-top: 4px;
}

.sidebar-nav {
  padding: 16px 0;
  flex: 1;
  overflow-y: auto;
}

.nav-grp-label {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 16px 24px 6px;
  display: block;
}

.nav-item-s {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 500;
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.nav-item-s:hover {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
}

.nav-item-s.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.nav-item-s i {
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.badge-count {
  margin-left: auto;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  line-height: 1.4;
}

.admin-footer-s {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.avatar-s {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.avatar-name {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  line-height: 1.2;
}

.avatar-role {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Main content area --- */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  min-width: 0;
}

/* --- Top bar --- */
.admin-topbar {
  background: var(--white);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e8e8e3;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.topbar-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  background: #f0f0eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  border: none;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  background: #e4e3dd;
  color: var(--navy);
  text-decoration: none;
}

.notif-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  right: 6px;
}

/* --- Admin content --- */
.admin-content {
  padding: 28px 32px;
  flex: 1;
}

/* ============================================================
   19. DASHBOARD CARDS
   ============================================================ */
.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.dash-card {
  background: var(--white);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dash-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.di-gold {
  background: rgba(201,168,76,0.12);
  color: var(--gold-dk);
}

.di-blue {
  background: rgba(13,27,42,0.08);
  color: var(--navy);
}

.di-green {
  background: rgba(25,135,84,0.1);
  color: #198754;
}

.di-red {
  background: rgba(220,53,69,0.1);
  color: var(--red);
}

.dash-val {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.dash-lbl {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.dash-trend {
  font-size: 11px;
  font-weight: 600;
}

.trend-up {
  color: #198754;
}

.trend-na {
  color: var(--muted);
}

/* ============================================================
   20. CHART BOX
   ============================================================ */
.chart-box {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  height: 100%;
}

.chart-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.chart-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 140px;
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.bar {
  width: 100%;
  background: var(--gold);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height 0.4s ease;
}

.bar:hover {
  background: var(--gold-dk);
}

.bar-lbl {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

/* ============================================================
   21. DATA CARDS / TABLES
   ============================================================ */
.data-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}

.data-card-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0eb;
}

.data-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.btn-add {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-add:hover {
  background: var(--gold-lt);
  color: var(--navy);
  transform: translateY(-1px);
  text-decoration: none;
}

.table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 600;
  background: #f4f3ee;
  border-bottom: 1px solid #e8e8e3;
  padding: 12px 16px;
}

.table td {
  font-size: 14px;
  vertical-align: middle;
  border-color: #f0f0eb;
  padding: 12px 16px;
}

.thumb-cover {
  width: 32px;
  height: 44px;
  border-radius: 3px;
  background: linear-gradient(155deg, var(--navy-soft) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.thumb-cover i {
  font-size: 12px;
  color: var(--gold);
  opacity: 0.7;
}

/* ============================================================
   22. STATUS PILLS
   ============================================================ */
.pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-pub {
  background: rgba(25,135,84,0.1);
  color: #198754;
}

.pill-draft {
  background: rgba(255,193,7,0.12);
  color: #8a6500;
}

.pill-free {
  background: rgba(13,27,42,0.08);
  color: var(--navy);
}

.pill-paid {
  background: rgba(201,168,76,0.12);
  color: var(--gold-dk);
}

/* ============================================================
   23. ACTION BUTTONS (table rows)
   ============================================================ */
.action-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: #f0f0eb;
  color: var(--navy);
  text-decoration: none;
}

.action-btn.delete:hover {
  background: rgba(220,53,69,0.1);
  color: var(--red);
}

/* ============================================================
   24. ADMIN FORMS / UPLOAD
   ============================================================ */
.upload-form {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.upload-zone {
  border: 2px dashed #d0d0c8;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  background: #f4f3ee;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.upload-zone:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
}

.upload-icon {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   25. PRICING CARDS (admin settings)
   ============================================================ */
.pricing-card {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pricing-card:hover {
  border-color: var(--gold);
}

.pricing-card.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}

/* ============================================================
   26. SETTINGS SECTIONS
   ============================================================ */
.settings-section h6 {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #f4f3ee;
  padding-bottom: 8px;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   27. MESSAGES LIST
   ============================================================ */
.msg-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0eb;
}

.msg-item.unread {
  background: rgba(201,168,76,0.04);
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 6px;
  margin: 0 -12px;
}

.msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ============================================================
   28. PROGRESS / ANALYTICS
   ============================================================ */
.progress-bar {
  background: var(--gold) !important;
}

.analytics-table .progress {
  height: 6px;
  border-radius: 3px;
}

/* ============================================================
   29. LOGIN PAGE
   ============================================================ */
.login-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #0a2540 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.login-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

.login-logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  display: block;
  margin-bottom: 4px;
}

.login-logo span {
  color: var(--gold);
}

.login-sub {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 36px;
}

/* ============================================================
   30. UTILITIES
   ============================================================ */
.text-gold {
  color: var(--gold) !important;
}

.text-navy {
  color: var(--navy) !important;
}

.bg-navy {
  background: var(--navy) !important;
}

.bg-gold {
  background: var(--gold) !important;
}

.border-gold {
  border-color: var(--gold) !important;
}

.cover-preview-wrap {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   31. RESPONSIVE — 991px and below
   ============================================================ */
@media (max-width: 991px) {
  /* Nav */
  .nav-toggler {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy-mid);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 20px;
    border-left: 3px solid transparent;
    border-bottom: none;
    width: 100%;
  }

  .nav-links a:hover,
  .nav-links a.active {
    border-left-color: var(--gold);
    border-bottom: none;
  }

  .site-nav {
    position: relative;
    flex-wrap: wrap;
    padding: 0;
  }

  /* Hero */
  .hero {
    padding: 56px 20px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 42px;
  }

  /* Admin */
  .admin-wrap {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    min-height: auto;
    height: auto;
    position: static;
    overflow-y: visible;
  }

  .sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
  }

  .nav-grp-label {
    display: none;
  }

  .nav-item-s {
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    padding: 10px 8px;
    font-size: 11px;
    border-left: none;
    border-bottom: 2px solid transparent;
    text-align: center;
    justify-content: center;
  }

  .nav-item-s.active {
    border-left-color: transparent;
    border-bottom-color: var(--gold);
  }

  .nav-item-s i {
    font-size: 18px;
    width: auto;
  }

  .badge-count {
    margin-left: 0;
  }

  .admin-footer-s {
    display: none;
  }

  .admin-content {
    padding: 16px;
  }

  .dash-cards {
    grid-template-columns: 1fr 1fr;
  }

  .admin-topbar {
    padding: 12px 16px;
  }

  /* Featured card */
  .featured-card {
    flex-direction: column;
  }

  .featured-cover {
    flex: none;
    width: 100% !important;
    min-height: 240px;
  }

  .featured-body {
    padding: 28px;
  }

  .issue-title {
    font-size: 28px;
  }
}

/* ============================================================
   32. RESPONSIVE — 767px and below
   ============================================================ */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .stats-bar .col-3 {
    width: 50%;
  }

  .detail-hero {
    padding: 40px 0;
  }

  .detail-title {
    font-size: 32px;
  }

  .flip-embed-wrap iframe {
    height: 420px;
  }

  .contact-card {
    padding: 28px 20px;
  }

  .contact-info-card {
    padding: 28px 20px;
  }

  h2.section-title {
    font-size: 34px;
  }

  .section {
    padding: 56px 0;
  }
}

/* ============================================================
   33. ADMIN LOGIN PAGE
   ============================================================ */
.admin-login-body {
  background: linear-gradient(135deg, var(--navy) 0%, #082230 60%, #061820 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login-wrap {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.admin-login-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.admin-login-logo {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0eb;
}

.admin-login-logo .admin-logo-text {
  font-size: 26px;
  color: var(--navy);
  display: block;
  text-align: center;
}

.admin-login-logo .admin-sub {
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.admin-login-title {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 6px;
  text-align: center;
}

.admin-login-sub {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
}

.admin-login-back {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f0eb;
}

.admin-login-back a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.admin-login-back a:hover {
  color: var(--gold);
}

/* ============================================================
   34. UPLOAD ZONE — hidden file input
   ============================================================ */
.upload-zone {
  position: relative;
}

.upload-zone-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

/* Section divider with text */
.section-divider {
  position: relative;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 28px 0;
  height: auto;
  background: none;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e8e8e3;
}

.section-divider span {
  position: relative;
  background: var(--bg);
  padding: 0 16px;
}

/* thumb-cover when used as img */
img.thumb-cover {
  width: 32px;
  height: 44px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

/* admin-footer-s logout link */
.admin-footer-s a {
  color: rgba(255,255,255,0.3);
  font-size: 16px;
  transition: color 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.admin-footer-s a:hover {
  color: var(--gold);
}

.admin-footer-s .fw-semibold {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}

.admin-footer-s .small {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-transform: capitalize;
}

/* msg-item padding fix for last child */
.msg-item:last-child {
  border-bottom: none;
}

/* Data card with list of msg items */
.data-card > .msg-item {
  margin: 0 20px;
}

.data-card > .msg-item:first-of-type {
  margin-top: 8px;
}

.data-card > .msg-item:last-of-type {
  margin-bottom: 8px;
  border-bottom: none;
}

/* Modal content styling */
.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}

.modal-header {
  border-bottom: 1px solid #f0f0eb;
  padding: 20px 24px 16px;
}

.modal-footer {
  border-top: 1px solid #f0f0eb;
  padding: 16px 24px;
}

/* ============================================================
   35. RESPONSIVE — 480px and below
   ============================================================ */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .btn-gold {
    padding: 12px 20px;
    font-size: 12px;
  }

  .btn-outline-white {
    padding: 12px 20px;
    font-size: 12px;
  }

  h2.section-title {
    font-size: 28px;
  }

  .dash-cards {
    grid-template-columns: 1fr;
  }

  .flip-embed-wrap iframe {
    height: 320px;
  }

  .featured-body {
    padding: 20px;
  }

  .issue-title {
    font-size: 24px;
  }

  .login-card {
    padding: 32px 20px;
  }

  .admin-content {
    padding: 12px;
  }
}

/* ============================================================
   36. FOOTER UTILITIES
   ============================================================ */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 40px;
  padding-top: 20px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

.footer-heart {
  color: var(--gold);
}

.footer-empty {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

.newsletter-thanks {
  display: none;
  font-size: 13px;
  color: var(--gold);
  margin-top: 8px;
  margin-bottom: 0;
}

/* ============================================================
   37. LOGO SPAN — gold "India" in both navbar and footer
   ============================================================ */
/* Already covered by .logo span and .footer-logo span,
   but ensure footer logo span is explicitly gold */
.footer-logo span {
  color: var(--gold);
}

/* ============================================================
   38. NAV LINKS — ensure no <ul> default styles leak through
   ============================================================ */
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ============================================================
   39. INDEX PAGE HERO — remove any accidental opacity on p
   ============================================================ */
.hero > .container p,
.hero > .container > .row p {
  color: rgba(255,255,255,0.72);
}

/* ============================================================
   40. FORM CONTROL — gold focus across all pages
   ============================================================ */
.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
  outline: none;
}

/* ============================================================
   41. MISC ADMIN HELPERS
   ============================================================ */
.cover-preview-wrap {
  display: none;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

#cover-preview {
  max-width: 100%;
  max-height: 220px;
  border-radius: 6px;
  display: none;
  object-fit: contain;
}

/* Password show/hide toggle button */
.btn-pw-toggle {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0 12px;
  font-size: 14px;
}

.btn-pw-toggle:hover {
  color: var(--navy);
}

/* ============================================================
   42. MOBILE HEADER + HERO IMPROVEMENTS
   ============================================================ */

/* Top bar: when email is hidden on mobile, center the announcement */
@media (max-width: 767px) {
  .top-bar .container {
    justify-content: center;
  }

  /* Marquee-style scroll so long text doesn't wrap */
  .top-bar .container > span:first-child {
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    display: block;
    animation: topbar-marquee 18s linear infinite;
  }
}

@keyframes topbar-marquee {
  0%   { transform: translateX(60%); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 991px) {
  /* Top bar: tighten padding */
  .top-bar {
    font-size: 11px;
    letter-spacing: 0;
    padding: 6px 0;
    overflow: hidden;
  }

  /* Hero: center-align all text on mobile */
  .hero .col-lg-6:first-child {
    text-align: center;
  }

  /* Hero kicker — hide on mobile */
  .hero-kicker {
    display: none;
  }

  /* Hero CTA buttons: stack full-width */
  .hero-cta-btns {
    flex-direction: column !important;
  }

  .hero-cta-btns .btn-gold,
  .hero-cta-btns .btn-outline-white {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .top-bar {
    font-size: 10.5px;
  }
}
