:root {
  --navy:       #002147;
  --navy-dark:  #001630;
  --navy-mid:   #003070;
  --navy-l:     #003070;
  --gold:       #D4AF37;
  --gold-light: #F0D078;
  --gold-l:     #F0D078;
  --gold-pale:  #FAF3D3;
  --gold-dark:  #A8880F;
  --gold-d:     #A8880F;
  --cream:      #faf8f3;
  --off:        #f0ebe0;
  --off-white:  #F8F6F0;
  --light-grey: #F2F0EA;
  --mid:        #555;
  --text-mid:   #555;
  --light:      #888;
  --text-light: #888;
  --text-dark:  #1A1A1A;
  --white:      #ffffff;
  --border:     #E4DFC8;
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --radius:     5px;
  --tr:         0.28s cubic-bezier(.4,0,.2,1);
  --shadow:     0 4px 24px rgba(0,33,71,.10);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--sans);background:var(--off-white);color:var(--text-dark);min-height:100vh;line-height:1.6;}
h1,h2,h3,h4,h5{font-family:'Cormorant Garamond',serif;line-height:1.25;}
a{text-decoration:none;color:inherit;}

/* Navbar styles are in navbar.php */

/* ── HERO ── */
.hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-l) 100%);padding:60px 40px;text-align:center;position:relative;overflow:hidden;}
.hero::before{content:'';position:absolute;top:-80px;right:-80px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(201,162,39,.12),transparent 70%);}
.hero-inner{position:relative;z-index:1;max-width:800px;margin:0 auto;}
.hero h1{font-size:clamp(32px,5vw,48px);font-weight:600;color:var(--gold-l);line-height:1.2;margin-bottom:16px;}
.hero p{font-size:16px;color:rgba(255,255,255,.7);max-width:600px;margin:0 auto;line-height:1.7;}

/* ── MAIN CONTENT ── */
.main-content{max-width:1200px;margin:0 auto;padding:40px 24px;}
.container{max-width:1100px;margin:0 auto;}

/* ── TABS ── */
.tab-nav{display:flex;justify-content:center;gap:0;border-bottom:2px solid var(--border);margin-bottom:36px;}
.tab-btn{padding:12px 28px;background:none;border:none;font-size:13px;font-weight:600;color:var(--mid);cursor:pointer;border-bottom:3px solid transparent;transition:var(--tr);font-family:'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:1px;margin-bottom:-2px;}
.tab-btn:hover{color:var(--navy);}
.tab-btn.active{color:var(--navy);border-bottom-color:var(--gold);}
.tab-content{display:none;}
.tab-content.active{display:block;}

/* ── EIC CARD ── */
.editors-layout{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;}
.editor-column{display:flex;flex-direction:column;gap:24px;}

.eic-card{
  display:flex;align-items:flex-start;gap:24px;
  background:var(--white);border-radius:12px;
  box-shadow:0 4px 24px rgba(0,25,61,.10);
  padding:28px 24px;
  border-left:4px solid var(--gold);
  transition:var(--tr);
}
.eic-card:hover{box-shadow:0 8px 40px rgba(0,25,61,.16);}

/* ── SQUARE PHOTO ── */
.eic-photo{
  width:110px;height:110px;
  flex-shrink:0;
  border-radius:6px;          /* square with slight rounding */
  overflow:hidden;
  border:2px solid var(--gold);
  box-shadow:0 4px 14px rgba(0,25,61,.15);
}
.eic-photo img{width:100%;height:100%;object-fit:cover;display:block;}

/* placeholder avatar when no image */
.eic-photo-placeholder{
  width:110px;height:110px;flex-shrink:0;
  border-radius:6px;border:2px solid var(--gold);
  background:linear-gradient(135deg,var(--navy),var(--navy-l));
  display:flex;align-items:center;justify-content:center;
  font-family:'Cormorant Garamond',serif;font-size:36px;font-weight:700;color:var(--gold-l);
}

.eic-info{flex:1;}
.eic-info .role-tag{font-size:12px;color:var(--gold);font-weight:700;text-transform:uppercase;letter-spacing:1.2px;margin-bottom:6px;}
.eic-info .name{font-family:'Cormorant Garamond',serif;font-size:24px;font-weight:700;color:var(--navy);margin-bottom:6px;line-height:1.2;}
.eic-info .deg{font-size:13px;color:var(--mid);margin-bottom:6px;line-height:1.5;}
.eic-info .spec{font-size:13px;color:var(--navy);line-height:1.5;margin-bottom:6px;}
.eic-info .email{font-size:13px;color:var(--gold-d);margin-top:8px;font-weight:600;}
.eic-info .email a{color:var(--gold-d);}
.eic-info .email a:hover{text-decoration:underline;}

/* ── CONTENT BLOCK ── */
.content-block{
  background:var(--white);border-radius:10px;
  border:1px solid var(--border);box-shadow:var(--shadow);
  padding:28px 30px;transition:var(--tr);
}
.content-block:hover{box-shadow:0 8px 40px rgba(0,25,61,.14);}
.content-block h2{
  font-size:26px;font-weight:600;color:var(--navy);
  margin-bottom:16px;border-left:4px solid var(--gold);padding-left:14px;
}
.content-block h3{font-size:19px;font-weight:600;color:var(--navy);margin-bottom:10px;margin-top:22px;}
.content-block p{font-size:14.5px;color:var(--mid);line-height:1.75;margin-bottom:14px;}
.content-block ul{margin:12px 0 16px;padding-left:22px;}
.content-block li{font-size:14.5px;color:var(--mid);line-height:1.75;margin-bottom:7px;}
.content-block li strong{color:var(--navy);}

/* ── ACADEMIC / RESEARCH CONTRIBUTIONS  ── */
/* Each "paragraph" is a visual chunk with a bold lead sentence */
.contribution-block{margin-bottom:20px;}
.contribution-block p{font-size:14.5px;color:var(--mid);line-height:1.8;margin-bottom:0;}

/* Bold lead — first sentence style */
.contribution-lead{
  font-weight:700;
  color:var(--navy);
}

/* Divider between contribution paragraphs */
.contrib-divider{
  border:none;border-top:1px solid var(--border);
  margin:16px 0;
}

/* ── FULL BOARD GRID ── */
.editorial-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-bottom:32px;}

