html {
    font-family: Inter, sans-serif;
}

body {
    color: #32283c;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-shell {
    width: min(1240px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 40;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-topbar {
    background: #51197E;
    color: #fff;
    font-size: 0.9rem;
}

.site-topbar-inner,
.site-topbar-tools,
.site-topbar-links {
    display: flex;
    align-items: center;
}

.site-topbar-inner {
    justify-content: space-between;
    gap: 1rem;
    min-height: 42px;
}

.site-topbar-links {
    gap: 1.25rem;
}

.site-topbar a {
    color: #fff;
    text-decoration: none;
}

.site-topbar a:hover {
    text-decoration: underline;
}

.site-topbar-sep {
    opacity: 0.7;
}

.site-topbar-tools {
    gap: 1.25rem;
}

.site-search {
    display: flex;
    align-items: center;
    background: #f4e8fb;
    border-radius: 999px;
    overflow: hidden;
}

.site-search input {
    width: 148px;
    border: 0;
    background: transparent;
    color: #51197E;
    padding: 0.35rem 0.35rem 0.35rem 0.9rem;
    font-size: 0.85rem;
    outline: none;
}

.site-search input::placeholder {
    color: #7b4d9b;
}

.site-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 2px;
    border: 0;
    border-radius: 999px;
    background: #51197E;
    color: #fff;
    cursor: pointer;
}

.site-search button svg {
    width: 15px;
    height: 15px;
}

.site-search button:hover {
    background: #3d1260;
}

.site-mainbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 96px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.site-brand {
    display: flex;
    align-items: center;
    color: #51197E;
    text-decoration: none;
    min-width: 0;
    flex-shrink: 0;
}

.site-brand-mark {
    display: block;
    width: auto;
    height: 72px;
    max-width: min(560px, 82vw);
    object-fit: contain;
    object-position: left center;
}

.site-nav {
    display: none;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    color: #51197E;
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.35rem 0;
}

.site-nav-link:hover,
.site-nav-link.is-active {
    font-weight: 700;
}

.site-caret {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.2s ease;
}

.site-nav-item {
    position: relative;
}

.site-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-top: 3px solid #51197E;
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
    padding: 0.5rem 0;
    z-index: 50;
}

.site-dropdown a {
    display: block;
    padding: 0.55rem 1rem;
    color: #222;
    font-size: 0.9rem;
    text-decoration: none;
}

.site-dropdown a:hover {
    background: rgba(81, 25, 126, 0.08);
    color: #51197E;
}

.site-nav-item:hover .site-dropdown,
.site-nav-item:focus-within .site-dropdown {
    display: block;
}

.site-nav-item:hover .site-caret,
.site-nav-item:focus-within .site-caret {
    transform: rotate(180deg);
}

.site-menu-toggle {
    display: inline-flex;
    color: #51197E;
}

.site-mobile {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: min(86%, 360px);
    background: #fff;
    color: #111;
    padding: 5rem 1.5rem 1.5rem;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.15);
    transition: left 0.2s ease;
    overflow: auto;
}

.site-mobile.left-0 {
    left: 0;
}

.site-mobile-search {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
}

.site-mobile-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ece7f1;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    color: #51197E;
    outline: none;
}

.site-mobile-search .btn-primary {
    padding: 0.55rem 0.95rem;
    font-size: 0.85rem;
}

.site-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 1.05rem;
}

.site-mobile-nav a,
.site-mobile-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 0.7rem 0;
    color: #111;
    font-weight: 600;
}

.site-mobile-sub {
    padding: 0 0 0.5rem 0.9rem;
}

.site-mobile-sub a {
    font-weight: 500;
    color: #444;
    padding: 0.4rem 0;
}

.site-mobile-toggle.is-open .site-caret {
    transform: rotate(180deg);
}

.site-mobile-copy {
    margin-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.hero {
    position: relative;
    min-height: 620px;
    color: #fff;
    overflow: hidden;
}

.hero-slider-viewport,
.hero [data-hero-slider] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(17, 8, 28, 0.10) 0%, rgba(17, 8, 28, 0.28) 46%, rgba(17, 8, 28, 0.58) 100%);
}

.hero-slider {
    display: flex;
    height: 100%;
    width: 100%;
    will-change: transform;
    transition: transform 0.7s ease;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 620px;
    padding: 3rem 1rem 9.5rem;
}

.hero-copy h1 {
    max-width: 16ch;
    font-size: clamp(1.85rem, 4.5vw, 3.55rem);
    font-weight: 800;
    letter-spacing: 0.045em;
    line-height: 1.12;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 22px rgba(17, 8, 28, 0.55);
}

.hero-copy p {
    max-width: 40rem;
    margin-top: 1.1rem;
    font-size: clamp(1.02rem, 1.8vw, 1.22rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 14px rgba(17, 8, 28, 0.5);
}

.hero-cta {
    display: inline-block;
    margin-top: 1.8rem;
    background: #51197E;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.9rem 1.6rem;
    border: 1px solid transparent;
}

.hero-cta:hover {
    background: #fff;
    color: #51197E;
}

.hero-dots {
    display: flex;
    gap: 0.45rem;
    margin-top: 1.6rem;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-dots button.is-active {
    width: 22px;
    background: #fff;
}

.hero-stats {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: rgba(12, 6, 20, 0.58);
    backdrop-filter: blur(8px);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 1.15rem 0.75rem;
}

.hero-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.45rem;
    border-radius: 999px;
    background: #51197E;
}

.hero-stat-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.hero-stat strong {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    min-width: 4ch;
}

.hero-stat span {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.home-section {
    padding: 4.5rem 0;
}

.home-section-muted {
    background: #f7f5f9;
}

.home-heading {
    max-width: 40rem;
    margin: 0 auto 2.6rem;
    text-align: center;
}

.home-heading-text,
.home-lead,
.home-body {
    color: #4a4450;
    line-height: 1.75;
}

.home-heading-text {
    margin-top: 0.7rem;
}

.section-kicker {
    color: #51197E;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-kicker-light {
    color: rgba(255, 255, 255, 0.72);
}

.section-title {
    margin-top: 0.45rem;
    color: #1b1224;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.home-intro {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.home-intro-copy .section-title {
    max-width: 18ch;
}

.home-lead {
    margin-top: 1.1rem;
    font-size: 1.08rem;
    color: #32283c;
}

.home-body {
    margin-top: 0.9rem;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.2rem;
    margin-top: 1.5rem;
}

.home-photo {
    position: relative;
}

.home-photo img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.home-photo figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    min-width: 160px;
    background: #fff;
    padding: 0.85rem 1rem;
    box-shadow: 0 10px 30px rgba(27, 18, 36, 0.12);
}

.home-photo figcaption strong {
    color: #51197E;
    font-size: 1.35rem;
}

.home-photo figcaption span {
    color: #5b5363;
    font-size: 0.85rem;
}

.resource-grid,
.home-split {
    display: grid;
    gap: 1.5rem;
}

.resource-card,
.home-panel {
    background: #fff;
}

.resource-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.6rem 1.7rem;
    border: 1px solid #ece7f1;
    box-shadow: 0 8px 24px rgba(81, 25, 126, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(81, 25, 126, 0.1);
}

.resource-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1b1224;
}

.resource-card p {
    margin-bottom: 1.3rem;
    color: #5b5363;
    line-height: 1.7;
}

.resource-card .btn-outline {
    margin-top: auto;
}

.uni-card-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1.05rem;
    object-fit: contain;
    object-position: left center;
}

.uni-grid + .home-actions {
    margin-top: 1.8rem;
}

.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.15rem;
    border-radius: 999px;
    background: #51197E;
    color: #fff;
}

.resource-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.logo-marquee {
    overflow: hidden;
    margin-top: 0.5rem;
    padding: 1.4rem 0 1.8rem;
    background: #faf8fc;
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: logo-marquee 36s linear infinite;
}

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

.logo-marquee-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92px;
}

