﻿/* ============================================================
   PRESS COUNCIL OF MAHARASHTRA — MAIN STYLESHEET
   Unified Design System: Navy #1a3a5c | Gold #c8a84b
   Fully Responsive: Mobile -> Tablet -> Desktop
   Breakpoints: 480px | 768px | 1024px
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@300;400;600;700&family=Noto+Sans+Devanagari:wght@400;500;600&display=swap');

/* CSS DESIGN TOKENS */
:root {
  --navy:          #1a3a5c;
  --navy-dark:     #0d2137;
  --navy-mid:      #25527d;
  --navy-light:    #2e6da4;
  --gold:          #c8a84b;
  --gold-light:    #e0c070;
  --crimson:       #8b0000;
  --bg-offwhite:   #f8f7f4;
  --bg-light:      #f0ede6;
  --border:        #c8b89a;
  --border-light:  #ddd8cc;
  --text-primary:  #1a1a1a;
  --text-muted:    #4a4a4a;
  --text-light:    #777777;
  --white:         #ffffff;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.16);
  --radius:        6px;
  --radius-sm:     4px;
  --transition:    0.25s ease;
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Source Sans 3', Arial, sans-serif;
}

/* 1. RESET & BASE */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-size: 16px; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-offwhite);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.7;
}
.page-wrapper { display: block; min-height: 100vh; background: var(--white); margin: 0; padding: 0; font-size: 0; }
.page-wrapper > * { font-size: 1rem; }

/* 2. HEADER */

header {
  width: 100%;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e4a7a 100%);
  display: block;
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--gold);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  flex-wrap: nowrap;
}
header img.logo {
  height: 72px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}

/* Centre title */
.header-text-container {
  flex: 1;
  min-width: 180px;
  text-align: center;
}
.header-text {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.header-text-devnagri {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(12px, 1.15vw, 15px);
  color: var(--gold-light);
  margin: 6px 0 0;
  font-weight: 500;
  letter-spacing: 0.4px;
}
.header-tagline {
  font-family: var(--font-body);
  font-size: clamp(10px, 0.85vw, 11.5px);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.6px;
  margin-top: 7px;
}
/* Publication title gold strip */
.header-pub-strip {
  background: var(--gold);
  text-align: center;
  padding: 10px 24px;
  letter-spacing: 0.3px;
  border-top: 2px solid rgba(0,0,0,0.12);
}
.header-pub-strip-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.6;
}
.header-pub-strip-title {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: 0.2px;
}
.header-text, .header-text-devnagri, .header-tagline, .header-pub-strip-title { word-break: break-word; white-space: normal; }
.header-divider { display: none; }
.header-journal-title { display: none; }

/* Right badges */
.header-badges {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}
.hbadge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(200,168,75,0.5);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  line-height: 1.4;
  font-weight: 600;
}
.hbadge svg { flex-shrink: 0; }
.hbadge small { color: rgba(200,168,75,0.8); font-size: 10.5px; display: block; font-weight: 400; }
.hbadge-icon { color: var(--gold); font-size: 9px; }

/* Bottom ownership strip */
.header-strip {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px 24px;
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}
.header-strip strong { color: rgba(255,255,255,0.95); }
.header-strip em { color: var(--gold-light); font-style: italic; }
.hs-divider { color: rgba(200,168,75,0.5); padding: 0 2px; }

/* 3. SCROLLING TICKER */
.scrolling-text-container {
  width: 100%;
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  overflow: hidden;
  height: 28px;
  white-space: nowrap;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}
