:root {
    --brand: #0877C9;
    --brand-2: #0877C9;
    --brand-dark: #045A9D;
    --gold: #F4CD00;
    --ink: #171717;
    --muted: #667085;
    --soft: #F5F7FA;
    --border: #E3E8EF;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(var(--brand-rgb), .14)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.7
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%
}

.topbar {
    background: var(--brand-dark);
    color: #dcebe5
}

.topbar a {
    color: #dcebe5
}

.site-header {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 5px 24px rgba(var(--brand-rgb), .08);
    backdrop-filter: blur(12px)
}

.navbar {
    min-height: 84px
}

.navbar-brand img {
    filter: drop-shadow(0 6px 12px rgba(var(--brand-rgb), .18))
}

.navbar-brand strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.2;
    color: var(--brand-dark)
}

.navbar-brand small {
    display: block;
    color: var(--muted);
    font-size: .76rem;
    letter-spacing: .05em
}

.navbar-nav .nav-link {
    font-weight: 650;
    color: var(--ink);
    padding: .8rem !important;
    border-radius: 10px
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand);
    background: rgba(var(--brand-rgb), .08)
}

.dropdown-menu {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(var(--brand-rgb), .16);
    padding: .6rem;
    min-width: 220px
}

.dropdown-item {
    border-radius: 10px;
    padding: .7rem .9rem
}

.dropdown-item:hover {
    background: rgba(var(--brand-rgb), .08);
    color: var(--brand)
}

.btn-search {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff
}

.btn-search:hover {
    background: var(--brand-dark);
    color: #fff
}

.hero-section {
    background: var(--brand-dark)
}

.hero-section .carousel-item {
    min-height: 680px;
    background-position: center;
    background-size: cover
}

.hero-content {
    padding-top: 155px;
    padding-bottom: 145px;
    color: #fff
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -.045em;
    margin: 1.3rem 0
}

.hero-content p {
    font-size: 1.18rem;
    max-width: 700px;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 2rem
}

.eyebrow-light {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .76rem;
    color: var(--accent)
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--accent-contrast);
    font-weight: 750;
    border-radius: 14px;
    padding: .88rem 1.35rem
}

.btn-gold:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-contrast);
    transform: translateY(-2px)
}

.quick-access-wrap {
    position: relative;
    z-index: 5;
    margin-top: -55px
}

.quick-access {
    background: #fff;
    border-radius: 22px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden
}

.quick-access>a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 24px 20px;
    border-right: 1px solid var(--border);
    transition: .25s
}

.quick-access>a:last-child {
    border: 0
}

.quick-access>a:hover {
    background: var(--brand);
    color: #fff
}

.quick-access>a>span {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: rgba(var(--brand-rgb), .08);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 1.25rem
}

.quick-access>a:hover>span {
    background: rgba(255, 255, 255, .15);
    color: #fff
}

.quick-access strong,
.quick-access small {
    display: block;
    line-height: 1.3
}

.quick-access small {
    color: var(--muted);
    font-size: .78rem;
    margin-top: 3px
}

.quick-access a:hover small {
    color: rgba(255, 255, 255, .82)
}

.section-space {
    padding: 100px 0
}

.bg-soft {
    background: var(--soft)
}

.section-eyebrow {
    display: inline-block;
    color: var(--brand);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .76rem;
    margin-bottom: .8rem
}

.section-title {
    /*font-size: clamp(2rem, 3.6vw, 3.3rem);*/
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.035em
}

.section-heading {
    margin-bottom: 28px
}

.section-heading>div {
    max-width: 740px
}

.section-heading p {
    color: var(--muted)
}

.btn-outline-brand {
    border: 1.5px solid var(--brand);
    color: var(--brand);
    border-radius: 12px;
    font-weight: 700;
    padding: .7rem 1rem
}

.btn-outline-brand:hover {
    background: var(--brand);
    color: #fff
}

.btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    border-radius: 12px;
    font-weight: 700
}

.principal-photo-wrap {
    position: relative;
    padding: 20px
}

.principal-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 65%;
    height: 65%;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--gold), var(--accent))
}

.principal-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow)
}

.principal-badge {
    position: absolute;
    right: -10px;
    bottom: 50px;
    background: #fff;
    border-radius: 18px;
    padding: 15px 18px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 300px
}

.principal-badge i {
    font-size: 1.7rem;
    color: var(--brand)
}

.principal-badge span {
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.4
}

.principal-badge strong {
    color: var(--ink)
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 6rem;
    color: rgba(var(--brand-rgb), .13);
    line-height: .55;
    margin-top: 25px
}

.text-link {
    color: var(--brand);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .5rem
}

.text-link:hover {
    gap: .8rem;
    color: var(--brand-dark)
}

.featured-card {
    height: 550px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.featured-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 42px;
    color: #fff
}

.featured-content h3 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 14px 0
}

.featured-content p {
    color: rgba(255, 255, 255, .75);
    margin: 0
}

.badge-soft-gold {
    display: inline-block;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-contrast);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: .78rem;
    color: var(--muted)
}

.news-list {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 14px 44px rgba(var(--brand-rgb), .09)
}

.news-list-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border)
}

.news-list-item:last-child {
    border: 0
}

.news-list-item img {
    width: 120px;
    height: 105px;
    object-fit: cover;
    border-radius: 14px
}

.news-list-item h4 {
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 750;
    margin: .35rem 0
}

.news-list-item h4 a:hover {
    color: var(--brand)
}