.logo-marquee-item img {
    display: block;
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.logo-marquee-item.is-wide img {
    height: 92px;
    max-width: 360px;
    filter: contrast(1.08);
}

@keyframes logo-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .logo-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        gap: 2rem 2.5rem;
        padding: 0 1.5rem;
    }

    .logo-marquee-item.is-clone {
        display: none;
    }

    .home-cta-orb {
        animation: none;
    }

    .home-cta .btn-light:hover,
    .home-cta .btn-ghost:hover {
        transform: none;
    }
}

.home-panel {
    padding: 0 0 1.6rem;
    border: 1px solid #ece7f1;
    overflow: hidden;
}

.home-panel-photo img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.home-panel .section-kicker,
.home-panel .section-title,
.home-panel .home-body,
.home-panel .work-list,
.home-panel .btn-outline {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.home-panel .section-kicker {
    margin-top: 1.4rem;
}

.home-panel .home-body {
    margin-bottom: 1.2rem;
}

.work-list {
    margin: 1rem 1.5rem 0;
    padding: 0;
    list-style: none;
}

.work-list li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.4rem;
    color: #4a4450;
    line-height: 1.6;
}

.work-list li::before {
    content: "";
    position: absolute;
    top: 0.85rem;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #51197E;
}

.home-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 4rem 0 3.6rem;
    background:
        linear-gradient(118deg, #2a0844 0%, #51197E 48%, #6d28a8 100%);
    isolation: isolate;
}

.home-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
}

.home-cta::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, rgba(255, 255, 255, 0.55) 42%, transparent 100%);
}

.home-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    animation: cta-orb 12s ease-in-out infinite;
}

.home-cta-orb-a {
    width: 340px;
    height: 340px;
    top: -160px;
    left: -80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 68%);
}

.home-cta-orb-b {
    width: 420px;
    height: 420px;
    right: -90px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, transparent 70%);
    animation-delay: -5s;
}

.home-cta-globe {
    position: absolute;
    right: -4%;
    top: 50%;
    width: min(420px, 46vw);
    height: auto;
    color: rgba(255, 255, 255, 0.07);
    transform: translateY(-50%);
}

.home-cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
}

.home-cta-copy {
    max-width: 38rem;
}

.home-cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    color: #f3e6c4;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.home-cta-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #d4af37;
}

.home-cta h2 {
    margin: 0.85rem 0 0;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.home-cta-lead {
    margin: 0.9rem 0 0;
    max-width: 46ch;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.home-cta-lead a {
    color: #f7e7b0;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.home-cta-lead a:hover {
    color: #fff;
}

.home-cta-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-cta .btn-light,
.home-cta .btn-ghost {
    min-width: 13.5rem;
    padding: 0.92rem 1.4rem;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-cta .btn-light {
    box-shadow: 0 10px 24px rgba(16, 4, 28, 0.22);
}

.home-cta .btn-light:hover {
    background: #fff;
    color: #3d1160;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(16, 4, 28, 0.28);
}

.home-cta .btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}

.home-cta .btn-ghost:hover {
    background: #fff;
    color: #51197E;
    border-color: #fff;
    transform: translateY(-2px);
}

.home-cta-meta {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 599px) {
    .home-cta-actions {
        width: 100%;
    }

    .home-cta .btn-light,
    .home-cta .btn-ghost {
        width: 100%;
        min-width: 0;
    }
}

@keyframes cta-orb {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
    50% { transform: translate3d(18px, 12px, 0) scale(1.08); opacity: 1; }
}

.btn-primary,
.btn-outline,
.btn-light,
.btn-ghost,
.btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.25rem;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.btn-primary {
    background: #51197E;
    color: #fff;
}

.btn-primary:hover {
    background: #3d1160;
    color: #fff;
}

.btn-outline {
    border: 1px solid #51197E;
    color: #51197E;
    background: transparent;
}

.btn-outline:hover {
    background: #51197E;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #51197E;
}

.btn-light:hover {
    background: #f4e8fb;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-text {
    padding: 0;
    color: #51197E;
    font-weight: 700;
    background: none;
}

.btn-text:hover {
    text-decoration: underline;
}

.site-footer {
    background: #000;
    color: #fff;
}

.site-footer-brand {
    display: inline-block;
    margin-bottom: 1.15rem;
}

.site-footer-brand img {
    display: block;
    width: auto;
    height: 70px;
    max-width: min(340px, 100%);
    object-fit: contain;
    object-position: left center;
}

.site-footer-brand-col p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.site-footer-contact {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-contact li {
    display: grid;
    grid-template-columns: 4.6rem minmax(0, 1fr);
    gap: 0.2rem 0.85rem;
    align-items: start;
}

.site-footer-contact span {
    padding-top: 0.18rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer-contact p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18rem;
}

.site-footer-contact a {
    overflow-wrap: anywhere;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: #d7b8ee;
    text-decoration: none;
}

.site-footer-grid {
    display: grid;
    gap: 2.4rem 2.2rem;
    align-items: start;
    padding: 3.4rem 0 2.6rem;
}

.site-footer-col {
    min-width: 0;
}

.site-footer h4 {
    margin: 0 0 1.05rem;
    color: #d7b8ee;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer ul a {
    font-size: 0.95rem;
}

.site-footer-donate {
    margin-top: 1.8rem;
}

.site-footer-social {
    display: flex;
    gap: 0.45rem;
    margin-top: 1.1rem;
}

.site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
}

.site-footer-social a:hover {
    opacity: 0.86;
    color: #fff;
}

.site-footer-social svg {
    width: 16px;
    height: 16px;
}

.site-footer-social .is-x {
    background: #111;
    border: 1px solid #333;
}

.site-footer-social .is-facebook {
    background: #1877f2;
}

.site-footer-social .is-youtube {
    background: #ff0000;
}

.site-footer-copy {
    background: linear-gradient(180deg, #51197E 0%, #12051d 100%);
    padding: 1.05rem 0;
    text-align: center;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.92);
}

.page-banner {
    position: relative;
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.page-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 8, 28, 0.48), rgba(27, 10, 42, 0.72));
}

.page-banner-inner {
    position: relative;
    z-index: 1;
    padding: 3.4rem 1rem;
}

.page-banner-inner .btn-light {
    margin-top: 1.25rem;
}

.page-banner-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin: 0 0 0.75rem;
    color: #f3e6c4;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.page-banner-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #d4af37;
}

.page-banner h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.conference-hero {
    position: relative;
    min-height: 420px;
    color: #fff;
    overflow: hidden;
}

.conference-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.conference-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 8, 28, 0.28) 0%, rgba(17, 8, 28, 0.58) 55%, rgba(17, 8, 28, 0.82) 100%);
}

.conference-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 420px;
    padding: 4.2rem 1rem 3.4rem;
}

.conference-hero-copy h1 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.12;
    text-transform: uppercase;
    text-shadow: 0 2px 22px rgba(17, 8, 28, 0.45);
}

.conference-theme {
    max-width: 36rem;
    margin: 1rem 0 0;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.5;
    color: #f7e7b0;
}

.conference-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.conference-meta li {
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(247, 231, 176, 0.45);
    background: rgba(17, 8, 28, 0.28);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.conference-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.7rem;
}

.conference-hero-actions .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.conference-hero-actions .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.conference-facts {
    background: #12051d;
    color: #fff;
}

