/* =================================
   RESET BASIC
================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #f8fafc;

}
body {
    font-size: 16px;
    color: var(--text-dark);
}


:root {
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1e40af;
    --text-dark: #0f172a;
    --text-muted: #64748b;
}


/* =========================
   TYPOGRAPHY SYSTEM
========================= */

body {
    font-size: 16px;
    color: #222;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    color: #111;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 16px;
}

p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

small {
    font-size: 13px;
    color: #777;
}

/* =================================
   PORTAL CONTAINER
================================= */

.portal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-sm);
    gap: var(--space-xl);

    display: grid;
    grid-template-columns: 2.5fr 1fr;
}

/* =================================
   MAIN CONTENT
================================= */

.portal-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-xxl);

}

/* =================================
   HERO BLOCK
================================= */

.hero-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-featured {
    background: #fff;
    padding: 25px;
    border: 1px solid #ddd;
}

.hero-featured h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.hero-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumb-item {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* =================================
   CATEGORY BLOCK
================================= */

.category-block header {
    margin-bottom: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.category-featured {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
}

.category-list article {
    background: #fff;
    padding: 12px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

/* =================================
   SIDEBAR
================================= */

.portal-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);

}

.trending-block article {
    margin-bottom: 12px;
    font-size: 14px;
}

.ad-block {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}



.hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* =================================
   RESPONSIVE
================================= */

@media (max-width: 992px) {
    .portal-container {
        grid-template-columns: 1fr;
    }

    .hero-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}



/* overlay text */
.hero-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;          /* penting supaya full lebar area */
    z-index: 3;
}

.hero-content h2 {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}

.hero-content a {
    color: #fff;
    text-decoration: none;
    display: inline;
}

.hero-content {
    background: rgba(0,0,0,0.65);
    padding: 16px 20px;
}



.hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
}


.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;   /* center vertikal */
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
}


.hero-nav button {
    pointer-events: all;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    font-size: 22px;
    padding: 12px 14px;
    cursor: pointer;
}

.hero-block {
    position: relative;
}

.hero-slider {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}


.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}


.trending-block {
    background: #fff;
    padding: 20px;
}

.trending-block h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 10px;
    border-bottom: 1px solid #e2e8f0;
}


.trending-thumb {
    width: 70px;
    aspect-ratio: 1 / 1;
}


.trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trending-content a {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    line-height: 1.4;
}

.trending-content a:hover {
    color: #d32f2f;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.latest-card {
    background: #fff;
    padding: 15px;
}

.latest-thumb {
    width: 100%;
    height: 120px;
    overflow: hidden;
    margin-bottom: 10px;
}

.latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.latest-card h4 {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.latest-card h4 a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}


.latest-card h4 a {
    display: block;
    line-height: 1.4;
    max-height: calc(1.4em * 2); /* 2 baris */
    overflow: hidden;
}

.latest-excerpt {
    font-size: 13px;
    color: #222222;
    line-height: 1.5;
    max-height: calc(1.5em * 3);
    overflow: hidden;
}

.trending-content h4 {
    font-size: 14px;
    margin: 0 0 6px 0;
}

.trending-content h4 a {
    color: #111;
    text-decoration: none;

    display: -webkit-box;
    -webkit-line-clamp: 1;   /* 1 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-excerpt {
    font-size: 12px;
    color: #666;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 3;   /* 3 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-box {
    max-width: 300px;   /* maksimum 300 */
    width: 100%;        /* ikut lebar sidebar */
}

.ad-box img {
    width: 100%;
    height: auto;
    display: block;
}



.category-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.post-row {
    display: flex;
    gap: 20px;
}

.post-row-thumb {
    width: 220px;
    aspect-ratio: 4 / 3;
}


.post-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-row-content {
    flex: 1;
}

