:root {
    --primary: #FF6F0F;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
    --muted: #6e786a;
    --surface: #ffffff;
    --line: rgba(0, 29, 35, 0.12);
}

body {
    font-family: "Inter", sans-serif;
    color: #202020;
    background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar .navbar-nav .nav-link,
.btn,
.section-kicker,
.brand-text {
    font-family: "Saira", sans-serif;
    letter-spacing: normal;
}

a {
    text-decoration: none;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #fff;
}

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.top-bar,
.top-bar small,
.top-bar a {
    color: rgba(255, 255, 255, 0.92);
}

.top-bar a:hover {
    color: var(--muted);
}

.navbar {
    backdrop-filter: blur(12px);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-right: 1.25rem;
    line-height: 1;
}

.brand-logo {
    display: block;
    width: 118px;
    height: 118px;
    object-fit: contain;
    flex: 0 0 auto;
    transition: width .35s ease, height .35s ease;
}

.navbar .navbar-nav .nav-link {
    margin-right: 28px;
    padding: 0px 0;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.fixed-top.bg-dark.shadow .navbar-brand {
    padding-top: 4px;
    padding-bottom: 4px;
}

.fixed-top.bg-dark.shadow .brand-logo {
    width: 76px;
    height: 76px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
        border-radius: 20px;
        padding: 16px 20px;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar-brand {
        margin-right: 0;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .brand-logo {
        width: 88px;
        height: 88px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.hero-shell {
    margin-bottom: 2rem;
}

.hero-image {
    min-height: 86vh;
    object-fit: cover;
}

.hero-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(0, 29, 35, .88) 0%, rgba(0, 29, 35, .72) 42%, rgba(0, 29, 35, .20) 100%);
    z-index: 1;
}

.hero-caption h1,
.hero-caption h2 {
    max-width: 760px;
    line-height: .95;
}

.hero-actions .btn-outline-light {
    border-width: 2px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 12%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.section-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 111, 15, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(248, 248, 249, 0.92), rgba(255, 255, 255, 0.96));
}

.page-header {
    padding-top: 13rem;
    padding-bottom: 7rem;
    background: linear-gradient(180deg, rgba(0, 29, 35, .8) 0%, rgba(0, 29, 35, .62) 42%, rgba(0, 29, 35, .82) 100%), url(../img/other-bg.webp) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #999999;
}

.about-page-header .section-kicker {
    color: #fff;
}

.about-page-header .section-kicker::before {
    background: rgba(255, 255, 255, 0.7);
}

.about-page-header {
    background: linear-gradient(180deg, rgba(0, 29, 35, .78) 0%, rgba(0, 29, 35, .48) 42%, rgba(0, 29, 35, .68) 100%), url(../img/about-bg.webp) center center no-repeat;
    background-size: cover;
}

.contact-page-header {
    background: linear-gradient(180deg, rgba(0, 29, 35, .8) 0%, rgba(0, 29, 35, .62) 42%, rgba(0, 29, 35, .82) 100%), url(../img/other-bg.webp) center center no-repeat;
    background-size: cover;
}

.contact-map-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1.5rem;
    height: 100%;
}

.contact-map-frame,
.contact-telegram-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
    overflow: hidden;
}

.contact-map-frame {
    min-height: 320px;
    height: 100%;
}

.contact-telegram-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
}

.contact-telegram-copy h3 {
    margin-bottom: .85rem;
}

.contact-telegram-copy p {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 500;
}

.contact-telegram-qr {
    display: flex;
    justify-content: center;
}

.contact-telegram-qr img {
    width: 100%;
    max-width: 280px;
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(0, 29, 35, 0.08);
}

.notice-strip {
    position: relative;
    z-index: 2;
    margin-top: -4rem;
    margin-bottom: 2rem;
}

.notice-bar {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 29, 35, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 29, 35, 0.12);
}

.notice-label {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 1.15rem 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--dark) 0%, #03333d 100%);
    font-family: "Saira", sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.notice-track-wrap {
    overflow: hidden;
    white-space: nowrap;
    padding-left: 10.25rem;
}

.notice-track {
    display: inline-flex;
    align-items: center;
    min-width: 100%;
    padding: 1rem 0;
    animation: marquee 28s linear infinite;
}

.notice-track-wrap:hover .notice-track {
    animation-play-state: paused;
}

.notice-track .notice-item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0 7.25rem 0 0;
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
}

.notice-track .notice-item:hover {
    color: var(--primary);
}

.notice-track .notice-item span {
    display: inline-block;
}

.notice-track .notice-item i {
    font-size: .9rem;
    color: var(--primary);
}

@keyframes glowing {
    0%,
    100% {
        color: var(--dark);
        text-shadow: 0 0 0 rgba(247, 181, 0, 0);
    }

    50% {
        color: var(--primary);
        text-shadow: 0 0 12px rgba(28, 31, 29, 0.75);
    }
}

.notice-track .notice-item.notice-item-new span,
.notice-track .notice-item.notice-item-new i {
    animation: 1s infinite glowing;
}