.read-more {
    color: var(--brand);
    font-size: .78rem;
    font-weight: 800
}

.stats-section {
    padding: 65px 0;
    background: linear-gradient(120deg, var(--brand-dark), var(--brand-2));
    color: #fff
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.stats-grid>div {
    text-align: center;
    padding: 25px;
    border-right: 1px solid rgba(255, 255, 255, .16)
}

.stats-grid>div:last-child {
    border: 0
}

.stats-grid i {
    display: block;
    font-size: 2rem;
    color: var(--accent)
}

.stats-grid strong {
    display: block;
    font-size: 2.5rem;
    line-height: 1.1;
    margin: .7rem 0;
    font-weight: 800
}

.stats-grid span {
    color: rgba(255, 255, 255, .78)
}

.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.agenda-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: .25s
}

.agenda-item:hover {
    border-color: rgba(var(--brand-rgb), .38);
    box-shadow: 0 12px 35px rgba(var(--brand-rgb), .10);
    transform: translateX(4px)
}

.agenda-date {
    background: rgba(var(--brand-rgb), .09);
    color: var(--brand);
    border-radius: 15px;
    text-align: center;
    padding: 13px 8px
}

.agenda-date strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1
}

.agenda-date span {
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 800
}

.agenda-time {
    font-size: .76rem;
    color: var(--brand);
    font-weight: 700
}

.agenda-item h4 {
    font-size: 1.12rem;
    font-weight: 750;
    margin: .3rem 0
}

.agenda-item p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem
}

.announcement-panel {
    background: linear-gradient(145deg, var(--brand-dark), var(--brand-dark));
    border-radius: var(--radius);
    padding: 38px;
    height: 100%;
    box-shadow: var(--shadow)
}

.announcement-item {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 14px;
    align-items: center;
    color: #fff;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.announcement-item>span {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    display: grid;
    place-items: center;
    color: var(--accent)
}

.announcement-item small,
.announcement-item strong {
    display: block
}

.announcement-item small {
    color: rgba(255, 255, 255, .62);
    font-size: .72rem
}

.announcement-item strong {
    font-size: .92rem;
    line-height: 1.35
}

.achievement-card {
    background: #fff;
    border-radius: 19px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(var(--brand-rgb), .09);
    height: 100%;
    transition: .25s
}

.achievement-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow)
}

.achievement-card img {
    width: 100%;
    height: 210px;
    object-fit: cover
}

.achievement-card>div {
    padding: 20px
}

.achievement-card span {
    font-size: .72rem;
    color: var(--brand);
    font-weight: 800
}

.achievement-card h4 {
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 750;
    margin-top: 8px
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 16px
}

.gallery-tile {
    position: relative;
    border-radius: 18px;
    overflow: hidden
}

.gallery-tile:first-child {
    grid-row: span 2
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s
}

.gallery-tile:hover img {
    transform: scale(1.06)
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: linear-gradient(0deg, rgba(var(--ink-rgb), .90), transparent 65%);
    opacity: .95
}

.gallery-overlay i {
    font-size: 1.8rem
}

.gallery-overlay strong {
    font-size: .92rem
}

.partners-section {
    border-top: 1px solid var(--border);
    background: #fff
}

.letter-spacing {
    letter-spacing: .14em
}

.partner-scroll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px
}

.partner-scroll a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 14px;
    border: 1px solid var(--border);
    border-radius: 15px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700
}

.partner-scroll a:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: rgba(var(--brand-rgb), .055)
}

.partner-scroll i {
    font-size: 1.3rem
}

.footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, .82)
}

.footer h4,
.footer h6 {
    color: #fff
}

.footer h6 {
    font-weight: 800;
    margin-bottom: 18px
}

.footer-copy {
    color: rgba(255, 255, 255, .62);
    max-width: 540px
}

.social-links {
    display: flex;
    gap: 10px
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08)
}

.social-links a:hover {
    background: var(--gold);
    color: #1a2b24
}

.footer-links,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links li {
    margin: 10px 0
}

.footer-links a {
    color: rgba(255, 255, 255, .68)
}

.footer-links a:hover {
    color: #fff
}

.contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, .68)
}

.contact-list i {
    color: #e6bd50
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 18px 0;
    color: #8fada1;
    font-size: .82rem
}

.page-hero {
    background: linear-gradient(120deg, #073f2c, #0a6e49);
    padding: 76px 0;
    color: #fff;
    position: relative;
    overflow: hidden
}

.page-hero:after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    right: -80px;
    top: -150px;
    border: 60px solid rgba(255, 255, 255, .05)
}

.page-hero .breadcrumb {
    --bs-breadcrumb-divider: '›'
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, .72)
}

.page-hero .breadcrumb-item.active {
    color: var(--accent)
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: -.04em
}

.page-hero p {
    color: rgba(255, 255, 255, .78);
    font-size: 1.05rem;
    margin-bottom: 0
}

.post-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: .25s
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent
}

.post-card-image {
    position: relative;
    display: block;
    overflow: hidden
}

.post-card-image img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    transition: .35s
}

.post-card:hover img {
    transform: scale(1.04)
}

.post-card-image>span {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #fff;
    color: var(--brand);
    border-radius: 999px;
    padding: 3px 12px;
    font-size: .8rem;
    font-weight: 800
}

.post-card-body {
    padding: 23px
}

.post-card-body h3 {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 780;
    margin: 13px 0 9px
}

