/**
 * Template Portal - Styles
 * Forked from government base styles with portal-specific polish.
 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Portal Theme Palette */
    --theme-menu-bg-start: #0f172a;
    --theme-menu-bg-end: #1e293b;
    --theme-menu-text: #ffffff;
    --theme-menu-hover-text: #38bdf8; /* Sky 400 */
    --theme-submenu-bg-start: #ffffff;
    --theme-submenu-bg-end: #f8fafc;
    --theme-submenu-text: #334155;
    --theme-submenu-hover-text: #0ea5e9;

    --theme-footer-bg-start: #0f172a;
    --theme-footer-bg-end: #020617;   /* Slate 950 */
    --theme-footer-text: #cbd5e1;     /* Slate 300 */
    --theme-footer-link: #e2e8f0;     /* Slate 200 */
    --theme-footer-link-hover: #38bdf8;

    --theme-heading-size-base: 32px;
    --theme-body-size: 16px;
    --theme-heading-font-stack: 'Inter', system-ui, sans-serif;
    --theme-body-font-stack: 'Inter', system-ui, sans-serif;

    --color-primary: #2563eb;
    --color-accent: #0f766e;

    --portal-primary: #1d4ed8;
    --portal-primary-deep: #1e3a8a;
    --portal-primary-soft: #dbeafe;
    --portal-secondary: #0f766e;
    --portal-surface: #ffffff;
    --portal-surface-muted: #f8fafc;
    --portal-border: #e2e8f0;
    --portal-border-strong: rgba(148, 163, 184, 0.24);
    --portal-text: #0f172a;
    --portal-text-soft: #475569;
    --portal-shadow: 0 30px 80px -48px rgba(15, 23, 42, 0.4);
}

/* Service Card Styles */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}
.dark .service-card {
    border-color: #334155;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--color-primary);
}

/* Base */
body {
    font-family: var(--theme-body-font-stack);
    font-size: var(--theme-body-size);
    line-height: 1.75;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
    font-family: var(--theme-heading-font-stack) !important;
}

main h1 { font-size: calc(var(--theme-heading-size-base) * 1.12) !important; }
main h2 { font-size: calc(var(--theme-heading-size-base) * 1.00) !important; }
main h3 { font-size: calc(var(--theme-heading-size-base) * 0.82) !important; }
main h4 { font-size: calc(var(--theme-heading-size-base) * 0.72) !important; }
main h5 { font-size: calc(var(--theme-heading-size-base) * 0.62) !important; }
main h6 { font-size: calc(var(--theme-heading-size-base) * 0.55) !important; }

#themeMainNav {
    background: linear-gradient(90deg, var(--theme-menu-bg-start), var(--theme-menu-bg-end)) !important;
    color: var(--theme-menu-text) !important;
}

#themeMainNav .theme-menu-link,
#themeMainNav .theme-menu-link svg {
    color: var(--theme-menu-text) !important;
}

#themeMainNav .theme-menu-link:hover,
#themeMainNav .theme-menu-link:hover svg {
    color: var(--theme-menu-hover-text) !important;
}

.theme-submenu-container,
.theme-submenu-panel {
    background: linear-gradient(180deg, var(--theme-submenu-bg-start), var(--theme-submenu-bg-end)) !important;
}

.theme-submenu-link {
    color: var(--theme-submenu-text) !important;
}

.theme-submenu-link:hover {
    color: var(--theme-submenu-hover-text) !important;
}

#themeFooter {
    background: linear-gradient(135deg, var(--theme-footer-bg-start), var(--theme-footer-bg-end)) !important;
    color: var(--theme-footer-text) !important;
}

#themeFooter p,
#themeFooter span,
#themeFooter h1,
#themeFooter h2,
#themeFooter h3,
#themeFooter h4,
#themeFooter h5,
#themeFooter h6 {
    color: var(--theme-footer-text) !important;
}

#themeFooter a {
    color: var(--theme-footer-link) !important;
}

#themeFooter a:hover {
    color: var(--theme-footer-link-hover) !important;
}

/* Hide scrollbar */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Breaking news animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    animation: marquee 30s linear infinite;
}
.animate-marquee:hover {
    animation-play-state: paused;
}

/* Mobile menu states */
.mobile-menu-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    backdrop-filter: blur(1px);
}
.mobile-menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-drawer {
    transform: translate3d(-105%, 0, 0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
    will-change: transform, opacity;
}
.mobile-menu-drawer.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    pointer-events: auto;
}

body.mobile-menu-lock {
    overflow: hidden;
    touch-action: none;
}

.mobileSubmenuPanel {
    opacity: 0.98;
    will-change: max-height;
}
.mobileSubmenuPanel.is-open {
    opacity: 1;
}

.mobileDrawerSubmenuPanel {
    background: #eef2f7;
}
.dark .mobileDrawerSubmenuPanel {
    background: #0f172a;
}

.mobileDrawerSubmenuLink {
    color: #334155;
}
.mobileDrawerSubmenuLink:hover {
    color: #0f172a;
    background: rgba(148, 163, 184, 0.18);
}
.dark .mobileDrawerSubmenuLink {
    color: #e2e8f0;
}
.dark .mobileDrawerSubmenuLink:hover {
    color: #ffffff;
    background: rgba(71, 85, 105, 0.45);
}

.mobileMenuQuickLink {
    line-height: 1.3;
}

/* Sticky header state */
#themeHeader.is-scrolled {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}
.dark #themeHeader.is-scrolled {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

/* Homepage statistics compact layout */
#homeStatistikSection .home-stat-shell {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

#homeStatistikSection .home-stat-header {
    align-items: flex-start;
}

#homeStatistikSection .home-stat-title {
    letter-spacing: 0.03em;
    line-height: 1.2;
}

#homeStatistikSection .home-stat-subtitle,
#homeStatistikSection .home-stat-idsd-caption,
#homeStatistikSection .home-stat-idsd-source {
    line-height: 1.35;
}

#homeStatistikSection .home-stat-source {
    line-height: 1.2;
}

#homeStatistikSection .home-stat-content > * + * {
    margin-top: 0.9rem;
}

#homeStatistikSection .home-stat-grid {
    align-items: start;
}

#homeStatistikSection .home-stat-card {
    align-self: start;
    padding: 0.72rem;
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.09);
}

#homeStatistikSection .home-stat-card__header {
    gap: 0.5rem;
}

#homeStatistikSection .home-stat-card__icon {
    position: relative;
    overflow: hidden;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 14px rgba(15, 23, 42, 0.12);
}

#homeStatistikSection .home-stat-card__icon::before,
#homeStatistikSection .home-stat-idsd-card__icon::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02));
}

#homeStatistikSection .home-stat-card__icon::after,
#homeStatistikSection .home-stat-idsd-card__icon::after {
    content: "";
    position: absolute;
    top: -18%;
    right: -14%;
    width: 62%;
    height: 62%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(6px);
}

#homeStatistikSection .home-stat-card__icon svg {
    position: relative;
    z-index: 1;
    width: 0.88rem;
    height: 0.88rem;
}

#homeStatistikSection .home-stat-card__eyebrow {
    font-size: 0.57rem;
    letter-spacing: 0.07em;
    line-height: 1.15;
}

#homeStatistikSection .home-stat-card__value-row {
    margin-top: 0.2rem;
    gap: 0.15rem 0.45rem;
}

#homeStatistikSection .home-stat-card__value {
    font-size: 0.98rem;
}

#homeStatistikSection .home-stat-card__unit,
#homeStatistikSection .home-stat-card__label,
#homeStatistikSection .home-stat-card__extra {
    font-size: 0.58rem;
    line-height: 1.15;
}

#homeStatistikSection .home-stat-card__extra {
    white-space: nowrap;
}

#homeStatistikSection .home-stat-card__footer {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
}

#homeStatistikSection .home-stat-card__subgrid {
    gap: 0.3rem 0.55rem;
}

#homeStatistikSection .home-stat-card__meta {
    min-width: 0;
    line-height: 1.1;
}

#homeStatistikSection .home-stat-card__meta--right {
    justify-self: end;
}

#homeStatistikSection .home-stat-card__subvalue {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
    white-space: nowrap;
}

#homeStatistikSection .home-stat-card__progress {
    margin-top: 0.45rem;
    height: 0.24rem;
}

#homeStatistikSection .home-stat-idsd {
    padding: 0.85rem;
}

#homeStatistikSection .home-stat-idsd-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(10.25rem, 1fr);
    gap: 0.55rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#homeStatistikSection .home-stat-idsd-grid::-webkit-scrollbar {
    display: none;
}

#homeStatistikSection .home-stat-idsd-card {
    padding: 0.7rem;
    min-width: 0;
    scroll-snap-align: start;
}

#homeStatistikSection .home-stat-idsd-card__body {
    gap: 0.55rem;
}

#homeStatistikSection .home-stat-idsd-card__label {
    display: block;
    font-size: 0.6rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

#homeStatistikSection .home-stat-idsd-card__value {
    font-size: 1rem;
    line-height: 1.05;
}

#homeStatistikSection .home-stat-idsd-card__icon {
    position: relative;
    overflow: hidden;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 16px rgba(15, 23, 42, 0.12);
}

#homeStatistikSection .home-stat-idsd-card__icon svg {
    position: relative;
    z-index: 1;
    width: 0.9rem;
    height: 0.9rem;
}

@media (min-width: 640px) {
    #homeStatistikSection .home-stat-idsd-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-flow: row;
        grid-auto-columns: auto;
        overflow-x: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }
}

@media (min-width: 768px) {
    #homeStatistikSection .home-stat-content > * + * {
        margin-top: 1rem;
    }

    #homeStatistikSection .home-stat-card {
        padding: 0.85rem;
    }

    #homeStatistikSection .home-stat-card__icon {
        width: 2rem;
        height: 2rem;
    }

    #homeStatistikSection .home-stat-card__icon svg {
        width: 0.92rem;
        height: 0.92rem;
    }

    #homeStatistikSection .home-stat-card__eyebrow {
        font-size: 0.61rem;
    }

    #homeStatistikSection .home-stat-card__value {
        font-size: 1.3rem;
    }

    #homeStatistikSection .home-stat-card__subvalue {
        font-size: 0.76rem;
    }

    #homeStatistikSection .home-stat-idsd-card__value {
        font-size: 1.3rem;
    }
}

@media (max-width: 639px) {
    #homeStatistikSection .home-stat-shell {
        padding-top: 0.75rem;
        padding-bottom: 0.8rem;
    }

    #homeStatistikSection .home-stat-header {
        margin-bottom: 0.75rem;
        gap: 0.4rem;
    }

    #homeStatistikSection .home-stat-title {
        font-size: 0.95rem;
    }

    #homeStatistikSection .home-stat-subtitle {
        font-size: 0.68rem;
    }

    #homeStatistikSection .home-stat-source {
        padding: 0.32rem 0.65rem;
        font-size: 0.6rem;
    }

    #homeStatistikSection .home-stat-content > * + * {
        margin-top: 0.75rem;
    }

    #homeStatistikSection .home-stat-grid {
        gap: 0.5rem;
    }

    #homeStatistikSection .home-stat-card {
        padding: 0.62rem;
        border-radius: 0.85rem;
    }

    #homeStatistikSection .home-stat-card__icon {
        width: 1.6rem;
        height: 1.6rem;
        border-radius: 0.62rem;
    }

    #homeStatistikSection .home-stat-card__icon svg {
        width: 0.78rem;
        height: 0.78rem;
    }

    #homeStatistikSection .home-stat-card__value {
        font-size: 0.88rem;
    }

    #homeStatistikSection .home-stat-card__subvalue {
        font-size: 0.65rem;
    }

    #homeStatistikSection .home-stat-card__footer {
        margin-top: 0.35rem;
        padding-top: 0.35rem;
    }

    #homeStatistikSection .home-stat-card__eyebrow {
        font-size: 0.52rem;
    }

    #homeStatistikSection .home-stat-card__unit,
    #homeStatistikSection .home-stat-card__label,
    #homeStatistikSection .home-stat-card__extra {
        font-size: 0.54rem;
    }

    #homeStatistikSection .home-stat-idsd {
        padding: 0.75rem;
    }

    #homeStatistikSection .home-stat-idsd-grid {
        gap: 0.45rem;
        grid-auto-columns: minmax(9.2rem, 1fr);
    }

    #homeStatistikSection .home-stat-idsd-card {
        padding: 0.55rem;
    }

    #homeStatistikSection .home-stat-idsd-card__label {
        font-size: 0.54rem;
    }

    #homeStatistikSection .home-stat-idsd-card__value {
        font-size: 0.92rem;
    }

    #homeStatistikSection .home-stat-idsd-card__icon {
        width: 1.45rem;
        height: 1.45rem;
        border-radius: 0.55rem;
    }

    #homeStatistikSection .home-stat-idsd-card__icon svg {
        width: 0.75rem;
        height: 0.75rem;
    }
}

/* Pagination */
.pagination {
    display: flex;
}
.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    border-right: 1px solid #e5e7eb;
    transition: all 0.2s;
}
.dark .pagination a, .dark .pagination span {
    color: #9ca3af;
    border-color: #374151;
}
.pagination a:hover {
    background: #f3f4f6;
    color: #111827;
}
.dark .pagination a:hover {
    background: #374151;
    color: white;
}
.pagination .active span,
.pagination span.current {
    background: #0d9488;
    color: white;
}
.pagination a:last-child, .pagination span:last-child {
    border-right: none;
}