.notice-track .notice-item.notice-item-new::after {
    content: "NEW";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: .25rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    color: #fff!important;
    background: linear-gradient(135deg, var(--dark) 0%, #03333d 100%);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    animation: 1s infinite glowing;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.overview-media {
    position: relative;
    padding-right: 2.5rem;
}

.overview-main {
    width: 100%;
    min-height: 520px;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 24px 50px rgba(0, 29, 35, 0.16);
}

.overview-card {
    position: absolute;
    right: 0;
    bottom: 2rem;
    max-width: 340px;
    padding: 2rem;
    background: rgba(0, 29, 35, 0.94);
    border: 1px solid rgba(255, 111, 15, 0.24);
    border-radius: 28px;
    color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 60px rgba(0, 29, 35, 0.22);
}

.overview-card h2 {
    color: #fff;
}

.stat-card {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 25px rgba(0, 29, 35, 0.06);
}

.stat-card h3 {
    margin-bottom: .5rem;
    color: var(--primary);
    font-size: 2rem;
}

.about-story-grid {
    display: grid;
    gap: 1rem;
}

.story-card,
.mission-panel,
.objective-card,
.achievement-summary,
.committee-link-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.story-card,
.objective-card,
.achievement-summary {
    padding: 1.75rem;
}

.story-collapse-card {
    padding: 0;
    overflow: hidden;
}

.story-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border: 0;
    color: var(--dark);
    background: transparent;
    font-family: "Saira", sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
}

.story-toggle i {
    color: var(--primary);
    transition: transform .3s ease;
}

.story-toggle:not(.collapsed) i {
    transform: rotate(180deg);
}

.story-body {
    padding: 0 1.5rem 1.5rem;
}

.mission-panel {
    padding: 2rem;
    background: linear-gradient(180deg, rgba(255, 240, 230, 0.8), rgba(255, 255, 255, 0.95));
}

.mission-panel h3 {
    margin-bottom: 1rem;
}

.objective-card h4,
.story-card h4,
.achievement-summary h4 {
    margin-bottom: .8rem;
}

.org-timeline {
    position: relative;
    display: grid;
    gap: 1.5rem;
}

.org-timeline::before {
    content: "";
    position: absolute;
    left: 127px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 111, 15, 0.25);
}

.org-milestone {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 2rem;
    align-items: start;
}

.org-year {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 1rem;
    color: var(--primary);
    background: var(--secondary);
    border-radius: 999px;
    font-family: "Saira", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.org-content {
    position: relative;
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.org-content::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 26px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255, 111, 15, 0.12);
}

.achievement-summary h3 {
    margin-bottom: .8rem;
    color: var(--primary);
    font-size: 2rem;
}

.achievements-visual-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 29, 35, 0.78), rgba(0, 29, 35, 0.78)),
        url(../img/sli-bg.webp) center center no-repeat;
    background-size: cover;
}

.achievements-visual-section::before,
.achievements-visual-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 10px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    animation: targetPulse 8s ease-in-out infinite;
}

.achievements-visual-section::before {
    width: 20px;
    height: 20px;
    top: 4px;
    right: 0px;
    box-shadow:
        0 0 0 14px rgba(255, 255, 255, 0.07),
        0 0 0 28px rgba(255, 255, 255, 0.06),
        0 0 0 42px rgba(255, 255, 255, 0.055),
        0 0 0 56px rgba(255, 255, 255, 0.05),
        0 0 0 70px rgba(255, 255, 255, 0.045),
        0 0 0 84px rgba(255, 255, 255, 0.04),
        0 0 0 98px rgba(255, 255, 255, 0.035),
        0 0 0 112px rgba(255, 255, 255, 0.03);
}

.achievements-visual-section::after {
    width: 80px;
    height: 80px;
    bottom: 200px;
    left: -65px;
    box-shadow:
        0 0 0 12px rgba(255, 255, 255, 0.07),
        0 0 0 24px rgba(255, 255, 255, 0.06),
        0 0 0 36px rgba(255, 255, 255, 0.055),
        0 0 0 48px rgba(255, 255, 255, 0.05),
        0 0 0 60px rgba(255, 255, 255, 0.045),
        0 0 0 72px rgba(255, 255, 255, 0.04),
        0 0 0 84px rgba(255, 255, 255, 0.035);
    animation-delay: 1.5s;
}

.achievements-visual-section .section-kicker,
.achievements-visual-section h2,
.achievements-visual-section p {
    color: #fff;
}

.achievements-visual-section .achievement-summary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.achievements-visual-section .achievement-summary h4,
.achievements-visual-section .achievement-summary p {
    color: #fff;
}

@keyframes targetPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.committee-link-card {
    box-shadow: 0 18px 35px rgba(0, 29, 35, 0.1);
}

.faq-summary-card,
.faq-intro-card,
.faq-block,
.support-note {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.faq-summary-card,
.faq-intro-card,
.faq-block {
    padding: 2rem;
}

.faq-nav-list {
    display: grid;
    gap: .9rem;
}

.faq-nav-list a {
    display: block;
    padding: 1rem 1.15rem;
    color: var(--dark);
    border-radius: 18px;
    background: var(--light);
    font-weight: 600;
    transition: .3s;
}

.faq-nav-list a:hover {
    color: var(--dark);
    background: var(--secondary);
}

.support-note {
    height: 100%;
    padding: 1.25rem;
}

.support-note h5 {
    margin-bottom: .6rem;
}

.faq-block + .faq-block {
    margin-top: 2rem;
}

.faq-block-head {
    margin-bottom: 1.5rem;
}

.faq-accordion .accordion-item {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--light);
}