.scrolling-text {
  display: inline-block;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;
}
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* 4. NAVIGATION */
.page-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--navy);
  padding: 0 16px;
  gap: 0;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
  border-bottom: 3px solid var(--gold);
}
.page-buttons button:not(.nav-toggle),
.page-buttons a.btn-link,
.dropbtn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.82);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.6px;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  position: relative;
}
.page-buttons button::after,
.page-buttons a.btn-link::after,
.dropbtn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.page-buttons button:hover,
.page-buttons a.btn-link:hover,
.dropbtn:hover { color: var(--gold-light); background: rgba(255,255,255,0.06); }
.page-buttons button:hover::after,
.page-buttons a.btn-link:hover::after,
.dropbtn:hover::after { transform: scaleX(1); }
.page-buttons button.nav-active,
.page-buttons a.btn-link.nav-active { color: var(--gold); }
.page-buttons button.nav-active::after,
.page-buttons a.btn-link.nav-active::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px 12px;
  background: none;
  border: none;
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--gold-light); border-radius: 2px; transition: all 0.3s ease; }
/* Hamburger → X when sidebar open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
#nav-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; width: 100%; }

/* Sidebar overlay (mobile only) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
}
.nav-overlay.active { display: block; }
/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: var(--navy-dark);
  min-width: 210px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
}
.dropdown-content a {
  color: rgba(255,255,255,0.8);
  padding: 11px 18px;
  text-decoration: none;
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition), color var(--transition), padding var(--transition);
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background: rgba(200,168,75,0.15); color: var(--gold-light); padding-left: 24px; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown:hover > .dropbtn { color: var(--gold-light); }
.dropdown:hover > .dropbtn::after { transform: scaleX(1); }

/* 5. MAIN */
main { flex-grow: 1; max-width: 980px; margin: 36px auto; padding: 0 24px; width: 100%; }
main h1 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
  font-size: clamp(22px, 2.8vw, 32px);
  position: relative;
  padding-bottom: 14px;
}
main h1::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
main h2 { font-family: var(--font-heading); color: var(--navy); text-align: center; margin-bottom: 22px; font-size: clamp(18px, 2.4vw, 26px); }
p { font-size: clamp(14px, 1.3vw, 16px); line-height: 1.85; margin-bottom: 14px; text-align: justify; color: var(--text-primary); }
main a { color: var(--navy-light); text-decoration: none; }
main a:hover { text-decoration: underline; color: var(--navy); }
.content { max-width: 980px; margin: 30px auto; padding: 0 24px; width: 100%; }

/* 6. SLIDER + NEWS */
.slider-wrapper { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 16px 20px; flex-wrap: wrap; }
.news-box {
  flex: 1 1 190px;
  min-width: 170px;
  max-width: 250px;
  max-height: 560px;
  overflow-y: auto;
  background: var(--white);
  padding: 14px 12px;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.news-box h3 {
  font-family: var(--font-heading); font-size: 14px; margin-bottom: 12px;
  text-align: center; color: var(--white); padding: 7px 10px;
  background: var(--navy); border-radius: var(--radius-sm);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.news-box ul { list-style: none; padding: 0; margin: 0; }
.news-box li { margin-bottom: 12px; }
.news-box li:last-child { margin-bottom: 0; }
/* News card */
.news-card {
  display: flex; flex-direction: column; text-decoration: none;
  color: var(--text-primary); background: #f9fafc;
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  overflow: hidden; transition: box-shadow var(--transition), transform var(--transition);
}
.news-card:hover { box-shadow: 0 4px 14px rgba(26,58,92,0.13); transform: translateY(-2px); color: var(--navy); }
.news-card-img-wrap { position: relative; overflow: hidden; }
.news-card img { height: 110px; width: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.news-card:hover img { transform: scale(1.04); }
.news-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--gold); color: var(--navy-dark);
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  padding: 2px 7px; border-radius: 20px; text-transform: uppercase;
}
.news-card-body { padding: 8px 9px 9px; }
.news-card .title {
  font-family: 'Noto Sans Devanagari', var(--font-body), sans-serif;
  font-weight: 600; font-size: 12.5px; color: var(--navy); line-height: 1.45;
  margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .intro {
  font-family: 'Noto Sans Devanagari', var(--font-body), sans-serif;
  font-size: 11.5px; color: var(--text-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 6px;
}
.news-date {
  font-size: 10.5px; color: #8899aa; display: flex; align-items: center; gap: 4px;
}
.news-date svg { flex-shrink: 0; }
.view-all {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 12px; font-size: 11.5px; color: var(--navy); text-decoration: none;
  font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 7px;
  border: 1.5px solid var(--navy); border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.view-all:hover { background: var(--navy); color: var(--white); }
.slider-container { flex: 2 1 320px; min-width: 280px; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--border-light); }
.slider-track { display: flex; transition: transform 0.55s ease-in-out; height: 100%; }
.slide { min-width: 100%; position: relative; overflow: hidden; }
.slide img { width: 100%; height: 420px; display: block; object-fit: cover; }
.caption {
  position: absolute; bottom: 0; left: 0; width: 100%;
  color: var(--white);
  font-family: 'Noto Sans Devanagari', var(--font-body), sans-serif;
  font-weight: 500;
  background: linear-gradient(transparent 0%, rgba(10,23,36,0.75) 30%, rgba(10,23,36,0.95) 100%);
  padding: 32px 16px 12px;
  line-height: 1.65;
  font-size: clamp(12px, 1.2vw, 15px);
  text-align: left;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.caption-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}
.caption-text.expanded {
  -webkit-line-clamp: unset;
  display: block;
  max-height: 200px;
  overflow-y: auto;
}
.caption-toggle {
  display: inline-block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--gold-light);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(13,33,55,0.55); color: var(--white); font-size: 20px; padding: 7px 11px; border: 2px solid rgba(255,255,255,0.25); cursor: pointer; z-index: 10; border-radius: var(--radius-sm); transition: background var(--transition), border-color var(--transition); }
.slider-btn:hover { background: var(--navy); border-color: var(--gold); }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
/* Dot indicators */
.slider-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 20; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.6); cursor: pointer; padding: 0; transition: background 0.3s, transform 0.3s; }
.slider-dot.active { background: var(--gold); transform: scale(1.3); border-color: var(--gold); }

