:root {
    --primary-blue: #1c398e;
    --text-slate: #1c2b4d;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

* {margin: 0; padding: 0; box-sizing: border-box;}
body { font-family: 'Inter', sans-serif; color: var(--text-slate); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--text-slate); }

.container { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; }
.container2 { padding: 6rem 2rem; }
.content-wrapper { max-width: 1050px; margin: 0 auto; width: 100%; }
.pt-0 { padding-top: 0; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.mb-medium { margin-bottom: 1.5rem; }
.mt-medium { margin-top: 3rem; }
.mt-large { margin-top: 5rem; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.font-size-sub { font-size: 1.15rem; font-weight: 500; }

.bg-dark { background-color: var(--primary-blue); color: #fff; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }

.badge { display: inline-block; padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem; }
.badge-light { border: 1px solid rgba(34, 63, 137, 0.2); color: var(--primary-blue); }
.badge-dark { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.center-badge-container { display: flex; justify-content: center; }

.section-title { font-size: 2.25rem; font-weight: 400; margin-bottom: 1rem; line-height: 1.2; }
.section-subtitle { font-size: 1.05rem; color: var(--text-gray); margin-bottom: 3rem; }

/* Hero */
main { padding: 5rem 0 0; display: flex; flex-direction: column; align-items: center; }
.hero { text-align: center; max-width: 900px; margin-bottom: 0rem; }
.hero h1 { font-size: 3.5rem; line-height: 1.15; letter-spacing: -0.01em; }
.hero h1.font-light { font-weight: 300; }
.hero h1.font-regular { font-weight: 400; margin-bottom: 1.5rem; }
.hero .subtitle { font-size: 1.05rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 2.5rem; font-weight: 300; }
.cta-button { background-color: var(--primary-blue); color: white; border: none; padding: 0.9rem 2.5rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; cursor: pointer; }

/* Image section */
.image-section { width: 100%; max-width: 1100px; display: flex; justify-content: center; margin-bottom: 0; }
.image-placeholder { width: 100%; height: 600px;  }
.image-placeholder img{
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Stats section */
.stats-section { background-color: var(--primary-blue); color: white; padding: 4rem 2rem; }
.stats-container { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 150px; }
.stat-number { font-size: 2.5rem; font-weight: 300; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.08em; opacity: 0.9; line-height: 1.4; text-transform: uppercase; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 4rem; }
.about-text p { font-size: 1rem; color: var(--text-slate); line-height: 1.7; margin-bottom: 2rem; font-weight: 300; }
.subsection-title { font-size: 0.75rem; color: var(--primary-blue); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.about-quote-card { background-color: #f8fafc; padding: 3rem; border-radius: 16px; border: 1px solid var(--border-color); }
.quote-text { font-size: 1.2rem; color: var(--text-slate); line-height: 1.7; font-weight: 400; margin-bottom: 2rem; }
.quote-author { display: flex; align-items: center; gap: 1rem; align-self: flex-start; }
.avatar-placeholder { width: 44px; height: 44px; background-color: #e2e8f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.author-info { display: flex; flex-direction: column; }
.author-info strong { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.2rem;}
.author-info span { font-size: 0.75rem; color: var(--text-gray); }

/* Offices/Mandates */
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-bottom: 4rem; }
.office-card h4 { font-size: 1.05rem; font-weight: 500; margin-bottom: 1rem; }
.office-card p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 1.5rem; font-weight: 300; }
.office-link { color: #fff; text-decoration: none; font-size: 0.75rem; font-weight: 500; }

.mandates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.mandate-card { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.5rem; }
.mandate-card h4 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.75rem; }
.mandate-card p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6; font-weight: 300; }

/* Programmes */
.programmes-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; margin-top: 3rem; }
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem; font-size: 0.85rem; color: var(--text-slate); line-height: 1.5; font-weight: 300; }
.check-list li span { color: var(--primary-blue); font-weight: bold;}

.stats-card { background: white; padding: 3rem; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-color);}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.small-stat { display: flex; flex-direction: column; }
.small-stat strong { font-size: 1.75rem; font-weight: 300; color: var(--primary-blue); margin-bottom: 0.5rem; }
.small-stat span { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.05em; color: var(--text-gray); }

.admissions-card { background: white; border-radius: 16px; padding: 3rem; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-color);}
.admissions-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admissions-header h3 { font-size: 1.25rem; font-weight: 400; }
.btn-dark { background-color: var(--primary-blue); color: white; border: none; padding: 0.6rem 1.5rem; border-radius: 50px; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.05em; cursor: pointer; }

.schools-list { display: flex; flex-direction: column; }
.school-dropdown { border-bottom: 1px solid var(--border-color); }
.school-dropdown:first-child .school-item { border-top: 1px solid var(--border-color); }
.school-item { display: flex; justify-content: space-between; padding: 1.25rem 0; font-size: 0.95rem; font-weight: 400; cursor: pointer; transition: background-color 0.2s; }
.school-item:hover { background-color: #fafbfc; }
.school-item .plus { color: var(--text-slate); font-weight: 300; font-size: 1rem; margin-top:-0.3rem;}

.school-content { display: none; padding-bottom: 1.5rem; animation: fadein 0.3s; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.course-list { display: flex; flex-direction: column; padding-top: 0.5rem; }
.course-item { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid #f1f5f9; }
.course-item.last-course { border-bottom: none; padding-bottom: 0; }
.course-info h4 { font-size: 0.95rem; font-weight: 400; color: var(--text-slate); margin-bottom: 0.4rem; }
.course-info p { font-size: 0.75rem; color: var(--text-light); }
.course-actions { display: flex; gap: 0.75rem; }

.btn-outline-small { background: transparent; border: 1px solid #e2e8f0; color: var(--text-slate); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.7rem; font-weight: 500; cursor: pointer; }
.btn-solid-small { background-color: var(--primary-blue); color: white; border: none; padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.7rem; font-weight: 600; cursor: pointer; }

.disclaimer { font-size: 0.7rem; color: var(--text-gray); margin-top: 1.5rem; font-style: italic; }

/* Application */
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.timeline-step { position: relative; }
.timeline-step .line { height: 2px; background-color: #e2e8f0; width: 100%; position: absolute; top: 0; left: 0; }
.timeline-step .phase { display: inline-block; margin-top: 2rem; font-size: 0.65rem; color: var(--primary-blue); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 0.75rem; text-transform: uppercase; }
.timeline-step h4 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.5rem; }
.timeline-step .date { font-size: 0.8rem; color: var(--text-gray); font-weight: 300;}

.application-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.line-list { list-style: none; }
.line-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem; font-size: 0.9rem; color: var(--text-slate); font-weight: 300; }
.line-list li::before { content: "—"; color: #cbd5e1; }

.line-list-none { list-style: none; }
.line-list-none li { font-size: 0.85rem; color: var(--text-slate); margin-bottom: 0.5rem; line-height: 1.5; font-weight: 300;}

.info-box { background-color: #f8fafc; padding: 1.25rem; border-radius: 8px; font-size: 0.8rem; color: var(--text-slate); line-height: 1.5; border: 1px solid var(--border-color);}
.doc-list { list-style: none; margin-bottom: 2rem; }
.doc-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-slate); font-weight: 300; }

.actions { display: flex; gap: 1rem; }
.actions-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-slate); padding: 0.75rem 1.5rem; border-radius: 8px; font-size: 0.75rem; font-weight: 500; cursor: pointer; }
.btn-solid-blue { background-color: var(--primary-blue); border: none; color: white; padding: 0.85rem 1.5rem; border-radius: 50px; font-size: 0.75rem; font-weight: 500; cursor: pointer; text-align: center; }

.stage-card { background: white; border: 1px solid var(--border-color); border-radius: 12px; padding: 2rem; margin-bottom: 1.5rem; }
.stage-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.stage-card p { font-size: 0.85rem; color: var(--text-gray); line-height: 1.5; margin-bottom: 1rem; font-weight: 300;}
.stage-card .exemption { font-size: 0.7rem; color: var(--primary-blue); font-weight: 600; margin-bottom: 0; margin-top: 1rem; }

.final-selection h4 { font-size: 0.95rem; font-weight: 500; margin-bottom: 1rem; }
.split-card { display: flex; gap: 1rem; }
.split-left, .split-right { background-color: #f8fafc; border-radius: 8px; padding: 1.5rem; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border-color); }
.split-card strong { font-size: 1.5rem; font-weight: 300; color: var(--primary-blue); margin-bottom: 0.25rem; }
.split-card span { font-size: 0.7rem; font-weight: 500; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.05em; }

/* Fees */
.fees-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.fee-card { background: white; border-radius: 16px; padding: 3rem; box-shadow: 0 4px 25px rgba(0,0,0,0.03); border: none; }
.fee-card h3 { font-size: 1.15rem; font-weight: 500; color: var(--text-slate); }
.fee-row { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); }
.fee-row:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.fee-details { display: flex; flex-direction: column; gap: 0.25rem; }
.fee-details strong { font-size: 0.95rem; font-weight: 500; }
.fee-details span { font-size: 0.75rem; color: var(--text-gray); font-weight: 300; }
.fee-amount { font-size: 1.35rem; font-weight: 300; color: var(--primary-blue); margin-top: -0.2rem;}
.fee-info-box { background-color: #f8fafc; padding: 1.25rem; border-radius: 8px; font-size: 0.75rem; color: var(--text-slate); line-height: 1.6; border: none; font-weight: 400;}

.fellowship-amount { display: flex; align-items: baseline; gap: 0.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.fellowship-amount .amount { font-size: 2.25rem; font-weight: 300; color: var(--primary-blue); margin-bottom: 0; }
.fellowship-amount .period { font-size: 0.8rem; color: var(--text-gray); }
.check-list-small { list-style: none; }
.check-list-small li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.8rem; color: var(--text-slate); line-height: 1.4; font-weight: 300; }
.check-list-small li span { color: var(--primary-blue); font-size: 0.7rem; margin-top: 0.1rem; }

/* Supervisors */
.supervisors-section { padding-top: 2rem !important; }
.supervisors-header { display: flex; justify-content: space-between; align-items: flex-end; }
.view-all-link { color: var(--primary-blue); font-size: 0.8rem; font-weight: 500; text-decoration: none; padding-bottom: 0.2rem; }
.supervisors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.supervisor-card { background: white; border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; height: 130px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: none; cursor: pointer; transition: all 0.3s ease;  }
.supervisor-card:hover { box-shadow: 0 6px 25px rgba(0,0,0,0.06); }
.supervisor-card h4 { font-size: 0.8rem; font-weight: 500; line-height: 1.4; margin-bottom: 0; }
.icon-circle { width: 28px; height: 28px; background-color: #f8fafc; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-gray); font-size: 0.95rem; border: none; flex-shrink: 0; align-self: flex-end; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.supervisor-card:hover .icon-circle { background-color: var(--primary-blue); color: white; transform: translate(3px, -3px); }
.icon-blue { background-color: var(--primary-blue); color: white; border: none; }

/* Prospectus CTA */
.pb-large { padding-bottom: 6rem; }
.prospectus-card { background-color: var(--primary-blue); border-radius: 20px; padding: 3rem 4rem; display: flex; justify-content: space-between; align-items: center; color: white; }
.prospectus-content { display: flex; flex-direction: column; gap: 1rem; }
.badge-mini { font-size: 0.6rem; letter-spacing: 0.1em; opacity: 0.8; font-weight: 600; }
.prospectus-content h2 { font-size: 2rem; font-weight: 300; line-height: 1.2; color: white; }
.prospectus-content p { font-size: 0.75rem; opacity: 0.8; font-weight: 300; }
.btn-solid-white { background-color: white; color: var(--primary-blue); border: none; padding: 1rem 2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; cursor: pointer; white-space: nowrap; }

/* Responsive */
@media (max-width: 900px) {
    .about-grid, .programmes-grid, .application-details-grid { grid-template-columns: 1fr; gap: 3rem; }
    .offices-grid, .mandates-grid { grid-template-columns: 1fr; gap: 2rem; }
    .timeline-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .fees-grid { grid-template-columns: 1fr; }
    .supervisors-grid { grid-template-columns: repeat(2, 1fr); }
    .prospectus-card { flex-direction: column; text-align: center; gap: 2rem; padding: 2.5rem; }
}
@media (max-width: 600px) {
    .timeline-grid { grid-template-columns: 1fr; }
    .split-card { flex-direction: column; }
    .actions { flex-direction: column; }
    .actions-split { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .supervisors-grid { grid-template-columns: 1fr; }
    .supervisors-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}


.avatar-placeholder {
    width: 90px;
    height: 115px;
    border-radius: 12px;   /* instead of 50% */
    overflow: hidden;
    margin-right: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* TOP CARD */
.fellowship-card {
    background: #1f2f6b;
    color: #fff;
    padding: 25px;
    border-radius: 16px;
    width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

/* top right curve effect */
.fellowship-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title {
    font-weight: 600;
    font-size: 18px;
}

.amount {
    font-size: 22px;
    font-weight: bold;
}

.amount span {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 4px;
}

.desc {
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
}

/* BOTTOM CARD */
.benefits-card {
    margin-top: 50px;
    background: #eef1f6;
    padding: 20px;
    border-radius: 16px;
    width: 400px;
    border: 1px solid #d9dee7;
}

.benefits-card ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.benefits-card li {
    font-size: 14px;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: #334155;
}

/* blue bullet */
.benefits-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
}

.btn-outline {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid #1f2f6b;
    color: #1f2f6b;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #1f2f6b;
    color: #fff;
}

/* keep buttons in row */
.actions-split {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* wrapper for 2nd button */
.collapse-wrapper {
    position: relative;   /* anchor for dropdown */
}

/* dropdown (no layout shift) */
.collapse-box {
    position: absolute;
    top: calc(100% + 8px);  /* just below button */
    left: 0;
    width: 320px;

    background: #f1f5f9;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s ease;

    z-index: 999;
    padding: 15px;
}

/* show */
.collapse-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* dropdown container */
.collapse-box {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 420px;

    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);

    padding: 15px;
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* show */
.collapse-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* GRID layout (2 columns 🔥) */
.collapse-box ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
}

.collapse-box li {
    margin: 0;
}

.collapse-box a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    color: #1e293b;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    background: #f8fafc;
}

/* hover effect */
.collapse-box a:hover {
    background: #1f2f6b;
    color: #fff;
    transform: translateX(4px);
}

.collapse-box a::before {
    content: "•";
    margin-right: 6px;
    color: #3b82f6;
}

.collapse-box a:hover::before {
    color: #fff;
}

/* nav Bar */


.container22 {
  margin: 0 auto;
  padding: 0 2.8rem;
}

.containerr {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}
.container1 {
  height: 100%;
  padding-top: 90px !important;
  margin: 0 auto;
  padding: 0 4rem;
}


/* Sub-Nav Top Bar */
.sub-nav {
  height: 34px;
  display: flex;

  align-items: center;
}

.sub-nav-container {
    padding-top: 2rem;
    padding-right: 12.8rem  ;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.sub-nav-links,
.sub-nav-right {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.sub-nav-link {

  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 0.85rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    color 0.2s ease,
    background 0.2s ease;
  letter-spacing: 0.01em;
}

.sub-nav-link {
  text-decoration: none !important;
}

.sub-nav-links .sub-nav-link:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-nav-right .sub-nav-link {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
}

.sub-nav-link:hover {
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
}


/* Header */
.navbar {
  background-color: #34495e;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}

.logo-img {
  height: 130px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0 !important;
}

.logo {
    margin-top: -22px; /* adjust this value to push up more or less */
}

.close-menu {
  display: none;
}
.mobile-toggle {
  display: none;
}
.d-mobile-only {
  display: none !important;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  margin-left: auto;
  margin-right: 1.5rem;
  height: 100%;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
     text-decoration: none !important;
   
}

.nav-links > a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  padding: 0.4rem 0.5rem;
  transition: color 0.2s ease;
     text-decoration: none !important;
}

.nav-links > a:hover {
  color: #ffffff;
     text-decoration: none !important;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
     text-decoration: none !important;
}

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color:rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
  height: 100%;
     text-decoration: none !important;
}

.nav-link-item:hover {
  color: #ffffff;
     text-decoration: none !important;
}

.nav-link-item .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.nav-action {
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background-color 0.3s ease;
     text-decoration: none !important;
}

.btn-primary:hover {
  background-color: #1c4db7;
     text-decoration: none !important;
}

/* Desktop megamenu */
.megamenu {
  position: fixed;
  top: 114px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  padding: 3rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  transform: translateY(-8px);
     text-decoration: none !important;
}

.nav-item.open .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
     text-decoration: none !important;
}

.nav-item.open > .nav-link-item .chevron {
  transform: rotate(180deg);
     text-decoration: none !important;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1200px;
     text-decoration: none !important;
}

.megamenu-heading {
  font-size: 0.75rem;
  font-weight: 500;
  color: #006eff;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}

.megamenu-col a {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 0.7rem;
  line-height: 1.4;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
     text-decoration: none !important;
}

.megamenu-col a:hover {
  color: #006eff;
  transform: translateX(2px);
     text-decoration: none !important;
}

.student-services-modern .megamenu-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}

.student-services-modern .megamenu-heading {
  margin-bottom: 1.5rem;
  color: #006eff;
  font-weight: 500;
}

.student-services-modern a {
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: #1d1d1f !important;
}

.student-services-modern a:hover {
  color: #006eff !important;
}

/* Desktop overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s;
  z-index: 998;
  pointer-events: none;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.navbar:has(.nav-item.open) ~ .nav-overlay {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 1440px) {
  .header-container {
    height: 80px;
  }
  .logo-img {
    height: 70px;
  }
  .megamenu {
    top: 114px;
  }
}

/* ── Mobile nav ── */
@media (max-width: 1024px) {
  .sub-nav {
    display: none;
  }

  .d-mobile-only {
    display: block !important;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #ffffff; /* Adjusted to white for dark header */
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin-left: auto; /* Ensure it stays pushed right */
  }

  .nav-action {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    margin: 0;
    flex: none;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-links.active {
    right: 0;
  }

  /* Sticky close button header */
  .close-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1.25rem;
    height: 56px;
    min-height: 56px;
    background: #f5f5f7;
    border-bottom: 1px solid #e5e5e5;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
  }

  /* Plain top-level links */
  .nav-links > a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 1.25rem;
    height: 48px;
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
    background: white;
    flex-shrink: 0;
    transition: background 0.15s ease;
  }

  .nav-links > a:hover {
    background: #f5f5f7;
  }

  /* Nav items with dropdowns — key fix: no height change, content appended below */
  .nav-item {
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0;
  }

  .nav-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1.25rem;
    height: 48px;
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
    background: white;
    cursor: pointer;
    transition:
      background 0.15s ease,
      color 0.15s ease;
  }

  .nav-link-item:hover {
    background: #f5f5f7;
  }

  .nav-link-item .chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }

  .nav-item.active > .nav-link-item {
    color: var(--primary-color);
    background: #f0f5ff;
    border-bottom-color: #dbeafe;
  }

  .nav-item.active > .nav-link-item .chevron {
    transform: rotate(180deg);
  }

  /* Accordion — clips to zero height when closed */
  .megamenu {
    position: static !important;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    padding: 0;
    width: 100%;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: #fafafa;
    border-radius: 0;
    pointer-events: auto;
    top: auto;
    left: auto;
    right: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-item.active > .megamenu {
    max-height: 2000px;
    border-bottom: 2px solid #e5e7eb;
  }

  /* Megamenu inner layout — stacked columns */
  .megamenu .container {
    padding: 0;
    max-width: 100%;
  }

  .megamenu-grid {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.5rem;
  }

  .megamenu-col {
    width: 100%;
    padding: 0;
  }

  /* Section heading */
  .megamenu-heading {
    font-size: 0.65rem;
    font-weight: 700;
    color: #8e8e93;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 1.25rem 0.3rem;
    margin-bottom: 0;
    background: #fafafa;
    display: block;
  }

  /* Sub-links */
  .megamenu-col a {
    display: block;
    padding: 0.55rem 1.25rem 0.55rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: #1d1d1f;
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    transition:
      background 0.15s ease,
      color 0.15s ease;
    transform: none !important;
    line-height: 1.4;
  }

  .megamenu-col a:last-child {
    border-bottom: none;
  }

  .megamenu-col a:hover {
    background: #eff6ff;
    color: var(--primary-color);
  }

  /* Student services override */
  .student-services-modern .megamenu-grid {
    grid-template-columns: unset;
    gap: 0;
  }

  .student-services-modern a {
    padding: 0.55rem 1.25rem 0.55rem 1.75rem !important;
    font-size: 0.875rem !important;
  }

  /* Overlay — no blur on mobile */
  .nav-overlay {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.hero {
  padding-top: 120px; /* increase if still cropping */
}


.fee-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* ensures full height */
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  flex: 1; /* 👈 this makes all rows equally spaced */
}

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

.fee-details strong {
  display: block;
  font-size: 16px;
}

.fee-details span {
  font-size: 13px;
  color: #777;
}



/* Footer Section */
.site-footer {
  background-color: #0b1120;
  color: #9ca3af;
  padding: 5rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1400px;
  margin-bottom: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col.brand-col {
  flex: 0 0 350px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
  align-self: flex-start;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.footer-heading {
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-col.contact-col {
  flex: 0 0 380px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.newsletter-form {
  max-width: 100%;
}

.newsletter-input-group {
  position: relative;
  width: 100%;
}

.newsletter-form input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 1rem 1.5rem;
  color: var(--bg-white);
  font-family: var(--font-inter);
  font-size: 0.95rem;
  padding-right: 130px;
  box-sizing: border-box;
}

.newsletter-form input::placeholder {
  color: #64748b;
}

.newsletter-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: 5px;
  border: none;
  border-radius: 25px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #1d4ed8;
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  color: #475569;
  margin-top: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--bg-white);
}

/* Responsive updates for Portal and Footer */
@media (max-width: 1200px) {
  .portal-container {
    flex-direction: column;
  }
  .portal-right {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .footer-container {
    gap: 3rem 2rem;
  }
  .footer-col.brand-col,
  .footer-col.contact-col {
    flex: 0 0 100%;
  }
}

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

  .quick-access-panel {
    padding: 2.5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


.no-underline {
  text-decoration: none;
  color: #dbdcdf;
}

/* carousel */


.image-placeholder {
  position: relative;
}

.carousel-img {
  width: 100%;
  display: none;
}

.carousel-img.active {
  display: block;
}

/* why KJU */


.features-section {
  background: #f5f7fb;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.section-titlee {
  font-size: 14px;
  letter-spacing: 2px;
  color: #2d4ed8;
  margin-bottom: 30px;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 50px;
}

.feature-itemm {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: #e8efff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d4ed8;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-itemm h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #111827;
}

.feature-itemm p {
  font-size: 14px;
  color: #6b7280;
  margin-top: 5px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.prospectus-buttons {
  display: flex;
  gap: 15px;   /* space between buttons */
  margin-left: auto; /* push to right */
}

.prospectus-card a + a {
  margin-left: 15px;
}

#constituent-offices {
  scroll-margin-top: 140px; /* adjust until perfect */
}



/* Section scroll */

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px; /* adjust based on your header height */
}

.card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}


 /* ─────────────────────────────────────────────────────────────
     DESIGN TOKENS  —  replace these with the live CFRD values
     ───────────────────────────────────────────────────────────── */
  :root {
    --rd-navy:    #1a3c6e;   /* primary / headings              */
    --rd-blue:    #1557a0;
    --rd-sky:     #2176c7;   /* eyebrow + accents + links       */
    --rd-light:   #e8f0fb;   /* tinted card background          */
    --rd-accent:  #f0a500;   /* gold — secondary accent         */
    --rd-white:   #ffffff;
    --rd-surface: #f6f8fc;   /* alternating section background  */
    --rd-text:    #1e2d45;
    --rd-muted:   #6b7fa3;
    --rd-border:  #dde5f0;
      
     
    --rd-font-body:    'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --rd-font-display: 'Inter', sans-serif, 'Times New Roman', serif;

    --rd-radius: 12px;
    --rd-shadow: 0 2px 14px rgba(26,60,110,.06);
    --rd-maxw:   1180px;
  }

  /* ── Scoped reset so the block is self-contained in preview ── */
  .rd-scope * { margin:0; padding:0; box-sizing:border-box; }
  .rd-scope { font-family:var(--rd-font-body); color:var(--rd-text); background:var(--rd-white); }

  /* ── SECTION SHELL ── */
.rd-section { padding: 6rem 0; }              /* was 84px 40px; 6rem matches .container */
.rd-section:nth-of-type(even) { background: var(--rd-surface); }
.rd-inner {
  max-width: 1100px;                          /* same as .container */
  margin: 0 auto;
  padding: 0 2rem;                            /* same as .container's side padding */
}

  .rd-eyebrow {
    font-size:11px; font-weight:700; letter-spacing:2.5px;
    text-transform:uppercase; color:var(--rd-sky); margin-bottom:12px;
  }
  .rd-headline {
    font-family:var(--rd-font-display); font-weight:600;
    font-size:clamp(26px,3.4vw,36px); line-height:1.22;
    color:var(--rd-navy); margin-bottom:16px; max-width:16ch;
  }
  .rd-subline {
    font-size:15px; color:var(--rd-muted); line-height:1.75;
    max-width:64ch; margin-bottom:52px;
  }
  .rd-blocktitle {
    font-size:13px; font-weight:700; letter-spacing:.4px;
    text-transform:uppercase; color:var(--rd-navy); margin-bottom:18px;
  }

  /* ── GRIDS ── */
  .rd-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:26px; }
  .rd-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
  .rd-grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
  .rd-grid-21{ display:grid; grid-template-columns:1.7fr 1fr; gap:40px; align-items:start; }

  /* ── CARD (mandate/office style from the live page) ── */
  .rd-card {
    background:var(--rd-white); border:1px solid var(--rd-border);
    border-radius:var(--rd-radius); padding:28px 26px; box-shadow:var(--rd-shadow);
  }
  .rd-card .rd-ico { font-size:24px; line-height:1; margin-bottom:14px; display:block; }
  .rd-card h4 { font-size:16px; font-weight:600; color:var(--rd-navy); margin-bottom:9px; }
  .rd-card p  { font-size:13.5px; color:var(--rd-muted); line-height:1.65; }
  .rd-card--tint { background:var(--rd-light); border-color:#c2d7ef; }
  .rd-card--navy { background:var(--rd-navy); border-color:var(--rd-navy); }
  .rd-card--navy h4 { color:#fff; }
  .rd-card--navy p  { color:rgba(255,255,255,.72); }

  /* left accent rule used on the live "core mandate" cards */
  .rd-card--rule { position:relative; overflow:hidden; }
  .rd-card--rule::before {
    content:''; position:absolute; left:0; top:0; bottom:0; width:4px;
    background:var(--rd-sky);
  }

  /* ── STAT STRIP (hero / why-KJU style) ── */
  .rd-stat {
    text-align:center; background:var(--rd-white); border:1px solid var(--rd-border);
    border-radius:var(--rd-radius); padding:34px 20px; box-shadow:var(--rd-shadow);
  }
  .rd-stat strong { display:block; font-family:var(--rd-font-display); font-weight:700;
    font-size:44px; color:var(--rd-navy); line-height:1; }
  .rd-stat span { display:block; margin-top:10px; font-size:12px; letter-spacing:.6px;
    text-transform:uppercase; color:var(--rd-muted); }

  /* ── CHIPS (discipline-tag style) ── */
  .rd-chips { display:flex; flex-wrap:wrap; gap:10px; }
  .rd-chip {
    display:inline-flex; align-items:center; gap:8px;
    background:var(--rd-white); border:1px solid var(--rd-border);
    border-radius:30px; padding:9px 18px; font-size:13px; font-weight:500;
    color:var(--rd-navy); box-shadow:var(--rd-shadow);
  }
  .rd-chip::before { content:''; width:8px; height:8px; border-radius:50%; background:var(--rd-sky); }

  /* ── DOWNLOAD / OUTLINE BUTTONS (live "Prospectus / Fee Structure" style) ── */
  .rd-btn {
    display:inline-flex; align-items:center; gap:8px;
    padding:11px 22px; border-radius:8px; font-size:13px; font-weight:600;
    text-decoration:none; border:1.5px solid var(--rd-navy); color:var(--rd-navy);
    background:transparent; transition:background .18s,color .18s;
  }
  .rd-btn:hover { background:var(--rd-navy); color:#fff; }
  .rd-btn--solid { background:var(--rd-navy); color:#fff; }
  .rd-btn--solid:hover { background:var(--rd-blue); }

  /* ── CTA BAND (prospectus-download style) ── */
  .rd-cta {
    background:linear-gradient(120deg,var(--rd-navy),var(--rd-blue));
    border-radius:16px; padding:40px 44px; color:#fff;
    display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
  }
  .rd-cta h3 { font-family:var(--rd-font-display); font-weight:600; font-size:22px; margin-bottom:8px; }
  .rd-cta p  { font-size:13.5px; color:rgba(255,255,255,.75); max-width:52ch; }
  .rd-cta .rd-btn { border-color:rgba(255,255,255,.6); color:#fff; }
  .rd-cta .rd-btn:hover { background:#fff; color:var(--rd-navy); }

  /* ── DOCUMENT LINKS (in-card policy / download links) ── */
  .rd-doclinks { display:flex; flex-wrap:wrap; gap:9px; margin-top:18px; }
  .rd-doclink {
    display:inline-flex; align-items:center; gap:6px;
    font-size:12px; font-weight:600; color:var(--rd-sky);
    text-decoration:none; background:var(--rd-white);
    border:1px solid var(--rd-border); border-radius:7px; padding:7px 13px;
    transition:border-color .18s, background .18s;
  }
  .rd-doclink:hover { border-color:var(--rd-sky); background:var(--rd-light); }

  /* ── FEATURED CARD (apex body — RAC) ── */
  .rd-feature {
    position:relative; overflow:hidden; margin-bottom:24px;
    background:var(--rd-light); border:1px solid #c2d7ef;
    border-radius:var(--rd-radius); padding:32px 34px;
  }
  .rd-feature::before { content:''; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--rd-sky); }
  .rd-feature .rd-tag { display:inline-block; font-size:10.5px; font-weight:700; letter-spacing:1.5px;
    text-transform:uppercase; color:var(--rd-sky); margin-bottom:12px; }
  .rd-feature h3 { font-family:var(--rd-font-display); font-weight:600; font-size:22px;
    color:var(--rd-navy); margin-bottom:6px; }
  .rd-feature .rd-meta { font-size:12px; color:var(--rd-muted); margin-bottom:14px; }
  .rd-feature > p { font-size:14px; color:var(--rd-text); line-height:1.7; max-width:74ch; }

  /* ── CATEGORY SUB-CARD (grant categories inside a feature) ── */
  .rd-catcard { background:var(--rd-white); border:1px solid var(--rd-border);
    border-radius:9px; padding:16px 16px; display:flex; flex-direction:column; }
  .rd-catcard .rd-abbr { font-size:11px; font-weight:700; letter-spacing:1px;
    text-transform:uppercase; color:var(--rd-sky); }
  .rd-catcard h5 { font-size:13.5px; font-weight:600; color:var(--rd-navy); margin:3px 0 6px; }
  .rd-catcard p  { font-size:12px; color:var(--rd-muted); line-height:1.55; margin-bottom:12px; }
  .rd-catcard .rd-ceiling { margin-top:auto; font-size:12px; font-weight:700; color:var(--rd-navy); }

  /* ── PARTNER STRIP (e.g., IPR & tech-transfer partner) ── */
  .rd-partner { margin-top:16px; display:flex; align-items:center; gap:12px;
    background:var(--rd-light); border:1px solid #c2d7ef; border-radius:9px; padding:12px 14px; }
  .rd-partner .rd-partner-logo { flex:0 0 40px; height:40px; border-radius:8px;
    background:var(--rd-white); border:1px solid var(--rd-border);
    display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; color:var(--rd-muted); }
  .rd-partner .rd-partner-label { display:block; font-size:10px; font-weight:700; letter-spacing:.8px;
    text-transform:uppercase; color:var(--rd-sky); }
  .rd-partner .rd-partner-name { display:block; font-size:14.5px; font-weight:700; color:var(--rd-navy); }

  /* ── PROGRESS BARS (research tracks / journal distribution) ── */
  .rd-bar-label { display:flex; justify-content:space-between; font-size:12.5px;
    color:var(--rd-muted); margin:12px 0 5px; }
  .rd-bar { height:9px; border-radius:6px; background:#e6eefb; overflow:hidden; }
  .rd-bar > span { display:block; height:100%; border-radius:6px; background:var(--rd-sky); }
  .rd-bar > span.gold  { background:var(--rd-accent); }
  .rd-bar > span.green { background:#2a7d4f; }

  /* ── NUMBERED PUBLICATION LIST ── */
  .rd-pub { display:flex; gap:16px; padding:16px 0; border-bottom:1px solid #eef2f9; }
  .rd-pub:last-child { border-bottom:none; }
  .rd-pub-n { flex:0 0 30px; height:30px; border-radius:50%; background:var(--rd-light);
    color:var(--rd-sky); font-size:13px; font-weight:700;
    display:flex; align-items:center; justify-content:center; }
  .rd-pub-t { font-size:14px; font-weight:600; color:var(--rd-text); margin-bottom:3px; }
  .rd-pub-m { font-size:12px; color:var(--rd-muted); }
  .rd-pub-m a { color:var(--rd-sky); font-weight:600; text-decoration:none; }
  .rd-pub-m a:hover { color:var(--rd-navy); }

  /* ── FACILITY CARD (image + body) ── */
  .rd-fac { background:var(--rd-white); border:1px solid var(--rd-border);
    border-radius:var(--rd-radius); overflow:hidden; box-shadow:var(--rd-shadow); }
  .rd-fac-img { height:150px; background:var(--rd-light); display:flex; align-items:center;
    justify-content:center; font-size:13px; color:var(--rd-sky); font-weight:600; text-align:center; padding:12px; }
  .rd-fac-body { padding:20px; }
  .rd-fac-body h4 { font-size:14.5px; font-weight:600; color:var(--rd-navy); margin-bottom:6px; }
  .rd-fac-body p  { font-size:12.5px; color:var(--rd-muted); line-height:1.55; }

  /* ── INSTRUMENT LIST (inside a facility card) ── */
  .rd-instr { margin-top:14px; }
  .rd-instr .rd-instr-label { display:block; font-size:10px; font-weight:700; letter-spacing:.7px;
    text-transform:uppercase; color:var(--rd-sky); margin-bottom:7px; }
  .rd-instr ul { list-style:none; display:flex; flex-wrap:wrap; gap:6px; }
  .rd-instr li { font-size:11px; color:var(--rd-navy); background:var(--rd-light);
    border:1px solid #d5e3f5; border-radius:5px; padding:3px 9px; }

  /* ── EXPLORE LINK (arrow link under a card) ── */
  .rd-explore { display:inline-block; margin-top:14px; font-size:12px; font-weight:700;
    color:var(--rd-sky); text-decoration:none; transition:color .18s; }
  .rd-explore:hover { color:var(--rd-navy); }

  /* ── EVENT CARD ── */
  .rd-event { background:var(--rd-white); border:1px solid var(--rd-border);
    border-radius:var(--rd-radius); overflow:hidden; box-shadow:var(--rd-shadow); }
  .rd-event-band { background:var(--rd-navy); color:#fff; padding:12px 20px;
    display:flex; justify-content:space-between; align-items:center; }
  .rd-event-band strong { font-size:13.5px; }
  .rd-event-band span   { font-size:11px; color:rgba(255,255,255,.6); }
  .rd-event-body { padding:20px; }
  .rd-event-body h4 { font-size:14.5px; font-weight:600; color:var(--rd-navy); margin-bottom:7px; }
  .rd-event-body p  { font-size:12.5px; color:var(--rd-muted); line-height:1.6; }

  /* ── PILL / BADGE ── */
  .rd-pill { display:inline-block; padding:4px 12px; border-radius:20px;
    font-size:11px; font-weight:700; letter-spacing:.3px; }
  .rd-pill--green { background:#e6f4ea; color:#2a7d4f; }
  .rd-pill--gold  { background:#fff3e0; color:#b46a00; }
  .rd-pill--grey  { background:#eef1f7; color:#7a8aa5; }
  .rd-pill--blue { background:#88b8ef; color:#0d66cb; }

  /* ── COLLAB ROW ── */
  .rd-collab { display:flex; gap:16px; align-items:flex-start;
    border:1px solid var(--rd-border); border-radius:var(--rd-radius);
    padding:20px; background:var(--rd-white); box-shadow:var(--rd-shadow); margin-bottom:14px; }
  .rd-collab-logo { flex:0 0 46px; height:46px; border-radius:10px; background:var(--rd-light); }
  .rd-collab h4 { font-size:14.5px; color:var(--rd-navy); margin-bottom:4px; }
  .rd-collab p  { font-size:12.5px; color:var(--rd-muted); line-height:1.55; }

  /* ── SUBSCRIBE INPUT ── */
  .rd-input { flex:1; height:44px; border-radius:8px; border:1px solid var(--rd-border);
    padding:0 14px; font-family:inherit; font-size:13px; color:var(--rd-text); background:var(--rd-surface); }

  .rd-mt-lg { margin-top:40px; }
  .rd-mb-lg { margin-bottom:40px; }

  /* ── PREVIEW-ONLY CHROME (header / footer / notice) — not part of handoff ── */
  .rd-preview-note {
    background:#fffaf0; border-bottom:1px solid #f0d9a8; color:#7a5a12;
    font-size:12.5px; padding:12px 40px; text-align:center; line-height:1.5;
  }
  .rd-preview-note strong { color:#5a4208; }
  .rd-head { background:var(--rd-white); border-bottom:3px solid var(--rd-sky);
    padding:16px 40px; display:flex; align-items:center; gap:14px; position:sticky; top:0; z-index:10; }
  .rd-logo { width:44px; height:44px; border-radius:50%; background:var(--rd-navy); color:#fff;
    font-family:var(--rd-font-display); font-weight:700; display:flex; align-items:center; justify-content:center; }
  .rd-head strong { display:block; font-size:14px; color:var(--rd-navy); }
  .rd-head span   { font-size:11px; letter-spacing:.6px; color:var(--rd-muted); text-transform:uppercase; }
  .rd-foot { background:var(--rd-navy); color:rgba(255,255,255,.65); font-size:12.5px;
    padding:34px 40px; text-align:center; line-height:1.7; }
  .rd-foot strong { color:#fff; }

  /* ── RESPONSIVE ── */
  @media (max-width:960px){
    .rd-grid-3,.rd-grid-4,.rd-grid-21,.rd-grid-2 { grid-template-columns:1fr; }
    .rd-section { padding: 4rem 0; }
    .rd-head,.rd-foot,.rd-preview-note { padding-left:22px; padding-right:22px; }
    .rd-cta { padding:30px 26px; }
  }

.rd-fac-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f7fa;
}

.rd-fac-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.rd-fac:hover .rd-fac-img img {
    transform: scale(1.04);
}

.rd-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 9px 16px;
    background: #0c3574;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(12, 53, 116, 0.18);
}

.rd-explore:hover {
    background: #e4d29b;
    color: #0c3574 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(12, 53, 116, 0.25);
}

.rd-pdf-icon {
    font-size: 10px;
    line-height: 1;
}

.rd-arrow {
    font-size: 10px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.rd-explore:hover .rd-arrow {
    transform: translateX(4px);
}


/* =========================================
   HIGH-IMPACT PUBLICATIONS
========================================= */

.rd-publication-card {
    position: relative;
    overflow: hidden;
}

.rd-pub-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.rd-pub-subtitle {
    display: block;
    font-size: 12px;
    color: #718096;
    margin-top: 2px;
}

.rd-pub-count {
    white-space: nowrap;
    background: #eef5ff;
    color: #0c3574;
    border: 1px solid #d8e6fa;
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}


/* Scroll area */

.rd-pub-scroll {
    max-height: 580px;
    overflow-y: auto;
    padding-right: 8px;
    scroll-behavior: smooth;
}


/* Custom scrollbar */

.rd-pub-scroll::-webkit-scrollbar {
    width: 6px;
}

.rd-pub-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.rd-pub-scroll::-webkit-scrollbar-thumb {
    background: #b8c8dc;
    border-radius: 10px;
}

.rd-pub-scroll::-webkit-scrollbar-thumb:hover {
    background: #0c3574;
}


/* Individual publication */

.rd-high-pub {
    display: flex;
    gap: 15px;
    padding: 17px 5px 17px 0;
    border-bottom: 1px solid #e9eef5;
}

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


/* Faculty image */

.rd-pub-author {
    flex: 0 0 64px;
}

.rd-pub-author img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #edf3fa;
    display: block;
    background: #f1f5f9;
}


/* Publication content */

.rd-pub-content {
    min-width: 0;
    flex: 1;
}

.rd-pub-content h4 {
    margin: 0 0 2px;
    font-size: 15px;
    line-height: 1.35;
    color: #17365f;
    font-weight: 700;
}

.rd-pub-dept {
    display: block;
    color: #718096;
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 7px;
}


/* Indexed journal label */

.rd-pub-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #496581;
    background: #f4f7fa;
    border: 1px solid #e3eaf1;
    padding: 4px 8px;
    border-radius: 5px;
    margin-bottom: 7px;
}


/* Special highlight */

.rd-pub-highlight {
    display: inline-block;
    margin: 0 0 7px 5px;
    padding: 4px 8px;
    border-radius: 5px;
    background: #fff7df;
    border: 1px solid #f4df9c;
    color: #8a6510;
    font-size: 10px;
    font-weight: 700;
}


/* CiteScore / Impact Factor */

.rd-pub-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.rd-pub-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 5px;
    background: #eef7f1;
    color: #2d6a45;
    font-size: 10px;
    font-weight: 600;
}

.rd-pub-metrics strong {
    font-size: 11px;
    color: #174d2c;
}


/* Publication title */

.rd-pub-title {
    color: #25364a;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 600;
    margin-bottom: 7px;
}


/* Journal */

.rd-pub-journal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #66788a;
    font-size: 10.5px;
    line-height: 1.4;
}

.rd-pub-journal strong {
    color: #0c3574;
    font-weight: 700;
}

.rd-pub-journal span {
    color: #7c8b99;
}


/* Scroll hint */

.rd-pub-scroll-hint {
    text-align: center;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #edf1f5;
    color: #8493a3;
    font-size: 10px;
}

.rd-pub-scroll-hint span {
    display: inline-block;
    margin-right: 4px;
    font-size: 13px;
}


/* Mobile */

@media (max-width: 600px) {

    .rd-pub-heading {
        align-items: flex-start;
    }

    .rd-pub-count {
        font-size: 10px;
        padding: 5px 8px;
    }

    .rd-pub-scroll {
        max-height: 500px;
    }

    .rd-high-pub {
        gap: 11px;
    }

    .rd-pub-author {
        flex: 0 0 48px;
    }

    .rd-pub-author img {
        width: 48px;
        height: 48px;
    }

    .rd-pub-content h4 {
        font-size: 13px;
    }

    .rd-pub-title {
        font-size: 12px;
    }

    .rd-pub-type,
    .rd-pub-highlight {
        font-size: 9px;
    }
}



 #research-support{
    --rss-brand:#7a1f2b;      /* primary accent */
    --rss-ink:#25222b;        /* body text */
    --rss-soft:#f7f3ee;       /* tinted panels */
    --rss-line:#e3dbd2;       /* borders */
    padding:72px 20px;background:#fff;box-sizing:border-box;
  }
  #research-support *{box-sizing:border-box}
  #research-support .rss-wrap{max-width:1120px;margin:0 auto}
  #research-support h2,#research-support h3,#research-support h4{margin:0;line-height:1.25}
  #research-support p{margin:0}

  /* Intro */
  #research-support .rss-intro{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end;margin-bottom:48px}
  #research-support .rss-kicker{font-size:.9rem;font-weight:600;color:var(--rss-brand);margin-bottom:10px}
  #research-support #rss-title{font-size:clamp(1.8rem,3.4vw,2.6rem);font-weight:700}
  #research-support .rss-intro p{font-size:1.05rem;line-height:1.7;max-width:60ch}

  /* Service blocks */
  #research-support .rss-block{border-top:3px solid var(--rss-brand);padding-top:28px;margin-bottom:56px}
  #research-support .rss-block h3{font-size:1.5rem;margin-bottom:8px}
  #research-support .rss-lead{line-height:1.7;max-width:70ch;margin-bottom:24px}

  /* FDP */
  #research-support .rss-fdp{display:grid;grid-template-columns:1.4fr 1fr;gap:32px}
  #research-support .rss-learn h4,#research-support .rss-format h4{font-size:1.05rem;margin-bottom:14px}
  #research-support .rss-list{list-style:none;margin:0;padding:0;columns:2;column-gap:28px}
  #research-support .rss-list li{position:relative;padding:0 0 12px 22px;line-height:1.5;break-inside:avoid}
  #research-support .rss-list li::before{content:"";position:absolute;left:2px;top:.55em;width:8px;height:8px;border-radius:50%;background:var(--rss-brand)}
  #research-support .rss-list.rss-one{columns:1}
  #research-support .rss-format{background:var(--rss-soft);padding:24px;border-left:4px solid var(--rss-brand)}
  #research-support .rss-format p{line-height:1.65;margin-bottom:12px}
  #research-support .rss-format p:last-child{margin-bottom:0}
  #research-support .rss-note{font-size:.95rem;color:#4a4652}

  /* Software table */
  #research-support .rss-table-scroll{overflow-x:auto;border:1px solid var(--rss-line)}
  #research-support table{width:100%;border-collapse:collapse;min-width:520px}
  #research-support th,#research-support td{text-align:left;padding:14px 18px;border-bottom:1px solid var(--rss-line);vertical-align:top;line-height:1.5}
  #research-support thead th{background:var(--rss-brand);color:#fff;font-weight:600}
  #research-support tbody th{font-weight:600;width:32%;background:var(--rss-soft)}
  #research-support tbody tr:last-child th,#research-support tbody tr:last-child td{border-bottom:0}
  #research-support .rss-after{margin-top:14px;color:#4a4652}

  /* Data analysis */
  #research-support .rss-da{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
  #research-support .rss-principles{background:var(--rss-soft);padding:26px;border-left:4px solid var(--rss-brand)}
  #research-support .rss-principles h4{font-size:1.1rem;margin-bottom:10px}
  #research-support .rss-principles p{line-height:1.7;margin-bottom:12px}
  #research-support .rss-principles p:last-child{margin-bottom:0}

  /* Institutions + contact */
  #research-support .rss-inst{display:grid;grid-template-columns:1fr 1fr;gap:32px}
  #research-support .rss-contact{background:var(--rss-brand);color:#fff;padding:32px;border-radius:4px}
  #research-support .rss-contact h3{font-size:1.4rem;margin-bottom:10px}
  #research-support .rss-contact p{line-height:1.65;margin-bottom:16px}
  #research-support .rss-contact a{display:inline-block;background:#fff;color:var(--rss-brand);font-weight:700;padding:12px 20px;text-decoration:none;border-radius:3px;word-break:break-all}
  #research-support .rss-contact a:hover{background:var(--rss-soft)}
  #research-support a:focus-visible{outline:3px solid #f0b429;outline-offset:2px}

  @media (max-width:860px){
    #research-support{padding:48px 16px}
    #research-support .rss-intro,#research-support .rss-fdp,#research-support .rss-da,#research-support .rss-inst{grid-template-columns:1fr;gap:24px}
    #research-support .rss-list{columns:1}
  }



/* Make Research Support Services match the other sections' width */
#research-support.rss{
  max-width:none;
  margin:0;
  padding-left:0;
  padding-right:0;
}
#research-support .rss-wrap{
  max-width:none;
  width:100%;
  margin:0;
  padding-left:0;
  padding-right:0;
}
#research-support .rss-table-scroll{overflow-x:auto}

/* =========================================
   RESEARCH AWARDS & DOCUMENTS
========================================= */

.rd-documents-card {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.rd-documents-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.rd-documents-subtitle {
    display: block;
    font-size: 10.5px;
    color: #7a8998;
    line-height: 1.4;
}

.rd-documents-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef5ff;
    color: #0c3574;
    font-size: 17px;
}


/* Document grid */

.rd-document-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}


/* Individual document */

.rd-document {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 76px;
    padding: 9px 10px;
    border: 1px solid #e5ebf2;
    border-radius: 9px;
    background: #ffffff;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
     min-height: 62px;
   
}

.rd-document:hover {
    transform: translateY(-2px);
    border-color: #c5d7ed;
    background: #f8fbff;
    box-shadow: 0 7px 18px rgba(12, 53, 116, 0.09);
    text-decoration: none !important;
}


/* PDF icon */

.rd-document-icon {
     width: 32px;
    height: 38px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #fff1f1;
    color: #d84b4b;
    font-size: 16px;
    border: 1px solid #f4dada;
}



.rd-document:hover .rd-document-icon {
    background: #d84b4b;
    color: #ffffff;
    border-color: #d84b4b;
}


/* Text */

.rd-document-info {
    min-width: 0;
    flex: 1;
}

.rd-document-title {
    color: #263b52;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 5px;
}

.rd-document-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0c3574;
    font-size: 9.5px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.rd-document-action i {
    font-size: 8px;
    transition: transform 0.2s ease;
}

.rd-document:hover .rd-document-action i {
    transform: translateX(3px);
}


/* Mobile */

@media (max-width: 600px) {

    .rd-document-grid {
        grid-template-columns: 1fr;
    }

    .rd-document {
        min-height: 68px;
    }

}



/* Research Centre Read More */

.rd-description {
    margin-bottom: 12px;
}

.rd-short-text,
.rd-full-text p {
    margin-bottom: 0;
}

.rd-full-text {
    display: none;
}

.rd-description.expanded .rd-short-text {
    display: none;
}

.rd-description.expanded .rd-full-text {
    display: block;
}

.rd-readmore {
    margin-top: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0c3574;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rd-readmore:hover {
    color: #1e5aa8;
}

.rd-readmore span {
    display: inline-block;
    margin-left: 3px;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.rd-description.expanded .rd-readmore span {
    transform: rotate(45deg);
}




/* ===== Events & News – uses the same --rd-* colour variables as the other sections ===== */
.ev-cards{align-items:start}
.ev-card{background:#fff;border:1px solid var(--rd-border,#e3e8f0);border-radius:14px;overflow:hidden}
.ev-head{display:grid;grid-template-columns:104px 1fr;gap:18px;align-items:center;background:var(--rd-navy,#0b2a55);color:#fff;padding:18px 22px;min-height:190px}
.ev-photo{width:104px;height:130px;object-fit:cover;object-position:center top;border-radius:8px;border:2px solid rgba(255,255,255,.75);background:#fff}
.ev-meta{display:block;font-size:12px;line-height:1.5;color:rgba(255,255,255,.85);margin-bottom:6px}
.ev-head h4{margin:0;font-size:16px;line-height:1.4;font-weight:600;color:#fff}
.ev-body{padding:20px 22px 22px}
.ev-body p{margin:0 0 12px;font-size:14px;line-height:1.7;color:var(--rd-muted,#5b6675)}
.ev-body strong{color:var(--rd-navy,#0b2a55)}
.ev-body a{color:var(--rd-navy,#0b2a55);text-decoration:none;font-weight:600}
.ev-more{display:none}
.ev-more.open{display:block}
.ev-btn{border:0;background:var(--rd-tint,#eef3fb);color:var(--rd-navy,#0b2a55);font:inherit;font-size:13px;font-weight:600;padding:8px 14px;border-radius:18px;cursor:pointer}
.ev-btn:hover{background:var(--rd-navy,#0b2a55);color:#fff}
.ev-scroll{height:250px;overflow-y:auto}
.ev-item{display:grid;grid-template-columns:190px 1fr;gap:18px;padding:14px 0 14px 14px;border-left:3px solid var(--rd-sky,#5a97d6);border-bottom:1px solid var(--rd-border,#e3e8f0);margin-bottom:0}
.ev-item:last-child{border-bottom:0}
.ev-date{font-size:13px;font-weight:600;line-height:1.5;color:var(--rd-navy,#0b2a55)}
.ev-item strong{display:block;font-size:14px;color:var(--rd-navy,#0b2a55);margin-bottom:3px}
.ev-item span{font-size:13px;line-height:1.5;color:var(--rd-muted,#5b6675)}
@media(max-width:700px){
  .ev-head{grid-template-columns:82px 1fr;gap:14px}
  .ev-photo{width:82px;height:106px}
  .ev-item{grid-template-columns:1fr;gap:4px}
}



  .rdc{position:relative;display:flex;align-items:center;gap:10px}
  .rdc-viewport{flex:1;min-width:0;overflow:hidden}
  .rdc-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;align-items:flex-start;padding:4px 2px 12px}
  .rdc-track::-webkit-scrollbar{display:none}
  .rdc-slide{flex:0 0 calc((100% - 24px) / 2);scroll-snap-align:start;min-width:0;box-sizing:border-box}
  .rdc-arrow{flex:0 0 auto;width:42px;height:42px;border-radius:50%;border:1px solid rgba(0,0,0,.15);
    background:#fff;color:#1a1a1a;font-size:16px;line-height:1;cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.12);transition:background .2s,color .2s,opacity .2s}
  .rdc-arrow:hover:not(:disabled){background:#1a1a1a;color:#fff}
  .rdc-arrow:disabled{opacity:.35;cursor:default}
  .rdc-arrow:focus-visible,.rdc-dot:focus-visible{outline:2px solid currentColor;outline-offset:2px}
  .rdc-dots{display:flex;justify-content:center;gap:8px;margin:0 0 28px}
  .rdc-dot{width:9px;height:9px;padding:0;border-radius:50%;border:0;background:rgba(0,0,0,.25);cursor:pointer;transition:transform .2s,background .2s}
  .rdc-dot.active{background:#1a1a1a;transform:scale(1.25)}
  .rdc-avatar{display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem;
    letter-spacing:.04em;color:#fff;background:linear-gradient(135deg,#3a4a8a,#7a5cc0)}
  @media (max-width:767px){
    .rdc-slide{flex-basis:100%}
    .rdc-arrow{width:36px;height:36px}
    .rdc{gap:6px}
  }


/* ── HIGHLIGHT GRANT CARDS (scrollable row) ── */
  .rd-highlights { display:flex; gap:24px; overflow-x:auto; padding:4px 2px 14px;
    scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
  .rd-highlights::-webkit-scrollbar { height:8px; }
  .rd-highlights::-webkit-scrollbar-thumb { background:var(--rd-border); border-radius:4px; }
  .rd-hl { flex:0 0 470px; max-width:470px; scroll-snap-align:start;
    background:var(--rd-white); border:1px solid var(--rd-border); border-radius:14px;
    overflow:hidden; box-shadow:var(--rd-shadow); display:flex; flex-direction:column; }
  .rd-hl-band { background:var(--rd-navy); padding:22px; display:flex; gap:18px; align-items:flex-start; }
  .rd-hl-avatar { flex:0 0 84px; width:84px; height:84px; border-radius:10px;
    background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
    display:flex; align-items:center; justify-content:center; text-align:center;
    font-size:10px; color:rgba(255,255,255,.6); padding:6px; }
  .rd-hl-meta { font-size:11px; color:rgba(255,255,255,.7); line-height:1.55; margin-bottom:8px; }
  .rd-hl-title { font-size:16px; font-weight:700; color:#fff; line-height:1.35; }
  .rd-hl-body { padding:22px; display:flex; flex-direction:column; flex:1; }
  .rd-hl-lead { font-size:14.5px; font-weight:700; color:var(--rd-navy); line-height:1.45; margin-bottom:12px; }
  .rd-hl-desc { font-size:13px; color:var(--rd-muted); line-height:1.7; margin-bottom:18px; }
  .rd-hl-more { align-self:flex-start; margin-top:auto; background:var(--rd-light);
    color:var(--rd-navy); font-size:13px; font-weight:600; text-decoration:none;
    padding:8px 16px; border-radius:7px; border:1px solid #d5e3f5; transition:background .18s,color .18s; }
  .rd-hl-more:hover { background:var(--rd-sky); color:#fff; border-color:var(--rd-sky); }

  /* ── RESPONSIVE ── */
  @media (max-width:960px){
    .rd-grid-3,.rd-grid-4,.rd-grid-21,.rd-grid-2 { grid-template-columns:1fr; }
    .rd-section { padding:56px 22px; }
    .rd-head,.rd-foot,.rd-preview-note { padding-left:22px; padding-right:22px; }
    .rd-cta { padding:30px 26px; }
    .rd-hl { flex-basis:84vw; max-width:84vw; }
  }


.rd-hl-avatar {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    border-radius: 10px; /* slightly rounded square */
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.4);
}

.rd-hl-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}


/* ── ADMISSION FLYER ── */

.fl-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:28px;
}
.fl-card{
  background:#fff;
  border:1px solid var(--rd-border,#e3e8f0);
  border-radius:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease;
}
.fl-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(15,35,75,.12);
}
.fl-thumb{
  position:relative;
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:#f3f6fb;
  cursor:zoom-in;
  aspect-ratio:3/4;          /* change to 1/1 or 4/5 to match your flyer ratio */
  overflow:hidden;
}
.fl-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top;
  display:block;
  transition:transform .4s ease;
}
.fl-card:hover .fl-thumb img{ transform:scale(1.03); }
.fl-zoom{
  position:absolute;
  right:12px; bottom:12px;
  background:rgba(15,35,75,.85);
  color:#fff;
  font-size:12px;
  padding:6px 12px;
  border-radius:20px;
  opacity:0;
  transition:opacity .25s;
}
.fl-card:hover .fl-zoom{ opacity:1; }
.fl-info{
  padding:16px 18px 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
  justify-content:space-between;
}
.fl-info h4{
  margin:0;
  font-size:15px;
  line-height:1.4;
  color:var(--rd-navy,#0f234b);
}

/* Lightbox */
.fl-lightbox{
  position:fixed; inset:0;
  background:rgba(8,16,35,.92);
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:30px 16px;
  z-index:9999;
}
.fl-lightbox.open{ display:flex; }
.fl-lightbox img{
  max-width:min(92vw,900px);
  max-height:80vh;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.fl-lightbox p{
  color:#fff;
  margin:14px 0 0;
  font-size:14px;
  text-align:center;
}
.fl-close{
  position:absolute;
  top:16px; right:22px;
  background:none;
  border:0;
  color:#fff;
  font-size:38px;
  line-height:1;
  cursor:pointer;
}

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