:root {
    --fe-primary: #142b4a;
    --fe-accent: #e53935;
    --fe-text: #202632;
    --fe-muted: #77808d;
    --fe-border: #e8ebef;
    --fe-surface: #ffffff;
    --fe-page: #f5f6f8;
    --fe-container: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--fe-surface);
    color: var(--fe-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--fe-accent); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.fe-container {
    width: min(var(--fe-container), calc(100% - 32px));
    margin-inline: auto;
}
.fe-topbar {
    background: var(--fe-primary);
    color: #fff;
    font-size: 12px;
}
.fe-topbar-inner, .fe-brand-row, .fe-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.fe-topbar-inner { min-height: 36px; }
.fe-brand-row { padding-block: 22px; }
.fe-brand {
    color: var(--fe-primary);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.fe-brand span { color: var(--fe-accent); }
.fe-tagline { color: var(--fe-muted); font-size: 12px; }
.fe-ad-top {
    min-height: 90px;
    display: grid;
    place-items: center;
    padding: 12px;
    background: var(--fe-page);
    border: 1px dashed #d8dde4;
    color: var(--fe-muted);
    font-size: 11px;
    text-align: center;
}
.fe-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--fe-primary);
    color: #fff;
    box-shadow: 0 3px 12px rgb(0 0 0 / 8%);
}
.fe-nav-inner { justify-content: flex-start; min-height: 48px; }
.fe-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
}
.fe-nav a:hover, .fe-nav a.is-active {
    background: var(--fe-accent);
    color: #fff;
}
.fe-section { padding-block: 28px; }
.fe-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--fe-primary);
}
.fe-section-head h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}
.fe-section-head h2::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 20px;
    margin-right: 10px;
    vertical-align: -3px;
    background: var(--fe-accent);
}
.fe-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
    gap: 20px;
}
.fe-story {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--fe-border);
    border-radius: 5px;
}
.fe-story-image {
    position: relative;
    overflow: hidden;
    background: #e8ebef;
    aspect-ratio: 16 / 9;
}
.fe-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.fe-story:hover .fe-story-image img { transform: scale(1.035); }
.fe-story-body { padding: 16px; }
.fe-category {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--fe-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}
.fe-story h3 {
    margin: 0 0 9px;
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.35;
}
.fe-story-meta { color: var(--fe-muted); font-size: 12px; }
.fe-story-excerpt { color: #59616d; margin: 10px 0 0; }
.fe-hero-list { display: grid; gap: 14px; align-content: start; }
.fe-story-compact {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--fe-border);
}
.fe-story-compact .fe-story-image { aspect-ratio: 4 / 3; }
.fe-story-compact h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.4; }
.fe-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 30px;
}
.fe-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.fe-sidebar { display: grid; gap: 22px; }
.fe-ad-slot {
    display: grid;
    place-items: center;
    min-height: 250px;
    padding: 14px;
    border: 1px dashed #d8dde4;
    background: var(--fe-page);
    color: var(--fe-muted);
    font-size: 11px;
    text-align: center;
}
.fe-empty { padding: 24px; color: var(--fe-muted); background: var(--fe-page); }
.fe-footer { margin-top: 32px; padding: 32px 0; background: var(--fe-primary); color: #fff; }
.fe-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.fe-footer p { color: #c8d0dc; font-size: 13px; }
.fe-footer h3 { margin-top: 0; }
.fe-footer a { display: block; margin: 6px 0; color: #e1e6ee; font-size: 13px; }
.fe-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
}
.fe-popup-backdrop { position: absolute; inset: 0; background: rgb(8 17 30 / 75%); }
.fe-popup-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 70px rgb(0 0 0 / 30%);
}
.fe-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #202632;
    font-size: 24px;
    cursor: pointer;
}
.fe-popup-image { width: 100%; height: auto; }
@media (max-width: 800px) {
    .fe-hero-grid, .fe-content-grid { grid-template-columns: 1fr; }
    .fe-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fe-brand-row { align-items: flex-start; flex-direction: column; }
    .fe-nav-inner { overflow-x: auto; gap: 0; }
    .fe-nav a { flex-shrink: 0; padding-inline: 12px; }
}
@media (max-width: 520px) {
    .fe-container { width: min(100% - 24px, var(--fe-container)); }
    .fe-section { padding-block: 20px; }
    .fe-news-grid, .fe-sidebar, .fe-footer-grid { grid-template-columns: 1fr; }
    .fe-story-compact { grid-template-columns: 96px minmax(0, 1fr); }
    .fe-story-compact h3 { font-size: 14px; }
    .fe-ad-top { min-height: 70px; }
}