/* Article cards */
.article-card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.article-card:hover {
    transform: translateY(-2px);
}

/* Featured image detail page: keep fixed crop height across devices */
.featured-image-fixed {
    display: block;
    width: 100%;
    height: clamp(220px, 56.25vw, 464px);
    object-fit: cover;
    object-position: center;
}

/* Image zoom on hover */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.5s;
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Prose styles */
.prose {
    font-size: 1.1rem;
    line-height: 1.4;
}
.prose h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}
.prose h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}
.prose p {
    margin-bottom: 1.25rem;
}
.prose img {
    display: block;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}
.prose figure,
.prose .wp-caption {
    max-width: 100% !important;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
}
.prose a {
    color: #0d9488;
    text-decoration: underline;
}
.prose blockquote {
    border-left: 4px solid #0d9488;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
}
.prose ul, .prose ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
.prose ul {
    list-style-type: disc;
}
.prose ol {
    list-style-type: decimal;
}
.prose li {
    display: list-item;
    margin-bottom: 0.5rem;
}
.prose ul ul {
    list-style-type: circle;
    margin-top: 0.5rem;
}
.prose ul ul ul {
    list-style-type: square;
}
.prose ol ol {
    list-style-type: lower-alpha;
    margin-top: 0.5rem;
}
.prose ol ol ol {
    list-style-type: lower-roman;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: clamp(14px, calc(var(--theme-body-size) * 0.93), 17px);
        line-height: 1.65;
    }

    main h1 { font-size: calc(var(--theme-heading-size-base) * 0.98) !important; line-height: 1.28 !important; }
    main h2 { font-size: calc(var(--theme-heading-size-base) * 0.88) !important; line-height: 1.3 !important; }
    main h3 { font-size: calc(var(--theme-heading-size-base) * 0.76) !important; line-height: 1.35 !important; }
    main h4 { font-size: calc(var(--theme-heading-size-base) * 0.68) !important; }
    main h5 { font-size: calc(var(--theme-heading-size-base) * 0.60) !important; }
    main h6 { font-size: calc(var(--theme-heading-size-base) * 0.54) !important; }
}

@media (max-width: 640px) {
    .prose {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    .prose img {
        max-height: 62vh;
        margin: 1rem auto;
    }
    .prose figure,
    .prose .wp-caption {
        width: 100% !important;
    }
}

/* Print */
@media print {
    header, footer, nav, #backToTop, .sidebar-ad {
        display: none !important;
    }
}

/* Portal Theme */
/* Fallback utilities for custom classes used in precompiled Tailwind views */
[class*="rounded-[1.25rem]"] { border-radius: 1.25rem; }
[class*="rounded-[1.5rem]"] { border-radius: 1.5rem; }
[class*="rounded-[1.75rem]"] { border-radius: 1.75rem; }
[class*="rounded-[1.8rem]"] { border-radius: 1.8rem; }
[class*="rounded-[2rem]"] { border-radius: 2rem; }
[class*="rounded-[22px]"] { border-radius: 22px; }
[class*="rounded-[24px]"] { border-radius: 24px; }
[class*="rounded-[28px]"] { border-radius: 28px; }
[class*="rounded-r-[1.5rem]"] {
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}
[class*="rounded-bl-[100px]"] { border-bottom-left-radius: 100px; }
[class*="text-[1.05rem]"] { font-size: 1.05rem; line-height: 1.5rem; }
[class*="text-[15px]"] { font-size: 15px; line-height: 1.4; }
[class*="leading-[1.04]"] { line-height: 1.04; }
[class*="h-[190px]"] { height: 190px; }
[class*="shadow-[0_2px_10px_rgb(0,0,0,0.02)]"] { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02); }
[class*="shadow-[0_4px_20px_rgb(0,0,0,0.03)]"] { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); }
[class*="shadow-[0_24px_45px_-30px_rgba(15,23,42,0.55)]"] { box-shadow: 0 24px 45px -30px rgba(15, 23, 42, 0.55); }
[class*="bg-[#0f766e]"] { background-color: #0f766e; }
[class*="text-[#0f766e]"] { color: #0f766e; }
[class*="bg-[#1877f2]"] { background-color: #1877f2; }
[class*="bg-[#f8f8f8]"] { background-color: #f8f8f8; }

@media (min-width: 640px) {
    [class*="sm:grid-cols-[1fr_auto]"] { grid-template-columns: 1fr auto; }
    [class*="sm:text-[2rem]"] { font-size: 2rem; line-height: 2.3rem; }
}

@media (min-width: 768px) {
    [class*="md:grid-cols-[1fr_220px_auto]"] { grid-template-columns: 1fr 220px auto; }
    [class*="md:grid-cols-[1fr_220px_160px_auto]"] { grid-template-columns: 1fr 220px 160px auto; }
    [class*="md:h-[430px]"] { height: 430px; }
}

@media (min-width: 1024px) {
    [class*="lg:grid-cols-[1.15fr_0.95fr]"] { grid-template-columns: 1.15fr 0.95fr; }
    [class*="lg:grid-cols-[1.1fr_0.9fr]"] { grid-template-columns: 1.1fr 0.9fr; }
    [class*="lg:w-[45%]"] { width: 45%; }
    [class*="lg:w-[55%]"] { width: 55%; }
    [class*="lg:h-[245px]"] { height: 245px; }
    [class*="lg:min-h-[100%]"] { min-height: 100%; }
    [class*="lg:text-[4rem]"] { font-size: 4rem; line-height: 1.02; }
}

body.portal-theme-body {
    font-family: var(--theme-body-font-stack);
    font-size: var(--theme-body-size);
    color: var(--portal-text);
    background: #ffffff;
}

body.portal-theme-body main h1,
body.portal-theme-body main h2,
body.portal-theme-body main h3,
body.portal-theme-body main h4,
body.portal-theme-body main h5,
body.portal-theme-body main h6 {
    font-family: var(--theme-heading-font-stack) !important;
}

body.portal-theme-body .portal-shell {
    position: relative;
}

body.portal-theme-body .portal-main,
body.portal-theme-body #themeFooter {
    position: relative;
    overflow: visible;
}

body.portal-theme-body .portal-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 70;
    border-bottom: 1px solid rgba(226, 232, 240, 0.92);
    background: linear-gradient(90deg, var(--theme-menu-bg-start), var(--theme-menu-bg-end));
    box-shadow: none;
    backdrop-filter: blur(20px);
    overflow: visible;
}

body.portal-theme-body .portal-header::before,
body.portal-theme-body .portal-main::before,
body.portal-theme-body #themeFooter::before,
body.portal-theme-body .portal-widget-card::before,
body.portal-theme-body .portal-news-card::before,
body.portal-theme-body .portal-feature-card::before,
body.portal-theme-body .portal-cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

body.portal-theme-body .portal-header::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
}

body.portal-theme-body #themeHeader.is-scrolled {
    box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.24);
}

body.portal-theme-body #themeMainNav {
    background: transparent !important;
    border: 0 !important;
}

body.portal-theme-body #themeMainNav .theme-menu-link {
    color: var(--theme-menu-text) !important;
    border-radius: 0;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.portal-theme-body #themeMainNav .theme-menu-link:hover,
body.portal-theme-body #themeMainNav .theme-menu-link:focus-visible {
    color: var(--theme-menu-hover-text) !important;
    background: transparent;
    transform: none;
}

body.portal-theme-body .portal-header__bar {
    min-height: 5rem;
}

body.portal-theme-body .portal-brand {
    text-decoration: none;
    min-width: 0;
}

body.portal-theme-body .portal-brand__meta {
    min-width: 0;
}

body.portal-theme-body .portal-brand__logo,
body.portal-theme-body .portal-brand__mark {
    flex-shrink: 0;
}

body.portal-theme-body .portal-brand__mark {
    background: #1e3a8a;
    border-radius: 0.9rem;
}

body.portal-theme-body .portal-brand__title {
    color: var(--theme-menu-text);
    font-family: var(--theme-heading-font-stack);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.035em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.portal-theme-body .portal-brand__subtitle {
    margin-top: 0.28rem;
    color: var(--theme-menu-text);
    opacity: 0.7;
    font-family: var(--theme-body-font-stack);
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.015em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.portal-theme-body .portal-nav {
    gap: 1.25rem;
}

body.portal-theme-body .portal-nav__link {
    color: var(--theme-menu-text) !important;
    font-family: var(--theme-body-font-stack);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

body.portal-theme-body .portal-nav__link svg,
body.portal-theme-body .portal-nav__icon svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    stroke-width: 1.7;
}

body.portal-theme-body .portal-nav__link.is-active,
body.portal-theme-body .portal-nav__link.is-active svg {
    color: var(--theme-menu-hover-text) !important;
}

body.portal-theme-body .portal-nav__submenu {
    z-index: 72;
    min-width: 14rem;
}

body.portal-theme-body .portal-header__cta {
    border-radius: 999px;
    background: var(--theme-menu-hover-text);
    color: var(--theme-menu-bg-start);
    font-size: 0.96rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.38);
}

body.portal-theme-body .portal-header__cta:hover {
    background: #f59e0b;
}

body.portal-theme-body .theme-submenu-container,
body.portal-theme-body .theme-submenu-panel {
    background: linear-gradient(180deg, var(--theme-submenu-bg-start), var(--theme-submenu-bg-end)) !important;
    border-color: rgba(203, 213, 225, 0.72) !important;
}

body.portal-theme-body .theme-submenu-link {
    color: var(--theme-submenu-text) !important;
    font-family: var(--theme-body-font-stack);
    line-height: 1.35;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.portal-theme-body .theme-submenu-link--all {
    border-bottom: 1px solid rgba(203, 213, 225, 0.68);
}

body.portal-theme-body .theme-submenu-link--item {
    border-color: rgba(226, 232, 240, 0.82) !important;
}

body.portal-theme-body .theme-submenu-link:hover {
    color: var(--theme-submenu-hover-text) !important;
    background: rgba(148, 163, 184, 0.12);
}

body.portal-theme-body .portal-main {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body.portal-theme-body .portal-main::before {
    background: none;
}

body.portal-theme-body .portal-surface,
body.portal-theme-body .portal-widget-card,
body.portal-theme-body .portal-news-card,
body.portal-theme-body .portal-feature-card,
body.portal-theme-body .portal-cta-card {
    position: relative;
    isolation: isolate;
}

body.portal-theme-body .portal-surface {
    background: var(--portal-surface);
    border: 1px solid var(--portal-border);
    border-radius: 24px;
    box-shadow: 0 16px 40px -30px rgba(15, 23, 42, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.portal-theme-body .portal-surface:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 24px 44px -34px rgba(15, 23, 42, 0.26);
}

body.portal-theme-body .portal-widget-card::before,
body.portal-theme-body .portal-news-card::before,
body.portal-theme-body .portal-feature-card::before,
body.portal-theme-body .portal-cta-card::before {
    opacity: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), transparent 42%, rgba(15, 118, 110, 0.05));
    transition: opacity 0.25s ease;
}

body.portal-theme-body .portal-widget-card:hover::before,
body.portal-theme-body .portal-news-card:hover::before,
body.portal-theme-body .portal-feature-card:hover::before,
body.portal-theme-body .portal-cta-card:hover::before {
    opacity: 1;
}

body.portal-theme-body .portal-widget-card,
body.portal-theme-body .portal-news-card,
body.portal-theme-body .portal-feature-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

body.portal-theme-body .portal-widget-card:hover,
body.portal-theme-body .portal-news-card:hover,
body.portal-theme-body .portal-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.24);
}

body.portal-theme-body .portal-service-card {
    min-height: 100%;
}

body.portal-theme-body .portal-cta-card {
    box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.18);
}

body.portal-theme-body .portal-cta-card:hover {
    box-shadow: 0 18px 34px -24px rgba(15, 23, 42, 0.22);
}

body.portal-theme-body .portal-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: rgba(248, 250, 252, 0.96);
    border-radius: 16px;
    color: var(--portal-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.portal-theme-body .portal-input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.76);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.portal-theme-body .portal-btn-primary,
body.portal-theme-body .portal-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.portal-theme-body .portal-btn-primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 16px 35px -20px rgba(29, 78, 216, 0.85);
}

body.portal-theme-body .portal-btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
}

body.portal-theme-body .portal-btn-secondary {
    background: #f8fafc;
    color: var(--portal-text);
    border: 1px solid var(--portal-border);
}

body.portal-theme-body .portal-btn-secondary:hover {
    background: #eff6ff;
    color: var(--portal-primary);
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

body.portal-theme-body .portal-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(219, 234, 254, 0.82);
    color: var(--portal-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
    box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.9);
}

body.portal-theme-body .portal-kicker {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-section-title {
    color: var(--portal-text);
    font-weight: 600;
    letter-spacing: -0.03em;
}

body.portal-theme-body .portal-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.28), rgba(15, 23, 42, 0));
}

body.portal-theme-body .pagination {
    display: flex;
    flex-wrap: wrap;
}

body.portal-theme-body .pagination a,
body.portal-theme-body .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.95rem;
    border-right: 1px solid var(--portal-border);
    background: #ffffff;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 600;
}

body.portal-theme-body .pagination a:hover {
    background: #eff6ff;
    color: var(--portal-primary);
}

