body {
    font-family: "Inter", "Roboto", Arial, sans-serif;
    --scheme-color: #d32f2f;
    --secondscheme-color: #43a047;
    --mainmenu-bgcolor: #d32f2f;
    --mainmenu-color: #ffffff;
    --mainmenu-hovercolor: #f1c40f;
    --content-greycolor: #888888;
    --content-bgcolor: #ffffff;
    --footer-bgcolor: #f0f0f0;
    --border-color: #dddddd;
    --rgbacolor: rgba(0, 0, 0, 0.05);
    background: #f8f8f8;
    margin: 0;
    color: #000;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
}

@media (min-width: 768px) { .container { max-width: 728px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
    margin-left: -15px;
    margin-right: -15px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.col-12, .col-md-3, .col-md-4, .col-md-8, .col-md-9, .col-md-12 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .col-md-3  { width: 25%; }
    .col-md-4  { width: 33.33333333%; }
    .col-md-8  { width: 66.66666667%; }
    .col-md-9  { width: 75%; }
    .col-md-12 { width: 100%; }
}

.site {
    margin: 0 auto;
    background-color: var(--content-bgcolor);
}

/* Header atas (breaking): ikut gulir */
.site-header-pre {
    width: 100%;
}

/* Logo + toolbar + menu: menempel di atas saat scroll */
.site-header-sticky-wrap {
    position: sticky;
    top: 0;
    z-index: 9998;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
    padding-top: env(safe-area-inset-top, 0);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-header-sticky {
    border-bottom: none;
    background: #fff;
}

.sticky-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 10px;
    min-height: 52px;
    padding: 8px 0 10px;
}

.sticky-toolbar-left {
    display: flex;
    align-items: center;
    gap: 4px 6px;
    flex: 0 0 auto;
}

.sticky-toolbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    min-width: 0;
    gap: 8px;
}

.theme-toggle-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus-visible {
    background: #f1f5f9;
    border-color: #cbd5e1;
    outline: none;
}

.theme-toggle-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.theme-toggle-btn .theme-icon-sun {
    display: none;
}

html.theme-dark .theme-toggle-btn .theme-icon-moon {
    display: none;
}

html.theme-dark .theme-toggle-btn .theme-icon-sun {
    display: block;
}

.sticky-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 2px;
    overflow: hidden;
    z-index: 1;
}

.sticky-logo-img {
    display: block;
    max-height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.sticky-logo-fallback {
    font-weight: 800;
    font-size: 1.15rem;
    color: #b91c1c;
    letter-spacing: 0.06em;
}

/* Wadah form harus relative agar tombol cari tidak “kabur” ke pojok layar */
.site-header-sticky .sticky-search {
    position: relative;
}

.sticky-search {
    width: 128px;
    min-width: 0;
    max-width: 100%;
}

.sticky-search input {
    width: 100%;
    min-height: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 10px;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px 36px 6px 12px;
    box-sizing: border-box;
}

.site-header-sticky .gmr-searchform button {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #64748b;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    padding: 0;
}

.site-header-sticky .gmr-searchform button:hover,
.site-header-sticky .gmr-searchform button:focus-visible {
    color: #0f172a;
    background: rgba(148, 163, 184, 0.2);
    outline: none;
}

.figure-page {
    padding-top: 14px;
}

.figure-header {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.figure-header__media img,
.figure-header__avatar-fallback {
    width: 88px;
    height: 88px;
    border-radius: 50%;
}

.figure-header__media img {
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.figure-header__avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.2rem;
}

.figure-header__label {
    margin: 0;
    color: #6b7280;
    font-size: 0.82rem;
}

.figure-header__title {
    margin: 2px 0 10px;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.15;
}

.figure-bio {
    display: grid;
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.figure-bio h2 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.figure-bio__meta-row {
    padding: 0 0 8px;
    margin-bottom: 8px;
    border-bottom: 1px dashed #d1d5db;
}

.figure-bio__meta-row dt {
    font-weight: 700;
    margin-bottom: 2px;
}

.figure-bio__meta-row dd {
    margin: 0;
    color: #334155;
}

.figure-bio__story p {
    margin: 0 0 0.7rem;
    line-height: 1.65;
    color: #1f2937;
}

.figure-related {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.figure-related__title {
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.figure-related__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.figure-related__chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.figure-related__chip:hover {
    border-color: var(--scheme-color);
    color: var(--scheme-color);
}

.taxonomy-description-muted {
    margin: 8px 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #64748b;
}

.figure-index-page {
    padding-top: 12px;
}

.figure-index-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
}

.figure-index-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.05rem;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    color: #334155;
}

.figure-index-pill:hover {
    border-color: var(--scheme-color);
    color: var(--scheme-color);
}

.figure-index-pill.is-active {
    background: var(--scheme-color);
    border-color: var(--scheme-color);
    color: #fff;
}

.figure-index-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 600px) {
    .figure-index-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.figure-index-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    text-decoration: none;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.92rem;
    background: #fff;
}

.figure-index-card__photo,
.figure-index-card__avatar-fallback {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
}

.figure-index-card__avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.figure-index-card__name {
    min-width: 0;
    line-height: 1.35;
}

.figure-index-card:hover {
    border-color: var(--scheme-color);
    color: var(--scheme-color);
}

@media (max-width: 767px) {
    .figure-header {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .figure-header__media img,
    .figure-header__avatar-fallback {
        width: 70px;
        height: 70px;
    }

    .figure-bio {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (min-width: 400px) {
    .sticky-search {
        width: 150px;
    }
}

@media (min-width: 480px) {
    .sticky-search {
        width: 180px;
    }
    .sticky-logo-img {
        max-height: 55px;
    }
}

@media (min-width: 768px) {
    .sticky-logo-img {
        max-height: 54px;
        max-width: 300px;
    }
    .sticky-search {
        width: 220px;
    }
    .sticky-toolbar {
        min-height: 60px;
    }
}

.visually-hidden {
    display: none;
}

.gmr-breaking-wrap {
    background: #d32f2f;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.breaking-inner {
    display: flex;
    align-items: center;
    gap: 10px 12px;
    min-height: 30px;
    padding: 4px 0;
}

.breaking-label {
    background: #f2f2f2;
    color: #a94442;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 2px;
    font-weight: 600;
}

.breaking-ticker {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.breaking-ticker-viewport {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
}

.breaking-ticker-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: breaking-marquee 36s linear infinite;
    will-change: transform;
}

.breaking-ticker-segment {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-shrink: 0;
    gap: 0 10px;
    padding-right: 2.5rem;
    white-space: nowrap;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
}

.breaking-ticker-segment a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.breaking-ticker-segment a:hover,
.breaking-ticker-segment a:focus-visible {
    text-decoration: underline;
}

.breaking-ticker-segment .breaking-sep {
    opacity: 0.7;
    user-select: none;
}

.breaking-ticker-empty {
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Leaderboard: bawah bar Breaking News (klasik), atau bawah header+burger menu (modern) */
.home-below-ticker-banner {
    width: 100%;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.home-below-ticker-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 12px;
}

.home-below-ticker-banner__link {
    display: block;
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
    line-height: 0;
    text-align: center;
}

.home-below-ticker-banner__link:focus-visible {
    outline: 2px solid var(--scheme-color, #ea580c);
    outline-offset: 4px;
    border-radius: 8px;
}

.home-below-ticker-banner__img {
    width: 100%;
    max-width: 970px;
    height: auto;
    border-radius: 6px;
    vertical-align: middle;
}

.home-below-ticker-banner--slot {
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.home-below-ticker-banner--slot .ad-slot {
    margin: 0;
    width: 100%;
}

.home-below-ticker-banner--slot .ad-slot__frame {
    max-width: 970px;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
    .breaking-ticker-track {
        animation: none;
    }
}

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

.gmr-utility-wrap {
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    background: #fff;
}

.list-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.row-flex {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-icon-btn {
    border: none;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: #444;
}

.index-link {
    font-size: 11px;
    color: #444;
    border-left: 1px solid #ddd;
    padding-left: 10px;
}

.gmr-navright .gmr-searchform {
    position: relative;
    margin: 4px 0;
}

.gmr-searchform input {
    height: 24px;
    background-color: var(--rgbacolor);
    border: none;
    padding: 4px 28px 4px 10px;
    border-radius: 2px;
    font-size: 12px;
}

.gmr-searchform button {
    position: absolute;
    right: 5px;
    top: 4px;
    border: none;
    background: transparent;
    color: var(--content-greycolor);
    font-size: 12px;
}

.mode-dot {
    font-size: 14px;
    color: #222;
}

.site-branding-row {
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.site-branding-row .site-branding {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.brand-logo-img {
    width: min(700px, 90vw);
    height: auto;
    display: block;
}

.logo-mark {
    font-size: 64px;
    color: #b71c1c;
    line-height: 1;
}

.logo-text-wrap {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 58px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #b71c1c;
}

.logo-sub {
    font-size: 22px;
    color: #b71c1c;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.site-header {
    padding: 20px 0;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
}

.site-title a {
    color: #111;
}

.gmr-mainmenu {
    background: #e53935;
}

#primary-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: var(--mainmenu-bgcolor);
}

#secondary-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #dc4b4b;
}

#primary-menu > li {
    display: inline-block;
}

#secondary-menu > li {
    display: inline-block;
}

#primary-menu > li > a {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 12px 12px;
    font-size: 14px;
    color: var(--mainmenu-color);
}

#primary-menu > li > a.current-menu-item {
    color: var(--mainmenu-hovercolor);
    font-weight: 700;
}

.nav-dropdown-chevron {
    display: inline-block;
    width: 0.42em;
    height: 0.42em;
    margin-left: 1px;
    vertical-align: middle;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.92;
    flex-shrink: 0;
}

#primary-menu > li > a:hover {
    color: var(--mainmenu-hovercolor);
}

#primary-menu > li {
    position: relative;
}

#primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2000;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    padding: 6px 0;
    list-style: none;
    margin: 0;
}

#primary-menu .sub-menu li {
    display: block;
}

#primary-menu .sub-menu li a {
    display: block;
    color: #1e293b;
    padding: 9px 12px;
    font-size: 13px;
}

#primary-menu .sub-menu li a:hover {
    background: #f8fafc;
    color: #b91c1c;
}

#primary-menu .menu-item-has-children:hover > .sub-menu,
#primary-menu .menu-item-has-children:focus-within > .sub-menu {
    display: block;
}

#secondary-menu > li > a {
    display: block;
    padding: 7px 11px;
    font-size: 12px;
    color: #fff;
}

#secondary-menu > li > a:hover {
    color: #ffe082;
}

.main-menu-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.main-menu-scroll::-webkit-scrollbar {
    height: 4px;
}

.main-menu-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

@media (min-width: 992px) {
    .main-menu-scroll {
        overflow: visible;
    }
}

@media (max-width: 991px) {
    #primary-menu,
    #secondary-menu {
        display: flex;
        flex-wrap: nowrap;
    }

    #primary-menu .sub-menu {
        display: none !important;
    }

    #primary-menu > li,
    #secondary-menu > li {
        flex-shrink: 0;
    }
}

/* Toolbar sticky: hamburger jelas & mudah disentuh */
.site-header-sticky .menu-icon-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.site-header-sticky .index-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 4px 0 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.gmr-content {
    position: relative;
    padding-top: 16px;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
}

.page-header {
    margin-bottom: 20px;
}

h3.page-title {
    font-size: 18px;
    color: var(--scheme-color);
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
}

h1.entry-title {
    font-size: 28px;
    color: var(--scheme-color);
    margin-top: 8px;
    margin-bottom: 12px;
}

h2.entry-title {
    font-size: 20px;
    margin: 4px 0;
}

.box-item {
    display: flex;
}

.box-item .post-thumbnail {
    width: 31%;
    margin: 0 20px 0 0;
    display: block;
}

.box-item .post-thumbnail img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.box-content {
    width: 69%;
    flex: 1;
}

.gmr-meta-topic {
    margin-bottom: 5px;
    font-size: 12px;
}

.gmr-meta-topic a {
    color: var(--secondscheme-color);
}

.meta-content {
    font-size: 12px;
    line-height: 14px;
    color: var(--content-greycolor);
    font-style: italic;
}

.entry-content-archive p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--content-greycolor);
}

.post, .site-main {
    margin-bottom: 30px;
}

.entry-header-single {
    margin-top: 20px;
}

.content-single .post-thumbnail img {
    width: 100%;
}

.entry-content-single p {
    margin-top: 20px;
    line-height: 1.8;
}

.single-wrap {
    display: flex;
}

.entry-content-single {
    width: 100%;
    margin: 0 0 20px;
}

.cat-links a, .tags-links a {
    background-color: var(--rgbacolor);
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 14px;
    padding: 8px 10px;
}

.widget-area .box-widget {
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 3px;
}

.widget-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--scheme-color);
}

/* Pencarian: desktop di header; HP/tablet (≤991px) di sidebar */
.header-search-desktop-only {
    display: block;
}

.sidebar-search-mobile-only {
    display: none !important;
}

.sidebar-mobile-search-form {
    position: relative;
    margin: 0;
}

.sidebar-mobile-search-form input {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    height: 44px;
    padding: 8px 48px 8px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 16px;
}