/* 7. OFFICIALS */
.official-list { list-style: none; padding: 0; margin-top: 24px; }
.official-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  transition: box-shadow var(--transition), border-left-color var(--transition);
}
.official-item:hover { box-shadow: var(--shadow-md); border-left-color: var(--gold); }
.official-left { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 110px; }
.official-item img { width: 100px; height: 130px; object-fit: cover; border: 3px solid var(--navy); border-radius: var(--radius-sm); flex-shrink: 0; box-shadow: var(--shadow-sm); }
.official-info { flex: 1; min-width: 200px; }
.official-name     { font-family: var(--font-heading); font-size: clamp(17px, 2vw, 22px); font-weight: 700; color: var(--navy); }
.official-position { font-family: var(--font-body); font-size: clamp(13px, 1.5vw, 16px); font-weight: 600; color: var(--crimson); margin-top: 4px; }
.official-since    { font-size: clamp(12px, 1.2vw, 14px); color: var(--text-light); margin-top: 4px; font-style: italic; }
.official-contact  { font-size: clamp(12px, 1.2vw, 14px); color: var(--text-muted); margin-top: 10px; line-height: 1.9; }
.official-contact a { color: var(--navy-light); text-decoration: none; }
.official-contact a:hover { text-decoration: underline; }
.download-letter { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.bio-button,
.download-letter a,
.dropdown-button .main-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), box-shadow var(--transition);
  border: none;
}
.bio-button:hover,
.download-letter a:hover,
.dropdown-button .main-button:hover { background: var(--navy-dark); box-shadow: var(--shadow-sm); }
.dropdown-button { position: relative; display: inline-block; }
.dropdown-button .dropdown-content {
  display: none;
  position: absolute;
  background: var(--navy-dark);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border-top: 3px solid var(--gold);
  z-index: 1000;
  top: 100%; left: 0;
  overflow: hidden;
}
.dropdown-button .dropdown-content a { color: rgba(255,255,255,0.8); padding: 10px 16px; text-decoration: none; display: block; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.07); transition: background var(--transition), color var(--transition); }
.dropdown-button .dropdown-content a:last-child { border-bottom: none; }
.dropdown-button .dropdown-content a:hover { background: rgba(200,168,75,0.15); color: var(--gold-light); }
.dropdown-button:hover .dropdown-content { display: block; }

/* 8. CONTACT */
#contact-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; padding: 20px 0; margin-top: 10px; }
.contact-card {
  flex: 1 1 320px;
  max-width: 600px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--navy);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), border-top-color var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); border-top-color: var(--gold); }
