/*
 * Institut WP
 * Main stylesheet
 * Based on institut-nurul-huda-premium.html
 */

/* =========================================================
   1. VARIABLES & RESET
========================================================= */

:root {
    --navy: #123b70;
    --blue: #2366b1;
    --sky: #eaf4ff;
    --ink: #172b43;
    --muted: #69798d;
    --line: #e6edf4;
    --paper: #fff;
    --soft: #f6f9fc;
    --gold: #e6ad52;
    --radius: 22px;
    --shadow: 0 18px 50px rgba(24,57,92,.09);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}
/*
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}
*/
body {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    color: var(--ink);
    background: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1160px, calc(100% - 44px));
    margin-inline: auto;
}

.site-main {
    min-height: 50vh;
}

section[id] {
    scroll-margin-top: 95px;
}


/* =========================================================
   2. TOPLINE
========================================================= */

.topline {
    background: #102f56;
    color: #dce9f7;
    font-size: 12px;
}

.topline .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 36px;
    gap: 15px;
}

.topline a {
    margin-left: 18px;
    color: #fff;
    transition: color .2s;
}

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

.topline i {
    margin-right: 5px;
}

.topline-phone {
    margin-left: 15px;
}


/* =========================================================
   3. HEADER & BRAND
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(220,230,240,.8);
    transition: box-shadow .25s;
}

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(20,48,78,.08);
}

.nav-wrap {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 245px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    background: linear-gradient(145deg,#1b5ca0,#102f56);
    display: grid;
    place-items: center;
    color: white;
    font-size: 19px;
    box-shadow: 0 8px 18px #123b7028;
}

.brand strong {
    display: block;
    font: 800 15px/1.25 Manrope,sans-serif;
    letter-spacing: .015em;
    color: #153b67;
}

.brand small {
    display: block;
    color: #8290a1;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-top: 4px;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    width: auto;
    max-width: 190px;
    max-height: 55px;
    object-fit: contain;
}


/* =========================================================
   4. DESKTOP NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 12px;
    border-radius: 10px;
    color: #42556b;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.nav-link i {
    font-size: 12px;
    color: #7b8fa6;
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
    color: var(--blue);
    background: #f2f7fc;
}


/* Mega menu */

.mega {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 570px;
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mega h4 {
    margin: 0 0 10px;
    color: #8a9aac;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mega a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    border-radius: 9px;
    color: #3d5065;
    font-size: 13px;
    transition: .2s;
}

.mega a i {
    width: 20px;
    color: #3978b8;
    text-align: center;
}

.mega a:hover {
    background: #f2f7fc;
    color: var(--blue);
}


/* Header CTA */

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: .2s;
}

.nav-cta:hover {
    background: #205a99;
    color: #fff;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    color: var(--navy);
    font-size: 18px;
}


/* =========================================================
   5. MOBILE NAVIGATION
========================================================= */

.mobile-panel {
    display: none;
}

.mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.mobile-head .brand {
    min-width: 0;
}

.mobile-head button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #345;
}

.mobile-view {
    padding-top: 16px;
}

.mobile-view.hidden {
    display: none;
}

.mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 7px;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    background: #fff;
    color: #34536f;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
}

.mobile-row > span {
    display: flex;
    align-items: center;
}

.mobile-row i:first-child {
    width: 25px;
    color: #397bb8;
}

.mobile-row:hover {
    color: var(--blue);
    background: #f8fbff;
}

.mobile-back {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 18px;
    border: 0;
    background: none;
    color: #3477b5;
    font-weight: 700;
}

.mobile-view h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font: 800 20px Manrope,sans-serif;
}


/* =========================================================
   6. HERO
========================================================= */