body.portal-theme-body .pagination .active span,
body.portal-theme-body .pagination span.current {
    background: #1d4ed8;
    color: #ffffff;
}

body.portal-theme-body .pagination a:last-child,
body.portal-theme-body .pagination span:last-child {
    border-right: 0;
}

body.portal-theme-body .prose {
    color: #475569;
}

body.portal-theme-body .prose a {
    color: var(--portal-primary);
}

body.portal-theme-body .prose blockquote {
    border-left-color: #3b82f6;
    color: var(--portal-text);
    background: #f8fafc;
    border-radius: 0 24px 24px 0;
}

body.portal-theme-body .portal-inline-arrow svg {
    transform: rotate(90deg);
}

body.portal-theme-body [data-hero-prev] svg,
body.portal-theme-body [data-hero-next] svg {
    transform: none;
}

body.portal-theme-body .portal-hero-section {
    background: #ffffff;
    padding-bottom: 4rem;
}

body.portal-theme-body .portal-hero-slider {
    position: relative;
    min-height: 720px;
    isolation: isolate;
}

body.portal-theme-body .portal-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

body.portal-theme-body .portal-hero-slide.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

body.portal-theme-body .portal-hero-slide__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

body.portal-theme-body .portal-hero-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 10s ease-out;
}

body.portal-theme-body .portal-hero-slide__veil,
body.portal-theme-body .portal-hero-slide__gradient {
    position: absolute;
    inset: 0;
}

body.portal-theme-body .portal-hero-slide__veil {
    background: rgba(255, 255, 255, 0.34);
}

body.portal-theme-body .portal-hero-slide__gradient {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 36%, rgba(255, 255, 255, 0.45) 100%);
}

body.portal-theme-body .portal-hero-container {
    position: relative;
    z-index: 2;
}

body.portal-theme-body .portal-hero-layout {
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    padding: 3rem 0;
}

body.portal-theme-body .portal-hero-copy {
    width: 100%;
    max-width: 40rem;
}

body.portal-theme-body .portal-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: rgba(253, 230, 138, 0.82);
    padding: 0.55rem 1rem;
    color: #b45309;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
}

body.portal-theme-body .portal-hero-title {
    max-width: 40rem;
    color: #0f172a;
    font-size: clamp(3rem, 5vw, 4.55rem);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: -0.065em;
}

body.portal-theme-body .portal-hero-description {
    max-width: 36rem;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    color: #475569;
    font-size: 1.32rem;
    line-height: 1.55;
}

body.portal-theme-body .portal-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 500;
}

body.portal-theme-body .portal-hero-controls {
    display: flex;
    gap: 0.75rem;
    margin-top: 2.1rem;
}

body.portal-theme-body .portal-hero-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    height: 3.35rem;
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #0f172a;
    backdrop-filter: blur(10px);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.portal-theme-body .portal-hero-control:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(100, 116, 139, 0.42);
    transform: translateY(-1px);
}

body.portal-theme-body .portal-hero-thumbs {
    width: 100%;
}

body.portal-theme-body .portal-hero-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

body.portal-theme-body .portal-hero-thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 45px -30px rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    opacity: 0.92;
    transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.portal-theme-body .portal-hero-thumb:hover {
    transform: translateY(-4px);
}

body.portal-theme-body .portal-hero-thumb__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

body.portal-theme-body .portal-hero-thumb:hover .portal-hero-thumb__image {
    transform: scale(1.05);
}

body.portal-theme-body .portal-hero-thumb__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.16));
}

body.portal-theme-body .portal-hero-thumb.is-active {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.76),
        0 24px 45px -30px rgba(15, 23, 42, 0.55);
    transform: translateY(-2px);
}

body.portal-theme-body .portal-services-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d4bc9 0%, #0e7490 54%, #10b981 100%);
}

body.portal-theme-body .portal-services-bg,
body.portal-theme-body .portal-services-bg__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

body.portal-theme-body .portal-services-bg {
    overflow: hidden;
}

body.portal-theme-body .portal-services-bg__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    opacity: 0.4;
    filter: saturate(0.9) contrast(1.04);
}

body.portal-theme-body .portal-services-bg__overlay {
    background:
        linear-gradient(135deg, rgba(13, 75, 201, 0.82) 0%, rgba(13, 148, 136, 0.7) 60%, rgba(16, 185, 129, 0.56) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(15, 23, 42, 0.16));
}

body.portal-theme-body .portal-services-shell {
    position: relative;
    z-index: 1;
}

body.portal-theme-body .portal-services-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

body.portal-theme-body .portal-services-copy {
    max-width: 36rem;
}

body.portal-theme-body .portal-services-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    padding: 0.55rem 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.portal-theme-body .portal-services-title {
    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

body.portal-theme-body .portal-services-text {
    margin-top: 0.95rem;
    color: rgba(226, 232, 240, 0.96);
    font-size: 1.03rem;
    line-height: 1.7;
}

body.portal-theme-body .portal-services-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

body.portal-theme-body .portal-services-cta {
    border-radius: 999px;
    background: #ffffff;
    padding: 0.85rem 1.3rem;
    color: #0f766e;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 18px 34px -26px rgba(15, 23, 42, 0.45);
}

body.portal-theme-body .portal-services-cta:hover {
    background: rgba(255, 255, 255, 0.92);
}

body.portal-theme-body .portal-services-arrow {
    width: 2.9rem;
    height: 2.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(8px);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.portal-theme-body .portal-services-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

body.portal-theme-body .portal-services-track {
    display: flex;
    gap: 1.15rem;
    overflow-x: auto;
    padding-bottom: 0.45rem;
    scroll-snap-type: x proximity;
}

body.portal-theme-body .portal-service-card {
    display: block;
    position: relative;
    width: 322px;
    min-width: 322px;
    aspect-ratio: 1.75;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.55rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 46px -34px rgba(15, 23, 42, 0.62);
    scroll-snap-align: start;
}

body.portal-theme-body .portal-service-card:hover {
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 26px 54px -34px rgba(15, 23, 42, 0.7);
    transform: translateY(-2px);
}

body.portal-theme-body .portal-service-card__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

body.portal-theme-body .portal-service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

body.portal-theme-body .portal-service-card:hover .portal-service-card__image {
    transform: scale(1.06);
}

body.portal-theme-body .portal-service-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 26%, rgba(2, 6, 23, 0.76) 100%);
}

body.portal-theme-body .portal-service-card__title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

body.portal-theme-body .portal-service-card__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 1rem 1rem 1.05rem;
}

body.portal-theme-body .portal-service-card__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-service-card__meta {
    margin-top: 0.4rem;
    color: rgba(226, 232, 240, 0.95);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.55;
}

body.portal-theme-body .portal-home-utility-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(186, 230, 253, 0.55) 0%, rgba(186, 230, 253, 0) 32%),
        radial-gradient(circle at right center, rgba(191, 219, 254, 0.32) 0%, rgba(191, 219, 254, 0) 34%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 72%);
}

body.portal-theme-body .portal-home-utility-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 1.4rem;
    align-items: stretch;
}

body.portal-theme-body .portal-home-utility-grid.is-services-only {
    grid-template-columns: 1fr;
}

body.portal-theme-body .portal-home-imsak-card,
body.portal-theme-body .portal-home-service-board {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border-radius: 2rem;
    border: 1px solid rgba(226, 232, 240, 0.88);
    box-shadow: 0 24px 48px -38px rgba(15, 23, 42, 0.22);
}

body.portal-theme-body .portal-home-imsak-card {
    padding: 1.7rem;
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.3) 0%, rgba(251, 191, 36, 0) 34%),
        linear-gradient(135deg, #0f172a 0%, #0f3b8f 48%, #0f766e 100%);
    color: #ffffff;
}

body.portal-theme-body .portal-home-imsak-card__glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(6px);
    opacity: 0.5;
}

body.portal-theme-body .portal-home-imsak-card__glow--one {
    top: -4rem;
    right: -2rem;
    width: 11rem;
    height: 11rem;
    background: rgba(251, 191, 36, 0.22);
}

body.portal-theme-body .portal-home-imsak-card__glow--two {
    bottom: -4rem;
    left: -2rem;
    width: 10rem;
    height: 10rem;
    background: rgba(34, 211, 238, 0.18);
}

body.portal-theme-body .portal-home-imsak-card__head,
body.portal-theme-body .portal-home-service-board__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

body.portal-theme-body .portal-home-imsak-card__eyebrow,
body.portal-theme-body .portal-home-service-board__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.82rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-home-imsak-card__eyebrow {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
}

body.portal-theme-body .portal-home-service-board__eyebrow {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
}

body.portal-theme-body .portal-home-imsak-card__title,
body.portal-theme-body .portal-home-service-board__title {
    margin-top: 1rem;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

body.portal-theme-body .portal-home-imsak-card__title {
    color: #ffffff;
}

body.portal-theme-body .portal-home-service-board__title {
    color: #0f172a;
}

body.portal-theme-body .portal-home-imsak-card__day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 0.92rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

body.portal-theme-body .portal-home-imsak-card__text,
body.portal-theme-body .portal-home-service-board__text {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    font-size: 0.97rem;
    line-height: 1.7;
}

body.portal-theme-body .portal-home-imsak-card__text {
    color: rgba(226, 232, 240, 0.94);
}

body.portal-theme-body .portal-home-service-board__text {
    color: #64748b;
}

body.portal-theme-body .portal-home-imsak-card__chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

body.portal-theme-body .portal-home-imsak-card__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 600;
}

body.portal-theme-body .portal-home-imsak-card__times {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.4rem;
}

body.portal-theme-body .portal-home-imsak-card__time {
    padding: 0.9rem 0.95rem;
    border-radius: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

body.portal-theme-body .portal-home-imsak-card__time.is-accent {
    border-color: rgba(251, 191, 36, 0.28);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(255, 255, 255, 0.1));
}

body.portal-theme-body .portal-home-imsak-card__time-label {
    display: block;
    color: rgba(226, 232, 240, 0.84);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

body.portal-theme-body .portal-home-imsak-card__time-value {
    display: block;
    margin-top: 0.32rem;
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

body.portal-theme-body .portal-home-imsak-card__notice {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.35rem;
    padding: 0.95rem 1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    line-height: 1.55;
}

body.portal-theme-body .portal-home-imsak-card__notice.is-error {
    background: rgba(127, 29, 29, 0.3);
    color: #fee2e2;
}

body.portal-theme-body .portal-home-imsak-card__foot,
body.portal-theme-body .portal-home-service-board__footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

body.portal-theme-body .portal-home-imsak-card__caption {
    color: rgba(191, 219, 254, 0.92);
    font-size: 0.8rem;
    line-height: 1.5;
}

body.portal-theme-body .portal-home-imsak-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f3b8f;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 14px 28px -24px rgba(15, 23, 42, 0.7);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

body.portal-theme-body .portal-home-imsak-card__cta:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

body.portal-theme-body .portal-home-service-board {
    padding: 1.7rem;
    background:
        radial-gradient(circle at bottom left, rgba(191, 219, 254, 0.34) 0%, rgba(191, 219, 254, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 1) 100%);
}

body.portal-theme-body .portal-home-service-board__head-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

body.portal-theme-body .portal-home-service-board__head-cta:hover,
body.portal-theme-body .portal-home-service-board__footer-cta:hover {
    transform: translateY(-1px);
}

body.portal-theme-body .portal-home-service-board__list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.35rem;
}

body.portal-theme-body .portal-home-service-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    border-radius: 1.45rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.88);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

body.portal-theme-body .portal-home-service-item:hover {
    transform: translateY(-2px);
    border-color: rgba(147, 197, 253, 0.95);
    background: #ffffff;
    box-shadow: 0 18px 38px -30px rgba(37, 99, 235, 0.36);
}

body.portal-theme-body .portal-home-service-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    color: #2563eb;
    box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.9);
}

body.portal-theme-body .portal-home-service-item__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.portal-theme-body .portal-home-service-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.portal-theme-body .portal-home-service-item__meta-sep {
    color: #cbd5e1;
}

body.portal-theme-body .portal-home-service-item__title {
    margin-top: 0.28rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.34;
    letter-spacing: -0.025em;
}