.conference-facts-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.conference-facts article {
    padding: 1.35rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.conference-facts article:first-child {
    border-top: 0;
}

.conference-facts span {
    display: block;
    margin-bottom: 0.35rem;
    color: #f7e7b0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.conference-facts strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.45;
}

.conference-tracks {
    display: grid;
    gap: 1.25rem;
}

.conference-note {
    margin: 1.8rem 0 0;
    color: #5b5363;
    line-height: 1.7;
}

.conference-note a {
    color: #51197E;
    font-weight: 700;
}

.conference-split {
    display: grid;
    gap: 2rem;
}

.conference-timeline {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.conference-timeline li {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 0 1rem 1.2rem;
    border-left: 3px solid #d4af37;
}

.conference-timeline span {
    color: #51197E;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.conference-timeline strong {
    color: #1b1224;
    font-size: 1.05rem;
}

.conference-side {
    background: #fff;
    border: 1px solid #ece7f1;
    box-shadow: 0 8px 24px rgba(81, 25, 126, 0.04);
    padding: 1.8rem 1.5rem 1.6rem;
}

.conference-fees {
    margin: 1.2rem 0 1.4rem;
    padding: 0;
    list-style: none;
}

.conference-fees li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #ece7f1;
    color: #5b5363;
}

.conference-fees strong {
    color: #51197E;
}

.conference-events {
    margin-top: 0.4rem;
}

.search-page {
    max-width: 46rem;
}

.search-page-form {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1.6rem;
}

.search-page-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ece7f1;
    padding: 0.78rem 1rem;
    color: #1b1224;
    outline: none;
}

.search-page-form input:focus {
    border-color: #51197E;
}

.search-count {
    margin: 0 0 1.2rem;
    color: #5b5363;
    font-size: 0.95rem;
}

.search-results {
    margin: 0;
    padding: 0;
    list-style: none;
}

.search-results li {
    padding: 1.15rem 0;
    border-top: 1px solid #ece7f1;
}

.search-type {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #51197E;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.search-results a {
    display: block;
    color: #1b1224;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.search-results a:hover {
    color: #51197E;
}

.search-results p {
    margin: 0.4rem 0 0;
    color: #5b5363;
    line-height: 1.6;
}

#papers,
#programme,
#register,
#venue {
    scroll-margin-top: 1.25rem;
}

.about-intro {
    max-width: 46rem;
}

.about-facts {
    display: grid;
    gap: 1.25rem;
}

.about-fact {
    background: #fff;
    border: 1px solid #ece7f1;
    padding: 1.7rem 1.45rem 1.55rem;
    box-shadow: 0 8px 24px rgba(81, 25, 126, 0.04);
}

.about-fact h3 {
    margin: 0 0 0.5rem;
    color: #1b1224;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-fact p {
    margin: 0;
    color: #4a4450;
    font-size: 0.95rem;
    line-height: 1.65;
}

.about-mission {
    display: grid;
    gap: 2.4rem;
    align-items: center;
}

.about-mission-photo {
    margin: 0;
}

.about-mission-photo img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.about-mission-quote {
    margin: 1.1rem 0 0;
    padding-left: 1.15rem;
    border-left: 3px solid #51197E;
    color: #2a2033;
    font-size: 1.08rem;
    line-height: 1.7;
}

.member-types {
    display: grid;
    gap: 1.25rem;
}

.member-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #ece7f1;
    padding: 1.7rem 1.5rem 1.55rem;
    box-shadow: 0 8px 24px rgba(81, 25, 126, 0.04);
}

.member-card h3 {
    margin: 0 0 0.35rem;
    color: #1b1224;
    font-size: 1.2rem;
    font-weight: 700;
}

.member-fee {
    margin: 0 0 0.7rem;
    color: #51197E;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.member-card p {
    margin: 0 0 1.25rem;
    color: #4a4450;
    line-height: 1.65;
}

.member-card .btn-outline {
    margin-top: auto;
}

.member-process {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.member-process-note {
    padding: 1.6rem 1.5rem;
    background: #f7f5f9;
    border-left: 3px solid #51197E;
}

.member-process-note p {
    margin: 0 0 0.7rem;
    color: #32283c;
    line-height: 1.65;
}

.member-process-note a {
    color: #51197E;
    font-weight: 700;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(18, 8, 28, 0.58);
}

.modal-overlay.is-open {
    display: flex;
}

.modal-overlay .modal-dialog {
    width: min(560px, 100%);
    max-height: min(86vh, 720px);
    overflow: auto;
    background: #fff;
    padding: 2rem 1.75rem 1.7rem;
    box-shadow: 0 24px 60px rgba(18, 8, 28, 0.28);
}

.modal-overlay .modal-dialog h3 {
    margin: 0.45rem 0 0.9rem;
    color: #1b1224;
    font-size: 1.45rem;
    font-weight: 700;
}

.modal-overlay .modal-dialog p {
    color: #4a4450;
    line-height: 1.7;
}

.team-president {
    display: grid;
    gap: 2rem;
    align-items: center;
    background: #fff;
    border: 1px solid #ece7f1;
    box-shadow: 0 12px 32px rgba(81, 25, 126, 0.06);
    scroll-margin-top: 1.25rem;
}

.team-president-photo {
    margin: 0;
}

.team-president-photo img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center top;
}

.team-president-copy {
    padding: 1.5rem 1.6rem 1.8rem;
}

.team-grid {
    display: grid;
    gap: 1.25rem;
}

.team-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ece7f1;
    box-shadow: 0 8px 24px rgba(81, 25, 126, 0.04);
    scroll-margin-top: 1.25rem;
}

.team-card-photo {
    margin: 0;
    overflow: hidden;
    background: #f3eef7;
}

.team-card-photo img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center 18%;
}

.team-card-fallback,
.team-president-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 280px;
    background: #51197E;
    color: #f7e7b0;
    font-size: 3.4rem;
    font-weight: 800;
}

.team-president-fallback {
    height: 360px;
}

.team-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.3rem 1.4rem;
}

.team-card-role {
    margin: 0 0 0.35rem;
    color: #51197E;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.team-card h3 {
    margin: 0;
    color: #1b1224;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
}

.team-card-org {
    margin: 0.4rem 0 0;
    color: #5b5363;
    font-size: 0.92rem;
}

.team-card .btn-outline {
    margin-top: 1.1rem;
    align-self: flex-start;
}

.cert-intro {
    max-width: 44rem;
}

.cert-facts {
    margin-bottom: 1.75rem;
}

.cert-frame {
    margin: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid #ece7f1;
    box-shadow: 0 18px 40px rgba(27, 18, 36, 0.08);
}

.cert-frame img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

.contact-layout {
    display: grid;
    gap: 2.4rem;
}

.contact-details {
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-details li {
    padding: 1.05rem 0;
    border-top: 1px solid #ece7f1;
}

.contact-details span {
    display: block;
    margin-bottom: 0.35rem;
    color: #51197E;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-details strong,
.contact-details p {
    margin: 0;
    color: #32283c;
    line-height: 1.55;
}

.contact-details a {
    color: #51197E;
    font-weight: 600;
}

.contact-panel {
    background: #f7f5f9;
    border: 1px solid #ece7f1;
    padding: 1.7rem 1.5rem 1.6rem;
}

.contact-form .section-title,
.contact-success .section-title {
    margin-bottom: 1.2rem;
}

.contact-field {
    margin: 0 0 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: #1b1224;
    font-size: 0.88rem;
    font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="password"],
.contact-form input[type="date"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="file"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d8cfe3;
    background: #fff;
    color: #1b1224;
    padding: 0.78rem 0.9rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid #51197E;
    border-color: #51197E;
}

.contact-form .hint-block {
    margin: 0.3rem 0 0;
    color: #7a7282;
    font-size: 0.82rem;
}

.contact-form .help-block {
    margin: 0.35rem 0 0;
    color: #9b1c3a;
    font-size: 0.86rem;
}

.contact-form .captcha,
.contact-form img {
    display: block;
    margin: 0.45rem 0 0.7rem;
}

.contact-form .btn-primary {
    margin-top: 0.4rem;
}

.pay-intro {
    max-width: 44rem;
}

.pay-bank {
    margin: 1.4rem 0 0;
}

.pay-bank div {
    display: grid;
    gap: 0.2rem 1.5rem;
    padding: 0.95rem 0;
    border-top: 1px solid #ece7f1;
}

.pay-bank dt {
    color: #51197E;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pay-bank dd {
    margin: 0;
    color: #1b1224;
    font-size: 1.05rem;
    font-weight: 700;
}

.pay-methods {
    background: #fff;
    border: 1px solid #ece7f1;
    padding: 1.7rem 1.5rem 1.6rem;
}

.pay-methods h3 {
    margin: 0.4rem 0 1rem;
    color: #1b1224;
    font-size: 1.35rem;
    font-weight: 700;
}

.pay-methods ul {
    margin: 0 0 1.4rem;
    padding: 0;
    list-style: none;
}

.pay-methods li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.35rem;
    color: #4a4450;
    border-bottom: 1px solid #f0ebf5;
}

.pay-methods li::before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #51197E;
}

