/* ==========================================================================
   BHARATCHITRAM — Master Heritage & Archival Editorial Design System
   Photography • Heritage • Education
   Visual benchmark: Museum / Archival Publication / Cultural Journal
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Cinzel:wght@500;600;700&display=swap');

:root {
  /* Heritage Color Palette */
  --bg-primary: #F5EFE6;      /* Warm Ivory / Parchment */
  --bg-secondary: #EFE8DB;    /* Antique Cream */
  --bg-sand: #E8DEC8;         /* Sand / Laterite wash */
  --bg-paper: #FAF6EE;        /* Pristine Archival Paper */
  
  --dark-primary: #231710;    /* Antique Dark Chocolate */
  --dark-secondary: #2C1E16;  /* Rich Dark Walnut */
  --dark-deep: #1A110B;       /* Deep Obsidian Brown */
  --dark-card: #2E2018;       /* Dark Section Card */

  --gold-primary: #A77B35;    /* Muted Ochre / Antique Gold */
  --gold-light: #C09A58;      /* Warm Amber Gold */
  --gold-hover: #8C6328;      /* Deep Ochre */
  --gold-muted: rgba(167, 123, 53, 0.15);

  --text-dark: #221C17;       /* Black/Brown Typography */
  --text-muted: #5A4E43;      /* Muted Historical Brown */
  --text-light: #EFE8DB;      /* Light Text on Dark Backgrounds */
  --text-light-muted: #B8AC9E;

  --border-light: #D8CCBA;    /* Subtle Beige Border */
  --border-dark: #423227;     /* Dark Section Border */
  --border-gold: #A77B35;

  /* Typography Fonts */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-nav: 'Cinzel', 'Source Sans 3', serif;

  /* Spacing & Layout */
  --container-max: 1240px;
  --container-narrow: 860px;
  --header-height: 84px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-subtle: 0 4px 20px rgba(35, 23, 16, 0.06);
  --shadow-deep: 0 10px 30px rgba(26, 17, 11, 0.25);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
  background-color: var(--bg-primary);
  background-image: radial-gradient(rgba(167, 123, 53, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.85rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-padding-sm {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Section Header Typography */
.section-header {
  margin-bottom: 50px;
}

.section-header.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
  margin-bottom: 12px;
  position: relative;
}

.eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: var(--gold-primary);
  margin-top: 6px;
}

.text-center .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
  font-family: var(--font-serif);
}

/* Antique Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 28px;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--gold-primary);
  color: #FFFFFF;
  border-color: var(--gold-primary);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(167, 123, 53, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--dark-primary);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

.btn-dark:hover {
  background-color: var(--gold-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

.btn-outline-gold:hover {
  background-color: var(--gold-primary);
  color: #FFFFFF;
  border-color: var(--gold-primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.75rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-paper);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  box-shadow: 0 2px 10px rgba(35, 23, 16, 0.03);
}

.site-header.scrolled {
  background-color: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(35, 23, 16, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  gap: 20px;
  transition: var(--transition-smooth);
}

.site-header.scrolled .header-container {
  height: 70px;
}

/* Brand Logo & Text */
.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-img {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dark-primary);
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
  transition: var(--transition-smooth);
}

.site-branding:hover .brand-title {
  color: var(--gold-primary);
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 3px;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 16px;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 3px;
  position: relative;
  transition: var(--transition-smooth);
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.header-cta-btn {
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 9px 16px;
}

.search-toggle-btn {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.search-toggle-btn:hover {
  color: var(--gold-primary);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dark-primary);
  font-size: 1.5rem;
}

/* Mobile Offcanvas Navigation */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--bg-paper);
  border-left: 1px solid var(--border-light);
  z-index: 2000;
  padding: 40px 30px;
  box-shadow: var(--shadow-deep);
  transition: right 0.35s ease;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 17, 11, 0.6);
  z-index: 1999;
}