.post-card-body h3 a:hover {
    color: var(--brand)
}

.post-card-body p {
    color: var(--muted);
    font-size: .9rem
}

.article-header {
    padding: 95px 0 55px;
    background: var(--soft);
    text-align: center
}

.article-category {
    color: var(--brand);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em
}

.article-header h1 {
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.045em;
    margin: 20px 0
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .84rem
}

.article-cover,
.page-cover {
    width: 100%;
    max-height: 900px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: var(--shadow)
}

.article-body,
.page-content {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    color: var(--ink);
    padding: 50px 5%
}

.article-body h2,
.article-body h3,
.page-content h2,
.page-content h3 {
    font-family: Inter, system-ui, sans-serif;
    color: var(--ink);
    font-weight: 800;
    margin-top: 2rem
}

.share-box {
    border-top: 1px solid var(--border);
    padding: 25px 0;
    display: flex;
    align-items: center;
    gap: 10px
}

.share-box a,
.share-box button {
    border: 1px solid var(--border);
    background: #fff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--brand)
}

.mini-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    height: 100%;
    border: 1px solid var(--border)
}

.mini-card span {
    font-size: .75rem;
    color: var(--muted)
}

.mini-card h4 {
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 8px
}

.staff-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 19px;
    overflow: hidden;
    height: 100%;
    transition: .25s
}

.staff-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px)
}

.staff-card img {
    width: 100%;
    aspect-ratio: 4/4.6;
    object-fit: cover
}

.staff-card>div {
    padding: 18px;
    text-align: center
}

.staff-card h3 {
    font-size: 1rem;
    font-weight: 780;
    margin: 0 0 5px
}

.staff-card strong,
.staff-card span {
    display: block;
    font-size: .78rem
}

.staff-card strong {
    color: var(--brand)
}

.staff-card span {
    color: var(--muted)
}

.gallery-card {
    height: 340px;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 20px
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s
}

.gallery-card:hover img {
    transform: scale(1.06)
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: linear-gradient(0deg, rgba(var(--ink-rgb), .94), transparent 70%)
}

.gallery-card-overlay i {
    font-size: 2rem
}

.gallery-card-overlay h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 8px 0 3px
}

.gallery-card-overlay p {
    font-size: .82rem;
    color: rgba(255, 255, 255, .78);
    margin: 0
}

.gallery-type-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: -12px 0 36px
}

.gallery-type-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    color: var(--muted);
    background: var(--page-bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 800;
    transition: .2s
}

.gallery-type-tabs a:hover,
.gallery-type-tabs a.active {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 10px 24px rgba(var(--brand-rgb), .2)
}

.gallery-photo-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--page-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform .25s, box-shadow .25s, border-color .25s
}

.gallery-photo-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow)
}

.gallery-photo-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--surface)
}

.gallery-photo-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center
}

.gallery-photo-media>i {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand);
    border: 3px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(var(--ink-rgb), .22)
}

.gallery-photo-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 21px
}

.gallery-photo-content small {
    color: var(--muted);
    font-size: .75rem
}

.gallery-photo-content>strong {
    display: -webkit-box;
    overflow: hidden;
    margin: 9px 0 8px;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 820;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.gallery-photo-content>span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.gallery-photo-content>b {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--brand);
    font-size: .79rem;
    font-weight: 800
}

.gallery-photo-card:hover .gallery-photo-content>b {
    gap: 10px
}

@media(max-width:575px) {
    .gallery-type-tabs {
        margin-bottom: 26px
    }

    .gallery-type-tabs a {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
        font-size: .82rem
    }

    .gallery-photo-card {
        border-radius: 16px
    }

    .gallery-photo-content {
        padding: 17px 18px
    }
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.contact-info-card>div {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px
}

.contact-info-card i {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(var(--brand-rgb), .09);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 1.2rem
}

.contact-info-card span {
    font-weight: 650
}

.contact-info-card small {
    display: block;
    color: var(--muted);
    font-weight: 500
}

.contact-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border)
}

.form-control,
.form-select {
    border-radius: 11px;
    border-color: var(--border);
    padding: .75rem .9rem
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(var(--brand-rgb), .55);
    box-shadow: 0 0 0 .25rem rgba(var(--brand-rgb), .12)
}

.search-page-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px
}

.search-results .list-group-item {
    padding: 25px 0
}

.search-results small {
    color: var(--brand);
    font-weight: 750
}

.search-results h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 8px 0
}

.search-results p {
    color: var(--muted);
    margin: 0
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--soft);
    border-radius: 20px;
    color: var(--muted)
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 30px rgba(var(--brand-rgb), .28);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    z-index: 99
}

.back-to-top.show {
    opacity: 1;
    visibility: visible
}

@media(max-width:1199px) {
    .navbar-collapse {
        padding: 20px 0
    }

    .quick-access {
        grid-template-columns: repeat(3, 1fr)
    }

    .quick-access>a {
        border-bottom: 1px solid var(--border)
    }

    .partner-scroll {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:991px) {
    .hero-section .carousel-item {
        min-height: 610px
    }

    .hero-content {
        padding-top: 125px
    }

    .quick-access-wrap {
        margin-top: -30px
    }

    .section-space {
        padding: 75px 0
    }

    .principal-badge {
        right: 5px
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats-grid>div:nth-child(2) {
        border-right: 0
    }

    .stats-grid>div:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .16)
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 220px 220px
    }

    .gallery-tile:first-child {
        grid-column: span 2;
        grid-row: auto
    }

    .partner-scroll {
        display: flex;
        overflow: auto;
        padding-bottom: 10px
    }

    .partner-scroll a {
        min-width: 200px
    }
}