.contact-heading { background: var(--bg-light); padding: 12px 20px; border-bottom: 1px solid var(--border-light); }
.contact-heading h3 { font-family: var(--font-heading); font-size: 16px; color: var(--navy); font-weight: 700; margin: 0; }
.address-block { font-family: var(--font-body); font-size: 14px; line-height: 1.85; padding: 14px 16px; border-left: 4px solid var(--gold); margin: 16px 20px 4px; background: var(--bg-offwhite); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.contact-info { padding: 8px 20px 18px; font-size: 14px; line-height: 1.9; color: var(--text-muted); }
.contact-info a { color: var(--navy-light); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* 9. MEMBER TABLE */
.table-scroll-wrapper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; min-width: 500px; background: var(--white); margin: 12px 0; }
th, td { border: 1px solid var(--border-light); padding: 10px 12px; font-family: var(--font-body); font-size: clamp(12px, 1.1vw, 14px); text-align: left; word-wrap: break-word; overflow-wrap: break-word; white-space: normal; vertical-align: middle; }
th { background: var(--navy); color: var(--white); font-weight: 600; letter-spacing: 0.5px; font-size: clamp(11px, 1vw, 13px); text-transform: uppercase; }
tr:nth-child(even) { background: var(--bg-offwhite); }
tr:hover td { background: #edf3fa; }

/* 10. PAGINATION */
.pagination { text-align: center; margin: 20px 16px; display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; background: var(--white); color: var(--navy); text-decoration: none; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; font-weight: 600; border: 1px solid var(--border-light); transition: background var(--transition), color var(--transition), border-color var(--transition); }
.pagination a.active,
.pagination a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* 11. IFRAME */
iframe { width: 100%; height: clamp(380px, 70vh, 800px); border: 1px solid var(--border-light); display: block; border-radius: var(--radius-sm); }

/* 12. YEAR/AUDIT DROPDOWN */
.year-dropdown-container { display: flex; justify-content: center; margin: 22px auto; padding: 0 16px; }
.year-dropdown-container select { font-family: var(--font-body); font-size: 15px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); min-width: 200px; max-width: 100%; cursor: pointer; color: var(--text-primary); background: var(--white); box-shadow: var(--shadow-sm); }

/* 13. PRINT */
.print-button { text-align: center; margin: 18px; }
.print-button button { padding: 10px 24px; font-family: var(--font-body); font-size: 14px; font-weight: 600; background: var(--navy); color: var(--white); border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background var(--transition); }
.print-button button:hover { background: var(--navy-dark); }
.print-letterhead { display: none; }
@media print {
  .print-letterhead { display: block; margin-bottom: 20px; }
  th, td { font-size: 11px; }
  .print-button, .pagination, header, footer,
  .page-buttons, .scrolling-text-container,
  .header-strip, .compliance-strip, .nav-toggle, .scroll-top-btn { display: none !important; }
  table { width: 100%; page-break-inside: auto; }
  tr { page-break-inside: avoid; page-break-after: auto; }
  tr.page-break { page-break-after: always; }
}

/* 14. FOOTER */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.5); text-align: center; padding: 12px 24px; font-family: var(--font-body); font-size: 13px; flex-shrink: 0; margin-top: auto; border-top: 1px solid rgba(255,255,255,0.08); }
footer a { color: rgba(200,168,75,0.75); text-decoration: none; transition: color var(--transition); }
footer a:hover { color: var(--gold); }

/* 15. SCROLL-TO-TOP */
.scroll-top-btn {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background var(--transition), transform var(--transition);
  z-index: 9998;
  box-shadow: var(--shadow-md);
  line-height: 1;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

/* 16. UTILITY */
.form-header   { text-align: center; font-family: var(--font-heading); font-size: 17px; font-weight: 700; padding: 5px; color: var(--navy); }
.form-subtitle { font-weight: 600; font-size: 12px; }
.heading       { text-align: center; color: var(--navy); font-family: var(--font-heading); font-size: clamp(17px, 2.2vw, 26px); margin: 16px 0; }
.text-slider-container { position: relative; width: 100%; max-width: 1000px; margin: 22px auto; overflow: hidden; background: var(--bg-light); padding: 12px 48px; border-radius: var(--radius); border: 1px solid var(--border-light); }
.text-slider-track { display: flex; transition: transform 0.5s ease-in-out; }
.text-slide { min-width: 100%; font-size: 1rem; text-align: center; padding: 10px; color: var(--text-primary); }
.text-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--navy); color: var(--white); border: none; padding: 7px 11px; cursor: pointer; font-size: 1.1rem; border-radius: var(--radius-sm); transition: background var(--transition); }
.text-slider-btn:hover { background: var(--gold); color: var(--navy); }
.text-slider-btn.prev { left: 8px; }
.text-slider-btn.next { right: 8px; }