body.portal-theme-body .portal-home-service-item__desc {
    display: -webkit-box;
    margin-top: 0.35rem;
    overflow: hidden;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.portal-theme-body .portal-home-service-item__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.portal-theme-body .portal-home-service-item:hover .portal-home-service-item__arrow {
    background: #2563eb;
    color: #ffffff;
}

body.portal-theme-body .portal-home-service-board__empty {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.35rem;
    padding: 1rem 1.05rem;
    border-radius: 1.35rem;
    border: 1px dashed rgba(148, 163, 184, 0.38);
    background: rgba(255, 255, 255, 0.75);
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

body.portal-theme-body .portal-home-service-board__stat {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.82rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 700;
}

body.portal-theme-body .portal-home-service-board__footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.05rem;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

body.portal-theme-body .portal-news-archive {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

body.portal-theme-body .portal-news-archive__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 1.8rem;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 1.9rem;
    background:
        linear-gradient(135deg, rgba(239, 246, 255, 0.92) 0%, rgba(255, 255, 255, 1) 55%, rgba(248, 250, 252, 0.92) 100%);
    box-shadow: 0 24px 44px -38px rgba(15, 23, 42, 0.34);
}

body.portal-theme-body .portal-news-archive__copy {
    max-width: 43rem;
}

body.portal-theme-body .portal-news-archive__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.9rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-news-archive__title {
    margin-top: 1rem;
    color: #0f172a;
    font-size: clamp(1.75rem, 3vw, 2.7rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

body.portal-theme-body .portal-news-archive__text {
    max-width: 38rem;
    margin-top: 0.9rem;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
}

body.portal-theme-body .portal-news-archive__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

body.portal-theme-body .portal-news-archive__chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(191, 219, 254, 0.8);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #1e3a8a;
    font-size: 0.8rem;
    font-weight: 600;
}

body.portal-theme-body .portal-news-archive__summary {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 10.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 1.4rem;
    background: #ffffff;
}

body.portal-theme-body .portal-news-archive__summary-value {
    color: #0f172a;
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}

body.portal-theme-body .portal-news-archive__summary-label {
    margin-top: 0.38rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ─── Compact filter bar ─── */
body.portal-theme-body .portal-news-archive__bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(15,23,42,.06);
}

body.portal-theme-body .portal-news-archive__bar-field {
    position: relative;
    display: flex;
    align-items: center;
}

body.portal-theme-body .portal-news-archive__bar-field--search {
    flex: 1;
}

body.portal-theme-body .portal-news-archive__bar-field--year {
    width: 140px;
    flex-shrink: 0;
}

body.portal-theme-body .portal-news-archive__bar-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
}

body.portal-theme-body .portal-news-archive__bar-input,
body.portal-theme-body .portal-news-archive__bar-select {
    width: 100%;
    height: 2.6rem;
    padding: 0 0.875rem 0 2.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    background: #f8fafc;
    color: #0f172a;
    font-family: var(--theme-body-font-stack);
    font-size: 0.9rem;
    font-weight: 500;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

body.portal-theme-body .portal-news-archive__bar-input:focus,
body.portal-theme-body .portal-news-archive__bar-select:focus {
    border-color: #93c5fd;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(191,219,254,.5);
    outline: none;
}

body.portal-theme-body .portal-news-archive__bar-input::placeholder {
    color: #94a3b8;
}

body.portal-theme-body .portal-news-archive__bar-select {
    appearance: none;
    padding-right: 2.2rem;
    cursor: pointer;
}

body.portal-theme-body .portal-news-archive__bar-arrow {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
    pointer-events: none;
}

/* placeholder for old class refs — unused */
body.portal-theme-body .portal-news-archive__filters { display: none; }

body.portal-theme-body .portal-news-archive__filters-copy {
    flex: 1 1 17rem;
    max-width: 24rem;
}

body.portal-theme-body .portal-news-archive__filters-kicker {
    display: inline-flex;
    align-items: center;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-news-archive__filters-text {
    margin-top: 0.55rem;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
}

body.portal-theme-body .portal-news-archive__filters-grid {
    display: grid;
    flex: 1 1 32rem;
    grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.75fr);
    gap: 0.95rem;
}

body.portal-theme-body .portal-news-archive__field {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
}

body.portal-theme-body .portal-news-archive__field-label {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-news-archive__field-control {
    position: relative;
    display: block;
}

body.portal-theme-body .portal-news-archive__field-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transform: translateY(-50%);
    pointer-events: none;
}

body.portal-theme-body .portal-news-archive__input,
body.portal-theme-body .portal-news-archive__select {
    width: 100%;
    min-height: 3.3rem;
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 1.1rem;
    background: #f8fafc;
    color: #0f172a;
    font-family: var(--theme-body-font-stack);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.portal-theme-body .portal-news-archive__input {
    padding: 0.95rem 1rem 0.95rem 3rem;
}

body.portal-theme-body .portal-news-archive__select {
    appearance: none;
    padding: 0.95rem 2.7rem 0.95rem 3rem;
}

body.portal-theme-body .portal-news-archive__input::placeholder {
    color: #94a3b8;
}

body.portal-theme-body .portal-news-archive__input:focus,
body.portal-theme-body .portal-news-archive__select:focus {
    border-color: rgba(96, 165, 250, 0.9);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(191, 219, 254, 0.55);
    outline: none;
}

body.portal-theme-body .portal-news-archive__select-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    color: #94a3b8;
    transform: translateY(-50%);
    pointer-events: none;
}

body.portal-theme-body .portal-news-archive__featured {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    background: #0f172a;
    box-shadow: 0 32px 60px -42px rgba(15, 23, 42, 0.5);
}

body.portal-theme-body .portal-news-archive__featured-link {
    display: block;
}

body.portal-theme-body .portal-news-archive__featured-media {
    position: relative;
    aspect-ratio: 16 / 9;
}

body.portal-theme-body .portal-news-archive__featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

body.portal-theme-body .portal-news-archive__featured:hover .portal-news-archive__featured-media img {
    transform: scale(1.04);
}

body.portal-theme-body .portal-news-archive__featured-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 12%, rgba(15, 23, 42, 0.88) 100%);
}

body.portal-theme-body .portal-news-archive__featured-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    max-width: 45rem;
    padding: 1.7rem 1.75rem 1.8rem;
}

body.portal-theme-body .portal-news-archive__featured-category {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.44rem 0.72rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.9);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-news-archive__featured-title {
    max-width: 38rem;
    margin-top: 0.95rem;
    color: #ffffff;
    font-size: clamp(1.7rem, 2.8vw, 2.65rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

body.portal-theme-body .portal-news-archive__featured-excerpt {
    max-width: 34rem;
    margin-top: 0.85rem;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.96rem;
    line-height: 1.72;
}

body.portal-theme-body .portal-news-archive__featured-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem 1rem;
    margin-top: 1.15rem;
}

body.portal-theme-body .portal-news-archive__featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.82rem;
    font-weight: 500;
}

body.portal-theme-body .portal-news-archive__featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

body.portal-theme-body .portal-news-archive__subhead {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.25rem;
}

body.portal-theme-body .portal-news-archive__subhead-eyebrow {
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-news-archive__subhead-title {
    margin-top: 0.35rem;
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

body.portal-theme-body .portal-news-archive__subhead-text {
    max-width: 24rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: right;
}

body.portal-theme-body .portal-news-archive__results-meta {
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 600;
}

body.portal-theme-body .portal-news-archive__load-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.8rem 1.3rem;
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 20px 34px -32px rgba(15, 23, 42, 0.22);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

body.portal-theme-body .portal-news-archive__load-more:hover {
    border-color: rgba(147, 197, 253, 0.95);
    background: #eff6ff;
    color: #1d4ed8;
}

/* ─── News Feed – unified list container ─── */
body.portal-theme-body .portal-news-feed {
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(15,23,42,.05);
}

body.portal-theme-body .portal-news-feed__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    transition: background 0.15s;
}

body.portal-theme-body .portal-news-feed__item + .portal-news-feed__item {
    border-top: 1px solid #f1f5f9;
}

body.portal-theme-body .portal-news-feed__item:hover {
    background: #f8fafc;
}

body.portal-theme-body .portal-news-feed__thumb {
    width: 112px;
    min-width: 112px;
    height: 80px;
    align-self: flex-start;
    border-radius: 0.625rem;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}

body.portal-theme-body .portal-news-feed__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

body.portal-theme-body .portal-news-feed__item:hover .portal-news-feed__thumb img {
    transform: scale(1.07);
}

body.portal-theme-body .portal-news-feed__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
    justify-content: center;
}

body.portal-theme-body .portal-news-feed__meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem 0.55rem;
    margin-top: 0.24rem;
    min-width: 0;
    overflow: hidden;
}

body.portal-theme-body .portal-news-feed__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
}

body.portal-theme-body .portal-news-feed__category {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    max-width: 120px;
}

body.portal-theme-body .portal-news-feed__sep {
    color: #cbd5e1;
    font-size: 0.7rem;
    line-height: 1;
}

body.portal-theme-body .portal-news-feed__time,
body.portal-theme-body .portal-news-feed__author {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 500;
    min-width: 0;
}

body.portal-theme-body .portal-news-feed__time {
    flex-shrink: 0;
}

body.portal-theme-body .portal-news-feed__author .truncate {
    display: block;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.portal-theme-body .portal-news-feed__time svg,
body.portal-theme-body .portal-news-feed__author svg {
    width: 0.82rem;
    height: 0.82rem;
    stroke-width: 1.9;
}

body.portal-theme-body .portal-news-feed__title {
    margin-top: 0.2rem;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

body.portal-theme-body .portal-news-feed__item:hover .portal-news-feed__title {
    color: #1d4ed8;
}

body.portal-theme-body .portal-news-feed__excerpt {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.portal-theme-body .portal-pagination-shell .pagination {
    display: flex;
}

body.portal-theme-body .portal-pagination-shell .pagination a,
body.portal-theme-body .portal-pagination-shell .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 0.9rem;
    border-right: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.portal-theme-body .portal-pagination-shell .pagination a:hover {
    background: #f8fafc;
    color: #0f172a;
}

body.portal-theme-body .portal-pagination-shell .pagination .active span,
body.portal-theme-body .portal-pagination-shell .pagination span.current {
    background: var(--portal-primary, #1d4ed8);
    color: #ffffff;
    border-color: var(--portal-primary, #1d4ed8);
}

body.portal-theme-body .portal-pagination-shell .pagination a:last-child,
body.portal-theme-body .portal-pagination-shell .pagination span:last-child {
    border-right: 0;
}

body.portal-theme-body .portal-home-news-section {
    background:
        radial-gradient(circle at top left, rgba(219, 234, 254, 0.7), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

body.portal-theme-body .portal-home-news-shell {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

body.portal-theme-body .portal-home-news-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
}

body.portal-theme-body .portal-home-news-head__copy {
    max-width: 40rem;
}

body.portal-theme-body .portal-home-news-head__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.46rem 0.88rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-home-news-head__title {
    margin-top: 0.95rem;
    color: #0f172a;
    font-family: var(--theme-heading-font-stack);
    font-size: clamp(1.8rem, 3vw, 2.85rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

body.portal-theme-body .portal-home-news-head__text {
    max-width: 35rem;
    margin-top: 0.9rem;
    color: #64748b;
    font-family: var(--theme-body-font-stack);
    font-size: 1rem;
    line-height: 1.72;
}

body.portal-theme-body .portal-home-news-head__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}

body.portal-theme-body .portal-home-news-head__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

body.portal-theme-body .portal-home-news-head__chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.5rem 0.88rem;
    border: 1px solid rgba(191, 219, 254, 0.92);
    border-radius: 999px;
    background: #ffffff;
    color: #1e3a8a;
    font-family: var(--theme-body-font-stack);
    font-size: 0.78rem;
    font-weight: 600;
}

body.portal-theme-body .portal-home-news-head__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.9rem;
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-family: var(--theme-body-font-stack);
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 20px 34px -28px rgba(15, 23, 42, 0.42);
}

body.portal-theme-body .portal-home-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(320px, 1fr);
    gap: 1.15rem;
    align-items: stretch;
}

body.portal-theme-body .portal-home-news-main {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    min-width: 0;
}

body.portal-theme-body .portal-home-announcements {
    min-width: 0;
}

body.portal-theme-body .portal-home-news-grid {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 20px 34px -30px rgba(15, 23, 42, 0.16);
}

body.portal-theme-body .portal-home-news-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: start;
    gap: 0.9rem;
    padding: 0.8rem;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: background-color 0.24s ease;
}

body.portal-theme-body .portal-home-news-card:last-child {
    border-bottom: 0;
}

body.portal-theme-body .portal-home-news-card:hover {
    background: rgba(248, 250, 252, 0.65);
}

body.portal-theme-body .portal-home-news-card__media {
    display: block;
    width: 116px;
    min-width: 116px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 1rem;
    background: #e2e8f0;
}

body.portal-theme-body .portal-home-news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

body.portal-theme-body .portal-home-news-card:hover .portal-home-news-card__image {
    transform: scale(1.02);
}

body.portal-theme-body .portal-home-news-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 0.1rem 0.05rem 0.05rem 0;
}

body.portal-theme-body .portal-home-news-card__title {
    margin-top: 0.1rem;
    color: #0f172a;
    font-family: var(--theme-heading-font-stack);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.42;
    letter-spacing: -0.025em;
}

body.portal-theme-body .portal-home-news-card__meta-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem 0.8rem;
    margin-top: 0.48rem;
    width: 100%;
    min-width: 0;
}

body.portal-theme-body .portal-home-news-card__excerpt {
    margin-top: 0.5rem;
    color: #64748b;
    font-family: var(--theme-body-font-stack);
    font-size: 0.84rem;
    line-height: 1.58;
}

body.portal-theme-body .portal-home-news-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem 0.85rem;
    margin-top: auto;
    padding-top: 0.78rem;
}

body.portal-theme-body .portal-home-news-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 0;
}

body.portal-theme-body .portal-home-news-card__meta--date {
    margin-left: auto;
    justify-content: flex-end;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.portal-theme-body .portal-home-news-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 700;
}

body.portal-theme-body .portal-home-news-load-more {
    display: flex;
    justify-content: flex-start;
}

body.portal-theme-body .portal-home-news-load-more__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.8rem 1.25rem;
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 20px 34px -32px rgba(15, 23, 42, 0.2);
}

