.uni-body a,
.uni-body a:hover,
.uni-body a:focus,
.uni-body a:visited {
    text-decoration: none !important;
}

.uc-navbar-nav,
.site-menu-item a,
.site-menu-item button,
.site-mobile-menu a,
.site-mobile-menu button,
.uc-navbar-right,
.uc-navbar-left {
    font-family: "Barlow Semi Condensed", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.uc-navbar-nav > li > a,
.site-menu-item > a,
.site-mobile-menu > li > a {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.category-news-panel {
    overflow: hidden;
    border: 1px solid rgb(17 24 39 / 0.12);
    background: rgba(255, 255, 255, 0.8);
}

.category-news-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    border-bottom: 1px solid rgb(17 24 39 / 0.12);
    background: #f7f7f7;
}

.category-news-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0.8rem 1rem;
    border-right: 1px solid rgb(17 24 39 / 0.12);
    color: #171717;
    font-family: "Barlow Semi Condensed", "Segoe UI", Arial, sans-serif;
    font-size: clamp(1.05rem, 1.4vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.category-news-tab:last-child {
    border-right: none;
}

.category-news-tab.is-active,
.category-news-tab:hover {
    color: #ffffff;
    background: linear-gradient(180deg, #2d53ff 0%, #1b4cff 100%);
}

.category-news-list {
    display: block;
    background: rgba(255, 255, 255, 0.65);
}

.category-news-item {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgb(17 24 39 / 0.12);
    background: rgba(255, 255, 255, 0.1);
}

.category-news-item:last-child {
    border-bottom: none;
}

.category-news-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 160px;
    background: #e7eaf3;
    border-radius: 0.25rem;
}

.category-news-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.category-news-badge {
    position: absolute;
    left: 0.3rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.2rem 0.7rem;
    background: linear-gradient(180deg, #ff4d4d, #e13636);
    color: #fff;
    font-family: "Barlow Semi Condensed", "Segoe UI", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transform: skew(-14deg);
    box-shadow: 0 6px 18px rgb(225 54 54 / 0.35);
}

.category-news-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.category-news-title {
    margin: 0;
    font-size: clamp(1.1rem, 1.8vw, 1.7rem);
    line-height: 1.4;
    font-weight: 700;
    color: #0f172a;
    font-family: "Barlow Semi Condensed", "Segoe UI", Arial, sans-serif;
}

.category-news-title a {
    color: inherit;
}

.category-news-meta {
    margin-top: 0.65rem;
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 600;
}

.category-news-empty {
    padding: 2rem 1.5rem;
    text-align: center;
    color: #4b5563;
}

@media (max-width: 767.98px) {
    .category-news-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-news-tab {
        min-height: 48px;
        border-right: 1px solid rgb(17 24 39 / 0.12);
        border-bottom: 1px solid rgb(17 24 39 / 0.12);
        font-size: 1rem;
    }

    .category-news-item {
        grid-template-columns: 1fr;
    }
}

.home-slider-media {
    position: relative;
    overflow: hidden;
}

.home-slider-media > a {
    display: block;
}

.home-slider-media img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.site-search-form {
    position: absolute;
    z-index: 10;
    top: calc(100% + 0.5rem);
    right: 0;
    display: flex;
    width: min(320px, calc(100vw - 2rem));
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 15%);
}

.uc-header .uc-navbar-container,
.uc-header .uc-navbar-container::before,
.uc-header .uc-navbar-container::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

.uc-header .uc-navbar-container {
    box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.08);
}

.uc-header.uc-sticky-fixed.uc-sticky-below {
    transform: none !important;
}

@media (min-width: 992px) {
    .uc-header .uc-navbar-container {
        min-height: 80px;
    }

    .block-slider.block-slider-miniposts {
        margin-top: 0;
    }

    .game-promotion-section {
        margin-top: 0.5rem !important;
    }

    .alert.alert-info {
        margin-top: 0.5rem !important;
    }
}

.site-search-form[hidden] {
    display: none;
}

.uc-navbar-right {
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

.uni-body :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #2757fd;
    outline-offset: 3px;
}

.post-content :is(img, iframe, video, embed, object) {
    max-width: 100%;
}

.post-content iframe,
.post-content video {
    height: auto;
    aspect-ratio: 16 / 9;
}

.site-footer {
    color: #d5dce5;
    background: #111315;
}

.site-footer .footer-outer {
    background: url(../images/web/common/bgfot.png) rgb(2, 62, 93);
}

@media (min-width: 992px) {
    .site-footer .footer-outer > .container {
        max-width: 85vw !important;
    }
}

.site-footer-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.site-footer-brand h2 {
    margin: 0;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.site-footer-columns {
    display: grid;
    grid-template-columns: 1.25fr 1.15fr 1fr;
    gap: 1.25rem 2rem;
}

.site-footer-column {
    min-width: 0;
}

.site-footer-column h3 {
    margin: 0 0 1rem;
    color: #f05a4f;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.site-footer-content {
    color: #d5dce5;
    font-size: 1rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.site-footer-content p {
    position: relative;
    margin: 0 0 0.85rem;
    padding-left: 0;
}

.site-footer-content,
.site-footer-content * {
    text-align: left !important;
    line-height: 1.65 !important;
    text-justify: none !important;
}

.site-footer-content p > .bi {
    margin-right: 0.35rem;
    color: #f05a4f;
}

.site-footer-content a {
    color: #c5d0dc;
}

.site-footer-content a:hover {
    color: #fff;
    text-decoration: underline !important;
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.site-footer-legal a,
.site-footer-legal span {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0;
    color: #ff4d4f;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.site-footer-legal a:hover {
    color: #ff7875;
    text-decoration: underline !important;
}

@media (max-width: 767.98px) {
    .site-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .site-footer-column:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .site-footer-legal {
        gap: 0.65rem 1rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 479.98px) {
    .site-footer-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .site-footer-column:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .site-footer-legal a,
    .site-footer-legal span {
        min-height: 48px;
        font-size: 0.75rem;
    }

    .site-footer-content {
        font-size: 0.95rem;
    }
}

.subscription-package-image {
    overflow: hidden;
    background: linear-gradient(135deg, #2757fd, #7048e8);
}

.subscription-package-image:has(.subscription-package-image-placeholder) {
    aspect-ratio: 16 / 9;
}

.subscription-package-image img {
    display: block;
    width: 100%;
    height: auto;
}

.subscription-package-image-placeholder {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
}

.subscription-package-image-placeholder i {
    font-size: 1.5em;
}

.package-info-trigger {
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    line-height: 1;
}

.subscription-package-details {
    overflow-wrap: anywhere;
}

.subscription-package .card-body {
    min-width: 0;
}

.subscription-package .card-body p,
.subscription-package .card-body li,
.subscription-package .card-body p > span,
.subscription-package .card-body li > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.subscription-package-details p,
.subscription-package-details li {
    overflow-wrap: anywhere;
}

.subscription-payment .border {
    min-width: 0;
    overflow-wrap: anywhere;
}

.subscription-package-details img,
.subscription-qr-image {
    max-width: 100%;
    height: auto;
}

.subscription-qr-image {
    width: min(100%, 240px);
}

.package-info-modal .modal-content,
.package-register-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 20%);
}

.package-info-modal .modal-dialog {
    width: min(1000px, calc(100% - 2rem));
    max-width: 1000px;
    margin: 1.25rem auto;
}

.package-info-modal .modal-content {
    max-height: calc(100vh - 2rem);
}

.package-info-modal .modal-dialog-scrollable {
    height: auto;
}

.package-info-modal .modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 8.5rem);
    overflow-y: auto;
    padding: 0.9rem 1rem 1rem;
    scrollbar-width: thin;
}

.package-info-summary {
    margin-bottom: 0.75rem;
    line-height: 1.35;
    font-size: 1.05rem;
}

.package-info-modal .subscription-package-details {
    margin-top: 0.5rem;
    padding: 0.75rem 0.85rem;
}

.package-info-modal .subscription-package-details p,
.package-info-modal .subscription-package-details li,
.package-info-modal .subscription-package-details ul,
.package-info-modal .subscription-package-details ol {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.45;
    font-size: 0.96rem;
}

.package-info-modal .subscription-package-details h3,
.package-info-modal .subscription-package-details h4,
.package-info-modal .subscription-package-details h5,
.package-info-modal .subscription-package-details h6 {
    margin-top: 0.5rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.package-info-modal .subscription-payment {
    padding-bottom: 0.25rem;
}

.package-info-modal .subscription-payment .border {
    padding-bottom: 0.75rem !important;
}

.package-info-modal .subscription-payment .btn {
    margin-bottom: 0.15rem;
}

.package-register-modal .modal-dialog {
    width: min(480px, calc(100% - 2rem));
    max-width: 480px;
    margin: 1.5rem auto;
}

.package-info-modal .modal-header,
.package-register-modal .modal-header {
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid rgb(0 0 0 / 8%);
    background: linear-gradient(120deg, #f1f7ff, #f4fcff);
}

.package-info-modal .modal-body,
.package-register-modal .modal-body {
    padding: 1rem 1.1rem;
}

.package-sms-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.package-sms-option {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border: 1px solid #e3e8ef;
    border-radius: 0.5rem;
    background: #f8fafc;
}

.package-sms-option code {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #173b83;
    font-size: 0.95rem;
    font-weight: 700;
}

.package-sms-copy-button {
    flex-shrink: 0;
    white-space: nowrap;
}

.package-sms-copy-button.is-copied {
    color: #fff;
    border-color: #198754;
    background: #198754;
}

.package-sms-copy-status:empty {
    display: none;
}

.package-sms-copy-status.is-error {
    color: #b02a37;
}

@media (max-width: 575.98px) {
    .package-info-modal .modal-dialog,
    .package-register-modal .modal-dialog {
        width: calc(100% - 1.5rem);
        margin: 0.75rem auto;
    }

    .package-info-modal .modal-content {
        max-height: calc(100vh - 1.5rem);
    }

    .package-info-modal .modal-dialog-scrollable .modal-body {
        max-height: calc(100vh - 8rem);
        padding: 1rem 1rem 1.5rem;
    }

    .package-register-modal .modal-body {
        padding: 1rem;
    }

    .package-sms-intro {
        font-size: 0.9rem;
    }

    .package-sms-options {
        gap: 0.4rem;
    }

    .package-sms-option {
        padding: 0.4rem 0.45rem;
    }

    .package-sms-option code {
        font-size: 0.85rem;
    }

    .package-sms-copy-button {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 359.98px) {
    .package-sms-options {
        grid-template-columns: minmax(0, 1fr);
    }
}

.game-promotion-carousel {
    position: relative;
    padding: 0 0 1.5rem;
}

.game-promotion-slides {
    display: grid;
}

.game-promotion-slide {
    grid-area: 1 / 1;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}

.game-promotion-slide:first-child {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.game-promotion-slide.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.game-promotion-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 360px) 140px;
    grid-template-areas: "logo actions topup";
    grid-template-rows: auto;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 0.15rem 0.35rem;
    width: 100%;
    max-width: 820px;
    min-height: 190px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    border: 1px solid rgb(39 87 253 / 15%);
    border-radius: 0.75rem;
    background: linear-gradient(120deg, #dff5ff, #f4fcff 55%, #dcf8ed);
}

.game-promotion-logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
}

.game-promotion-logo img {
    display: block;
    width: min(100%, 124px);
    height: 124px;
    object-fit: contain;
}

.game-promotion-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 0.25rem 0.35rem;
    min-width: 0;
}

.game-promotion-downloads {
    display: contents;
}

.game-promotion-link {
    display: flex;
    min-width: 0;
    justify-content: center;
}

.game-promotion-link.is-disabled,
.game-promotion-topup.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.game-promotion-link img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.game-promotion-link-google-play {
    grid-column: 1;
    grid-row: 1;
}

.game-promotion-link-app-store {
    grid-column: 1;
    grid-row: 2;
}

.game-promotion-link-apk {
    grid-column: 2;
    grid-row: 1;
}

.game-promotion-link-fanpage {
    grid-column: 2;
    grid-row: 2;
}

.game-promotion-topup {
    grid-area: topup;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.game-promotion-topup.is-disabled {
    pointer-events: none;
}

.game-promotion-topup img {
    display: block;
    width: min(100%, 124px);
    height: 124px;
    object-fit: contain;
}

.game-promotion-cta {
    display: contents;
}

.game-promotion-register {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.game-promotion-register img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.game-promotion-register:hover img,
.game-promotion-register:focus-visible img {
    filter: brightness(1.12);
    transform: translateY(-1px);
}



.site-content-image-preview {
    display: block;
    max-width: min(100%, 360px);
    max-height: 200px;
    object-fit: contain;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background: #f8f9fa;
}

.game-promotion-pagination {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.game-promotion-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b8c2cc;
    cursor: pointer;
}

.game-promotion-dot.is-active {
    width: 20px;
    border-radius: 6px;
    background: var(--color-primary, #2757fd);
}

.game-promotion-navigation {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.game-promotion-navigation button {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgb(39 87 253 / 80%);
    cursor: pointer;
    pointer-events: auto;
}

@media (max-width: 575.98px) {
    .game-promotion-navigation {
        position: static;
        justify-content: center;
        gap: 1rem;
        margin-top: 0.75rem;
        transform: none;
    }

    .game-promotion-navigation button {
        width: 32px;
        height: 32px;
    }

    .game-promotion-card {
        grid-template-columns: 78px minmax(0, 1fr) 60px;
        grid-template-rows: auto;
        grid-template-areas: "logo actions topup";
        align-items: center;
        gap: 0.05rem 0.35rem;
        min-height: 0;
        padding: 0.5rem 0.65rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .game-promotion-card > * {
        min-width: 0;
        max-width: 100%;
    }

    .game-promotion-logo img {
        width: 72px;
        height: 72px;
    }

    .game-promotion-link img {
        max-width: 132px;
        height: auto;
    }

    .game-promotion-topup img {
        width: 56px;
        height: 56px;
    }

    .game-promotion-register img {
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .game-promotion-card {
        grid-template-columns: 96px minmax(0, 1fr) 72px;
        gap: 0.35rem;
        padding: 0.75rem;
    }

    .game-promotion-logo img {
        width: 88px;
        height: 88px;
    }

    .game-promotion-topup img {
        width: 68px;
        height: 120px;
    }
}

.site-menu-item {
    position: relative;
}

/* Keep menu text fully opaque and crisp (theme dims it on hover) */
.uc-navbar-nav > li > a,
.uc-navbar-nav > li:hover > a,
.uc-navbar-nav:hover > li > a,
.site-menu-children a,
.site-mobile-menu a {
    opacity: 1 !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.uc-navbar-nav {
    font-size: clamp(1.125rem, 1.45vw, 1.375rem);
}

.uc-navbar-nav > li > a {
    color: inherit;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.uc-navbar-nav > li:hover > a,
.uc-navbar-nav > li > a:focus-visible {
    color: var(--color-primary, #2757fd) !important;
}

.site-menu-item.has-submenu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-age-warning {
    position: fixed;
    z-index: 1000;
    top: 6rem;
    left: 1rem;
    display: block;
    width: 150px;
    height: 90px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .site-age-warning {
        display: none;
    }
}

.site-age-badge {
    display: none;
}

@media (max-width: 767.98px) {
    .uc-navbar-right {
        align-items: center;
    }

    .site-age-badge {
        display: block;
        width: auto;
        height: 2.625rem;
        max-width: 4.5rem;
        flex: 0 0 auto;
        object-fit: contain;
    }
}

.uc-menu-trigger {
    width: 2.5rem;
    height: 2.5rem;
    gap: 4px;
    border: 1px solid rgb(0 0 0 / 15%);
    border-radius: 0.5rem;
}

.uc-menu-trigger::before,
.uc-menu-trigger::after,
.uc-menu-trigger-bar {
    display: block;
    width: 1.125rem;
    height: 2px;
    margin: 0;
    border-radius: 1px;
    background-color: currentColor;
    transition: transform 0.2s ease-in, opacity 0.2s ease-in;
}

.uc-menu-trigger[aria-expanded="true"]::before {
    transform: translateY(6px) rotate(45deg);
}

.uc-menu-trigger[aria-expanded="true"]::after {
    transform: translateY(-6px) rotate(-45deg);
}

.uc-menu-trigger[aria-expanded="true"] .uc-menu-trigger-bar {
    opacity: 0;
}

.dark .uc-menu-trigger {
    border-color: rgb(255 255 255 / 25%);
}

.single-post .post-content p:first-child::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    margin-right: 0;
}

.site-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0.25rem;
    color: inherit;
    background: transparent;
    cursor: pointer;
    transition: transform 150ms ease, background-color 150ms ease;
}

.site-menu-children {
    display: none;
    z-index: 1000;
    min-width: 12rem;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    color: #0f172a;
    background: var(--bs-white, #fff);
    box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 12%);
}

.uc-navbar-nav .site-menu-item.is-open > .site-menu-children,
.uc-navbar-nav .site-menu-item:focus-within > .site-menu-children,
.uc-navbar-nav .site-menu-item:hover > .site-menu-children,
.uc-offcanvas-bar .site-menu-item.is-open > .site-menu-children {
    display: block;
}

.uc-navbar-nav .site-menu-children {
    position: absolute;
    top: 100%;
    left: 0;
}

.site-menu-children a {
    display: block;
    padding: 0.5rem 1rem;
    color: #0f172a;
    white-space: nowrap;
}

.uc-offcanvas-bar .site-menu-item.has-submenu {
    display: grid;
    grid-template-columns: 1fr auto;
}

.uc-offcanvas-bar {
    width: min(22rem, calc(100vw - 2.5rem));
    padding: 1.25rem 1rem 1rem;
    border-radius: 0 1.25rem 1.25rem 0;
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 22%);
}

.uc-offcanvas-header {
    min-height: 3.75rem;
    margin: -1.25rem -1rem 1rem;
    padding: 1.25rem 1rem 1rem;
    border-bottom: 1px solid rgb(0 0 0 / 9%);
}

.uc-offcanvas-header {
    position: relative;
    justify-content: center !important;
}

.uc-offcanvas-header .uc-offcanvas-close {
    position: absolute;
    top: 1rem;
    right: 0.75rem;
}

.site-offcanvas-logo {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
}

.site-offcanvas-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 4rem;
    object-fit: contain;
}

.site-mobile-navigation {
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.125rem;
}

.site-mobile-menu {
    gap: 0.625rem;
}

.site-mobile-menu:hover a,
.site-mobile-menu a {
    opacity: 1;
}

.uc-offcanvas-bar .site-mobile-menu > .site-menu-item {
    overflow: hidden;
    border: 1px solid rgb(0 0 0 / 8%);
    border-radius: 0.875rem;
    background: #fff;
    box-shadow: 0 0.125rem 0.5rem rgb(15 23 42 / 5%);
}

.uc-offcanvas-bar .site-mobile-menu > .site-menu-item > a {
    display: flex;
    min-width: 0;
    min-height: 3.5rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0 0.75rem 0.875rem;
    color: inherit;
}

.site-mobile-menu-icon {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    color: #2757fd;
    background: rgb(39 87 253 / 10%);
    font-size: 1.1rem;
}

.uc-offcanvas-bar .site-mobile-menu > .site-menu-item > a > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-offcanvas-bar .site-menu-toggle {
    grid-column: 2;
    grid-row: 1;
    width: 3.5rem;
    min-height: 3.5rem;
    border-left: 1px solid rgb(0 0 0 / 8%);
}

.uc-offcanvas-bar .site-menu-item.is-open > .site-menu-toggle {
    transform: rotate(180deg);
    background: rgb(39 87 253 / 10%);
}

.uc-offcanvas-bar .site-menu-item.is-open {
    border-color: rgb(39 87 253 / 24%);
    box-shadow: 0 0.375rem 1rem rgb(39 87 253 / 10%);
}

.uc-offcanvas-bar .site-menu-children {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    min-width: 0;
    margin: 0 0.625rem 0.625rem;
    padding: 0.375rem;
    border-radius: 0.5rem;
    background: rgb(0 0 0 / 4%);
    box-shadow: none;
}

.uc-offcanvas-bar .site-menu-children a {
    min-height: 2.75rem;
    padding: 0.625rem 0.75rem 0.625rem 1rem;
    border-radius: 0.375rem;
    white-space: normal;
}

.uc-offcanvas-bar .site-menu-children a:hover,
.uc-offcanvas-bar .site-menu-children a:focus-visible {
    background: rgb(39 87 253 / 10%);
}

.dark .site-menu-children {
    color: #f8fafc;
    background: #111827;
    border: 1px solid rgb(255 255 255 / 10%);
}

.dark .site-menu-children a {
    color: #f8fafc;
}

.dark .site-menu-children a:hover,
.dark .site-menu-children a:focus-visible {
    color: #fff;
    background: rgb(255 255 255 / 8%);
}

.dark .uc-offcanvas-header,
.dark .uc-offcanvas-bar .site-mobile-menu > .site-menu-item,
.dark .uc-offcanvas-bar .site-menu-toggle {
    border-color: rgb(255 255 255 / 12%);
}

.dark .uc-offcanvas-bar .site-mobile-menu > .site-menu-item,
.dark .uc-offcanvas-bar .site-menu-children {
    background: rgb(255 255 255 / 6%);
}

.dark .uc-offcanvas-bar .site-menu-children a {
    color: #f8fafc;
}

.dark .site-mobile-menu-icon {
    color: #8eacff;
    background: rgb(142 172 255 / 14%);
}

@media (max-width: 575.98px) {
    .uc-navbar-right {
        position: static;
    }

    .site-search-form {
        top: calc(100% + 0.25rem);
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
    }

    .site-search-form .form-control {
        min-width: 0;
    }
}

.site-toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    z-index: 2000;
    max-width: calc(100% - 2rem);
    padding: 0.7rem 1.1rem;
    border-radius: 0.5rem;
    color: #fff;
    background: rgb(20 20 30 / 92%);
    font-size: 0.95rem;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0.75rem);
    transition: opacity 0.2s, transform 0.2s;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.site-popup .modal-content {
    color: #222;
    background: #fff;
}

.site-popup .modal-title {
    width: 100%;
    text-align: center;
    color: #d6001c;
}

.site-popup-table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.site-popup-table td {
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
}

.site-popup-table .site-popup-check {
    width: 3.5rem;
    text-align: center;
}

.site-popup-table label {
    display: block;
    cursor: pointer;
}

.site-popup-agree {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding-left: 0;
}

.site-popup-agree .form-check-input {
    float: none;
    margin: 0.25rem 0 0;
    flex-shrink: 0;
}

.site-popup-skip,
.site-popup-accept {
    min-width: 7rem;
    font-weight: 700;
    border-radius: 0.4rem;
}

.site-popup-skip {
    color: #222;
    background: #ffc107;
}

.site-popup-accept {
    color: #fff;
    background: #d6001c;
}

.site-popup-accept:disabled {
    background: #9e9e9e;
    border-color: #9e9e9e;
}

.site-popup-hint,
.site-popup-warning {
    display: block;
    margin-top: 0.25rem;
    color: #dc3545;
    font-size: 0.875rem;
    font-weight: 600;
}

.site-popup-hint[hidden],
.site-popup-warning[hidden] {
    display: none;
}