.faq-accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}

.faq-accordion .accordion-button {
    padding: 1.35rem 1.5rem;
    color: var(--dark);
    background: var(--light);
    box-shadow: none;
    font-family: "Saira", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--dark);
    background: var(--secondary);
}

.faq-accordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.faq-accordion .accordion-body {
    padding: 1.35rem 1.5rem 1.5rem;
    color: #787878;
    background: #fff;
}

.committee-intro-card,
.committee-cms-card,
.committee-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.committee-intro-card,
.committee-cms-card {
    padding: 2rem;
}

.committee-meta-grid {
    display: grid;
    gap: 1rem;
}

.committee-meta-item {
    padding: 1.25rem;
    border-radius: 20px;
    background: var(--light);
}

.committee-meta-item h5 {
    margin-bottom: .6rem;
}

.committee-card {
    overflow: hidden;
    cursor: pointer;
    transition: .35s;
}

.committee-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(0, 29, 35, 0.12);
}

.committee-card-static {
    cursor: default;
}

.committee-card-static:hover {
    transform: none;
}

.committee-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.committee-card-body {
    padding: 1.5rem;
}

.committee-term {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .9rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    color: var(--primary);
    background: var(--secondary);
    font-family: "Saira", sans-serif;
    font-size: .9rem;
    font-weight: 700;
}

.committee-designation {
    margin-bottom: .7rem;
    color: var(--primary);
    font-weight: 600;
}

.committee-role-preview {
    min-height: 72px;
    margin-bottom: 1.25rem;
}

.committee-card .btn[disabled] {
    pointer-events: none;
    opacity: .65;
}

.committee-modal .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
}

.committee-modal .modal-header {
    padding: 1.4rem 1.5rem;
    color: #fff;
    background: var(--dark);
    border-bottom: 0;
}

.committee-modal .modal-title {
    color: #fff;
}

.committee-modal .btn-close {
    filter: invert(1) grayscale(100%);
    opacity: 1;
}

.committee-modal .modal-body {
    padding: 2rem;
}

.committee-modal-photo {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.committee-modal-meta h3 {
    margin-bottom: .35rem;
}

.committee-modal-section + .committee-modal-section {
    margin-top: 1.5rem;
}

.committee-modal-section h5 {
    margin-bottom: .75rem;
}

.committee-list {
    margin: 0;
    padding-left: 1.15rem;
}

.committee-list li + li {
    margin-top: .5rem;
}

.sub-committee-group {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.sub-committee-group + .sub-committee-group {
    margin-top: 2rem;
}

.sub-committee-head {
    margin-bottom: 1.75rem;
}

.sub-committee-head h3 {
    margin-bottom: .6rem;
}

.safety-intro-card,
.safety-alert-card,
.safety-rule-card,
.safety-topic-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.safety-intro-card,
.safety-alert-card,
.safety-topic-card {
    padding: 2rem;
}

.safety-alert-card {
    background: linear-gradient(180deg, rgba(255, 240, 230, 0.95), rgba(255, 255, 255, 0.95));
}

.safety-mini-list {
    margin: 0;
    padding-left: 1.1rem;
}

.safety-mini-list li + li {
    margin-top: .45rem;
}

.safety-rule-list {
    display: grid;
    gap: 1rem;
}

.safety-rule-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 1rem;
    padding: 1.5rem;
}

.safety-rule-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    color: var(--primary);
    background: var(--secondary);
    font-family: "Saira", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.safety-pledge {
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
}

.wall-intro-card,
.achievement-group,
.achievement-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.wall-intro-card,
.achievement-group {
    padding: 2rem;
}

.wall-of-fame-header {
    background: linear-gradient(180deg, rgba(0, 29, 35, .8) 0%, rgba(0, 29, 35, .62) 42%, rgba(0, 29, 35, .82) 100%), url(../img/other-bg.webp) center center no-repeat;
    background-size: cover;
}

.achievement-group + .achievement-group {
    margin-top: 2rem;
}

.achievement-group-head {
    margin-bottom: 1.75rem;
}

.achievement-group-head h3 {
    margin-bottom: .6rem;
}

.achievement-card {
    overflow: hidden;
    cursor: pointer;
    transition: .35s;
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(0, 29, 35, 0.12);
}

.achievement-card-static {
    cursor: default;
}

.achievement-card-static:hover {
    transform: none;
}

.achievement-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.achievement-card-static img.achievement-image-top {
    object-fit: contain;
    object-position: center top;
    background: #f3f3f3;
}

.achievement-card-body {
    padding: 1.5rem;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .9rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    color: var(--primary);
    background: var(--secondary);
    font-family: "Saira", sans-serif;
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.achievement-meta {
    margin-bottom: .35rem;
    color: var(--dark);
    font-weight: 600;
}

.achievement-summary {
    min-height: 72px;
    margin-bottom: 1.25rem;
}

.achievement-card .btn[disabled] {
    pointer-events: none;
    opacity: .65;
}

.achievement-modal .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
}

.achievement-modal .modal-header {
    padding: 1.4rem 1.5rem;
    color: #fff;
    background: var(--dark);
    border-bottom: 0;
}

.achievement-modal .modal-title {
    color: #fff;
}

.achievement-modal .btn-close {
    filter: invert(1) grayscale(100%);
    opacity: 1;
}

.achievement-modal .modal-body {
    padding: 2rem;
}

.news-header {
    background: linear-gradient(180deg, rgba(0, 29, 35, .8) 0%, rgba(0, 29, 35, .62) 42%, rgba(0, 29, 35, .82) 100%), url(../img/other-bg.webp) center center no-repeat;
    background-size: cover;
}

.news-intro-card,
.news-group,
.news-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.news-intro-card,
.news-group {
    padding: 2rem;
}

.news-group + .news-group {
    margin-top: 2rem;
}

.news-group-head {
    margin-bottom: 1.75rem;
}

.news-group-head h3 {
    margin-bottom: .6rem;
}

.news-card {
    cursor: pointer;
    transition: .35s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(0, 29, 35, 0.12);
}

.news-card-body {
    padding: 1.5rem;
}

.news-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .9rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    color: var(--primary);
    background: var(--secondary);
    font-family: "Saira", sans-serif;
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-summary {
    min-height: 72px;
    margin-bottom: 1rem;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.news-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .35rem .7rem;
    border-radius: 999px;
    color: var(--dark);
    background: var(--light);
    font-size: .88rem;
    font-weight: 600;
}

.news-modal .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
}