body.portal-theme-body .portal-home-news-empty,
body.portal-theme-body .portal-home-announcements__empty {
    padding: 1.25rem;
    border: 1px dashed rgba(203, 213, 225, 0.92);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.86);
    color: #64748b;
    font-size: 0.92rem;
    text-align: center;
}

body.portal-theme-body .portal-home-announcements__panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 24px 42px -38px rgba(15, 23, 42, 0.24);
}

body.portal-theme-body .portal-home-announcements__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

body.portal-theme-body .portal-home-announcements__eyebrow {
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-home-announcements__title {
    margin-top: 0.4rem;
    color: #0f172a;
    font-family: var(--theme-heading-font-stack);
    font-size: 1.38rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

body.portal-theme-body .portal-home-announcements__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 700;
}

body.portal-theme-body .portal-home-announcements__featured {
    display: block;
    padding: 1rem;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 1) 82%);
    color: #0f172a;
}

body.portal-theme-body .portal-home-announcements__featured-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-home-announcements__featured-title {
    margin-top: 0.85rem;
    font-family: var(--theme-heading-font-stack);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: -0.025em;
}

body.portal-theme-body .portal-home-announcements__featured-text {
    margin-top: 0.65rem;
    color: #64748b;
    font-family: var(--theme-body-font-stack);
    font-size: 0.86rem;
    line-height: 1.62;
}

body.portal-theme-body .portal-home-announcements__featured-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.95rem;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 600;
}

body.portal-theme-body .portal-home-announcements__list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

body.portal-theme-body .portal-home-announcements__item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.9rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.2rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.portal-theme-body .portal-home-announcements__item:hover {
    transform: translateY(-1px);
    border-color: rgba(191, 219, 254, 0.95);
    box-shadow: 0 20px 34px -32px rgba(15, 23, 42, 0.2);
}

body.portal-theme-body .portal-home-announcements__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
}

body.portal-theme-body .portal-home-announcements__item-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

body.portal-theme-body .portal-home-announcements__item-title {
    color: #0f172a;
    font-family: var(--theme-heading-font-stack);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

body.portal-theme-body .portal-home-announcements__item-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.35rem;
    padding: 0.26rem 0.56rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-home-announcements__item-meta {
    margin-top: 0.35rem;
    color: #64748b;
    font-family: var(--theme-body-font-stack);
    font-size: 0.76rem;
    font-weight: 600;
}

body.portal-theme-body .portal-mobile-quick-link {
    color: var(--theme-submenu-text) !important;
    border-color: rgba(203, 213, 225, 0.78);
}

body.portal-theme-body .portal-mobile-link,
body.portal-theme-body .mobileSubmenuToggle,
body.portal-theme-body .mobileDrawerSubmenuLink,
body.portal-theme-body #darkModeToggleMobile {
    color: var(--theme-submenu-text) !important;
}

body.portal-theme-body .portal-mobile-link:hover,
body.portal-theme-body .mobileSubmenuToggle:hover,
body.portal-theme-body .mobileDrawerSubmenuLink:hover,
body.portal-theme-body #darkModeToggleMobile:hover {
    color: var(--theme-submenu-hover-text) !important;
}

body.portal-theme-body .portal-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.7rem;
    background: #ffffff;
    box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.24);
}

body.portal-theme-body .portal-news-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

body.portal-theme-body .portal-news-card__badge {
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.92) !important;
    padding: 0.45rem 0.8rem !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
}

body.portal-theme-body .portal-news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.portal-theme-body .portal-news-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem 1.2rem 1.25rem;
}

body.portal-theme-body .portal-news-card__topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    color: #64748b;
    font-size: 0.78rem;
}

body.portal-theme-body .portal-news-card__title {
    margin-top: 0.7rem;
    color: #0f172a;
    font-size: 1.24rem;
    font-weight: 500;
    line-height: 1.32;
    letter-spacing: -0.03em;
}

body.portal-theme-body .portal-news-card__excerpt {
    margin-top: 0.7rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.68;
}

body.portal-theme-body .portal-news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    margin-top: auto;
    padding-top: 0.95rem;
    color: #64748b;
    font-size: 0.78rem;
}

body.portal-theme-body .portal-news-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid #e2e8f0;
}

body.portal-theme-body .portal-news-card__cta-label {
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 500;
}

body.portal-theme-body .portal-news-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 600;
}

body.portal-theme-body .portal-article-detail__header {
    padding-right: 2rem;
    padding-bottom: 0.5rem;
}

body.portal-theme-body .portal-article-detail__title {
    max-width: 52rem;
    padding-right: 1.1rem;
    color: #0f172a;
    font-size: clamp(2.05rem, 3vw, 3.3rem);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.045em;
}

body.portal-theme-body .portal-article-detail__meta {
    gap: 0.85rem 1.15rem;
    margin-top: 1.6rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 0.94rem;
}

body.portal-theme-body .portal-related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: 0 14px 28px -24px rgba(15, 23, 42, 0.18);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body.portal-theme-body .portal-related-card:hover {
    transform: translateY(-1px);
    border-color: rgba(191, 219, 254, 0.9);
    box-shadow: 0 20px 32px -26px rgba(15, 23, 42, 0.22);
}

body.portal-theme-body .portal-related-card__thumb {
    flex-shrink: 0;
    width: 118px;
    height: 88px;
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    background: #e2e8f0;
    cursor: zoom-in;
}

body.portal-theme-body .portal-related-card__content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

body.portal-theme-body .portal-related-card__category {
    margin-bottom: 0.45rem;
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.portal-theme-body .portal-related-card__title {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

body.portal-theme-body .portal-related-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.9rem;
    margin-top: 0.65rem;
    color: #64748b;
    font-size: 0.78rem;
}

body.portal-theme-body .home-dokumen-link.is-loading article,
body.portal-theme-body .epaper-home-link.is-loading article,
body.portal-theme-body .home-pengumuman-link.is-loading {
    opacity: 0.88;
    pointer-events: none;
}

body.portal-theme-body .home-dokumen-link.is-loading article::after,
body.portal-theme-body .epaper-home-link.is-loading article::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.38);
    border-top-color: #fff;
    border-radius: 9999px;
    animation: portal-spin .7s linear infinite;
}

body.portal-theme-body .home-pengumuman-link.is-loading .home-pengumuman-label::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 0.35rem;
    border: 2px solid rgba(37, 99, 235, 0.25);
    border-top-color: #2563eb;
    border-radius: 9999px;
    animation: portal-spin .7s linear infinite;
}

body.portal-theme-body .mobile-menu-overlay {
    backdrop-filter: blur(5px);
}

body.portal-theme-body .mobile-menu-drawer {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.96)),
        #ffffff;
    border-color: rgba(203, 213, 225, 0.78);
    box-shadow: 0 32px 60px -34px rgba(15, 23, 42, 0.48);
}

body.portal-theme-body .mobileDrawerSubmenuPanel {
    background: linear-gradient(180deg, var(--theme-submenu-bg-start), var(--theme-submenu-bg-end));
}

body.portal-theme-body .portal-mobile-panel-title {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
}

body.portal-theme-body .portal-mobile-quick-link {
    font-family: var(--theme-heading-font-stack);
    font-size: 0.94rem !important;
    font-weight: 600;
    letter-spacing: -0.025em;
}

body.portal-theme-body .portal-mobile-link,
body.portal-theme-body .mobileSubmenuToggle {
    font-family: var(--theme-body-font-stack);
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

body.portal-theme-body .portal-mobile-link svg,
body.portal-theme-body .mobileSubmenuToggle svg,
body.portal-theme-body .mobileSubmenuToggle i {
    flex-shrink: 0;
}

body.portal-theme-body .mobileDrawerSubmenuLink {
    font-family: var(--theme-body-font-stack);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

body.portal-theme-body .mobileDrawerSubmenuLink:hover {
    color: var(--theme-submenu-hover-text);
    background: rgba(59, 130, 246, 0.08);
}

body.portal-theme-body #themeFooter {
    background: #0f172a !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.portal-theme-body #themeFooter::before {
    background: none;
}

body.portal-theme-body #themeFooter a {
    transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

body.portal-theme-body #themeFooter a:hover {
    transform: none;
}

body.portal-theme-body #backToTop {
    box-shadow: 0 18px 30px -20px rgba(37, 99, 235, 0.8);
}

html.js-portal .portal-reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.985);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-portal .portal-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

html.js-portal .portal-reveal[data-reveal-delay="1"] {
    transition-delay: 0.06s;
}

html.js-portal .portal-reveal[data-reveal-delay="2"] {
    transition-delay: 0.12s;
}

html.js-portal .portal-reveal[data-reveal-delay="3"] {
    transition-delay: 0.18s;
}

@keyframes portal-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 1024px) {
    body.portal-theme-body .portal-hero-slider,
    body.portal-theme-body .portal-hero-layout {
        min-height: 680px;
    }

    body.portal-theme-body .portal-hero-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
        align-items: center;
        gap: 3rem;
    }

    body.portal-theme-body .portal-hero-thumbs {
        justify-self: end;
    }

    body.portal-theme-body .portal-hero-thumb {
        height: 245px;
    }

    body.portal-theme-body .portal-services-head {
        margin-bottom: 2.2rem;
    }
}

