/* Project-level layout and accessibility fixes loaded after the theme styles. */
:root {
    --site-primary: #1428a0;
    --site-primary-dark: #071348;
    --site-accent: #25a8e0;
    --site-ink: #101828;
    --site-muted: #667085;
    --site-surface: #ffffff;
    --site-surface-soft: #f5f7fb;
    --site-border: #e4e8f0;
    --site-radius: 18px;
    --site-shadow: 0 18px 50px rgba(16, 24, 40, 0.09);
}
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--site-ink);
    background: var(--site-surface-soft);
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: #fff;
    background: var(--site-primary);
}

a,
button,
input,
select,
textarea {
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(37, 168, 224, 0.55);
}

img,
svg,
video {
    max-width: 100%;
}

img {
    height: auto;
}

.auto-container,
.container {
    width: 100%;
    max-width: 1300px;
    padding-right: 20px;
    padding-left: 20px;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: var(--site-surface);
}

.main-footer {
    width: 100%;
    margin-top: auto;
    padding-top: 0 !important;
}

.main-header {
    position: relative;
    z-index: 1000;
    background: #fff;
}

.header-style-two .header-top {
    border: 0 !important;
    color: #dbe5ff;
    background: var(--site-primary-dark) !important;
}

.header-style-two .header-top a,
.header-style-two .header-top .text-dark {
    color: #fff !important;
}

.header-style-two .header-top .list-inline-item > a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    opacity: 0.88;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.header-style-two .header-top .list-inline-item > a:hover {
    opacity: 1;
}

.header-style-two .header-lower {
    border-bottom: 1px solid rgba(20, 40, 160, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.07);
}

.header-style-two .logo-box {
    min-width: 78px !important;
    min-height: 78px !important;
    margin: 8px 20px 8px 0 !important;
    overflow: hidden;
    border: 1px solid rgba(20, 40, 160, 0.1);
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 40, 160, 0.1) !important;
}

.header-style-two .logo-box img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.main-header .main-box,
.main-header .nav-outer,
.main-header .main-menu,
.main-header .navbar-collapse {
    min-width: 0;
}

.main-header .nav-outer,
.main-header .main-menu,
.main-header .navbar-collapse {
    width: 100%;
}

.main-menu .navigation {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.main-menu .navigation > li {
    margin: 0 !important;
}

.main-menu .navigation > li > a {
    padding: 13px 8px !important;
    color: #26324d;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.main-menu .navigation > li.current > a,
.main-menu .navigation > li > a:hover {
    color: var(--site-primary);
}

.main-menu .navigation > li > a::before {
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--site-primary);
}

.ceremonyBtn {
    min-height: 44px;
    padding: 10px 13px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--site-primary), #3667df) !important;
    box-shadow: 0 8px 20px rgba(20, 40, 160, 0.22) !important;
    animation: none !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.ceremonyBtn:hover {
    transform: translateY(-2px) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px rgba(20, 40, 160, 0.28) !important;
}

.ceremonyBtn .btnText {
    gap: 6px;
    text-shadow: none;
    animation: none;
    font-size: 12px;
}

.ceremonyBtn .trophy {
    font-size: 15px;
    animation: none;
}

.ceremonyBtn .liquidWave,
.ceremonyBtn .liquidFill,
.ceremonyBtn .liquidBubble {
    display: none;
}

.main-menu .navigation > .nav-action-item > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-left: 3px;
    padding: 0 12px !important;
    border: 1px solid rgba(20, 40, 160, 0.15);
    border-radius: 12px;
    background: #f2f5ff;
    box-shadow: none;
    color: var(--site-primary);
}

.main-menu .navigation > .nav-action-item > a::before {
    display: none;
}

.main-menu .navigation > .nav-action-item .btn-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    color: inherit;
    font-size: 12px;
    white-space: nowrap;
}

.main-menu .navigation > .nav-action-item .live-now {
    color: #c1152d;
    background: #fff1f3;
    border-color: #ffd0d5;
}

.live-now .live-indicator {
    width: 9px;
    height: 9px;
    margin-right: 0;
}

.mobile-header {
    min-height: 76px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--site-border);
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.mobile-header .logo img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.mobile-nav-toggler {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    color: #fff !important;
    background: var(--site-primary);
}