.news-modal .modal-header {
    padding: 1.4rem 1.5rem;
    color: #fff;
    background: var(--dark);
    border-bottom: 0;
}

.news-modal .btn-close {
    filter: invert(1) grayscale(100%);
    opacity: 1;
}

.news-modal .modal-body {
    padding: 2rem;
}

.downloads-header {
    background: linear-gradient(180deg, rgba(0, 29, 35, .8) 0%, rgba(0, 29, 35, .62) 42%, rgba(0, 29, 35, .82) 100%), url(../img/other-bg.webp) center center no-repeat;
    background-size: cover;
}

.downloads-intro-card,
.downloads-controls,
.downloads-stat-card,
.downloads-group,
.download-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.downloads-intro-card,
.downloads-group {
    padding: 2rem;
}

.downloads-tab-shell {
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.downloads-tab-head h3 {
    margin-bottom: .6rem;
}

.downloads-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.downloads-tab-button {
    border: 1px solid rgba(0, 29, 35, 0.12);
    border-radius: 22px;
    padding: .8rem 1.25rem;
    color: var(--dark);
    background: var(--light);
    font-family: "Saira", sans-serif;
    font-size: .98rem;
    font-weight: 600;
    transition: .3s;
}

.downloads-tab-button:hover,
.downloads-tab-button.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.downloads-tab-content .tab-pane {
    display: none;
}

.downloads-tab-content .tab-pane.show.active {
    display: block;
}

.downloads-controls {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.downloads-control-field label,
.downloads-control-actions label {
    display: block;
    margin-bottom: .5rem;
    color: var(--dark);
    font-family: "Saira", sans-serif;
    font-weight: 600;
}

.downloads-control-field .form-control,
.downloads-control-field .form-select {
    min-height: 52px;
    border-radius: 16px;
    border-color: rgba(0, 29, 35, 0.12);
    box-shadow: none;
}

.downloads-control-actions {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.downloads-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.downloads-stat-card {
    height: 100%;
    padding: 1.5rem;
}

.downloads-group + .downloads-group {
    margin-top: 2rem;
}

.downloads-group-head {
    margin-bottom: 1.5rem;
}

.downloads-group-head h3 {
    margin-bottom: .6rem;
}

.downloads-list {
    display: grid;
    gap: 1rem;
}

.download-card {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: .35s;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(0, 29, 35, 0.12);
}

.download-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
    padding: .4rem .8rem;
    border-radius: 999px;
    color: var(--primary);
    background: var(--secondary);
    font-family: "Saira", sans-serif;
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.download-meta {
    display: grid;
    gap: .45rem;
    align-content: start;
    color: var(--dark);
    font-size: .95rem;
    font-weight: 600;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: end;
}

.forms-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-mini-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: .85rem;
    padding: 1.35rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 249, 0.92));
    box-shadow: 0 10px 24px rgba(0, 29, 35, 0.06);
}

.form-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 29, 35, 0.1);
}

.form-mini-card .download-main h4 {
    margin-bottom: 0;
    color: var(--dark);
    font-size: 1.15rem;
    line-height: 1.35;
}

.form-mini-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .15rem;
    color: var(--dark);
}

.form-mini-meta span {
    font-size: 1.05rem;
    font-weight: 500;
}

.form-mini-meta .btn-square {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    background: var(--secondary);
    border-color: transparent;
    color: var(--primary);
    box-shadow: none;
}

.form-mini-meta .btn-square:hover {
    background: var(--primary);
    color: #fff;
}

.downloads-modal .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
}

.downloads-modal .modal-header {
    padding: 1.4rem 1.5rem;
    color: #fff;
    background: var(--dark);
    border-bottom: 0;
}

.downloads-modal .btn-close {
    filter: invert(1) grayscale(100%);
    opacity: 1;
}

.downloads-modal .modal-body {
    padding: 2rem;
}

.download-meta-detail {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.download-meta-detail span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: var(--light);
    color: var(--dark);
    font-weight: 600;
}