.news-page {
    padding: 3rem 0 4.5rem;
}

.news-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.news-page-head h1,
.news-article h1,
.news-editor h1 {
    margin: 0;
    color: #51197E;
    font-size: clamp(1.9rem, 3.4vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
}

.news-rule {
    height: 2px;
    margin: 0.85rem 0 1.8rem;
    background: #51197E;
}

.news-grid {
    column-count: 1;
    column-gap: 1.35rem;
}

.news-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 1.35rem;
    background: #fff;
    padding: 1.45rem 1.35rem 1.4rem;
    box-shadow: 0 10px 28px rgba(27, 18, 36, 0.07);
    border: 1px solid #f0ebf5;
    break-inside: avoid;
}

.news-card-photo {
    display: block;
    margin: -1.45rem -1.35rem 1.15rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.news-article-photo {
    display: flex;
    justify-content: center;
    margin: 0.15rem 0 1.65rem;
}

.news-article-photo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 28rem;
    object-fit: contain;
    object-position: center;
}

.news-card h2 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.35;
}

.news-card h2 a {
    color: #51197E;
}

.news-card h2 a:hover {
    text-decoration: underline;
}

.news-meta {
    margin: 0.5rem 0 0.75rem;
    color: #7a7282;
    font-size: 0.86rem;
}

.news-meta span {
    margin: 0 0.25rem;
}

.news-card p:last-child {
    margin: 0;
    color: #2a2033;
    line-height: 1.65;
}

.news-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.news-pager a {
    color: #51197E;
    font-weight: 700;
}

.news-article,
.news-editor {
    max-width: 46rem;
}

.news-body {
    margin: 0.4rem 0 1.6rem;
    color: #32283c;
    font-size: 1.05rem;
    line-height: 1.8;
}

.news-editor .home-body {
    margin-bottom: 1.3rem;
}

.contact-form select {
    width: 100%;
    border: 1px solid #d8cfe3;
    background: #fff;
    color: #1b1224;
    padding: 0.78rem 0.9rem;
}

.w-26 {
    width: 6.5rem;
}

body.menu-open {
    overflow: hidden;
}

#spa-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 3px;
    width: 0;
    background: #51197E;
    opacity: 0;
    pointer-events: none;
    transition: width 0.2s ease, opacity 0.2s ease;
}

#spa-progress.is-on {
    opacity: 1;
}

#spa-content {
    outline: none;
    min-height: 50vh;
    transition: opacity 0.15s ease;
}

#spa-content.is-leaving {
    opacity: 0.4;
}

@media (min-width: 768px) {
    .site-brand-mark {
        height: 96px;
        max-width: 580px;
    }

    .site-mainbar-inner {
        min-height: 132px;
    }

    .site-footer-brand img {
        height: 78px;
    }

    .hero,
    .hero-copy {
        min-height: 720px;
    }

    .hero-copy {
        padding-bottom: 10.5rem;
    }

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

    .hero-stat {
        padding: 1.4rem 1rem;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hero-stat:first-child {
        border-left: 0;
    }

    .home-section {
        padding: 5.5rem 0;
    }

    .resource-grid,
    .home-split {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-split {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .home-panel-photo img {
        height: 190px;
    }

    .home-photo img {
        height: 420px;
    }

    .page-banner {
        min-height: 320px;
    }

    .conference-hero,
    .conference-hero-copy {
        min-height: 520px;
    }

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

    .conference-facts article {
        padding: 1.5rem 1.2rem;
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .conference-facts article:nth-child(odd) {
        border-left: 0;
    }

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

    .conference-split {
        grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
        align-items: start;
        gap: 2.5rem;
    }

    .about-facts,
    .member-types {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .news-grid {
        column-count: 2;
    }
}

@media (min-width: 900px) {
    .home-cta {
        padding: 4.4rem 0 4.1rem;
    }

    .home-cta-inner {
        grid-template-columns: minmax(0, 1.35fr) auto;
        align-items: center;
        gap: 3rem;
    }

    .home-cta-panel {
        align-items: flex-end;
        text-align: right;
    }

    .home-cta-actions {
        justify-content: flex-end;
    }

    .about-mission {
        grid-template-columns: 0.92fr 1.08fr;
        gap: 3.4rem;
    }

    .about-mission-photo img {
        height: 440px;
    }

    .member-process {
        grid-template-columns: 1.35fr 0.85fr;
        gap: 3rem;
        align-items: center;
    }

    .team-president {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .team-president-photo img {
        height: 100%;
        min-height: 420px;
    }

    .team-president-fallback {
        height: 100%;
        min-height: 420px;
    }

    .team-president-copy {
        padding: 2.2rem 2.2rem 2.2rem 0.4rem;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 2.6rem 2.4rem;
    }

    .cert-facts {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-layout {
        grid-template-columns: 0.92fr 1.08fr;
        gap: 3.4rem;
        align-items: start;
    }

    .pay-bank div {
        grid-template-columns: 11rem minmax(0, 1fr);
        align-items: baseline;
    }

    .news-grid {
        column-count: 3;
    }

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

    .conference-facts article:nth-child(odd) {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .conference-facts article:first-child {
        border-left: 0;
    }

    .conference-tracks {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .site-brand-mark {
        height: 120px;
        max-width: 720px;
    }

    .site-mainbar-inner {
        min-height: 156px;
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }

    .site-nav {
        display: flex;
    }

    .site-menu-toggle,
    .site-mobile {
        display: none;
    }

    .home-intro {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 4rem;
    }

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

    .cert-facts {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer-grid {
        grid-template-columns: minmax(18rem, 1.55fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr);
        padding: 3.8rem 0 2.8rem;
    }

    .site-footer-brand img {
        height: 86px;
    }
}

@media (max-width: 1199px) {
    .site-topbar-inner {
        flex-wrap: wrap;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }
}

.admin-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(81, 25, 126, 0.06), transparent 28rem),
        #f3eef7;
    color: #1b1224;
    --bs-link-decoration: none;
}

.admin-body a,
.admin-body a:hover,
.admin-body a:focus,
.admin-body a:visited {
    text-decoration: none;
}

.admin-body.admin-nav-open {
    overflow: hidden;
}

.admin-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 1fr;
}

.admin-backdrop {
    display: none;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(18.5rem, 86vw);
    padding: 1.35rem 1.1rem 1.15rem;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(212, 175, 55, 0.12), transparent 9rem),
        linear-gradient(180deg, #32124a 0%, #1c0b2e 100%);
    transform: translateX(-105%);
    transition: transform 0.22s ease;
}

.admin-nav-open .admin-sidebar {
    transform: none;
}

.admin-nav-open .admin-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(18, 8, 28, 0.45);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 0.35rem 1.6rem;
    color: #fff;
}

.admin-brand-mark {
    display: grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.7rem;
    background: #51197E;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.45);
    color: #f7e7b0;
    font-size: 1.15rem;
    font-weight: 800;
}

.admin-brand strong,
.admin-brand em {
    display: block;
}

.admin-brand strong {
    font-size: 1.02rem;
    letter-spacing: 0.08em;
}

.admin-brand em,
.admin-user-card em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
}

.admin-nav-label {
    margin: 0 0.85rem 0.45rem;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.admin-nav a,
.admin-sidebar-foot > a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 0.85rem;
    border-radius: 0.7rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.admin-nav a svg,
.admin-sidebar-foot > a svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
}

.admin-nav a.is-active,
.admin-nav a:hover,
.admin-sidebar-foot > a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-nav a.is-active {
    background: rgba(81, 25, 126, 0.72);
    box-shadow: inset 3px 0 0 #d4af37;
}

.admin-sidebar-foot {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding: 1.2rem 0.2rem 0.2rem;
}

.admin-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
}

.admin-user-card strong {
    display: block;
    font-size: 0.92rem;
}

.admin-avatar {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: #d4af37;
    color: #2a1240;
    font-size: 0.92rem;
    font-weight: 800;
}

.admin-avatar.is-light {
    background: #f4e8fb;
    color: #51197E;
}

.admin-logout {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0 0.75rem;
}

.admin-logout:hover {
    color: #fff;
}

.admin-frame {
    min-width: 0;
}

.admin-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.15rem 0;
}

.admin-menu-btn {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 0.15rem;
    border: 1px solid #e4dceb;
    border-radius: 0.7rem;
    background: #fff;
    color: #51197E;
}

.admin-menu-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.admin-topbar-copy {
    flex: 1;
    min-width: 12rem;
}

.admin-kicker {
    margin: 0 0 0.3rem;
    color: #8a7f96;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-topbar h1 {
    margin: 0;
    color: #2a1240;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.admin-lead {
    margin: 0.35rem 0 0;
    max-width: 38rem;
    color: #6b6274;
    font-size: 0.95rem;
}

.admin-topbar-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-left: auto;
}

.admin-ghost,
.admin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 0.95rem;
    border: 1px solid #ddd3e6;
    border-radius: 0.65rem;
    background: #fff;
    color: #51197E;
    font-weight: 700;
    font-size: 0.88rem;
}

.admin-ghost:hover,
.admin-action:hover {
    background: #f7f1fb;
    color: #3d1160;
}

.admin-chip {
    display: none;
    align-items: center;
    gap: 0.55rem;
    padding: 0.28rem 0.7rem 0.28rem 0.28rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e4dceb;
    color: #2a1240;
    font-weight: 700;
}

.admin-main {
    padding: 1.25rem 1.15rem 3rem;
}

.admin-flash {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.8rem;
    background: #e8f6ee;
    color: #14532d;
    border: 1px solid #cdead6;
}

.admin-flash.is-error {
    background: #fde8ec;
    color: #9b1c3a;
    border-color: #f5c6d0;
}

.admin-welcome,
.admin-panel,
.admin-table-wrap,
.admin-card,
.admin-quick-card,
.admin-stat {
    background: #fff;
    border: 1px solid #ece4f2;
    border-radius: 1rem;
    box-shadow: 0 14px 36px rgba(42, 18, 64, 0.05);
}

.admin-welcome {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.1rem;
    margin-bottom: 1.15rem;
    padding: 1.35rem 1.3rem;
    background:
        linear-gradient(135deg, rgba(81, 25, 126, 0.96), #3d1160 62%, #2a1240);
    color: #fff;
    border: 0;
}

.admin-welcome .admin-kicker,
.admin-welcome p {
    color: rgba(255, 255, 255, 0.72);
}

.admin-welcome h2 {
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
    font-weight: 800;
}

.admin-welcome p {
    margin: 0;
    max-width: 32rem;
}

.admin-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.admin-welcome .admin-ghost {
    border-color: rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #fff;
}

.admin-welcome .admin-ghost:hover,
.admin-welcome .btn-primary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.admin-welcome .btn-primary {
    background: #fff;
    color: #51197E;
}

.admin-welcome .btn-primary:hover {
    background: #f7e7b0;
    color: #2a1240;
}

.admin-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 1.15rem;
}

.admin-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 0.9rem;
    padding: 1.15rem 1.15rem 1.05rem;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(42, 18, 64, 0.08);
}