.fe-popup[hidden] { display: none; }

/* Jumbotron berita terbaru */
.fe-jumbotron { margin-top: 24px; }
.fe-slider {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background: #162d4d;
    border-radius: 8px;
}
.fe-slide {
    display: none;
    position: relative;
    min-height: 320px;
    color: #fff;
}
.fe-slide.is-active { display: block; }
.fe-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fe-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,20,38,.9), rgba(8,20,38,.15));
}
.fe-slide-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 320px;
    max-width: 720px;
    padding: 32px;
}
.fe-slide-overlay h2 {
    margin: 8px 0 18px;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.2;
}
.fe-slide-overlay a {
    width: fit-content;
    padding: 10px 16px;
    border-radius: 4px;
    background: var(--fe-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.fe-slider button {
    position: absolute;
    z-index: 2;
    top: 45%;
    padding: 8px 14px;
    border: 0;
    border-radius: 4px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}
.fe-slider [data-prev] { left: 12px; }
.fe-slider [data-next] { right: 12px; }
@media (max-width: 600px) {
    .fe-slider, .fe-slide, .fe-slide-overlay { min-height: 260px; }
    .fe-slide-overlay { padding: 22px; }
}

/* Jumbotron saat belum ada berita terbit */
.fe-slider:has(> .fe-empty) {
    min-height: 220px;
    background: linear-gradient(120deg, #162d4d, #254b73);
}
.fe-slider > .fe-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    padding: 32px;
    color: #fff;
    background: transparent;
    text-align: left;
}
.fe-slider > .fe-empty::before {
    content: "MALUKUSCOPE";
    margin-bottom: 10px;
    color: #f04444;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Search box navbar */
.fe-search-form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding-left: 12px;
}

.fe-search-form input[type="search"] {
    width: 190px;
    max-width: 100%;
    height: 34px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    color: #172e4f;
    font: inherit;
}

.fe-search-form button {
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 3px;
    background: #e93636;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.fe-search-form button:hover {
    background: #c92525;
}

@media (max-width: 768px) {
    .fe-nav-inner {
        flex-wrap: wrap;
    }

    .fe-search-form {
        width: 100%;
        margin: 8px 0;
        padding-left: 0;
    }

    .fe-search-form input[type="search"] {
        flex: 1;
        min-width: 0;
    }
}

/* Kartu hasil pencarian */
.fe-search-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fe-search-result {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.fe-search-result-image {
    display: block;
    flex: 0 0 220px;
    width: 220px;
    height: 145px;
    overflow: hidden;
    border-radius: 4px;
}

.fe-search-result-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fe-search-result-body {
    flex: 1;
    min-width: 0;
}

.fe-search-result-body h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.4;
}

.fe-search-result-body h3 a {
    color: #172e4f;
    text-decoration: none;
}

.fe-search-result-body h3 a:hover {
    color: #e93636;
}

.fe-search-result-body .fe-story-meta {
    margin-bottom: 10px;
}

.fe-search-result-body .fe-story-excerpt {
    margin: 0 0 10px;
    line-height: 1.6;
}

.fe-search-read-more {
    color: #e93636;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 600px) {
    .fe-search-result {
        flex-direction: column;
    }

    .fe-search-result-image {
        flex: none;
        width: 100%;
        height: 190px;
    }

    .fe-search-result-body h3 {
        font-size: 18px;
    }
}

/* Berita terbaru: dua kolom dengan kartu lengkap */
.fe-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.fe-latest-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: #fff;
}

.fe-latest-card .fe-story-image {
    display: block;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.fe-latest-card .fe-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fe-latest-card .fe-story-body {
    padding: 14px;
}

.fe-latest-card h3 {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.4;
}

.fe-latest-card h3 a {
    color: #172e4f;
    text-decoration: none;
}

.fe-latest-card h3 a:hover {
    color: #e93636;
}

.fe-latest-read-more {
    color: #e93636;
    font-weight: 600;
    text-decoration: none;
}

.fe-pagination {
    margin-top: 24px;
    text-align: center;
}

.fe-pagination a,
.fe-pagination strong {
    display: inline-block;
    margin: 3px;
    padding: 8px 12px;
    border: 1px solid #d8dee8;
    border-radius: 3px;
    text-decoration: none;
}

.fe-pagination strong {
    background: #172e4f;
    color: #fff;
    border-color: #172e4f;
}

@media (max-width: 600px) {
    .fe-news-grid {
        grid-template-columns: 1fr;
    }

    .fe-latest-card .fe-story-image {
        height: 200px;
    }
}

/* Berita terbaru: kartu dua kolom */
.fe-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.fe-latest-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: #fff;
}

.fe-latest-card .fe-story-image {
    display: block;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.fe-latest-card .fe-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fe-latest-card .fe-story-body {
    padding: 14px;
}

.fe-latest-card h3 {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.4;
}

.fe-latest-card h3 a {
    color: #172e4f;
    text-decoration: none;
}

.fe-latest-card h3 a:hover,
.fe-latest-read-more {
    color: #e93636;
}

.fe-latest-read-more {
    font-weight: 600;
    text-decoration: none;
}

.fe-pagination {
    margin-top: 24px;
    text-align: center;
}

.fe-pagination a,
.fe-pagination strong {
    display: inline-block;
    margin: 3px;
    padding: 8px 12px;
    border: 1px solid #d8dee8;
    border-radius: 3px;
    text-decoration: none;
}

.fe-pagination strong {
    background: #172e4f;
    color: #fff;
    border-color: #172e4f;
}

@media (max-width: 600px) {
    .fe-news-grid {
        grid-template-columns: 1fr;
    }

    .fe-latest-card .fe-story-image {
        height: 200px;
    }
}

/* =========================================
   SINGLE ARTICLE - MALUKUSCOPE
   ========================================= */
.fe-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 28px;
    margin: 28px auto 40px;
}

.fe-article {
    min-width: 0;
    overflow-wrap: anywhere;
}

.fe-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    color: var(--fe-muted);
    font-size: 13px;
}