.gallery-header {
    background: linear-gradient(180deg, rgba(0, 29, 35, .8) 0%, rgba(0, 29, 35, .62) 42%, rgba(0, 29, 35, .82) 100%), url(../img/other-bg.webp) center center no-repeat;
    background-size: cover;
}

.gallery-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.gallery-sidebar,
.gallery-main {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.gallery-sidebar,
.gallery-main {
    padding: 2rem;
}

.gallery-category-list {
    display: grid;
    gap: .85rem;
}

.gallery-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.1rem;
    border: 0;
    border-radius: 18px;
    color: var(--dark);
    background: var(--light);
    text-align: left;
    transition: .3s;
    appearance: none;
}

.gallery-category-item strong {
    color: var(--primary);
    font-family: "Saira", sans-serif;
}

.gallery-category-item:hover,
.gallery-category-item.active {
    color: var(--dark);
    background: var(--secondary);
}

.gallery-masonry {
    column-count: 3;
    column-gap: 1rem;
}

.gallery-tile {
    break-inside: avoid;
    margin: 0 0 1rem;
    cursor: pointer;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.1);
}

.gallery-tile img {
    width: 100%;
    display: block;
}

.gallery-tile figcaption {
    display: grid;
    gap: .35rem;
    padding: 1rem 1.1rem;
    color: var(--dark);
}

.gallery-tile figcaption strong {
    font-family: "Saira", sans-serif;
    font-size: 1.02rem;
}

.gallery-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(0, 15, 20, 0.92);
}

.gallery-lightbox-overlay.is-open {
    display: flex;
}

.gallery-lightbox-panel {
    position: relative;
    width: min(1100px, 100%);
    padding: 1.5rem;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    transition: .3s;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
}

.gallery-lightbox-nav {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 2rem;
}

.gallery-lightbox-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 20px;
    background: #f3f3f3;
}

.gallery-lightbox-caption {
    margin: 1rem 0 0;
    color: var(--dark);
    font-weight: 500;
}

.gallery-lightbox-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 1rem;
}

.gallery-empty {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    color: var(--muted);
    background: var(--light);
    font-weight: 500;
}

body.lightbox-open {
    overflow: hidden;
}

.competitions-header {
    background: linear-gradient(180deg, rgba(0, 29, 35, .8) 0%, rgba(0, 29, 35, .62) 42%, rgba(0, 29, 35, .82) 100%), url(../img/competition-bg.webp) center center no-repeat;
    background-size: cover;
}

.competition-intro-card,
.competition-filter-bar,
.competition-year-group,
.competition-card,
.competition-detail-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.competition-intro-card,
.competition-year-group {
    padding: 2rem;
}

.competition-filter-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.competition-filter-field label {
    display: block;
    margin-bottom: .5rem;
    color: var(--dark);
    font-family: "Saira", sans-serif;
    font-weight: 600;
}

.competition-filter-field .form-select {
    min-height: 52px;
    padding: .85rem 2.9rem .85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 29, 35, 0.12);
    color: var(--dark);
    background-color: rgba(255, 255, 255, 0.96);
    background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    box-shadow: 0 8px 18px rgba(0, 29, 35, 0.04);
    font-family: "Saira", sans-serif;
    font-size: .96rem;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.competition-filter-field .form-control {
    min-height: 52px;
    border-radius: 16px;
    border-color: rgba(0, 29, 35, 0.12);
    box-shadow: none;
}

.competition-filter-field .form-select:focus {
    border-color: rgba(255, 111, 15, 0.42);
    background-color: #fff;
    box-shadow: 0 0 0 .18rem rgba(255, 111, 15, 0.12);
    outline: 0;
}

.competition-filter-field .form-select:disabled,
.competition-filter-field .form-control:disabled {
    color: #87929c;
    background: rgba(237, 241, 244, 0.92);
    border-color: rgba(0, 29, 35, 0.08);
    cursor: not-allowed;
}

.competition-filter-field.is-hidden {
    display: none;
}

.schedule-filter-bar {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
}

.competition-year-head {
    margin-bottom: 1.5rem;
}

.competition-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.competition-year-head h3 {
    margin-bottom: .6rem;
}

.competition-list {
    display: grid;
    gap: 1rem;
}

.competition-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.competition-result-head h4 {
    margin: 0;
    color: var(--dark);
    font-size: 2.05rem;
    line-height: 1.15;
}

.competition-result-download {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    white-space: nowrap;
}

.competition-result-download i {
    font-size: 1rem;
}

.competition-results-frame {
    display: block;
    width: 100%;
    min-height: 980px;
    border: 0;
    background: #fff;
}

.results-loading-shell {
    display: grid;
    gap: 1rem;
}

.results-loading-card,
.results-loading-frame {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.results-loading-card {
    display: grid;
    gap: .85rem;
    padding: 1.5rem;
}

.results-loading-frame {
    padding: 1.5rem;
}

.results-loading-line {
    display: block;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(237, 241, 244, 0.9), rgba(255, 240, 230, 0.95), rgba(237, 241, 244, 0.9));
    background-size: 200% 100%;
    animation: resultsLoading 1.2s linear infinite;
}

.results-loading-line.is-wide {
    width: 72%;
    height: 18px;
}

.results-loading-line.is-short {
    width: 34%;
}

.results-loading-line.is-frame {
    width: 100%;
    min-height: 620px;
    border-radius: 22px;
}

