@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/*
Theme Name:  IIM Bodh Gaya
Theme URI:   https://iimbg.ac.in
Author:      IIM Bodh Gaya
Author URI:  https://iimbg.ac.in
Description: Official WordPress theme for IIM Bodh Gaya — a premium academic theme with navy & gold palette, built for management institutions. Features custom post types for Faculty and Academic Programs, hero sliders, placements showcase, and full responsive layout.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iimbg
Tags:        education, university, custom-colors, custom-menu, featured-images, full-width-template, two-columns, block-styles, wide-blocks
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */

:root {
  --navy:       #0d1b3e;
  --navy-light: #1a2f5c;
  --gold:       #c8a84b;
  --gold-light: #e8c96a;
  --white:      #ffffff;
  --off-white:  #f5f3ee;
  --gray:       #8a8f9e;
  --light-gray: #e8e9ed;
  --text:       #1c1e2a;
  --transition: cubic-bezier(0.77,0,0.18,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  /* Google Fonts: Arvo loaded via @import */
	
	/*font-family: Segoe UI Semilight !important;*/
  font-family: 'Arvo', serif;
  background: #fff;	
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  
	 font-family: 'Arvo', serif;
  color: var(--navy);
  line-height: 1.2;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.container { max-width: 1280px; margin: 0 auto; padding: 0 80px; }

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

.bg-offwhite{ background: var(--off-white); }


.scd-hero-bg {
    position: absolute;
    inset: 0;                          /* covers the full .page-header */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* BUTTONS */

.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 14px 32px; border-radius: 3px;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.5px; border: none;
  transition: all 0.3s; display: inline-flex;
  align-items: center; gap: 8px;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); color: var(--navy); }

.btn-outline {
  background: transparent; color: #fff;
  padding: 14px 32px; border-radius: 3px;
  font-weight: 600; font-size: 15px;
  letter-spacing: 0.5px;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: all 0.3s; display: inline-flex;
  align-items: center; gap: 8px;
}

.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* SCROLL REVEAL */

.reveal        { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal-left   { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal-right  { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}

/* ============================================================
   LOADER
   ============================================================ */

.loader-overlay {
  position: fixed; inset: 0; background: var(--navy);
  z-index: 9999; display: flex; align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.loader-overlay.hidden,
.loader-overlay.loader-gone { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-ring {
  width: 60px; height: 60px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   NAVBAR
   ============================================================ */

/* #site-header.scrolled {
  background: rgba(13,27,62,0.97);
  padding: 12px 48px;
  backdrop-filter: blur(20px);
} */

.site-branding {
  display: flex; align-items: center; gap: 12px;
}

.site-branding .logo-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.site-branding .logo-text .name {
  font-family: 'Arvo', serif;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.5px; color: #fff; display: block;
}

.site-branding .logo-text .sub {
  font-size: 10px; color: rgba(255,255,255,0.7);
  letter-spacing: 1.5px; text-transform: uppercase;
}

#primary-navigation a {
  color: rgba(255,255,255,0.85); font-size: 13px;
  font-weight: 500; letter-spacing: 0.5px;
  transition: color 0.3s; position: relative;
}

#primary-navigation a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.3s;
}

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

#primary-navigation a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 9px 22px; border-radius: 4px; font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover { background: var(--gold-light) !important; }

.nav-hamburger span { width: 35px; height: 2px; background: #fff; display: block; transition: all 0.4s;     border-radius: 5px;}

/* MOBILE POPUP MENU */

.popup-menu {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--navy);
  transform: translateY(-100%);
  transition: transform 0.7s var(--transition);
  display: flex; flex-direction: column;
}

.popup-menu.open { transform: translateY(0); }

.popup-top { display: flex; justify-content: space-between; align-items: center; padding: 24px 48px; }

.popup-close {
  background: none; border: 1px solid rgba(255,255,255,0.2);
  color: #fff; width: 48px; height: 48px; border-radius: 50%;
  font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}

.popup-close:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.popup-body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 25px 400px; }

.popup-nav { display: flex; flex-direction: column; gap: 8px; }

.popup-nav-item {
  font-family: 'Arvo', serif;
  font-size: clamp(32px, 5vw, 40px); font-weight: 700;
  color: rgba(255,255,255,0.15);
  transition: all 0.4s; cursor: pointer; line-height: 1.2;
  display: block; position: relative; padding-left: 0;
}

.popup-nav-item:hover { color: #fff; padding-left: 20px; }

.popup-nav-item::before {
  content: ''; position: absolute; left: -20px; top: 50%;
  transform: translateY(-50%); width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%; opacity: 0; transition: all 0.4s;
}

.popup-nav-item:hover::before { opacity: 1; left: 0; }

.popup-right { display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 48px; }

.popup-programs h4 { color: var(--gold); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }

.popup-programs a { display: block; color: rgba(255,255,255,0.6); font-size: 15px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); transition: all 0.3s; }

.popup-programs a:hover { color: #fff; padding-left: 10px; }

.popup-contact { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 1.8; }

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

/* ============================================================
   HERO SLIDER
   ============================================================ */

.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }

.hero-slide.active { opacity: 1; }

.hero-slide .slide-bg {
  width: 100%; height: 100%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,27,62,0.85) 40%, rgba(13,27,62,0.3) 100%);
}

.hero-content {
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  padding: 0 80px; max-width: 680px;
}

.hero-title {
  font-family: 'Arvo', serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900; color: #fff;
  line-height: 1.08; margin-bottom: 24px;
}

.hero-title em { color: var(--gold); font-style: normal; }

.hero-subtitle {
  color: rgba(255,255,255,0.7); font-size: 17px;
  line-height: 1.7; margin-bottom: 40px; font-weight: 300;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stat .num {
  font-family: 'Arvo', serif; font-size: 32px;
  font-weight: 700; color: var(--gold); display: block;
}

.hero-stat .label { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 1px; text-transform: uppercase; }

.slide-controls {
  position: absolute; bottom: 48px; right: 80px;
  display: flex; gap: 12px; align-items: center;
}

.slide-dot {
  width: 28px; height: 3px; background: rgba(255,255,255,0.3);
  border: none; cursor: pointer; transition: all 0.4s; padding: 0;
}

.slide-dot.active { background: var(--gold); width: 48px; }

.slide-prev, .slide-next {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.3);
  background: transparent; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: all 0.3s; border-radius: 2px;
}

.slide-prev:hover, .slide-next:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

<!-- ═══════════════════════════════════════════════════════════════════
     DYNAMIC SECTION — Notifications | News & Updates | Director's Corner
     Manage via: WP Admin → (respective menu items)
     Requires: inc/cpt-register.php included in functions.php
     ═══════════════════════════════════════════════════════════════════ -->

/* ── Section shell ───────────────────────────────────────── */
.iimbg-dynamic-section {
    background: #f4f6fb;
    padding: 72px 0 80px;
}

.iimbg-dynamic-heading {
    max-width: 1220px;
    margin: 0 auto 40px;
    padding: 0 24px;
}

.iimbg-dynamic-heading .section-tag   { margin-bottom: 8px; }

.iimbg-dynamic-heading .section-title { margin: 0; }

.iimbg-dynamic-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.45fr 1fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 1024px) {
    .iimbg-dynamic-inner  { grid-template-columns: 1fr 1fr; }
    .iimbg-col-director   { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .iimbg-dynamic-inner  { grid-template-columns: 1fr; }
    .iimbg-col-director   { grid-column: auto; }
    .iimbg-dynamic-section{ padding: 48px 0 56px; }
}

/* ── Shared column card ──────────────────────────────────── */

.iimbg-col {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.iimbg-col-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 18px 22px 14px;
    border-bottom: 2px solid #f0f2f7;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}

.iimbg-col-icon { font-size: 17px; line-height: 1; }

.iimbg-col-header h3 {
    flex: 1;
    font-size: 13px;
    font-weight: 800;
    color: #1a2b4a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.iimbg-view-all {
    font-size: 11.5px;
    font-weight: 700;
    color: #c8a84b;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}

.iimbg-view-all:hover { color: #9a7828; }

.iimbg-empty {
    padding: 28px 22px;
    color: #b0bac9;
    font-size: 13px;
    text-align: center;
}

/* ── Badges ──────────────────────────────────────────────── */

.iimbg-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: #f1f5f9;
    color: #475569;
}

.iimbg-badge-new        { background: #dcfce7; color: #166534; }

.iimbg-badge-urgent     { background: #fee2e2; color: #991b1b; }

.iimbg-badge-admission  { background: #dbeafe; color: #1e40af; }

.iimbg-badge-event      { background: #fef3c7; color: #92400e; }

.iimbg-badge-featured   { background: #ede9fe; color: #5b21b6; }

.iimbg-badge-press      { background: #e0f2fe; color: #075985; }

.iimbg-badge-recruitment{ background: #fce7f3; color: #9d174d; }

/* ── NOTIFICATIONS ───────────────────────────────────────── */
.unified-feed-col {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #e8ecf3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(26,43,74,.07);
}
.unified-feed-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  background: linear-gradient(135deg, #1a2b4a 0%, #0f1c35 100%);
  border-bottom: 2px solid #c8a84b;
  gap: 10px;
  flex-wrap: wrap;
}
.unified-feed-hdr-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.unified-feed-hdr-title h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .3px;
}
.unified-feed-hdr-title .uf-icon {
  width: 30px; height: 30px;
  background: rgba(200,168,75,.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.unified-feed-viewall {
  font-size: 11.5px;
  font-weight: 700;
  color: #c8a84b;
  text-decoration: none;
  border: 1px solid rgba(200,168,75,.35);
  padding: 4px 12px;
  border-radius: 99px;
  transition: background .2s;
  white-space: nowrap;
}
.unified-feed-viewall:hover { background: rgba(200,168,75,.12); }

/* Ticker viewport */
.uf-ticker-outer {
  position: relative;
  height: 350px;
  overflow: hidden;
  cursor: default;
}
.uf-ticker-outer::before,
.uf-ticker-outer::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 52px;
  z-index: 4;
  pointer-events: none;
}
.uf-ticker-outer::before {
  top: 0;
  background: linear-gradient(to bottom, #fff 0%, transparent 100%);
}
.uf-ticker-outer::after {
  bottom: 0;
  background: linear-gradient(to top, #fff 0%, transparent 100%);
}
.uf-ticker-inner {
  position: absolute;
  top: 0; left: 0; right: 0;
  will-change: transform;
  padding: 8px 0;
}

/* Feed items */
.uf-item {
  display: flex;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #f0f3f8;
  transition: background .18s;
  align-items: flex-start;
}
.uf-item:hover { background: #f8faff; }
.uf-item:last-child { border-bottom: none; }

.uf-type-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.uf-type-notice .uf-type-dot { background: #e04b26; }
.uf-type-news   .uf-type-dot { background: #007cc3; }

.uf-item-body { flex: 1; min-width: 0; }

.uf-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}
.uf-type-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 2px 7px;
  border-radius: 4px;
}
.uf-type-notice .uf-type-label { background: #fff0ed; color: #c0300a; }
.uf-type-news   .uf-type-label { background: #e8f4ff; color: #005d99; }

.uf-item-date {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}
.nbadge {
  font-size: 10px; font-weight: 800;
  padding: 2px 7px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .4px;
}
.nbadge-new     { background:#dcfce7; color:#166534; }
.nbadge-urgent  { background:#fee2e2; color:#991b1b; }
.nbadge-exam    { background:#fef3c7; color:#92400e; }
.nbadge-result  { background:#ede9fe; color:#4c1d95; }
.nbadge-award   { background:#fef3c7; color:#92400e; }
.nbadge-general { background:#f1f5f9; color:#475569; }

.uf-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a2b4a;
  line-height: 1.5;
  margin: 0 0 4px;
}
.uf-item-title a {
  color: inherit;
  text-decoration: none;
}
.uf-item-title a:hover { color: #c8a84b; }

.uf-item-link {
  font-size: 11.5px;
  color: #1a2b4a;
  text-decoration: none;
  font-weight: 600;
  opacity: .75;
}
.uf-item-link:hover { opacity: 1; color: #c8a84b; }

.uf-item-thumb {
  width: 52px; height: 44px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}
.uf-item-src {
  font-size: 11px;
  color: #94a3b8;
}

/* Footer link */
.uf-footer {
  padding: 10px 20px;
  border-top: 1px solid #e8ecf3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.uf-footer a {
  font-size: 12px;
  font-weight: 700;
  color: #1a2b4a;
  text-decoration: none;
  opacity: .7;
  transition: opacity .15s;
}
.uf-footer a:hover { opacity: 1; color: #c8a84b; }

/* Live indicator */
.uf-live {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: #16a34a;
}
.uf-live-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: uf-pulse 1.4s ease-in-out infinite;
}
@keyframes uf-pulse {
  0%,100%{ transform:scale(1); opacity:1; }
  50%    { transform:scale(1.5); opacity:.6; }
}


/* ── DIRECTOR'S CORNER ───────────────────────────────────── */

.iimbg-col-director {
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.iimbg-col-director .iimbg-col-header {
    background: #1a2b4a;
    border-radius: 18px 18px 0 0;
    border-bottom-color: rgba(255,255,255,.1);
}

.iimbg-col-director .iimbg-col-header h3 { color: #fff; }

.iimbg-director-card {
    background: linear-gradient(155deg, #1e3158 0%, #0e1c3a 100%);
    border-radius: 0 0 18px 18px;
    padding: 26px 24px 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.iimbg-director-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(200,168,75,.08) 0%, transparent 60%);
    pointer-events: none;
}

.iimbg-director-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
}

.iimbg-director-photo-wrap {
    width: 76px; height: 76px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2.5px solid #c8a84b;
    overflow: hidden;
    position: relative;
    background: rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: center;
}

.iimbg-director-photo { width: 100%; height: 100%; object-fit: cover; }

.iimbg-director-badge {
    position: absolute;
    bottom: -1px; right: -1px;
    width: 22px; height: 22px;
    background: #c8a84b;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
}

.iimbg-director-name {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.iimbg-director-desig {
    display: block;
    font-size: 11.5px;
    color: #c8a84b;
    margin-top: 3px;
    line-height: 1.4;
}

.iimbg-director-quote-mark {
    font-size: 15px;
    font-family: 'Arvo', serif;
    color: #c8a84b;
    line-height: .75;
    margin-bottom: 8px;
    
    position: relative;
}

.iimbg-director-message {
    font-size: 14px;
    color: rgba(255,255,255,.82);
    line-height: 1.8;
    margin-bottom: 18px;
    position: relative;
}

.iimbg-director-sig {
    font-size: 12.5px;
    color: #c8a84b;
    font-style: italic;
    padding-top: 12px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(200,168,75,.2);
    position: relative;
}

.iimbg-director-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 24px;
    background: #c8a84b;
    color: #1a2b4a;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
    position: relative;
}

.iimbg-director-btn:hover {
    background: #dab95c;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(200,168,75,.35);

}

/* ============================================================
   ABOUT STRIP
   ============================================================ */

.about-strip {
  background: var(--navy); padding: 60px 80px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; align-items: center;
}

.about-strip-text { color: #fff; }

.about-strip-text h3 { font-family: 'Arvo', serif; font-size: 24px; font-weight: 700; margin-bottom: 12px; }

.about-strip-text p { font-size: 14px; opacity: 0.65; line-height: 1.7; }

.stat-item { text-align: center; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 48px; }

.stat-item .n { font-family: 'Arvo', serif; font-size: 42px; font-weight: 700; color: var(--gold); }

.stat-item .l { font-size: 12px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }

/* ============================================================
   PROGRAMS SECTION
   ============================================================ */

.programs-section { background: var(--off-white); padding: 100px 80px; }

.programs-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; margin-top: 52px;
}

.program-card {
  background: #fff; border-radius: 4px; overflow: hidden;
  cursor: pointer; transition: all 0.4s var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.program-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(13,27,62,0.15); }

.program-card-top {
  height: 180px; background: var(--navy); position: relative;
  overflow: hidden; display: flex; align-items: flex-end; padding: 24px;
}

.program-card-top::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,0.9) 0%, transparent 60%);
}

.program-card-top .prog-num {
  position: absolute; top: 20px; right: 20px;
  font-family: 'Arvo', serif; font-size: 60px;
  font-weight: 900; color: rgba(255,255,255,0.07);
}

.prog-bg-1 { background: linear-gradient(135deg,#1a2f5c,#0d4a7a); }

.prog-bg-2 { background: linear-gradient(135deg,#1e3a20,#2d5a30); }

.prog-bg-3 { background: linear-gradient(135deg,#3a1f0d,#7a3410); }

.prog-bg-4 { background: linear-gradient(135deg,#1a0d3a,#4a1a6e); }

.program-card-top h3 {
  color: #fff; font-family: 'Arvo', serif;
  font-size: 18px; font-weight: 700; position: relative; z-index: 1; line-height: 1.3;
}

.program-card-body { padding: 24px; }

.prog-tag {
  display: inline-block; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  background: rgba(200,168,75,0.1); padding: 4px 10px;
  border-radius: 2px; margin-bottom: 12px; font-weight: 600;
}

.program-card-body p { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }

.prog-link {
  font-size: 13px; color: var(--navy); font-weight: 600;
  display: flex; align-items: center; gap: 6px; transition: gap 0.3s;
}

.program-card:hover .prog-link { gap: 12px; }

/* ============================================================
   WHY SECTION
   ============================================================ */

.why-image-wrap { position: relative; }

.why-image-wrap img { width: 100%; border-radius: 4px; }

.why-image-placeholder {
  width: 100%; height: 420px;
  background: linear-gradient(135deg,var(--navy),var(--navy-light));
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
}

.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }

.why-feat-icon { width: 40px; height: 40px; min-width: 40px; background: rgba(200,168,75,0.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* ============================================================
   PLACEMENTS SECTION
   ============================================================ */

.placements-section { background: var(--navy); padding: 100px 80px; }

.placements-section .section-title { color: #fff; }

.placements-section .section-sub { color: rgba(255,255,255,0.55); }

.placement-numbers { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 52px; background: rgba(255,255,255,0.05); }

.placement-num-item { text-align: center; padding: 48px 32px; background: rgba(255,255,255,0.03); }

.placement-num-item .n { font-family: 'Arvo', serif; font-size: 52px; font-weight: 900; color: var(--gold); display: block; }

.placement-num-item .l { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 8px; text-transform: uppercase; letter-spacing: 1.5px; }

.companies-row { display: flex; gap: 0; margin-top: 2px; flex-wrap: wrap; }

.company-pill { flex: 1; min-width: 140px; padding: 24px; background: rgba(255,255,255,0.03); text-align: center; color: rgba(255,255,255,0.35); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s; }

.company-pill:hover { background: rgba(200,168,75,0.1); color: var(--gold); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */

.page-header {
  background: linear-gradient(to right, var(--navy), var(--navy-light));
  padding: 50px 80px 80px; text-align: center;
	    position: relative;
    overflow: hidden;
}
.page-header .section-tag,
.page-header h1,
.page-header p,
.page-header a,
.page-header input,
.page-header button {
    position: relative !important;
    z-index: 1 !important;
}
.page-header h1 { font-family: 'Arvo', serif; font-size: clamp(36px,5vw,58px); font-weight: 700; color: #fff; margin-bottom: 16px; }

.page-header p { color: rgba(255,255,255,0.6); font-size: 16px; }

.page-header-stats { display: flex; justify-content: center; gap: 48px; margin-top: 48px; flex-wrap: wrap; }

.page-header-stat { text-align: center; }

.page-header-stat .n { font-family: 'Arvo', serif; font-size: 36px; color: var(--gold); font-weight: 700; display: block; }

.page-header-stat .l { color: rgba(255,255,255,0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-content { padding: 80px; }

.about-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; /* margin-top: 60px; */ padding: 60px 80px; background: var(--off-white); }

.value-card { background: #fff; padding: 32px 24px; border-radius: 4px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }

.value-icon { font-size: 25px; margin-bottom: 16px; }

.value-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }

.value-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

.leadership-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 52px; }

.leader-card { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border: 1px solid var(--light-gray); border-radius: 4px; }

.leader-photo { width: 80px; height: 80px; min-width: 80px; border-radius: 50%; background: linear-gradient(135deg,var(--navy),var(--navy-light)); display: flex; align-items: center; justify-content: center; overflow: hidden; }

.leader-photo img { width: 100%; height: 100%; object-fit: cover; }

.leader-info h3 { font-size: 16px; color: var(--navy); margin-bottom: 4px; }

.leader-info .role { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 8px; }

.leader-info p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ============================================================
   FACULTY ARCHIVE
   ============================================================ */

.faculty-search-bar { max-width: 580px; margin: 36px auto 0; display: flex; background: #fff; border-radius: 3px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.3); }

.faculty-search-bar input { flex: 1; padding: 16px 20px; border: none; outline: none; font-size: 15px; font-family: 'Arvo', serif; }

.faculty-search-bar button { background: var(--gold); border: none; padding: 16px 24px; cursor: pointer; color: var(--navy); font-size: 18px; }

.faculty-filters { background: #fff; border-bottom: 1px solid var(--light-gray); padding: 0 80px; display: flex; gap: 0; overflow-x: auto; }

.faculty-filter-btn { padding: 18px 24px; border: none; background: none; cursor: pointer; font-family: 'Arvo', serif; font-size: 13px; font-weight: 500; color: var(--gray); border-bottom: 2.5px solid transparent; transition: all 0.3s; white-space: nowrap; }

.faculty-filter-btn.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 700; }

.faculty-filter-btn:hover { color: var(--navy); }

.faculty-grid-section { padding: 60px 80px; }

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

.faculty-card { background: #fff; border: 1px solid var(--light-gray); border-radius: 4px; overflow: hidden; cursor: pointer; transition: all 0.4s var(--transition); }

.faculty-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(13,27,62,0.12); border-color: transparent; }

.faculty-card-img { height: 200px; background: linear-gradient(135deg,#e8e9ed,#f5f6fa); display: flex; align-items: center; justify-content: center; overflow: hidden; }

.faculty-card-img img { width: 100%; height: 100%; /*object-fit: cover;*/ }

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

.faculty-card-name { font-family: 'Arvo', serif; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }

.faculty-card-role { font-size: 11px; color: var(--gold); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }

.faculty-card-dept { font-size: 13px; color: var(--gray); }

.faculty-card-phd { font-size: 12px; color: var(--gray); margin-top: 4px; opacity: 0.8; }

.faculty-pagination { display: flex; justify-content: center; gap: 8px; padding: 0 80px 60px; align-items: center; }

.page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--light-gray); border-radius: 3px; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.3s; background: #fff; color: var(--gray); }

.page-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.page-btn:hover:not(.active) { border-color: var(--navy); color: var(--navy); }

/* ============================================================
   FACULTY PROFILE (single-faculty)
   ============================================================ */

.profile-hero { background: linear-gradient(to right,var(--navy),var(--navy-light)); padding: 60px 80px 60px; }

.profile-breadcrumb { color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 40px; }

.profile-breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.3s; }

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

.profile-breadcrumb span { margin: 0 10px; }

.profile-header-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: end; }

.profile-photo { width: 220px; height: 260px; object-fit: cover; border-radius: 4px; border: 3px solid var(--gold); display: block; }

.profile-photo-placeholder { width: 220px; height: 260px; background: linear-gradient(135deg,#1e3a7e,#0d4a7a); border-radius: 4px; border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; }

.profile-info h1 { font-family: 'Arvo', serif; font-size: clamp(28px,4vw,46px); font-weight: 700; color: #fff; margin-bottom: 8px; }

.profile-info .role { color: var(--gold); font-size: 15px; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px; }

.profile-info .dept { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 28px; }

.profile-email { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 12px; }

.profile-body { display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;
    padding: 40px 00px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    width: 100%; }

.profile-sidebar-nav { position: sticky; top: 100px; }

.sidebar-link { display: block; padding: 12px 0; border-bottom: 1px solid var(--light-gray); font-size: 14px; color: var(--gray); cursor: pointer; transition: all 0.3s; }

.sidebar-link:hover, .sidebar-link.active { color: var(--navy); font-weight: 600; padding-left: 8px; }

.profile-section { margin-bottom: 35px; }

.profile-section h2 { font-family: 'Arvo', serif; font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--light-gray); }

.profile-section h2 span { display: inline-block; border-bottom: 2px solid var(--gold); margin-bottom: -14px; }

.profile-section p { font-size: 13px; line-height: 1.8; color: var(--text);text-align:justify; }

.edu-item { display: flex; gap: 20px; margin-bottom: 10px; }

.edu-dot { width: 6px; height: 6px; min-width: 6px; background: var(--gold); border-radius: 50%; margin-top: 6px; }

.edu-text strong { display: block; font-size: 13px; font-weight: 100; color: var(--navy); margin-bottom: 2px; }

.edu-text span { font-size: 13px; color: var(--gray); }

/* ============================================================
   PROGRAMS ARCHIVE
   ============================================================ */

/*.programs-archive-section { padding: 80px; }
.programs-full-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.program-full-card { background: #fff; border: 1px solid var(--light-gray); border-radius: 4px; overflow: hidden; transition: all 0.4s; }
.program-full-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(13,27,62,0.12); border-color: transparent; }
.program-full-card-top { height: 220px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 32px; }
.program-full-card-top::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top,rgba(13,27,62,0.9) 0%,transparent 60%); }
.program-full-card-top h2 { color: #fff; font-family: 'Arvo', serif; font-size: 24px; position: relative; z-index: 1; }
.program-full-card-body { padding: 32px; }
.program-meta-row { display: flex; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.program-meta-item { }
.program-meta-item .meta-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; display: block; margin-bottom: 2px; }
.program-meta-item .meta-val { font-size: 14px; color: var(--navy); font-weight: 600; }
.program-full-card-body p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }*/

/* ═══════════════════════════════════════════════════
   PROGRAMS ARCHIVE — 3-column redesign
   All selectors are new (iimbg-pa-*) — no conflicts
   ═══════════════════════════════════════════════════ */

/* Force-override the old 2-col grid from style.css */

.programs-full-grid,
.programs-archive-section .programs-full-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
}

@media (max-width: 1024px) {
    .programs-full-grid,
    .programs-archive-section .programs-full-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .programs-full-grid,
    .programs-archive-section .programs-full-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Hero ─────────────────────────────────────── */

.iimbg-pa-hero {
    position: relative;
    background: linear-gradient(150deg,#0b1835 0%,#112354 55%,#1a3060 100%);
    padding: 50px clamp(20px,6vw,80px) 72px;
    overflow: hidden;
    text-align: center;
}

.iimbg-pa-hero::before {
    content:'';position:absolute;inset:0;pointer-events:none;
    background:
        radial-gradient(ellipse at 20% 55%,rgba(200,168,75,.14) 0%,transparent 55%),
        radial-gradient(ellipse at 80% 30%,rgba(74,130,200,.1)  0%,transparent 50%);
}

.iimbg-pa-hero::after {
    content:'';position:absolute;inset:0;pointer-events:none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size:52px 52px;
}

.iimbg-pa-hero-in { position:relative;z-index:1;/*max-width:740px;*/margin:0 auto; }

.iimbg-pa-pill {
    display:inline-flex;align-items:center;gap:8px;
    background:rgba(200,168,75,.14);border:1px solid rgba(200,168,75,.35);
    color:#c8a84b;font-size:11px;font-weight:800;letter-spacing:.12em;
    text-transform:uppercase;padding:6px 18px;border-radius:99px;margin-bottom:22px;
}

.iimbg-pa-pill::before{content:'';width:6px;height:6px;background:#c8a84b;border-radius:50%;}

.iimbg-pa-hero h1 {
    font-family:'Arvo',serif;
    font-size:clamp(2rem,5vw,3.5rem);font-weight:800;
    color:#fff;line-height:1.12;margin-bottom:16px;
}

.iimbg-pa-hero h1 em{font-style:normal;color:#c8a84b;}

.iimbg-pa-hero p {
    font-size:clamp(.95rem,1.8vw,1.08rem);color:rgba(255,255,255,.62);
    max-width:500px;margin:0 auto 36px;line-height:1.75;
}

.iimbg-pa-stats {
    display:inline-flex;flex-wrap:wrap;
    border:1px solid rgba(255,255,255,.12);border-radius:12px;overflow:hidden;
    background:rgba(255,255,255,.05);backdrop-filter:blur(8px);
}

.iimbg-pa-stat{padding:14px 26px;text-align:center;border-right:1px solid rgba(255,255,255,.1);}

.iimbg-pa-stat:last-child{border-right:none;}

.iimbg-pa-stat .n{display:block;font-family:'Arvo',serif;font-size:1.55rem;font-weight:900;color:#c8a84b;line-height:1;}

.iimbg-pa-stat .l{font-size:.63rem;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.1em;margin-top:4px;}

.iimbg-pa-wave{display:block;width:100%;line-height:0;background:#f5f4f0;}

.iimbg-pa-wave svg{display:block;width:100%;}

/* ── Section ──────────────────────────────────── */

.iimbg-pa-section {
    background:#f5f4f0;
    padding:60px clamp(16px,5vw,72px) 88px;
}

.iimbg-pa-head {
    max-width:1280px;margin:0 auto 40px;
    display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;
}

.iimbg-pa-head h2{font-family:'Arvo',serif;font-size:clamp(1.3rem,2.5vw,1.75rem);color:#0d1b3e;font-weight:800;margin:0;}

.iimbg-pa-badge{font-size:.78rem;color:#64748b;font-weight:600;background:#fff;border:1px solid #e2e8f0;padding:6px 16px;border-radius:99px;}

/* ── 3-col grid ───────────────────────────────── */

.iimbg-pa-grid {
    max-width:1280px;margin:0 auto;
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:26px;
}

@media(max-width:1024px){.iimbg-pa-grid{grid-template-columns:repeat(2,1fr) !important;}}

@media(max-width:620px) {.iimbg-pa-grid{grid-template-columns:1fr !important;}}

/* ── Card ─────────────────────────────────────── */

.iimbg-pa-card {
    background:#fff;border-radius:18px;overflow:hidden;
    display:flex;flex-direction:column;
    box-shadow:0 2px 18px rgba(13,27,62,.07);
    border:1px solid rgba(13,27,62,.06);
    transition:transform .28s ease,box-shadow .28s ease;
}

.iimbg-pa-card:hover{transform:translateY(-7px);box-shadow:0 18px 50px rgba(13,27,62,.14);}

/* Banner */

.iimbg-pa-banner{position:relative;height:185px;overflow:hidden;flex-shrink:0;}

.iimbg-pa-banner-bg{
    position:absolute;inset:0;
    background-size:cover;background-position:center;
    transition:transform .5s ease;
}

.iimbg-pa-card:hover .iimbg-pa-banner-bg{transform:scale(1.06);}

.iimbg-pa-banner-ov{
    position:absolute;inset:0;
    background:linear-gradient(to top,rgba(8,16,40,.9) 0%,rgba(8,16,40,.25) 65%,transparent 100%);
}

.iimbg-pa-banner-in{
    position:absolute;inset:0;display:flex;flex-direction:column;
    justify-content:space-between;padding:16px 20px;
}

.iimbg-pa-card-icon{
    width:40px;height:40px;
    background:rgba(255,255,255,.15);backdrop-filter:blur(6px);
    border:1px solid rgba(255,255,255,.25);border-radius:10px;
    display:flex;align-items:center;justify-content:center;
    font-size:18px;align-self:flex-start;
}

.iimbg-pa-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;}

.iimbg-pa-banner h2{
    font-family:'Arvo',serif;
    font-size:clamp(.95rem,1.5vw,1.15rem);font-weight:800;
    color:#fff;line-height:1.25;margin:0;flex:1;
}

.iimbg-pa-tag{
    flex-shrink:0;font-size:9px;font-weight:800;
    letter-spacing:.1em;text-transform:uppercase;
    padding:3px 9px;border-radius:99px;
    background:rgba(200,168,75,.22);border:1px solid rgba(200,168,75,.5);
    color:#e8c96a;white-space:nowrap;
}

/* Body */

.iimbg-pa-body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1;}

.iimbg-pa-meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px;}

.iimbg-pa-meta-chip{
    display:flex;flex-direction:column;gap:1px;
    background:#f5f7fb;border:1px solid #e8edf5;
    padding:6px 11px;border-radius:8px;
}

.iimbg-pa-meta-chip .ml{font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:#94a3b8;}

.iimbg-pa-meta-chip .mv{font-size:12.5px;font-weight:700;color:#0d1b3e;}

.iimbg-pa-excerpt{
    font-size:13px;color:#64748b;line-height:1.7;flex:1;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
    margin-bottom:18px;
}

.iimbg-pa-btn {
    display:inline-flex;align-items:center;gap:7px;
    padding:9px 20px;
    background:#0d1b3e;color:#fff !important;
    font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
    text-decoration:none !important;border-radius:8px;align-self:flex-start;
    transition:background .2s,transform .15s,box-shadow .2s;
}

.iimbg-pa-btn:hover{background:#c8a84b;color:#0d1b3e !important;transform:translateY(-1px);box-shadow:0 6px 16px rgba(200,168,75,.35);}

.iimbg-pa-btn svg{transition:transform .2s;}

.iimbg-pa-btn:hover svg{transform:translateX(3px);}

/* ── CTA Banner ───────────────────────────────── */

.iimbg-pa-cta{
    max-width:1280px;margin:52px auto 0;
    background:linear-gradient(135deg,#0d1b3e,#1a2f5c);
    border-radius:20px;padding:48px clamp(24px,4vw,64px);
    display:flex;align-items:center;justify-content:space-between;
    gap:28px;flex-wrap:wrap;position:relative;overflow:hidden;
}

.iimbg-pa-cta::before{
    content:'';position:absolute;right:-60px;top:-60px;
    width:250px;height:250px;
    background:radial-gradient(circle,rgba(200,168,75,.15) 0%,transparent 70%);
    pointer-events:none;
}

.iimbg-pa-cta h3{font-family:'Arvo',serif;font-size:clamp(1.2rem,2.5vw,1.65rem);color:#fff;margin-bottom:8px;font-weight:800;}

.iimbg-pa-cta p{font-size:.88rem;color:rgba(255,255,255,.6);max-width:400px;line-height:1.6;margin:0;}

.iimbg-pa-cta-btns{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}

.iimbg-pa-apply{
    display:inline-flex;align-items:center;gap:7px;
    padding:12px 28px;background:#c8a84b;color:#0d1b3e !important;
    font-weight:800;font-size:.83rem;letter-spacing:.05em;text-transform:uppercase;
    text-decoration:none !important;border-radius:8px;
    transition:background .2s,transform .15s,box-shadow .2s;
}

.iimbg-pa-apply:hover{background:#e8c96a;transform:translateY(-2px);box-shadow:0 8px 22px rgba(200,168,75,.4);}

.iimbg-pa-contact{
    display:inline-flex;align-items:center;gap:7px;
    padding:12px 26px;border:1.5px solid rgba(255,255,255,.3);color:#fff !important;
    font-weight:700;font-size:.83rem;letter-spacing:.04em;
    text-decoration:none !important;border-radius:8px;
    transition:border-color .2s,background .2s;
}

.iimbg-pa-contact:hover{border-color:#fff;background:rgba(255,255,255,.08);}

/* ============================================================
   PROGRAM DETAIL (single-program)
   ============================================================ */

.prog-detail-hero { background: linear-gradient(to right,var(--navy),var(--navy-light)); padding: 120px 80px 64px; }

.prog-breadcrumb { color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 32px; }

.prog-breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.3s; }

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

.prog-breadcrumb span { margin: 0 10px; }

.prog-detail-tag { color: var(--gold); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }

.prog-detail-title { font-family: 'Arvo', serif; font-size: clamp(28px,4vw,52px); font-weight: 700; color: #fff; margin-bottom: 24px; }

.prog-meta-chips { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

.prog-chip { background: rgba(255,255,255,0.08); padding: 12px 20px; border-radius: 3px; border: 1px solid rgba(255,255,255,0.12); }

.prog-chip-label { color: var(--gold); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 4px; }

.prog-chip-val { color: #fff; font-size: 13px; font-weight: 500; }

.prog-body { display: grid; grid-template-columns: 220px 1fr; gap: 60px; padding: 64px 80px; max-width: 1280px; margin: 0 auto; }

.prog-section { padding-bottom: 52px;  background: #fff; }

.prog-section h2 { font-family: 'Arvo', serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--light-gray); }

.prog-section h2 span { display: inline-block; border-bottom: 2px solid var(--gold); margin-bottom: -12px; }

.prog-section p { font-size: 13px; line-height: 1.8; color: var(--text);text-align: justify; }

.prog-highlights-list { display: flex; flex-direction: column; gap: 12px; }

.prog-highlight-item { display: flex; gap: 16px; padding: 16px; background: var(--off-white); border-radius: 4px; }

.prog-highlight-dot { width: 10px; height: 10px; min-width: 10px; background: var(--gold); border-radius: 50%; margin-top: 4px; }

.prog-highlight-item strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 2px; }

.prog-highlight-item span { font-size: 13px; color: var(--gray); }

.prog-career-pills { display: flex; flex-wrap: wrap; gap: 10px; }

.prog-career-pill { background: rgba(13,27,62,0.07); color: var(--navy); padding: 8px 16px; border-radius: 40px; font-size: 13px; font-weight: 500; border: 1px solid var(--light-gray); }

/* ── Events Section ────────────────────────────────────── */

.iimbg-events-section {
    background: #0e1c3a;
    padding: 76px 0 84px;
    position: relative;
    overflow: hidden;
}

/* subtle dot-grid background */

.iimbg-events-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(200,168,75,.12) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.iimbg-events-section::after {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(200,168,75,.07) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Section header row ────────────────────────────────── */

.iimbg-events-header {
    max-width: 1220px;
    margin: 0 auto 44px;
    padding: 0 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.iimbg-events-header .section-tag { color: #c8a84b; margin-bottom: 8px; }

.iimbg-events-header .section-title { color: #fff; margin: 0; }

.iimbg-events-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.iimbg-events-viewall {
    font-size: 13px;
    font-weight: 700;
    color: #c8a84b;
    text-decoration: none;
    border: 1.5px solid rgba(200,168,75,.4);
    padding: 9px 20px;
    border-radius: 9px;
    transition: all .2s;
    white-space: nowrap;
}

.iimbg-events-viewall:hover {
    background: rgba(200,168,75,.1);
    border-color: #c8a84b;
}

/* ── Carousel controls ─────────────────────────────────── */

.iimbg-carousel-controls {
    display: flex;
    gap: 8px;
}

.iimbg-carousel-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    user-select: none;
    line-height: 1;
}

.iimbg-carousel-btn:hover {
    background: #c8a84b;
    border-color: #c8a84b;
    color: #1a2b4a;
}

.iimbg-carousel-btn:disabled {
    opacity: .3;
    cursor: default;
    pointer-events: none;
}

/* ── Carousel track ────────────────────────────────────── */

.iimbg-carousel-outer {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.iimbg-carousel-viewport {
    overflow: hidden;
    border-radius: 4px;
}

.iimbg-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform .42s cubic-bezier(.25,.8,.25,1);
    will-change: transform;
}

/* ── Event card ────────────────────────────────────────── */

.iimbg-event-card {
    flex: 0 0 calc(33.333% - 16px);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,.24);
    transition: transform .28s, box-shadow .28s;
}

.iimbg-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(0,0,0,.32);
}

@media (max-width: 1024px) {
    .iimbg-event-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 640px) {
    .iimbg-event-card { flex: 0 0 calc(100% - 0px); }
}

/* Card image / colour banner */

.iimbg-event-banner {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.iimbg-event-banner img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.iimbg-event-card:hover .iimbg-event-banner img { transform: scale(1.05); }

.iimbg-event-banner-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iimbg-event-banner-fallback svg { opacity: .15; }

.iimbg-event-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 60%);
}

/* Date badge pinned to banner bottom-left */

.iimbg-event-date-badge {
    position: absolute;
    bottom: 14px; left: 14px;
    background: #c8a84b;
    color: #1a2b4a;
    border-radius: 10px;
    padding: 6px 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    z-index: 2;
    min-width: 50px;
}

.iimbg-event-date-badge .ev-day  { font-size: 22px; font-weight: 900; }

.iimbg-event-date-badge .ev-mon  { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.iimbg-event-date-badge .ev-year { font-size: 9px;  font-weight: 600; opacity: .75; }

/* Category badge pinned to banner top-right */

.iimbg-event-cat-badge {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 4px 10px;
    border-radius: 99px;
    z-index: 2;
}

/* Card body */

.iimbg-event-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.iimbg-event-title {
    font-size: 16px;
    font-weight: 800;
    color: #1a2b4a;
    line-height: 1.4;
    margin: 0 0 12px;
}

.iimbg-event-title a { color: inherit; text-decoration: none; }

.iimbg-event-title a:hover { color: #c8a84b; }

.iimbg-event-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.iimbg-event-meta-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.iimbg-event-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
}

.iimbg-event-meta-item .ev-icon { font-size: 13px; flex-shrink: 0; margin-top: 1px; }

.iimbg-event-meta-item .ev-mode-online  { color: #0284c7; font-weight: 700; }

.iimbg-event-meta-item .ev-mode-hybrid  { color: #7c3aed; font-weight: 700; }

.iimbg-event-meta-item .ev-mode-offline { color: #059669; font-weight: 700; }

.iimbg-event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.iimbg-event-reg-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #1a2b4a;
    color: #fff;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.iimbg-event-reg-btn:hover { background: #c8a84b; color: #1a2b4a; transform: translateY(-1px); }

.iimbg-event-detail-link {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    transition: color .2s;
}

.iimbg-event-detail-link:hover { color: #c8a84b; }

/* Past event overlay */

.iimbg-event-card.is-past .iimbg-event-banner::after {
    content: 'Past Event';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,.55);
    color: rgba(255,255,255,.7);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,.25);
    z-index: 3;
}

/* ── Dots pagination ───────────────────────────────────── */

.iimbg-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.iimbg-carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .22s;
}

.iimbg-carousel-dot.active {
    background: #c8a84b;
    width: 24px;
    border-radius: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */

#site-footer { background: var(--navy); padding: 60px 80px 32px; }

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

.footer-about .logo-text { font-family: 'Arvo', serif; font-size: 20px; color: #fff; font-weight: 700; margin-bottom: 12px; }

.footer-about p { color: rgba(255,255,255,0.45); font-size: 13px; line-height: 1.8; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 10px; color:#fff; }

.footer-social { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 13px; cursor: pointer; transition: all 0.3s; }

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

.footer-col h4 { color: #fff; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }

.footer-col a { display: block; color: rgba(255,255,255,0.45); font-size: 13px; margin-bottom: 10px; transition: color 0.3s; }

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

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }

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

.footer-bottom-links { display: flex; gap: 24px; }

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

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section { padding: 80px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 3px; font-family: 'Arvo', serif;
  font-size: 15px; color: var(--text);
  margin-bottom: 16px; transition: border-color 0.3s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); }

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }

.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }

.contact-info-icon { width: 44px; height: 44px; min-width: 44px; background: rgba(200,168,75,0.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 20px; }

.contact-info-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }

.contact-info-item p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ============================================================
   SEARCH & 404
   ============================================================ */

.search-results-section, .error-404-section { padding: 120px 80px 80px; min-height: 60vh; }

.search-results-section h1, .error-404-section h1 { margin-bottom: 32px; }

/* ============================================================
   WORDPRESS CORE
   ============================================================ */

.wp-caption { max-width: 100%; }

.wp-caption-text { font-size: 13px; color: var(--gray); margin-top: 6px; text-align: center; }

.alignleft { float: left; margin: 0 20px 20px 0; }

.alignright { float: right; margin: 0 0 20px 20px; }

.aligncenter { display: block; margin: 0 auto 20px; }

.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }

.sticky { }

.gallery { margin: 0 -10px; display: flex; flex-wrap: wrap; }

.gallery-item { padding: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .programs-grid { grid-template-columns: repeat(2,1fr); }
  .faculty-grid { grid-template-columns: repeat(3,1fr); }
  .programs-full-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #site-header { padding: 16px 28px; }
  #site-header.scrolled { padding: 12px 28px; }
  #primary-navigation { display: none; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 28px; }
  .programs-section, .why-section, .placements-section { padding: 70px 28px; }
  .about-strip { grid-template-columns: 1fr 1fr; padding: 48px 28px; gap: 28px; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .placement-numbers { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 0 28px; max-width: 90%; }
  .hero-stats { left: 28px; gap: 28px; }
  .slide-controls { right: 28px; }
  .page-header { padding: 120px 28px 60px; }
  .faculty-filters { padding: 0 28px; }
  .faculty-grid-section { padding: 40px 28px; }
  .faculty-grid { grid-template-columns: repeat(2,1fr); }
  .faculty-pagination { padding: 0 28px 40px; }
  .profile-hero { padding: 100px 28px 48px; }
  .profile-header-grid { grid-template-columns: 1fr; gap: 32px; }
  .profile-body { grid-template-columns: 1fr; padding: 40px 28px; }
  .profile-sidebar-nav { position: relative; display: flex; gap: 0; overflow-x: auto; padding-bottom: 12px; }
  .sidebar-link { white-space: nowrap; border-bottom: none; border-right: 1px solid var(--light-gray); padding: 8px 16px; }
  .popup-body { grid-template-columns: 1fr; padding: 20px 28px; }
  .popup-right { display: none; }
  .popup-top { padding: 16px 28px; }
  #site-footer { padding: 48px 28px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-content { padding: 40px 28px; }
  .about-mission-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr 1fr; padding: 40px 28px; }
  .leadership-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 40px 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .prog-detail-hero { padding: 100px 28px 48px; }
  .prog-body { grid-template-columns: 1fr; padding: 40px 28px; }
  .programs-archive-section { padding: 40px 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 600px) {
  .hero-stats { display: none; }
  .programs-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .placement-numbers { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .profile-photo, .profile-photo-placeholder { width: 160px; height: 200px; }
}

/* ============================================================
   ELEMENTOR COMPATIBILITY
   ============================================================ */

/* Full-width Elementor pages — remove default content margins */

.elementor-template-full-width #site-header { display: none; }

.elementor-template-full-width #site-footer { display: none; }

/* Elementor Pro canvas — completely blank */

.elementor-template-canvas #site-header,
.elementor-template-canvas #site-footer,
.elementor-template-canvas .loader-overlay,
.elementor-template-canvas #popupMenu { display: none !important; }

/* Elementor sections override padding when using theme padding  */

.elementor-section > .elementor-container { max-width: 100%; }

/* Prevent double padding when Elementor wraps theme widgets */

.elementor-widget-iimbg-hero-slider,
.elementor-widget-iimbg-stats-strip,
.elementor-widget-iimbg-programs-grid,
.elementor-widget-iimbg-placements,
.elementor-widget-iimbg-why-section {
    margin: 0;
    padding: 0;
}

.elementor-widget-iimbg-hero-slider .elementor-widget-container,
.elementor-widget-iimbg-stats-strip .elementor-widget-container,
.elementor-widget-iimbg-programs-grid .elementor-widget-container,
.elementor-widget-iimbg-placements .elementor-widget-container,
.elementor-widget-iimbg-why-section .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Keep hero at full height inside Elementor sections */

.elementor-widget-iimbg-hero-slider .hero {
    height: 100vh;
    min-height: 500px;
}

/* Elementor section with theme background */

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

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

.elementor-section.iimbg-offwhite-bg { background: var(--off-white); }

/* Style overrides for Elementor default headings to match theme */

.elementor-widget-heading .elementor-heading-title {
    font-family: 'Arvo', serif;
}

/* Elementor button to use theme styles */

.elementor-widget-button .elementor-button.iimbg-btn-primary {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.elementor-widget-button .elementor-button.iimbg-btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.elementor-widget-button .elementor-button.iimbg-btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
    border-radius: 3px;
}

/* Ensure reveal animations work inside Elementor */

.elementor-section .reveal,
.elementor-section .reveal-left,
.elementor-section .reveal-right {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.elementor-section .reveal-left  { transform: translateX(-40px); }

.elementor-section .reveal-right { transform: translateX(40px); }

.elementor-section .reveal.visible,
.elementor-section .reveal-left.visible,
.elementor-section .reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Elementor Pro Single/Archive templates */

.elementor-location-single .site-content,
.elementor-location-archive .site-content {
    padding-top: 0;
}

/* Fix: prevent Elementor global colours panel from overriding CSS variables */

body:not(.elementor-editor-active) {
    --navy:       #0d1b3e;
    --navy-light: #1a2f5c;
    --gold:       #c8a84b;
    --gold-light: #e8c96a;
}

/* Sticky header z-index fix with Elementor popups */

.elementor-popup-modal { z-index: 9999; }

/* ============================================================
   FACULTY PROFILE — NEW SECTION STYLES (v1.1)
   ============================================================ */

/* Publication sub-heading (Journal Articles, Conference Proceedings…) */

.pub-subhead {
    font-family: 'Arvo', serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--navy);
    margin: 28px 0 12px;
    padding: 6px 12px;
    background: rgba(13,27,62,0.04);
    border-left: 3px solid var(--gold);
}

.pub-subhead:first-child { margin-top: 0; }

/* Numbered publication layout */

.pub-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--light-gray);
    align-items: flex-start;
}

.pub-item:last-child { border-bottom: none; }

.pub-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    min-width: 22px;
    padding-top: 1px;
}

.pub-text { flex: 1; }

.pub-title {
    font-size: 13px;
    font-weight: 100;
    color: var(--navy);
    line-height: 1.55;
}

.pub-meta {
    font-size: 13px;
    color: var(--gold);
    margin-top: 3px;
}

/* Social link buttons in the hero */

.profile-social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

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

/* Area pills (Teaching / Research Interest) */

.areas-list { display: flex; flex-wrap: wrap; gap: 10px; }

.area-pill {
    background: rgba(13,27,62,0.06);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--light-gray);
    line-height: 1.4;
}

/* IRINS / external link button */

.irins-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1.5px solid var(--navy);
    padding: 9px 20px;
    border-radius: 3px;
    margin-top: 16px;
    transition: all 0.3s;
}

.irins-link:hover {
    background: var(--navy);
    color: white;
}

/* ============================================================
   STAFF MEMBERS — archive-staff.php + single-staff.php (v1.0)
   ============================================================ */

/* ── Page header tweak for staff ─────────────────────────────────── */

.staff-page-header .page-header-stats {
    margin-top: 36px;
}

/* ── Department filter bar ───────────────────────────────────────── */

.staff-filter-bar {
    background: #fff;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 68px;          /* below the fixed navbar */
    z-index: 100;
    box-shadow: 0 2px 12px rgba(13,27,62,0.06);
}

.staff-filter-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0 80px;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE */
}

.staff-filter-inner::-webkit-scrollbar { display: none; }

.staff-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Arvo', serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray);
    border-bottom: 2.5px solid transparent;
    transition: all 0.25s;
    white-space: nowrap;
    flex-shrink: 0;
}

.staff-filter-btn:hover {
    color: var(--navy);
}

.staff-filter-btn.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
    font-weight: 700;
}

.staff-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    color: var(--gray);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    transition: all 0.25s;
}

.staff-filter-btn.active .staff-filter-count {
    background: var(--gold);
    color: var(--navy);
}

/* ── Results meta row ────────────────────────────────────────────── */

.staff-results-meta {
    padding: 20px 80px 0;
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

/* ── Staff grid section ──────────────────────────────────────────── */

.staff-grid-section {
    padding: 32px 80px 60px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    min-height: 200px;
    transition: opacity 0.2s;
}

/* ── Staff card ──────────────────────────────────────────────────── */

.staff-card {
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s var(--transition), box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(13,27,62,0.10);
    border-color: transparent;
}

/* Photo area */

.staff-card-photo-wrap {
    height: 275px;
    overflow: hidden;
    /*background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.staff-card-photo {
    width: 85%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.staff-card-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a7e 100%);
}

/* Card body */

.staff-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.staff-card-name {
    font-family: 'Arvo', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 2px;
}

.staff-card-designation {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.staff-card-dept {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
}

.staff-card-contact {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.staff-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
}

.staff-contact-link:hover {
    color: var(--navy);
}

.staff-contact-link svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* Empty state */

.staff-no-results,
.staff-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--gray);
}

.staff-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.staff-empty p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.staff-empty small {
    font-size: 13px;
    opacity: 0.7;
}

/* ── Single staff profile ────────────────────────────────────────── */

.staff-profile-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.staff-profile-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.staff-profile-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 7px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 3px;
    transition: all 0.25s;
    line-height: 1;
}

.staff-profile-contact-item:hover {
    background: rgba(200,168,75,0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.staff-profile-contact-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Profile body */

.staff-profile-body {
    padding: 60px 80px;
    max-width: 860px;
}

.staff-profile-section {
    margin-bottom: 48px;
}

.staff-profile-section-title {
    font-family: 'Arvo', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-gray);
    display: inline-block;
    width: 100%;
}

.staff-profile-section-title::after {
    /* Gold underline effect */
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin-top: -2px;
}

/* Contact card rows */

.staff-contact-card {
    background: var(--off-white);
    border-radius: 6px;
    padding: 8px 0;
}

.staff-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.staff-contact-row:last-child {
    border-bottom: none;
}

.staff-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13,27,62,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
}

.staff-contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 3px;
}

.staff-contact-value {
    font-size: 14px;
    color: var(--navy);
    font-weight: 500;
    text-decoration: none;
    word-break: break-all;
}

a.staff-contact-value:hover {
    color: var(--gold);
}

/* Back link */

.staff-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1.5px solid var(--light-gray);
    transition: all 0.2s;
}

.staff-back-link:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* ── Responsive: staff pages ─────────────────────────────────────── */

@media (max-width: 1200px) {
    .staff-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .staff-filter-inner   { padding: 0 28px; }
    .staff-results-meta   { padding: 16px 28px 0; }
    .staff-grid-section   { padding: 28px 28px 48px; }
    .staff-grid           { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .staff-profile-body   { padding: 40px 28px; }
}

@media (max-width: 580px) {
    .staff-grid           { grid-template-columns: 1fr; }
    .staff-profile-contacts { gap: 8px; }
    .staff-profile-contact-item { font-size: 12px; padding: 6px 10px; }
}

/* ============================================================
   PAGE TEMPLATE STYLES (extracted from page templates)
   ============================================================ */

/* ============================================================
   PAGE: TENDERS
   ============================================================ */

/* ── SHARED PAGE HERO ───────────────────────────── */

/* ── PAGE BODY ───────────────────────────────────── */

/* ── FILTER ROW ─────────────────────────────────── */

.filter-row{background:#fff;border:1px solid #e6eaf4;border-radius:14px;
  padding:18px 22px;margin-bottom:28px;
  display:flex;gap:12px;align-items:center;flex-wrap:wrap;
  box-shadow:0 2px 12px rgba(0,0,0,.04);}

.fsearch{flex:1;min-width:210px;position:relative;}

.fsearch input{width:100%;height:42px;border:1.5px solid #e2e8f0;border-radius:8px;
  padding:0 14px 0 38px;font-size:.86rem;font-family:inherit;outline:none;
  transition:border-color .2s;}

.fsearch input:focus{border-color:#c8a84b;}

.fsearch svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:#94a3b8;}

.fsel{height:42px;border:1.5px solid #e2e8f0;border-radius:8px;padding:0 12px;
  font-size:.84rem;font-family:inherit;background:#fff;color:#1c1e2a;
  cursor:pointer;outline:none;transition:border-color .2s;}

.fsel:focus{border-color:#c8a84b;}

.ftag{display:inline-flex;align-items:center;height:34px;padding:0 14px;
  border-radius:99px;font-size:.72rem;font-weight:700;border:1.5px solid #e2e8f0;
  background:#fff;color:#64748b;cursor:pointer;transition:all .18s;text-decoration:none;}

.ftag:hover{background:#0d1b3e;border-color:#0d1b3e;color:#fff;}

.ftag.is-open.active{background:#16a34a;border-color:#16a34a;color:#fff;}

.ftag.is-closed.active{background:#dc2626;border-color:#dc2626;color:#fff;}

.ftag.is-corr.active{background:#d97706;border-color:#d97706;color:#fff;}

.ftag.active{background:#0d1b3e;border-color:#0d1b3e;color:#fff;}

/* ── STAT PILLS ─────────────────────────────────── */

.tstat-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:26px;}

.tstat{background:#fff;border:1.5px solid #e6eaf4;border-radius:10px;
  padding:14px 20px;display:flex;align-items:center;gap:12px;
  box-shadow:0 2px 8px rgba(0,0,0,.04);}

.tstat-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;}

.tstat-dot.open{background:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.15);}

.tstat-dot.closed{background:#dc2626;}

.tstat-dot.corr{background:#d97706;}

.tstat-dot.all{background:#0d1b3e;}

.tstat .n{font-family:'Arvo',serif;font-size:1.35rem;font-weight:900;color:#0d1b3e;line-height:1;}

.tstat .l{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;}

/* ── NOTICE ─────────────────────────────────────── */

.notice-bar{background:#fffbeb;border:1px solid #fbbf24;border-radius:9px;
  padding:11px 16px;margin-bottom:22px;font-size:.8rem;color:#92400e;
  display:flex;align-items:flex-start;gap:9px;line-height:1.55;}

/* ── TABLE ──────────────────────────────────────── */

.tender-wrap{background:#fff;border:1px solid #e6eaf4;border-radius:16px;
  overflow:hidden;box-shadow:0 2px 16px rgba(0,0,0,.05);}

.tender-table{width:100%;border-collapse:collapse;}

.tender-table thead th{background:#0d1b3e;color:rgba(255,255,255,.78);
  font-size:.67rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  padding:13px 16px;text-align:left;white-space:nowrap;}

.tender-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background .15s;}

.tender-table tbody tr:hover{background:#f8faff;}

.tender-table tbody tr:last-child{border-bottom:none;}

.tender-table td{padding:15px 16px;vertical-align:middle;font-size:.84rem;color:#374151;}

.t-ref{font-family:'Arvo', serif; font-size:.73rem;color:#64748b;background:#f1f5f9;
  padding:2px 8px;border-radius:4px;white-space:nowrap;}

.t-title{font-weight:700;color:#0d1b3e;font-size:.88rem;line-height:1.4;
  display:block;margin-bottom:3px;}

.t-title:hover{color:#c8a84b;}

.t-cat{display:inline-flex;font-size:.66rem;font-weight:700;padding:2px 8px;
  border-radius:4px;background:#eef2ff;color:#4338ca;margin-top:3px;}

.t-dl{font-size:.82rem;font-weight:700;white-space:nowrap;}

.t-dl.urgent{color:#dc2626;}

.t-dl.soon{color:#d97706;}

.t-dl.ok{color:#16a34a;}

.t-days{font-size:.68rem;color:#94a3b8;margin-top:2px;}

.t-val{font-weight:700;color:#0d1b3e;white-space:nowrap;font-size:.85rem;}

@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}

.t-dl-btn{display:inline-flex;align-items:center;gap:5px;padding:7px 13px;
  background:#0d1b3e;color:#fff;border-radius:6px;font-size:.72rem;font-weight:700;
  text-decoration:none;transition:background .2s,transform .15s;white-space:nowrap;}

.t-dl-btn:hover{background:#c8a84b;color:#0d1b3e;transform:translateY(-1px);}

.t-detail{display:inline-flex;align-items:center;gap:4px;font-size:.72rem;font-weight:600;
  color:#0d1b3e;border-bottom:1px dashed rgba(200,168,75,.5);transition:color .2s;
  text-decoration:none;margin-top:4px;}

.t-detail:hover{color:#c8a84b;}

/* ── PAGINATION ─────────────────────────────────── */

.pg-nav{display:flex;align-items:center;justify-content:space-between;
  margin-top:24px;flex-wrap:wrap;gap:10px;}

.pg-nav-info{font-size:.78rem;color:#64748b;}

.pg-nav-btns{display:flex;gap:5px;}

.pg-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;
  border-radius:7px;border:1.5px solid #e2e8f0;background:#fff;
  font-size:.8rem;font-weight:700;color:#374151;text-decoration:none;transition:all .18s;}

.pg-btn:hover,.pg-btn.cur{background:#0d1b3e;border-color:#0d1b3e;color:#fff;}

.pg-btn.cur{background:#c8a84b;border-color:#c8a84b;color:#0d1b3e;}

/* ── INFO STRIP ─────────────────────────────────── */

.info-strip{background:#f5f3ee;border-top:1px solid #e6eaf4;
  padding:clamp(36px,5vw,56px) clamp(20px,6vw,90px);}

.info-strip-inner{max-width:1280px;margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}

@media(max-width:768px){.info-strip-inner{grid-template-columns:1fr;}}

.icard{background:#fff;border:1px solid #e6eaf4;border-radius:14px;padding:22px 24px;
  box-shadow:0 2px 8px rgba(0,0,0,.03);}

.icard-ico{font-size:26px;margin-bottom:10px;}

.icard h4{font-size:.88rem;font-weight:800;color:#0d1b3e;margin:0 0 8px;}

.icard p,.icard li{font-size:.79rem;color:#64748b;line-height:1.7;}

.icard ul{padding-left:16px;list-style:disc;}

@media(max-width:960px){
  .tender-table thead th:nth-child(3),
  .tender-table td:nth-child(3){display:none;}
}

@media(max-width:640px){
  .tender-table thead th:nth-child(4),
  .tender-table td:nth-child(4),
  .tender-table thead th:nth-child(5),
  .tender-table td:nth-child(5){display:none;}
}

/* ============================================================
   PAGE: TENDER DETAIL
   ============================================================ */

.ref-pill{display:inline-flex;background:rgba(200,168,75,.14);border:1px solid rgba(200,168,75,.3);
  padding:4px 13px;border-radius:5px;font-size:.72rem;font-weight:700;
  color:#c8a84b;letter-spacing:.07em;margin-bottom:12px;}

.hero-meta-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}

.sbadge{display:inline-flex;align-items:center;gap:5px;padding:5px 13px;border-radius:99px;
  font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;}

.sb-open{background:rgba(22,163,74,.2);color:#4ade80;}

.sb-open::before{content:'';width:6px;height:6px;border-radius:50%;background:#4ade80;animation:blink 2s infinite;}

@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}

.sb-closed{background:rgba(220,38,38,.2);color:#fca5a5;}

.sb-corr{background:rgba(217,119,6,.2);color:#fbbf24;}

.hero-dl{font-size:.84rem;font-weight:700;color:rgba(255,255,255,.7);}

.urgent{color:#f87171!important;}

.soon{color:#fb923c!important;}

.ok{color:#86efac!important;}

/* Body */

.td-wrap{max-width:1280px;margin:0 auto;padding:clamp(28px,5vw,56px) clamp(20px,6vw,90px);
  display:grid;grid-template-columns:1fr 320px;gap:28px;align-items:start;}

@media(max-width:900px){.td-wrap{grid-template-columns:1fr;}}

/* Cards */

.td-card{background:#fff;border:1px solid #e6eaf4;border-radius:16px;
  overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.04);margin-bottom:22px;}

.td-card-hdr{background:#f5f7fc;border-bottom:1px solid #e6eaf4;
  padding:14px 22px;display:flex;align-items:center;gap:9px;}

.td-card-hdr h3{font-size:.75rem;font-weight:800;letter-spacing:.1em;
  text-transform:uppercase;color:#0d1b3e;margin:0;}

.td-card-ico{font-size:17px;}

.td-card-body{padding:22px;}

/* Meta grid */

.meta-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;}

@media(max-width:540px){.meta-grid{grid-template-columns:1fr;}}

.mi{display:flex;flex-direction:column;gap:3px;}

.mi-label{font-size:.65rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8;}

.mi-val{font-size:.88rem;font-weight:700;color:#0d1b3e;}

.mi-val a{color:#c8a84b;}

/* List */

.td-list{display:flex;flex-direction:column;gap:9px;}

.td-list li{display:flex;align-items:flex-start;gap:9px;
  font-size:.86rem;color:#374151;line-height:1.6;}

.td-list li::before{content:'›';color:#c8a84b;font-weight:900;font-size:1rem;
  flex-shrink:0;margin-top:1px;}

/* Dates table */

.dates-table{width:100%;border-collapse:collapse;}

.dates-table tr{border-bottom:1px solid #f1f5f9;}

.dates-table tr:last-child{border-bottom:none;}

.dates-table td{padding:10px 0;font-size:.84rem;vertical-align:top;}

.dates-table td:first-child{color:#94a3b8;font-weight:600;width:48%;font-size:.78rem;}

.dates-table td:last-child{color:#0d1b3e;font-weight:700;}

/* Sidebar */

.td-sidebar{display:flex;flex-direction:column;gap:18px;position:sticky;top:80px;}

.sid-cta{background:linear-gradient(140deg,#0d1b3e,#1a3464);border-radius:16px;padding:26px;}

.sid-cta h4{font-family:'Arvo',serif;font-size:1.1rem;font-weight:800;
  color:#fff;margin:0 0 7px;}

.sid-cta p{font-size:.78rem;color:rgba(255,255,255,.55);margin:0 0 18px;line-height:1.6;}

.sid-dl-btn{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;
  padding:13px;background:#c8a84b;color:#0d1b3e;font-weight:800;font-size:.8rem;
  letter-spacing:.06em;text-transform:uppercase;text-decoration:none;border-radius:8px;
  transition:background .2s,transform .15s;margin-bottom:9px;box-sizing:border-box;}

.sid-dl-btn:hover{background:#e8c96a;transform:translateY(-1px);}

.sid-back{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;
  padding:10px;border:1.5px solid rgba(255,255,255,.18);color:rgba(255,255,255,.65);
  font-weight:700;font-size:.78rem;text-decoration:none;border-radius:8px;
  transition:all .2s;box-sizing:border-box;}

.sid-back:hover{border-color:rgba(255,255,255,.45);color:#fff;}

.sid-box{background:#fff;border:1px solid #e6eaf4;border-radius:14px;padding:18px 20px;
  box-shadow:0 2px 8px rgba(0,0,0,.03);}

.sid-box h4{font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;
  color:#0d1b3e;margin:0 0 12px;padding-bottom:9px;border-bottom:1px solid #f1f5f9;}

.sid-row{display:flex;justify-content:space-between;align-items:flex-start;
  padding:7px 0;border-bottom:1px solid #f8f9fc;gap:8px;}

.sid-row:last-child{border-bottom:none;}

.sid-lbl{font-size:.7rem;color:#94a3b8;font-weight:600;}

.sid-val{font-size:.78rem;font-weight:700;color:#0d1b3e;text-align:right;}

.countdown{background:#fffbeb;border:1px solid #fbbf24;border-radius:12px;
  padding:15px;text-align:center;}

.countdown .n{font-family:'Arvo',serif;font-size:2.4rem;
  font-weight:900;color:#0d1b3e;line-height:1;}

.countdown.urgent-box .n{color:#dc2626;}

.countdown .l{font-size:.65rem;text-transform:uppercase;letter-spacing:.09em;
  color:#92400e;margin-top:3px;}

/* ============================================================
   PAGE: CAREERS
   ============================================================ */

/* Tab nav */

.career-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:30px;
  background:#f5f7fc;border:1px solid #e6eaf4;border-radius:12px;padding:8px;}

.ctab{display:flex;align-items:center;gap:7px;padding:9px 18px;border-radius:8px;
  font-size:.8rem;font-weight:700;text-decoration:none;color:#64748b;transition:all .18s;}

.ctab:hover{background:#fff;color:#0d1b3e;box-shadow:0 1px 4px rgba(0,0,0,.06);}

.ctab.active{background:#0d1b3e;color:#fff;box-shadow:0 2px 8px rgba(13,27,62,.2);}

.ctab .count{display:inline-flex;align-items:center;justify-content:center;
  min-width:20px;height:20px;border-radius:10px;font-size:.65rem;padding:0 5px;
  background:rgba(255,255,255,.15);color:inherit;}

.ctab:not(.active) .count{background:#e6eaf4;color:#64748b;}

.ctab.active .count{background:rgba(200,168,75,.3);color:#c8a84b;}

/* Search */

.career-search{position:relative;max-width:400px;margin-bottom:24px;}

.career-search input{width:100%;height:44px;border:1.5px solid #e2e8f0;border-radius:10px;
  padding:0 14px 0 40px;font-size:.88rem;font-family:inherit;outline:none;
  transition:border-color .2s;}

.career-search input:focus{border-color:#c8a84b;}

.career-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#94a3b8;}

/* Category sections */

.cat-section{margin-bottom:44px;}

.cat-hdr{display:flex;align-items:center;gap:14px;margin-bottom:18px;
  padding-bottom:14px;border-bottom:2px solid #e6eaf4;}

.cat-hdr-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;
  justify-content:center;font-size:20px;flex-shrink:0;}

.cat-hdr-text h2{font-family:'Arvo',serif;font-size:1.2rem;font-weight:800;color:#0d1b3e;margin:0 0 3px;}

.cat-hdr-text p{font-size:.78rem;color:#64748b;margin:0;}

.cat-hdr-count{margin-left:auto;background:#f1f5f9;color:#64748b;font-size:.72rem;
  font-weight:800;padding:4px 12px;border-radius:99px;}

/* Job cards grid */

.job-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}

@media(max-width:840px){.job-grid{grid-template-columns:1fr;}}

.job-card{background:#fff;border:1.5px solid #e6eaf4;border-radius:14px;
  padding:20px 22px;transition:all .22s;position:relative;overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.03);}

.job-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;
  border-radius:3px 0 0 3px;transition:background .2s;}

.job-card:hover{border-color:#c8a84b;box-shadow:0 6px 24px rgba(0,0,0,.08);transform:translateY(-2px);}

.job-card:hover::before{background:#c8a84b;}

.job-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px;}

.job-title{font-size:.95rem;font-weight:800;color:#0d1b3e;line-height:1.35;flex:1;}

.job-type{display:inline-flex;padding:3px 10px;border-radius:4px;font-size:.65rem;
  font-weight:800;text-transform:uppercase;letter-spacing:.06em;flex-shrink:0;white-space:nowrap;}

.jt-full{background:#dbeafe;color:#1d4ed8;}

.jt-contract{background:#fef9c3;color:#a16207;}

.jt-project{background:#ede9fe;color:#6d28d9;}

.job-dept{font-size:.76rem;color:#64748b;margin-bottom:8px;font-weight:500;}

.job-desc{font-size:.8rem;color:#374151;line-height:1.6;margin-bottom:14px;}

.job-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px;}

.jmeta-item{display:flex;align-items:center;gap:5px;font-size:.74rem;color:#64748b;}

.jmeta-item svg{color:#94a3b8;flex-shrink:0;}

.jmeta-item.urgent-dl{color:#dc2626;}

.jmeta-item.soon-dl{color:#d97706;}

.job-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-top:12px;border-top:1px solid #f1f5f9;}

.job-positions{font-size:.74rem;color:#94a3b8;font-weight:600;}

.job-apply{display:inline-flex;align-items:center;gap:5px;padding:8px 16px;
  background:#0d1b3e;color:#fff;border-radius:7px;font-size:.74rem;font-weight:800;
  text-decoration:none;letter-spacing:.04em;transition:background .2s,transform .15s;}

.job-apply:hover{background:#c8a84b;color:#0d1b3e;transform:translateY(-1px);}

/* How to apply strip */

.how-apply{background:linear-gradient(135deg,#0d1b3e,#1a3464);
  padding:clamp(40px,5vw,64px) clamp(20px,6vw,90px);}

.how-apply-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}

@media(max-width:768px){.how-apply-inner{grid-template-columns:1fr;}}

.hap-title .section-tag{color:#c8a84b;}

.hap-title h2{font-family:'Arvo',serif;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;color:#fff;margin-bottom:12px;}

.hap-title p{font-size:.9rem;color:rgba(255,255,255,.6);line-height:1.7;}

.hap-steps{display:flex;flex-direction:column;gap:16px;}

.hap-step{display:flex;align-items:flex-start;gap:14px;}

.hap-step-n{width:32px;height:32px;border-radius:50%;border:2px solid #c8a84b;display:flex;
  align-items:center;justify-content:center;font-size:.8rem;font-weight:900;color:#c8a84b;flex-shrink:0;}

.hap-step-text h4{font-size:.88rem;font-weight:700;color:#fff;margin:0 0 3px;}

.hap-step-text p{font-size:.78rem;color:rgba(255,255,255,.55);margin:0;line-height:1.5;}

/* Empty state */

.empty-state{text-align:center;padding:56px 24px;}

.empty-state p{color:#94a3b8;font-size:.9rem;}

/* ============================================================
   PAGE: CONFERENCES
   ============================================================ */

/* Type filters */

.type-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px;}

.ttype{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;
  font-size:.78rem;font-weight:700;text-decoration:none;border:1.5px solid #e6eaf4;
  background:#fff;color:#64748b;transition:all .18s;}

.ttype:hover,.ttype.active{background:#0d1b3e;border-color:#0d1b3e;color:#fff;}

/* Conference cards */

.conf-grid{display:flex;flex-direction:column;gap:22px;}

.conf-card{background:#fff;border:1.5px solid #e6eaf4;border-radius:18px;overflow:hidden;
  box-shadow:0 3px 16px rgba(0,0,0,.05);transition:box-shadow .22s,transform .22s;}

.conf-card:hover{box-shadow:0 8px 32px rgba(0,0,0,.1);transform:translateY(-2px);}

.conf-card-inner{display:grid;grid-template-columns:1fr 280px;gap:0;}

@media(max-width:860px){.conf-card-inner{grid-template-columns:1fr;}}

.conf-main{padding:26px 28px;}

.conf-top{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px;flex-wrap:wrap;}

.conf-type-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:5px;
  font-size:.67rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;}

.conf-title{font-family:'Arvo',serif;font-size:1.1rem;font-weight:800;
  color:#0d1b3e;line-height:1.35;margin-bottom:6px;}

.conf-theme{font-size:.82rem;color:#64748b;font-style:italic;margin-bottom:14px;line-height:1.5;}

.conf-info-row{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:14px;}

.cinfo{display:flex;align-items:center;gap:6px;font-size:.78rem;color:#374151;font-weight:500;}

.cinfo svg{color:#94a3b8;flex-shrink:0;}

.conf-tracks{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px;}

.track-tag{display:inline-flex;font-size:.68rem;font-weight:600;padding:3px 10px;
  border-radius:4px;background:#f1f5f9;color:#475569;}

.conf-speakers{font-size:.76rem;color:#64748b;line-height:1.6;margin-bottom:14px;}

.conf-speakers strong{color:#0d1b3e;font-weight:700;}

.conf-btns{display:flex;gap:9px;flex-wrap:wrap;}

.cbtn-primary{display:inline-flex;align-items:center;gap:5px;padding:9px 18px;
  background:#0d1b3e;color:#fff;border-radius:7px;font-size:.76rem;font-weight:800;
  text-decoration:none;transition:background .2s,transform .15s;}

.cbtn-primary:hover{background:#c8a84b;color:#0d1b3e;transform:translateY(-1px);}

.cbtn-outline{display:inline-flex;align-items:center;gap:5px;padding:9px 18px;
  border:1.5px solid #e6eaf4;color:#0d1b3e;border-radius:7px;font-size:.76rem;font-weight:700;
  text-decoration:none;background:#fff;transition:all .2s;}

.cbtn-outline:hover{border-color:#0d1b3e;background:#f5f7fc;}

/* Side panel */

.conf-side{background:#f5f7fc;border-left:1px solid #e6eaf4;padding:24px 22px;
  display:flex;flex-direction:column;gap:14px;}

@media(max-width:860px){.conf-side{border-left:none;border-top:1px solid #e6eaf4;}}

.conf-side-title{font-size:.68rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#94a3b8;margin-bottom:4px;}

.conf-date-big{font-family:'Arvo',serif;font-size:1.5rem;font-weight:900;color:#0d1b3e;line-height:1.2;}

.conf-date-sub{font-size:.75rem;color:#64748b;margin-top:2px;}

.conf-dl-warn{background:#fffbeb;border:1px solid #fbbf24;border-radius:8px;padding:10px 12px;}

.conf-dl-warn .label{font-size:.67rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#92400e;margin-bottom:3px;}

.conf-dl-warn .date{font-size:.84rem;font-weight:800;color:#b45309;}

.conf-fee{display:flex;flex-direction:column;gap:4px;}

.fee-row{display:flex;justify-content:space-between;gap:6px;font-size:.74rem;padding:5px 0;border-bottom:1px solid #e6eaf4;}

.fee-row:last-child{border-bottom:none;}

.fee-cat{color:#64748b;}

.fee-amt{font-weight:800;color:#0d1b3e;}

/* Countdown banner */

.countdown-banner{background:linear-gradient(135deg,#0d1b3e,#1a3464);border-radius:14px;
  padding:22px 26px;margin-bottom:28px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;
  box-shadow:0 4px 20px rgba(13,27,62,.2);}

.cb-highlight{text-align:center;padding:0 20px;border-right:1px solid rgba(255,255,255,.12);}

.cb-highlight:last-of-type{border-right:none;}

.cb-n{font-family:'Arvo',serif;font-size:2rem;font-weight:900;color:#c8a84b;line-height:1;}

.cb-l{font-size:.62rem;text-transform:uppercase;letter-spacing:.09em;color:rgba(255,255,255,.45);}

.cb-title{flex:1;min-width:200px;}

.cb-title h3{font-family:'Arvo',serif;font-size:1rem;font-weight:800;color:#fff;margin:0 0 4px;}

.cb-title p{font-size:.75rem;color:rgba(255,255,255,.55);margin:0;}

.cb-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;
  background:#c8a84b;color:#0d1b3e;border-radius:7px;font-weight:800;font-size:.76rem;
  text-decoration:none;transition:background .2s;white-space:nowrap;}

.cb-btn:hover{background:#e8c96a;}

/* ============================================================
   PAGE: STUDENT CLUBS
   ============================================================ */

/* Section tabs */

.sec-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px;
  background:#f5f7fc;border:1px solid #e6eaf4;border-radius:12px;padding:7px;}

.stab{display:flex;align-items:center;gap:6px;padding:9px 16px;border-radius:8px;
  font-size:.78rem;font-weight:700;text-decoration:none;color:#64748b;transition:all .18s;}

.stab:hover{background:#fff;color:#0d1b3e;box-shadow:0 1px 4px rgba(0,0,0,.06);}

.stab.active{background:#0d1b3e;color:#fff;}

/* Section heading */

.sec-hdr{display:flex;align-items:center;gap:14px;margin-bottom:22px;padding-bottom:14px;border-bottom:2px solid #e6eaf4;}

.sec-hdr-icon{width:46px;height:46px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;}

.sec-hdr-text h2{font-family:'Arvo',serif;font-size:1.2rem;font-weight:800;color:#0d1b3e;margin:0 0 2px;}

.sec-hdr-text p{font-size:.76rem;color:#64748b;margin:0;}

.sec-hdr-cnt{margin-left:auto;background:#f1f5f9;color:#64748b;font-size:.72rem;font-weight:800;padding:4px 12px;border-radius:99px;}

/* Club cards */

.clubs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:44px;}

@media(max-width:1100px){.clubs-grid{grid-template-columns:repeat(2,1fr);}}

@media(max-width:640px){.clubs-grid{grid-template-columns:1fr;}}

.club-card{background:#fff;border:1.5px solid #e6eaf4;border-radius:16px;padding:22px;
  transition:all .22s;box-shadow:0 2px 8px rgba(0,0,0,.03);position:relative;overflow:hidden;cursor:pointer;}

.club-card::after{content:'';position:absolute;top:0;left:0;right:0;height:3px;transition:background .2s;}

.club-card:hover{border-color:#c8a84b;box-shadow:0 8px 28px rgba(0,0,0,.09);transform:translateY(-3px);}

.club-card:hover::after{background:#c8a84b;}

.cc-icon-wrap{width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:14px;}

.cc-name{font-family:'Arvo',serif;font-size:.98rem;font-weight:800;color:#0d1b3e;margin-bottom:6px;line-height:1.3;}

.cc-desc{font-size:.78rem;color:#64748b;line-height:1.65;margin-bottom:14px;}

.cc-events{margin-bottom:12px;}

.cc-events-title{font-size:.63rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#94a3b8;margin-bottom:7px;}

.cc-event-tag{display:inline-flex;font-size:.67rem;font-weight:600;padding:3px 9px;border-radius:4px;background:#f1f5f9;color:#475569;margin:0 4px 4px 0;}

.cc-leads{font-size:.74rem;color:#64748b;margin-bottom:10px;}

.cc-leads span{font-weight:700;color:#0d1b3e;}

.cc-contact{display:flex;align-items:center;gap:5px;font-size:.72rem;color:#c8a84b;font-weight:600;text-decoration:none;transition:color .2s;}

.cc-contact:hover{color:#0d1b3e;}

/* Quote banner */

.campus-quote{background:linear-gradient(135deg,#0d1b3e,#1a3464);border-radius:18px;
  padding:clamp(30px,4vw,48px);margin-bottom:40px;position:relative;overflow:hidden;}

.campus-quote::before{content:'"';position:absolute;top:-20px;left:20px;font-family:'Arvo',serif;font-size:12rem;color:rgba(200,168,75,.06);font-weight:900;line-height:1;}

.campus-quote p{font-family:'Arvo',serif;font-size:clamp(1rem,2.2vw,1.4rem);color:#fff;font-style:italic;line-height:1.7;margin-bottom:12px;position:relative;}

.campus-quote cite{font-size:.76rem;color:#c8a84b;font-weight:700;font-style:normal;}

/* Join strip */

.join-strip{background:#f5f3ee;border-top:1px solid #e6eaf4;padding:clamp(36px,5vw,52px) clamp(20px,6vw,90px);}

.join-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;}

@media(max-width:768px){.join-inner{grid-template-columns:1fr;}}

/* ============================================================
   PAGE: INTERNATIONAL
   ============================================================ */

/* Region tabs */

.region-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px;padding-bottom:20px;border-bottom:1px solid #e6eaf4;}

.rtab{display:inline-flex;align-items:center;gap:6px;padding:8px 18px;border-radius:8px;
  font-size:.78rem;font-weight:700;text-decoration:none;border:1.5px solid #e6eaf4;
  background:#fff;color:#64748b;transition:all .18s;}

.rtab:hover,.rtab.active{background:#0d1b3e;border-color:#0d1b3e;color:#fff;}

/* Region section */

.region-section{margin-bottom:44px;}

.region-hdr{display:flex;align-items:center;gap:10px;margin-bottom:18px;}

.region-hdr h2{font-family:'Arvo',serif;font-size:1.1rem;font-weight:800;color:#0d1b3e;margin:0;}

.region-hdr-line{flex:1;height:1px;background:#e6eaf4;}

.region-hdr-cnt{font-size:.72rem;font-weight:800;color:#94a3b8;white-space:nowrap;}

/* Partner cards */

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

@media(max-width:960px){.partner-grid{grid-template-columns:repeat(2,1fr);}}

@media(max-width:580px){.partner-grid{grid-template-columns:1fr;}}

.partner-card{background:#fff;border:1.5px solid #e6eaf4;border-radius:14px;padding:20px 22px;
  transition:all .22s;box-shadow:0 2px 8px rgba(0,0,0,.03);position:relative;overflow:hidden;}

.partner-card:hover{border-color:#c8a84b;box-shadow:0 6px 24px rgba(0,0,0,.08);transform:translateY(-2px);}

.partner-flag{width:32px;height:22px;object-fit:cover;border-radius:3px;margin-bottom:12px;border:1px solid #e6eaf4;}

.partner-name{font-size:.9rem;font-weight:800;color:#0d1b3e;line-height:1.35;margin-bottom:4px;}

.partner-country{font-size:.73rem;color:#64748b;font-weight:500;margin-bottom:8px;display:flex;align-items:center;gap:5px;}

.partner-scope{font-size:.76rem;color:#374151;line-height:1.55;margin-bottom:10px;}

.partner-status{display:inline-flex;align-items:center;gap:4px;font-size:.66rem;font-weight:800;padding:3px 9px;border-radius:99px;}

.ps-active{background:#dcfce7;color:#15803d;}

.ps-active::before{content:'';width:5px;height:5px;border-radius:50%;background:#16a34a;}

.ps-review{background:#fef9c3;color:#a16207;}

/* Programmes grid */

.prog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:44px;}

@media(max-width:960px){.prog-grid{grid-template-columns:repeat(2,1fr);}}

@media(max-width:580px){.prog-grid{grid-template-columns:1fr;}}

.prog-icon{font-size:24px;margin-bottom:12px;}

.prog-title{font-size:.9rem;font-weight:800;color:#0d1b3e;margin-bottom:6px;}

.prog-desc{font-size:.78rem;color:#64748b;line-height:1.65;margin-bottom:12px;}

.prog-list{display:flex;flex-direction:column;gap:5px;}

.prog-list li{display:flex;align-items:flex-start;gap:7px;font-size:.74rem;color:#374151;}

.prog-list li::before{content:'›';color:#c8a84b;font-weight:900;font-size:.9rem;flex-shrink:0;}

/* World map accent */

.world-strip{background:linear-gradient(135deg,#0d1b3e,#1a3464);padding:clamp(36px,5vw,56px) clamp(20px,6vw,90px);position:relative;overflow:hidden;}

.world-strip::before{content:'🌍';position:absolute;right:60px;top:50%;transform:translateY(-50%);font-size:15rem;opacity:.04;line-height:1;}

.world-inner{max-width:1280px;margin:0 auto;position:relative;}

.world-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}

@media(max-width:768px){.world-stats{grid-template-columns:repeat(2,1fr);}}

.wstat{text-align:center;padding:20px;}

.wstat .n{font-family:'Arvo',serif;font-size:2.2rem;font-weight:900;color:#c8a84b;line-height:1;margin-bottom:4px;}

.wstat .l{font-size:.7rem;text-transform:uppercase;letter-spacing:.09em;color:rgba(255,255,255,.5);}

/* News */

.ir-news{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}

@media(max-width:640px){.ir-news{grid-template-columns:1fr;}}

.news-item{background:#fff;border:1px solid #e6eaf4;border-radius:12px;padding:18px 20px;
  box-shadow:0 2px 6px rgba(0,0,0,.03);}

.news-date{font-size:.68rem;font-weight:700;color:#c8a84b;text-transform:uppercase;letter-spacing:.07em;margin-bottom:6px;}

.news-title{font-size:.9rem;font-weight:800;color:#0d1b3e;margin-bottom:5px;line-height:1.35;}

.news-body{font-size:.78rem;color:#64748b;line-height:1.6;}

/* Section headers */

.sec-label{font-size:.67rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#c8a84b;margin-bottom:6px;}

.sec-h2{font-family:'Arvo',serif;font-size:clamp(1.4rem,2.8vw,2rem);font-weight:800;color:#0d1b3e;margin-bottom:10px;}

.sec-sub{font-size:.88rem;color:#64748b;line-height:1.7;max-width:560px;margin-bottom:28px;}

/* ============================================================
   PAGE: BOARD OF GOVERNORS
   ============================================================ */

.iimbg-hero{background:linear-gradient(135deg,#0d1b3e 0%,#1a3464 55%,#0d1b3e 100%);
  padding:clamp(90px,12vw,130px) clamp(20px,6vw,90px) clamp(60px,7vw,90px);position:relative;overflow:hidden;}

.iimbg-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 60% 80% at 85% 40%,rgba(200,168,75,.07),transparent);}

.iimbg-hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#c8a84b,#e8c96a 50%,#c8a84b);}

.breadcrumb{display:flex;align-items:center;gap:7px;font-size:.7rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.38);margin-bottom:18px;flex-wrap:wrap;}

.breadcrumb a{color:rgba(255,255,255,.38);text-decoration:none;}

.breadcrumb a:hover{color:#c8a84b;}

.breadcrumb span{color:rgba(255,255,255,.2);}

.iimbg-hero h1{font-family:'Arvo',serif;font-size:clamp(2rem,4.2vw,3.4rem);font-weight:900;color:#fff;line-height:1.15;margin-bottom:14px;}

.iimbg-hero p{font-size:clamp(.88rem,1.5vw,1.05rem);color:rgba(255,255,255,.6);max-width:600px;line-height:1.75;margin-bottom:26px;}

.hero-kpis{display:flex;gap:36px;flex-wrap:wrap;}

.hkpi .n{display:block;font-family:'Arvo',serif;font-size:1.9rem;font-weight:900;color:#c8a84b;line-height:1;}

.hkpi .l{font-size:.67rem;text-transform:uppercase;letter-spacing:.09em;color:rgba(255,255,255,.42);}

.pg-body{max-width:1280px;margin:0 auto;padding:clamp(28px,5vw,56px) clamp(20px,6vw,90px);}

/* Filter tabs */

.bog-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:36px;
  background:#f5f7fc;border:1px solid #e6eaf4;border-radius:12px;padding:7px;}

.bogtab{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;
  font-size:.78rem;font-weight:700;text-decoration:none;color:#64748b;transition:all .18s;}

.bogtab:hover{background:#fff;color:#0d1b3e;box-shadow:0 1px 4px rgba(0,0,0,.06);}

.bogtab.active{background:#0d1b3e;color:#fff;}

/* Category header */

.bog-cat-hdr{display:flex;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:14px;border-bottom:2px solid #e6eaf4;}

.bog-cat-pill{display:inline-flex;padding:5px 14px;border-radius:6px;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;}

.bog-cat-hdr h2{font-family:'Arvo',serif;font-size:1.1rem;font-weight:800;color:#0d1b3e;margin:0;}

.bog-cat-line{flex:1;height:1px;background:#e6eaf4;}

/* Member cards */

.bog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:44px;}

@media(max-width:1100px){.bog-grid{grid-template-columns:repeat(2,1fr);}}

@media(max-width:620px){.bog-grid{grid-template-columns:1fr;}}

/* Chairperson / Director — full width card */

.bog-grid.single{grid-template-columns:1fr;}

.bog-card-featured{display:grid;grid-template-columns:260px 1fr;gap:0;background:#fff;
  border:2px solid #c8a84b;border-radius:18px;overflow:hidden;box-shadow:0 4px 24px rgba(200,168,75,.12);}

@media(max-width:700px){.bog-card-featured{grid-template-columns:1fr;}}

.bog-card-feat-img{background:linear-gradient(160deg,#0d1b3e,#1a3464);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;gap:16px;}

.bog-card-feat-img img{width:140px;height:140px;border-radius:50%;object-fit:cover;border:3px solid rgba(200,168,75,.4);}

.bog-card-feat-img .avatar{width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.08);border:3px solid rgba(200,168,75,.4);display:flex;align-items:center;justify-content:center;font-size:3.5rem;}

.bog-card-feat-body{padding:28px 30px;display:flex;flex-direction:column;justify-content:center;}

.bog-nominee-pill{display:inline-flex;padding:3px 11px;border-radius:4px;font-size:.64rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px;align-self:flex-start;}

.bog-feat-name{font-family:'Arvo',serif;font-size:1.4rem;font-weight:900;color:#0d1b3e;margin:0 0 4px;}

.bog-feat-desig{font-size:.82rem;font-weight:700;color:#c8a84b;margin-bottom:6px;}

.bog-feat-pos{font-size:.82rem;color:#374151;line-height:1.5;margin-bottom:6px;}

.bog-feat-org{font-size:.76rem;color:#64748b;}

.bog-feat-bio{font-size:.82rem;color:#374151;line-height:1.7;margin:14px 0;padding:14px;background:#f8f9fc;border-radius:8px;border-left:3px solid #c8a84b;}

.bog-feat-meta{display:flex;gap:16px;flex-wrap:wrap;}

.bog-fmeta{font-size:.72rem;color:#64748b;display:flex;align-items:center;gap:5px;}

.bog-fmeta strong{color:#0d1b3e;}

/* Regular card */

.bog-card{background:#fff;border:1.5px solid #e6eaf4;border-radius:16px;overflow:hidden;
  box-shadow:0 2px 10px rgba(0,0,0,.04);transition:all .22s;}

.bog-card:hover{border-color:#c8a84b;box-shadow:0 8px 28px rgba(0,0,0,.09);transform:translateY(-2px);}

.bog-card-top{padding:20px 20px 0;display:flex;align-items:flex-start;gap:14px;}

.bog-avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#0d1b3e,#1a3464);display:flex;align-items:center;justify-content:center;color:#fff;font-family:'Arvo',serif;font-size:1.3rem;font-weight:900;flex-shrink:0;overflow:hidden;}

.bog-avatar img{width:100%;height:100%;object-fit:cover;}

.bog-card-head{}

.bog-name{font-family:'Arvo',serif;font-size:.95rem;font-weight:800;color:#0d1b3e;line-height:1.3;margin-bottom:3px;}

.bog-desig{font-size:.72rem;font-weight:700;color:#c8a84b;line-height:1.3;margin-bottom:3px;}

.bog-card-body{padding:14px 20px;}

.bog-pos{font-size:.78rem;color:#374151;line-height:1.55;margin-bottom:6px;}

.bog-org{font-size:.72rem;color:#64748b;display:flex;align-items:center;gap:4px;margin-bottom:8px;}

.bog-qual{font-size:.72rem;color:#94a3b8;font-style:italic;margin-bottom:10px;}

.bog-bio{font-size:.76rem;color:#374151;line-height:1.65;border-top:1px solid #f1f5f9;padding-top:10px;display:none;}

/* expand on click */

.bog-card-footer{padding:10px 20px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;}

.bog-since{font-size:.67rem;color:#94a3b8;font-weight:600;}

.bog-expand{display:inline-flex;align-items:center;gap:4px;font-size:.72rem;font-weight:700;color:#0d1b3e;background:none;border:1px solid #e6eaf4;border-radius:5px;padding:5px 10px;cursor:pointer;transition:all .2s;}

.bog-expand:hover{background:#0d1b3e;color:#fff;border-color:#0d1b3e;}

/* Institutional context */

.bog-context{background:#f5f3ee;border-top:1px solid #e6eaf4;padding:clamp(36px,5vw,52px) clamp(20px,6vw,90px);}

.bog-context-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;}

@media(max-width:768px){.bog-context-inner{grid-template-columns:1fr;}}

.bog-context-text h2{font-family:'Arvo',serif;font-size:clamp(1.4rem,2.5vw,1.9rem);font-weight:800;color:#0d1b3e;margin-bottom:14px;}

.bog-context-text p{font-size:.87rem;color:#64748b;line-height:1.8;margin-bottom:14px;}

.powers-list{display:flex;flex-direction:column;gap:10px;}

.power-item{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:#fff;border:1px solid #e6eaf4;border-radius:9px;}

.power-item::before{content:'';width:6px;height:6px;border-radius:50%;background:#c8a84b;flex-shrink:0;margin-top:6px;}

.power-item p{font-size:.8rem;color:#374151;margin:0;line-height:1.55;}

/* ============================================================
   HEADER STYLES
   ============================================================ */

/* ─── Hide inline desktop nav ─────────────────────────────────── */

#primary-navigation { display: none !important; }

/* ─── Hamburger always visible ────────────────────────────────── */

.nav-hamburger { display: flex !important; }

/* ══════════════════════════════════════════════════════════════
           BEFORE SCROLL  — default state
           (inherits whatever existing theme styles set for #site-header)
           ══════════════════════════════════════════════════════════════ */

#site-header {
            position: absolute;          /* sits on top of hero / page content */
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            /* Smooth transition for ALL properties that change on scroll */
            transition:
                position 0s,             /* can't transition position itself */
                top         0.3s ease,
                padding     0.3s ease,
                height      0.3s ease,
                background  0.3s ease,
                box-shadow  0.3s ease;
        }

/* ══════════════════════════════════════════════════════════════
           AFTER SCROLL  — sticky / compact state
           Added to <header> via JS when window.scrollY > 80
           ══════════════════════════════════════════════════════════════ */

#site-header.header-scrolled {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;

            /* Compact height — tweak to taste */
            padding-top:    8px  !important;
            padding-bottom: 8px  !important;
            min-height:     0    !important;

            /* Solid background so content behind it doesn't show through */
            background-color: #ffffff !important;

            /* Subtle shadow to lift it above content */
            box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);

            /* Shrink the logo proportionally */
            transition:
                padding     0.3s ease,
                background  0.3s ease,
                box-shadow  0.3s ease;
        }

/* Shrink logo when scrolled */

#site-header.header-scrolled .logo-icon {
            width: 5% !important;        /* was 12% at rest */
            transition: width 0.3s ease;
        }

/* Keep logo width transition smooth before scroll too */

#site-header .logo-icon {
            transition: width 0.3s ease;
        }

/* ── Spacer injected by JS so page content doesn't jump ───────── */

#header-scroll-spacer {
            display: none;
            height: 0;
            transition: height 0.3s ease;
        }

/* ============================================================
   FRONT PAGE STYLES
   ============================================================ */

*,*::before,*::after{box-sizing:border-box;}

.fp-wrap{width:100%;overflow-x:hidden;}

.section-tag{display:inline-block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#c8a84b;margin-bottom:10px;}

.section-title{font-family:'Arvo',serif;font-size:clamp(1.55rem,3.2vw,1.55rem);font-weight:800;color:#1a2b4a;line-height:1.2;margin:0 0 14px;}

.section-sub{font-size:clamp(.8rem,1.4vw,.8rem);color:#64748b;line-height:1.78;margin:0;}

.counter-num{display:inline-block;}

/* Shared carousel button */

.cbtn{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;cursor:pointer;transition:all .2s;flex-shrink:0;border:none;padding:0;}

.cbtn:disabled{opacity:.3;cursor:default;pointer-events:none;}

.cbtn-dark{border:1.5px solid rgba(255,255,255,.25)!important;background:rgba(255,255,255,.08);color:#fff;}

.cbtn-dark:hover{background:#c8a84b;border-color:#c8a84b!important;color:#1a2b4a;}

.cbtn-light{border:1.5px solid #d1d9e6!important;background:#fff;color:#1a2b4a;}

.cbtn-light:hover{background:#1a2b4a;color:#fff;border-color:#1a2b4a!important;}

/* Shared dots */

.fp-dots{display:flex;justify-content:center;gap:8px;margin-top:24px;}

.fp-dot{width:8px;height:8px;border-radius:50%;border:none;cursor:pointer;padding:0;transition:all .22s;}

.fp-dot.dark{background:rgba(255,255,255,.3);}

.fp-dot.light{background:#d1d9e6;}

.fp-dot.active{width:24px;border-radius:4px;}

.fp-dot.dark.active{background:#c8a84b;}

.fp-dot.light.active{background:#1a2b4a;}

/* Carousel viewport/track */

.c-viewport{overflow:hidden;width:100%;}

.c-track{display:flex;transition:transform .45s cubic-bezier(.25,.8,.25,1);will-change:transform;}

.hero{position:relative;width:100%;min-height:105vh;/*display:flex;*/align-items:center;overflow:hidden;background:#0d1b3e;}

.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.45;}

.hero-stripe{position:absolute;z-index:1;bottom:-1px;left:0;right:0;height:80px;background:#fff;clip-path:polygon(0 65%,100% 0%,100% 100%,0 100%);}

.hero-inner{position:absolute;z-index:2;width:100%;padding:clamp(100px,14vh,160px) clamp(20px,6vw,100px) clamp(80px,10vh,130px);left:0;}

.hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(200,168,75,.18);border:1px solid rgba(200,168,75,.4);padding:6px 18px;border-radius:99px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#c8a84b;margin-bottom:15px;backdrop-filter:blur(8px);animation:hf .8s ease .1s both; margin-top:2%;}

.hero-badge::before{content:'';width:6px;height:6px;background:#c8a84b;border-radius:50%;animation:hp 2s infinite;}

@keyframes hp{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.5)}}

.hero-h1{font-family:'Arvo',serif;font-size:clamp(1.4rem,4.5vw,5.5rem);font-weight:800;color:#fff;line-height:1;margin-bottom:18px;max-width:1100px;animation:hf .8s ease .2s both;}

.hero-h1 em{font-style:normal;color:#c8a84b;}

.hero-sub{font-size:clamp(.8rem,1.8vw,1rem);color:rgba(255,255,255,.78);max-width:665px;line-height:1.5;margin-bottom:25px;animation:hf .8s ease .3s both;}

.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:30px;animation:hf .8s ease .4s both;}

.hero-btng{display:inline-flex;align-items:center;gap:8px;padding:15px 36px;background:#c8a84b;color:#0d1b3e;font-weight:800;font-size:.92rem;letter-spacing:.04em;border-radius:6px;text-decoration:none;transition:background .2s,transform .2s;box-shadow:0 4px 20px rgba(200,168,75,.4);}

.hero-btng:hover{background:#dfc060;transform:translateY(-2px);color:#0d1b3e;}

.hero-btno{display:inline-flex;align-items:center;gap:8px;padding:15px 36px;border:1.5px solid rgba(255,255,255,.45);color:#fff;font-weight:700;font-size:.92rem;letter-spacing:.04em;border-radius:6px;text-decoration:none;transition:all .2s;}

.hero-btno:hover{background:rgba(255,255,255,.1);border-color:#fff;color:#fff;}

.hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;max-width:760px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.14);border-radius:16px;overflow:hidden;backdrop-filter:blur(10px);animation:hf .8s ease .5s both;}

.hero-stat{padding:20px 22px;text-align:center;background:rgba(255,255,255,.06);transition:background .2s;}

.hero-stat:hover{background:rgba(200,168,75,.14);}

.hero-stat .n{display:block;font-size:clamp(1.5rem,2.8vw,2rem);font-weight:900;color:#c8a84b;font-family:'Arvo',serif;line-height:1;}

.hero-stat .l{font-size:.66rem;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:.09em;margin-top:6px;}

@media(max-width:640px){.hero-stats{grid-template-columns:repeat(2,1fr);}}

.hero-scroll{position:absolute;bottom:88px;left:50%;transform:translateX(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:6px;color:rgba(255,255,255,.4);font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;animation:hf 1s ease 1s both;}

.hero-scroll-line{width:1.5px;height:36px;background:linear-gradient(to bottom,rgba(200,168,75,.6),transparent);animation:sl 1.6s ease-in-out infinite;}

@keyframes sl{0%,100%{opacity:1;transform:scaleY(1)}50%{opacity:.3;transform:scaleY(.4)}}

@keyframes hf{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}

.dyn-section{padding:clamp(48px,7vw,88px) 0;}

.dyn-inner{width:100%;max-width:1600px;margin:0 auto;padding:0 clamp(16px,4vw,60px);display:grid;grid-template-columns:3.5fr 2fr;gap:28px;align-items:start;}

@media(max-width:1024px){.dyn-inner{grid-template-columns:1fr;}}

.dir-hdr{background:#1a2b4a;border-radius:18px 18px 0 0;padding:18px 26px;display:flex;align-items:center;gap:10px;}

.dir-hdr h3{font-size:13px;font-weight:800;color:#fff;margin:0;text-transform:uppercase;letter-spacing:.07em;}

.dir-card{background:linear-gradient(150deg,#1e3158 0%,#0e1c3a 100%);border-radius:0 0 18px 18px;padding:clamp(26px,3vw,46px) clamp(24px,3.5vw,52px);display:flex;gap:clamp(24px,3vw,48px);align-items:flex-start;position:relative;overflow:hidden;}

.dir-card::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 88% 12%,rgba(200,168,75,.11) 0%,transparent 55%),radial-gradient(circle at 8% 90%,rgba(200,168,75,.06) 0%,transparent 40%);}

@media(max-width:640px){.dir-card{flex-direction:column;gap:24px;}}

.dir-photo-col{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:14px;}

.dir-photo-wrap{    width: clamp(120px, 12vw, 170px);
    height: clamp(120px, 17vw, 220px);
    border-radius: 10%;
    border: 4px solid #c8a84b;
    overflow: hidden;
    background: rgba(255, 255, 255, .07);
    position: relative;
    box-shadow: 0 8px 36px rgba(0, 0, 0, .4);
    display: flex;
    align-items: center;
    justify-content: center;}

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

.dir-photo-badge{position:absolute;bottom:0;right:0;width:36px;height:36px;border-radius:50%;background:#c8a84b;display:flex;align-items:center;justify-content:center;font-size:16px;border:2px solid #1e3158;}

.dir-name{font-size:16px;font-weight:800;color:#fff;text-align:center;line-height:1.3;}
.dir-desig{font-size:12px;color:#c8a84b;text-align:center;line-height:1.4;max-width:160px;margin-top:-8px;} 

.dir-msg-col{flex:1;min-width:0;}

.dir-quote{font-size:21px;font-family:Arvo,serif;font-weight:bold;color:#c8a84b;margin-bottom:14px;}

.dir-message{font-size: clamp(12px, 1.4vw, 14px);
    color: rgba(255, 255, 255, .84);
    line-height: 1.9;
    margin-bottom: 24px;
    text-align: justify;}

.dir-sig{font-size:13px;color:#c8a84b;font-style:italic;padding-top:14px;margin-bottom:22px;border-top:1px solid rgba(200,168,75,.22);}

.dir-btn{display:inline-flex;align-items:center;gap:7px;padding:12px 28px;background:#c8a84b;color:#1a2b4a;border-radius:9px;font-size:13px;font-weight:800;text-decoration:none;transition:all .2s;}

.dir-btn:hover{background:#dab95c;transform:translateY(-2px);box-shadow:0 8px 22px rgba(200,168,75,.35);}

/* News col */

.news-col{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 2px 20px rgba(0,0,0,.06);display:flex;flex-direction:column;}

.tab-hdr{display:flex;border-bottom:2px solid #f0f2f7;}

.tab-btn{flex:1;padding:15px 10px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;background:none;border:none;cursor:pointer;border-bottom:2.5px solid transparent;margin-bottom:-2px;display:flex;align-items:center;justify-content:center;gap:6px;transition:color .2s,border-color .2s;}

.tab-btn:hover{color:#1a2b4a;}

.tab-btn.active{color:#1a2b4a;border-bottom-color:#c8a84b;}

.tab-pnl{display:none;flex-direction:column;flex:1;}

.tab-pnl.active{display:flex;}

.nbadge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:99px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;background:#f1f5f9;color:#475569;}

.nbadge-new{background:#dcfce7;color:#166534;}

.nbadge-urgent{background:#fee2e2;color:#991b1b;}

.nbadge-admission{background:#dbeafe;color:#1e40af;}

.nbadge-event{background:#fef3c7;color:#92400e;}

.notices-list{padding:6px 0;max-height:530px;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#e2e8f0 transparent;}

.n-item{display:flex;gap:11px;padding:12px 20px;border-bottom:1px solid #f1f5f9;transition:background .18s;}

.n-item:last-child{border-bottom:0;}

.n-item:hover{background:#fafbff;}

.n-dot{width:7px;height:7px;background:#c8a84b;border-radius:50%;flex-shrink:0;margin-top:7px;}

.n-body{flex:1;min-width:0;}

.n-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:4px;}

.n-date{font-size:10px;color:#94a3b8;font-weight:500;}

.n-title{font-size:12px;font-weight:600;color:#1a2b4a;line-height:1.5;margin:0 0 4px;}

.n-title a{color:inherit;text-decoration:none;}

.n-title a:hover{color:#c8a84b;}

.n-link{font-size:11px;color:#3b82f6;text-decoration:none;font-weight:600;}

.tab-footer{padding:12px 20px;border-top:1px solid #f1f5f9;text-align:center;}

.tab-footer a{font-size:12px;font-weight:700;color:#c8a84b;text-decoration:none;}

.news-list{padding:4px 0;flex:1;}

.nw-card{display:flex;gap:14px;padding:14px 20px;border-bottom:1px solid #f1f5f9;transition:background .18s;}

.nw-card:last-child{border-bottom:0;}

.nw-card:hover{background:#fafbff;}

.nw-thumb{width:68px;height:58px;flex-shrink:0;border-radius:8px;overflow:hidden;display:block;background:#f1f5f9;}

.nw-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s;}

.nw-card:hover .nw-thumb img{transform:scale(1.06);}

.nw-content{flex:1;min-width:0;}

.nw-meta{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:4px;}

.nw-date{font-size:10px;color:#94a3b8;font-weight:500;}

.nw-src{font-size:10px;color:#94a3b8;}

.nw-title{font-size:13px;font-weight:700;color:#1a2b4a;line-height:1.45;margin:0 0 4px;}

.nw-title a{color:inherit;text-decoration:none;}

.nw-title a:hover{color:#c8a84b;}

.nw-exc{font-size:11.5px;color:#64748b;line-height:1.55;margin:0;}

.tab-empty{padding:28px 20px;color:#b0bac9;font-size:13px;text-align:center;}

.stats-strip{width:100%;display:grid;grid-template-columns:repeat(4,1fr);background:linear-gradient(135deg,#1a2b4a 0%,#0d1b3e 100%);}

.stat-cell{padding:clamp(28px,4vw,50px) clamp(16px,2vw,32px);text-align:center;border-right:1px solid rgba(255,255,255,.08);transition:background .2s;}

.stat-cell:last-child{border-right:0;}

.stat-cell:hover{background:rgba(200,168,75,.08);}

.stat-cell .n{display:block;font-size:clamp(2rem,3.5vw,3rem);font-weight:900;color:#c8a84b;font-family:'Arvo',serif;line-height:1;}

.stat-cell .l{font-size:.72rem;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:.1em;margin-top:8px;}

@media(max-width:640px){.stats-strip{grid-template-columns:repeat(2,1fr);}.stat-cell:nth-child(2){border-right:0;}}

.why-section{background:#fff;padding:clamp(56px,7vw,96px) 0;}

.why-grid{width:100%;max-width:1600px;margin:0 auto;padding:0 clamp(16px,4vw,60px);/*display:grid;*/grid-template-columns:4fr 2fr;gap:clamp(32px,4vw,64px);align-items:center;}

@media(max-width:960px){.why-grid{grid-template-columns:1fr;}}

.why-slider{position:relative;/*border-radius:22px;*/overflow:hidden;min-height:clamp(360px,44vw,460px);box-shadow:0 16px 48px rgba(0,0,0,.14);}

.why-slider .metaslider,.why-slider .metaslider .flexslider,.why-slider .metaslider .nivoSlider,.why-slider .metaslider img,.why-slider .ml-slider-3d-container{width:100%!important;height:clamp(360px,44vw,460px)!important;object-fit:cover!important;/*border-radius:22px!important;*/}

.why-badge{position:absolute;bottom:22px;right:22px;z-index:10;background:#c8a84b;color:#1a2b4a;border-radius:14px;padding:14px 20px;text-align:center;box-shadow:0 4px 20px rgba(0,0,0,.22);}

.why-badge .n{display:block;font-size:1.6rem;font-weight:900;font-family:'Arvo',serif;line-height:1;}

.why-badge .l{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;}

.why-feats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px;}

@media(max-width:480px){.why-feats{grid-template-columns:1fr;}}

.why-feat{display:flex;align-items:flex-start;gap:14px;padding:18px;background:#f8f9fc;border-radius:14px;}

.why-feat-ico{font-size:22px;flex-shrink:0;}

.why-feat h4{font-size:13px;font-weight:700;color:#1a2b4a;margin:0 0 5px;}

.why-feat p{font-size:11px;color:#64748b;margin:0;line-height:1.5;}

.place-section{background:linear-gradient(135deg,#0d1b3e 0%,#1a2b4a 100%);padding:clamp(56px,7vw,96px) 0;position:relative;overflow:hidden;}

.place-section::before{content:'';position:absolute;inset:0;background-image:radial-gradient(circle,rgba(200,168,75,.08) 1px,transparent 1px);background-size:30px 30px;pointer-events:none;}

.place-hdr{width:100%;max-width:1600px;margin:0 auto clamp(36px,4vw,56px);padding:0 clamp(16px,4vw,60px);display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;}

.place-nums{width:100%;max-width:1600px;margin:0 auto clamp(48px,5vw,72px);padding:0 clamp(16px,4vw,60px);display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.1);border-radius:18px;overflow:hidden;}

@media(max-width:600px){.place-nums{grid-template-columns:1fr;}}

.place-num{padding:clamp(24px,3vw,42px) clamp(16px,2vw,30px);text-align:center;background:rgba(255,255,255,.04);transition:background .2s;}

.place-num:hover{background:rgba(200,168,75,.1);}

.place-num .n{display:block;font-size:clamp(2rem,4vw,3.2rem);font-weight:900;color:#c8a84b;font-family:'Arvo',serif;line-height:1;}

.place-num .l{font-size:.7rem;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:.1em;margin-top:8px;}

/* Recruiter carousel */

.rec-wrap{width:100%;max-width:1600px;margin:0 auto;padding:0 clamp(16px,4vw,60px);}

.rec-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;}

.rec-header h4{font-size:14px;font-weight:700;color:rgba(255,255,255,.7);text-transform:uppercase;letter-spacing:.1em;margin:0;}

.rec-controls{display:flex;gap:8px;}

.rec-card{flex:0 0 calc(12.5% - 14px);height:90px;border-radius:12px;border:1.5px solid rgba(255,255,255,.12);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px 8px;text-decoration:none;transition:all .22s;backdrop-filter:blur(4px);}

.rec-card:hover{border-color:#c8a84b;background:rgba(200,168,75,.12);transform:translateY(-3px);}

@media(max-width:1200px){.rec-card{flex-basis:calc(16.666% - 14px);}}

@media(max-width:900px){.rec-card{flex-basis:calc(25% - 12px);}}

@media(max-width:600px){.rec-card{flex-basis:calc(33.333% - 11px);}}

@media(max-width:380px){.rec-card{flex-basis:calc(50% - 8px);}}

.rec-card img{max-width:100%;max-height:44px;object-fit:contain;transition:filter .22s;}

/*.rec-card:hover img{filter:brightness(0) invert(1) opacity(1);}*/

.rec-abbr{width:46px;height:46px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:900;letter-spacing:.03em;}

.rec-name{font-size:11px;font-weight:600;color:black;text-align:center;line-height:1.3;max-width:90px;}

/*.prog-section{background:#f4f7fc;padding:clamp(56px,7vw,96px) 0;} */

.prog-hdr{width:100%;max-width:1600px;margin:0 auto clamp(32px,3.5vw,30px); padding:50px clamp(16px,4vw,60px);display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;}

.prog-hdr .phr{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}

.prog-outer{width:100%;max-width:1600px;margin:0 auto;padding:0 clamp(16px,4vw,60px);}

.prog-card{flex:0 0 calc(25% - 18px);/*border-radius:20px;*/overflow:hidden;background:#fff;box-shadow:0 4px 24px rgba(0,0,0,.07);display:flex;flex-direction:column;transition:transform .28s,box-shadow .28s;text-decoration:none;}

.prog-card:hover{transform:translateY(-7px);box-shadow:0 16px 44px rgba(0,0,0,.13);}

@media(max-width:1100px){.prog-card{flex-basis:calc(33.333% - 16px);}}

@media(max-width:720px){.prog-card{flex-basis:calc(50% - 12px);}}

@media(max-width:460px){.prog-card{flex-basis:calc(100%);}}

.pc-top{padding:32px 26px 24px;min-height:150px;display:flex;flex-direction:column;justify-content:flex-end;}

.pb1{background:linear-gradient(135deg,#1a2b4a 0%,#2d4a7a 100%);}

.pb2{background:linear-gradient(135deg,#0d3560 0%,#1a5c9a 100%);}

.pb3{background:linear-gradient(135deg,#6b2f0d 0%,#c8501a 100%);}

.pb4{background:linear-gradient(135deg,#0a5c3a 0%,#0d9a68 100%);}

.pc-num{font-size:11px;font-weight:800;color:rgba(255,255,255,.4);letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px;}

.pc-top h3{font-size:clamp(16px,1.8vw,20px);font-weight:800;color:#fff;margin:0;line-height:1.3;}

.pc-body{padding:20px 24px 26px;flex:1;display:flex;flex-direction:column;gap:8px;}

.pc-tag{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#c8a84b;}

.pc-body p{font-size:13.5px;color:#64748b;line-height:1.65;margin:0;flex:1;}

.pc-cta{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#1a2b4a;margin-top:8px;}

.pc-cta span{transition:transform .2s;}

.prog-card:hover .pc-cta span{transform:translateX(4px);}

.ev-section{background:#0e1c3a;padding:clamp(56px,7vw,96px) 0;position:relative;overflow:hidden;}

.ev-section::before{content:'';position:absolute;inset:0;background-image:radial-gradient(circle,rgba(200,168,75,.1) 1px,transparent 1px);background-size:32px 32px;pointer-events:none;}

.ev-hdr{width:100%;max-width:1600px;margin:0 auto clamp(32px,3.5vw,52px);padding:0 clamp(16px,4vw,60px);display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;}

.ev-hdr .section-tag{color:#c8a84b;}

.ev-hdr .section-title{color:#fff;margin:0;}

.ev-hdr-right{display:flex;align-items:center;gap:14px;flex-shrink:0;}

.ev-viewall{font-size:13px;font-weight:700;color:#c8a84b;text-decoration:none;border:1.5px solid rgba(200,168,75,.4);padding:9px 22px;border-radius:9px;transition:all .2s;white-space:nowrap;}

.ev-viewall:hover{background:rgba(200,168,75,.1);border-color:#c8a84b;}

.ev-outer{width:100%;max-width:1600px;margin:0 auto;padding:0 clamp(16px,4vw,60px);}

.ev-card{flex:0 0 calc(33.333% - 16px);background:#fff;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 36px rgba(0,0,0,.28);transition:transform .28s,box-shadow .28s;}

.ev-card:hover{transform:translateY(-7px);box-shadow:0 18px 52px rgba(0,0,0,.36);}

@media(max-width:1100px){.ev-card{flex-basis:calc(50% - 12px);}}

@media(max-width:620px){.ev-card{flex-basis:calc(100%);}}

.ev-banner{height:190px;position:relative;overflow:hidden;display:flex;align-items:flex-end;}

.ev-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s;}

.ev-card:hover .ev-banner img{transform:scale(1.06);}

.ev-bfb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;}

.ev-bfb svg{opacity:.15;}

.ev-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.7) 0%,transparent 60%);}

.ev-dbadge{position:absolute;bottom:14px;left:14px;background:#c8a84b;color:#1a2b4a;border-radius:10px;padding:6px 14px;display:flex;flex-direction:column;align-items:center;z-index:2;line-height:1.1;}

.ev-dbadge .ed{font-size:22px;font-weight:900;}

.ev-dbadge .em{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;}

.ev-dbadge .ey{font-size:9px;font-weight:600;opacity:.75;}

.ev-cat{position:absolute;top:14px;right:14px;background:rgba(255,255,255,.18);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.25);color:#fff;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;padding:4px 10px;border-radius:99px;z-index:2;}

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

.ev-title{font-size:clamp(14px,1.6vw,17px);font-weight:800;color:#1a2b4a;line-height:1.4;margin:0 0 12px;}

.ev-title a{color:inherit;text-decoration:none;}

.ev-title a:hover{color:#c8a84b;}

.ev-exc{font-size:13px;color:#64748b;line-height:1.6;margin:0 0 14px;flex:1;}

.ev-meta{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;}

.ev-mr{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:#475569;font-weight:500;}

.ev-mr .ei{font-size:13px;flex-shrink:0;margin-top:1px;}

.ev-online{color:#0284c7;font-weight:700;}

.ev-hybrid{color:#7c3aed;font-weight:700;}

.ev-offline{color:#059669;font-weight:700;}

.ev-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;border-top:1px solid #f1f5f9;}

.ev-reg{display:inline-flex;align-items:center;gap:6px;padding:9px 18px;background:#1a2b4a;color:#fff;border-radius:8px;font-size:12.5px;font-weight:700;text-decoration:none;transition:all .2s;}

.ev-reg:hover{background:#c8a84b;color:#1a2b4a;transform:translateY(-1px);}

.ev-detail{font-size:12px;font-weight:600;color:#94a3b8;text-decoration:none;transition:color .2s;}

.ev-detail:hover{color:#c8a84b;}

.min-section{background:#f8f9fc;border-top:1px solid #e8ecf4;padding:clamp(48px,6vw,80px) 0;}

.min-hdr{width:100%;max-width:1600px;margin:0 auto clamp(28px,3vw,44px);padding:0 clamp(16px,4vw,60px);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}

.min-hdr h2{font-size:15px;font-weight:800;color:#1a2b4a;text-transform:uppercase;letter-spacing:.09em;margin:0;}

.min-hdr-r{display:flex;align-items:center;gap:10px;}

.min-outer{width:100%;max-width:1600px;margin:0 auto;padding:0 clamp(16px,4vw,60px);position:relative;}

.min-outer::before,.min-outer::after{content:'';position:absolute;top:0;bottom:0;width:40px;z-index:2;pointer-events:none;}

.min-outer::before{left:clamp(16px,4vw,60px);background:linear-gradient(to right,#f8f9fc,transparent);}

.min-outer::after{right:clamp(16px,4vw,60px);background:linear-gradient(to left,#f8f9fc,transparent);}

.min-card{flex:0 0 calc(16.666% - 17px);height:100px;border-radius:14px;border:1.5px solid #e2e8f0;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:12px 10px;text-decoration:none;transition:all .22s;user-select:none;}

.min-card:hover{border-color:#c8a84b;box-shadow:0 6px 24px rgba(0,0,0,.08);transform:translateY(-3px);}

@media(max-width:1200px){.min-card{flex-basis:calc(20% - 16px);}}

@media(max-width:900px){.min-card{flex-basis:calc(25% - 15px);}}

@media(max-width:640px){.min-card{flex-basis:calc(33.333% - 13px);}}

@media(max-width:400px){.min-card{flex-basis:calc(50% - 10px);}}

.min-card img{max-width:100%;max-height:50px;object-fit:contain;filter:grayscale(20%);transition:filter .22s;}

.min-card:hover img{filter:grayscale(0%);}

.min-abbr{width:50px;height:50px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;color:#fff;letter-spacing:.03em;}

.min-name{font-size:9.5px;font-weight:600;color:#475569;text-align:center;line-height:1.3;max-width:120px;}

/* ============================================================
   UTILITY CLASSES (extracted from remaining inline styles)
   ============================================================ */

/* Typography utilities */

.text-gold    { color: #c8a84b; }

.text-white   { color: #ffffff; }

.text-navy    { color: #0d1b3e; }

.text-muted   { color: rgba(255,255,255,.72); }

.text-muted-sm{ color: rgba(255,255,255,.4); }

.text-label   { font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }

.text-label-gold { font-size:.67rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#c8a84b; margin-bottom:6px; }

.text-kpi-val { font-size:1.2rem; font-weight:900; color:#c8a84b; font-family:'Arvo',serif; }

/* Layout utilities */

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

.flex-gap-24  { gap:24px; }

.flex-gap-16  { gap:16px; }

.mt-6         { margin-top:6px; }

.mb-14        { margin-bottom:14px; }

/* CTA button variants */

.btn-iimbg-outline {
  display:inline-flex; align-items:center; padding:13px 28px;
  border:1.5px solid rgba(200,168,75,.5); color:#c8a84b;
  border-radius:9px; font-size:13px; font-weight:700;
  text-decoration:none; white-space:nowrap; transition:all .2s;
}

.btn-iimbg-outline:hover { background:rgba(200,168,75,.1); border-color:#c8a84b; }

.btn-secondary-dark {
  display:inline-flex; align-items:center; padding:12px 24px;
  background:#1a2b4a; color:#fff; border-radius:9px;
  font-size:13px; font-weight:700; text-decoration:none; white-space:nowrap;
}

.btn-iim-act {
  display:inline-flex; align-items:center; gap:6px;
  padding:12px 22px; background:#0d1b3e; color:#fff;
  border-radius:6px; font-weight:700; font-size:.82rem;
  text-decoration:none; transition:background .2s; margin-top:6px;
}

.btn-iim-act:hover { background:#c8a84b; color:#0d1b3e; }

/* Info grid in join strips */

.info-tile {
  background:#fff; border:1px solid #e6eaf4; border-radius:10px;
  padding:14px 16px; box-shadow:0 1px 4px rgba(0,0,0,.03);
}

.info-tile-icon { font-size:18px; margin-bottom:6px; }

.info-tile-label { font-size:.67rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#94a3b8; margin-bottom:3px; }

.info-tile-value { font-size:.78rem; font-weight:600; color:#0d1b3e; }

/* Board section labels */

.section-label-gold { font-size:.67rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#c8a84b; margin-bottom:14px; }


/* ============================================================
   DARK / LIGHT MODE TOGGLE
   ============================================================ */

/* Day mode (default) — explicit light overrides */
body.day-mode {
  --navy:       #0d1b3e;
  --navy-light: #1a2f5c;
  --gold:       #c8a84b;
  --gold-light: #e8c96a;
  --white:      #ffffff;
  --off-white:  #f5f3ee;
  --gray:       #8a8f9e;
  --light-gray: #e8e9ed;
  --text:       #1c1e2a;
  --bg-page:    #ffffff;
  --bg-card:    #ffffff;
  --bg-surface: #f5f3ee;
  --border:     #e8e9ed;
  --text-muted: #8a8f9e;
  background: #ffffff;
  color: #1c1e2a;
}

/* Night mode */
body.night-mode {
  --navy:       #e8eaf6;
  --navy-light: #c5cae9;
  --gold:       #ffd54f;
  --gold-light: #ffecb3;
  --white:      #1a1a2e;
  --off-white:  #16213e;
  --gray:       #9e9e9e;
  --light-gray: #2a2a4a;
  --text:       #e8eaf6;
  --bg-page:    #0f0f23;
  --bg-card:    #1a1a2e;
  --bg-surface: #16213e;
  --border:     #2a2a4a;
  --text-muted: #9e9e9e;
  background: #0f0f23 !important;
  color: #e8eaf6 !important;
}

body.night-mode .loader-overlay { background: #0f0f23; }

/* Night mode — page & card backgrounds */
body.night-mode .pg-body,
body.night-mode .careers-pg,
body.night-mode main,
body.night-mode .car-wrap { background: #0f0f23; }

body.night-mode .iimbg-hero,
body.night-mode .car-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }

/* Cards in night mode */
body.night-mode .car-card,
body.night-mode .proj-card,
body.night-mode .faculty-card,
body.night-mode .staff-card,
body.night-mode .prog-card,
body.night-mode .ev-card,
body.night-mode .job-card { background: #1a1a2e !important; border-color: #2a2a4a !important; color: #e8eaf6; }

body.night-mode .car-tbl-wrap,
body.night-mode .positions-table-wrap { border-color: #2a2a4a; }

body.night-mode .car-tbl tbody tr { border-bottom-color: #2a2a4a; }
body.night-mode .car-tbl tbody tr:hover { background: #1e1e38; }
body.night-mode .car-tbl td { color: #e8eaf6; }
body.night-mode .c-name { color: #ffd54f; }
body.night-mode .c-req  { color: #b0b8d4; }

/* Tables */
body.night-mode table thead th { background: #1a1a2e; color: rgba(255,255,255,.8); }
body.night-mode table tbody tr:hover { background: #1e1e38; }
body.night-mode table td { color: #d0d4e8; border-bottom-color: #2a2a4a; }

/* Text overrides */
body.night-mode h1,
body.night-mode h2,
body.night-mode h3,
body.night-mode h4 { color: #e8eaf6; }

body.night-mode p,
body.night-mode li,
body.night-mode td { color: #c8cce0; }

body.night-mode .sec-desc,
body.night-mode .car-sec-desc { color: #9da5c0; }

/* Surfaces */
body.night-mode .car-note,
body.night-mode .section-note { background: #1a1a2e; border-left-color: #ffd54f; color: #9da5c0; }

body.night-mode .car-uw { background: #1a1a2e; border-color: rgba(255,213,79,.25); }
body.night-mode .car-uw-hdr h3 { color: #e8eaf6; }
body.night-mode .car-uw-hdr p  { color: #9da5c0; }
body.night-mode .car-uw-drop   { border-color: rgba(255,213,79,.4); }
body.night-mode .car-uw-drop p { color: #b0b8d4; }
body.night-mode .car-uw-sel    { background: #16213e; color: #e8eaf6; }
body.night-mode .car-uw-radios label { color: #c8cce0; }

/* Footer always dark — no change needed */
/* Nav overlay always dark — no change needed */

/* Upload widget */
body.night-mode .iimbg-uw { background: #1a1a2e; border-color: rgba(255,213,79,.25); }
body.night-mode .iimbg-uw-hdr h3 { color: #e8eaf6; }
body.night-mode .iimbg-uw-hdr p  { color: #9da5c0; }

/* How-to-apply section */
body.night-mode .how-apply { background: #0a0a1a; }
body.night-mode .hap-step-text h4 { color: #e8eaf6; }
body.night-mode .hap-step-text p  { color: #9da5c0; }

/* Inner pages */
body.night-mode.iimbg-inner { background: #0f0f23; }

/* Area tags */
body.night-mode .area-tag { background: #1e1e38; color: #c8b87a; }

/* Badges */
body.night-mode .sec-badge--faculty  { background: rgba(255,213,79,.1); color: #ffd54f; }
body.night-mode .sec-badge--nonfaculty { background: rgba(100,140,255,.1); color: #8aabff; }
body.night-mode .sec-badge--projects  { background: rgba(180,100,255,.1); color: #c77dff; }
body.night-mode .car-badge--f  { background: rgba(255,213,79,.1); color: #ffd54f; }
body.night-mode .car-badge--nf { background: rgba(100,140,255,.1); color: #8aabff; }
body.night-mode .car-badge--p  { background: rgba(180,100,255,.1); color: #c77dff; }

/* Toggle button itself */
#iimbg-theme-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--gold);
  font-size: 22px;
  cursor: pointer;
  z-index: 9990;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
#iimbg-theme-toggle:hover { transform: scale(1.1); }
body.night-mode #iimbg-theme-toggle {
  background: #ffd54f;
  color: #0f0f23;
  box-shadow: 0 4px 18px rgba(255,213,79,0.35);
}