.hero {
    padding: 64px 0 38px;
    overflow: hidden;
    background: linear-gradient(180deg,#f5f9fe 0%,#fff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 56px;
    min-height: 470px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #2a69a8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 25px;
    height: 2px;
    background: var(--gold);
}

.hero h1 {
    max-width: 560px;
    margin: 19px 0 18px;
    color: #16395f;
    font: 800 clamp(36px,4.4vw,57px)/1.13 Manrope,sans-serif;
    letter-spacing: -.045em;
}

.hero h1 span {
    color: #3479bd;
}

.hero-copy {
    max-width: 500px;
    margin: 0 0 28px;
    color: #697b8f;
    font-size: 16px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.btn-primary {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 9px 22px #123b7025;
}

.btn-primary:hover {
    background: #205a99;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #d7e2ed;
    background: #fff;
    color: #34536f;
}

.btn-outline:hover {
    border-color: #8eb6dc;
    color: var(--blue);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    color: #7b8b9c;
    font-size: 12px;
}

.hero-note strong {
    color: #294966;
}

.avatar-stack {
    display: flex;
    padding-left: 5px;
}

.avatar-stack img {
    width: 30px;
    height: 30px;
    margin-left: -6px;
    border: 2px solid white;
    border-radius: 50%;
    object-fit: cover;
}


/* Hero slider */

.slider-shell {
    position: relative;
    min-width: 0;
}

.hero-image {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 24px;
    background: #dceafa;
    box-shadow: 0 22px 55px rgba(22,57,95,.16);
}

.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .5s,transform 1.1s;
}

.hero-image.changing img {
    opacity: .35;
    transform: scale(1.035);
}

.image-caption {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    color: #fff;
    text-shadow: 0 1px 8px #0006;
}

.image-caption small {
    display: block;
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
    opacity: .85;
}

.image-caption strong {
    font: 700 16px Manrope,sans-serif;
}

.image-caption .caption-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    background: #ffffff20;
    backdrop-filter: blur(8px);
}

.slide-count {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 7px 12px;
    border-radius: 30px;
    background: #ffffffeb;
    color: #244c72;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
}

.slider-dots {
    display: flex;
    gap: 7px;
}

.slider-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #c6d5e4;
    transition: .25s;
}

.slider-dots button.active {
    width: 27px;
    background: #2769aa;
}

.slider-arrows {
    display: flex;
    gap: 8px;
}

.slider-arrows button {
    width: 38px;
    height: 38px;
    border: 1px solid #dce6ef;
    border-radius: 50%;
    background: #fff;
    color: #345b7e;
    transition: .2s;
}

.slider-arrows button:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: white;
}

.progress-track {
    height: 2px;
    margin-top: 13px;
    overflow: hidden;
    background: #e7edf3;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: #3479bd;
    transition: width .1s linear;
}


/* =========================================================
   7. QUICK MENU
========================================================= */

.quick-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 30px;
    padding: 19px 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: 0 10px 35px rgba(20,55,90,.05);
}

.quick-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4px 12px;
    border-right: 1px solid var(--line);
}

.quick-item:last-child {
    border: 0;
}

.quick-item > i {
    color: #397bb8;
    font-size: 18px;
}

.quick-item strong {
    display: block;
    color: #294966;
    font: 800 13px Manrope,sans-serif;
}

.quick-item small {
    display: block;
    color: #8795a5;
    font-size: 10px;
}

.quick-item:hover strong {
    color: var(--blue);
}


/* =========================================================
   8. GENERAL SECTION
========================================================= */

.section {
    padding: 88px 0;
}

.section.soft {
    background: #f7f9fc;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 34px;
}

.section-kicker {
    color: #3d79b1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-title {
    margin: 9px 0 0;
    color: #183c62;
    font: 800 clamp(27px,3vw,37px)/1.2 Manrope,sans-serif;
    letter-spacing: -.035em;
}

.section-title span {
    color: #3479bd;
}

.section-desc {
    max-width: 490px;
    margin: 0;
    color: #78889a;
    font-size: 14px;
}

.text-link {
    color: #2869a8;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.text-link i {
    margin-left: 7px;
}

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


/* =========================================================
   9. PROFILE / ABOUT
========================================================= */

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

.about-photo {
    position: relative;
}

.about-photo img {
    display: block;
    width: 100%;
    height: 390px;
    border-radius: 18px;
    object-fit: cover;
}

.photo-tag {
    position: absolute;
    right: -18px;
    bottom: 24px;
    max-width: 185px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}

.photo-tag strong {
    display: block;
    color: var(--blue);
    font: 800 24px Manrope,sans-serif;
}

.photo-tag small {
    color: #7b8a9a;
    font-size: 11px;
}

.about-text h2 {
    margin: 12px 0 18px;
    color: #193e64;
    font: 800 34px/1.2 Manrope,sans-serif;
    letter-spacing: -.04em;
}

.about-text p {
    color: #718195;
    font-size: 14px;
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0 28px;
}

.check-list span {
    color: #405c76;
    font-size: 12px;
}

.check-list i {
    margin-right: 8px;
    color: #4c9a7a;
}