@keyframes resultsLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.competition-card,
.competition-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1.5rem;
}

.competition-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
    padding: .4rem .8rem;
    border-radius: 999px;
    font-family: "Saira", sans-serif;
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.competition-status.confirmed {
    color: #0d6b35;
    background: #d8f2e3;
}

.competition-status.tentative {
    color: #8a5a00;
    background: #fff0d2;
}

.competition-meta {
    display: grid;
    gap: .45rem;
    align-content: start;
    color: var(--dark);
    font-size: .95rem;
    font-weight: 600;
}

.competition-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: flex-end;
    justify-content: center;
}

.competition-actions .btn {
    white-space: nowrap;
}

.competition-library-toolbar {
    position: sticky;
    top: 108px;
    z-index: 21;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.competition-search-trigger {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.2rem;
    border: 1px solid rgba(0, 29, 35, 0.1);
    border-radius: 999px;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
    font-family: "Saira", sans-serif;
    font-weight: 600;
    transition: .25s ease;
}

.competition-search-trigger:hover {
    color: var(--primary);
    background: #fff;
}

.competition-library-utility {
    position: sticky;
    top: 108px;
    z-index: 20;
    display: grid;
    grid-template-columns: 2fr repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
    backdrop-filter: blur(10px);
}

.competition-library-utility.collapse:not(.show) {
    display: none;
}

.competition-library-field label {
    display: block;
    margin-bottom: .5rem;
    color: var(--dark);
    font-family: "Saira", sans-serif;
    font-weight: 600;
}

.competition-library-field .form-control,
.competition-library-field .form-select {
    min-height: 52px;
    border-radius: 16px;
    border-color: rgba(0, 29, 35, 0.12);
    box-shadow: none;
}

.competition-library-list {
    display: grid;
    gap: 1rem;
}

.competition-library-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
    overflow: hidden;
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.competition-library-card.competition-library-card-new {
    border-color: rgba(255, 111, 15, 0.65);
    animation: competitionCardGlow 1.2s infinite;
}

.competition-library-card.is-expanded {
    border-color: rgba(255, 111, 15, 0.3);
    background: linear-gradient(180deg, rgba(0, 29, 35, 0.08), rgba(255, 240, 230, 0.9));
    box-shadow: 0 18px 38px rgba(0, 29, 35, 0.12);
}

@keyframes competitionCardGlow {
    0%,
    100% {
        border-color: rgba(255, 111, 15, 0.42);
        box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08), 0 0 0 0 rgba(255, 111, 15, 0.18);
    }

    50% {
        border-color: rgba(255, 111, 15, 0.9);
        box-shadow: 0 18px 38px rgba(0, 29, 35, 0.14), 0 0 18px rgba(255, 111, 15, 0.34);
    }
}

.competition-library-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.4rem 1.5rem;
    border: 0;
    background: transparent;
    text-align: left;
    transition: background .3s ease;
}

.competition-library-toggle:hover {
    background: rgba(255, 240, 230, 0.32);
}

.competition-library-summary h3 {
    margin-bottom: 0;
    color: var(--dark);
    font-size: 1.35rem;
}

.competition-library-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: .6rem;
}

.competition-library-title-line h3 {
    flex: 1 1 auto;
    min-width: 220px;
}

.competition-library-title-line .competition-circle-download {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.competition-summary-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem;
}

.competition-summary-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .9rem;
    border: 1px solid rgba(255, 111, 15, 0.22);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 111, 15, 0.12);
    font-family: "Saira", sans-serif;
    font-size: .88rem;
    font-weight: 600;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.competition-summary-link:hover {
    color: #fff;
    background: var(--primary);
    transform: translateY(-1px);
}

.competition-summary-link-primary {
    color: #fff;
    border-color: var(--dark);
    background: var(--dark);
}

.competition-summary-link-primary:hover {
    color: #fff;
    background: #03333d;
}

.competition-library-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1rem;
}

.competition-library-meta-line span {
    margin: 0;
    color: var(--dark);
    font-size: .92rem;
  
}

.competition-library-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    flex-shrink: 0;
}

.competition-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: .45rem .9rem;
    border-radius: 999px;
    font-family: "Saira", sans-serif;
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.competition-status-badge.upcoming {
    color: #0d6b35;
    background: #d8f2e3;
}

.competition-status-badge.ongoing {
    color: #0a4f73;
    background: #d9eef9;
}

.competition-status-badge.past {
    color: #7b5d00;
    background: #fff1cf;
}

.competition-circle-download,
.competition-detail-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    border-radius: 14px;
    flex: 0 0 42px;
    color: var(--primary);
    background: rgba(255, 111, 15, 0.12);
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.competition-circle-download:hover,
.competition-detail-action a:hover {
    color: #fff;
    background: var(--primary);
    transform: scale(1.05);
}

.competition-expand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--primary);
    border-radius: 50%;
    background: var(--light);
}

.competition-library-toggle .competition-expand-icon i {
    transition: transform .3s ease; 
}

.competition-library-toggle:not(.collapsed) .competition-expand-icon i {
    transform: rotate(180deg);
}

.competition-library-detail {
    padding: 0 1.5rem 1.5rem;
}

.competition-detail-section + .competition-detail-section {
    margin-top: 1.5rem;
}