.fe-breadcrumb a {
    color: #245b87;
}

.fe-article-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.fe-article-categories .fe-category {
    margin: 0;
}

.fe-article-title {
    margin: 0 0 16px;
    color: var(--fe-primary);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.fe-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 22px;
    color: var(--fe-muted);
    font-size: 13px;
}

.fe-article-meta strong {
    color: #46566b;
}

.fe-article-cover-wrap {
    margin: 0 0 24px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--fe-page);
}

.fe-article-cover {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
    margin-inline: auto;
}

.fe-article-excerpt {
    margin: 0 0 24px;
    padding-left: 16px;
    border-left: 4px solid var(--fe-accent);
    color: #46566b;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
}

.fe-article-content {
    min-width: 0;
    color: #303846;
    font-size: 17px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.fe-article-content p {
    margin: 0 0 22px;
}

.fe-article-content h2 {
    margin: 32px 0 14px;
    color: var(--fe-primary);
    font-size: 27px;
    line-height: 1.35;
}

.fe-article-content h3 {
    margin: 26px 0 12px;
    color: var(--fe-primary);
    font-size: 22px;
    line-height: 1.4;
}

.fe-article-content h4 {
    margin: 22px 0 10px;
    font-size: 19px;
}

.fe-article-content ul,
.fe-article-content ol {
    margin: 0 0 22px;
    padding-left: 28px;
}

.fe-article-content li {
    margin-bottom: 8px;
}

.fe-article-content img,
.fe-article-content video {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}

.fe-article-content figure {
    max-width: 100%;
    margin: 24px 0;
}

.fe-article-content figcaption {
    padding-top: 8px;
    color: var(--fe-muted);
    font-size: 12px;
    text-align: center;
}

.fe-article-content blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--fe-accent);
    background: var(--fe-page);
    color: #46566b;
}

.fe-article-content iframe {
    max-width: 100%;
}

.fe-article-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.fe-article-content th,
.fe-article-content td {
    padding: 8px 12px;
    border: 1px solid var(--fe-border);
}

.fe-article-back {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--fe-border);
}

.fe-article-back a {
    color: var(--fe-primary);
    font-weight: 700;
}

.fe-sidebar-widget {
    min-width: 0;
}

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