/* =========================================================
   10. STATS
========================================================= */

.stats {
    padding: 36px 0;
    background: #123b70;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.stat {
    padding: 4px 12px;
    text-align: center;
    border-right: 1px solid #ffffff25;
}

.stat:last-child {
    border: 0;
}

.stat strong {
    display: block;
    color: #fff;
    font: 800 32px Manrope,sans-serif;
}

.stat span {
    display: block;
    color: #c5d8ec;
    font-size: 11px;
    letter-spacing: .04em;
}

/* Optional icon for the WordPress stats template */

.stat-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin: 0 auto 10px;
    place-items: center;
    border: 1px solid #ffffff30;
    border-radius: 12px;
    color: #dcecff;
    font-size: 15px;
}


/* =========================================================
   11. ACADEMIC / PROGRAM
========================================================= */

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

.program-card {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    transition: .25s;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: #d1e1f0;
    box-shadow: var(--shadow);
}

.program-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 19px;
    place-items: center;
    border-radius: 13px;
    background: #edf5fc;
    color: #3476b3;
    font-size: 18px;
}

.program-card h3 {
    margin: 0 0 8px;
    color: #254968;
    font: 800 17px Manrope,sans-serif;
}

.program-card p {
    margin: 0 0 18px;
    color: #8190a0;
    font-size: 12px;
}

.program-card a {
    color: #3477b5;
    font-size: 11px;
    font-weight: 800;
}

.program-card a i {
    margin-left: 7px;
}


/* =========================================================
   12. FACILITIES & SERVICES
========================================================= */

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

.feature {
    display: block;
    padding: 22px 19px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: white;
    color: inherit;
    transition: .25s;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: #d1e1f0;
    box-shadow: var(--shadow);
}

.feature > i {
    display: block;
    margin-bottom: 17px;
    color: #3c80bc;
    font-size: 20px;
}

.feature .program-icon {
    margin-bottom: 17px;
}

.feature h3 {
    margin: 0 0 7px;
    color: #294966;
    font: 700 14px Manrope,sans-serif;
}

.feature p {
    margin: 0;
    color: #8290a0;
    font-size: 11px;
}


/* =========================================================
   13. NEWS
========================================================= */

.news-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 18px;
}

.news-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    transition: .2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.news-card > img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.news-card:first-child > img {
    height: 230px;
}

.news-body {
    padding: 18px;
}

.news-meta {
    color: #8a99a8;
    font-size: 10px;
}

.news-body h3 {
    margin: 9px 0;
    color: #294966;
    font: 700 15px/1.45 Manrope,sans-serif;
}

.news-body p {
    margin: 0 0 14px;
    color: #8290a0;
    font-size: 12px;
}