.competition-detail-head {
    margin-bottom: .8rem;
    color: var(--dark);
    font-family: "Saira", sans-serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.competition-count-badge {
    margin-left: .45rem;
    color: #fff;
    background: var(--dark);
}

.competition-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.competition-detail-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.competition-detail-tile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: .55rem;
    align-items: start;
    align-content: start;
    padding: .85rem .9rem;
    border-radius: 18px;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 20px rgba(0, 29, 35, 0.05);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.competition-detail-tile:hover {
    color: var(--dark);
    background: rgba(255, 240, 230, 0.95);
    box-shadow: 0 14px 28px rgba(0, 29, 35, 0.08);
    transform: translateY(-2px);
}

.competition-detail-tile-static {
    cursor: default;
}

.competition-detail-tile-static:hover {
    transform: none;
}

.competition-detail-tile strong {
    display: block;
    font-size: .95rem;
    line-height: 1.35;
}

.competition-detail-tile span {
    display: block;
    margin-top: .1rem;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 500;
}

.competition-detail-tile i {
    color: var(--primary);
    font-size: 1rem;
    align-self: start;
    justify-self: end;
}

.competition-detail-muted {
    color: var(--muted);
    font-weight: 500;
}

.competition-detail-empty {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    color: var(--muted);
    background: rgba(248, 248, 249, 0.95);
    font-weight: 500;
}

.competition-detail-cta {
    display: flex;
    justify-content: flex-start;
}

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

    .downloads-controls,
    .download-card {
        grid-template-columns: 1fr;
    }

    .download-actions {
        justify-content: start;
    }

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

    .gallery-masonry {
        column-count: 1;
    }

    .competition-filter-bar,
    .competition-card,
    .competition-detail-card {
        grid-template-columns: 1fr;
    }

    .competition-result-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .competition-result-head h4 {
        font-size: 1.6rem;
    }

    .competition-library-utility,
    .competition-library-toggle,
    .competition-detail-grid,
    .competition-detail-grid.compact {
        grid-template-columns: 1fr;
    }

    .gallery-lightbox-overlay {
        padding: 1rem;
    }

    .gallery-lightbox-nav {
        position: fixed;
        bottom: 20px;
        z-index: 2;
    }

    .gallery-lightbox-prev {
        left: 20px;
    }

    .gallery-lightbox-next {
        right: 20px;
    }

    .competition-actions {
        align-items: flex-start;
        justify-content: start;
    }

    .competition-library-toolbar,
    .competition-library-utility {
        top: 92px;
    }

    .competition-library-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .competition-library-title-line {
        align-items: flex-start;
    }

    .competition-summary-links {
        width: 100%;
        justify-content: flex-start;
    }

    .competition-results-frame {
        min-height: 760px;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .gallery-masonry {
        column-count: 2;
    }
}

.service-card,
.widget-card,
.highlight-card,
.quick-link-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.service-card {
    padding: 2rem;
}

.service-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
    max-width: 68px;
    max-height: 68px;
    flex-shrink: 0;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--dark);
    background: linear-gradient(135deg, var(--secondary), #fff9f3);
    font-size: 1.75rem;
}

.service-card h4 {
    margin-bottom: .85rem;
}

.service-card a,
.widget-head a {
    color: var(--primary);
    font-family: "Saira", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.widget-card {
    padding: 2rem;
}

.sli-brand-panel,
.sli-content-panel,
.sli-stat-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 30px rgba(0, 29, 35, 0.08);
}

.sli-brand-panel,
.sli-content-panel {
    padding: 2rem;
}

#services.section-panel {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 29, 35, 0), rgba(0, 29, 35, 0)),
        url(../img/sli-bg.webp) center center no-repeat;
    background-size: cover;
}

.sli-stat-card {
    height: 100%;
    padding: 1.5rem;
}

.sli-stat-card h4 {
    margin-bottom: .75rem;
}

.sli-team-logos-note {
    color: var(--primary);
    font-size: .78rem;
    font-style: italic;
    font-weight: 400;
    text-align: right;
    opacity: 0.78;
}

.sli-team-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1.5rem;
}

.sli-team-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(0, 29, 35, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.sli-team-logo-card.is-lightbox-trigger {
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.sli-team-logo-card.is-lightbox-trigger:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 111, 15, 0.28);
    box-shadow: 0 12px 24px rgba(0, 29, 35, 0.08);
}

.sli-team-logo-card.is-static {
    cursor: default;
}

.sli-team-logo-card img {
    width: 100%;
    object-fit: contain;
    display: block;
}

.sli-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sli-check-list li {
    position: relative;
    padding-left: 1.5rem;
}

.sli-check-list li + li {
    margin-top: .45rem;
}

.sli-check-list li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.widget-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.timeline-list {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid transparent;
    border-radius: 22px;
    background: var(--light);
}

.timeline-item.timeline-item-new {
    border-color: rgba(255, 111, 15, 0.65);
    animation: competitionCardGlow 1.2s infinite;
}

.timeline-item strong {
    color: var(--primary);
    font-family: "Saira", sans-serif;
    font-size: 1rem;
}

.timeline-item h5 {
    margin-bottom: .35rem;
}

.timeline-link {
    color: var(--dark);
    transition: color .25s ease;
}

.timeline-link:hover {
    color: var(--primary);
}

