:root {
    --at-primary: var(--primary-color, #0b2d5b);
    --at-secondary: var(--secondary-color, #f97316);
    --at-accent: #b91c1c;
    --at-body-font: "Manrope", sans-serif;
    --at-head-font: "Merriweather", serif;
}
body {
    font-family: var(--at-body-font);
    color: #0f172a;
    background: #f8fafc;
    line-height: 1.7;
}
.container {
    max-width: 1320px;
}
h1,h2,h3,h4,h5,h6,.brand-title { font-family: var(--at-head-font); }
a { color: var(--at-primary); }
a:hover { color: var(--secondary-color); }

.topbar {
    background: #eaf5f6;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.topbar a { color: #0f172a; }
.branding-bar {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.custom-logo-link img,
.custom-logo {
    max-height: 78px;
    width: auto;
}
.brand-title {
    color: #0b1324;
    font-size: clamp(1.15rem, 2.3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
}
.brand-subtitle {
    color: #475569;
    font-size: .93rem;
}

.main-nav {
    background: linear-gradient(90deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 82%, #ffffff));
}
.main-nav .navbar-toggler {
    border-color: rgba(255,255,255,.5);
    background: #fff;
}
.at-nav-bar .navbar-collapse,
.main-nav .navbar-collapse {
    justify-content: center;
}
.at-main-menu,
.navbar-nav {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.navbar-nav .menu-item > a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.95rem 1rem;
    display: inline-block;
}
.navbar-nav .menu-item > a:hover,
.navbar-nav .current-menu-item > a,
.navbar-nav .current-menu-parent > a {
    background: rgba(255,255,255,.15);
}

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

.at-home-slider {
    position: relative;
    width: 100%;
    background: #0b1324;
}

.at-home-slider .carousel,
.at-home-slider .carousel-inner,
.at-home-slider__item {
    min-height: 600px;
}

.at-home-slider__item {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.at-home-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.48));
    z-index: 1;
}

.at-home-slider__container {
    position: relative;
    z-index: 2;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.at-home-slider__content {
    max-width: 900px;
    color: #fff;
}

.at-home-slider__heading {
    color: #fff;
    font-size: clamp(2.35rem, 4.6vw, 4.75rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.at-home-slider__description {
    max-width: 760px;
    margin: 0 auto 1.8rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.45vw, 1.28rem);
    line-height: 1.7;
}

.at-home-slider__button {
    background: var(--at-secondary);
    border-color: var(--at-secondary);
    color: #fff;
    border-radius: 0.45rem;
    font-weight: 700;
    padding: 0.8rem 1.7rem;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.at-home-slider__button:hover,
.at-home-slider__button:focus {
    background: color-mix(in srgb, var(--secondary-color) 88%, #000000);
    border-color: color-mix(in srgb, var(--secondary-color) 88%, #000000);
    color: #fff;
    transform: translateY(-2px);
}

.at-home-slider .carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out;
}

.at-home-slider__control {
    width: 8%;
}

.at-home-slider__indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 0;
    opacity: 0.65;
}

.at-home-slider__indicators .active {
    background-color: var(--at-secondary);
    opacity: 1;
}

.hero-section {
    background: radial-gradient(circle at 15% 10%, rgba(245,158,11,.2), transparent 45%), #fff;
}
.hero-kicker {
    display: inline-block;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--at-accent);
    font-weight: 700;
}
.hero-placeholder {
    background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
    min-height: 300px;
}
.content-wrap img,
.entry-content img,
.elementor img {
    max-width: 100%;
    height: auto;
}

.card {
    transition: transform .25s ease, box-shadow .25s ease;
    border-radius: .8rem;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.1) !important;
}
.site-footer {
    background: var(--primary-color);
}
.widget ul {
    margin: 0;
    padding-left: 1rem;
}

.at-staff-table-wrap {
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.4rem;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
    overflow-x: auto;
}

.at-staff-table thead th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    vertical-align: middle;
    white-space: nowrap;
}

.at-staff-table td,
.at-staff-table th {
    border-color: #cbd5e1;
    font-size: 0.95rem;
    vertical-align: top;
}

.at-staff-table {
    min-width: 960px;
}

.at-staff-table th:nth-child(7),
.at-staff-table td:nth-child(7) {
    min-width: 140px;
    text-align: center;
}

.at-staff-photo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 0.35rem;
    border: 2px solid #e2e8f0;
}

.at-staff-profile-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.at-staff-profile-link:hover {
    color: var(--at-secondary);
    text-decoration: underline;
}

.at-staff-photo-link {
    display: inline-block;
}

.at-profile-btn {
    min-width: 115px;
    white-space: nowrap;
}

.at-staff-avatar-placeholder {
    min-height: 220px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
}

.at-section-sidebar {
    border-radius: 0.8rem;
    overflow: hidden;
}

.at-section-sidebar-title {
    background: linear-gradient(90deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 82%, #ffffff));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 1rem;
}

.at-section-sidebar-link {
    display: block;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.at-section-sidebar li:last-child .at-section-sidebar-link {
    border-bottom: 0;
}

.at-section-sidebar-item.is-active > .at-section-sidebar-link,
.at-section-sidebar-link:hover {
    background: #eff6ff;
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.at-section-sidebar-submenu {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.at-section-sidebar-submenu .at-section-sidebar-link {
    padding-left: 1.75rem;
    font-size: 0.94rem;
    font-weight: 500;
}

.at-section-sidebar-submenu .at-section-sidebar-submenu .at-section-sidebar-link {
    padding-left: 2.4rem;
    font-size: 0.9rem;
}

.at-section-sidebar-item.has-children > .at-section-sidebar-link::after {
    content: "\25BE";
    float: right;
    font-size: 0.72rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

.at-single-news-page {
    background: #f8fafc;
}

.at-news-breadcrumb-section {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.at-news-breadcrumb {
    align-items: center;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.94rem;
    font-weight: 700;
    gap: 0.55rem;
    padding: 1rem 0;
}

.at-news-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.at-news-breadcrumb a:hover,
.at-news-breadcrumb a:focus {
    color: var(--secondary-color);
}

.at-news-detail {
    background: #fff;
    border: 1px solid rgba(11, 45, 91, 0.09);
    border-radius: 0.75rem;
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.08);
    overflow: hidden;
}

.at-news-detail__banner {
    background: #e2e8f0;
    margin: 0;
    overflow: hidden;
}

.at-news-detail__image {
    aspect-ratio: 16 / 8;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.at-news-detail__content {
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

.at-news-detail__highlight {
    background: #fff7ed;
    border-radius: 999px;
    color: #c2410c;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0.3rem 0.75rem;
}

.at-news-detail__title {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.17;
    margin-bottom: 0.9rem;
}

.at-news-detail__date {
    align-items: center;
    color: #64748b;
    display: inline-flex;
    font-weight: 700;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.at-news-detail__date i {
    color: var(--secondary-color);
}

.at-news-detail__description {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.85;
}

.at-news-detail__description p:last-child {
    margin-bottom: 0;
}

.at-news-sidebar {
    display: grid;
    gap: 1.5rem;
    position: sticky;
    top: 1.5rem;
}

.at-news-sidebar__widget {
    background: #fff;
    border: 1px solid rgba(11, 45, 91, 0.09);
    border-radius: 0.75rem;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.07);
    padding: 1.25rem;
}

.at-news-sidebar__title {
    border-bottom: 1px solid #e2e8f0;
    color: var(--primary-color);
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.at-news-list {
    display: grid;
    gap: 0.8rem;
}

.at-news-list__item {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #0f172a;
    display: block;
    padding: 0.85rem;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.at-news-list__item:hover,
.at-news-list__item:focus {
    border-color: color-mix(in srgb, var(--secondary-color) 50%, transparent);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.08);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.at-news-list__title {
    display: block;
    font-weight: 800;
    line-height: 1.45;
}

.at-news-list__date {
    color: #64748b;
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0.35rem;
}

.at-recent-news-list li {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.7rem 0;
}

.at-recent-news-list li:first-child {
    padding-top: 0;
}

.at-recent-news-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.at-recent-news-list a {
    color: #1e293b;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.at-recent-news-list a:hover,
.at-recent-news-list a:focus {
    color: var(--secondary-color);
}

.at-news-sidebar__empty {
    color: #64748b;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .brand-text-wrap {
        min-width: 0;
    }
    .brand-subtitle {
        display: none !important;
    }
    .navbar-nav .menu-item > a {
        width: 100%;
        padding: .7rem 0;
    }

    .at-section-sidebar {
        margin-bottom: 1rem;
    }

    .at-news-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .at-news-detail__image {
        aspect-ratio: 4 / 3;
    }

    .at-news-detail__description {
        font-size: 1rem;
    }
}