.sidebar-mobile-search-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.sidebar-mobile-search-submit:hover,
.sidebar-mobile-search-submit:focus-visible {
    color: #0f172a;
    background: rgba(148, 163, 184, 0.2);
    outline: none;
}

.box-widget--search .widget-title {
    margin-bottom: 12px;
}

html.theme-dark .sidebar-mobile-search-form input {
    background: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

.sidebar-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar-list li {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.admin-form label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    display: block;
}

.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="number"],
.admin-form input[type="datetime-local"],
.admin-form input[type="file"],
.admin-form textarea,
.admin-form select {
    width: 100%;
    border: 1px solid #ddd;
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 14px;
    box-sizing: border-box;
}

.admin-form select[multiple] {
    min-height: 120px;
}

.category-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 10px;
    margin-bottom: 14px;
}

.category-checklist-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    padding: 7px 9px;
}

.category-checklist-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.admin-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.admin-filter-form select,
.admin-filter-form input[type="date"] {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 8px 10px;
    font-size: 13px;
}

.admin-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.admin-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 3px;
    background: #d32f2f;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
}

.admin-btn-secondary {
    background: #666;
}

.flash-success,
.flash-error {
    padding: 10px 12px;
    border-radius: 3px;
    margin-bottom: 14px;
    font-size: 13px;
}

.flash-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.flash-error {
    background: #ffebee;
    color: #c62828;
}

.flash-error ul {
    margin: 0;
    padding-left: 18px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid #eee;
    text-align: left;
    padding: 10px 8px;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.admin-kpi-grid-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-kpi-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kpi-label {
    font-size: 12px;
    color: #666;
}

.kpi-value {
    font-size: 26px;
    font-weight: 700;
    color: #d32f2f;
    line-height: 1.1;
}

.status-badge {
    display: inline-block;
    border-radius: 99px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 600;
}

.status-published {
    background: #e8f5e9;
    color: #1b5e20;
}

.status-draft {
    background: #fff3e0;
    color: #e65100;
}

.status-scheduled {
    background: #e3f2fd;
    color: #0d47a1;
}

.status-submitted {
    background: #ede9fe;
    color: #5b21b6;
}

.status-needs_revision {
    background: #fff7ed;
    color: #9a3412;
}

.status-approved {
    background: #ecfdf5;
    color: #047857;
}

.admin-link-action {
    border: none;
    background: transparent;
    color: #1565c0;
    cursor: pointer;
    padding: 0;
    margin-right: 8px;
    font-size: 12px;
    text-decoration: underline;
}

.admin-link-danger {
    color: #c62828;
}

.inline-note-input {
    width: 220px;
    max-width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 6px 8px;
    margin: 0 6px 0 0;
    font-size: 12px;
}

.editorial-note-inline {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.4;
    color: #7c2d12;
}

.editorial-note-box {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
}

.editorial-note-box p {
    margin: 0;
    color: #78350f;
    line-height: 1.55;
}

.remember-wrap {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.remember-wrap input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.media-picker-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.selected-media-label {
    font-size: 12px;
    color: #666;
}

.media-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px;
    background: #fff;
    text-align: center;
    cursor: pointer;
}

.media-card img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 4px;
}

.media-card span {
    font-size: 11px;
    color: #666;
}

.media-card.selected {
    border-color: #d32f2f;
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.15);
}

.revision-list li {
    font-size: 12px;
}

.media-modal.hidden {
    display: none;
}

.media-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.media-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.media-modal-panel {
    position: relative;
    margin: 4vh auto;
    width: min(980px, 94vw);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 6px;
    padding: 14px;
}

.media-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.media-modal-header h4 {
    margin: 0;
}

.media-modal-close {
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.media-search-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 9px 10px;
    margin-bottom: 10px;
}

.site-footer {
    padding: 26px 0 24px;
    background-color: var(--footer-bgcolor);
    color: #64748b;
    border-top: 1px solid #e2e8f0;
}

.footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 22px 34px;
}

.footer-col__title {
    margin: 0 0 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #b91c1c;
    border-bottom: 2px solid #fecaca;
    width: fit-content;
    padding-bottom: 2px;
}

.footer-col__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.footer-col__list--compact {
    gap: 4px;
}

.footer-col__list a {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.4;
}

.footer-col__list a:hover {
    color: #b91c1c;
}