.admin-stat-icon {
    grid-row: 1 / span 3;
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.85rem;
    background: #f4e8fb;
    color: #51197E;
}

.admin-stat-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.admin-stat strong {
    color: #2a1240;
    font-size: 1.7rem;
    line-height: 1;
}

.admin-stat span {
    color: #2a1240;
    font-weight: 700;
}

.admin-stat em {
    color: #7a7282;
    font-style: normal;
    font-size: 0.78rem;
}

.admin-quick {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.15rem;
}

.admin-quick-card {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 1.1rem 1.15rem;
    color: inherit;
}

.admin-quick-card:hover {
    border-color: #d8c6ea;
}

.admin-quick-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.8rem;
    background: #51197E;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.admin-quick-card strong,
.admin-quick-card em {
    display: block;
}

.admin-quick-card strong {
    margin-bottom: 0.15rem;
    color: #2a1240;
}

.admin-quick-card em {
    color: #6b6274;
    font-size: 0.9rem;
    font-style: normal;
}

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

.admin-page-head p {
    margin: 0;
    color: #6b6274;
    font-weight: 600;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.35rem;
    padding: 1.15rem 1.3rem;
    background: #fff;
    border: 1px solid #ece4f2;
    border-radius: 1.1rem;
    box-shadow: 0 14px 36px rgba(42, 18, 64, 0.05);
}

.admin-toolbar-copy strong {
    display: block;
    color: #2a1240;
    font-size: 1.85rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.admin-toolbar-copy span {
    color: #6b6274;
    font-size: 0.92rem;
}

.admin-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
}

.admin-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.admin-tile {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ece4f2;
    border-radius: 1.1rem;
    box-shadow: 0 14px 36px rgba(42, 18, 64, 0.05);
    min-height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(42, 18, 64, 0.1);
}

.admin-tile-media {
    position: relative;
    height: 200px;
    background: #2a1240;
}

.admin-tile-media img,
.admin-tile-fallback {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.admin-tile-fallback {
    display: grid;
    place-items: center;
    background:
        linear-gradient(145deg, rgba(212, 175, 55, 0.28), transparent 42%),
        linear-gradient(180deg, #51197E, #2a1240);
    color: #f7e7b0;
    font-size: 3rem;
    font-weight: 800;
}

.admin-tile-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4.5rem;
    background: linear-gradient(transparent, rgba(18, 8, 28, 0.45));
    pointer-events: none;
}

.admin-tile-badges {
    position: absolute;
    z-index: 1;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.admin-tile-media > .admin-tile-badge {
    position: absolute;
    z-index: 1;
    left: 0.85rem;
    bottom: 0.85rem;
}

.admin-tile-badge {
    display: inline-flex;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #51197E;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.admin-tile-badge.is-live {
    background: #e8f6ee;
    color: #157347;
}

.admin-tile-badge.is-muted {
    background: rgba(255, 255, 255, 0.82);
    color: #5c5566;
}

.admin-tile-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    padding: 1.05rem 1.15rem 0.85rem;
}

.admin-tile-meta,
.admin-tile-place {
    margin: 0;
    color: #8a7f96;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-tile-body h3 {
    margin: 0;
    color: #2a1240;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
}

.admin-tile-body p:last-child {
    margin: 0.15rem 0 0;
    color: #5c5566;
    font-size: 0.92rem;
    line-height: 1.55;
}

.admin-tile-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.85rem 0.85rem;
    border-top: 1px solid #f3eef7;
}

.admin-tile-actions a,
.admin-tile-actions button {
    padding: 0.42rem 0.7rem;
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    color: #51197E;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
}

.admin-tile-actions a:hover,
.admin-tile-actions button:hover {
    background: #f7f1fb;
}

.admin-tile-actions .is-danger {
    margin-left: auto;
    color: #9b1c3a;
}

.admin-tile-actions .is-danger:hover {
    background: #fde8ec;
}

.admin-empty-panel {
    padding: 3.2rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px solid #ece4f2;
    border-radius: 1.1rem;
    box-shadow: 0 14px 36px rgba(42, 18, 64, 0.05);
}