.page-title {
    position: relative;
    isolation: isolate;
    min-height: 260px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
}

.page-title::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(115deg, rgba(7, 19, 72, 0.96), rgba(20, 40, 160, 0.76));
}

.page-title .title-outer {
    position: relative;
    z-index: 2;
}

.page-title h1 {
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.page-breadcrumb li,
.page-breadcrumb li a {
    color: rgba(255, 255, 255, 0.86) !important;
}

.sidebar-page-container {
    width: 100%;
    padding: 64px 0 !important;
    background: var(--site-surface-soft);
}

.blog-sidebar,
.sidebar-widget,
.table-responsive {
    border-radius: var(--site-radius);
}

.sidebar-widget {
    overflow: hidden;
    border: 1px solid var(--site-border);
    background: #fff;
    box-shadow: var(--site-shadow);
}

.sidebar-widget .sidebar-title {
    margin: 0;
    padding: 22px 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--site-primary-dark), var(--site-primary));
}

.sidebar-widget .widget-content {
    padding: 12px 22px 20px;
}

.blog-categories li a {
    border-bottom-color: var(--site-border) !important;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.blog-categories li a:hover,
.blog-categories li a.active {
    padding-left: 6px;
    color: var(--site-primary) !important;
}

.site-empty-state {
    display: flex;
    width: min(100%, 760px);
    min-height: 260px;
    margin: 0 auto;
    padding: 42px 24px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border: 1px dashed #bdc7dc;
    border-radius: var(--site-radius);
    color: var(--site-muted);
    background: linear-gradient(145deg, #fff, #f7f9fd);
    box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.site-empty-state > i {
    display: grid;
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 20px;
    color: var(--site-primary);
    background: #eaf0ff;
    font-size: 28px;
}

.site-empty-state h3 {
    margin: 0 0 8px;
    color: var(--site-ink);
    font-size: 24px;
}

.site-empty-state p {
    margin: 0;
    color: var(--site-muted);
}

.site-empty-state--compact {
    min-height: 170px;
    padding: 28px 20px;
}

.page-title h1,
.sec-title h2,
.banner-section h2 {
    overflow-wrap: anywhere;
}

.news-block .image img,
.blog-detail .image img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
}

.news-block .inner-box {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: #fff;
    box-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-block .inner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 52px rgba(16, 24, 40, 0.13);
}

.news-block .image img {
    height: clamp(230px, 25vw, 340px) !important;
    object-fit: cover !important;
    border: 0 !important;
}

.news-block .lower-content {
    padding: 26px !important;
}

.news-block .lower-content h4 a {
    color: var(--site-ink);
}

.news-block .lower-content .text {
    color: var(--site-muted);
}

.event-search-form {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--site-shadow);
}

.event-search-form .form-group {
    border-right: 1px solid var(--site-border);
}

.event-search-form .form-group:last-child {
    border-right: 0;
}

.event-search-form .input-outer {
    height: 100%;
    padding: 24px 20px;
}

.event-search-form .input-outer b {
    display: block;
    margin-bottom: 7px;
    color: var(--site-muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.event-search-form .input-outer p {
    margin: 0;
    color: var(--site-ink);
    font-size: 17px;
    font-weight: 700;
}

.hero-play-button {
    display: inline-grid;
    width: 68px;
    height: 68px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: var(--site-primary);
    background: #fff;
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-play-button:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.hero-play-button .icon {
    margin-left: 4px;
    font-size: 24px !important;
}

.banner-section .content-box .title {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 15px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.banner-section .content-box h2 {
    margin-bottom: 24px;
    letter-spacing: -0.035em;
}

.time-counter-two .counter-column {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(7px);
}

.schedule-section-two,
.news-section,
.map-section {
    background: var(--site-surface-soft);
}

.schedule-tabs .sec-title-outer {
    margin-bottom: 28px;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.cta-content .sub-title,
.cta-content h2,
.cta-content .text {
    color: #fff;
}

.cta-content .text {
    display: block;
    margin: 18px auto 28px;
    font-size: 17px;
    line-height: 1.8;
}

.speaker-block-two .image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.speaker-block-two .name {
    overflow-wrap: anywhere;
}

.sponsors-marquee {
    padding: 22px 0;
}

.sponsors-marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: grid;
    min-width: 200px;
    min-height: 120px;
    padding: 18px;
    place-items: center;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    background: #fff;
}

.marquee-item img {
    max-width: 170px;
    max-height: 82px !important;
    object-fit: contain;
}

.map-section-contact-info,
.map-section-map-wrapper {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: #fff;
    box-shadow: var(--site-shadow);
}

.map-section-contact-info {
    padding: 14px;
}

.map-section-info-item {
    margin: 0 !important;
    padding: 18px 12px !important;
    border-bottom: 1px solid var(--site-border);
}

.map-section-info-item:last-child {
    border-bottom: 0;
}

.map-section-map-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.donation-story-card,
.donation-payment-card {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--site-shadow);
}

.donation-story-card .video-embed {
    border-radius: 0;
}

.donation-story-content {
    padding: 30px;
}

.donation-story-content h2,
.donation-payment-card h2 {
    margin: 0 0 14px;
    color: var(--site-ink);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.25;
}

.donation-story-content p {
    margin: 0;
    color: var(--site-muted);
    font-size: 16px;
    line-height: 1.8;
}

.donation-payment-card {
    position: sticky;
    top: 20px;
    padding: 26px;
}

.payment-methods {
    display: grid;
    gap: 12px;
}

.payment-method {
    display: flex;
    min-height: 106px;
    padding: 12px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    background: #fbfcff;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.payment-method:hover {
    transform: translateY(-2px);
    border-color: #a9b8e8;
}

.payment-logo {
    width: min(58%, 155px);
    max-height: 58px;
    object-fit: contain;
}

.payment-qr {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    border-radius: 8px;
    object-fit: contain;
}

.main-footer .widgets-section {
    padding: 66px 0 42px;
}

.main-footer .logo img {
    width: 180px !important;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
}

.main-footer .social-icon-two {
    margin-top: 24px;
}

.main-footer .footer-bottom .inner-container {
    justify-content: center;
}

.main-footer .copyright-text p {
    text-align: center;
}

@media (max-width: 1400px) {
    .auto-container-header {
        max-width: calc(100% - 32px) !important;
    }

    .header-style-two .logo-box {
        min-width: 68px !important;
        min-height: 68px !important;
        margin-right: 12px !important;
    }

    .header-style-two .logo-box img {
        width: 68px;
        height: 68px;
    }

    .main-menu .navigation > li > a {
        padding-right: 6px !important;
        padding-left: 6px !important;
        font-size: 12px !important;
    }

    .ceremonyBtn,
    .main-menu .navigation > .nav-action-item > a {
        padding-right: 9px !important;
        padding-left: 9px !important;
    }
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
}

.pagination {
    flex-wrap: wrap;
    gap: 4px;
}

.video-embed {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.time-countdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.time-countdown .counter-column {
    min-width: 105px;
    margin: 0 !important;
}

.schedule-tabs .tab-buttons,
.inner-tab-buttons {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.schedule-tabs .tab-buttons > li,
.inner-tab-buttons > li {
    flex: 0 0 auto;
}

.file_click_download {
    flex: 0 0 auto;
}

.gallery-item-premium {
    display: block;
    color: inherit;
    background: transparent;
}

.modal-content-premium {
    width: auto;
    height: auto;
}

.sponsors-marquee,
.marquee-track {
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .auto-container,
    .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .page-title {
        min-height: 230px;
        padding: 90px 0 55px !important;
    }

    .page-title h1,
    .page-title .fs-1 {
        font-size: clamp(30px, 7vw, 46px) !important;
        line-height: 1.15;
    }

    .sidebar-page-container,
    .news-section,
    .clients-section-two {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    .sidebar.padding-left {
        padding-left: 0;
        margin-top: 35px;
    }

    .donation-payment-card {
        position: static;
    }

    .event-search-form .form-group {
        border-right: 0;
        border-bottom: 1px solid var(--site-border);
    }

    .event-search-form .form-group:last-child {
        border-bottom: 0;
    }

    .map-section-map-wrapper {
        margin-top: 20px;
    }

    .banner-section {
        height: auto !important;
        min-height: 620px;
    }

    .banner-section .content-box {
        min-height: 620px;
        padding: 100px 0 60px;
    }

    .type-info {
        align-items: flex-start !important;
        gap: 12px;
    }

    .sponsors-marquee .marquee-item {
        min-width: 180px;
    }
}

@media (max-width: 767.98px) {
    .auto-container,
    .container {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .page-title {
        min-height: 210px;
        padding: 70px 0 40px !important;
    }

    .page-breadcrumb {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .page-breadcrumb li {
        font-size: 15px !important;
    }

    .header-style-two .header-top {
        padding: 5px 0 !important;
    }

    .header-style-two .header-top .row > div:first-child,
    .header-style-two .header-top .row > div:last-child {
        display: none !important;
    }

    .header-style-two .header-top .row > div:nth-child(2) {
        margin-bottom: 0 !important;
    }

    .header-style-two .header-top .list-inline-item {
        margin-right: 7px !important;
    }

    .header-style-two .header-top .list-inline-item:last-child {
        margin-right: 0 !important;
    }

    .header-style-two .header-top .list-inline-item > a {
        font-size: 12px;
    }

    .sec-title h2 {
        font-size: clamp(28px, 8vw, 38px) !important;
        line-height: 1.2;
    }

    .banner-section,
    .banner-section .content-box {
        min-height: 560px;
    }

    .banner-section .content-box {
        padding-top: 90px;
    }

    .banner-section .title {
        font-size: 16px !important;
    }

    .banner-section h2 {
        font-size: clamp(34px, 10vw, 54px) !important;
        line-height: 1.1;
    }

    .hero-play-button {
        width: 58px;
        height: 58px;
    }

    .time-countdown {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .time-countdown .counter-column {
        min-width: 0;
        width: 100%;
    }

    .schedule-tabs .btns-box,
    .inner-tabs-box {
        max-width: 100%;
    }

    .schedule-tabs .tab-buttons,
    .inner-tab-buttons {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        padding-bottom: 8px;
    }

    .type-info {
        display: block !important;
    }

    .subject-time {
        margin-top: 8px;
    }

    .subject-card,
    .instructor-info {
        min-width: 0;
    }

    .instructor-info {
        align-items: flex-start;
    }

    .winner-card {
        min-width: 0;
        padding: 24px 18px !important;
    }

    .ribbon {
        max-width: calc(100% - 40px);
    }

    .employee-name,
    .award-title {
        overflow-wrap: anywhere;
    }

    .gallery-item-premium {
        height: min(75vw, 340px) !important;
    }

    .site-empty-state {
        min-height: 210px;
        padding: 34px 18px;
    }

    .donation-story-content,
    .donation-payment-card {
        padding: 22px 18px;
    }

    .payment-method {
        min-height: 94px;
        padding: 9px 11px;
    }

    .payment-qr {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .news-block .lower-content {
        padding: 22px 18px !important;
    }

    .main-footer .widgets-section {
        padding: 48px 0 24px;
        text-align: center;
    }

    .main-footer .logo img {
        margin: 0 auto;
    }

    .main-footer .social-icon-two {
        justify-content: center;
    }

    .main-footer .footer-column .widget-title::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .main-footer .lnks-widget {
        padding-left: 0;
    }

    .user-links li a {
        display: inline-block;
    }

    .map-section-map-wrapper img {
        min-height: 300px;
    }

    .modal-overlay-premium {
        padding: 70px 12px 20px !important;
    }

    .modal-close-premium {
        top: 10px !important;
        right: 12px !important;
    }

    .input-group {
        gap: 8px;
    }

    .input-group > .form-control {
        flex-basis: 100%;
        width: 100%;
        border-radius: 6px !important;
    }

    .input-group > .btn {
        flex: 1 1 auto;
        border-radius: 6px !important;
    }

    .table th,
    .table td {
        min-width: 110px;
    }

    .table th:first-child,
    .table td:first-child {
        min-width: 58px;
    }

    .modal-dialog {
        margin: 12px;
    }

    .modal-body {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }
}

@media (max-width: 479.98px) {
    .page-title h1,
    .page-title .fs-1 {
        font-size: 28px !important;
    }

    .banner-section,
    .banner-section .content-box {
        min-height: 520px;
    }

    .time-countdown .counter-column {
        font-size: 13px;
    }

    .time-countdown .count {
        font-size: 30px !important;
    }

    .winners-grid {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .winner-card {
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