@media(max-width:767px) {
    .navbar-brand img {
        width: 48px;
        height: 48px
    }

    .navbar-brand strong {
        font-size: .88rem
    }

    .navbar-brand small {
        font-size: .65rem
    }

    .hero-section .carousel-item {
        min-height: 590px
    }

    .hero-content {
        padding-top: 110px;
        padding-bottom: 100px
    }

    .hero-content p {
        font-size: 1rem
    }

    .quick-access {
        grid-template-columns: 1fr 1fr;
        border-radius: 18px
    }

    .quick-access>a {
        padding: 17px 13px
    }

    .quick-access>a>span {
        width: 40px;
        height: 40px
    }

    .quick-access>a:last-child {
        grid-column: span 1
    }

    .section-space {
        padding: 62px 0
    }

    .section-title {
        font-size: 2rem
    }

    .principal-photo-wrap {
        padding: 10px
    }

    .principal-badge {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -28px 15px 0
    }

    .featured-card {
        height: 480px
    }

    .featured-content {
        padding: 25px
    }

    .featured-content h3 {
        font-size: 1.5rem
    }

    .news-list-item {
        grid-template-columns: 95px 1fr
    }

    .news-list-item img {
        width: 95px;
        height: 95px
    }

    .stats-grid strong {
        font-size: 2rem
    }

    .stats-grid>div {
        padding: 20px 8px
    }

    .agenda-item {
        grid-template-columns: 72px 1fr;
        padding: 15px;
        gap: 12px
    }

    .announcement-panel {
        padding: 27px 22px
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 240px)
    }

    .gallery-tile:first-child {
        grid-column: auto
    }

    .article-header {
        padding: 70px 0 40px
    }

    .article-body,
    .page-content {
        padding: 35px 0;
        font-size: 1.03rem
    }

    .article-meta {
        gap: 10px
    }

    .contact-form-card {
        padding: 24px
    }

    .search-page-form {
        grid-template-columns: 1fr
    }

    .page-hero {
        padding: 58px 0
    }
}

/* Dynamic nested navbar */
.navbar-brand img,
.footer img {
    object-fit: contain
}

.dropdown-submenu {
    position: relative
}

.dropdown-submenu>.dropdown-menu {
    top: -.55rem;
    left: 100%;
    margin-left: .15rem
}

.dropdown-submenu>.dropdown-toggle:after {
    float: right;
    margin-top: .45rem;
    transform: rotate(-90deg)
}

.navbar .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: .55rem;
    box-shadow: 0 18px 45px rgba(var(--brand-rgb), .14)
}

.navbar .dropdown-item {
    border-radius: 9px;
    padding: .65rem .8rem
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background: rgba(var(--brand-rgb), .08);
    color: var(--brand)
}

/* Infographics */
.infographic-feature {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.infographic-feature img {
    width: 100%;
    height: 100%;
    max-height: 620px;
    object-fit: cover
}

.infographic-feature-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.infographic-feature-content h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 850;
    letter-spacing: -.035em
}

.infographic-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: .25s
}

.infographic-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow)
}

.infographic-card>a {
    display: block;
    overflow: hidden;
    background: var(--soft)
}

.infographic-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: .35s
}

.infographic-card:hover img {
    transform: scale(1.035)
}

.infographic-card-body {
    padding: 20px
}

.infographic-card-body h3 {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4
}

.infographic-card-body p {
    font-size: .86rem;
    color: var(--muted)
}

.infographic-detail-image {
    display: block;
    max-width: 100%;
    max-height: none;
    margin: auto;
    border-radius: 24px;
    box-shadow: var(--shadow)
}

.infographic-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .83rem
}

@media(min-width:1200px) {
    .navbar .dropdown-submenu:hover>.dropdown-menu {
        display: block
    }
}

@media(max-width:1199px) {
    .dropdown-submenu>.dropdown-menu {
        position: static !important;
        margin: .35rem 0 .35rem 1rem;
        box-shadow: none;
        border-left: 2px solid var(--border)
    }

    .dropdown-submenu>.dropdown-toggle:after {
        transform: none
    }

    .navbar-nav .dropdown-menu {
        max-height: 65vh;
        overflow: auto
    }
}

@media(max-width:991px) {
    .infographic-feature {
        grid-template-columns: 1fr
    }

    .infographic-feature-content {
        padding: 30px
    }
}