.admin-empty-mark {
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: #51197E;
    color: #f7e7b0;
    font-size: 1.3rem;
    font-weight: 800;
}

.admin-empty-panel h2 {
    margin: 0 0 0.4rem;
    color: #2a1240;
    font-size: 1.3rem;
}

.admin-empty-panel p {
    margin: 0 auto 1.2rem;
    max-width: 28rem;
    color: #6b6274;
}

.admin-panels {
    display: grid;
    gap: 1rem;
}

.admin-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem 0.2rem;
}

.admin-panel-head h2 {
    margin: 0;
    font-size: 1.12rem;
    color: #2a1240;
}

.admin-panel-head a,
.admin-link,
.admin-title-link {
    color: #51197E;
    font-weight: 700;
}

.admin-list {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0 0.45rem;
}

.admin-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.2rem;
    border-top: 1px solid #f3eef7;
}

.admin-list p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0.35rem 0 0;
    color: #7a7282;
    font-size: 0.86rem;
}

.admin-empty {
    padding: 2.2rem 1.2rem;
    text-align: center;
}

.admin-empty p {
    margin: 0 0 1rem;
    color: #7a7282;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: #f4e8fb;
    color: #51197E;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-pill.is-live {
    background: #e8f6ee;
    color: #157347;
}

.admin-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #ece4f2;
    border-radius: 1.1rem;
    box-shadow: 0 14px 36px rgba(42, 18, 64, 0.05);
}

.admin-table-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 0.45rem;
    background: #efe8f5;
    display: block;
}

.admin-table-fallback {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 0.45rem;
    background: #51197E;
    color: #f7e7b0;
    font-weight: 800;
}

.admin-table-title {
    color: #2a1240;
    font-weight: 800;
}

.admin-table-title + .admin-pill {
    margin-left: 0.45rem;
    vertical-align: middle;
}

.admin-table-actions a,
.admin-table-actions button {
    margin-right: 0.35rem;
    padding: 0.38rem 0.7rem;
    border: 1px solid #ddd3e6;
    border-radius: 0.55rem;
    background: #fff;
    color: #51197E;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.admin-table-actions .is-danger {
    color: #9b1c3a;
    border-color: #f3c5cf;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid #f3eef7;
    vertical-align: middle;
}

.admin-table th {
    color: #8a7f96;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #fbf8fd;
}

.admin-table tbody tr:hover {
    background: #fdfbfe;
}

.admin-table-meta {
    margin-top: 0.25rem;
    color: #8a7f96;
    font-size: 0.8rem;
}

.admin-table-actions {
    white-space: nowrap;
}

.admin-table-actions .admin-action {
    margin-right: 0.35rem;
    padding: 0.38rem 0.7rem;
}

.admin-action.is-danger {
    color: #9b1c3a;
    border-color: #f3c5cf;
}

.admin-action.is-danger:hover {
    background: #fde8ec;
}

.admin-card {
    max-width: 46rem;
    padding: 1.35rem 1.25rem 1.45rem;
}

.admin-form .admin-field {
    margin-bottom: 1rem;
}

.admin-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: #2a1240;
    font-size: 0.88rem;
    font-weight: 700;
}

.admin-form input[type="text"],
.admin-form input[type="date"],
.admin-form select,
.admin-form textarea {
    width: 100%;
    border: 1px solid #ddd3e6;
    border-radius: 0.7rem;
    background: #fff;
    color: #1b1224;
    padding: 0.8rem 0.9rem;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: 2px solid rgba(81, 25, 126, 0.28);
    border-color: #51197E;
}

.admin-form .help-block {
    margin: 0.35rem 0 0;
    color: #9b1c3a;
    font-size: 0.86rem;
}

.admin-form .hint-block {
    margin: 0.3rem 0 0;
    color: #7a7282;
    font-size: 0.82rem;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.4rem;
}

.admin-date-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .admin-stats,
    .admin-quick {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .admin-date-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1100px) {
    .admin-shell {
        grid-template-columns: 17.5rem minmax(0, 1fr);
    }

    .admin-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        width: auto;
        transform: none;
    }

    .admin-backdrop,
    .admin-menu-btn {
        display: none;
    }

    .admin-chip {
        display: inline-flex;
    }

    .admin-topbar,
    .admin-main {
        padding-left: 1.8rem;
        padding-right: 1.8rem;
    }

    .admin-topbar {
        padding-top: 1.5rem;
    }

    .admin-main {
        padding-top: 1.4rem;
        padding-bottom: 3.5rem;
    }

    .admin-stats {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

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

    .admin-panels {
        grid-template-columns: 1fr 1fr;
    }

    .admin-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.admin-body .btn.btn-primary,
.admin-welcome .btn-primary {
    background: #51197E;
    border-color: #51197E;
    color: #fff;
}

.admin-body .btn.btn-primary:hover,
.admin-welcome .btn-primary:hover {
    background: #3d1160;
    border-color: #3d1160;
    color: #fff;
}

.admin-body .btn-outline-primary {
    color: #51197E;
    border-color: #51197E;
}

.admin-body .btn-outline-primary:hover {
    background: #51197E;
    border-color: #51197E;
    color: #fff;
}

.admin-welcome button.btn-primary,
.admin-welcome button.admin-ghost {
    border: 0;
}

button.admin-quick-card,
button.admin-ghost {
    font: inherit;
    text-align: left;
    cursor: pointer;
}

button.admin-quick-card {
    width: 100%;
    border: 1px solid #ece4f2;
}

.admin-content-card {
    overflow: hidden;
    border: 1px solid #ece4f2;
    box-shadow: 0 14px 36px rgba(42, 18, 64, 0.05);
}

.admin-content-card .h5 {
    color: #2a1240;
    font-weight: 800;
}

.admin-card-photo {
    display: grid;
    place-items: center;
    height: 180px;
    background: #efe8f5;
    color: #8a7f96;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-card-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.admin-empty-card {
    border: 1px solid #ece4f2;
}

.admin-modal .modal-header {
    align-items: flex-start;
    background: #51197E;
    color: #fff;
    border-bottom: 0;
}

.admin-modal.modal-content {
    max-height: calc(100vh - 2rem);
    overflow: hidden;
}

.admin-modal-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: calc(100vh - 3rem);
}

.admin-modal .modal-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1 1 auto;
}

.admin-modal .modal-footer {
    flex-shrink: 0;
    background: #fff;
}

.admin-modal .modal-header .admin-kicker {
    color: rgba(255, 255, 255, 0.7);
}

.admin-modal .modal-title {
    color: #fff;
    font-weight: 800;
}

.admin-image-picker .admin-image-frame {
    display: grid;
    place-items: center;
    overflow: hidden;
    height: 180px;
    margin-bottom: 0.75rem;
    border: 1px dashed #d8c6ea;
    border-radius: 0.8rem;
    background: #f7f1fb;
}

.admin-image-frame img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.admin-image-placeholder {
    color: #8a7f96;
    font-size: 0.88rem;
    font-weight: 600;
}

html.login-html,
html.login-html body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

html.login-html .yii-debug-toolbar,
html.login-html #yii-debug-toolbar {
    display: none !important;
}

.login-screen {
    height: 100vh;
    height: 100dvh;
    margin: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 1rem;
    background: #e8e4ee;
    font-family: Inter, sans-serif;
}

.login-flash-wrap {
    position: fixed;
    top: 1rem;
    left: 50%;
    z-index: 20;
    width: min(32rem, calc(100% - 2rem));
    transform: translateX(-50%);
}

.login-flash {
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.7rem;
    background: #e8f6ee;
    color: #157347;
    font-size: 0.9rem;
}

.login-flash.is-error {
    background: #fdecee;
    color: #b42318;
}

.login-card {
    display: grid;
    width: min(880px, 100%);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow: hidden;
    background: #fff;
    border-radius: 1.35rem;
    box-shadow: 0 24px 60px rgba(42, 18, 64, 0.14);
}