/* Judul 2 baris */
.post-row-title a {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    text-decoration: none;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.post-row-meta {
    font-size: 13px;
    color: #777;
    margin: 6px 0 10px 0;
}



.category-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Card row */
.post-row {
    display: flex;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

/* Thumbnail */
.post-row-thumb {
    width: 220px;
    height: 140px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}

.post-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover zoom */
.post-row:hover .post-row-thumb img {
    transform: scale(1.05);
}

/* Content */
.post-row-content {
    flex: 1;
}

/* Judul */
.post-row-title {
    margin: 0 0 8px 0;
}

.post-row-title a {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-row-title a:hover {
    color: #d40000;
}

/* Meta */
.post-row-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

/* Excerpt */
.post-row-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #444;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-block {
    background: #ffffff;
    padding: var(--space-lg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.post-category {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 20px;
    margin-left: 6px;
}

@media (max-width: 992px) {

    .portal-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .portal-sidebar {
        order: 2;
    }

    .portal-main {
        order: 1;
    }

    .hero-slider {
        height: 300px;
    }

    .hero-image img {
        height: 300px;
    }

}
@media (max-width: 768px) {

    .portal-container {
        padding: var(--space-md) var(--space-sm);
    }

    .portal-main {
        gap: var(--space-xl);
    }

    .portal-sidebar {
        margin-top: var(--space-xl);
        gap: var(--space-lg);
    }

    .trending-block {
        padding: var(--space-md);
    }

    .category-block {
        padding: var(--space-md);
    }

}

/* =========================
   BUTTON SYSTEM
========================= */

button,
.button,
input[type="submit"] {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

button:hover,
.button:hover,
input[type="submit"]:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-color);
}

/* =========================
   HEADER SYSTEM
========================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}


.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;  /* lebih tinggi dari sebelumnya */
    display: flex;
    align-items: center;
    gap: 20px;
}



.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary-color);
}

.search-form input {
    width: 100%;
    max-width: 480px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    outline: none;
    font-size: 14px;
    transition: all 0.25s ease;
    outline: none;
}

.search-form input:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: none !important;
}

.header-login {
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
}


.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-form {
    width: 100%;
    max-width: 420px;
}

@media (max-width: 768px) {

    .header-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .header-center {
        order: 3;
    }

    .header-right {
        justify-self: start;
    }

}
.logo img {
    height: 32px;   /* lebih pas */
    display: block;
}



/* =========================
   HAMBURGER HEADER
========================= */

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}


/* Mobile drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 240px;
    height: 100%;
    background: #ffffff;
    box-shadow: 2px 0 20px rgba(0,0,0,0.08);
    padding: 40px 20px;
    transition: left 0.3s ease;
    z-index: 200;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    font-weight: 600;
    color: var(--text-dark);
}

/* Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 150;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100%;
    background: #ffffff;
    box-shadow: 4px 0 30px rgba(0,0,0,0.08);
    padding: 24px;
    transition: left 0.3s ease;
    z-index: 200;
}

.mobile-menu.active {
    left: 0;
}

/* Header inside drawer */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.menu-header img {
    height: 28px;
}

.menu-close {
    background: #f1f5f9;
    border: none;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    transition: background 0.2s ease;
}

.menu-close:hover {
    background: #e2e8f0;
}


/* Menu list */
.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-menu a {
    display: block;
    padding: 16px 4px;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.2s ease;
}

/* Hover soft grey (NOT BLUE) */
.mobile-menu a:hover {
    background: #f8fafc;
}

.menu-toggle {
    background: none !important;
    border: none;
    font-size: 24px;        /* lebih besar */
    color: #0f172a;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: #f1f5f9 !important;
}

/* Left & Right */
.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 600;
}

.header-right a {
    color: #334155;
    transition: color 0.2s ease;
}

.header-right a:hover {
    color: var(--primary-color);
}

/* ===== Modern Search ===== */

.search-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0 16px;
    width: 100%;
    max-width: 460px;
    transition: all 0.25s ease;
}

.search-wrapper:hover {
    border-color: #cbd5e1;
}

.search-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-icon {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    margin-right: 10px;
    flex-shrink: 0;
}

.search-form input {
    border: none;
    background: transparent;
    padding: 12px 0;
    width: 100%;
    font-size: 14px;
    outline: none;
    color: var(--text-dark);
}

.search-form input::placeholder {
    color: #94a3b8;
}


/* =========================
   PREMIUM FOOTER
========================= */

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 32px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}
/* =========================
   LATEST LIST EDITORIAL
========================= */