/* v1.5 — Dynamic white/blue/yellow identity theme */
:root {
    --gold: var(--accent, #F4CD00);
    --soft: var(--surface, #F5F7FA);
    --shadow: 0 20px 60px rgba(var(--brand-rgb), .13)
}

body {
    background: var(--page-bg, #fff);
    color: var(--ink)
}

.site-header {
    border-bottom: 1px solid rgba(var(--brand-rgb), .08)
}

.brand-composition-strip {
    height: 5px;
    background: linear-gradient(90deg, var(--page-bg) 0 var(--ratio-white), var(--brand) var(--ratio-white) calc(var(--ratio-white) + var(--ratio-primary)), var(--accent) calc(var(--ratio-white) + var(--ratio-primary)) calc(var(--ratio-white) + var(--ratio-primary) + var(--ratio-accent)), var(--ink) calc(var(--ratio-white) + var(--ratio-primary) + var(--ratio-accent)) 100%);
    position: relative;
    z-index: 1021;
    box-shadow: 0 2px 8px rgba(var(--brand-rgb), .12)
}

.theme-pattern-enabled .topbar,
.theme-pattern-enabled .page-hero,
.theme-pattern-enabled .stats-section,
.theme-pattern-enabled .footer {
    position: relative;
    overflow: hidden
}

.theme-pattern-enabled .topbar:after,
.theme-pattern-enabled .page-hero:after,
.theme-pattern-enabled .stats-section:after,
.theme-pattern-enabled .footer:after {
    content: "";
    position: absolute;
    right: -55px;
    top: -120px;
    width: 260px;
    height: 360px;
    transform: rotate(34deg);
    background: linear-gradient(90deg, transparent 0 38%, rgba(255, 255, 255, .055) 38% 54%, transparent 54% 68%, rgba(var(--accent-rgb), .8) 68% 73%, transparent 73%);
    pointer-events: none
}

.theme-pattern-enabled .site-header:before {
    content: "";
    position: absolute;
    right: 7%;
    top: 0;
    width: 120px;
    height: 4px;
    background: var(--brand);
    box-shadow: 88px 0 0 var(--accent);
    transform: skewX(-28deg)
}

.hero-section {
    background: var(--brand-dark)
}

.hero-section .carousel-item:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 10px;
    background: linear-gradient(90deg, var(--accent) 0 28%, transparent 28%)
}

.hero-content {
    position: relative;
    z-index: 2
}

.eyebrow-light {
    color: var(--accent)
}

.btn-gold {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-contrast)
}

.btn-gold:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-contrast);
    filter: brightness(.94)
}

.bg-soft,
.article-header,
.empty-state,
.infographic-card>a {
    background: var(--surface)
}

.quick-access,
.news-list,
.achievement-card,
.post-card,
.mini-card,
.staff-card,
.contact-form-card,
.infographic-feature,
.infographic-card,
.principal-badge {
    background: var(--page-bg)
}

.quick-access>a:hover,
.btn-search,
.back-to-top {
    background: var(--brand)
}

.quick-access>a>span,
.agenda-date,
.contact-info-card i {
    background: rgba(var(--brand-rgb), .09)
}

.stats-section {
    background: linear-gradient(120deg, var(--brand-dark), var(--brand))
}

.announcement-panel {
    background: linear-gradient(145deg, var(--brand-dark), var(--brand))
}

.footer {
    background: var(--brand-dark)
}

.footer-bottom {
    background: rgba(var(--ink-rgb), .20)
}

.principal-accent {
    background: linear-gradient(135deg, var(--accent), rgba(var(--accent-rgb), .35))
}

.badge-soft-gold {
    background: var(--accent);
    color: var(--accent-contrast)
}

.page-hero {
    background: linear-gradient(125deg, var(--brand-dark), var(--brand))
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(var(--brand-rgb), .55);
    box-shadow: 0 0 0 .25rem rgba(var(--brand-rgb), .12)
}

.dropdown-menu,
.news-list,
.contact-form-card {
    box-shadow: 0 18px 50px rgba(var(--brand-rgb), .10)
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.dropdown-item:hover,
.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background: rgba(var(--brand-rgb), .08);
    color: var(--brand)
}

.gallery-overlay,
.gallery-card-overlay {
    background: linear-gradient(0deg, rgba(var(--ink-rgb), .94), transparent 70%)
}

.section-eyebrow:after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 3px;
    background: var(--accent);
    margin-left: 9px;
    vertical-align: middle;
    border-radius: 4px
}

@media(max-width:767px) {
    .theme-pattern-enabled .site-header:before {
        right: 13%;
        width: 65px;
        box-shadow: 50px 0 0 var(--accent)
    }

    .brand-composition-strip {
        height: 4px
    }
}

.topbar,
.topbar a {
    color: rgba(255, 255, 255, .86)
}

.footer h4,
.footer h6 {
    color: #fff
}

.footer-copy,
.footer-links a,
.contact-list {
    color: rgba(255, 255, 255, .68)
}

/* Proportional article reading layout */
.article-detail {
    background: var(--surface)
}

.article-header {
    padding: 72px 0 54px;
    background: linear-gradient(180deg, var(--surface), var(--page-bg));
    text-align: left;
    border-bottom: 1px solid var(--border)
}

.article-heading {
    max-width: none;
    margin: 0
}

.article-category {
    display: inline-flex;
    align-items: center;
    background: rgba(var(--brand-rgb), .1);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--brand);
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .1em
}

.article-header h1 {
    max-width: 900px;
    font-size: clamp(2rem, 4.3vw, 3.65rem);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -.04em;
    margin: 20px 0 18px;
    text-wrap: balance
}

.article-summary {
    max-width: 790px;
    color: var(--muted);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.7;
    margin: 0 0 24px
}

.article-meta {
    justify-content: flex-start;
    gap: 10px 22px;
    color: var(--muted);
    font-size: .84rem
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px
}

.article-meta i {
    color: var(--brand)
}

.article-reading-section {
    padding: 46px 0 70px;
    background: var(--surface)
}

.article-reading-wrap {
    max-width: 1120px
}

.article-cover-wrap {
    margin: 0 0 32px
}

.article-cover {
    display: block;
    width: 100%;
    aspect-ratio: 16/8.7;
    max-height: 590px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 22px 55px rgba(var(--ink-rgb), .12)
}