.news-body a {
    color: #3477b5;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   14. AGENDA
========================================================= */

.agenda-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.agenda-item {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    transition: .2s;
}

.agenda-item:hover {
    border-color: #d1e1f0;
    box-shadow: 0 8px 25px rgba(24,57,92,.06);
}

.date-box {
    display: grid;
    width: 54px;
    min-width: 54px;
    height: 70px;
    padding: 6px 3px;
    place-content: center;
    border-radius: 10px;
    background: #edf5fc;
    color: #2e70ad;
    text-align: center;
}

.date-box strong {
    font: 800 20px/1.1 Manrope,sans-serif;
}

.date-box span,
.date-box small {
    display: block;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.agenda-content {
    min-width: 0;
}

.agenda-content h3,
.agenda-item h3 {
    margin: 3px 0 7px;
    color: #294966;
    font: 700 13px/1.45 Manrope,sans-serif;
}

.agenda-content p,
.agenda-item p {
    margin: 0;
    color: #8996a5;
    font-size: 11px;
}

.agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 15px;
    color: #8996a5;
    font-size: 11px;
}

.agenda-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.agenda-meta i {
    color: #397bb8;
}


/* =========================================================
   15. GALLERY
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 12px;
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: 180px;
    border-radius: 13px;
    object-fit: cover;
    transition: .3s;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

.gallery-grid img:first-child {
    grid-row: span 2;
    height: 372px;
}


/* =========================================================
   16. TESTIMONIAL
========================================================= */

.testimonial {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.quote-mark {
    color: #d9e8f5;
    font: 800 60px/.8 Georgia,serif;
}

.testimonial blockquote {
    margin: 20px 0;
    color: #31516e;
    font: 600 22px/1.55 Manrope,sans-serif;
}

.testimonial small {
    color: #8291a1;
}

/* Additional support for current testimonial template */

.testimonial-content {
    position: relative;
}

.testimonial-content > i {
    display: block;
    margin-bottom: 18px;
    color: #d9e8f5;
    font-size: 36px;
}

.testimonial-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.testimonial-list blockquote {
    height: 100%;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    text-align: left;
    font: 400 13px/1.7 'DM Sans',sans-serif;
}

.testimonial-list blockquote p {
    margin: 0 0 20px;
    color: #52677d;
}

.testimonial-list blockquote footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-list blockquote footer img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-list blockquote footer strong,
.testimonial-list blockquote footer small {
    display: block;
}

.testimonial-list blockquote footer strong {
    color: #294966;
    font-size: 12px;
}

.testimonial-list blockquote footer small {
    color: #8996a5;
    font-size: 10px;
}


/* =========================================================
   17. CTA
========================================================= */

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 48px;
    border-radius: 20px;
    background: linear-gradient(110deg,#123b70,#2468a9);
    color: white;
}

.cta h2 {
    margin: 0 0 8px;
    color: white;
    font: 800 29px/1.25 Manrope,sans-serif;
}

.cta p {
    margin: 0;
    color: #c8d9ea;
    font-size: 13px;
}

.cta .btn-primary {
    flex: 0 0 auto;
    background: white;
    color: #173f69;
    box-shadow: none;
    white-space: nowrap;
}

.cta .btn-primary:hover {
    background: #eaf4ff;
    color: var(--navy);
}

/* Additional support for current CTA template */

.cta-content {
    width: 100%;
}

.cta-content .section-kicker {
    color: #c5dcf3;
}

.cta-content h2 span {
    color: #d6eaff;
}

.cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.cta .btn-outline {
    border-color: #ffffff75;
    background: transparent;
    color: #fff;
}

.cta .btn-outline:hover {
    border-color: #fff;
    background: #ffffff15;
    color: #fff;
}


/* =========================================================
   18. FOOTER
========================================================= */

.footer,
.site-footer {
    padding: 62px 0 24px;
    background: #102f56;
    color: #d5e2ef;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px;
}

.footer .brand,
.site-footer .brand {
    min-width: 0;
}

.footer .brand strong,
.site-footer .brand strong {
    color: white;
}

.footer .brand small,
.site-footer .brand small {
    color: #a8bfd5;
}

.footer p,
.site-footer p {
    max-width: 300px;
    color: #a9bfd3;
    font-size: 12px;
}

.footer h4,
.site-footer h4 {
    margin: 5px 0 17px;
    color: white;
    font: 700 12px Manrope,sans-serif;
}

.footer a,
.site-footer a {
    color: #afc3d6;
    transition: color .2s;
}

.footer-grid > div:not(:first-child) > a,
.site-footer .footer-grid > div:not(:first-child) > a {
    display: block;
    margin: 9px 0;
    font-size: 12px;
}

.footer a:hover,
.site-footer a:hover {
    color: white;
}

.socials {
    display: flex;
    gap: 9px;
    margin-top: 18px;
}

.socials a {
    display: grid;
    width: 34px;
    height: 34px;
    margin: 0;
    place-items: center;
    border: 1px solid #ffffff35;
    border-radius: 50%;
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid #ffffff20;
    color: #91abc2;
    font-size: 10px;
}


/* =========================================================
   19. REVEAL & BACK TO TOP
========================================================= */

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

.reveal.visible {
    opacity: 1;
    transform: none;
}

.back-top,
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: .2s;
}

.back-top.show,
.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}


/* =========================================================
   20. WORDPRESS CONTENT
========================================================= */

.entry-content,
.page-content,
.post-content {
    color: #52677d;
    font-size: 15px;
    line-height: 1.85;
}

.entry-content > *,
.page-content > *,
.post-content > * {
    max-width: 100%;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.page-content h1,
.page-content h2,
.page-content h3,
.post-content h1,
.post-content h2,
.post-content h3 {
    color: #193e64;
    font-family: Manrope,sans-serif;
    font-weight: 800;
    line-height: 1.3;
}

.entry-content img,
.page-content img,
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.entry-content iframe,
.page-content iframe,
.post-content iframe {
    max-width: 100%;
}

.entry-content blockquote,
.page-content blockquote,
.post-content blockquote {
    margin: 25px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--blue);
    background: var(--soft);
    color: #52677d;
}