.login-brand {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 1.35rem 1.5rem 1.25rem;
    background: #2a1240;
    color: #fff;
}

.login-brand-name {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.login-art {
    display: grid;
    place-items: center;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0.7rem 0 0.4rem;
}

.login-art svg {
    width: min(100%, 200px);
    height: auto;
    max-height: 9.5rem;
}

.login-brand h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.login-brand h2 em {
    color: #d4af37;
    font-style: normal;
}

.login-brand p {
    margin: 0.55rem 0 0.9rem;
    max-width: 22rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    line-height: 1.5;
}

.login-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.login-tags li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.75rem;
    font-weight: 600;
}

.login-tags span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #d4af37;
}

.login-tags li:nth-child(2) span {
    background: #7c5cff;
}

.login-tags li:nth-child(3) span {
    background: #4ade80;
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 1.5rem 1.6rem 1.3rem;
}

.login-panel h1 {
    margin: 0;
    color: #1b1224;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
}

.login-lead {
    margin: 0.35rem 0 1.1rem;
    color: #8a7f96;
    font-size: 0.9rem;
    text-align: center;
}

.login-form {
    display: grid;
    gap: 0.75rem;
}

.login-field {
    margin: 0;
}

.login-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #7a7282;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-control {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    height: 2.85rem;
    padding: 0 0.7rem;
    border: 1px solid #e4dcea;
    border-radius: 0.7rem;
    background: #f7f5fa;
    box-sizing: border-box;
}

.login-control:focus-within {
    border-color: #51197E;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(81, 25, 126, 0.12);
}

.login-ico {
    display: grid;
    place-items: center;
    flex: 0 0 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
    color: #51197E;
    opacity: 0.55;
}

.login-ico svg {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
}

.login-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1b1224;
    font: inherit;
    line-height: 1.2;
    box-shadow: none;
    appearance: none;
}

.login-input:focus {
    outline: none;
    box-shadow: none;
}

.login-eye {
    position: relative;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    margin-right: -0.25rem;
    padding: 0;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: #7a7282;
    cursor: pointer;
    appearance: none;
}

.login-eye svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    transform: translate(-50%, -50%);
}

.login-eye .login-eye-hide {
    opacity: 0;
    visibility: hidden;
}

.login-eye.is-on {
    color: #51197E;
}

.login-eye.is-on .login-eye-show {
    opacity: 0;
    visibility: hidden;
}

.login-eye.is-on .login-eye-hide {
    opacity: 1;
    visibility: visible;
}

.login-eye:focus-visible {
    outline: 2px solid #51197E;
    outline-offset: 1px;
}

.login-form .help-block {
    margin: 0.35rem 0 0;
    color: #c53030;
    font-size: 0.82rem;
}

.login-form .help-block:empty {
    display: none;
    margin: 0;
}

.login-field.is-check {
    margin-top: 0.15rem;
}

.login-field.is-check label,
.login-check-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3d3348;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
}

.login-field.is-check input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #51197E;
}

.login-submit {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: 0.75rem;
    background: #2a1240;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.login-submit:hover {
    background: #51197E;
}

.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 0.9rem;
}

.login-links a {
    color: #8a7f96;
    font-size: 0.86rem;
}

.login-links a:hover {
    color: #51197E;
}

.login-hint {
    margin: 1rem 0 0;
    color: #9a92a4;
    font-size: 0.78rem;
    text-align: center;
}

.apply-page {
    padding: 2.2rem 0 4.6rem;
    background:
        radial-gradient(ellipse at top left, rgba(81, 25, 126, 0.07), transparent 42%),
        #f6f2f8;
}

.apply-layout {
    display: grid;
    gap: 1.4rem;
}

.apply-card {
    padding: 1.7rem 1.5rem 1.5rem;
    border-radius: 1.15rem;
    background: linear-gradient(165deg, #5c1d8d 0%, #51197E 48%, #3b1160 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(42, 18, 64, 0.18);
}

.apply-card-kicker {
    margin: 0;
    color: #f3e6c4;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.apply-card-type {
    margin: 0.55rem 0 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.apply-card-fee {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0.35rem 0 0;
    line-height: 1;
}

.apply-card-fee span {
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.apply-card-fee small {
    color: #f3e6c4;
    font-size: 0.92rem;
    font-weight: 600;
}

.apply-card-ugx {
    margin: 0.7rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.5;
}

.apply-card-list {
    margin: 1.2rem 0 0;
    padding: 1rem 0 0;
    list-style: none;
    border-top: 1px solid rgba(247, 231, 176, 0.22);
}

.apply-card-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin: 0 0 0.7rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    line-height: 1.45;
}

.apply-card-list svg {
    width: 1rem;
    height: 1rem;
    margin-top: 0.15rem;
    flex: 0 0 auto;
    color: #d4af37;
}

.apply-card-pay {
    margin: 0.4rem 0 0;
    color: #f3e6c4;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.apply-card-link {
    display: inline-block;
    margin-top: 1rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    border-bottom: 1px solid #d4af37;
}

.apply-card-link:hover {
    color: #f7e7b0;
}

.apply-sheet {
    background: #fff;
    border: 1px solid #ece4f2;
    border-radius: 1.15rem;
    box-shadow: 0 24px 54px rgba(42, 18, 64, 0.07);
    padding: 1.7rem 1.35rem 1.5rem;
}

.apply-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 1.8rem;
    padding: 0 0 1.35rem;
    list-style: none;
    border-bottom: 1px solid #efe8f5;
}

.apply-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: #8a7f96;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.apply-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.82rem;
    left: calc(50% + 1.05rem);
    width: calc(100% - 2.1rem);
    height: 1px;
    background: #e6dcef;
}

.apply-steps span {
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: #f4eef8;
    color: #51197E;
    font-size: 0.78rem;
}

.apply-steps .is-current {
    color: #51197E;
}

.apply-steps .is-current span {
    background: #51197E;
    color: #fff;
}

.apply-block {
    margin: 0 0 1.55rem;
    padding: 0 0 1.45rem;
    border-bottom: 1px solid #f1ebf5;
}

.apply-block-head {
    margin-bottom: 1.05rem;
}

.apply-block-head h2 {
    margin: 0;
    color: #1b1224;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.apply-block-head p {
    margin: 0.35rem 0 0;
    max-width: 38rem;
    color: #6b6473;
    font-size: 0.92rem;
    line-height: 1.55;
}

.apply-form .apply-field,
.apply-field-wrap .apply-field {
    margin: 0 0 1rem;
}

.apply-form label,
.apply-form .control-label,
.apply-field > span {
    display: block;
    margin-bottom: 0.38rem;
    color: #3d3350;
    font-size: 0.82rem;
    font-weight: 700;
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="url"],
.apply-form select,
.apply-pay-panel input[type="tel"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #e0d6ea;
    background: #fbf9fd;
    color: #1b1224;
    padding: 0.84rem 0.95rem;
    border-radius: 0.55rem;
}

.apply-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2351197E' stroke-width='1.8'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.2rem;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-pay-panel input:focus {
    outline: none;
    border-color: #51197E;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(81, 25, 126, 0.12);
}

.apply-form .hint-block,
.apply-submit .hint-block {
    margin: 0.35rem 0 0;
    color: #8a7f96;
    font-size: 0.8rem;
}

.apply-form .help-block {
    margin: 0.35rem 0 0;
    color: #9b1c3a;
    font-size: 0.84rem;
}

.apply-grid {
    display: grid;
    gap: 0 1.1rem;
    min-width: 0;
}

.apply-field-wrap,
.apply-grid > * {
    min-width: 0;
}

.apply-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.apply-profile {
    display: grid;
    gap: 1.25rem 1.6rem;
    align-items: start;
    min-width: 0;
}

.apply-photo,
.apply-profile-fields {
    min-width: 0;
}

.apply-photo {
    text-align: center;
}