.latest-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.latest-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.latest-item-thumb {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.latest-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.latest-item-title a {
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;       /* maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.latest-item-title a:hover {
    color: var(--primary-color);
}

.latest-item-meta {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.latest-category {
    color: var(--primary-color);
    font-weight: 600;
}

.latest-date {
    color: #64748b;
}

.latest-item-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
}

/* Responsive */
@media (max-width: 768px) {
    .latest-item {
        flex-direction: column;
    }

    .latest-item-thumb {
        width: 100%;
        height: 200px;
    }
}

/* =========================
   PREMIUM TRENDING
========================= */

.trending-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.trending-item:hover {
    background: #f8fafc;
}

.trending-rank {
    font-size: 20px;
    font-weight: 800;
    font-style: italic;
    color: #2563eb; /* biru health-tech */
    min-width: 40px;   /* biar gak mepet */
    padding-left: 6px;
}


.trending-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-content h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.trending-content h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0f172a;
    text-decoration: none;
}

.trending-content h4 a:hover {
    color: var(--primary-color);
}

.trending-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}




.ap-slot-sidebar_top {
    margin-bottom: 20px;
}

.ap-slot-sidebar_top img {
    width: 100%;
    height: auto;
    display: block;
}
/* Semua gambar dalam slot iklan */
.ap-ad-slot img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

/* Hapus inline width/height TinyMCE */
.ap-ad-slot img[width],
.ap-ad-slot img[height] {
    width: 100% !important;
    height: auto !important;
}

/* Buang style inline dari Tiny */
.ap-ad-slot * {
    box-sizing: border-box;
}

/* Overlay */
.ap-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}



/* Animation */
@keyframes apFadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* DISINI CSS IKLAN SLIDE UP */
/* Container */
.ap-slideup {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 9999;
}

/* Active State */
.ap-slideup.active {
    transform: translateY(0);
}

/* Content Box */
.ap-slideup-content {
    background: #fff;
    width: 100%;
    max-width: 1000px;     /* FIX LEBAR DESKTOP */
    height: 200px;         /* FIX TINGGI */
    padding: 0;
    overflow: hidden;      /* WAJIB supaya gambar tidak keluar */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    position: relative;
}

.ap-slideup-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Ini yang bikin rapi */
    display: block;
}

.ap-slideup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e53935;
    color: #fff;
    border: none;
    font-size: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.ap-slideup-close:hover {
    background: #c62828;
}

/* Responsive */
@media (max-width: 768px) {
    .ap-slideup-content {
        border-radius: 0;
    }
}

/* IKLAN DIBAWAH HEADER/ BEFORE CONTENT
/* Container pembungkus agar center */
.ap-header-ad-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Banner utama */
.ap-header-ad {
    width: 100%;
    max-width: 1400;   /* FIX LEBAR */
    height: 100px;       /* FIX TINGGI */
    overflow: hidden;
    background: none;
    border-radius: 0px;
    position: relative;
}

/* Konten di dalam */
.ap-header-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Crop rapi */
    display: block;
}

/* Kalau teks saja */
.ap-header-ad h3,
.ap-header-ad p,
.ap-header-ad a {
    position: relative;
    z-index: 2;
}

.ap-header-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Wrapper center */
.ap-content-ad-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

/* Box utama */
.ap-content-ad {
    width: 100%;
    max-width: 1000px;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Kontrol gambar */
.ap-content-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-inline-block {
    margin: 35px 0;
    padding: 18px 22px;
    background: #f9fafb;
    border-radius: 8px;
}

.related-inline-block h3 {
    margin-bottom: 12px;
    font-weight: 600;
}

.related-inline-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-inline-block li {
    margin-bottom: 8px;
}

.related-inline-card {
    margin: 40px 0;
}

.related-inline-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.related-inline-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.related-inline-item img {
    max-width: 80px;
    max-height: auto;
    padding: 0px;
}


.related-inline-content {
    flex: 1;
}

.related-inline-category {
    font-size: 13px;
    color: #e11d48;
    font-weight: 600;
    margin-bottom: 6px;
}

.related-inline-heading {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.related-inline-heading a {
    text-decoration: none;
    color: #111827;
}

.related-inline-heading a:hover {
    color: #2563eb;
}

.related-inline-meta {
    font-size: 13px;
    color: #6b7280;
}