.article-content-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--page-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 10px 64px 0;
    box-shadow: 0 18px 55px rgba(var(--brand-rgb), .07)
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 0 42px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    line-height: 1.92;
    color: var(--ink)
}

.article-body> :first-child {
    margin-top: 0
}

.article-body> :last-child {
    margin-bottom: 0
}

.article-body p {
    margin: 0 0 1.4em;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto
}

.article-body h2,
.article-body h3,
.article-body h4 {
    font-family: Inter, system-ui, sans-serif;
    color: var(--ink);
    font-weight: 820;
    line-height: 1.3;
    margin: 2.15em 0 .75em
}

.article-body h2 {
    font-size: 1.65rem
}

.article-body h3 {
    font-size: 1.35rem
}

.article-body h4 {
    font-size: 1.15rem
}

.article-body ul,
.article-body ol {
    padding-left: 1.35em;
    margin-bottom: 1.5em
}

.article-body li {
    margin-bottom: .55em;
    text-align: justify;
    text-justify: inter-word
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 20px 24px;
    border-left: 4px solid var(--accent);
    border-radius: 0 14px 14px 0;
    background: var(--surface);
    font-size: 1.12em;
    font-style: italic
}

.article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 16px
}

.article-body iframe,
.article-body video {
    display: block;
    max-width: 100%;
    margin: 2rem auto;
    border-radius: 14px
}

.article-body table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-family: Inter, system-ui, sans-serif;
    font-size: .92rem
}

.article-body th,
.article-body td {
    padding: 12px;
    border: 1px solid var(--border)
}

.article-body th {
    background: var(--surface);
    font-weight: 800
}

.article-body a {
    color: var(--brand);
    /*text-decoration: underline;*/
    text-underline-offset: 3px
}

.article-content-card .share-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 0 30px;
    justify-content: space-between
}

.share-actions {
    display: flex;
    gap: 9px
}

.related-content .mini-card {
    display: flex;
    flex-direction: column;
    min-height: 160px
}

.related-content .mini-card .read-more {
    margin-top: auto
}

@media(max-width:991px) {
    .article-header {
        padding: 58px 0 44px
    }

    .article-content-card {
        padding-left: 42px;
        padding-right: 42px
    }

    .article-reading-section {
        padding-top: 34px
    }
}

@media(max-width:767px) {
    .article-header {
        padding: 44px 0 34px
    }

    .article-header h1 {
        font-size: 2rem;
        letter-spacing: -.025em
    }

    .article-summary {
        font-size: 1rem
    }

    .article-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px
    }

    .article-reading-section {
        padding: 20px 0 48px
    }

    .article-cover {
        border-radius: 16px;
        aspect-ratio: 16/10
    }

    .article-cover-wrap {
        margin-bottom: 18px
    }

    .article-content-card {
        border-radius: 18px;
        padding: 0 20px
    }

    .article-body {
        padding: 32px 0;
        font-size: 1.02rem;
        line-height: 1.82
    }

    .article-body h2 {
        font-size: 1.42rem
    }

    .article-body h3 {
        font-size: 1.22rem
    }

    .article-content-card .share-box {
        align-items: flex-start;
        flex-direction: column
    }

    .share-actions {
        width: 100%
    }
}

/* Dynamic service panel */
.quick-access.dynamic-services {
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr))
}

.quick-access.dynamic-services>a {
    min-width: 0
}

.quick-access.dynamic-services>a>div {
    min-width: 0
}

.quick-access.dynamic-services strong,
.quick-access.dynamic-services small {
    overflow-wrap: anywhere
}

/* Responsive media uploaded through Summernote */
.article-body img,
.page-content img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 1.75rem auto;
    object-fit: contain;
}

.article-body figure,
.page-content figure {
    width: auto !important;
    max-width: 100% !important;
    margin: 1.75rem auto;
}

.article-body figure img,
.page-content figure img {
    margin: 0 auto
}

.article-body iframe,
.article-body video,
.page-content iframe,
.page-content video {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    aspect-ratio: 16/9;
    margin: 1.75rem auto;
}

.article-body table,
.page-content table {
    display: table;
    max-width: 100%
}

/* News detail with infographic sidebar */
.article-reading-wrap {
    max-width: 1240px
}

.article-main-column .article-content-card {
    max-width: none;
    padding-left: 48px;
    padding-right: 48px
}

.article-main-column .article-body {
    max-width: 780px
}

.article-sidebar-sticky {
    position: sticky;
    top: 112px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-sidebar-card {
    overflow: hidden;
    background: var(--page-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(var(--brand-rgb), .08);
}

.article-sidebar-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 22px 16px
}

.article-sidebar-heading span {
    display: block;
    color: var(--brand);
    font-size: .68rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .12em
}

.article-sidebar-heading h2 {
    font-size: 1.35rem;
    font-weight: 850;
    margin: 2px 0 0
}

.article-sidebar-heading>a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(var(--brand-rgb), .09);
    color: var(--brand)
}

.sidebar-infographic-card {
    display: block
}

.sidebar-infographic-card>img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    background: var(--surface)
}

.sidebar-infographic-card>div {
    padding: 20px 22px 16px
}

.sidebar-infographic-card small {
    color: var(--muted);
    font-size: .75rem
}

.sidebar-infographic-card h3 {
    font-size: 1.05rem;
    line-height: 1.42;
    font-weight: 800;
    margin: 7px 0 12px
}