.apply-photo-frame {
    position: relative;
    display: block;
    width: 132px;
    height: 132px;
    margin: 0 auto;
    cursor: pointer;
}

.apply-photo-disc {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: 3px solid #d4af37;
    border-radius: 999px;
    background: #f3ecf8;
    box-sizing: border-box;
}

.apply-photo-disc img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.apply-photo-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #7a5f96;
    line-height: 0;
}

.apply-photo-placeholder svg {
    display: block;
    width: 3.1rem;
    height: 3.1rem;
}

.apply-photo-add {
    position: absolute;
    right: -2px;
    bottom: -2px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #51197E;
    color: #fff;
    box-shadow: 0 6px 14px rgba(42, 18, 64, 0.28);
    line-height: 0;
}

.apply-photo-add svg {
    display: block;
    width: 0.95rem;
    height: 0.95rem;
}

.apply-photo-input,
.apply-file input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.apply-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-height: 4.6rem;
    padding: 0.9rem 1.05rem;
    border: 1px dashed #d3c4e3;
    border-radius: 0.7rem;
    background: #fbf9fd;
    cursor: pointer;
}

.apply-file:hover {
    border-color: #51197E;
    background: #f7f1fb;
}

.apply-file-mark {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: 0.7rem;
    background: #efe6f6;
    color: #51197E;
}

.apply-file-mark svg {
    width: 1.25rem;
    height: 1.25rem;
}

.apply-file-copy strong,
.apply-file-copy em {
    display: block;
}

.apply-file-copy strong {
    color: #1b1224;
    font-size: 0.92rem;
}

.apply-file-copy em {
    margin-top: 0.15rem;
    color: #8a7f96;
    font-size: 0.8rem;
    font-style: normal;
}

.apply-brands {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.apply-brand {
    position: relative;
    display: block;
    margin: 0;
}

.apply-brand input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.apply-brand span {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.8rem;
    align-items: center;
    min-height: 4.7rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid #e6dcef;
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
}

.apply-brand strong {
    color: #1b1224;
    font-size: 0.95rem;
}

.apply-brand em {
    grid-column: 2;
    color: #6b6473;
    font-style: normal;
    font-size: 0.78rem;
}

.apply-brand-logo {
    display: grid;
    place-items: center;
    grid-row: 1 / span 2;
    width: 3.2rem;
    height: 2rem;
}

.apply-brand-logo svg {
    width: 100%;
    height: 100%;
}

.apply-brand input:focus-visible + span,
.apply-brand input:checked + span {
    border-color: #51197E;
    background: #fbf8fd;
    box-shadow: 0 0 0 3px rgba(81, 25, 126, 0.12);
}

.apply-pay-panel {
    margin: 0.15rem 0 0.9rem;
    padding: 1.05rem 1.05rem 1rem;
    background: #fbf8fd;
    border: 1px solid #eee6f4;
    border-radius: 0.75rem;
}

.apply-pay-lead {
    margin: 0 0 0.85rem;
    color: #32283c;
    line-height: 1.55;
}

.apply-pay-lead a {
    color: #51197E;
    font-weight: 700;
}

.apply-pay-btn {
    margin-top: 0.35rem;
}

.apply-pay-btn[data-pay-start="mtn"] {
    background: #1a1a1a;
    color: #ffcc00;
}

.apply-pay-btn[data-pay-start="airtel"] {
    background: #ed1c24;
}

.apply-pay-error {
    margin: 0 0 0.8rem;
}

.apply-pay-msg {
    min-height: 1.2em;
    margin: 0.7rem 0 0;
    color: #6b6473;
    font-size: 0.88rem;
}

.apply-pay-msg.is-error {
    color: #9b1c3a;
}

.apply-pay-msg.is-ok {
    color: #157347;
}

.apply-paypal {
    min-height: 2.5rem;
}

.apply-paid {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-top: 0.35rem;
    padding: 0.95rem 1rem;
    border-radius: 0.75rem;
    background: #e8f6ee;
    color: #146c43;
}

.apply-paid span {
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: #157347;
    color: #fff;
    font-weight: 800;
}

.apply-paid p {
    margin: 0.15rem 0 0;
}

.apply-submit {
    padding-top: 0.15rem;
}

.apply-form .btn-primary:disabled,
.btn-primary:disabled {
    background: #cbb8de;
    cursor: not-allowed;
}

.apply-success {
    padding: 1.4rem 0.2rem 0.5rem;
    text-align: center;
}

.apply-success-mark {
    display: grid;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    margin: 0 auto 0.9rem;
    border-radius: 999px;
    background: #157347;
    color: #fff;
    font-size: 1.3rem;
}

.apply-success h2 {
    margin: 0.2rem 0 0.7rem;
    font-size: 1.8rem;
}

.apply-note a {
    color: #51197E;
    font-weight: 700;
}

@media (min-width: 720px) {
    .apply-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .apply-span {
        grid-column: 1 / -1;
    }

    .apply-profile {
        grid-template-columns: 148px minmax(0, 1fr);
        align-items: center;
    }

    .apply-photo-frame {
        margin: 0;
    }

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

    .apply-steps li {
        font-size: 0.86rem;
    }
}

@media (min-width: 980px) {
    .apply-layout {
        grid-template-columns: 19.5rem minmax(0, 1fr);
        align-items: start;
        gap: 1.8rem;
    }

    .apply-card {
        position: sticky;
        top: 1.15rem;
    }

    .apply-sheet {
        padding: 2.1rem 2.15rem 1.8rem;
    }

    .apply-profile {
        grid-template-columns: 148px minmax(0, 1fr);
        gap: 1.5rem 1.9rem;
    }
}

.admin-pill.is-pending {
    background: #f7e7b0;
    color: #6a4b00;
}

.admin-pill.is-rejected {
    background: #fde8ee;
    color: #9b1c3a;
}

.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1rem;
}

.admin-filter {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.8rem;
    border: 1px solid #ece4f2;
    border-radius: 999px;
    background: #fff;
    color: #51197E;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-filter.is-active,
.admin-filter:hover {
    background: #51197E;
    border-color: #51197E;
    color: #fff;
}

.admin-detail {
    display: grid;
    gap: 1.4rem;
}

.admin-detail-aside .btn-primary {
    display: inline-flex;
    margin-top: 0.7rem;
}

.admin-facts {
    margin: 0;
}

.admin-facts div {
    padding: 0.85rem 0;
    border-top: 1px solid #ece7f1;
}

.admin-facts dt {
    color: #51197E;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-facts dd {
    margin: 0.2rem 0 0;
    color: #1b1224;
    font-weight: 600;
}

.admin-pay-card {
    margin-top: 1.1rem;
    padding: 1.1rem 1.15rem 1rem;
    background: #fff;
    border: 1px solid #ece4f2;
    border-radius: 1rem;
}

.admin-pay-card h2 {
    margin: 0.15rem 0 0.6rem;
    font-size: 1.2rem;
}

.admin-decision {
    display: grid;
    gap: 1rem;
    margin-top: 1.3rem;
}

.admin-reject-form label {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.7rem;
    color: #1b1224;
    font-size: 0.88rem;
    font-weight: 700;
}

.admin-reject-form textarea {
    width: 100%;
    border: 1px solid #d8cfe3;
    padding: 0.7rem 0.8rem;
}

.admin-reject-form .is-danger,
.admin-ghost.is-danger {
    color: #9b1c3a;
    border-color: #f0c8d4;
}

@media (min-width: 900px) {
    .admin-detail {
        grid-template-columns: 16rem minmax(0, 1fr);
        align-items: start;
    }
}

@media (min-width: 840px) {
    .login-card {
        grid-template-columns: 1fr 1fr;
        height: min(520px, calc(100dvh - 2rem));
    }

    .login-brand {
        padding: 1.6rem 1.7rem 1.45rem;
    }

    .login-panel {
        padding: 1.8rem 2rem 1.5rem;
    }
}