@media (max-width: 1023px) {
    body.portal-theme-body .portal-header,
    body.portal-theme-body .portal-main,
    body.portal-theme-body #themeFooter {
        border-radius: 0;
    }

    body.portal-theme-body .portal-nav {
        gap: 1.5rem;
    }

    body.portal-theme-body .portal-hero-slider {
        min-height: 920px;
    }

    body.portal-theme-body .portal-hero-layout {
        min-height: 920px;
        gap: 2.35rem;
        padding: 2.5rem 0;
    }

    body.portal-theme-body .portal-hero-slide__gradient {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.56) 100%);
    }

    body.portal-theme-body .portal-hero-copy,
    body.portal-theme-body .portal-services-copy {
        max-width: none;
    }

    body.portal-theme-body .portal-services-head {
        align-items: flex-start;
    }

    body.portal-theme-body .portal-services-actions {
        justify-content: space-between;
        width: 100%;
    }

    body.portal-theme-body .portal-news-archive__head {
        padding: 1.4rem;
    }

    body.portal-theme-body .portal-news-archive__bar-field--year {
        width: 120px;
    }

    body.portal-theme-body .portal-home-news-layout {
        grid-template-columns: 1fr;
    }

    body.portal-theme-body .portal-home-utility-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 767px) {
    body.portal-theme-body .portal-main {
        margin-top: 0;
    }

    body.portal-theme-body .portal-header {
        border-radius: 0;
    }

    body.portal-theme-body .portal-header__bar {
        min-height: 4.45rem;
        gap: 0.7rem;
    }

    body.portal-theme-body #mobileMenuToggle {
        width: 2.55rem;
        height: 2.55rem;
        padding: 0;
        border-radius: 0.85rem;
        color: var(--theme-menu-text);
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    body.portal-theme-body .portal-brand {
        gap: 0.72rem;
        max-width: calc(100vw - 6.9rem);
    }

    body.portal-theme-body .portal-brand__logo {
        height: 2rem;
    }

    body.portal-theme-body .portal-brand__mark {
        width: 2.1rem;
        height: 2.1rem;
        border-radius: 0.78rem;
    }

    body.portal-theme-body .portal-surface,
    body.portal-theme-body .portal-widget-card,
    body.portal-theme-body .portal-news-card,
    body.portal-theme-body .portal-feature-card,
    body.portal-theme-body .portal-cta-card {
        border-radius: 24px;
    }

    body.portal-theme-body .portal-brand__title {
        font-size: 0.98rem;
        line-height: 1.02;
        letter-spacing: -0.03em;
    }

    body.portal-theme-body .portal-brand__subtitle {
        margin-top: 0.16rem;
        font-size: 0.58rem;
        letter-spacing: 0.09em;
        text-transform: uppercase;
    }

    body.portal-theme-body .portal-hero-section {
        padding-bottom: 2.8rem;
    }

    body.portal-theme-body .portal-hero-slider,
    body.portal-theme-body .portal-hero-layout {
        min-height: 820px;
    }

    body.portal-theme-body .portal-hero-layout {
        gap: 2rem;
        padding: 2rem 0;
    }

    body.portal-theme-body .portal-hero-title {
        font-size: clamp(2.25rem, 9vw, 2.85rem);
        line-height: 1;
    }

    body.portal-theme-body .portal-hero-tag {
        margin-bottom: 1rem;
        padding: 0.48rem 0.82rem;
        font-size: 0.76rem;
    }

    body.portal-theme-body .portal-hero-description {
        margin-top: 0.95rem;
        font-size: 0.95rem;
        line-height: 1.72;
    }

    body.portal-theme-body .portal-hero-meta {
        flex-wrap: wrap;
        font-size: 0.8rem;
    }

    body.portal-theme-body .portal-hero-controls {
        margin-top: 1.3rem;
    }

    body.portal-theme-body .portal-hero-control {
        width: 3rem;
        height: 3rem;
    }

    body.portal-theme-body .portal-hero-thumbs-grid {
        gap: 0.85rem;
    }

    body.portal-theme-body .portal-hero-thumb {
        height: 128px;
        border-radius: 1.35rem;
    }

    body.portal-theme-body .portal-services-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    body.portal-theme-body .portal-services-kicker {
        font-size: 0.74rem;
    }

    body.portal-theme-body .portal-services-title {
        font-size: 1.9rem;
    }

    body.portal-theme-body .portal-services-text {
        font-size: 0.95rem;
    }

    body.portal-theme-body .portal-services-actions {
        width: 100%;
        justify-content: space-between;
    }

    body.portal-theme-body .portal-services-cta {
        padding: 0.75rem 1.1rem;
        font-size: 0.86rem;
    }

    body.portal-theme-body .portal-services-arrow {
        width: 2.7rem;
        height: 2.7rem;
    }

    body.portal-theme-body .portal-services-track {
        gap: 1rem;
    }

    body.portal-theme-body .portal-service-card {
        width: 248px;
        min-width: 248px;
        border-radius: 1.4rem;
    }

    body.portal-theme-body .portal-service-card__overlay {
        padding: 0.9rem 0.9rem 0.95rem;
    }

    body.portal-theme-body .portal-service-card__kicker {
        margin-bottom: 0.55rem;
        font-size: 0.68rem;
    }

    body.portal-theme-body .portal-service-card__title {
        font-size: 1.02rem;
    }

    body.portal-theme-body .portal-service-card__meta {
        font-size: 0.82rem;
    }

    body.portal-theme-body .portal-home-utility-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    body.portal-theme-body .portal-home-imsak-card,
    body.portal-theme-body .portal-home-service-board {
        padding: 1.15rem;
        border-radius: 1.45rem;
    }

    body.portal-theme-body .portal-home-imsak-card__head,
    body.portal-theme-body .portal-home-service-board__head {
        flex-direction: column;
        align-items: flex-start;
    }

    body.portal-theme-body .portal-home-imsak-card__eyebrow,
    body.portal-theme-body .portal-home-service-board__eyebrow {
        padding: 0.44rem 0.72rem;
        font-size: 0.66rem;
    }

    body.portal-theme-body .portal-home-imsak-card__title,
    body.portal-theme-body .portal-home-service-board__title {
        margin-top: 0.82rem;
        font-size: clamp(1.35rem, 7vw, 1.72rem);
    }

    body.portal-theme-body .portal-home-imsak-card__text,
    body.portal-theme-body .portal-home-service-board__text {
        margin-top: 0.82rem;
        font-size: 0.88rem;
        line-height: 1.62;
    }

    body.portal-theme-body .portal-home-imsak-card__day,
    body.portal-theme-body .portal-home-service-board__head-cta,
    body.portal-theme-body .portal-home-service-board__footer-cta {
        font-size: 0.76rem;
    }

    body.portal-theme-body .portal-home-imsak-card__chips {
        gap: 0.45rem;
        margin-top: 0.9rem;
    }

    body.portal-theme-body .portal-home-imsak-card__chip {
        font-size: 0.7rem;
    }

    body.portal-theme-body .portal-home-imsak-card__times {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        margin-top: 1rem;
    }

    body.portal-theme-body .portal-home-imsak-card__time {
        padding: 0.72rem 0.78rem;
        border-radius: 1rem;
    }

    body.portal-theme-body .portal-home-imsak-card__time-label {
        font-size: 0.68rem;
    }

    body.portal-theme-body .portal-home-imsak-card__time-value {
        margin-top: 0.24rem;
        font-size: 1rem;
    }

    body.portal-theme-body .portal-home-imsak-card__notice,
    body.portal-theme-body .portal-home-service-board__empty {
        margin-top: 1rem;
        padding: 0.85rem 0.9rem;
        border-radius: 1rem;
        font-size: 0.82rem;
    }

    body.portal-theme-body .portal-home-imsak-card__foot,
    body.portal-theme-body .portal-home-service-board__footer {
        margin-top: 1rem;
        align-items: stretch;
    }

    body.portal-theme-body .portal-home-imsak-card__cta,
    body.portal-theme-body .portal-home-service-board__head-cta,
    body.portal-theme-body .portal-home-service-board__footer-cta {
        width: 100%;
        justify-content: center;
        padding: 0.78rem 0.95rem;
    }

    body.portal-theme-body .portal-home-service-board__list {
        gap: 0.65rem;
        margin-top: 1rem;
    }

    body.portal-theme-body .portal-home-service-item {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.88rem 0.9rem;
        border-radius: 1.1rem;
    }

    body.portal-theme-body .portal-home-service-item__icon {
        width: 2.65rem;
        height: 2.65rem;
        border-radius: 0.9rem;
    }

    body.portal-theme-body .portal-home-service-item__meta {
        font-size: 0.68rem;
    }

    body.portal-theme-body .portal-home-service-item__title {
        font-size: 0.9rem;
        line-height: 1.32;
    }

    body.portal-theme-body .portal-home-service-item__desc {
        margin-top: 0.28rem;
        font-size: 0.76rem;
        line-height: 1.46;
    }

    body.portal-theme-body .portal-home-service-item__arrow {
        display: none;
    }

    body.portal-theme-body .portal-news-archive {
        gap: 1.15rem;
    }

    body.portal-theme-body .portal-news-archive__head {
        padding: 1.15rem;
        border-radius: 1.45rem;
    }

    body.portal-theme-body .portal-news-archive__eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.12em;
    }

    body.portal-theme-body .portal-news-archive__title {
        margin-top: 0.75rem;
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    body.portal-theme-body .portal-news-archive__results-meta {
        font-size: 0.84rem;
    }

    body.portal-theme-body .portal-news-feed__item {
        padding: 0.75rem 0.875rem;
    }

    body.portal-theme-body .portal-news-archive__bar {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    body.portal-theme-body .portal-news-archive__bar-field--search {
        flex: 1 1 100%;
    }

    body.portal-theme-body .portal-news-archive__bar-field--year {
        width: 100%;
    }

    body.portal-theme-body .portal-news-feed__thumb {
        width: 82px;
        min-width: 82px;
        height: 62px;
        align-self: flex-start;
        border-radius: 0.5rem;
    }

    body.portal-theme-body .portal-news-feed__title {
        font-size: 0.84rem;
        line-height: 1.34;
    }

    body.portal-theme-body .portal-news-feed__excerpt {
        font-size: 0.73rem;
        line-height: 1.46;
    }

    body.portal-theme-body .portal-news-feed__author .truncate {
        max-width: 72px;
    }

    body.portal-theme-body .portal-news-feed__time,
    body.portal-theme-body .portal-news-feed__author {
        font-size: 0.68rem;
    }

    body.portal-theme-body .portal-news-feed__sep {
        font-size: 0.62rem;
    }

    body.portal-theme-body .portal-news-feed__time svg,
    body.portal-theme-body .portal-news-feed__author svg {
        width: 0.72rem;
        height: 0.72rem;
    }

    body.portal-theme-body .portal-home-news-shell {
        gap: 1.5rem;
    }

    body.portal-theme-body .portal-home-news-head__title {
        margin-top: 0.8rem;
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    body.portal-theme-body .portal-home-news-head__text {
        margin-top: 0.72rem;
        font-size: 0.92rem;
        line-height: 1.66;
    }

    body.portal-theme-body .portal-home-news-head__actions {
        justify-content: flex-start;
    }

    body.portal-theme-body .portal-home-news-head__chips {
        width: 100%;
    }

    body.portal-theme-body .portal-home-news-head__cta {
        width: 100%;
        justify-content: center;
    }

    body.portal-theme-body .portal-home-news-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 0.78rem;
        padding: 0.72rem;
    }

    body.portal-theme-body #homeLatestNewsList.portal-home-news-grid {
        border-radius: 1.22rem;
    }

    body.portal-theme-body .portal-home-news-card__media {
        width: 92px;
        min-width: 92px;
        border-radius: 0.9rem;
    }

    body.portal-theme-body .portal-home-news-card__content {
        padding: 0.02rem;
    }

    body.portal-theme-body .portal-home-news-card__title {
        margin-top: 0.52rem;
        font-size: 0.9rem;
    }

    body.portal-theme-body .portal-home-news-card__meta-row {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.35rem 0.65rem;
        margin-top: 0.38rem;
    }

    body.portal-theme-body .portal-home-news-card__excerpt {
        display: none;
    }

    body.portal-theme-body .portal-home-news-card__footer {
        padding-top: 0.68rem;
        gap: 0.5rem;
    }

    body.portal-theme-body .portal-home-news-card__meta,
    body.portal-theme-body .portal-home-news-card__cta {
        font-size: 0.72rem;
    }

    body.portal-theme-body .portal-home-news-load-more {
        justify-content: center;
    }

    body.portal-theme-body .portal-home-news-load-more__button {
        width: 100%;
        justify-content: center;
    }

    body.portal-theme-body .portal-home-announcements__panel {
        padding: 1rem;
        border-radius: 1.45rem;
    }

    body.portal-theme-body .portal-home-announcements__title {
        font-size: 1.16rem;
    }

    body.portal-theme-body .portal-home-announcements__featured {
        padding: 1rem;
        border-radius: 1.25rem;
    }

    body.portal-theme-body .portal-home-announcements__featured-title {
        font-size: 0.98rem;
    }

    body.portal-theme-body .portal-home-announcements__featured-text,
    body.portal-theme-body .portal-home-announcements__item-title {
        font-size: 0.84rem;
    }

    body.portal-theme-body .portal-mobile-panel-title {
        font-size: 0.68rem;
    }

    body.portal-theme-body .portal-mobile-quick-link {
        font-size: 0.88rem !important;
    }

    body.portal-theme-body .portal-mobile-link,
    body.portal-theme-body .mobileSubmenuToggle {
        font-size: 0.92rem;
    }

    body.portal-theme-body .mobileDrawerSubmenuLink {
        font-size: 0.8rem;
    }

    body.portal-theme-body .portal-news-card {
        border-radius: 1.4rem;
    }

    body.portal-theme-body .portal-news-card__media {
        aspect-ratio: 16 / 10;
    }

    body.portal-theme-body .portal-news-card__content {
        padding: 1rem 1rem 1.1rem;
    }

    body.portal-theme-body .portal-news-card__title {
        font-size: 1.08rem;
    }

    body.portal-theme-body .portal-news-card__excerpt {
        font-size: 0.88rem;
        line-height: 1.62;
    }

    body.portal-theme-body .portal-news-card__meta,
    body.portal-theme-body .portal-news-card__topline {
        font-size: 0.74rem;
    }

    body.portal-theme-body .portal-news-card__footer {
        margin-top: 0.85rem;
        padding-top: 0.85rem;
    }

    html.js-portal .portal-reveal {
        transform: translate3d(0, 14px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.js-portal .portal-reveal,
    body.portal-theme-body .portal-surface,
    body.portal-theme-body .portal-widget-card,
    body.portal-theme-body .portal-news-card,
    body.portal-theme-body .portal-feature-card,
    body.portal-theme-body .portal-cta-card,
    body.portal-theme-body .portal-btn-primary,
    body.portal-theme-body .portal-btn-secondary,
    body.portal-theme-body #themeMainNav .theme-menu-link {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
}

/* ════════════════════════════════════════════════
   HALAMAN KONTAK
   ════════════════════════════════════════════════ */

/* ── Hero ── */
.kontak-hero {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: center;
    margin: 0 -1rem;
}
@media (min-width: 768px) { .kontak-hero { min-height: 300px; margin: 0 -1.5rem; } }

.kontak-hero__bg {
    position: absolute;
    inset: 0;
}
.kontak-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(29, 78, 216, .88) 0%,
        rgba(15, 23, 42, .80) 50%,
        rgba(2, 6, 23, .90) 100%
    );
}
.kontak-hero__body {
    position: relative;
    padding: 3rem 1rem;
    max-width: 38rem;
}
@media (min-width: 640px) { .kontak-hero__body { padding: 4.5rem 1.5rem; } }

.kontak-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: .875rem;
}
.kontak-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: .875rem;
    letter-spacing: -.02em;
}
.kontak-hero__text {
    font-size: .95rem;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    max-width: 30rem;
}

/* ── Info Cards ── */
.kontak-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.75rem 0 2rem;
}
@media (min-width: 768px) {
    .kontak-cards { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 2rem 0 2.5rem; }
}

.kontak-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border-radius: 1.375rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15,23,42,.04), 0 4px 18px rgba(15,23,42,.07);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
    text-decoration: none;
    color: inherit;
}
@media (min-width: 768px) { .kontak-card { padding: 1.5rem 1.5rem 1.25rem; } }

/* Always-visible gradient top bar */
.kontak-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 1.375rem 1.375rem 0 0;
    transition: height .3s ease;
}

