:root{
  --navy:#101b34;
  --navy-2:#182548;
  --primary:#1b3a6b;
  --primary-dark:#132b50;
  --gold:#b8862c;
  --gold-light:#e9d9b8;
  --maroon:#7c2d3e;
  --teal:#0f6f6a;
  --purple:#6b4ba8;
  --orange:#c76b1f;
  --text-dark:#1c2230;
  --text-muted:#6b7280;
  --bg-soft:#f6f6f8;
  --radius:14px;
}

*{ box-sizing:border-box; }

body{
  font-family:'Inter', sans-serif;
  color:var(--text-dark);
  background:#fff;
}

h1,h2,h3,h4,.brand-name,.serif{
  font-family:'Playfair Display', serif;
}

a{ text-decoration:none; }
img{ max-width:100%; }

.text-gold{ color:var(--gold)!important; }
.bg-gold{ background:var(--gold)!important; }
.text-maroon{ color:var(--maroon)!important; }
.text-teal{ color:var(--teal)!important; }

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

.btn-light-outline{ background:#fff; border:1px solid #e2e5ee; color:var(--text-dark); }
.btn-light-outline:hover{ background:var(--bg-soft); }

/* ===== Top strip ===== */
.top-strip{
  background:var(--navy);
  color:#c7cede;
  font-size:.78rem;
  padding:.45rem 0;
}
.top-strip a{ color:#c7cede; }
.top-strip a:hover{ color:#fff; }
.top-strip-links{ display:flex; gap:1.3rem; flex-wrap:wrap; }

/* ===== Header ===== */
.site-header{
  background:#fff;
  border-bottom:1px solid #eceef3;
  z-index:1030;
}
.brand-monogram{
  width:46px; height:46px; border-radius:50%;
  background:var(--navy); color:var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  font-family:'Playfair Display', serif; font-weight:700; font-size:1.1rem;
  margin-right:.7rem; flex-shrink:0;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-name{ font-weight:700; font-size:1.05rem; color:var(--text-dark); }
.brand-tag{ font-size:.7rem; color:var(--text-muted); }
.footer-tag{ color:#9aa3c9!important; }

.main-nav{ gap:1.6rem; }
.main-nav a{
  color:var(--text-dark); font-size:.9rem; font-weight:600;
  padding:.4rem 0; border-bottom:2px solid transparent;
}
.main-nav a:hover{ color:var(--primary); }
.main-nav a.active{ color:var(--primary); border-bottom-color:var(--gold); }
.main-nav .dropdown-toggle::after{ vertical-align:middle; }

/* ---- "More" dropdown menu ---- */
.nav-more-dropdown .dropdown-menu{
  border:none;
  border-radius:16px;
  box-shadow:0 20px 48px rgba(16,27,52,.16), 0 2px 8px rgba(16,27,52,.06);
  padding:.9rem;
  margin-top:.9rem;
  min-width:300px;
  animation:dropdownFadeIn .18s ease;
}
@keyframes dropdownFadeIn{
  from{ opacity:0; transform:translateY(-6px); }
  to{ opacity:1; transform:translateY(0); }
}

.dropdown-section-label{
  font-size:.68rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
  color:var(--text-muted); padding:.5rem .7rem .4rem;
}
.nav-more-dropdown li:first-child .dropdown-section-label{ padding-top:.1rem; }

.nav-more-dropdown .dropdown-divider{ margin:.5rem .3rem; border-color:#eceef3; }

.nav-more-dropdown .dropdown-item{
  display:flex; align-items:center; gap:.8rem;
  padding:.6rem .7rem;
  border-radius:10px;
  margin-bottom:.15rem;
  white-space:normal;
}
.nav-more-dropdown .dropdown-item:last-child{ margin-bottom:0; }
.nav-more-dropdown .dropdown-item:hover,
.nav-more-dropdown .dropdown-item:focus{
  background:var(--bg-soft);
}
.nav-more-dropdown .dropdown-item.active{
  background:#eef1f8;
}

.dropdown-item-icon{
  width:38px; height:38px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:1rem;
}

.dropdown-item-text{ display:flex; flex-direction:column; line-height:1.3; }
.dropdown-item-text strong{
  font-size:.9rem; font-weight:600; color:var(--text-dark);
  font-family:'Inter', sans-serif;
}
.dropdown-item-text small{ font-size:.74rem; color:var(--text-muted); margin-top:.1rem; }

.mobile-nav a{
  color:var(--text-dark); font-weight:600; padding:.5rem .2rem; border-radius:8px;
}
.mobile-nav a.active{ background:var(--bg-soft); color:var(--primary); }

/* ===== Breadcrumb ===== */
.breadcrumb-bar{ background:var(--bg-soft); border-bottom:1px solid #eceef3; }
.breadcrumb-bar .breadcrumb{ padding:.7rem 0; font-size:.85rem; margin:0; }
.breadcrumb-bar a{ color:var(--text-muted); }
.breadcrumb-bar a:hover{ color:var(--primary); }
.breadcrumb-bar .active{ color:var(--text-dark); font-weight:600; }

/* ===== Page header banner (used on inner pages) ===== */
.page-header-banner{
  background:linear-gradient(120deg,var(--navy) 0%, var(--primary) 100%);
  color:#fff; padding:2.6rem 0;
  position:relative; overflow:hidden;
}
.page-header-banner h1{ font-weight:700; font-size:2rem; margin-bottom:.5rem; }
.page-header-banner p{ color:#c7cede; margin:0; max-width:640px; }
.page-header-stats{ display:flex; gap:2rem; flex-wrap:wrap; margin-top:1.3rem; }
.page-header-stats div{ text-align:left; }
.page-header-stats strong{ display:block; font-size:1.4rem; font-weight:700; color:#fff; }
.page-header-stats span{ font-size:.75rem; color:#aab4d6; }

/* ===== Section heading ===== */
.section-title{ font-weight:700; font-size:1.7rem; }
.section-kicker{
  display:inline-block; color:var(--gold); font-weight:700;
  font-size:.78rem; letter-spacing:.08em; text-transform:uppercase;
  margin-bottom:.4rem;
}

/* ===== Sidebar (profile widget) ===== */
.sidebar-sticky{ position:sticky; top:90px; display:flex; flex-direction:column; gap:1.2rem; }

.profile-side-card{
  background:#fff; border:1px solid #eceef3; border-radius:var(--radius);
  padding:1.6rem; text-align:center;
  box-shadow:0 8px 24px rgba(16,27,52,.06);
}
.profile-side-photo{
  width:120px; height:120px; border-radius:50%; object-fit:cover;
  border:4px solid var(--gold-light); margin-bottom:1rem;
}
.profile-side-card h3{ font-size:1.1rem; font-weight:700; margin-bottom:.2rem; }
.profile-side-card p{ font-size:.85rem; color:var(--text-muted); margin-bottom:.3rem; }
.profile-side-uni{ font-size:.76rem; color:var(--primary); font-weight:600; }

.profile-side-stats{
  display:grid; grid-template-columns:repeat(2,1fr); gap:.8rem;
  margin-top:1.2rem; padding-top:1.2rem; border-top:1px dashed #e2e5ee;
}
.profile-side-stats strong{ display:block; font-size:1.2rem; font-weight:700; color:var(--primary); }
.profile-side-stats small{ font-size:.68rem; color:var(--text-muted); }

.profile-side-social{ display:flex; justify-content:center; gap:.6rem; margin-top:1.1rem; }
.profile-side-social a{
  width:34px; height:34px; border-radius:50%;
  background:var(--bg-soft); color:var(--text-dark);
  display:flex; align-items:center; justify-content:center; font-size:.9rem;
}
.profile-side-social a:hover{ background:var(--primary); color:#fff; }

.side-card{
  background:#fff; border:1px solid #eceef3; border-radius:var(--radius);
  padding:1.3rem; box-shadow:0 6px 18px rgba(16,27,52,.05);
}
.side-card h3{ font-size:.98rem; font-weight:700; margin-bottom:.8rem; }
.side-list{ list-style:none; padding:0; margin:0; }
.side-list li{ display:flex; align-items:center; font-size:.85rem; color:var(--text-dark); padding:.3rem 0; }

.tag-chip{
  background:var(--bg-soft); border:1px solid #e2e5ee; color:var(--text-dark);
  font-size:.78rem; padding:.3rem .8rem; border-radius:20px;
}
.tag-chip:hover{ background:var(--primary); color:#fff; border-color:var(--primary); }

/* ===== Generic content card ===== */
.content-card{
  background:#fff; border:1px solid #eceef3; border-radius:var(--radius);
  padding:1.5rem; box-shadow:0 6px 18px rgba(16,27,52,.05);
  margin-bottom:1.3rem;
}
.content-card h2{ font-size:1.3rem; font-weight:700; margin-bottom:1rem; }

/* ===== Footer ===== */
.site-footer{ background:var(--navy); color:#c7cede; }
.footer-about-text{ font-size:.85rem; line-height:1.7; color:#9aa3c9; max-width:300px; }
.footer-social{ display:flex; gap:.6rem; margin-top:1rem; }
.footer-social a{
  width:36px; height:36px; border-radius:8px;
  background:rgba(255,255,255,.08); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:.95rem;
}
.footer-social a:hover{ background:var(--gold); }

.footer-col-title{ color:#fff; font-size:.9rem; font-weight:700; margin-bottom:1rem; text-transform:uppercase; letter-spacing:.03em; }
.footer-link-list{ list-style:none; padding:0; margin:0; }
.footer-link-list li{ margin-bottom:.6rem; }
.footer-link-list a{ color:#9aa3c9; font-size:.85rem; }
.footer-link-list a:hover{ color:#fff; }

.footer-contact-list{ list-style:none; padding:0; margin:0 0 .5rem; }
.footer-contact-list li{ display:flex; gap:.6rem; font-size:.83rem; color:#9aa3c9; margin-bottom:.7rem; line-height:1.5; }
.footer-contact-list i{ color:var(--gold); margin-top:.2rem; flex-shrink:0; }

.footer-bottom-bar{ background:#0a1226; border-top:1px solid rgba(255,255,255,.08); }
.footer-bottom-bar .container-fluid > div{ color:#8089ad; font-size:.8rem; }
.footer-bottom-links{ display:flex; gap:1.2rem; flex-wrap:wrap; }
.footer-bottom-links a{ color:#8089ad; font-size:.8rem; }
.footer-bottom-links a:hover{ color:#fff; }

/* ============================================================
   HOMEPAGE COMPONENTS
   ============================================================ */
.home-hero{ background:linear-gradient(180deg,#f3f4f9 0%,#ffffff 100%); }
.home-hero-title{ font-weight:800; font-size:2.8rem; line-height:1.15; color:var(--text-dark); }
.home-hero-role{ font-size:1.05rem; font-weight:600; color:var(--primary); margin-top:.5rem; }
.home-hero-sub{ color:var(--text-muted); font-size:.96rem; line-height:1.75; max-width:540px; margin-top:1rem; }
.hero-illustration{ max-width:420px; width:100%; }

.hero-social{ display:flex; gap:.6rem; }
.hero-social a{
  width:38px; height:38px; border-radius:50%;
  background:var(--bg-soft); color:var(--text-dark);
  display:flex; align-items:center; justify-content:center; font-size:1rem;
}
.hero-social a:hover{ background:var(--primary); color:#fff; }

.stats-bar{ background:var(--navy); padding:2.4rem 0; }
.stat-block i{ font-size:1.7rem; margin-bottom:.5rem; display:block; }
.stat-block-num{ font-family:'Playfair Display', serif; font-weight:700; font-size:1.9rem; color:#fff; }
.stat-block-label{ font-size:.8rem; color:#aab4d6; }

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

.research-mini-card{
  display:block; text-align:center;
  background:#fff; border:1px solid #eceef3; border-radius:14px;
  padding:1.6rem 1rem; height:100%; color:var(--text-dark); transition:.2s ease;
}
.research-mini-card:hover{ box-shadow:0 10px 24px rgba(16,27,52,.08); transform:translateY(-3px); color:var(--text-dark); }
.research-mini-card i{ font-size:1.8rem; color:var(--primary); margin-bottom:.7rem; display:block; }
.research-mini-card h3{ font-size:.88rem; font-weight:700; margin:0; }

.pub-mini-card{
  background:#fff; border:1px solid #eceef3; border-radius:14px;
  padding:1.3rem; height:100%;
}
.pub-type-badge{
  display:inline-block; font-size:.68rem; font-weight:700;
  padding:.25rem .6rem; border-radius:20px; margin-bottom:.7rem;
}
.pub-type-badge.journal{ background:#e8ecff; color:var(--primary); }
.pub-type-badge.conference{ background:#fdeee0; color:var(--gold); }
.pub-type-badge.book-chapter{ background:#f0e2e6; color:var(--maroon); }
.pub-mini-card h3{ font-size:.95rem; font-weight:700; line-height:1.4; margin-bottom:.5rem; }
.pub-mini-card p{ font-size:.8rem; color:var(--text-muted); margin:0; }

.split-card{
  background:#fff; border:1px solid #eceef3; border-radius:16px;
  padding:1.8rem; height:100%;
}
.split-card-icon{ font-size:2rem; color:var(--gold); margin-bottom:.9rem; display:block; }
.split-card h3{ font-size:1.15rem; font-weight:700; margin-bottom:.6rem; }
.split-card p{ font-size:.88rem; color:var(--text-muted); line-height:1.65; }
.split-card-stats{ display:flex; gap:2rem; margin-top:1rem; }
.split-card-stats strong{ display:block; font-size:1.4rem; font-weight:700; color:var(--primary); }
.split-card-stats span{ font-size:.75rem; color:var(--text-muted); }

.press-mini-card{ display:block; border-radius:14px; overflow:hidden; border:1px solid #eceef3; color:var(--text-dark); transition:.2s ease; }
.press-mini-card:hover{ box-shadow:0 10px 24px rgba(16,27,52,.08); color:var(--text-dark); }
.press-mini-card img{ width:100%; height:150px; object-fit:cover; display:block; }
.press-mini-body{ padding:1rem; }
.press-mini-body h3{ font-size:.9rem; font-weight:700; line-height:1.4; margin-top:.4rem; margin-bottom:0; }
.post-category{
  display:inline-block; background:var(--bg-soft); color:var(--primary);
  font-size:.68rem; font-weight:700; padding:.2rem .6rem; border-radius:20px;
}

.cta-banner{
  background:linear-gradient(120deg,var(--navy) 0%, var(--primary) 100%);
  border-radius:20px; padding:2.4rem; color:#fff;
}
.cta-banner h2{ font-weight:700; font-size:1.5rem; margin-bottom:.5rem; }
.cta-banner p{ color:#c7cede; margin:0; }

@media (max-width:767.98px){
  .home-hero-title{ font-size:2.1rem; }
  .cta-banner{ text-align:center; padding:1.8rem; }
  .cta-banner .text-lg-end{ text-align:center!important; margin-top:1rem; }
}

/* ============================================================
   ABOUT PAGE COMPONENTS (timeline, checklist)
   ============================================================ */
.bg-maroon{ background:var(--maroon)!important; }
.bg-teal{ background:var(--teal)!important; }
.bg-purple{ background:var(--purple)!important; }
.bg-orange{ background:var(--orange)!important; }
.text-purple{ color:var(--purple)!important; }
.text-orange{ color:var(--orange)!important; }

.timeline{ position:relative; margin-top:1rem; padding-left:1.7rem; }
.timeline::before{
  content:""; position:absolute; left:5px; top:6px; bottom:6px; width:2px; background:#e2e5ee;
}
.timeline-item{ position:relative; padding-bottom:1.7rem; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-dot{
  position:absolute; left:-1.7rem; top:4px; width:12px; height:12px; border-radius:50%;
  box-shadow:0 0 0 4px #fff, 0 0 0 5px #e2e5ee;
}
.timeline-content strong{ display:block; font-size:1rem; font-family:'Playfair Display', serif; }
.timeline-content span{ font-size:.8rem; color:var(--text-muted); }
.timeline-content p{ font-size:.87rem; color:var(--text-dark); margin:.4rem 0 0; line-height:1.65; }

.check-list{ list-style:none; padding:0; margin-top:.5rem; }
.check-list li{ font-size:.9rem; color:var(--text-dark); padding:.5rem 0; border-bottom:1px dashed #eceef3; }
.check-list li:last-child{ border-bottom:none; }
.check-list li i{ margin-right:.6rem; }

.research-area-card{
  background:var(--bg-soft); border-radius:12px; padding:1.2rem; height:100%;
}
.research-area-card i{ font-size:1.5rem; color:var(--primary); margin-bottom:.6rem; display:block; }
.research-area-card h3{ font-size:.95rem; font-weight:700; margin-bottom:.4rem; }
.research-area-card p{ font-size:.83rem; color:var(--text-muted); margin:0; line-height:1.6; }

.info-table{ font-size:.87rem; }
.info-table th{ color:var(--text-muted); font-weight:600; background:var(--bg-soft); }

/* ============================================================
   PHD STUDENTS PAGE
   ============================================================ */
.phd-filter-pills{ display:flex; gap:.5rem; flex-wrap:wrap; }
.phd-filter-pills .nav-link{
  background:#fff; border:1px solid #e2e5ee; color:var(--text-dark);
  font-size:.85rem; font-weight:600; border-radius:20px; padding:.5rem 1.1rem;
}
.phd-filter-pills .nav-link.active{ background:var(--primary); border-color:var(--primary); color:#fff; }

.phd-filter-group{ display:flex; align-items:center; gap:.8rem; flex-wrap:wrap; margin-bottom:.9rem; }
.phd-filter-label{ font-size:.82rem; font-weight:700; color:var(--text-muted); flex-shrink:0; }

.phd-card-avatar.level-phd{ background:var(--primary); }
.phd-card-avatar.level-pg{ background:var(--teal); }
.phd-card-avatar.level-ug{ background:var(--orange); }

.level-badge{
  font-size:.68rem; font-weight:700; padding:.25rem .6rem; border-radius:20px; white-space:nowrap; color:#fff;
}
.level-badge.level-phd{ background:var(--primary); }
.level-badge.level-pg{ background:var(--teal); }
.level-badge.level-ug{ background:var(--orange); }

.phd-card{
  display:flex; gap:1.1rem;
  background:#fff; border:1px solid #eceef3; border-radius:14px;
  padding:1.3rem; margin-bottom:1rem;
}
.phd-card-avatar{
  width:54px; height:54px; border-radius:50%; flex-shrink:0;
  background:var(--primary); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:.9rem;
}
.phd-card-body{ flex-grow:1; min-width:0; }
.phd-card-body h3{ font-size:1.02rem; font-weight:700; margin-bottom:.5rem; font-family:'Playfair Display', serif; }
.phd-topic-chip{ display:inline-block; margin-bottom:.6rem; font-size:.74rem; }
.phd-thesis-title{ font-size:.87rem; color:var(--text-muted); font-style:italic; line-height:1.6; margin-bottom:.5rem; }
.phd-current-position{ font-size:.82rem; color:var(--primary); font-weight:600; margin:0; }

.status-badge{ font-size:.72rem; font-weight:700; padding:.3rem .7rem; border-radius:20px; white-space:nowrap; }
.status-badge.completed{ background:#e3f7ea; color:#0f9d4f; }
.status-badge.in-progress{ background:#fdeee0; color:var(--gold); }

/* ============================================================
   PUBLICATIONS PAGE
   ============================================================ */
.qa-filter-bar{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:.8rem;
}

.pub-list-item{
  display:flex; align-items:flex-start; gap:1rem;
  background:#fff; border:1px solid #eceef3; border-radius:14px;
  padding:1.2rem; margin-bottom:1rem;
}
.pub-list-icon{
  width:42px; height:42px; border-radius:10px; flex-shrink:0;
  background:var(--bg-soft); color:var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem;
}
.pub-list-body{ flex-grow:1; min-width:0; }
.pub-list-body h3{ font-size:.98rem; font-weight:700; margin:.5rem 0; font-family:'Playfair Display', serif; line-height:1.4; }
.pub-venue{ font-size:.85rem; color:var(--text-dark); margin-bottom:.2rem; font-style:italic; }
.pub-authors{ font-size:.8rem; color:var(--text-muted); margin:0; }
.pub-index-badges{ display:flex; gap:.4rem; flex-wrap:wrap; margin-top:.6rem; }
.index-chip{
  font-size:.65rem; font-weight:700; padding:.2rem .55rem; border-radius:20px;
  text-transform:uppercase; letter-spacing:.02em;
}
.index-chip.index-scopus{ background:#fdeee0; color:#c76b1f; }
.index-chip.index-sci{ background:#e3f7ea; color:#0f9d4f; }
.index-chip.index-wos{ background:#f0e2ff; color:#6b4ba8; }
.pub-link{ flex-shrink:0; white-space:nowrap; }

/* ============================================================
   BOOKS PAGE
   ============================================================ */
.book-card{ text-align:center; }
.book-card img{
  width:100%; border-radius:8px; box-shadow:0 8px 20px rgba(16,27,52,.12);
  margin-bottom:.8rem; aspect-ratio:3/4; object-fit:cover;
}
.book-card h3{ font-size:.86rem; font-weight:700; line-height:1.4; margin-bottom:.3rem; }
.book-card p{ font-size:.76rem; color:var(--text-muted); margin:0; }

/* ============================================================
   PATENTS PAGE
   ============================================================ */
.patent-list{ display:flex; flex-direction:column; gap:1rem; }
.patent-item{
  display:flex; gap:1.1rem;
  background:var(--bg-soft); border-radius:14px; padding:1.2rem;
}
.patent-icon{
  width:46px; height:46px; border-radius:12px; flex-shrink:0;
  background:var(--gold); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:1.2rem;
}
.patent-body{ flex-grow:1; min-width:0; }
.patent-body h3{ font-size:.98rem; font-weight:700; font-family:'Playfair Display', serif; line-height:1.4; }
.patent-meta{ font-size:.82rem; color:var(--text-muted); margin:.2rem 0 0; }

/* ============================================================
   SEMINARS & WORKSHOPS PAGE
   ============================================================ */
.event-item{
  display:flex; gap:1.1rem;
  background:#fff; border:1px solid #eceef3; border-radius:14px;
  padding:.9rem; margin-bottom:1rem;
}
.event-thumb{
  width:90px; height:90px; border-radius:10px; object-fit:cover; flex-shrink:0;
}
.event-body{ padding-top:.3rem; }
.event-body h3{ font-size:.98rem; font-weight:700; font-family:'Playfair Display', serif; margin-bottom:.5rem; line-height:1.4; }
.event-meta{ display:flex; gap:1.2rem; font-size:.8rem; color:var(--text-muted); flex-wrap:wrap; }
.event-meta i{ margin-right:.3rem; }

/* ============================================================
   PRESS PAGE
   ============================================================ */
.press-full-card{
  display:block; border-radius:14px; overflow:hidden;
  border:1px solid #eceef3; color:var(--text-dark); height:100%; transition:.2s ease;
}
.press-full-card:hover{ box-shadow:0 12px 26px rgba(16,27,52,.09); transform:translateY(-3px); color:var(--text-dark); }
.press-full-card img{ width:100%; height:180px; object-fit:cover; display:block; }
.press-full-body{ padding:1.2rem; }
.press-full-body h3{ font-size:1.02rem; font-weight:700; margin:.6rem 0; font-family:'Playfair Display', serif; line-height:1.4; }
.press-full-body p{ font-size:.85rem; color:var(--text-muted); line-height:1.6; margin-bottom:.8rem; }
.press-full-meta{ display:flex; justify-content:space-between; font-size:.78rem; color:var(--text-muted); border-top:1px dashed #eceef3; padding-top:.7rem; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-tile{ position:relative; border-radius:12px; overflow:hidden; cursor:pointer; }
.gallery-tile img{ width:100%; height:180px; object-fit:cover; display:block; transition:.25s ease; }
.gallery-tile:hover img{ transform:scale(1.06); }
.gallery-tile-caption{
  position:absolute; left:0; right:0; bottom:0;
  background:linear-gradient(0deg, rgba(16,27,52,.85), rgba(16,27,52,0));
  color:#fff; font-size:.78rem; padding:1.5rem .8rem .6rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.map-placeholder{ position:relative; border-radius:14px; overflow:hidden; margin-top:.5rem; }
.map-placeholder img{ width:100%; height:180px; object-fit:cover; display:block; }
.map-placeholder-label{
  position:absolute; left:0; right:0; bottom:0;
  background:rgba(16,27,52,.85); color:#fff;
  font-size:.8rem; padding:.7rem 1rem;
}

/* ============================================================
   LEGAL PAGES (terms.php / privacy.php)
   ============================================================ */
.legal-updated{
  display:inline-flex; align-items:center; gap:.4rem;
  background:rgba(255,255,255,.12); color:#fff;
  font-size:.78rem; padding:.35rem .8rem; border-radius:20px;
  margin-top:.8rem;
}
.legal-intro{ background:var(--bg-soft); border-radius:12px; padding:1.2rem 1.4rem; margin-bottom:1.3rem; }
.legal-intro p{ font-size:.9rem; color:var(--text-dark); margin:0; line-height:1.7; }

.toc-nav{ display:flex; flex-direction:column; }
.toc-nav a{ padding:.5rem 0; font-size:.85rem; color:var(--text-muted); border-bottom:1px dashed #eceef3; }
.toc-nav a:last-child{ border-bottom:none; }
.toc-nav a:hover{ color:var(--primary); }
.toc-nav a.active{ color:var(--primary); font-weight:600; }

/* ============================================================
   RESPONSIVE (page-specific)
   ============================================================ */
@media (max-width:767.98px){
  .phd-card{ flex-direction:column; }
  .pub-list-item{ flex-direction:column; }
  .pub-link{ align-self:flex-start; }
  .patent-item, .event-item{ flex-direction:column; }
  .event-thumb{ width:100%; height:140px; }
  .qa-filter-bar{ flex-direction:column; align-items:stretch; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay{
  position:fixed; inset:0; background:rgba(10,18,38,.92);
  display:none; align-items:center; justify-content:center;
  z-index:2000; padding:2rem; cursor:zoom-out;
}
.lightbox-overlay.show{ display:flex; }
.lightbox-overlay img{ max-width:90%; max-height:85vh; border-radius:10px; }
.lightbox-close{ position:absolute; top:1.5rem; right:1.8rem; color:#fff; font-size:1.4rem; cursor:pointer; }

/* ============================================================
   PAGE FEATURE IMAGES (banners inside content cards)
   ============================================================ */
.page-feature-image{
  width:100%; height:200px; object-fit:cover;
  border-radius:12px; margin-bottom:1.3rem; display:block;
}

/* ============================================================
   RESEARCH PAGE — detailed area cards
   ============================================================ */
.research-detail-card{ border-top:4px solid var(--gold); }

.research-detail-head{
  display:flex; align-items:flex-start; gap:1.1rem;
}
.research-detail-icon{
  width:54px; height:54px; border-radius:14px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:1.4rem;
}
.research-detail-tag{
  display:inline-block; font-size:.7rem; font-weight:700;
  color:var(--gold); text-transform:uppercase; letter-spacing:.05em;
  margin-bottom:.3rem;
}
.research-detail-head h2{ font-size:1.3rem; margin:0; line-height:1.3; }

.research-detail-subtitle{
  font-size:.95rem; font-weight:700; margin:1.2rem 0 .3rem;
  font-family:'Playfair Display', serif;
}

.research-detail-stats{
  display:flex; gap:1.6rem; flex-wrap:wrap;
  margin-top:1.2rem; padding-top:1.1rem; border-top:1px dashed #eceef3;
}
.research-detail-stats strong{ display:block; font-size:1.15rem; font-weight:700; color:var(--primary); font-family:'Playfair Display', serif; }
.research-detail-stats span{ font-size:.72rem; color:var(--text-muted); }

@media (max-width:575.98px){
  .research-detail-head{ flex-direction:column; align-items:flex-start; }
  .research-detail-stats{ gap:1.2rem; }
}

/* ============================================================
   FDP / STC PAGE
   ============================================================ */
.fdp-sponsor-badge, .fdp-duration-badge{
  display:inline-flex; align-items:center; gap:.3rem;
  font-size:.72rem; font-weight:600; padding:.22rem .6rem; border-radius:20px;
}
.fdp-sponsor-badge{ background:#e8ecff; color:var(--primary); }
.fdp-duration-badge{ background:var(--bg-soft); color:var(--text-muted); }

/* ============================================================
   MEMBERSHIP PAGE
   ============================================================ */
.membership-card{
  display:flex; gap:1rem;
  background:var(--bg-soft); border-radius:14px; padding:1.2rem; height:100%;
}
.membership-icon{
  width:48px; height:48px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:1.2rem;
}
.membership-body{ flex-grow:1; min-width:0; }
.membership-body h3{ font-size:1.05rem; font-weight:700; margin:0; font-family:'Playfair Display', serif; }
.membership-since{ font-size:.7rem; color:var(--text-muted); white-space:nowrap; padding-top:.2rem; }
.membership-level{
  display:inline-block; font-size:.72rem; font-weight:700; color:var(--gold);
  margin:.3rem 0 .4rem;
}
.membership-fullname{ font-size:.78rem; color:var(--text-dark); font-style:italic; margin-bottom:.4rem; }
.membership-desc{ font-size:.8rem; color:var(--text-muted); line-height:1.6; margin:0; }

/* ===== Responsive ===== */
@media (max-width:991.98px){
  .sidebar-sticky{ position:static; }
  .page-header-banner h1{ font-size:1.6rem; }
}
@media (max-width:767.98px){
  .top-strip-links{ display:none; }
  .footer-about-text{ max-width:none; }
  .footer-bottom-bar .d-flex{ text-align:center; }
  .footer-bottom-links{ justify-content:center; }
}