.navbar-nav > li.active > a,
.megaj.active {
    color: #007bff;
    font-weight: bold;
}

.d-none {
    display: none;
}

.a11y-live-region {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

a:focus,
button:focus,
input:focus {
    outline: 3px solid #005fcc !important;
    outline-offset: 2px;
}

button {
    cursor: pointer;
}

.language-toggle {
    background: transparent;
    border: 0;
    padding: 0;
    color: #76B0F9;
    font: inherit;
}

.accessibility-control {
    background: transparent;
    border: 0;
    padding: 0 3px;
    font: inherit;
    cursor: pointer;
}

.accessibility-control.dark-control {
    background: #000;
    color: #fff;
    padding: 1px 4px;
    border: 1px solid #000;
}

.accessibility-control.light-control {
    background: #fff;
    color: #000;
    padding: 1px 4px;
    border: 1px solid #000;
}

.search-btn {
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
}

.mega-menu-fullwidth:not(.open) > .dropdown-menu {
    display: none;
}

.mega-menu-fullwidth.open > .dropdown-menu {
    display: block;
}

.search-open {
    display: none;
}

.search-open.open {
    display: block;
}

.languages {
    display: none;
}

li.open > .languages {
    display: block;
}

@media print {
    @page {
        size: A4;
        margin: 15mm;
    }

    html,
    body {
        width: 210mm;
        margin: 0;
        padding: 0;
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt;
    }

    header,
    footer,
    nav,
    .navbar,
    .sidebar,
    .breadcrumb,
    .no-print,
    .print-hide,
    button,
    .btn,
    form {
        display: none !important;
    }

    .container,
    .container-fluid,
    .main-content,
    .content,
    .page-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    table {
        width: 100% !important;
        border-collapse: collapse;
        page-break-inside: auto;
    }

    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    th,
    td {
        border: 1px solid #000 !important;
        padding: 5px !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
    }

    .print-block,
    .card,
    .article,
    .content-section {
        page-break-inside: avoid;
    }

    a {
        color: #000 !important;
        text-decoration: none !important;
    }

    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    padding: 0 20px;
}

.logo-item img {
    height: 135px;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-track:hover {
    animation-play-state: paused;
}

.nise-x-feed {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.nise-x-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.nise-x-head h2 {
    margin: 0;
    font-size: 22px;
    text-transform: uppercase;
    display: inline-block;
    font-weight: 500;
}

.nise-x-nav {
    display: flex;
    gap: 8px;
}

.nise-x-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.nise-x-btn:hover {
    background: #f2f2f2;
}

.nise-x-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
}

.nise-x-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.nise-x-card iframe {
    display: block;
    width: 100%;
    height: 620px;
    border: 0;
}

.nise-x-follow {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 480px) {
    .nise-x-card {
        flex-basis: 85vw;
    }
}