.board-member-card{
  background:var(--white);border-radius:10px;
  border:1px solid var(--border);padding:20px;
  box-shadow:0 2px 16px rgba(0,25,61,.07);
  transition:var(--tr);
  display:flex;align-items:flex-start;gap:18px;
}
.board-member-card:hover{transform:translateY(-3px);box-shadow:0 8px 32px rgba(0,25,61,.13);}

/* ── SQUARE MEMBER PHOTO ── */
.member-photo-area{
  width:90px;height:90px;flex-shrink:0;
  border-radius:6px;          /* square */
  overflow:hidden;
  border:2px solid var(--gold);
  background:var(--off);
}
.member-photo-area img{width:100%;height:100%;object-fit:cover;display:block;}
.member-photo-placeholder{
  width:90px;height:90px;flex-shrink:0;
  border-radius:6px;border:2px solid var(--gold);
  background:linear-gradient(135deg,var(--navy),var(--navy-l));
  display:flex;align-items:center;justify-content:center;
  font-family:'Cormorant Garamond',serif;font-size:28px;font-weight:700;color:var(--gold-l);
}

.member-info{flex:1;display:flex;flex-direction:column;gap:3px;}
.member-name{font-family:'Cormorant Garamond',serif;font-size:17px;font-weight:700;color:var(--navy);line-height:1.3;}
.member-designation{font-size:12.5px;color:var(--gold-d);font-weight:600;line-height:1.3;}
.member-dept{font-size:12px;color:var(--mid);line-height:1.4;}
.member-inst{font-size:11.5px;color:var(--light);line-height:1.4;font-style:italic;}
.member-email{font-size:12px;color:var(--navy);margin-top:6px;}
.member-email::before{content:'\2709';margin-right:6px;color:var(--gold-d);}
.member-email a{color:var(--mid);transition:var(--tr);}
.member-email a:hover{color:var(--gold-d);}

/* Footer styles are in footer.php */

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .editors-layout{grid-template-columns:1fr;}
  .editorial-grid{grid-template-columns:1fr;}
}
@media(max-width:768px){
  .hero{padding:40px 20px;}
  .main-content{padding:24px 16px;}
  .eic-card{flex-direction:column;align-items:center;text-align:center;}
  .eic-photo,.eic-photo-placeholder{margin:0 auto;}
}
@media(max-width:480px){
  .tab-btn{padding:10px 14px;font-size:11px;}
}