.sidebar-infographic-card span {
    color: var(--brand);
    font-size: .78rem;
    font-weight: 800
}

.infographic-carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 22px 20px
}

.infographic-carousel-controls button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--page-bg);
    color: var(--brand)
}

.infographic-carousel-controls span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700
}

.latest-news-list {
    padding: 0 20px
}

.latest-news-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid var(--border)
}

.latest-news-thumb {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface)
}

.latest-news-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform .3s ease
}

.latest-news-item:hover .latest-news-thumb img {
    transform: scale(1.06)
}

.latest-news-item>div {
    min-width: 0
}

.latest-news-item small {
    display: block;
    color: var(--muted);
    font-size: .7rem;
    line-height: 1.3;
    margin-bottom: 5px
}

.latest-news-item small i {
    color: var(--brand);
    margin-right: 3px
}

.latest-news-item h3 {
    font-size: .91rem;
    line-height: 1.42;
    font-weight: 790;
    margin: 0
}

.latest-news-item h3 a:hover {
    color: var(--brand)
}

.latest-news-more {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 2px 20px 20px;
    padding: 11px;
    border-radius: 12px;
    background: rgba(var(--brand-rgb), .08);
    color: var(--brand);
    font-size: .78rem;
    font-weight: 800
}

.latest-news-more:hover {
    background: var(--brand);
    color: #fff
}

.article-attachment {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    max-width: 780px;
    margin: 0 auto 28px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface)
}

.article-attachment-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(var(--brand-rgb), .1);
    color: var(--brand);
    font-size: 1.3rem
}

.article-attachment small,
.article-attachment strong {
    display: block
}

.article-attachment small {
    color: var(--muted);
    font-size: .72rem
}

.article-attachment strong {
    font-size: .9rem;
    overflow-wrap: anywhere
}

@media(max-width:991px) {
    .quick-access.dynamic-services {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .article-sidebar-sticky {
        position: static
    }

    .article-main-column .article-content-card {
        padding-left: 42px;
        padding-right: 42px
    }

    .sidebar-infographic-card>img {
        aspect-ratio: 16/9
    }
}

@media(max-width:767px) {
    .quick-access.dynamic-services {
        grid-template-columns: 1fr
    }

    .quick-access.dynamic-services>a:last-child {
        grid-column: auto
    }

    .quick-access.dynamic-services>a {
        padding: 16px 18px
    }

    .article-main-column .article-content-card {
        padding-left: 20px;
        padding-right: 20px
    }

    .article-body img,
    .page-content img {
        border-radius: 12px
    }

    .article-body table,
    .page-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap
    }

    .article-attachment {
        grid-template-columns: auto 1fr
    }

    .article-attachment .btn {
        grid-column: 1/-1;
        width: 100%
    }
}
/* Article detail blue header and responsive alignment */
.article-header {
    position: relative;
    overflow: hidden;
    padding: 64px 0 58px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 68%, var(--brand-2) 100%);
    color: #fff;
    border-bottom: 5px solid var(--accent)
}

.article-header::before,
.article-header::after {
    content: "";
    position: absolute;
    pointer-events: none
}

.article-header::before {
    width: 420px;
    height: 420px;
    right: -150px;
    top: -230px;
    border: 72px solid rgba(255, 255, 255, .07);
    border-radius: 50%
}

.article-header::after {
    width: 260px;
    height: 260px;
    right: 12%;
    bottom: -210px;
    transform: rotate(45deg);
    background: rgba(255, 255, 255, .045)
}

.article-header .article-reading-wrap,
.article-heading {
    position: relative;
    z-index: 1
}

.article-heading {
    width: 100%;
    max-width: none;
    margin: 0
}

.article-header .article-category {
    background: rgba(255, 255, 255, .14);
    color: var(--accent);
    border: 1px solid rgba(255, 255, 255, .2)
}

.article-header h1 {
    width: 100%;
    max-width: none;
    margin: 18px 0;
    color: #fff;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.050em;
    text-wrap: balance;
    overflow-wrap: anywhere
}

.article-header .article-summary {
    max-width: 980px;
    color: rgba(255, 255, 255, .82)
}

.article-header .article-meta {
    color: rgba(255, 255, 255, .8)
}

.article-header .article-meta i {
    color: var(--accent)
}

.article-reading-section .row {
    align-items: flex-start
}

.article-reading-section .article-main-column,
.article-reading-section aside {
    min-width: 0
}

.article-main-column {
    display: flex;
    flex-direction: column
}

.article-main-column .article-cover-wrap,
.article-main-column .article-content-card {
    width: 100%
}

.article-main-column .article-content-card {
    flex: 1
}

.article-body {
    overflow-wrap: anywhere
}

@media(max-width:991px) {
    .article-header {
        padding: 52px 0 48px
    }

    .article-reading-section aside {
        margin-top: 4px
    }

    .article-sidebar-sticky {
        position: static;
        gap: 20px
    }
}