.mobile-nav-backdrop.open {
  display: block;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark-primary);
  cursor: pointer;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark-primary);
  text-decoration: none;
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid rgba(216, 204, 186, 0.4);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--gold-primary);
  padding-left: 8px;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--dark-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: 100px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 17, 11, 0.88) 0%, rgba(35, 23, 16, 0.75) 50%, rgba(26, 17, 11, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(167, 123, 53, 0.2);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #E2D9CE;
  margin-bottom: 38px;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-portrait-frame {
  position: relative;
  border: 1px solid var(--border-light);
  padding: 12px;
  background-color: var(--bg-paper);
  box-shadow: var(--shadow-subtle);
}

.about-portrait-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: sepia(10%) contrast(102%);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--dark-primary);
  color: var(--gold-light);
  padding: 16px 22px;
  border: 1px solid var(--gold-primary);
  box-shadow: var(--shadow-deep);
}

.about-badge-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #B8AC9E;
}

.about-badge-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
}

.about-content-wrapper .lead-bio {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 35px 0;
}

.pillar-card {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-light);
  padding: 22px 18px;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-subtle);
}

.pillar-icon {
  font-size: 1.4rem;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark-primary);
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   HERITAGE STORIES (Archive & Card Component)
   ========================================================================== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.story-card {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.story-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-subtle);
}

.story-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--dark-primary);
}

.story-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-card:hover .story-card-image img {
  transform: scale(1.05);
}

.story-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(35, 23, 16, 0.9);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-left: 2px solid var(--gold-primary);
}

.story-card-body {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-card-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.story-card-title {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}

.story-card-title a {
  color: var(--dark-primary);
  text-decoration: none;
}

.story-card-title a:hover {
  color: var(--gold-primary);
}

.story-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.story-card-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(216, 204, 186, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-more-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more-link:hover {
  color: var(--gold-hover);
  gap: 10px;
}

/* ==========================================================================
   TRAINING & WORKSHOPS (Dark Archival Section)
   ========================================================================== */
.dark-heritage-section {
  background-color: var(--dark-primary);
  color: var(--text-light);
  position: relative;
  background-image: radial-gradient(rgba(167, 123, 53, 0.08) 1px, transparent 0);
  background-size: 20px 20px;
}

.dark-heritage-section .section-title {
  color: #FFFFFF;
}

.dark-heritage-section .section-subtitle {
  color: var(--gold-light);
}

.dark-heritage-section p {
  color: #B8AC9E;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.workshop-card {
  background-color: var(--dark-secondary);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.workshop-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-deep);
}

.workshop-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.workshop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.workshop-card:hover .workshop-card-image img {
  transform: scale(1.05);
}

.workshop-status-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
}

.workshop-status-tag.open {
  background-color: #2E5B37;
  color: #E2F5E5;
}

.workshop-status-tag.closed,
.workshop-status-tag.sold_out {
  background-color: #6E2B2B;
  color: #FCE8E8;
}

.workshop-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.workshop-date-badge {
  font-size: 0.8rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.workshop-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 12px;
}

.workshop-card-title a {
  color: #FFFFFF;
}

.workshop-card-title a:hover {
  color: var(--gold-light);
}

.workshop-location {
  font-size: 0.85rem;
  color: #B8AC9E;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.workshop-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.workshop-fee {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* ==========================================================================
   BHARATCHITRAM MONTHLY (Periodical Journal Section)
   ========================================================================== */
.monthly-featured-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
  align-items: center;
  background-color: var(--bg-paper);
  border: 1px solid var(--border-light);
  padding: 40px;
  margin-bottom: 50px;
}

.monthly-issue-cover {
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  background-color: var(--dark-primary);
}

.monthly-issue-cover img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.monthly-issue-content .volume-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.monthly-issue-title {
  font-size: 2.2rem;
  color: var(--dark-primary);
  margin-bottom: 14px;
}

.monthly-issue-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.monthly-issue-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.monthly-articles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.article-row-card {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-light);
  padding: 24px;
  display: flex;
  gap: 20px;
  transition: var(--transition-smooth);
}