.site-info {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.social-icon {
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-icon li {
    display: inline-block;
    margin-left: 6px;
}

.social-icon a {
    display: inline-block;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #334155;
    transition: all 0.15s ease;
}

.social-icon a:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.social-icon__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.social-icon__link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.social-icon__link span {
    font-size: 10px;
    font-weight: 700;
}

.social-icon__link--facebook { color: #1877f2; }
.social-icon__link--x { color: #111827; }
.social-icon__link--instagram { color: #e1306c; }
.social-icon__link--youtube { color: #ff0000; }
.social-icon__link--whatsapp { color: #25d366; }
.social-icon__link--telegram { color: #229ed9; }
.social-icon__link--rss { color: #f97316; }

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: -8px;
    margin-bottom: 6px;
    font-size: 0.76rem;
}

.footer-bottom-links a {
    color: #64748b;
}

.footer-bottom-links a:hover {
    color: #b91c1c;
}

.footer-copyright {
    font-size: 0.74rem;
    color: #94a3b8;
}

@media (max-width: 991px) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-col--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .site-info {
        flex-direction: column;
        gap: 10px;
    }
}

.admin-body {
    font-family: "Inter", Arial, sans-serif;
    background: #f3f5f9;
    color: #0f172a;
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
}

.admin-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
}

.admin-brand strong {
    color: #fff;
    display: block;
}

.admin-brand small {
    color: #94a3b8;
    display: block;
}

.admin-nav {
    display: grid;
    gap: 6px;
}

.admin-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
}

.admin-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

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

.admin-logout-form {
    margin-top: auto;
}

.admin-main {
    padding: 20px 24px;
}

.admin-topbar {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.admin-topbar h1 {
    margin: 0;
    font-size: 26px;
}

.admin-topbar p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
}

.admin-mobile-menu-btn {
    display: none;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.admin-sidebar-backdrop {
    display: none;
}

.admin-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.04);
}

.admin-section-title {
    margin: 0 0 12px;
    font-size: 16px;
    color: #1e293b;
}

.admin-login-card {
    max-width: 620px;
}

.admin-card .admin-table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
}

.admin-card .admin-table td {
    color: #1f2937;
}

.admin-import-output {
    margin-top: 12px;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    max-height: 260px;
    overflow: auto;
    white-space: pre-wrap;
}

@media (max-width: 992px) {
    .site-title { font-size: 22px; }
    h1.entry-title { font-size: 24px; }
    h2.entry-title { font-size: 16px; }
    .logo-main { font-size: 36px; }
    .logo-sub { font-size: 13px; }
    .logo-mark { font-size: 42px; }
    #primary-menu > li > a { padding: 10px 8px; font-size: 12px; }
    #secondary-menu > li > a { padding: 6px 7px; font-size: 11px; }
    .box-item { display: block; }
    .box-item .post-thumbnail,
    .box-content { width: 100%; margin: 0 0 10px 0; }
    .site-info { display: block; text-align: center; }
    .admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-kpi-grid-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-shell {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        position: static;
    }
    .admin-main {
        padding: 14px;
    }
    .admin-topbar h1 {
        font-size: 22px;
    }

    .news-card--feature {
        flex-direction: column;
    }
    .news-card--feature .news-card__media {
        max-width: 100%;
    }
    .news-card {
        flex-direction: column;
    }
    .news-card .news-card__media {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    .news-card__body {
        padding: 0 16px 16px !important;
    }
    .home-sidebar {
        margin-top: 12px;
    }
}

/* ========== Off-canvas drawer (hamburger) ========== */
body.is-offcanvas-open {
    overflow: hidden;
}

.offcanvas-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(2px);
}

.offcanvas-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100001;
    width: min(20rem, 90vw);
    max-width: 20rem;
    height: 100%;
    max-height: 100dvh;
    background: #fff;
    box-shadow: 8px 0 32px rgba(15, 23, 42, 0.15);
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.offcanvas-menu.is-open {
    transform: translate3d(0, 0, 0);
}

@media (max-width: 991px) {
    .offcanvas-menu,
    .offcanvas-menu.is-open {
        box-shadow: none;
    }
}

.offcanvas-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
    flex-shrink: 0;
}

.offcanvas-logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.offcanvas-logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: #b91c1c;
}

.offcanvas-close {
    border: none;
    background: #f1f5f9;
    color: #334155;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.offcanvas-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.offcanvas-layout-skin {
    flex-shrink: 0;
    padding: 14px 18px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.offcanvas-layout-skin .offcanvas-nav-label {
    margin: 0 0 10px;
}

.offcanvas-layout-skin__hint {
    margin: 10px 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #94a3b8;
}

.offcanvas-layout-skin .layout-toggle--drawer {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
}

.offcanvas-layout-skin .layout-toggle--drawer .layout-toggle__btn {
    flex: 1 1 50%;
    min-height: 48px;
    padding: 0 12px;
}

.offcanvas-layout-skin .layout-toggle--drawer .layout-toggle__long {
    display: inline;
}

.offcanvas-layout-skin .layout-toggle--drawer .layout-toggle__short {
    display: none;
}

@media (min-width: 992px) {
    .offcanvas-layout-skin--mobile-only {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .layout-toggle--header {
        display: none !important;
    }
}

html.theme-dark .offcanvas-layout-skin {
    background: #0f172a;
    border-bottom-color: #1e293b;
}

html.theme-dark .offcanvas-layout-skin__hint {
    color: #64748b;
}

.offcanvas-nav {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 0 24px;
    -webkit-overflow-scrolling: touch;
}

.offcanvas-nav-label--flush {
    margin-top: 0 !important;
}

.offcanvas-nav-label {
    margin: 16px 18px 8px;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 600;
}

.offcanvas-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}

.offcanvas-list li a {
    display: block;
    padding: 12px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1e293b;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.offcanvas-list li a:hover,
.offcanvas-list li a:focus-visible {
    background: #fef2f2;
    border-left-color: #dc2626;
    color: #b91c1c;
    outline: none;
}

.offcanvas-list--secondary li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

.offcanvas-list > li.menu-item-has-children {
    display: block;
}

.offcanvas-list .sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #f1f5f9;
}

.offcanvas-list .menu-item-has-children.is-submenu-open > .sub-menu {
    display: block;
}

.offcanvas-list .sub-menu li a {
    padding-left: 28px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

.offcanvas-list .menu-item-has-children.is-submenu-open > a .nav-dropdown-chevron {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.offcanvas-list li a .nav-dropdown-chevron {
    transition: transform 0.18s ease;
}

.offcanvas-list .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.offcanvas-list .menu-item-has-children > a .nav-dropdown-chevron {
    flex-shrink: 0;
    margin-left: auto;
}

/* Hamburger icon */
.menu-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #334155;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    padding: 0;
}

.menu-icon-btn:hover,
.menu-icon-btn:focus-visible {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    outline: none;
}

body.is-offcanvas-open .menu-icon-btn {
    background: #fef2f2;
    border-color: #fecaca;
}

.hamburger-bars {
    display: block;
    width: 18px;
    height: 2px;
    background: #1e293b;
    position: relative;
    border-radius: 1px;
}

.hamburger-bars::before,
.hamburger-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #1e293b;
    border-radius: 1px;
    transition: transform 0.2s ease;
}

.hamburger-bars::before {
    top: -6px;
}

.hamburger-bars::after {
    top: 6px;
}

body.is-offcanvas-open .hamburger-bars {
    background: transparent;
}

body.is-offcanvas-open .hamburger-bars::before {
    top: 0;
    transform: rotate(45deg);
}

body.is-offcanvas-open .hamburger-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========== Modern news feed (home) ========== */
.page-header--home {
    border-top: 0;
    padding-top: 0;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.page-header--home .page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    border-top: 0;
    padding-top: 0;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.page-lead {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.news-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.news-card:hover {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.news-card--feature {
    flex-direction: row;
    border-color: #fecaca;
    box-shadow: 0 4px 24px rgba(220, 38, 38, 0.08);
}

.news-card--feature .news-card__title {
    font-size: 1.375rem;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .news-card--feature {
        flex-direction: row;
    }
    .news-card--feature .news-card__media {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

.news-card__media {
    display: block;
    flex: 0 0 31%;
    max-width: 31%;
    min-width: 120px;
    background: #f1f5f9;
    align-self: stretch;
}

.news-card__media img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

.news-card--feature .news-card__media img {
    min-height: 220px;
}

.news-card__body {
    padding: 16px 18px 18px 0;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-card--feature .news-card__body {
    padding: 20px 20px 20px 0;
}

.news-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 0.75rem;
}

.news-card__cat {
    color: #dc2626;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-card__date {
    color: #94a3b8;
}

.news-card__title {
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
    color: #0f172a;
    font-family: inherit;
}

.news-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.news-card__title a:hover {
    color: #dc2626;
}

.news-card__excerpt {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #dc2626;
    margin-top: auto;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-card__link:hover {
    text-decoration: underline;
}

.news-empty {
    text-align: center;
    padding: 48px 20px;
    color: #64748b;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

/* Sidebar widgets */
.box-widget--accent {
    background: linear-gradient(145deg, #fff8f8 0%, #fff 100%);
    border: 1px solid #fecaca;
}

.widget-area.home-sidebar {
    position: sticky;
    top: 12px;
    align-self: flex-start;
}

.sidebar-list--pills {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-list--pills li a {
    display: block;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #334155;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.sidebar-list--pills li a:hover {
    border-color: #f87171;
    color: #b91c1c;
    background: #fef2f2;
}

.sidebar-list--numbered {
    list-style: decimal;
    padding-left: 1.25rem;
}

.sidebar-list--numbered li {
    padding-left: 0.5rem;
    margin-bottom: 10px;
    border-bottom: none;
    font-size: 0.9rem;
}

.sidebar-list--numbered li a {
    color: #1e293b;
    line-height: 1.4;
}

.sidebar-list--numbered li a:hover {
    color: #dc2626;
}

/* Terpopuler sidebar: angka outline + judul + waktu relatif */
.box-widget--popular-top {
    background: #fff;
}

.box-widget--popular-top .widget-title--popular-top {
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
    color: #0f172a;
    font-weight: 700;
}

.sidebar-popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-popular-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.sidebar-popular-list__item:last-child {
    border-bottom: none;
}

.sidebar-popular-list__rank {
    flex: 0 0 1.75rem;
    width: 1.75rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    -webkit-text-stroke: 1.5px #ea580c;
    paint-order: stroke fill;
}

.sidebar-popular-list__link {
    display: block;
    min-width: 0;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.sidebar-popular-list__link:hover .sidebar-popular-list__title {
    color: #dc2626;
}

.sidebar-popular-list__title {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #0f172a;
}

.sidebar-popular-list__time {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: #94a3b8;
}

/* Sidebar artikel: kanal utama */
.box-widget--post-channel {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
}

.post-sidebar-channel__lead {
    margin: 0 0 10px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #64748b;
}

.post-sidebar-channel__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--scheme-color, #ea580c);
    text-decoration: none;
    margin-bottom: 12px;
}

.post-sidebar-channel__cta:hover {
    text-decoration: underline;
}

.post-sidebar-channel__list {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.post-sidebar-channel__list li a {
    font-weight: 600;
    font-size: 0.84rem;
    line-height: 1.35;
}

/* Pagination (Laravel default) */
.pagination-wrap--modern {
    margin-top: 32px;
    margin-bottom: 8px;
}

.pagination-wrap--modern .pagination,
.pagination-wrap--modern nav[role="navigation"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pagination-wrap--modern a,
.pagination-wrap--modern span[aria-disabled="true"] span,
.pagination-wrap--modern span[aria-current="page"] span {
    display: inline-flex;
    min-width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.875rem;
    text-decoration: none;
    color: #475569;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.pagination-wrap--modern a:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.pagination-wrap--modern [aria-current="page"] span {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

/* Single article + taxonomy */
.content-single--modern {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px 32px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.entry-header-single .entry-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-top: 12px;
}

.single-article .post-thumbnail img {
    border-radius: 10px;
}

.single-article .gmr-thumbnail-single {
    margin: 0 0 14px;
}

.single-article .wp-caption-text {
    margin: 0.55rem 0 0;
    padding: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #6b7280;
    font-style: italic;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.page-header--taxonomy {
    border-top: 0;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.taxonomy-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #dc2626;
    font-weight: 700;
    margin: 0 0 8px;
}

.taxonomy-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.taxonomy-description {
    margin: 6px 0 0;
    font-size: 0.82rem;
}

.taxonomy-description a {
    color: var(--scheme-color);
    text-decoration: none;
    font-weight: 700;
}

.taxonomy-description a:hover {
    text-decoration: underline;
}

.news-feed--grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
}

@media (min-width: 600px) {
    .news-feed--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.news-card--compact {
    flex-direction: column;
    gap: 0;
}

.news-card--compact .news-card__media {
    flex: none;
    max-width: 100%;
    width: 100%;
}

.news-card--compact .news-card__body {
    padding: 16px 18px 18px;
}

.taxonomy-page {
    max-width: 100%;
}

/* Tab filter konten untuk halaman tag */
.tag-mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.tag-mode-tabs__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.tag-mode-tabs__item span {
    font-size: 0.72rem;
    color: #64748b;
}

.tag-mode-tabs__item:hover {
    border-color: #fda4af;
    color: #be123c;
}

.tag-mode-tabs__item.is-active {
    background: #fff1f2;
    border-color: #fda4af;
    color: #be123c;
}

/* Tag detail: kartu profil ala halaman tokoh */
.tag-profile-card {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.tag-profile-card__title {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.tag-profile-card__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 16px 22px;
}

.tag-profile-photo {
    grid-column: 1 / -1;
}

.tag-profile-photo img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fecaca;
}

.tag-profile-meta {
    margin: 0;
}

.tag-profile-meta__row {
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.tag-profile-meta__row:last-child {
    border-bottom: none;
}

.tag-profile-meta__row dt {
    font-size: 0.77rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tag-profile-meta__row dd {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: #0f172a;
    line-height: 1.45;
}

.tag-profile-bio p {
    margin: 0 0 10px;
    font-size: 0.93rem;
    line-height: 1.65;
    color: #1e293b;
}

.tag-profile-bio p:last-child {
    margin-bottom: 0;
}

/* Variasi layout detail taxonomy: otomatis per slug */
.taxonomy-page--clean .page-header--taxonomy {
    border-left: 4px solid #fb7185;
    padding-left: 12px;
}

.taxonomy-page--spotlight .page-header--taxonomy {
    border: 1px solid #fecaca;
    background: linear-gradient(180deg, #fff1f2 0%, #fff 100%);
    border-radius: 12px;
    padding: 14px 16px;
}

.taxonomy-page--spotlight .news-feed--grid {
    gap: 16px;
}

.taxonomy-page--spotlight .taxonomy-page--spotlight__card--lead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 0;
}

.taxonomy-page--spotlight .taxonomy-page--spotlight__card--lead .news-card__media {
    height: 100%;
}

.taxonomy-page--spotlight .taxonomy-page--spotlight__card--lead .news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taxonomy-page--magazine .page-header--taxonomy {
    border-bottom: 3px double #fdba74;
}

.taxonomy-page--magazine .news-feed--grid {
    gap: 14px;
}

.taxonomy-page--magazine .taxonomy-page--magazine__card {
    border: 1px solid #fed7aa;
    box-shadow: 0 4px 10px rgba(251, 146, 60, 0.1);
}

/* Variasi layout detail berita: otomatis per slug */
.single-article--classic .content-single--modern {
    border-top: 3px solid #ef4444;
}

.single-article--split .content-single--modern {
    background: linear-gradient(180deg, #fff7ed 0%, #fff 180px);
    border-color: #fed7aa;
}

.single-article--split .entry-header-single {
    border-bottom-color: #fdba74;
}

.single-article--immersive .content-single--modern {
    border: none;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.single-article--immersive .post-thumbnail img {
    border-radius: 14px;
}

@media (max-width: 767px) {
    .taxonomy-page--spotlight .taxonomy-page--spotlight__card--lead {
        grid-template-columns: 1fr;
    }

    .tag-profile-card__grid {
        grid-template-columns: 1fr;
    }
}

.flash-success--bar {
    border-radius: 8px;
    border-left: 4px solid #2e7d32;
    margin-bottom: 16px;
}

/* ========== Regional branches (Jateng, Jatim, …) ========== */
.gmr-regional-wrap {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
}

.regional-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.regional-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    font-weight: 700;
    flex-shrink: 0;
}

.regional-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.regional-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.regional-chip:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.regional-chip.is-active {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

/* Layar sempit: edisi daerah satu baris gulir (mirip app) */
@media (max-width: 767px) {
    .gmr-regional-wrap .regional-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        gap: 8px 12px;
        padding-bottom: 4px;
    }

    .regional-chips {
        flex-wrap: nowrap;
    }
}

.offcanvas-regions {
    padding: 10px 18px 4px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.offcanvas-regions .offcanvas-nav-label {
    margin: 0 0 8px;
}

.offcanvas-regions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.offcanvas-region-pill {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    border-radius: 8px;
    text-decoration: none;
}

.offcanvas-region-pill.is-active,
.offcanvas-region-pill:hover {
    background: #fee2e2;
    color: #991b1b;
}

/* Cegah geser horizontal tak sengaja di HP */
@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }
}

/* ========== Mobile-first minimal header + home layout ========== */
.gmr-mainmenu-mobile {
    display: none;
}

.gmr-mainmenu--desktop {
    display: block;
}

.mobile-important-menu {
    margin: 0;
    padding: 6px 4px 0;
    list-style: none;
    display: flex;
    align-items: stretch;
    gap: 0 4px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid #e8e8e8;
}

.mobile-important-menu::-webkit-scrollbar {
    display: none;
}

.mobile-important-menu li {
    flex: 0 0 auto;
}

.mobile-important-menu a {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px 11px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.01em;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.mobile-important-menu a:hover,
.mobile-important-menu a:focus-visible {
    color: #b91c1c;
    outline: none;
}

.mobile-important-menu a.is-active {
    color: #0f172a;
    font-weight: 700;
    border-bottom-color: #d32f2f;
}

.home-mobile-head {
    margin-bottom: 9px;
}

.home-mobile-tabs {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 2px;
}

.home-mobile-tab {
    display: inline-block;
    padding: 9px 2px 8px;
    margin-right: 14px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1.5px solid transparent;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.home-mobile-tab:hover {
    color: #dc2626;
}

.home-mobile-tab.is-active {
    color: #0f172a;
    font-weight: 600;
    border-bottom-color: #dc2626;
}

.home-hero-card {
    margin-bottom: 12px;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.11);
}

.home-hero-card__media {
    position: relative;
    display: block;
}

.home-hero-card__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.home-hero-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 44px 14px 12px;
    color: #fff;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.16));
}

.home-hero-card__title {
    margin: 0 0 4px;
    font-size: 1.02rem;
    line-height: 1.28;
    color: #fff;
}

.home-hero-card__time {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.9);
}

.home-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
}

.home-grid-card {
    background: #fff;
    border-radius: 10px;
    padding: 2px;
}

.home-grid-card__media {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #e2e8f0;
    margin-bottom: 6px;
}

.home-grid-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.home-grid-card__title {
    margin: 0 0 2px;
    font-size: 0.84rem;
    line-height: 1.28;
    font-weight: 600;
    color: #0f172a;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.1em;
}

.home-grid-card__title a {
    color: inherit;
}

.home-grid-card__time {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.2;
}

/* Beranda: trending + layout mosaic (referensi portal nasional) */
.home-trending-section {
    margin-bottom: 6px;
}

.home-trending-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    padding: 4px 8px;
    min-height: 0;
    background: linear-gradient(90deg, #fff7ed 0%, #fffbeb 50%, #fff7ed 100%);
    border: 1px solid #fed7aa;
    border-radius: 6px;
    box-shadow: none;
}

.home-trending-bar__label {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 800;
    font-size: 0.625rem;
    color: #ea580c;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    line-height: 1;
}

.home-trending-bar__icon {
    width: 13px;
    height: 13px;
}

.home-trending-bar__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    min-width: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-trending-bar__tags::-webkit-scrollbar {
    display: none;
}

.home-trending-bar__tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.6875rem;
    line-height: 1.35;
    font-weight: 600;
    color: #431407;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #fdba74;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-trending-bar__tag:hover {
    background: #fff;
    border-color: #ea580c;
    color: #c2410c;
}

.home-trending-bar__tag--external {
    border-style: dashed;
}

/* Desktop/tablet besar: trending berbentuk chip teks (avatar HOT disembunyikan) */
.home-trending-bar__label-mobile {
    display: none;
}

.home-trending-bar__hot-avatar {
    display: none;
}

.home-trending-bar__hot-label {
    display: inline;
}

/* Desktop: satu baris — chip bergulir horizontal, tidak membungkus ke banyak baris */
@media (min-width: 992px) {
    .home-trending-bar {
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px 8px;
        padding: 3px 8px;
    }

    .home-trending-bar__tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        flex: 1 1 auto;
        min-width: 0;
        gap: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .home-trending-bar__tag {
        flex-shrink: 0;
    }
}

/* Trending di HP: strip “Hot” bergulir seperti portal nasional — avatar + caption */
@media (max-width: 991px) {
    .home-trending-section {
        margin-bottom: 6px;
    }

    .home-trending-bar {
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 4px 6px;
        padding: 4px 6px;
        border-radius: 6px;
        border-color: rgba(251, 191, 36, 0.45);
        background: rgba(255, 251, 235, 0.85);
        box-shadow: none;
    }

    .home-trending-bar__label-desktop {
        display: none;
    }

    .home-trending-bar__label-mobile {
        display: inline;
        color: #c2410c;
    }

    .home-trending-bar__label {
        flex-shrink: 0;
        align-self: center;
        gap: 3px;
        font-size: 0.5625rem;
        font-weight: 800;
        letter-spacing: 0.06em;
    }

    .home-trending-bar__icon {
        width: 12px;
        height: 12px;
    }

    .home-trending-bar__tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        flex: 1 1 auto;
        min-width: 0;
        gap: 6px;
        align-items: flex-start;
        padding-top: 0;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .home-trending-bar__tag.home-trending-bar__tag--hot-wrap {
        flex-shrink: 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 3px;
        min-width: 2.35rem;
        max-width: 3.85rem;
        padding: 0 1px 1px;
        border: none;
        background: transparent;
        box-shadow: none;
        vertical-align: top;
        white-space: normal;
        overflow: visible;
    }

    .home-trending-bar__tag.home-trending-bar__tag--hot-wrap:hover {
        background: transparent;
    }

    .home-trending-bar__hot-avatar {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        font-size: 0.6875rem;
        font-weight: 800;
        line-height: 1;
        color: #fff;
        background: linear-gradient(155deg, #fb923c, #ea580c);
        box-shadow: 0 1px 4px rgba(234, 88, 12, 0.22);
        flex-shrink: 0;
    }

    .home-trending-bar__tag--external.home-trending-bar__tag--hot-wrap .home-trending-bar__hot-avatar {
        background: linear-gradient(155deg, #94a3b8, #64748b);
        box-shadow: 0 2px 6px rgba(71, 85, 105, 0.25);
    }

    .home-trending-bar__hot-label {
        font-size: 0.5rem;
        font-weight: 600;
        line-height: 1.2;
        color: #78350f;
        max-width: 3.65rem;
        text-align: center;
        overflow: hidden;
        word-break: break-word;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .home-trending-bar__tag--external .home-trending-bar__hot-label {
        color: #57534e;
    }
}

/* Feed beranda HP: kartu bergaya portal (thumbnail kiri + judul ringkas, flat) */
@media (max-width: 991px) {
    #infinite-container.home-mosaic,
    #infinite-container.home-grid-two,
    .home-mosaic {
        gap: 0;
    }

    .home-carousel__slide .home-grid-card:not(.home-grid-card--spotlight-rail):not(.home-grid-card--subhero),
    .home-mosaic .home-grid-card:not(.home-grid-card--subhero):not(.home-grid-card--spotlight-rail),
    #infinite-container .home-grid-card:not(.home-grid-card--subhero),
    .home-grid-continuation .home-grid-card:not(.home-grid-card--subhero) {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        padding: 0 0 11px;
        margin-bottom: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #f1f5f9;
        background: transparent;
        box-shadow: none;
    }

    #infinite-container .home-grid-card:not(.home-grid-card--subhero):last-child,
    .home-mosaic .home-grid-card:not(.home-grid-card--subhero):last-child {
        border-bottom: none;
    }

    .home-carousel__slide .home-grid-card:not(.home-grid-card--spotlight-rail):not(.home-grid-card--subhero) .home-grid-card__media,
    .home-mosaic .home-grid-card:not(.home-grid-card--subhero):not(.home-grid-card--spotlight-rail) .home-grid-card__media,
    #infinite-container .home-grid-card:not(.home-grid-card--subhero) .home-grid-card__media {
        flex: 0 0 108px;
        width: 108px;
        max-width: 108px;
        margin-bottom: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .home-carousel__slide .home-grid-card:not(.home-grid-card--spotlight-rail):not(.home-grid-card--subhero) .home-grid-card__media img,
    .home-mosaic .home-grid-card:not(.home-grid-card--subhero):not(.home-grid-card--spotlight-rail) .home-grid-card__media img,
    #infinite-container .home-grid-card:not(.home-grid-card--subhero) .home-grid-card__media img {
        aspect-ratio: 4 / 3;
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        border-radius: 8px;
    }

    .home-carousel__slide .home-grid-card:not(.home-grid-card--spotlight-rail):not(.home-grid-card--subhero) .home-grid-card__body,
    .home-mosaic .home-grid-card:not(.home-grid-card--subhero):not(.home-grid-card--spotlight-rail) .home-grid-card__body,
    #infinite-container .home-grid-card:not(.home-grid-card--subhero) .home-grid-card__body {
        flex: 1 1 auto;
        min-width: 0;
        padding: 2px 0 0;
    }

    #infinite-container .home-grid-card:not(.home-grid-card--subhero) .home-grid-card__title,
    .home-mosaic .home-grid-card:not(.home-grid-card--subhero):not(.home-grid-card--spotlight-rail) .home-grid-card__title {
        font-size: 0.875rem !important;
        line-height: 1.35;
        min-height: 0;
        margin: 0 0 4px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .home-carousel__slide .home-grid-card:not(.home-grid-card--spotlight-rail):not(.home-grid-card--subhero) .home-grid-card__excerpt,
    .home-mosaic .home-grid-card:not(.home-grid-card--subhero):not(.home-grid-card--spotlight-rail) .home-grid-card__excerpt,
    #infinite-container .home-grid-card:not(.home-grid-card--subhero) .home-grid-card__excerpt {
        display: none;
    }

    .home-carousel__slide .home-grid-card:not(.home-grid-card--spotlight-rail):not(.home-grid-card--subhero) .home-grid-card__time,
    .home-mosaic .home-grid-card:not(.home-grid-card--subhero):not(.home-grid-card--spotlight-rail) .home-grid-card__time,
    #infinite-container .home-grid-card:not(.home-grid-card--subhero) .home-grid-card__time {
        font-size: 0.68rem;
        color: #94a3b8;
    }
}

.home-hero-bundle {
    margin-bottom: 16px;
}

.home-hero-subrow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.home-grid-card--subhero .home-grid-card__media img {
    aspect-ratio: 16 / 10;
}

.home-grid-card--subhero .home-grid-card__title {
    font-size: 0.78rem;
    min-height: 2.4em;
}

/* Breadcrumbs publik (jejak navigasi) */
.breadcrumb-public {
    margin: 0 0 14px;
}

.breadcrumb-public__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.breadcrumb-public__item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-public__item:not(:last-child)::after {
    content: '/';
    color: #94a3b8;
    pointer-events: none;
    margin-left: 0.45rem;
    font-weight: 400;
}

.breadcrumb-public__link {
    color: #b91c1c;
    text-decoration: none;
}

.breadcrumb-public__link:hover {
    text-decoration: underline;
}

.breadcrumb-public__current {
    color: #64748b;
    font-weight: 500;
    overflow-wrap: anywhere;
}

/* Inti berita (ringkasan di atas konten utama) */
.article-lede {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 4px solid var(--scheme-color, #d32f2f);
    background: #fef2f2;
}

.article-lede__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #991b1b;
}

.article-lede__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #1e293b;
}

.home-mosaic {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

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

/* Carousel berita pilihan: 2 kartu tampil, geser untuk sisanya */
.home-carousel-section {
    margin-bottom: 18px;
}

.home-carousel-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.home-carousel-section__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.home-carousel-section__controls {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.home-carousel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.home-carousel__btn:hover:not(:disabled) {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.home-carousel__btn:disabled {
    cursor: not-allowed;
}

.home-carousel__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.home-carousel__track {
    display: flex;
    gap: 12px;
    padding-bottom: 4px;
}

.home-carousel__slide {
    flex: 0 0 calc(50% - 6px);
    min-width: calc(50% - 6px);
    max-width: calc(50% - 6px);
    scroll-snap-align: start;
}

.home-carousel__slide:only-child {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
}

.home-carousel__slide .home-grid-card {
    height: 100%;
}

/* Strip kanal beranda (query terpisah dari feed utama) */
.home-segment-strip {
    margin: 22px 0;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.home-segment-strip__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.home-segment-strip__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0f172a;
}

.home-segment-strip__more {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ea580c;
    text-decoration: none;
}

.home-segment-strip__more:hover {
    text-decoration: underline;
}

.home-segment-strip__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

/* Strip kanal — tema klasik: sorotan + rail + empat kartu */
.home-segment-strip--classic {
    margin: 22px 0;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.home-segment-strip__head--classic {
    align-items: center;
    margin-bottom: 18px;
}

.home-segment-strip__title--classic {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0f172a;
}

.home-segment-strip__title-accent {
    flex-shrink: 0;
    width: 4px;
    height: 1.15em;
    border-radius: 2px;
    background: var(--scheme-color, #ea580c);
}

.home-segment-strip__more--classic {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--scheme-color, #ea580c);
    text-decoration: none;
}

.home-segment-strip__more--classic:hover {
    text-decoration: underline;
}

.home-segment-strip__hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.home-segment-strip__rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 767px) {
    .home-segment-strip__rail {
        padding-top: 16px;
        border-top: 1px solid #e2e8f0;
    }
}

@media (min-width: 768px) {
    .home-segment-strip__hero-split {
        grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
        gap: 22px;
        align-items: start;
    }

    .home-segment-strip__rail {
        border-left: 1px solid #e2e8f0;
        padding-left: 18px;
    }
}

.home-segment-strip__lead-media {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

.home-segment-strip__lead-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-segment-strip__lead-time {
    display: block;
    margin-top: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
}

.home-segment-strip__lead-title {
    margin: 6px 0 0;
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.28;
}

.home-segment-strip__lead-title a {
    color: #0f172a;
    text-decoration: none;
}

.home-segment-strip__lead-title a:hover {
    color: var(--scheme-color, #ea580c);
}

.home-segment-strip__lead-excerpt {
    margin: 10px 0 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #64748b;
}

.home-segment-strip__rail-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.home-segment-strip__rail-thumb {
    flex-shrink: 0;
    width: 108px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
}

.home-segment-strip__rail-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-segment-strip__rail-body {
    min-width: 0;
    flex: 1;
}

.home-segment-strip__rail-time {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
}

.home-segment-strip__rail-title {
    margin: 4px 0 0;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
}

.home-segment-strip__rail-title a {
    color: #0f172a;
    text-decoration: none;
}

.home-segment-strip__rail-title a:hover {
    color: var(--scheme-color, #ea580c);
}

.home-segment-strip__tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

@media (min-width: 576px) {
    .home-segment-strip__tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.home-segment-strip__tile-media {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #f1f5f9;
}

.home-segment-strip__tile-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-segment-strip__tile-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-segment-strip__tile-title a {
    color: #0f172a;
    text-decoration: none;
}

.home-segment-strip__tile-title a:hover {
    color: var(--scheme-color, #ea580c);
}

/* Blok gelap + carousel editorial (sebelum strip kanal tertentu, mis. Opini) */
.home-whats-on {
    margin: 22px 0;
    padding: 28px 20px 32px;
    background: #000;
    color: #fff;
    border-radius: 14px;
}

.home-whats-on__inner {
    display: grid;
    gap: 28px;
    align-items: start;
}

@media (min-width: 992px) {
    .home-whats-on__inner {
        grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
        gap: 36px;
        align-items: center;
    }
}

.home-whats-on__heading {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    color: #fff;
}

.home-whats-on__sub {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.home-whats-on__carousel {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.home-whats-on__viewport {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-whats-on__viewport::-webkit-scrollbar {
    display: none;
}

.home-whats-on__track {
    display: flex;
    gap: 14px;
    padding: 4px 0 8px;
}

.home-whats-on__slide {
    flex: 0 0 clamp(180px, 42vw, 240px);
    max-width: 240px;
    scroll-snap-align: start;
}

.home-whats-on__card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-whats-on__card:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
    border-radius: 14px;
}

.home-whats-on__card-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #111;
}

.home-whats-on__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-whats-on__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 12px 14px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}

.home-whats-on__caption {
    margin: 10px 4px 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

.home-whats-on__nav {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.home-whats-on__nav:hover:not(:disabled) {
    transform: scale(1.04);
}

.home-whats-on__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 575px) {
    .home-whats-on__nav {
        width: 36px;
        height: 36px;
        font-size: 1.15rem;
    }
}

/* Video featured di antara strip kategori dan feed */
.home-featured-video-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 22px 0 26px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.1);
    border: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
    .home-featured-video-split {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        min-height: 220px;
    }
}

.home-featured-video-split__media {
    position: relative;
    background: #0f172a;
    min-height: 180px;
}

.home-featured-video-split__embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.home-featured-video-split__embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.home-featured-video-split__poster-link {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.home-featured-video-split__poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-featured-video-split__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.22);
    transition: background 0.2s ease;
}

.home-featured-video-split__poster-link:hover .home-featured-video-split__play {
    background: rgba(15, 23, 42, 0.45);
}

.home-featured-video-split__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 22px 24px;
    background: #050505;
    color: #fff;
}

.home-featured-video-split__kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.92);
}

.home-featured-video-split__title {
    margin: 0;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.home-featured-video-split__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-featured-video-split__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
    color: #0f172a;
}

/* Sidebar: kategori lebih padat (grid 2 kolom + scroll) */
.sidebar-widget--categories-compact .widget-title {
    margin-bottom: 10px;
}

.sidebar-list--pills.sidebar-list--pills-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 11.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    margin: 0;
    list-style: none;
}

.sidebar-list--pills.sidebar-list--pills-compact li {
    margin: 0;
}

.sidebar-list--pills.sidebar-list--pills-compact li a {
    display: block;
    padding: 6px 8px;
    font-size: 0.74rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 575px) {
    .sidebar-list--pills.sidebar-list--pills-compact {
        grid-template-columns: 1fr;
        max-height: 14rem;
    }
}

/* Strip 3 kolom: di luar .container utama → hindari menyempit mengikuti kolom feed saja */
.home-triple-cols-breakout {
    width: 100%;
    clear: both;
    box-sizing: border-box;
}

/* Baris terpisah untuk 3 kolom (full lebar container; tidak berbagi flex-row dengan sidebar) */
.home-triple-cols-row {
    margin-top: 8px;
}

/* Tiga kolom kanal (footer beranda, full lebar di atas footer) */
.home-triple-cols-fullwidth {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 0;
    padding-top: 4px;
}

.home-triple-cols {
    margin: 20px 0 24px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.home-triple-cols__grid {
    display: grid;
    gap: 20px;
    align-items: start;
}

.home-triple-cols__grid--cols-1 {
    grid-template-columns: minmax(0, 1fr);
}

.home-triple-cols__grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-triple-cols__grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991px) {
    .home-triple-cols__grid--cols-2,
    .home-triple-cols__grid--cols-3 {
        grid-template-columns: 1fr;
    }
}

.home-triple-col__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.home-triple-col__accent-bar {
    flex-shrink: 0;
    width: 4px;
    align-self: stretch;
    min-height: 1.1em;
    border-radius: 2px;
    background: #ea580c;
}

.home-triple-col__head-link {
    color: #0f172a;
    text-decoration: none;
}

.home-triple-col__head-link:hover {
    color: #ea580c;
}

.home-triple-col__featured-media {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
}

.home-triple-col__featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-triple-col__featured-title {
    margin: 0 0 6px;
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 700;
}

.home-triple-col__featured-title a {
    color: #0f172a;
    text-decoration: none;
}

.home-triple-col__featured-title a:hover {
    text-decoration: underline;
}

.home-triple-col--accent .home-triple-col__featured-title-link--accent {
    color: #ea580c;
}

.home-triple-col__time {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
}

.home-triple-col__time--small {
    margin-top: 2px;
    font-size: 0.68rem;
}

.home-triple-col__list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.home-triple-col__list-item {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.home-triple-col__list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.home-triple-col__list-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    text-decoration: none;
}

.home-triple-col__list-title:hover {
    color: #ea580c;
}

.home-feed-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 28px 0 32px;
    padding: 0 12px;
}

.home-feed-load-more {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: min(280px, 100%);
    padding: 14px 32px;
    border: 2px solid var(--scheme-color, #ea580c);
    border-radius: 999px;
    background: #fff;
    color: var(--scheme-color, #ea580c);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.home-feed-load-more:hover:not(:disabled) {
    background: var(--scheme-color, #ea580c);
    color: #fff;
    border-color: var(--scheme-color, #ea580c);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.28);
    transform: translateY(-1px);
}

.home-feed-load-more:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(234, 88, 12, 0.2);
}

.home-feed-load-more:disabled,
.home-feed-load-more.is-loading {
    opacity: 0.55;
    cursor: wait;
    transform: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.home-feed-load-more__label {
    line-height: 1.2;
}

.home-feed-load-more__icon {
    display: flex;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.home-feed-load-more:hover:not(:disabled) .home-feed-load-more__icon {
    transform: translateY(2px);
}

.home-feed-load-more__icon svg {
    display: block;
}

.home-feed-sentinel {
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.pagination-wrap--hidden-by-infinite-scroll {
    display: none !important;
}

.home-mosaic--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-grid-card__excerpt {
    margin: 0 0 4px;
    font-size: 0.76rem;
    line-height: 1.35;
    color: #64748b;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-grid-continuation {
    margin-top: 4px;
}

.widget-title--accent {
    position: relative;
    padding-left: 12px;
    font-size: 1.05rem;
}

.widget-title--accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 2px;
    background: #ea580c;
}

.box-widget--popular {
    border: 1px solid #fed7aa;
    background: linear-gradient(180deg, #fffbeb 0%, #fff 45%);
}

.sidebar-list--popular {
    list-style: none;
    counter-reset: popular;
    padding-left: 0;
}

.sidebar-list--popular li {
    counter-increment: popular;
    position: relative;
    padding-left: 2.75rem;
    margin-bottom: 14px;
    min-height: 2.5rem;
    list-style: none;
}

.sidebar-list--popular li::before {
    content: counter(popular);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.85rem;
    height: 1.85rem;
    border: 2px solid #ea580c;
    color: #ea580c;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.sidebar-list--popular li a {
    font-weight: 600;
}

@media (max-width: 991px) {
    .home-mosaic--3,
    .home-mosaic--4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .home-hero-subrow {
        grid-template-columns: 1fr;
    }

    .home-mosaic--3 {
        grid-template-columns: 1fr;
    }

    .home-carousel__slide {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .home-mosaic--4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 399px) {
    .site-header-sticky .index-link {
        display: none;
    }
}

/* HP + tablet: menu tab (desktop merah dua baris disembunyikan ≥992px saja) */
@media (max-width: 991px) {
    .gmr-mainmenu-wrap {
        background: #fff;
        border-bottom: 1px solid #f1f5f9;
    }

    .gmr-mainmenu-wrap .container {
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
    }

    .gmr-mainmenu--desktop {
        display: none !important;
    }

    .gmr-mainmenu-mobile {
        display: block !important;
    }

    .header-search-desktop-only {
        display: none !important;
    }

    .sidebar-search-mobile-only {
        display: block !important;
    }

    /* Header bar: logo kiri, aksi kanan — ciri merah Lingkar (garis atas) */
    .site-header-sticky {
        border-top: 3px solid #d32f2f;
        padding-top: 2px;
    }

    .site-header-sticky .sticky-toolbar {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px 10px;
        min-height: 52px;
        padding: 6px 0 8px;
    }

    .site-header-sticky .sticky-logo {
        order: 1;
        flex: 1 1 auto;
        justify-content: flex-start;
        margin-right: auto;
        min-width: 0;
        padding-left: 0;
        padding-right: 6px;
    }

    .site-header-sticky .sticky-logo-img {
        max-height: 45px;
        max-width: min(220px, 56vw);
    }

    .site-header-sticky .sticky-toolbar-right {
        order: 2;
        flex: 0 0 auto;
        gap: 6px;
    }

    .site-header-sticky .sticky-toolbar-left {
        order: 3;
        flex: 0 0 auto;
    }

    .site-header-sticky .index-link {
        display: none;
    }

    .site-header-sticky .menu-icon-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .site-header-sticky .theme-toggle-btn {
        width: 40px;
        height: 40px;
    }

    .site-header-sticky .theme-toggle-btn svg {
        width: 18px;
        height: 18px;
    }

    .site-header-sticky .layout-toggle__btn {
        min-height: 40px;
        padding: 0 7px;
        font-size: 0.65rem;
    }

    html.theme-dark .mobile-important-menu {
        border-bottom-color: #334155;
    }

    html.theme-dark .mobile-important-menu a {
        color: #94a3b8;
    }

    html.theme-dark .mobile-important-menu a.is-active {
        color: #f1f5f9;
        border-bottom-color: #f87171;
    }

    html.theme-dark .mobile-important-menu a:hover,
    html.theme-dark .mobile-important-menu a:focus-visible {
        color: #fca5a5;
    }

    html.theme-dark .gmr-mainmenu-wrap {
        background: #1e293b;
        border-bottom-color: #334155;
    }
}

@media (max-width: 767px) {
    #primary-menu > li > a {
        padding: 9px 9px;
        font-size: 0.82rem;
    }

    .home-mobile-head {
        margin-bottom: 10px;
    }

    .home-mobile-tabs {
        padding-bottom: 1px;
    }

    .home-mobile-tab {
        font-size: 0.82rem;
        margin-right: 10px;
        padding-top: 8px;
        padding-bottom: 7px;
    }

    .home-grid-two {
        gap: 10px 9px;
    }

    .home-hero-card {
        border-radius: 12px;
    }

    .home-grid-card__title {
        font-size: 0.8rem;
    }

    .home-grid-card__time {
        font-size: 0.7rem;
    }
}

@media (max-width: 420px) {
    .home-mobile-tab {
        font-size: 0.78rem;
    }

    .home-hero-card__title {
        font-size: 0.96rem;
    }

    .home-hero-card__time {
        font-size: 0.7rem;
    }

    .home-grid-card__title {
        font-size: 0.76rem;
    }
}

/* Paksa lebar desktop agar tidak ketimpa utility `.container` lain */
@media (min-width: 992px) {
    #page .container,
    .site-header-pre .container,
    .site-header-sticky .container,
    #main-nav-wrap .container,
    .header-top-leaderboard-wrap .container {
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {
    #page .container,
    .site-header-pre .container,
    .site-header-sticky .container,
    #main-nav-wrap .container,
    .header-top-leaderboard-wrap .container {
        max-width: 1140px !important;
    }
}

.ad-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}

.ad-slot__frame {
    width: 100%;
    border: 1px dashed #c8c8c8;
    border-radius: 12px;
    background: #f7f7f7;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
}

.ad-slot__badge {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: #7b7b7b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ad-slot__placeholder {
    color: #5c5c5c;
    font-size: 0.78rem;
    font-weight: 500;
}

.ad-slot__banner-link {
    display: block;
    width: 100%;
}

.ad-slot__banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Slot iklan full-width (header leaderboard, dll.) */
.ad-slot--full-width {
    display: block;
    width: 100%;
    margin: 0;
}

.ad-slot__frame--full-width {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left;
}

.ad-slot__frame--full-width .ad-slot__banner-link {
    display: block;
    width: 100%;
    line-height: 0;
}

.ad-slot__frame--full-width .ad-slot__banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    border-radius: 8px;
    object-fit: cover;
}

.ad-slot__frame--full-width ins.adsbygoogle {
    display: block;
    width: 100%;
}

/* ============================== */
/* Header Top Leaderboard (Iklan) */
/* ============================== */
.header-top-leaderboard-wrap {
    background: transparent;
    padding: 10px 0;
}

.header-top-leaderboard-wrap > .container {
    position: relative;
}

.header-top-leaderboard-wrap .ad-slot {
    margin: 0;
    position: relative;
    width: 100%;
    display: block;
}

/* Label kecil "Iklan" di pojok kanan — transparan, hanya muncul saat ada banner */
.header-top-leaderboard-wrap .ad-slot::before {
    content: "Iklan";
    position: absolute;
    top: -7px;
    right: 6px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
    line-height: 1.4;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Tampilkan label hanya kalau slot berisi banner manual atau adsense */
.header-top-leaderboard-wrap .ad-slot:has(.ad-slot__banner-link)::before,
.header-top-leaderboard-wrap .ad-slot:has(ins.adsbygoogle)::before {
    opacity: 1;
}

.header-top-leaderboard-wrap .ad-slot__frame {
    border: 0;
    background: transparent;
    padding: 0;
    max-width: 100% !important;
    width: 100%;
    min-height: 0 !important;
    margin: 0;
    display: block !important;
    text-align: left;
}

/* Placeholder (tidak ada banner & belum AdSense) tetap dengan bingkai halus */
.header-top-leaderboard-wrap .ad-slot__frame:not(:has(.ad-slot__banner-link, ins.adsbygoogle)) {
    border: 1px dashed #e5e7eb;
    background: #f8fafc;
    padding: 14px;
    min-height: 90px;
    border-radius: 8px;
}

.header-top-leaderboard-wrap .ad-slot__banner-link {
    display: block;
    width: 100%;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
}

.header-top-leaderboard-wrap .ad-slot__banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    max-width: 100%;
    border-radius: 8px;
    margin: 0;
}

.header-top-leaderboard-wrap .ad-slot__badge {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .header-top-leaderboard-wrap {
        padding: 6px 0;
    }
    .header-top-leaderboard-wrap .ad-slot__frame:not(:has(.ad-slot__banner-link, ins.adsbygoogle)) {
        min-height: 60px;
        padding: 10px;
    }
}

html.theme-dark .header-top-leaderboard-wrap .ad-slot::before {
    background: #1e293b;
    color: #94a3b8;
}

html.theme-dark .header-top-leaderboard-wrap .ad-slot__frame:not(:has(.ad-slot__banner-link, ins.adsbygoogle)) {
    border-color: #334155;
    background: #1e293b;
}

html.theme-dark .header-top-leaderboard-wrap .ad-slot__badge {
    color: #64748b;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.admin-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #2f3748;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
    border: 1px solid #d9deea;
    border-radius: 10px;
    padding: 0.6rem 0.7rem;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fff;
}

.admin-checkbox-field {
    align-self: end;
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem !important;
}

.settings-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.settings-status-item {
    border: 1px solid #d9deea;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
}

.settings-status-item .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.settings-status-item.is-ready {
    background: #f2fbf5;
    border-color: #9ed3af;
    color: #1f6a35;
}

.settings-status-item.is-ready .status-dot {
    background: #2ca24d;
}

.settings-status-item.is-pending {
    background: #fff8f2;
    border-color: #e3c39a;
    color: #8a5d24;
}

.settings-status-item.is-pending .status-dot {
    background: #d6964a;
}

@media (max-width: 900px) {
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .settings-status-grid {
        grid-template-columns: 1fr;
    }
}

.settings-live-verify {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e6ebf5;
}

.settings-verify-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.settings-verify-hint {
    font-size: 0.82rem;
    color: #5c6475;
    flex: 1 1 220px;
}

.verification-live-results {
    margin-top: 1rem;
}

.verification-live-meta {
    font-size: 0.82rem;
    color: #5c6475;
    margin-bottom: 0.75rem;
}

.verification-live-page {
    margin-bottom: 1.25rem;
}

.verification-live-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.5rem;
}

.verification-http-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    background: #eef2fb;
    color: #3d4a63;
}

.verification-live-error {
    margin: 0.35rem 0 0;
}

.admin-table-compact td,
.admin-table-compact th {
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
}

.verification-status {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.12rem 0.4rem;
    border-radius: 6px;
}

.verification-status--ok {
    background: #e6f6eb;
    color: #1f6a35;
}

.verification-status--fail {
    background: #fdeeee;
    color: #a61f1f;
}

.verification-status--skip {
    background: #f2f4f8;
    color: #5c6475;
}

.admin-hero {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 14px;
    align-items: stretch;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 50%, #0ea5e9 100%);
    color: #fff;
    border: none;
}

.admin-hero .kpi-label,
.admin-hero .kpi-note {
    color: rgba(255, 255, 255, 0.82);
}

.admin-hero__eyebrow {
    margin: 0 0 6px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.admin-hero__title {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.25;
    color: #fff;
}

.admin-hero__desc {
    margin: 9px 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 56ch;
}

.admin-hero__actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-hero__actions .admin-btn {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.admin-hero__actions .admin-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.admin-highlight-card {
    height: 100%;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 118px;
}

.admin-highlight-card .kpi-value {
    color: #fff;
}

.admin-highlight-card .kpi-note {
    font-size: 0.78rem;
    margin-top: 6px;
}

.admin-card--compact {
    padding-top: 12px;
    padding-bottom: 12px;
}

.admin-kpi-grid--dashboard {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.admin-kpi-grid--dashboard .admin-kpi-card {
    min-height: 110px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.admin-kpi-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef2ff;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex: 0 0 auto;
}

.admin-kpi-card--accent {
    background: linear-gradient(140deg, #fff1f2 0%, #ffe4e6 100%);
    border-color: #fecdd3;
}

.admin-kpi-card--soft {
    background: #f8fafc;
}

.admin-kpi-grid--dashboard .kpi-value {
    font-size: 1.6rem;
}

.admin-mobile-cards {
    display: none;
    gap: 10px;
    margin-top: 2px;
}

.admin-mobile-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
}

.admin-mobile-card__title {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.35;
    color: #0f172a;
}

.admin-mobile-card__meta {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 0.76rem;
    color: #64748b;
}

.admin-mobile-card__actions {
    margin-top: 8px;
    display: flex;
    gap: 10px;
}

.admin-mobile-card__desc {
    margin: 8px 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #334155;
}

.admin-mobile-card--empty {
    color: #64748b;
    font-size: 0.82rem;
}

.posts-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.posts-toolbar__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.posts-filter-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto auto auto;
    gap: 8px;
    width: 100%;
    max-width: 760px;
}

.posts-filter-form input[type="text"],
.posts-filter-form select {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    background: #fff;
}

.posts-thumb {
    width: 78px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    background: #f1f5f9;
}

.posts-thumb--mobile {
    width: 100%;
    height: 160px;
    margin-bottom: 8px;
}

.quick-media-form {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.quick-media-form input[type="file"],
.quick-media-form input[type="text"] {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 5px 7px;
    font-size: 12px;
    background: #fff;
}

.quick-media-form input[type="text"] {
    width: 180px;
}

.submission-quick-actions {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.submission-quick-actions form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.import-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.import-form-grid input[type="number"],
.import-form-grid input[type="date"],
.import-form-grid input[type="file"] {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    box-sizing: border-box;
    background: #fff;
}

.import-checkbox-grid {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
}

.import-submit-btn {
    width: fit-content;
}

.admin-form-mobile-friendly label {
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
}

.admin-form-mobile-friendly input,
.admin-form-mobile-friendly textarea,
.admin-form-mobile-friendly select {
    margin-bottom: 14px;
}

.article-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
    align-items: center;
    margin-top: 0.7rem;
    justify-content: space-between;
}

.article-meta-author {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.article-meta-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #d32f2f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.article-meta-time {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.article-meta-value {
    font-size: 0.82rem;
    color: #111827;
}

.article-meta-value--regular {
    font-weight: 400;
}

.article-meta-sep {
    color: #9ca3af;
    margin: 0 0.15rem;
}

.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.article-share-inline {
    margin-left: auto;
}

.entry-header-single .article-meta-modern {
    margin-bottom: 0.9rem;
}

.article-share-btn {
    border: 1px solid #dbe1ea;
    background: #fff;
    color: #1f2937;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    text-decoration: none;
    line-height: 1.2;
}

.article-share-btn--icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.article-share-btn--icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.article-share-btn:hover {
    border-color: #d32f2f;
    color: #d32f2f;
}

.article-author-footer {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.85rem;
    color: #334155;
}

/* Rekomendasi bawah artikel: berita terkait, Baca juga, Rekomendasi */
.post-recirc-wrap {
    margin-top: 2rem;
    padding-top: 0.25rem;
}

.post-recirc {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.post-recirc:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.post-recirc__heading {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0f172a;
}

.post-recirc__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 14px;
}

.post-recirc__grid .home-grid-card__media img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

@media (min-width: 576px) {
    .post-recirc__grid {
        grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    }
}

@media (min-width: 768px) {
    .post-recirc__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(84vw, 300px);
        height: 100dvh;
        z-index: 1002;
        transform: translateX(-102%);
        transition: transform 0.25s ease;
        padding: 14px 12px;
        gap: 10px;
    }

    body.admin-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .admin-nav a {
        padding: 10px 9px;
        font-size: 12px;
        text-align: center;
    }

    .admin-main {
        padding: 14px;
    }

    .admin-mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1001;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        display: block;
    }

    body.admin-sidebar-open .admin-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-topbar h1 {
        font-size: 1.25rem;
    }

    .admin-topbar p {
        font-size: 0.82rem;
    }

    .admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .admin-kpi-grid-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-card {
        padding: 12px;
        border-radius: 12px;
    }

    .admin-table {
        min-width: 720px;
    }

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

    .admin-hero__title {
        font-size: 1.2rem;
    }

    .admin-kpi-grid--dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .admin-kpi-grid--dashboard .admin-kpi-card {
        min-height: 96px;
    }

    .article-meta-modern {
        align-items: flex-start;
        gap: 0.6rem;
    }

    .article-share-inline {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .admin-nav {
        grid-template-columns: 1fr;
    }

    .admin-filter-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .admin-filter-form select {
        grid-column: span 2;
    }

    .admin-filter-form .admin-btn,
    .admin-filter-form .admin-btn-secondary {
        width: 100%;
        text-align: center;
        justify-self: stretch;
    }

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

    .admin-table-wrap--desktop {
        display: none;
    }

    .admin-mobile-cards {
        display: grid;
    }

    .posts-filter-form {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
    }

    .posts-filter-form input[type="text"] {
        grid-column: span 2;
    }

    .quick-media-form--mobile {
        margin-top: 10px;
        gap: 8px;
    }

    .quick-media-form--mobile input[type="text"] {
        width: 100%;
    }

    .quick-media-form--mobile .admin-btn {
        width: 100%;
    }

    .import-form-grid {
        grid-template-columns: 1fr;
    }

    .import-checkbox-grid {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .import-submit-btn {
        width: 100%;
    }

    .mobile-sticky-actions {
        position: sticky;
        bottom: 0;
        z-index: 20;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #e5e7eb;
        padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
        margin-top: 14px;
        margin-bottom: -6px;
    }

    .mobile-sticky-actions .admin-btn,
    .mobile-sticky-actions .admin-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .admin-form-mobile-friendly input[type="text"],
    .admin-form-mobile-friendly input[type="email"],
    .admin-form-mobile-friendly input[type="password"],
    .admin-form-mobile-friendly input[type="number"],
    .admin-form-mobile-friendly input[type="datetime-local"],
    .admin-form-mobile-friendly input[type="file"],
    .admin-form-mobile-friendly textarea,
    .admin-form-mobile-friendly select {
        font-size: 16px;
        border-radius: 10px;
        padding: 11px 12px;
    }
}

/* Tema gelap (toggle header) */
html.theme-dark {
    color-scheme: dark;
}

html.theme-dark body {
    background: #0f172a;
    color: #e2e8f0;
}

html.theme-dark .site {
    background: #1e293b;
}

html.theme-dark .site-header-sticky-wrap {
    background: rgba(30, 41, 59, 0.94);
}

html.theme-dark .site-header-sticky {
    background: #1e293b;
}

html.theme-dark .site-footer {
    background: #0f172a;
    border-top-color: #334155;
    color: #94a3b8;
}

html.theme-dark .footer-col__title {
    color: #fca5a5;
    border-bottom-color: #7f1d1d;
}

html.theme-dark .footer-col__list a {
    color: #cbd5e1;
}

html.theme-dark .footer-col__list a:hover {
    color: #fecaca;
}

html.theme-dark .social-icon a {
    background: #1e293b;
    border-color: #475569;
    color: #cbd5e1;
}

html.theme-dark .social-icon a:hover {
    background: #3f1d20;
    border-color: #7f1d1d;
    color: #fecaca;
}

html.theme-dark .footer-bottom-links a {
    color: #94a3b8;
}

html.theme-dark .footer-bottom-links a:hover {
    color: #fecaca;
}

html.theme-dark .sticky-search input {
    background: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

html.theme-dark .theme-toggle-btn {
    background: #334155;
    border-color: #475569;
    color: #e2e8f0;
}

html.theme-dark .home-grid-card__title,
html.theme-dark .home-grid-card__title a {
    color: #f1f5f9;
}

html.theme-dark .home-grid-card__time {
    color: #94a3b8;
}

html.theme-dark .home-grid-card__excerpt {
    color: #94a3b8;
}

html.theme-dark .home-trending-bar {
    background: linear-gradient(90deg, #292524 0%, #1e293b 50%, #292524 100%);
    border-color: #78350f;
}

html.theme-dark .home-trending-bar__tag {
    background: rgba(30, 41, 59, 0.9);
    border-color: #92400e;
    color: #fde68a;
}

html.theme-dark .home-trending-bar__tag:hover {
    border-color: #fb923c;
    color: #fff;
}

html.theme-dark .home-trending-bar__tag--external {
    border-color: #a16207;
}

html.theme-dark .taxonomy-page--clean .page-header--taxonomy {
    border-left-color: #fb7185;
}

html.theme-dark .taxonomy-page--spotlight .page-header--taxonomy {
    border-color: #7f1d1d;
    background: linear-gradient(180deg, #3f1d20 0%, #1e293b 100%);
}

html.theme-dark .taxonomy-page--magazine .page-header--taxonomy {
    border-bottom-color: #92400e;
}

html.theme-dark .taxonomy-page--magazine .taxonomy-page--magazine__card {
    border-color: #78350f;
    box-shadow: none;
}

html.theme-dark .tag-mode-tabs__item {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

html.theme-dark .tag-mode-tabs__item span {
    color: #94a3b8;
}

html.theme-dark .tag-mode-tabs__item.is-active {
    background: #3f1d20;
    border-color: #7f1d1d;
    color: #fecaca;
}

html.theme-dark .tag-profile-card {
    background: #1e293b;
    border-color: #334155;
}

html.theme-dark .tag-profile-photo img {
    border-color: #7f1d1d;
}

html.theme-dark .tag-profile-card__title {
    color: #f1f5f9;
}

html.theme-dark .tag-profile-meta__row {
    border-bottom-color: #334155;
}

html.theme-dark .tag-profile-meta__row dt {
    color: #94a3b8;
}

html.theme-dark .tag-profile-meta__row dd,
html.theme-dark .tag-profile-bio p {
    color: #e2e8f0;
}

html.theme-dark .content-single--modern {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    color: #e2e8f0;
}

html.theme-dark .single-article--classic .content-single--modern {
    border-top-color: #ef4444;
}

html.theme-dark .single-article--split .content-single--modern {
    background: linear-gradient(180deg, #312e22 0%, #1e293b 180px);
    border-color: #78350f;
}

html.theme-dark .single-article--split .entry-header-single {
    border-bottom-color: #92400e;
}

html.theme-dark .single-article--immersive .content-single--modern {
    background: #1e293b;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

html.theme-dark .box-widget--popular {
    border-color: #78350f;
    background: linear-gradient(180deg, #292524 0%, #1e293b 50%);
}

html.theme-dark .box-widget--popular-top {
    background: #1e293b;
    border-color: #334155;
}

html.theme-dark .box-widget--popular-top .widget-title--popular-top {
    color: #f1f5f9;
    border-bottom-color: #334155;
}

html.theme-dark .sidebar-popular-list__item {
    border-bottom-color: #334155;
}

html.theme-dark .sidebar-popular-list__rank {
    color: #1e293b;
    -webkit-text-stroke-color: #fb923c;
}

html.theme-dark .sidebar-popular-list__title {
    color: #f1f5f9;
}

html.theme-dark .sidebar-popular-list__link:hover .sidebar-popular-list__title {
    color: #fca5a5;
}

html.theme-dark .sidebar-popular-list__time {
    color: #94a3b8;
}

html.theme-dark .box-widget--post-channel {
    background: #1e293b;
    border-color: #334155;
}

html.theme-dark .post-sidebar-channel__lead {
    color: #94a3b8;
}

html.theme-dark .post-sidebar-channel__list {
    border-top-color: #334155;
}

html.theme-dark .page-title,
html.theme-dark .entry-title {
    color: #fca5a5;
}

html.theme-dark .breadcrumb-public__item:not(:last-child)::after {
    color: #64748b;
}

html.theme-dark .breadcrumb-public__link {
    color: #fecaca;
}

html.theme-dark .breadcrumb-public__current {
    color: #94a3b8;
}

html.theme-dark .article-lede {
    background: rgba(185, 28, 28, 0.18);
    border-left-color: #f87171;
}

html.theme-dark .article-lede__label {
    color: #fecaca;
}

html.theme-dark .article-lede__text {
    color: #e2e8f0;
}

html.theme-dark .post-recirc__heading {
    color: #f1f5f9;
}

html.theme-dark .post-recirc {
    border-top-color: rgba(148, 163, 184, 0.35);
}

html.theme-dark .home-carousel-section__title {
    color: #f1f5f9;
}

html.theme-dark .home-carousel__btn {
    background: #334155;
    border-color: #475569;
    color: #e2e8f0;
}

html.theme-dark .home-carousel__btn:hover:not(:disabled) {
    background: #450a0a;
    border-color: #991b1b;
    color: #fecaca;
}

/* --- Toggle T1/T2 (skin) + gaya tema gelap: lihat tenant-layout-modern.css untuk tema 2 --- */
.layout-toggle {
    display: inline-flex;
    align-items: stretch;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    overflow: hidden;
}

.layout-toggle__btn {
    margin: 0;
    padding: 0 10px;
    min-height: 42px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.layout-toggle__btn:hover,
.layout-toggle__btn:focus-visible {
    background: #f1f5f9;
    color: #334155;
    outline: none;
}

.layout-toggle__btn.is-active {
    background: #fff;
    color: var(--scheme-color, #d32f2f);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.layout-toggle__btn + .layout-toggle__btn {
    border-left: 1px solid #e2e8f0;
}

.layout-toggle__short {
    display: none;
    font-size: 0.68rem;
    font-weight: 700;
}

.layout-toggle__long {
    display: inline;
}

@media (max-width: 520px) {
    .layout-toggle__short {
        display: inline;
    }

    .layout-toggle__long {
        display: none;
    }

    .layout-toggle__btn {
        padding: 0 8px;
        min-width: 40px;
        min-height: 40px;
    }
}

html.theme-dark .layout-toggle {
    border-color: #334155;
    background: #1e293b;
}

html.theme-dark .layout-toggle__btn {
    color: #94a3b8;
}

html.theme-dark .layout-toggle__btn:hover,
html.theme-dark .layout-toggle__btn:focus-visible {
    background: #334155;
    color: #e2e8f0;
}

html.theme-dark .layout-toggle__btn.is-active {
    background: #0f172a;
    color: #fca5a5;
    box-shadow: inset 0 0 0 1px #475569;
}

html.theme-dark .layout-toggle__btn + .layout-toggle__btn {
    border-left-color: #334155;
}

/* ============================================================
 * Klasik · Dark mode patch (homepage, body artikel, author area)
 * Ditambahkan untuk menutup celah kontras pada elemen yang
 * sebelumnya hanya bergaya tema terang.
 * ============================================================ */

/* Palet dasar */
html.theme-dark body {
    --content-bgcolor: #111827;
    --footer-bgcolor: #0b1220;
    --border-color: #334155;
    --rgbacolor: rgba(148, 163, 184, 0.12);
    --content-greycolor: #94a3b8;
}

/* Tautan default agar tidak gelap pada konten artikel */
html.theme-dark a {
    color: inherit;
}

html.theme-dark .entry-content a,
html.theme-dark .entry-content-single a {
    color: #fca5a5;
    text-decoration: underline;
    text-decoration-color: rgba(252, 165, 165, 0.45);
    text-underline-offset: 2px;
}

html.theme-dark .entry-content a:hover,
html.theme-dark .entry-content-single a:hover {
    color: #fecaca;
}

/* Homepage: kartu grid, kartu hero, dan teks pendukung */
html.theme-dark .home-grid-card {
    background: #1e293b;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.6);
}

html.theme-dark .home-grid-card__media {
    background: #0f172a;
}

html.theme-dark .home-grid-card--subhero .home-grid-card__title {
    color: #f1f5f9;
}

html.theme-dark .home-section-title,
html.theme-dark .home-block-title,
html.theme-dark .home-rail__title,
html.theme-dark .home-spotlight__title,
html.theme-dark .home-hero__title,
html.theme-dark .home-hero__title a {
    color: #f8fafc;
}

html.theme-dark .home-rail__lede,
html.theme-dark .home-spotlight__lede {
    color: #cbd5e1;
}

/* Konten body artikel: paragraf, heading, blockquote, table, kode */
html.theme-dark .entry-content,
html.theme-dark .entry-content-single,
html.theme-dark .entry-content-archive,
html.theme-dark .entry-content p,
html.theme-dark .entry-content-single p,
html.theme-dark .entry-content-archive p,
html.theme-dark .entry-content li,
html.theme-dark .entry-content-single li {
    color: #e2e8f0;
}

html.theme-dark .entry-content h1,
html.theme-dark .entry-content h2,
html.theme-dark .entry-content h3,
html.theme-dark .entry-content h4,
html.theme-dark .entry-content h5,
html.theme-dark .entry-content h6,
html.theme-dark .entry-content-single h1,
html.theme-dark .entry-content-single h2,
html.theme-dark .entry-content-single h3,
html.theme-dark .entry-content-single h4,
html.theme-dark .entry-content-single h5,
html.theme-dark .entry-content-single h6 {
    color: #f8fafc;
}

html.theme-dark .entry-content blockquote,
html.theme-dark .entry-content-single blockquote {
    background: rgba(148, 163, 184, 0.08);
    border-left: 4px solid #f87171;
    color: #e2e8f0;
}

html.theme-dark .entry-content table,
html.theme-dark .entry-content-single table {
    color: #e2e8f0;
    border-color: #334155;
}

html.theme-dark .entry-content table th,
html.theme-dark .entry-content-single table th,
html.theme-dark .entry-content table td,
html.theme-dark .entry-content-single table td {
    border-color: #334155;
}

html.theme-dark .entry-content code,
html.theme-dark .entry-content-single code,
html.theme-dark .entry-content pre,
html.theme-dark .entry-content-single pre {
    background: #0f172a;
    color: #fde68a;
}

html.theme-dark .entry-content hr,
html.theme-dark .entry-content-single hr {
    border-color: #334155;
}

html.theme-dark .entry-content figure figcaption,
html.theme-dark .entry-content-single figure figcaption,
html.theme-dark .single-article .wp-caption-text {
    color: #94a3b8;
}

/* Detail berita: meta-bar + bagian penulis (yang user keluhkan) */
html.theme-dark .gmr-meta-topic a {
    color: #fecaca;
}

html.theme-dark .article-meta-modern,
html.theme-dark .article-meta-author,
html.theme-dark .article-meta-time {
    color: #e2e8f0;
}

html.theme-dark .article-meta-value {
    color: #f1f5f9;
}

html.theme-dark .article-meta-value--regular {
    color: #cbd5e1;
}

html.theme-dark .article-meta-sep {
    color: #64748b;
}

html.theme-dark .article-meta-avatar {
    background: #b91c1c;
    color: #fff7ed;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.4);
}

html.theme-dark .article-share-btn {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

html.theme-dark .article-share-btn:hover {
    background: #1f2937;
    border-color: #f87171;
    color: #fecaca;
}

html.theme-dark .article-author-footer {
    border-top-color: #334155;
    color: #cbd5e1;
}

html.theme-dark .article-author-footer strong {
    color: #f8fafc;
}

html.theme-dark .entry-footer-single .cat-links a,
html.theme-dark .entry-footer-single .tags-links a,
html.theme-dark .cat-links a,
html.theme-dark .tags-links a {
    background-color: rgba(148, 163, 184, 0.14);
    color: #f1f5f9;
}

html.theme-dark .entry-footer-single .cat-links a:hover,
html.theme-dark .entry-footer-single .tags-links a:hover,
html.theme-dark .cat-links a:hover,
html.theme-dark .tags-links a:hover {
    background-color: rgba(248, 113, 113, 0.22);
    color: #fecaca;
}

html.theme-dark .single-article .post-thumbnail,
html.theme-dark .single-article .gmr-thumbnail-single {
    background: #0f172a;
}

/* Sidebar widget umum */
html.theme-dark .widget-area .box-widget {
    background: #1e293b;
    border-color: #334155;
}

html.theme-dark .widget-title {
    color: #fca5a5;
}

html.theme-dark .sidebar-list li,
html.theme-dark .sidebar-list--pills li a {
    color: #e2e8f0;
}

html.theme-dark .sidebar-list--pills li a {
    background: rgba(148, 163, 184, 0.16);
    border-color: transparent;
}

html.theme-dark .sidebar-list--pills li a:hover {
    background: rgba(248, 113, 113, 0.24);
    color: #fecaca;
}

/* Form input dan tombol umum (search & komentar) */
html.theme-dark input[type="text"],
html.theme-dark input[type="search"],
html.theme-dark input[type="email"],
html.theme-dark input[type="tel"],
html.theme-dark textarea,
html.theme-dark select {
    background: #0f172a;
    color: #f1f5f9;
    border-color: #334155;
}

html.theme-dark input::placeholder,
html.theme-dark textarea::placeholder {
    color: #64748b;
}

html.theme-dark button:not(.adm-btn):not(.layout-toggle__btn):not(.theme-toggle-btn),
html.theme-dark .btn {
    background: #1e293b;
    color: #f1f5f9;
    border-color: #334155;
}

/* Toolbar atas (search bar di header) */
html.theme-dark .sticky-search input {
    color: #f1f5f9;
}

html.theme-dark .sticky-search input::placeholder {
    color: #64748b;
}

/* Header dropdown menu utama */
html.theme-dark .gmr-mainmenu-wrap a,
html.theme-dark .site-header-sticky .gmr-mainmenu-wrap a {
    color: #f1f5f9;
}

html.theme-dark .gmr-mainmenu-wrap a:hover {
    color: #fecaca;
}

/* Pagination Laravel default tampak di list page jika dipakai */
html.theme-dark .pagination a,
html.theme-dark .pagination span {
    color: #e2e8f0;
    border-color: #334155;
    background: #1e293b;
}

html.theme-dark .pagination .active span,
html.theme-dark .pagination .is-active a {
    background: #b91c1c;
    color: #fff7ed;
    border-color: #f87171;
}

/* Breadcrumb publik */
html.theme-dark .breadcrumb-public {
    color: #94a3b8;
}

/* Recirculation cards (related, baca juga) — biasanya bg putih */
html.theme-dark .post-recirc__card,
html.theme-dark .post-recirc__list .post-recirc__item {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

html.theme-dark .post-recirc__card .post-recirc__title,
html.theme-dark .post-recirc__title a,
html.theme-dark .post-recirc__item a {
    color: #f8fafc;
}

html.theme-dark .post-recirc__card .post-recirc__title:hover,
html.theme-dark .post-recirc__title a:hover {
    color: #fca5a5;
}

html.theme-dark .post-recirc__card .post-recirc__meta,
html.theme-dark .post-recirc__meta {
    color: #94a3b8;
}

/* Iklan slot placeholder agar kontras tetap halus */
html.theme-dark .ad-slot,
html.theme-dark .ad-slot__inner {
    background: rgba(148, 163, 184, 0.06);
    border-color: rgba(148, 163, 184, 0.16);
    color: #94a3b8;
}

/* Page Indeks Berita - layout 2 kolom (rail kanal + main) */
.indeks-rail__box {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.indeks-rail__heading {
    margin: 0;
    padding: 18px 18px 14px;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.indeks-rail__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #f1f5f9;
}

.indeks-rail__list li + li .indeks-rail__link {
    border-top: 1px solid #f1f5f9;
}

.indeks-rail__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px;
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.indeks-rail__link svg {
    width: 14px;
    height: 14px;
    color: #94a3b8;
    flex: 0 0 auto;
    transition: color 0.18s ease, transform 0.18s ease;
}

.indeks-rail__link:hover {
    background: #fff7ed;
    color: #dc2626;
}

.indeks-rail__link:hover svg {
    color: #dc2626;
    transform: translateX(2px);
}

.indeks-rail__link.is-active {
    color: #dc2626;
    font-weight: 800;
}

.indeks-rail__link.is-active svg {
    color: #dc2626;
}

.indeks-main .breadcrumb-public {
    margin-bottom: 14px;
}

.indeks-toolbar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.indeks-toolbar__form {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
}

.indeks-toolbar__date {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: stretch;
    margin: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.indeks-toolbar__date input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 12px 14px;
    color: #1f2937;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
}

.indeks-toolbar__date input[type="date"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    border: 0;
    padding: 0;
}

.indeks-toolbar__date-btn {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #6b7280;
    padding: 0 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.indeks-toolbar__date-btn svg {
    width: 20px;
    height: 20px;
}

.indeks-toolbar__date:hover,
.indeks-toolbar__date:focus-within {
    border-color: #cbd5e1;
}

.indeks-toolbar__submit {
    flex: 0 0 auto;
    background: #f97316;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 0 28px;
    min-height: 46px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease;
}

.indeks-toolbar__submit:hover {
    background: #ea580c;
}

.indeks-toolbar__filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
}

.indeks-toolbar__filter-chip a {
    color: #b91c1c;
    font-weight: 800;
    text-decoration: none;
    padding: 0 4px;
}

.indeks-list {
    background: transparent;
    padding: 0;
}

.indeks-list__heading {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.indeks-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: start;
}

.indeks-row:last-of-type {
    border-bottom: 0;
}

.indeks-row__media {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    background: #e2e8f0;
    aspect-ratio: 3 / 2;
}

.indeks-row__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.indeks-row__media:hover img {
    transform: scale(1.04);
}

.indeks-row__body {
    min-width: 0;
}

.indeks-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: center;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 0.78rem;
}

.indeks-row__cat {
    color: #b91c1c;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    font-size: 0.78rem;
}

.indeks-row__cat:hover {
    color: #7f1d1d;
}

.indeks-row__title {
    margin: 0 0 6px;
    font-size: 1.18rem;
    line-height: 1.32;
    letter-spacing: -0.005em;
}

.indeks-row__title a {
    color: #111827;
    text-decoration: none;
}

.indeks-row__title a:hover {
    color: #b91c1c;
}

.indeks-row__excerpt {
    margin: 0;
    color: #4b5563;
    line-height: 1.55;
    font-size: 0.92rem;
}

.indeks-row__empty {
    border: 1px dashed #fecaca;
    background: #fff7ed;
    border-radius: 8px;
    padding: 28px;
    text-align: center;
}

.indeks-row__empty h2 {
    margin: 0 0 6px;
    color: #991b1b;
    font-size: 1.05rem;
}

.indeks-row__empty p {
    margin: 0;
    color: #475569;
}

.indeks-pagination {
    padding-top: 18px;
}

/* Dark mode */
html.theme-dark .indeks-rail__box,
html.theme-dark .indeks-toolbar {
    background: #1e293b;
    border-color: #334155;
}

html.theme-dark .indeks-rail__heading,
html.theme-dark .indeks-list__heading {
    color: #f1f5f9;
}

html.theme-dark .indeks-rail__list,
html.theme-dark .indeks-rail__list li + li .indeks-rail__link {
    border-top-color: #334155;
}

html.theme-dark .indeks-rail__link {
    color: #e2e8f0;
}

html.theme-dark .indeks-rail__link svg {
    color: #64748b;
}

html.theme-dark .indeks-rail__link:hover {
    background: rgba(220, 38, 38, 0.12);
    color: #fca5a5;
}

html.theme-dark .indeks-rail__link.is-active,
html.theme-dark .indeks-rail__link.is-active svg,
html.theme-dark .indeks-rail__link:hover svg {
    color: #fca5a5;
}

html.theme-dark .indeks-toolbar__date {
    background: #0f172a;
    border-color: #334155;
}

html.theme-dark .indeks-toolbar__date input[type="text"] {
    color: #f1f5f9;
}

html.theme-dark .indeks-toolbar__date-btn {
    color: #94a3b8;
}

html.theme-dark .indeks-toolbar__filter-chip {
    background: rgba(249, 115, 22, 0.16);
    border-color: #b45309;
    color: #fde68a;
}

html.theme-dark .indeks-list__heading,
html.theme-dark .indeks-row {
    border-bottom-color: #334155;
}

html.theme-dark .indeks-row__title a {
    color: #f1f5f9;
}

html.theme-dark .indeks-row__title a:hover {
    color: #fca5a5;
}

html.theme-dark .indeks-row__cat {
    color: #fca5a5;
}

html.theme-dark .indeks-row__excerpt,
html.theme-dark .indeks-row__meta {
    color: #cbd5e1;
}

html.theme-dark .indeks-row__media {
    background: #0f172a;
}

html.theme-dark .indeks-row__empty {
    background: rgba(120, 53, 15, 0.18);
    border-color: #78350f;
}

html.theme-dark .indeks-row__empty h2 {
    color: #fecaca;
}

html.theme-dark .indeks-row__empty p {
    color: #cbd5e1;
}

@media (max-width: 991px) {
    .indeks-rail {
        margin-bottom: 16px;
    }
    .indeks-rail__list {
        display: flex;
        overflow-x: auto;
        border-top: 1px solid #f1f5f9;
    }
    .indeks-rail__list li {
        flex: 0 0 auto;
    }
    .indeks-rail__list li + li .indeks-rail__link {
        border-top: 0;
        border-left: 1px solid #f1f5f9;
    }
    .indeks-rail__link {
        padding: 10px 14px;
    }
    .indeks-rail__link svg {
        display: none;
    }
}

@media (max-width: 640px) {
    .indeks-toolbar {
        padding: 12px;
    }
    .indeks-toolbar__form {
        flex-wrap: wrap;
    }
    .indeks-toolbar__date {
        flex: 1 1 100%;
    }
    .indeks-toolbar__submit {
        flex: 1 1 100%;
    }
    .indeks-row {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 0;
    }
    .indeks-row__title {
        font-size: 0.98rem;
    }
    .indeks-row__excerpt {
        display: none;
    }
}

/* ============================ */
/* Halaman Peta Situs (Sitemap) */
/* ============================ */
.sitemap-page {
    padding-top: 4px;
}

.sitemap-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff7ed 0%, #fef2f2 60%, #eff6ff 100%);
    border: 1px solid #fed7aa;
    border-radius: 18px;
    padding: 34px 28px 28px;
    margin-bottom: 26px;
}

.sitemap-hero::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(closest-side, rgba(220, 38, 38, 0.18), transparent 70%);
    pointer-events: none;
}

.sitemap-hero__kicker {
    display: inline-block;
    padding: 4px 10px;
    background: var(--scheme-color, #d32f2f);
    color: #fff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.sitemap-hero h1 {
    margin: 14px 0 8px;
    color: #0f172a;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.sitemap-hero__lead {
    margin: 0 0 20px;
    max-width: 50rem;
    color: #475569;
    line-height: 1.6;
}

.sitemap-search {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #fcd5b5;
    border-radius: 999px;
    padding: 6px 6px 6px 44px;
    max-width: 560px;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.08);
}

.sitemap-search__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9a3412;
    display: inline-flex;
}

.sitemap-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    color: #1f2937;
    font-size: 0.95rem;
    outline: none;
}

.sitemap-search button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    background: var(--scheme-color, #d32f2f);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease;
}

.sitemap-search button:hover {
    background: #b91c1c;
}

.sitemap-stats {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.sitemap-stats li {
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sitemap-stats strong {
    font-size: 1.35rem;
    color: #0f172a;
    line-height: 1;
}

.sitemap-stats span {
    color: #6b7280;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sitemap-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 22px 24px;
    margin-bottom: 22px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sitemap-section__head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.sitemap-section__head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.18rem;
    letter-spacing: -0.01em;
}

.sitemap-section__head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.86rem;
}

.sitemap-section__see-all {
    font-weight: 700;
    color: #b91c1c;
    text-decoration: none;
}

.sitemap-section__see-all:hover {
    text-decoration: underline;
}

.sitemap-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.sitemap-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 40px 14px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.sitemap-card:hover {
    border-color: #fca5a5;
    background: #fff7ed;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.08);
}

.sitemap-card__title {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.98rem;
}

.sitemap-card__desc {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
}

.sitemap-card__arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    transition: color 0.18s ease, transform 0.18s ease;
}

.sitemap-card:hover .sitemap-card__arrow {
    color: #b91c1c;
    transform: translateY(-50%) translateX(3px);
}

.sitemap-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sitemap-pill {
    display: inline-block;
    padding: 7px 13px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #1f2937;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.sitemap-pill:hover {
    background: #fff1f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.sitemap-pills--alt .sitemap-pill {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.sitemap-pills--alt .sitemap-pill:hover {
    background: #dbeafe;
    color: #1e3a8a;
}

.sitemap-pills--ghost .sitemap-pill {
    background: transparent;
    border-color: #cbd5e1;
    color: #475569;
    font-weight: 500;
    font-size: 0.82rem;
}

.sitemap-pills--ghost .sitemap-pill:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.sitemap-section--split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.sitemap-section--split > div {
    min-width: 0;
}

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

.sitemap-list li + li {
    border-top: 1px dashed #e5e7eb;
}

.sitemap-list a {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #0f172a;
    text-decoration: none;
}

.sitemap-list a:hover .sitemap-list__title {
    color: #b91c1c;
}

.sitemap-list__title {
    flex: 1 1 auto;
    font-size: 0.94rem;
    line-height: 1.45;
}

.sitemap-list time,
.sitemap-list__views {
    flex: 0 0 auto;
    color: #6b7280;
    font-size: 0.78rem;
    white-space: nowrap;
}

.sitemap-list--ranked {
    counter-reset: rank;
    list-style: none;
    padding: 0;
}

.sitemap-list--ranked li {
    counter-increment: rank;
}

.sitemap-list--ranked li a::before {
    content: counter(rank);
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 800;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.sitemap-list--ranked li:nth-child(-n+3) a::before {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.25);
}

.sitemap-xml {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.sitemap-xml__card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    color: #f8fafc;
    text-decoration: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.sitemap-xml__card strong {
    font-size: 0.92rem;
    color: #fde68a;
}

.sitemap-xml__card span {
    font-size: 0.78rem;
    color: #94a3b8;
    font-family: inherit;
}

.sitemap-xml__card:hover {
    background: #1e293b;
    border-color: #334155;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .sitemap-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sitemap-section--split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sitemap-hero {
        padding: 22px 18px 20px;
    }
    .sitemap-section {
        padding: 18px;
    }
    .sitemap-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sitemap-search {
        padding-left: 38px;
    }
    .sitemap-search__icon {
        left: 12px;
    }
    .sitemap-search button {
        padding: 10px 14px;
    }
}

/* Dark mode */
html.theme-dark .sitemap-hero {
    background: linear-gradient(135deg, #1e293b 0%, #312e22 60%, #1e293b 100%);
    border-color: #78350f;
}

html.theme-dark .sitemap-hero h1 {
    color: #f1f5f9;
}

html.theme-dark .sitemap-hero__lead,
html.theme-dark .sitemap-stats span {
    color: #cbd5e1;
}

html.theme-dark .sitemap-search {
    background: #0f172a;
    border-color: #92400e;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

html.theme-dark .sitemap-search input {
    color: #f1f5f9;
}

html.theme-dark .sitemap-search__icon {
    color: #fbbf24;
}

html.theme-dark .sitemap-stats li {
    background: #0f172a;
    border-color: #334155;
}

html.theme-dark .sitemap-stats strong {
    color: #f1f5f9;
}

html.theme-dark .sitemap-section {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

html.theme-dark .sitemap-section__head {
    border-bottom-color: #334155;
}

html.theme-dark .sitemap-section__head h2 {
    color: #f1f5f9;
}

html.theme-dark .sitemap-section__head p,
html.theme-dark .sitemap-card__desc {
    color: #94a3b8;
}

html.theme-dark .sitemap-card {
    background: #0f172a;
    border-color: #334155;
}

html.theme-dark .sitemap-card:hover {
    background: rgba(220, 38, 38, 0.12);
    border-color: #b91c1c;
}

html.theme-dark .sitemap-card__title {
    color: #f1f5f9;
}

html.theme-dark .sitemap-card__arrow {
    color: #64748b;
}

html.theme-dark .sitemap-pill {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

html.theme-dark .sitemap-pill:hover {
    background: rgba(220, 38, 38, 0.18);
    color: #fecaca;
    border-color: #b91c1c;
}

html.theme-dark .sitemap-pills--alt .sitemap-pill {
    background: rgba(29, 78, 216, 0.18);
    border-color: #1d4ed8;
    color: #bfdbfe;
}

html.theme-dark .sitemap-pills--ghost .sitemap-pill {
    color: #cbd5e1;
    border-color: #334155;
}

html.theme-dark .sitemap-list li + li {
    border-top-color: #334155;
}

html.theme-dark .sitemap-list a {
    color: #e2e8f0;
}

html.theme-dark .sitemap-list time,
html.theme-dark .sitemap-list__views {
    color: #94a3b8;
}

html.theme-dark .sitemap-list--ranked li a::before {
    background: rgba(220, 38, 38, 0.18);
    color: #fecaca;
}

html.theme-dark .sitemap-xml__card {
    background: #020617;
    border-color: #1e293b;
}

html.theme-dark .sitemap-xml__card:hover {
    background: #0f172a;
    border-color: #334155;
}