/* Color variant backgrounds & borders */
.kontak-card--blue   { border-color: #bfdbfe; background: linear-gradient(155deg, #eff6ff 0%, #ffffff 55%); }
.kontak-card--green  { border-color: #bbf7d0; background: linear-gradient(155deg, #f0fdf4 0%, #ffffff 55%); }
.kontak-card--violet { border-color: #ddd6fe; background: linear-gradient(155deg, #f5f3ff 0%, #ffffff 55%); }
.kontak-card--amber  { border-color: #fde68a; background: linear-gradient(155deg, #fffbeb 0%, #ffffff 55%); }

/* Gradient top bars */
.kontak-card--blue::before   { background: linear-gradient(90deg, #1d4ed8, #60a5fa); }
.kontak-card--green::before  { background: linear-gradient(90deg, #15803d, #4ade80); }
.kontak-card--violet::before { background: linear-gradient(90deg, #6d28d9, #a78bfa); }
.kontak-card--amber::before  { background: linear-gradient(90deg, #b45309, #fbbf24); }

/* Hover – lift + colored glow */
a.kontak-card:hover { transform: translateY(-5px); }
a.kontak-card:hover::before { height: 5px; }
a.kontak-card--blue:hover   { box-shadow: 0 20px 44px rgba(37,99,235,.18),  0 4px 12px rgba(37,99,235,.1); }
a.kontak-card--green:hover  { box-shadow: 0 20px 44px rgba(21,128,61,.18),  0 4px 12px rgba(21,128,61,.1); }
a.kontak-card--violet:hover { box-shadow: 0 20px 44px rgba(109,40,217,.18), 0 4px 12px rgba(109,40,217,.1); }
a.kontak-card--amber:hover  { box-shadow: 0 20px 44px rgba(180,83,9,.18),   0 4px 12px rgba(180,83,9,.1); }

/* Icon – gradient fill with white icon */
.kontak-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    margin-bottom: .95rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15,23,42,.14);
}
@media (min-width: 768px) { .kontak-card__icon { width: 3.25rem; height: 3.25rem; margin-bottom: 1.1rem; } }

.kontak-card__icon--blue   { background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; }
.kontak-card__icon--green  { background: linear-gradient(135deg, #15803d, #22c55e); color: #fff; }
.kontak-card__icon--violet { background: linear-gradient(135deg, #6d28d9, #7c3aed); color: #fff; }
.kontak-card__icon--amber  { background: linear-gradient(135deg, #b45309, #f59e0b); color: #fff; }

/* Label – colored per variant */
.kontak-card__label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: .3rem;
}
.kontak-card--blue .kontak-card__label   { color: #2563eb; }
.kontak-card--green .kontak-card__label  { color: #16a34a; }
.kontak-card--violet .kontak-card__label { color: #7c3aed; }
.kontak-card--amber .kontak-card__label  { color: #b45309; }

.kontak-card__value {
    font-size: .875rem;
    color: #1e293b;
    line-height: 1.55;
    font-weight: 600;
    flex: 1;
}
@media (min-width: 768px) { .kontak-card__value { font-size: .925rem; } }

/* Arrow – small circle button at bottom-right */
.kontak-card__arrow {
    margin-top: .875rem;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(226,232,240,.9);
    color: #94a3b8;
    transition: background .2s, border-color .2s, color .2s;
}
a.kontak-card--blue:hover .kontak-card__arrow   { background: #eff6ff; border-color: #93c5fd; color: #1d4ed8; }
a.kontak-card--green:hover .kontak-card__arrow  { background: #f0fdf4; border-color: #86efac; color: #15803d; }
a.kontak-card--violet:hover .kontak-card__arrow { background: #f5f3ff; border-color: #c4b5fd; color: #6d28d9; }
a.kontak-card--amber:hover .kontak-card__arrow  { background: #fffbeb; border-color: #fcd34d; color: #b45309; }

/* ── Form + Maps layout ── */
.kontak-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.125rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 1024px) { .kontak-main { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

/* Form panel */
.kontak-form-panel {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 1.75rem;
}
@media (min-width: 640px) { .kontak-form-panel { padding: 2.25rem; } }

.kontak-form-panel__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.kontak-form-panel__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kontak-form-panel__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(29, 78, 216, .94) 0%,
        rgba(30, 58, 138, .96) 60%,
        rgba(15, 23, 42, .98) 100%
    );
}
.kontak-form-panel__inner {
    position: relative;
    z-index: 1;
}
.kontak-form-panel__head {
    display: flex;
    align-items: center;
    gap: .875rem;
    margin-bottom: 1.75rem;
}
.kontak-form-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .875rem;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}
.kontak-form-panel__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -.01em;
}
.kontak-form-panel__subtitle {
    font-size: .75rem;
    color: rgba(147,197,253,.8);
    margin-top: .15rem;
}

/* Field */
.kontak-field { display: flex; flex-direction: column; gap: .45rem; }
.kontak-field__label {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.82);
}
.kontak-field__wrap { position: relative; display: flex; }
.kontak-field__icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(147,197,253,.7);
    pointer-events: none;
    transition: color .2s;
}
.kontak-field__icon--top { top: .9rem; transform: none; }
.kontak-field__wrap:focus-within .kontak-field__icon { color: #93c5fd; }
.kontak-field__input {
    width: 100%;
    padding: .75rem 1rem .75rem 2.6rem;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.18);
    border-radius: .875rem;
    font-size: .875rem;
    color: #fff;
    outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
    backdrop-filter: blur(6px);
}
.kontak-field__input::placeholder { color: rgba(255,255,255,.38); }
.kontak-field__input:focus {
    background: rgba(255,255,255,.16);
    border-color: rgba(147,197,253,.7);
    box-shadow: 0 0 0 3px rgba(96,165,250,.2);
}
.kontak-field__input--textarea { resize: none; padding-top: .8rem; }
.kontak-field__footer {
    display: flex;
    justify-content: space-between;
    font-size: .7rem;
    color: rgba(255,255,255,.42);
}

/* Submit */
.kontak-submit {
    width: 100%;
    padding: .9rem 1.5rem;
    background: #fff;
    color: var(--portal-primary, #1d4ed8);
    font-size: .9rem;
    font-weight: 700;
    border-radius: .875rem;
    border: none;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, opacity .2s;
    box-shadow: 0 4px 18px rgba(0,0,0,.18);
    letter-spacing: .01em;
}
.kontak-submit:hover { background: #f1f5f9; box-shadow: 0 8px 26px rgba(0,0,0,.22); }
.kontak-submit:disabled { opacity: .5; cursor: not-allowed; }

.kontak-spinner {
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid rgba(29,78,216,.25);
    border-top-color: var(--portal-primary, #1d4ed8);
    border-radius: 50%;
    animation: kontak-spin .7s linear infinite;
}
@keyframes kontak-spin { to { transform: rotate(360deg); } }

.kontak-privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    font-size: .7rem;
    color: rgba(147,197,253,.5);
    margin-top: 1rem;
}

/* Maps panel */
.kontak-maps-panel {
    display: flex;
    flex-direction: column;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 14px rgba(15,23,42,.06);
}
.kontak-maps-panel__head {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.125rem;
    border-bottom: 1px solid #f1f5f9;
}
.kontak-maps-panel__title { font-size: .875rem; font-weight: 600; color: #0f172a; }
.kontak-maps-panel__embed { flex: 1; min-height: 320px; background: #f8fafc; }
@media (min-width: 1024px) { .kontak-maps-panel__embed { min-height: 100%; } }

/* ── Bottom: FAQ + Social ── */
.kontak-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 3rem;
}
@media (min-width: 1024px) { .kontak-bottom { grid-template-columns: 1fr 320px; gap: 2rem; } }

/* Section head shared */
.kontak-section-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
}
.kontak-section-head__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .625rem;
    background: #eff6ff;
    color: #2563eb;
    flex-shrink: 0;
}
.kontak-section-head__title { font-size: 1rem; font-weight: 700; color: #0f172a; line-height: 1.2; }
.kontak-section-head__sub   { font-size: .75rem; color: #64748b; margin-top: .1rem; }

/* FAQ */
.kontak-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: .875rem;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .2s;
}
.kontak-faq-item[open] { box-shadow: 0 4px 18px rgba(15,23,42,.08); border-color: #bfdbfe; }
.kontak-faq-item__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.125rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background .15s;
}
.kontak-faq-item__summary:hover { background: #f8fafc; }
.kontak-faq-item__summary::-webkit-details-marker { display: none; }
.kontak-faq-item__question { font-size: .875rem; font-weight: 600; color: #1e293b; line-height: 1.4; }
.kontak-faq-item__chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    transition: background .2s, color .2s;
}
.kontak-faq-item[open] .kontak-faq-item__chevron { background: #eff6ff; color: #2563eb; }
.kontak-faq-item__answer {
    padding: .9rem 1.125rem 1.125rem;
    font-size: .84rem;
    line-height: 1.7;
    color: #475569;
    border-top: 1px solid #f1f5f9;
}

/* Social */
.kontak-social {
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #fff;
    padding: 1.25rem;
    height: fit-content;
    position: sticky;
    top: 5.5rem;
    box-shadow: 0 2px 12px rgba(15,23,42,.05);
}
.kontak-social-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .9rem;
    border-radius: .75rem;
    background: #f8fafc;
    font-size: .875rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.kontak-social-link:hover { color: #fff; }
.kontak-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .8rem 1rem;
    background: #16a34a;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    border-radius: .875rem;
    text-decoration: none;
    transition: background .2s, box-shadow .2s;
    letter-spacing: .01em;
}
.kontak-wa-btn:hover { background: #15803d; box-shadow: 0 6px 20px rgba(22,163,74,.32); }

/* ============================================================
   Dark Mode — Portal Theme
   Toggle: class="dark" on <html>
   ============================================================ */

/* ─── Base Body ─── */
.dark body.portal-theme-body {
    background: #0f172a;
    color: #e2e8f0;
}

/* ─── Hero Section ─── */
.dark body.portal-theme-body .portal-hero-section {
    background: #0f172a;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-hero-slide__veil {
    background: rgba(2, 6, 23, 0.55);
}

.dark body.portal-theme-body .portal-hero-slide__gradient {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.88) 36%, rgba(2, 6, 23, 0.48) 100%);
}

@media (max-width: 1023px) {
    .dark body.portal-theme-body .portal-hero-slide__gradient {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.82) 42%, rgba(2, 6, 23, 0.56) 100%);
    }
}

.dark body.portal-theme-body .portal-hero-tag {
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
}

.dark body.portal-theme-body .portal-hero-title {
    color: #f1f5f9;
}

.dark body.portal-theme-body .portal-hero-description {
    color: #94a3b8;
}

.dark body.portal-theme-body .portal-hero-meta {
    color: #64748b;
}

.dark body.portal-theme-body .portal-hero-control {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(100, 116, 139, 0.4);
    color: #f1f5f9;
}

.dark body.portal-theme-body .portal-hero-control:hover {
    background: rgba(30, 41, 59, 0.98);
}

/* ─── Breaking News Bar ─── */
.dark body.portal-theme-body .portal-breaking-news-bar {
    background: #0f172a;
    border-color: rgba(51, 65, 85, 0.7);
}

/* ─── News Archive Head ─── */
.dark body.portal-theme-body .portal-news-archive__head {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.96) 100%);
    border-color: rgba(51, 65, 85, 0.8);
}

.dark body.portal-theme-body .portal-news-archive__eyebrow {
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-news-archive__title {
    color: #f1f5f9;
}

.dark body.portal-theme-body .portal-news-archive__text {
    color: #94a3b8;
}

.dark body.portal-theme-body .portal-news-archive__chip {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(71, 85, 105, 0.7);
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-news-archive__summary {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
}

.dark body.portal-theme-body .portal-news-archive__summary-value {
    color: #f1f5f9;
}

.dark body.portal-theme-body .portal-news-archive__summary-label {
    color: #94a3b8;
}

/* ─── Filter Bar ─── */
.dark body.portal-theme-body .portal-news-archive__bar {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.8);
}

.dark body.portal-theme-body .portal-news-archive__bar-input,
.dark body.portal-theme-body .portal-news-archive__bar-select {
    background: #0f172a;
    border-color: rgba(71, 85, 105, 0.7);
    color: #e2e8f0;
}

.dark body.portal-theme-body .portal-news-archive__bar-input:focus,
.dark body.portal-theme-body .portal-news-archive__bar-select:focus {
    background: #1e293b;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.dark body.portal-theme-body .portal-news-archive__bar-input::placeholder {
    color: #4b5563;
}

.dark body.portal-theme-body .portal-news-archive__bar-icon,
.dark body.portal-theme-body .portal-news-archive__bar-arrow {
    color: #64748b;
}

.dark body.portal-theme-body .portal-news-archive__results-meta {
    color: #94a3b8;
}

.dark body.portal-theme-body .portal-news-archive__load-more {
    background: #1e293b;
    border-color: rgba(71, 85, 105, 0.7);
    color: #cbd5e1;
}

.dark body.portal-theme-body .portal-news-archive__load-more:hover {
    background: rgba(30, 58, 138, 0.3);
    border-color: #3b82f6;
    color: #93c5fd;
}

/* ─── News Feed (berita list) ─── */
.dark body.portal-theme-body .portal-news-feed {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-news-feed__item + .portal-news-feed__item {
    border-color: rgba(51, 65, 85, 0.55);
}

.dark body.portal-theme-body .portal-news-feed__item:hover {
    background: rgba(30, 41, 59, 0.7);
}

.dark body.portal-theme-body .portal-news-feed__title {
    color: #e2e8f0;
}

.dark body.portal-theme-body .portal-news-feed__item:hover .portal-news-feed__title {
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-news-feed__excerpt {
    color: #94a3b8;
}

.dark body.portal-theme-body .portal-news-feed__sep {
    color: rgba(71, 85, 105, 0.7);
}

/* ─── Home News Section ─── */
.dark body.portal-theme-body .portal-home-news-section {
    background: #0f172a;
}

.dark body.portal-theme-body .portal-home-news-grid {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-home-news-head__eyebrow {
    background: rgba(37, 99, 235, 0.16);
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-home-news-head__title {
    color: #f1f5f9;
}

.dark body.portal-theme-body .portal-home-news-head__text {
    color: #94a3b8;
}

.dark body.portal-theme-body .portal-home-news-head__chip {
    background: #1e293b;
    border-color: rgba(71, 85, 105, 0.7);
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-home-news-head__cta {
    background: #f1f5f9;
    color: #0f172a;
}

.dark body.portal-theme-body .portal-home-news-card {
    border-color: rgba(51, 65, 85, 0.55);
}

.dark body.portal-theme-body .portal-home-news-card:hover {
    background: rgba(30, 41, 59, 0.55);
}

.dark body.portal-theme-body .portal-home-news-card__title {
    color: #e2e8f0;
}

.dark body.portal-theme-body .portal-home-news-card__excerpt {
    color: #94a3b8;
}

.dark body.portal-theme-body .portal-home-news-card__meta {
    color: #64748b;
}

.dark body.portal-theme-body .portal-home-news-load-more__button {
    background: #1e293b;
    border-color: rgba(71, 85, 105, 0.7);
    color: #cbd5e1;
}

.dark body.portal-theme-body .portal-home-news-empty,
.dark body.portal-theme-body .portal-home-announcements__empty {
    background: rgba(30, 41, 59, 0.86);
    border-color: rgba(71, 85, 105, 0.6);
    color: #94a3b8;
}

/* ─── Announcements Panel ─── */
.dark body.portal-theme-body .portal-home-announcements__panel {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-home-announcements__eyebrow {
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-home-announcements__title {
    color: #f1f5f9;
}

.dark body.portal-theme-body .portal-home-announcements__cta {
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-home-announcements__item {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-home-announcements__item:hover {
    border-color: rgba(59, 130, 246, 0.45);
}

.dark body.portal-theme-body .portal-home-announcements__item-icon {
    background: rgba(37, 99, 235, 0.16);
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-home-announcements__item-title {
    color: #e2e8f0;
}

.dark body.portal-theme-body .portal-home-announcements__item-badge {
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-home-announcements__item-meta {
    color: #94a3b8;
}

/* ─── Home Utility Section ─── */
.dark body.portal-theme-body .portal-home-utility-section {
    background:
        radial-gradient(circle at top left, rgba(30, 64, 175, 0.18) 0%, rgba(30, 64, 175, 0) 32%),
        radial-gradient(circle at right center, rgba(15, 118, 110, 0.12) 0%, rgba(15, 118, 110, 0) 34%),
        linear-gradient(180deg, #0f172a 0%, #111827 72%);
    border-color: rgba(51, 65, 85, 0.72);
}

.dark body.portal-theme-body .portal-home-imsak-card,
.dark body.portal-theme-body .portal-home-service-board {
    border-color: rgba(51, 65, 85, 0.78);
    box-shadow: 0 24px 48px -38px rgba(2, 6, 23, 0.72);
}

.dark body.portal-theme-body .portal-home-imsak-card {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0) 34%),
        linear-gradient(135deg, #020617 0%, #0f172a 48%, #134e4a 100%);
}

.dark body.portal-theme-body .portal-home-imsak-card__day,
.dark body.portal-theme-body .portal-home-imsak-card__chip,
.dark body.portal-theme-body .portal-home-imsak-card__time,
.dark body.portal-theme-body .portal-home-imsak-card__notice {
    background: rgba(15, 23, 42, 0.48);
    border-color: rgba(71, 85, 105, 0.45);
}

.dark body.portal-theme-body .portal-home-imsak-card__time.is-accent {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(15, 23, 42, 0.42));
    border-color: rgba(245, 158, 11, 0.3);
}

.dark body.portal-theme-body .portal-home-imsak-card__notice.is-error {
    background: rgba(127, 29, 29, 0.42);
    color: #fecaca;
}

.dark body.portal-theme-body .portal-home-imsak-card__caption {
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-home-imsak-card__cta {
    background: #e2e8f0;
    color: #0f172a;
}

.dark body.portal-theme-body .portal-home-service-board {
    background:
        radial-gradient(circle at bottom left, rgba(30, 64, 175, 0.18) 0%, rgba(30, 64, 175, 0) 28%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
}

.dark body.portal-theme-body .portal-home-service-board__eyebrow {
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-home-service-board__title {
    color: #f1f5f9;
}

.dark body.portal-theme-body .portal-home-service-board__text {
    color: #94a3b8;
}

.dark body.portal-theme-body .portal-home-service-board__head-cta {
    background: rgba(37, 99, 235, 0.16);
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-home-service-item {
    background: rgba(15, 23, 42, 0.76);
    border-color: rgba(51, 65, 85, 0.72);
}

.dark body.portal-theme-body .portal-home-service-item:hover {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(59, 130, 246, 0.42);
    box-shadow: 0 18px 38px -30px rgba(2, 6, 23, 0.68);
}

.dark body.portal-theme-body .portal-home-service-item__icon,
.dark body.portal-theme-body .portal-home-service-item__arrow,
.dark body.portal-theme-body .portal-home-service-board__stat {
    background: rgba(37, 99, 235, 0.16);
    color: #93c5fd;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.12);
}

.dark body.portal-theme-body .portal-home-service-item__title {
    color: #e2e8f0;
}

.dark body.portal-theme-body .portal-home-service-item__meta,
.dark body.portal-theme-body .portal-home-service-item__desc,
.dark body.portal-theme-body .portal-home-service-board__empty {
    color: #94a3b8;
}

.dark body.portal-theme-body .portal-home-service-item__meta-sep {
    color: rgba(71, 85, 105, 0.78);
}

.dark body.portal-theme-body .portal-home-service-board__empty {
    background: rgba(15, 23, 42, 0.76);
    border-color: rgba(71, 85, 105, 0.5);
}

.dark body.portal-theme-body .portal-home-service-board__footer-cta {
    background: #e2e8f0;
    color: #0f172a;
}

/* ─── Sidebar Widget Cards ─── */
.dark body.portal-theme-body .portal-widget-card {
    background: #1e293b !important;
    border-color: rgba(51, 65, 85, 0.7) !important;
    color: #e2e8f0;
}

.dark body.portal-theme-body .portal-widget-card h2,
.dark body.portal-theme-body .portal-widget-card h4 {
    color: #f1f5f9;
}

/* ─── News Cards (grid style) ─── */
.dark body.portal-theme-body .portal-news-card {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-news-card__title {
    color: #e2e8f0;
}

.dark body.portal-theme-body .portal-news-card__excerpt {
    color: #94a3b8;
}

.dark body.portal-theme-body .portal-news-card__topline {
    color: #94a3b8;
}

.dark body.portal-theme-body .portal-news-card__footer {
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-news-card__cta-label {
    color: #e2e8f0;
}

/* ─── Related Cards ─── */
.dark body.portal-theme-body .portal-related-card {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-related-card:hover {
    border-color: rgba(59, 130, 246, 0.45);
}

.dark body.portal-theme-body .portal-related-card__title {
    color: #e2e8f0;
}

.dark body.portal-theme-body .portal-related-card__meta {
    color: #94a3b8;
}

/* ─── Article Detail ─── */
.dark body.portal-theme-body .portal-article-detail__title {
    color: #f1f5f9;
}

/* ─── Surface / Input ─── */
.dark body.portal-theme-body .portal-surface {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-input {
    background: #1e293b;
    border-color: rgba(71, 85, 105, 0.8);
    color: #e2e8f0;
}

.dark body.portal-theme-body .portal-input:focus {
    background: #0f172a;
    border-color: rgba(96, 165, 250, 0.7);
}

.dark body.portal-theme-body .portal-btn-secondary {
    background: #1e293b;
    color: #e2e8f0;
    border-color: rgba(71, 85, 105, 0.7);
}

.dark body.portal-theme-body .portal-btn-secondary:hover {
    background: rgba(30, 58, 138, 0.3);
    color: #93c5fd;
    border-color: #3b82f6;
}

/* ─── Prose / Rich Text ─── */
.dark body.portal-theme-body .prose {
    color: #94a3b8;
}

.dark body.portal-theme-body .prose h1,
.dark body.portal-theme-body .prose h2,
.dark body.portal-theme-body .prose h3,
.dark body.portal-theme-body .prose h4,
.dark body.portal-theme-body .prose h5,
.dark body.portal-theme-body .prose h6 {
    color: #f1f5f9;
}

.dark body.portal-theme-body .prose a {
    color: #60a5fa;
}

.dark body.portal-theme-body .prose strong {
    color: #e2e8f0;
}

.dark body.portal-theme-body .prose blockquote {
    background: #1e293b;
    color: #94a3b8;
    border-left-color: #3b82f6;
}

.dark body.portal-theme-body .prose code {
    color: #f472b6;
    background: rgba(30, 41, 59, 0.8);
}

/* ─── Pagination ─── */
.dark body.portal-theme-body .pagination a,
.dark body.portal-theme-body .pagination span {
    background: #1e293b;
    color: #94a3b8;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .pagination a:hover {
    background: rgba(30, 58, 138, 0.3);
    color: #93c5fd;
}

.dark body.portal-theme-body .portal-pagination-shell .pagination a,
.dark body.portal-theme-body .portal-pagination-shell .pagination span {
    background: transparent;
    color: #94a3b8;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-pagination-shell .pagination a:hover {
    background: rgba(30, 41, 59, 0.8);
    color: #e2e8f0;
}

/* ─── Mobile Drawer ─── */
.dark body.portal-theme-body .mobile-menu-drawer {
    background: #0f172a;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .portal-mobile-quick-link {
    color: #94a3b8 !important;
    border-color: rgba(51, 65, 85, 0.7);
}

/* ─── Stat Section Cards ─── */
.dark body.portal-theme-body #homeStatistikLoading {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
    color: #94a3b8;
}

.dark body.portal-theme-body #homeStatistikIdsdBlock {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
}

/* ─── Sidebar Widget Inner Items ─── */
/* Article items inside widget cards (popular, terbaru) */
.dark body.portal-theme-body .portal-widget-card article {
    background: rgba(15, 23, 42, 0.45) !important;
}

.dark body.portal-theme-body .portal-widget-card article:hover {
    background: rgba(30, 58, 138, 0.18) !important;
}

/* Rank number badge */
.dark body.portal-theme-body .portal-widget-card article > span:first-child {
    background: rgba(30, 58, 138, 0.35) !important;
    color: #93c5fd !important;
}

/* Article titles */
.dark body.portal-theme-body .portal-widget-card article p {
    color: #e2e8f0;
}

/* Article meta (date, views) */
.dark body.portal-theme-body .portal-widget-card article span {
    color: #94a3b8;
}

/* Kategori chip links */
.dark body.portal-theme-body .portal-widget-card a.inline-flex {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(51, 65, 85, 0.7) !important;
    color: #cbd5e1 !important;
}

.dark body.portal-theme-body .portal-widget-card a.inline-flex:hover {
    background: rgba(30, 58, 138, 0.25) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    color: #93c5fd !important;
}

/* Post count badge inside kategori chip */
.dark body.portal-theme-body .portal-widget-card a.inline-flex span.rounded-full {
    background: rgba(15, 23, 42, 0.6) !important;
    color: #94a3b8 !important;
}

/* ─── Kontak Page Dark Mode ─── */
.dark body.portal-theme-body .kontak-card--blue,
.dark body.portal-theme-body .kontak-card--green,
.dark body.portal-theme-body .kontak-card--violet,
.dark body.portal-theme-body .kontak-card--amber {
    background: linear-gradient(155deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: rgba(51, 65, 85, 0.7) !important;
}

.dark body.portal-theme-body .kontak-card__value {
    color: #e2e8f0;
}

.dark body.portal-theme-body .kontak-card__arrow {
    background: rgba(51, 65, 85, 0.5);
    color: #94a3b8;
}

.dark body.portal-theme-body .kontak-maps-panel {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .kontak-maps-panel__head {
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .kontak-maps-panel__title {
    color: #e2e8f0;
}

.dark body.portal-theme-body .kontak-maps-panel__embed {
    background: #0f172a;
}

.dark body.portal-theme-body .kontak-section-head__icon {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(51, 65, 85, 0.7);
    color: #94a3b8;
}

.dark body.portal-theme-body .kontak-section-head__title {
    color: #e2e8f0;
}

.dark body.portal-theme-body .kontak-section-head__sub {
    color: #94a3b8;
}

.dark body.portal-theme-body .kontak-faq-item {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .kontak-faq-item[open] {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.dark body.portal-theme-body .kontak-faq-item__summary:hover {
    background: rgba(30, 41, 59, 0.8);
}

.dark body.portal-theme-body .kontak-faq-item__question {
    color: #e2e8f0;
}

.dark body.portal-theme-body .kontak-faq-item__chevron {
    background: rgba(30, 41, 59, 0.8);
    color: #94a3b8;
}

.dark body.portal-theme-body .kontak-faq-item[open] .kontak-faq-item__chevron {
    background: rgba(30, 58, 138, 0.35);
    color: #93c5fd;
}

.dark body.portal-theme-body .kontak-faq-item__answer {
    color: #94a3b8;
    border-color: rgba(51, 65, 85, 0.5);
}

.dark body.portal-theme-body .kontak-social {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.7);
}

.dark body.portal-theme-body .kontak-social-link {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(51, 65, 85, 0.7);
    color: #cbd5e1;
}

.dark body.portal-theme-body .kontak-social-link:hover {
    color: #fff;
}