.entry-content table,
.page-content table,
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 13px;
}

.entry-content th,
.entry-content td,
.page-content th,
.page-content td,
.post-content th,
.post-content td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    text-align: left;
}

.entry-content th,
.page-content th,
.post-content th {
    background: var(--soft);
    color: var(--navy);
}

.entry-content pre,
.page-content pre,
.post-content pre {
    max-width: 100%;
    overflow: auto;
    padding: 18px;
    border-radius: 10px;
    background: #172b43;
    color: #eaf4ff;
}

.alignwide {
    max-width: 1200px;
}

.alignfull {
    width: 100%;
    max-width: 100%;
}


/* =========================================================
   21. PAGE / ARCHIVE / SINGLE
========================================================= */

.page-header,
.archive-header,
.search-header {
    padding: 65px 0 35px;
    background: var(--soft);
}

.page-title,
.archive-title,
.search-title {
    margin: 0;
    color: var(--navy);
    font: 800 clamp(28px,4vw,42px)/1.2 Manrope,sans-serif;
}

.page-description,
.archive-description {
    max-width: 680px;
    margin-top: 12px;
    color: var(--muted);
}

.page-layout,
.content-layout {
    padding: 65px 0;
}

.entry-title {
    color: var(--navy);
    font: 800 clamp(27px,3vw,38px)/1.25 Manrope,sans-serif;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #8996a5;
    font-size: 12px;
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.pagination,
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 30px;
}

.page-numbers {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: #45617d;
    font-size: 12px;
}

.page-numbers.current,
.page-numbers:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}


/* =========================================================
   22. RESPONSIVE: TABLET
========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 0;
    }

    .nav-link {
        padding: 12px 8px;
        font-size: 12px;
    }

    .brand {
        min-width: 210px;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero-image {
        height: 390px;
    }

}


/* =========================================================
   23. RESPONSIVE: MOBILE NAV & TABLET
========================================================= */