.article-row-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
}

.article-row-thumb {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--dark-primary);
}

.article-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-row-body {
  display: flex;
  flex-direction: column;
}

.article-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
}

.article-title a {
  color: var(--dark-primary);
}

.article-title a:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   ARCHIVAL GALLERY (Masonry & Lightbox)
   ========================================================================== */
.gallery-filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background-color: var(--gold-primary);
  color: #FFFFFF;
  border-color: var(--gold-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background-color: var(--dark-primary);
  border: 1px solid var(--border-light);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 17, 11, 0.92) 0%, rgba(26, 17, 11, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-overlay-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.gallery-overlay-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 6px;
}

.gallery-overlay-credit {
  font-size: 0.78rem;
  color: #B8AC9E;
}

/* ==========================================================================
   BHARATCHARCHA FOUNDATION
   ========================================================================== */
.foundation-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.foundation-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.foundation-lead-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.foundation-programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.foundation-card {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-light);
  padding: 30px 22px;
  transition: var(--transition-smooth);
}

.foundation-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-subtle);
}

.foundation-card-icon {
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 18px;
}

.foundation-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-primary);
  margin-bottom: 10px;
}

.foundation-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   STATISTICS & PHILOSOPHY QUOTE
   ========================================================================== */
.stats-section {
  background-color: var(--dark-deep);
  color: var(--text-light);
  padding: 80px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.stats-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stats-numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.stat-box {
  border-left: 2px solid var(--gold-primary);
  padding-left: 20px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.stat-subtext {
  font-size: 0.85rem;
  color: #B8AC9E;
  line-height: 1.4;
  margin: 0;
}

.quote-box {
  background: var(--dark-secondary);
  border: 1px solid var(--border-dark);
  padding: 40px;
  position: relative;
}

.quote-box blockquote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.7;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.quote-box cite {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark-deep);
  color: var(--text-light);
  border-top: 1px solid var(--border-dark);
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .brand-title {
  color: #FFFFFF;
}

.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #B8AC9E;
  margin-top: 18px;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background-color: var(--gold-primary);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 0.9rem;
  color: #B8AC9E;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-nav-list a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-social-links {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-dark);
  color: var(--gold-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background-color: var(--gold-primary);
  color: #FFFFFF;
  border-color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #8E8276;
}

.footer-bottom a {
  color: #B8AC9E;
}

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

/* ==========================================================================
   BREADCRUMBS & INNER PAGE HERO
   ========================================================================== */
.inner-page-hero {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  padding: 60px 0 45px;
  position: relative;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--gold-primary);
}

.breadcrumb-separator {
  color: var(--border-light);
}

.breadcrumb-current {
  color: var(--dark-primary);
  font-weight: 600;
}

.inner-page-title {
  font-size: 2.8rem;
  color: var(--dark-primary);
  margin-bottom: 10px;
}

.inner-page-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 750px;
}

/* ==========================================================================
   SINGLE EDITORIAL STORY & ARTICLE STYLES
   ========================================================================== */
.editorial-article-container {
  max-width: 820px;
  margin: 0 auto;
}

.article-hero-figure {
  margin-bottom: 40px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-paper);
  padding: 10px;
}

.article-hero-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-caption {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-muted);
  padding: 10px 6px 4px;
  text-align: center;
  border-top: 1px solid rgba(216, 204, 186, 0.4);
  margin-top: 8px;
}

.editorial-body {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #2D251E;
}

.editorial-body p {
  margin-bottom: 1.8rem;
}

.editorial-lead {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.7;
  color: var(--dark-primary);
  font-style: italic;
  margin-bottom: 2rem;
}

.editorial-body h3 {
  font-size: 1.9rem;
  margin-top: 2.6rem;
  margin-bottom: 1.2rem;
  color: var(--dark-primary);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.editorial-quote {
  background-color: var(--bg-secondary);
  border-left: 3px solid var(--gold-primary);
  padding: 30px;
  margin: 2.5rem 0;
}

.editorial-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--dark-primary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.editorial-quote cite {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
}

/* Historical Timeline Component */
.historical-timeline {
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  padding: 35px 30px;
  margin: 3rem 0;
}

.timeline-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--dark-primary);
}