/* 17. RESPONSIVE */
@media (max-width: 768px) {
  .header-inner { gap: 12px; padding: 10px 16px; }
  header img.logo { height: 52px; }
  .header-badges { display: none; }
  .header-divider { display: none; }
  .header-tagline { display: none; }
  .header-strip { font-size: 10.5px; gap: 5px; padding: 4px 12px; }

  /* Hamburger: fixed in top-right corner, always accessible */
  .nav-toggle {
    display: flex;
    position: fixed;
    top: 15px;
    right: 14px;
    z-index: 1003;
    padding: 8px 10px;
    background: rgba(13,33,55,0.55);
    border-radius: var(--radius-sm);
  }

  /* Collapse the nav bar — hamburger is fixed so bar is empty */
  .page-buttons {
    min-height: 0;
    height: 0;
    padding: 0;
    border-bottom: none;
    overflow: visible;
  }

  /* Slide-in sidebar from the LEFT */
  #nav-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    z-index: 1002;
    transition: left 0.3s ease;
    padding: 56px 0 40px;
    border-right: 3px solid var(--gold);
  }
  #nav-menu.open { left: 0; }

  .page-buttons button:not(.nav-toggle),
  .page-buttons a.btn-link,
  .dropbtn {
    width: 100%;
    border-radius: 0;
    padding: 13px 22px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-align: left;
    justify-content: flex-start;
  }
  .page-buttons button::after,
  .page-buttons a.btn-link::after,
  .dropbtn::after { display: none; }
  .dropdown { width: 100%; }
  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    background: rgba(0,0,0,0.22);
    display: none;
  }
  .dropdown.mobile-open > .dropdown-content { display: block; }
  .dropdown.mobile-open > .dropbtn { color: var(--gold-light); background: rgba(200,168,75,0.08); }
  .dropdown-content a { padding: 10px 36px; font-size: 13px; }

  .slider-wrapper { flex-direction: column; margin: 10px; gap: 10px; }
  .news-box { max-width: 100%; max-height: 220px; }
  .news-box h3 { font-size: 12px; padding: 5px 8px; }
  .news-box.left-news  { order: 1; }
  .slider-container    { order: 2; min-width: 100%; }
  .news-box.right-news { order: 3; }
  .official-item { flex-direction: column; gap: 14px; padding: 16px; }
  .official-left { flex-direction: row; align-items: flex-start; }
  .official-item img { width: 84px; height: auto; }
  .contact-card { flex: 1 1 100%; max-width: 100%; }
  iframe { height: clamp(280px, 55vw, 480px); }
  table { min-width: 440px; }
  .scroll-top-btn { bottom: 16px; right: 14px; width: 38px; height: 38px; font-size: 15px; }
}

@media (max-width: 480px) {
  .header-text,
  .header-text-devnagri { font-size: 14px; }
  .header-subtext { font-size: 11px; }
  .header-pub-strip { padding: 7px 12px; }
  .header-pub-strip-title { font-size: 13px; }
  .header-pub-strip-label { font-size: 10px; }
  .scrolling-text { font-size: 11px; }
  .caption  { font-size: 11px; padding: 22px 10px 8px; }
  .caption-text { -webkit-line-clamp: 2; }
  .caption-toggle { font-size: 10px; }
  .slide img { height: 220px; }
  .news-card img { height: 75px; }
  .news-card .title { font-size: 11.5px; }
  .news-card .intro { display: none; }
  .slider-btn { font-size: 15px; padding: 4px 7px; }
  .slider-wrapper { margin: 6px 8px; gap: 8px; }
  .news-box { max-height: 180px; padding: 10px 8px; }
  main { padding: 0 14px; }
  .content { padding: 0 14px; }
  .pagination a { min-width: 30px; height: 30px; font-size: 12px; }
  table { min-width: 360px; }
  th, td { font-size: 11px; padding: 7px 8px; }
  .official-item img { width: 70px; }
  .official-name { font-size: 16px; }
  .download-letter { flex-direction: column; gap: 8px; }
  .dropdown-button, .dropdown-button .main-button { width: 100%; justify-content: center; }
  .journal-strip { display: none; }
  .scroll-top-btn { bottom: 12px; right: 10px; width: 36px; height: 36px; font-size: 14px; }
}

/* ── Journal particulars strip on homepage ── */
.journal-strip {
  background: var(--navy-dark);
  border-bottom: 2px solid var(--gold);
  padding: 8px 20px;
}
.journal-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.js-col {
  display: flex;
  flex-direction: column;
  padding: 4px 14px;
}
.js-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  letter-spacing: 0.8px;
  font-weight: 600;
}
.js-val {
  font-size: 12px;
  color: #e0e8f0;
  font-family: var(--font-body);
  margin-top: 1px;
}
.js-divider {
  width: 1px;
  height: 30px;
  background: rgba(200,168,75,0.35);
  flex-shrink: 0;
}