.timeline-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.timeline-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--primary);
    background: rgba(255, 111, 15, 0.12);
    font-size: 1.15rem;
    transition: .3s;
}

.timeline-download:hover {
    color: #fff;
    background: var(--primary);
}

.result-list {
    display: grid;
    gap: .85rem;
}

.homepage-results-form {
    margin-top: .25rem;
}

.homepage-results-grid {
    display: grid;
    gap: .85rem;
}

.homepage-results-row {
    display: grid;
    gap: .85rem;
}

.homepage-results-row-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homepage-results-row-secondary {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.homepage-results-form .competition-filter-field label {
    margin-bottom: .4rem;
    font-size: .88rem;
}

.homepage-results-form .competition-filter-field .form-select {
    min-height: 48px;
    padding: .75rem 2.75rem .75rem .95rem;
    font-size: .9rem;
}

.homepage-results-output {
    margin-top: 1rem;
}

.homepage-results-file,
.homepage-results-note {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: var(--light);
}

.homepage-results-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.homepage-results-file strong {
    color: var(--dark);
    font-size: .94rem;
    line-height: 1.45;
    word-break: break-word;
}

.homepage-results-note {
    color: var(--muted);
    font-weight: 500;
}

.homepage-results-loading {
    display: grid;
    gap: .65rem;
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: var(--light);
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    color: var(--dark);
    border-radius: 18px;
    background: var(--light);
    transition: .3s;
}

.result-item:hover {
    background: var(--secondary);
    color: var(--dark);
}

.results-callout {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 22px;
    color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, var(--dark), #03333d);
}

.results-callout h5 {
    color: #fff;
}

.highlight-feature {
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 35px rgba(0, 29, 35, 0.12);
}

.highlight-feature img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.achievement-carousel {
    position: relative;
}

.achievement-carousel .carousel-item img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.achievement-carousel .carousel-item img.achievement-image-top {
    object-position: center top;
}

.achievement-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: .85rem 1rem;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 29, 35, 0.15), rgba(0, 29, 35, 0.78));
}

.achievement-caption h4 {
    margin: 0;
    color: #fff;
}

.achievement-carousel .carousel-control-prev,
.achievement-carousel .carousel-control-next {
    width: 54px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.achievement-carousel .carousel-control-prev {
    left: 12px;
}

.achievement-carousel .carousel-control-next {
    right: 12px;
}

.achievement-carousel .carousel-control-prev-icon,
.achievement-carousel .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 29, 35, 0.86);
    border: 10px solid rgba(0, 29, 35, 0.86);
}

.highlight-copy {
    padding: 2rem;
}

.highlight-card {
    padding: 2rem;
}

.highlight-card strong {
    color: var(--primary);
    font-family: "Saira", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
}

.quick-link-card {
    display: block;
    height: 100%;
    padding: 2rem;
    color: var(--dark);
    transition: .35s;
}

.quick-link-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 1.25rem;
    border-radius: 18px;
    color: var(--primary);
    background: var(--light);
    font-size: 1.6rem;
}

.quick-link-card:hover {
    transform: translateY(-6px);
    color: var(--dark);
    box-shadow: 0 24px 40px rgba(0, 29, 35, 0.12);
}

.footer {
    background:
        linear-gradient(180deg, rgba(0, 29, 35, 0.98), rgba(0, 29, 35, 1)),
        var(--dark);
}

.footer .brand-logo {
    width: 110px;
    height: 110px;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    white-space: normal;
}

.footer p,
.footer small {
    font-size: 14px;
}

.footer p a {
    color: rgba(255, 255, 255, 0.5);
}

.footer p a:hover {
    color: var(--light);
}

.footer p {
    position: relative;
    padding-left: 28px;
}

.footer p .fa,
.footer p .fas,
.footer p .far {
    position: absolute;
    left: 0;
    top: 4px;
    margin-right: 0 !important;
}

.footer .btn.btn-link::before {
    content: none;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .hero-image {
        min-height: 760px;
    }

    .hero-caption {
        text-align: left;
        background: linear-gradient(180deg, rgba(0, 29, 35, 0.85) 0%, rgba(0, 29, 35, 0.72) 100%);
    }

    .notice-strip {
        margin-top: -2rem;
    }

    .notice-bar {
        grid-template-columns: 1fr;
    }

    .contact-telegram-card {
        grid-template-columns: 1fr;
    }

    .contact-map-panel {
        grid-template-rows: auto auto;
        height: auto;
    }

    .overview-media {
        padding-right: 0;
    }

    .overview-card {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: 100%;
        margin-top: -2rem;
    }

    .page-header {
        padding-top: 11rem;
    }

    .org-timeline::before {
        left: 28px;
    }

    .org-milestone {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .org-content::before {
        left: 21px;
        top: -32px;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 680px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-caption h1,
    .hero-caption h2 {
        font-size: 3rem;
    }

    .widget-head,
    .timeline-item {
        grid-template-columns: 1fr;
        display: grid;
    }

    .sli-team-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-results-file {
        flex-direction: column;
        align-items: flex-start;
    }

    .homepage-results-row-primary,
    .homepage-results-row-secondary {
        grid-template-columns: 1fr;
    }

    .contact-map-frame {
        min-height: 280px;
    }
}

@media (min-width: 769px) and (max-width: 991.98px) {
    .sli-team-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .sli-team-logos {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