.fe-sidebar-categories li {
    padding: 10px 0;
    border-bottom: 1px solid var(--fe-border);
}

.fe-sidebar-categories a {
    color: #46566b;
}

.fe-sidebar-categories a:hover {
    color: var(--fe-accent);
}

@media (max-width: 800px) {
    .fe-article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        margin-top: 22px;
    }

    .fe-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .fe-article-title {
        font-size: clamp(27px, 5vw, 36px);
    }

    .fe-article-cover {
        max-height: 480px;
    }
}

@media (max-width: 520px) {
    .fe-article-layout {
        margin-top: 18px;
        margin-bottom: 28px;
    }

    .fe-article-title {
        font-size: 28px;
        line-height: 1.25;
        letter-spacing: -.3px;
    }

    .fe-article-meta {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .fe-article-cover-wrap {
        margin-bottom: 20px;
        border-radius: 4px;
    }

    .fe-article-cover {
        max-height: 360px;
    }

    .fe-article-excerpt {
        font-size: 16px;
        line-height: 1.75;
    }

    .fe-article-content {
        font-size: 16px;
        line-height: 1.85;
    }

    .fe-article-content h2 {
        font-size: 23px;
    }

    .fe-article-content h3 {
        font-size: 20px;
    }

    .fe-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Slot iklan di bawah isi single article */
.fe-article-bottom-ad {
    margin-top: 34px;
}

.fe-article-bottom-ad .fe-ad-slot {
    min-height: 250px;
    width: 100%;
}


/* Dynamic website branding */
.fe-brand-logo {
    display: block;
    width: 300px;
    height: 60px;
    max-width: min(300px, 65vw);
    object-fit: contain;
    object-position: left center;
}


/* Jarak khusus halaman kategori */
.fe-category-page {
    margin-top: 20px;
}

/* Header login icon */
.fe-header-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.fe-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--fe-primary);
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}

.fe-header-login:hover {
    background: var(--fe-accent);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 800px) {
    .fe-brand-row {
        flex-direction: row;
        align-items: center;
    }

    .fe-header-right {
        gap: 10px;
    }

    .fe-tagline {
        display: none;
    }
}

/* FIX PAGINATION - HORIZONTAL */
.fe-pagination ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fe-pagination li {
    display: inline-flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fe-pagination a,
.fe-pagination strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #d8dee8;
    border-radius: 4px;
    text-decoration: none;
}

.fe-pagination strong {
    background: #172e4f;
    color: #fff;
    border-color: #172e4f;
}

.fe-pagination a:hover {
    background: #e93636;
    color: #fff;
    border-color: #e93636;
}

/* BERITA POPULER - THUMBNAIL SIDEBAR */
.fe-sidebar-news {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--fe-border);
}

.fe-sidebar-news-image {
    display: block;
    flex: 0 0 96px;
    width: 96px;
    height: 72px;
    overflow: hidden;
    border-radius: 4px;
}

.fe-sidebar-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fe-sidebar-news-content {
    flex: 1;
    min-width: 0;
}

.fe-sidebar-news-content h3 {
    margin: 5px 0;
}

.fe-sidebar-news-content h3 a {
    color: inherit;
    text-decoration: none;
}

.fe-sidebar-news-content h3 a:hover {
    color: var(--fe-accent);
}

.fe-sidebar-news-content small {
    color: #718096;
    font-size: 11px;
}

/* SLIDER SMOOTH HORIZONTAL TRANSITION */
.fe-slider {
    position: relative;
    isolation: isolate;
}

.fe-slide {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition:
        transform 750ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 750ms ease;
    will-change: transform, opacity;
}