@media (max-width: 860px) {

    .topline .container {
        justify-content: center;
    }

    .topline .right {
        display: none;
    }

    .main-nav,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-wrap {
        height: 72px;
    }

    .mobile-panel {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 100;
        display: block;
        width: min(390px,88vw);
        padding: 22px;
        overflow-x: hidden;
        overflow-y: auto;
        background: white;
        box-shadow: -20px 0 50px #142d481f;
        transform: translateX(105%);
        transition: transform .3s ease;
    }

    .mobile-panel.open {
        transform: none;
    }

    .hero {
        padding-top: 42px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-grid > div:first-child {
        max-width: 650px;
    }

    .hero-image {
        height: 400px;
    }

    .quick-strip {
        grid-template-columns: repeat(2,1fr);
        row-gap: 15px;
    }

    .quick-item:nth-child(2) {
        border: 0;
    }

    .about-grid {
        gap: 35px;
    }

    .program-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .news-card:first-child {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .testimonial-list {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   24. RESPONSIVE: MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 32px,1160px);
    }

    .topline .container {
        font-size: 10px;
    }

    .brand {
        min-width: 0;
        gap: 9px;
    }

    .brand-mark {
        width: 41px;
        height: 41px;
        flex-basis: 41px;
    }

    .brand strong {
        font-size: 13px;
    }

    .brand small {
        font-size: 9px;
    }

    .custom-logo {
        max-width: 145px;
        max-height: 44px;
    }

    .hero {
        padding: 34px 0 25px;
    }

    .hero-grid {
        min-height: 0;
    }

    .hero h1 {
        font-size: 37px;
    }

    .hero-copy {
        font-size: 14px;
    }

    .hero-image {
        height: 290px;
        border-radius: 17px;
    }

    .image-caption {
        right: 15px;
        bottom: 14px;
        left: 15px;
    }

    .section {
        padding: 64px 0;
    }

    .section-head {
        display: block;
    }

    .section-desc {
        margin-top: 12px;
    }

    .section-head > .text-link {
        display: inline-block;
        margin-top: 14px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-photo img {
        height: 280px;
    }

    .photo-tag {
        right: 10px;
    }

    .about-text h2 {
        font-size: 29px;
    }

    .check-list {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
        row-gap: 25px;
    }

    .stat:nth-child(2) {
        border: 0;
    }

    .stat:nth-child(3) {
        border: 0;
    }

    .stat strong {
        font-size: 27px;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .feature {
        padding: 17px 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card:first-child {
        grid-column: auto;
    }

    .news-card img,
    .news-card:first-child img {
        height: 200px;
    }

    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .agenda-item {
        gap: 12px;
        padding: 14px;
    }

    .agenda-meta {
        gap: 5px 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid img,
    .gallery-grid img:first-child {
        grid-row: auto;
        height: 150px;
    }

    .gallery-grid img:first-child {
        grid-column: span 2;
        height: 210px;
    }

    .testimonial blockquote {
        font-size: 18px;
    }

    .testimonial-list blockquote {
        padding: 18px;
    }

    .cta {
        display: block;
        padding: 30px 23px;
    }

    .cta h2 {
        font-size: 24px;
    }

    .cta .btn-primary {
        margin-top: 20px;
    }

    .cta-actions {
        align-items: stretch;
    }

    .cta-actions a {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .footer-grid > div:first-child {
        grid-column: span 2;
    }

    .copyright {
        display: block;
        line-height: 2;
    }

    .quick-item {
        justify-content: flex-start;
        padding-left: 12px;
    }

    .quick-item strong {
        font-size: 12px;
    }

    .quick-item small {
        font-size: 9px;
    }

    .mobile-panel {
        padding: 18px;
    }

}


/* =========================================================
   25. SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 33px;
    }

    .hero-image {
        height: 250px;
    }

    .quick-strip {
        padding: 14px 7px;
    }

    .quick-item {
        gap: 8px;
        padding: 4px 7px;
    }

    .quick-item > i {
        font-size: 16px;
    }

    .quick-item strong {
        font-size: 11px;
    }

    .quick-item small {
        font-size: 8px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   26. ACCESSIBILITY & REDUCED MOTION
========================================================= */

:focus-visible {
    outline: 3px solid rgba(35,102,177,.35);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}

/* =========================================================
   27. WEBSITE LAYOUT: FULL WIDTH & BOXED
========================================================= */

html {
    margin: 0;
    padding: 0;
    background: #fff;
}

body {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #fff;
}

/* Full Width */

body.layout-full .site-wrapper {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    background: #fff;
}

/* Boxed */

body.layout-boxed {
    background: #edf1f5;
}

body.layout-boxed .site-wrapper {
    width: 100%;
    max-width: var(--institut-wp-boxed-width, 1320px);
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 45px rgba(20, 48, 78, .10);
}

/* Mobile */

@media (max-width: 600px) {

    body.layout-boxed {
        background: #fff;
    }

    body.layout-boxed .site-wrapper {
        max-width: 100%;
        box-shadow: none;
    }

}
/* ========================================
   HEADER MENU ICONS
======================================== */

.main-nav .nav-link,
.mega .mega-column h4,
.mega .mega-column a {
    display: flex;
    align-items: center;
    gap: 9px;
}

.main-nav .nav-link > .bi,
.mega .mega-column h4 > .bi,
.mega .mega-column a > .bi {
    flex-shrink: 0;
    font-size: 1.05em;
}

.main-nav .nav-link .nav-chevron {
    margin-left: 2px;
    font-size: 11px;
}

.mega .mega-column h4 {
    gap: 8px;
}

.mega .mega-column a {
    gap: 9px;
}


/* MOBILE MENU ICONS */

.mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-row-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.mobile-row-label > .bi {
    width: 20px;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--blue, #2366b1);
    text-align: center;
}

.mobile-row-label > span {
    min-width: 0;
}


.mobile-row-chevron {
    flex-shrink: 0;
    margin-left: 14px;
    padding-left: 4px;
    font-size: 13px;
    opacity: .65;
}
/* MOBILE MENU OVERLAY */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(10, 25, 45, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-panel {
    z-index: 9999;
}

/* ========================================
   MOBILE MENU - FIX FOOTER PMB
======================================== */

@media (max-width: 860px) {

    .mobile-panel {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .mobile-head {
        flex: 0 0 auto;
    }

    .mobile-panel .mobile-view {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-top: 16px;
    }

    .mobile-panel .mobile-view.hidden {
        display: none;
    }

    .mobile-panel .mobile-footer {
        display: block;
        flex: 0 0 auto;
        padding: 16px 0 0;
        margin-top: auto;
        border-top: 1px solid var(--line);
        background: #fff;
    }

    .mobile-panel .mobile-footer .nav-cta {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 14px 18px;
    }

}