.timeline-list {
  list-style: none;
  position: relative;
  padding-left: 30px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background-color: var(--border-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  border: 3px solid var(--bg-paper);
}

.timeline-year {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.timeline-event {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* References Box */
.references-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 26px;
  margin-top: 3rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.references-box h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--dark-primary);
}

/* Pagination */
.heritage-pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.pagination-list {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border-light);
  background: var(--bg-paper);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.page-item.active .page-link,
.page-link:hover {
  background-color: var(--gold-primary);
  color: #FFFFFF;
  border-color: var(--gold-primary);
}

.page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

/* Forms */
.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 0;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(167, 123, 53, 0.15);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* Notification Alerts */
.alert {
  padding: 16px 20px;
  margin-bottom: 24px;
  border-left: 4px solid transparent;
  font-size: 0.95rem;
}

.alert-success {
  background-color: #E8F4EC;
  border-color: #2E5B37;
  color: #1E4626;
}

.alert-error,
.alert-danger {
  background-color: #FDF0EE;
  border-color: #A93829;
  color: #79251A;
}

.alert-info {
  background-color: #EBF2F7;
  border-color: #316E98;
  color: #1D4B6C;
}

/* ==========================================================================
   LIGHTBOX & MODAL DIALOG STYLES
   ========================================================================== */
.heritage-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.heritage-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 17, 11, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1080px;
  max-height: 90vh;
  background-color: var(--dark-primary);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lightbox-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: rgba(35, 23, 16, 0.8);
  border: 1px solid var(--border-dark);
  color: #FFFFFF;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
  background-color: var(--gold-primary);
}

.lightbox-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(35, 23, 16, 0.8);
  border: 1px solid var(--border-dark);
  color: #FFFFFF;
  font-size: 1.4rem;
  width: 44px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-nav-btn.prev { left: 0; }
.lightbox-nav-btn.next { right: 0; }

.lightbox-nav-btn:hover {
  background-color: var(--gold-primary);
}

.lightbox-media-wrapper {
  flex: 1 1 auto;
  max-height: 60vh;
  background-color: #0E0906;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-image {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

.lightbox-meta-panel {
  padding: 24px 30px;
  background-color: var(--dark-primary);
  border-top: 1px solid var(--border-dark);
  color: var(--text-light);
}

.lightbox-meta-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.lightbox-description {
  font-size: 0.92rem;
  color: #B8AC9E;
  line-height: 1.5;
  margin-bottom: 14px;
}

.lightbox-meta-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(66, 50, 39, 0.7);
  font-size: 0.8rem;
  color: #8E8276;
}

.lightbox-attribution strong {
  color: var(--gold-light);
}

.lightbox-license-badge {
  display: inline-block;
  padding: 3px 8px;
  background-color: rgba(167, 123, 53, 0.2);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.72rem;
  margin-right: 12px;
}

.lightbox-source-link {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Global Search Modal */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  background-color: rgba(26, 17, 11, 0.88);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  width: 90%;
  max-width: 680px;
  background-color: var(--bg-paper);
  border: 1px solid var(--border-light);
  padding: 35px;
  box-shadow: var(--shadow-deep);
  position: relative;
}

.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.search-modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--dark-primary);
}

.search-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark-primary);
  cursor: pointer;
}

.search-form-group {
  display: flex;
  gap: 10px;
}

.search-form-group input {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
}

/* General Modal (Workshop Registration, etc.) */
.heritage-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(26, 17, 11, 0.85);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.heritage-modal.active {
  opacity: 1;
  visibility: visible;
}

.heritage-modal-content {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bg-paper);
  border: 1px solid var(--border-light);
  padding: 35px;
  box-shadow: var(--shadow-deep);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-light);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark-primary);
  cursor: pointer;
}