.fe-slide.is-active {
    display: block;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.fe-slide.is-exiting-left {
    z-index: 0;
    opacity: 0;
    visibility: visible;
    transform: translateX(-100%);
}

.fe-slide.is-exiting-right {
    z-index: 0;
    opacity: 0;
    visibility: visible;
    transform: translateX(100%);
}

.fe-slide.is-entering-right {
    transform: translateX(100%);
}

.fe-slide.is-entering-left {
    transform: translateX(-100%);
}

@media (max-width: 600px) {
    .fe-slide {
        min-height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fe-slide {
        transition: none;
    }
}

/* SLIDER LAYOUT - KONSISTENSI TINGGI DAN JUDUL */
.fe-slider {
    height: 380px;
    min-height: 380px;
}

.fe-slide,
.fe-slide-overlay {
    height: 380px;
    min-height: 380px;
}

.fe-slide-overlay {
    justify-content: flex-end;
    padding: 30px;
}

.fe-slide-overlay h2 {
    max-width: 680px;
    margin: 8px 0 16px;
    font-size: clamp(28px, 3vw, 34px);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

@media (max-width: 600px) {
    .fe-slider {
        height: 300px;
        min-height: 300px;
    }

    .fe-slide,
    .fe-slide-overlay {
        height: 300px;
        min-height: 300px;
    }

    .fe-slide-overlay {
        padding: 22px;
    }

    .fe-slide-overlay h2 {
        font-size: 25px;
        line-height: 1.2;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

/* BERITA POPULER - TAMPILAN RINGKAS */
.fe-sidebar-news {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--fe-border);
}

.fe-sidebar-news-image {
    display: block;
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 8px;
}

.fe-sidebar-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fe-sidebar-news-content {
    flex: 1;
    min-width: 0;
}

.fe-sidebar-news-content h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.fe-sidebar-news-content h3 a {
    color: #172e4f;
    text-decoration: none;
}

.fe-sidebar-news-content h3 a:hover {
    color: var(--fe-accent);
}

.fe-sidebar-news-content .fe-category {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #718096;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}

@media (max-width: 600px) {
    .fe-sidebar-news-image {
        flex-basis: 80px;
        width: 80px;
        height: 80px;
    }

    .fe-sidebar-news-content h3 {
        font-size: 15px;
    }
}

/* ALIGNMENT - BERITA UTAMA DAN BERITA POPULER */
.fe-content-grid > .fe-main-column > .fe-section:first-child {
    padding-top: 0;
}

/* =====================================================
   ARTICLE SHARE - GOOGLE PREFERRED SOURCES & SOCIAL
   ===================================================== */
.fe-article-share {
    margin: 30px 0;
    padding: 20px;
    background: #f7f9fc;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
}

.fe-google-preferred {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    margin-bottom: 20px;
}

.fe-share-heading {
    margin-bottom: 13px;
    color: #26364b;
    font-size: 14px;
    font-weight: 700;
}

.fe-share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.fe-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.fe-share-button:hover {
    color: #fff;
    opacity: .9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

.fe-share-button > span:first-child {
    font-size: 17px;
    font-weight: 700;
}

.fe-share-facebook { background: #1877f2; }
.fe-share-x { background: #171717; }
.fe-share-whatsapp { background: #25d366; }
.fe-share-line { background: #06c755; }
.fe-share-line > span:first-child { font-size: 11px; }
.fe-share-telegram { background: #229ed9; }
.fe-share-copy {
    background: #fff;
    color: #344054;
    border-color: #d7dee8;
}
.fe-share-copy:hover {
    color: #344054;
}

.fe-share-feedback {
    min-height: 18px;
    margin-top: 10px;
    color: #16834a;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .fe-article-share {
        padding: 15px;
        margin: 24px 0;
    }

    .fe-share-buttons {
        gap: 8px;
    }

    .fe-share-button {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        padding: 10px 8px;
        font-size: 12px;
    }
}

/* ARTICLE SHARE - IKON BULAT TANPA LABEL */
.fe-share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.fe-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    overflow: hidden;
}

.fe-share-button > span {
    display: none !important;
}

.fe-share-line {
    font-size: 12px;
    font-weight: 800;
}

.fe-share-copy {
    background: #64748b;
    color: #fff;
}

.fe-share-copy:hover {
    color: #fff;
}

.fe-share-feedback {
    min-height: 18px;
}

@media (max-width: 600px) {
    .fe-share-button {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }
}

/* ARTICLE SHARE - FINAL RESPONSIVE ICON GRID */
.fe-article-share {
    box-sizing: border-box;
    width: 100%;
}

.fe-google-preferred {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.fe-google-preferred-text {
    max-width: 100%;
}

.fe-google-preferred-text strong {
    display: block;
    color: #172e4f;
    font-size: 15px;
    line-height: 1.5;
}

.fe-google-preferred-text p {
    display: none !important;
}

.fe-share-heading {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
}

.fe-share-buttons {
    display: grid !important;
    grid-template-columns: repeat(7, 64px);
    justify-content: start;
    align-items: start;
    gap: 14px 10px;
    width: 100%;
}

.fe-share-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: 64px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #475569;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transform: none;
}

.fe-share-item:hover {
    background: transparent;
    color: #172e4f;
    opacity: 1;
    box-shadow: none;
    transform: none;
}

.fe-share-icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    color: #fff;
    overflow: hidden;
    transition: transform .2s ease;
}

.fe-share-item:hover .fe-share-icon {
    transform: translateY(-3px);
}

.fe-share-icon svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.fe-icon-facebook { background: #1877f2; }
.fe-icon-facebook svg { width: 27px; height: 27px; }

.fe-icon-x { background: #171717; }
.fe-icon-x svg { width: 19px; height: 19px; }

.fe-icon-whatsapp { background: #25d366; }
.fe-icon-whatsapp svg { width: 25px; height: 25px; }

.fe-icon-instagram {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.fe-icon-instagram svg { width: 25px; height: 25px; }

.fe-icon-tiktok { background: #111; }
.fe-icon-tiktok svg { width: 23px; height: 23px; }

.fe-icon-telegram { background: #229ed9; }
.fe-icon-telegram svg { width: 23px; height: 23px; }

.fe-icon-copy { background: #64748b; }

.fe-share-label {
    display: block !important;
    width: 100%;
    color: #526174;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}

.fe-share-feedback {
    min-height: 18px;
    margin-top: 12px;
}

@media (max-width: 600px) {
    .fe-share-buttons {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-items: center;
        gap: 16px 4px;
    }

    .fe-share-item {
        width: 100%;
    }

    .fe-share-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .fe-share-label {
        font-size: 10px;
    }
}

/* MALUKUSCOPE CATEGORY DROPDOWN */
.fe-nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.fe-nav .fe-nav-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.fe-nav .fe-nav-trigger:hover,
.fe-nav .fe-nav-trigger[aria-expanded="true"] {
    background: var(--fe-accent);
    color: #fff;
}

.fe-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 110;
    min-width: 125px;
    width: max-content;
    padding: 5px 0;
    background: var(--fe-primary);
    box-shadow: 0 5px 14px rgb(0 0 0 / 18%);
}

.fe-nav-dropdown[hidden] {
    display: none;
}

.fe-nav .fe-nav-dropdown a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.fe-nav .fe-nav-dropdown a:hover {
    background: var(--fe-accent);
    color: #fff;
}

.fe-nav-trigger:focus-visible,
.fe-nav-dropdown a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -3px;
}

@media (max-width: 800px) {
    .fe-nav-item {
        flex-shrink: 0;
    }

    .fe-nav-dropdown {
        position: absolute;
        top: 100%;
    }
}
/* =====================================================
   MALUKUSCOPE - SIDEBAR PAGE NAVIGATION
   ===================================================== */

.ms-page-navigation {
    overflow: hidden;
    border: 1px solid var(--fe-border);
    border-radius: 8px;
    background: var(--fe-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgb(20 43 74 / 10%);
}

.ms-page-navigation-brand {
    padding: 24px 20px 20px;
    text-align: center;
    border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.ms-page-navigation-brand > a {
    display: inline-block;
}

.ms-page-navigation-logo {
    width: min(100%, 210px);
    max-height: 85px;
    margin-inline: auto;
    object-fit: contain;
}

.ms-page-navigation-wordmark {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.ms-page-navigation-wordmark span {
    color: var(--fe-accent);
}

.ms-page-navigation-brand p {
    margin: 10px 0 0;
    color: #d5deea;
    font-size: 11px;
    line-height: 1.5;
}

.ms-page-navigation-content {
    padding: 20px;
}

.ms-page-navigation-content h2 {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--fe-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.ms-page-navigation-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ms-page-navigation-content li {
    border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.ms-page-navigation-content li:last-child {
    border-bottom: 0;
}

.ms-page-navigation-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 2px;
    color: #edf2f8;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease, padding-left .2s ease;
}

.ms-page-navigation-content a:hover {
    padding-left: 7px;
    color: #fff;
}

.ms-page-navigation-arrow {
    color: var(--fe-accent);
    font-size: 23px;
    font-weight: 800;
    line-height: 1;
}

.ms-page-navigation-bottom {
    display: grid;
    gap: 4px;
    padding: 13px 20px;
    border-top: 1px solid rgb(255 255 255 / 15%);
    background: rgb(0 0 0 / 12%);
    color: #c8d3e1;
    font-size: 10px;
    text-align: center;
}

@media (max-width: 800px) {
    .ms-page-navigation {
        grid-column: 1 / -1;
    }
}


/* KETENTUAN PUBLIKASI - MALUKUSCOPE */

.ms-page-navigation-content {
    padding: 20px;
}

.ms-page-navigation-content h2 {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--fe-accent);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.ms-page-navigation-bottom {
    padding: 14px 18px;
    border-top: 1px solid rgb(255 255 255 / 15%);
    background: rgb(0 0 0 / 12%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}


/* MALUKUSCOPE ARTICLE ENHANCEMENTS */

/* Baca Juga */
.fe-article-related {
    margin: 34px 0 28px;
    padding: 20px;
    border: 1px solid var(--fe-border);
    border-left: 4px solid #245b87;
    border-radius: 6px;
    background: var(--fe-page);
}

.fe-article-related h2 {
    margin: 0 0 14px;
    color: #245b87;
    font-size: 20px;
    font-weight: 800;
}

.fe-related-list {
    display: grid;
    gap: 10px;
}

.fe-related-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--fe-border);
    border-radius: 5px;
    background: #fff;
    color: #245b87;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.fe-related-item:hover {
    border-color: #245b87;
    background: #f2f7fb;
}

.fe-related-arrow {
    flex: 0 0 auto;
    font-size: 19px;
}

/* Pagination artikel */
.fe-article-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 28px 0;
    padding: 16px 0;
    border-top: 1px solid var(--fe-border);
    border-bottom: 1px solid var(--fe-border);
}

.fe-pagination-label {
    margin-right: 4px;
    color: #46566b;
    font-size: 14px;
    font-weight: 700;
}

.fe-page-number {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid #c94b4b;
    border-radius: 4px;
    color: #b73535;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.fe-page-number:hover,
.fe-page-number.active {
    background: #c94b4b;
    color: #fff;
}

.fe-page-all {
    min-width: 66px;
}

/* Tag artikel */
.fe-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 26px 0;
}

.fe-tags-heading {
    color: #46566b;
    font-size: 14px;
    font-weight: 800;
}

.fe-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fe-tags-list a {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid var(--fe-border);
    border-radius: 20px;
    background: var(--fe-page);
    color: var(--fe-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.fe-tags-list a:hover {
    border-color: var(--fe-accent);
    background: #fff;
}

/* Disclaimer */
.fe-article-disclaimer {
    margin: 30px 0;
    padding: 16px 18px;
    border: 1px solid #d9534f;
    border-left: 4px solid #c9302c;
    border-radius: 5px;
    background: #fff8f7;
    color: #743b39;
    font-size: 13px;
    line-height: 1.8;
}

.fe-article-disclaimer p {
    margin: 0;
}

.fe-article-disclaimer strong {
    color: #b52b27;
}

/* Penyesuaian layar kecil */
@media (max-width: 576px) {
    .fe-article-related {
        margin: 26px 0 22px;
        padding: 15px;
    }

    .fe-article-related h2 {
        font-size: 18px;
    }

    .fe-related-item {
        padding: 11px;
        font-size: 14px;
    }

    .fe-article-pagination {
        gap: 6px;
    }

    .fe-pagination-label {
        width: 100%;
    }

    .fe-page-number {
        min-width: 35px;
        min-height: 35px;
        padding: 6px 10px;
    }

    .fe-article-disclaimer {
        padding: 13px 14px;
        font-size: 12px;
    }
}


/* ADSTERRA GLOBAL LEFT SIDEBAR */
.fe-global-layout {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
}

.fe-global-ad {
    min-width: 0;
    align-self: stretch;
}

.fe-global-ad-sticky {
    position: sticky;
    top: 64px;
    width: 160px;
    min-height: 600px;
    overflow: visible;
}

.fe-global-ad-sticky iframe {
    display: block;
    max-width: 100%;
}

.fe-global-content {
    min-width: 0;
}

@media (max-width: 1100px) {
    .fe-global-layout {
        display: block;
    }

    .fe-global-ad {
        display: none;
    }
}