@media(max-width:767px) {
    .article-header {
        padding: 36px 0 32px;
        border-bottom-width: 4px
    }

    .article-header::before {
        width: 250px;
        height: 250px;
        right: -120px;
        top: -145px;
        border-width: 44px
    }

    .article-header::after {
        display: none
    }

    .article-header h1 {
        margin: 15px 0;
        font-size: clamp(1.65rem, 7vw, 2.15rem);
        line-height: 1.24;
        letter-spacing: -.02em;
        text-wrap: pretty
    }

    .article-header .article-summary {
        margin-bottom: 18px;
        font-size: .97rem;
        line-height: 1.65
    }

    .article-header .article-meta {
        gap: 7px;
        font-size: .78rem
    }

    .article-reading-section {
        padding: 18px 0 44px
    }

    .article-cover-wrap {
        margin-bottom: 16px
    }

    .article-cover {
        aspect-ratio: 16/10;
        border-radius: 16px
    }

    .article-main-column .article-content-card {
        padding: 0 18px;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(var(--brand-rgb), .07)
    }

    .article-body {
        padding: 27px 0;
        font-size: 1rem;
        line-height: 1.8
    }

    .article-sidebar-card {
        border-radius: 18px
    }

    .article-sidebar-heading {
        padding: 18px 18px 14px
    }

    .sidebar-infographic-card>img {
        aspect-ratio: 4/5
    }

    .latest-news-list {
        padding: 0 16px
    }

    .latest-news-item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 11px;
        padding: 13px 0
    }

    .latest-news-item h3 {
        font-size: .86rem
    }

    .latest-news-more {
        margin: 2px 16px 16px
    }
}
/* Uniform responsive home gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 18px;
    align-items: stretch
}

.gallery-grid .gallery-tile,
.gallery-grid .gallery-tile:first-child {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16/10;
    border-radius: 18px
}

.gallery-grid .gallery-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

@media(max-width:767px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        grid-template-rows: none;
        gap: 14px
    }

    .gallery-grid .gallery-tile,
    .gallery-grid .gallery-tile:first-child {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 16/10;
        border-radius: 15px
    }
}

@media(max-width:575px) {
    .gallery-grid {
        grid-template-columns: 1fr
    }
}

/* Centered social sharing and gallery photo detail. */
.share-box-centered {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center
}

.share-box-centered .share-actions {
    justify-content: center
}

.gallery-detail-section {
    padding: 42px 0 72px;
    background: var(--surface)
}

.gallery-detail-card {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 24px 0;
    overflow: hidden;
    background: var(--page-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow)
}

.gallery-detail-image-link {
    display: flex;
    justify-content: center;
    overflow: hidden;
    background: var(--surface);
    border-radius: 18px
}

.gallery-detail-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain
}

.gallery-detail-description {
    max-width: 820px;
    margin: 0 auto;
    padding: 30px 20px 8px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
    text-align: center
}

.gallery-share-box {
    max-width: 820px;
    margin: 16px auto 0
}

.gallery-related-card {
    display: block;
    height: 100%;
    overflow: hidden;
    background: var(--page-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: .25s
}

.gallery-related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow)
}

.gallery-related-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    background: var(--surface)
}

.gallery-related-card span {
    display: block;
    padding: 15px 17px 17px;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.4
}

.gallery-video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
    border-radius: 18px
}

.gallery-video-player iframe,
.gallery-video-player>img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0
}

.gallery-video-player>img {
    object-fit: contain
}

.gallery-video-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, .28);
    font-size: clamp(3rem, 8vw, 5rem)
}

.gallery-video-related-card>strong {
    display: block;
    padding: 15px 17px 17px;
    color: var(--ink);
    font-size: .92rem;
    line-height: 1.4
}

.gallery-related-card .gallery-video-related-media {
    position: relative;
    display: block;
    padding: 0;
    line-height: normal
}

.gallery-video-related-media i {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, .2);
    font-size: 2.4rem
}

@media(max-width:767px) {
    .gallery-detail-section {
        padding: 20px 0 48px
    }

    .gallery-detail-card {
        padding: 12px 12px 0;
        border-radius: 18px
    }

    .gallery-detail-image-link {
        border-radius: 13px
    }

    .gallery-video-player {
        border-radius: 13px
    }

    .gallery-detail-image {
        max-height: 70vh
    }

    .gallery-detail-description {
        padding: 24px 10px 5px
    }
}

/* Post imagery: keep news and article media uncropped in a consistent 16:9 frame. */
.featured-card {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background: var(--ink)
}

.featured-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(var(--ink-rgb), .94), rgba(var(--brand-rgb), .08))
}

.featured-card-media {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    object-position: center;
    background: var(--surface)
}

.featured-content {
    z-index: 2
}

.news-list-item {
    grid-template-columns: minmax(120px, 32%) minmax(0, 1fr);
    align-items: start
}

.news-list-item img,
.achievement-card img,
.post-card-image img,
.article-cover,
.latest-news-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
    object-position: center;
    background: var(--surface)
}

.post-card-image,
.latest-news-thumb {
    aspect-ratio: 16/9;
    background: var(--surface)
}

.achievement-card img {
    height: auto
}

.post-card-image img,
.latest-news-thumb img {
    height: 100%
}

.post-card:hover .post-card-image img,
.latest-news-item:hover .latest-news-thumb img {
    transform: none
}

.article-cover {
    max-height: none
}

@media(max-width:767px) {
    .news-list-item {
        grid-template-columns: minmax(110px, 36%) minmax(0, 1fr)
    }

    .article-cover {
        aspect-ratio: 16/9
    }
}

@media(max-width:575px) {
    .featured-card {
        aspect-ratio: auto;
        min-height: 0;
        padding-top: 0
    }

    .featured-card-media {
        height: auto
    }

    .featured-content {
        position: relative;
        padding: 24px;
        background: var(--ink)
    }
}
