/* ==========================================================================
   SINGLE POST - CLEAN & OPTIMIZED STYLESHEET
   Hanya berisi CSS yang benar-benar digunakan oleh single.php
   ========================================================================== */

/* ==========================================================================
   1. BASE LAYOUT (Outer Grid)
   ========================================================================== */
.btp-content-wrapper {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px 0;
}

.btp-main-layout {
    display: grid !important;
    grid-template-columns: 1fr 300px !important;
    gap: 30px !important;
    align-items: start !important;
    width: 100% !important;
}

.btp-content-area {
    min-width: 0 !important;
    width: 100% !important;
    overflow: visible !important; /* WAJIB: visible agar tidak memotong layout */
}

.btp-sidebar {
    width: 300px !important;
    min-width: 300px !important;
}

/* ==========================================================================
   2. BREADCRUMB, HEADER, META & AUTHOR
   ========================================================================== */
.btp-article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btp-breadcrumb-home, .btp-breadcrumb-category {
    color: #d32f2f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

/* PERUBAHAN: Hover breadcrumb jadi biru tanpa underline */
.btp-breadcrumb-home:hover, .btp-breadcrumb-category:hover {
    color: #1a73e8;
    text-decoration: none;
}

.btp-breadcrumb-separator { color: #999; font-weight: 400; }
.btp-breadcrumb-home svg, .btp-breadcrumb-separator svg { display: none; }

.btp-article-header { margin-bottom: 20px; }

.btp-article-title {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #212121;
    margin-bottom: 12px;
}

.btp-article-excerpt {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #555;
    margin: 0 0 16px 0;
}

.btp-article-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btp-meta-source { font-weight: 700; color: #333; }
.btp-meta-separator { color: #999; }
.btp-meta-date { color: #666; }

.btp-article-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px 0;
    font-family: 'Manrope', sans-serif;
}

.btp-author-avatars { display: flex; gap: 0; }

.btp-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-left: -8px;
}

.btp-author-avatar:first-child { margin-left: 0; }
.btp-author-avatar.btp-bg-purple { background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%); }
.btp-author-avatar.btp-bg-green { background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%); }
.btp-author-avatar.btp-bg-blue { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); }
.btp-author-avatar.btp-bg-red { background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); }
.btp-author-avatar.btp-bg-orange { background: linear-gradient(135deg, #f39c12 0%, #d68910 100%); }

.btp-author-info { display: flex; flex-direction: column; gap: 2px; }
.btp-author-names { font-size: 15px; font-weight: 700; color: #212121; line-height: 1.3; }
.btp-author-team { font-size: 13px; font-weight: 500; color: #666; }

/* ==========================================================================
   3. FEATURED IMAGE & VIDEO
   ========================================================================== */
.btp-article-featured-image {
    margin-bottom: 20px;
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
}

.btp-article-featured-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.btp-image-caption {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #757575;
    padding: 8px 0 0 0;
}

.btp-featured-video-direct, .btp-youtube-facade {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.btp-featured-video-direct iframe, 
.btp-featured-video-direct video,
.btp-youtube-facade.is-playing iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}

.btp-youtube-thumb {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btp-youtube-facade:hover .btp-youtube-thumb { opacity: 0.8; transform: scale(1.02); }

.btp-youtube-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 2;
}

.btp-youtube-play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.btp-youtube-facade.is-playing .btp-youtube-thumb,
.btp-youtube-facade.is-playing .btp-youtube-play-btn { display: none; }

/* ==========================================================================
   4. SHARE BUTTONS
   ========================================================================== */
.btp-article-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    margin: 25px 0;
    border: 1px dashed #ddd;
    border-radius: 6px;
    background: #fafafa;
    flex-wrap: wrap;
    gap: 12px;
}

.btp-share-label { font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 700; color: #333; }
.btp-share-buttons { display: flex; gap: 10px; }

.btp-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.btp-share-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.btp-share-btn svg { fill: currentColor; transition: transform 0.3s ease; }
.btp-share-btn:hover svg { transform: scale(1.1); }

.btp-share-btn.btp-share-facebook { background: #1877f2; }
.btp-share-btn.btp-share-facebook:hover { background: #166fe5; }
.btp-share-btn.btp-share-twitter { background: #000000; }
.btp-share-btn.btp-share-twitter:hover { background: #333333; }
.btp-share-btn.btp-share-whatsapp { background: #25d366; }
.btp-share-btn.btp-share-whatsapp:hover { background: #20bd5a; }
.btp-share-btn.btp-share-telegram { background: #0088cc; }
.btp-share-btn.btp-share-telegram:hover { background: #0077b5; }

/* ==========================================================================
   5. NEW CORE: WRAPPER & STICKY AD (Pengganti .btp-article-content-wrapper)
   ========================================================================== */
.wrapper {
    display: flex;
    flex-direction: row;
    gap: 24px;
    max-width: 100%;
    margin: 0 auto;
    align-items: flex-start; /* KUNCI: Mencegah kolom meregang */
    position: relative;
}

.kolom-kiri {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    flex-shrink: 0;
    position: sticky;
    top: 100px; /* Jarak dari atas viewport saat scroll */
    align-self: flex-start; /* KUNCI: Tahan di atas */
    z-index: 10;
}

.kolom-kiri .btp-ad-placeholder {
    width: 160px;
    height: 600px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kolom-kiri .btp-ad-placeholder span {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ==========================================================================
   6. KOLOM KANAN: KONTEN ARTIKEL (Mencegah Gambar "Melompat")
   ========================================================================== */
.kolom-kanan {
    flex: 1;
    min-width: 0; /* Penting untuk flexbox agar tidak overflow */
    overflow: hidden; /* KUNCI: Mencegah konten/gambar tumpah ke kolom kiri */
    position: relative;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.2px;
    color: #424242;
}

.kolom-kanan > *:first-child { margin-top: 0 !important; }
.kolom-kanan p { margin-bottom: 16px; }
.kolom-kanan strong, .kolom-kanan b { font-weight: 700; color: #1a1a1a; }

/* PERUBAHAN: Link di dalam artikel jadi biru, hover biru tanpa underline */
.kolom-kanan a { color: #1a73e8; text-decoration: none; font-weight: 600; }
.kolom-kanan a:hover { color: #1a73e8; text-decoration: none; }

.kolom-kanan h2, .kolom-kanan h3, .kolom-kanan h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}
.kolom-kanan h2 { font-size: 24px; }
.kolom-kanan h3 { font-size: 18px; margin-bottom: 10px; }

.kolom-kanan blockquote {
    background: #f9f9f9;
    border-left: 4px solid #d32f2f;
    margin: 24px 0;
    padding: 16px 20px;
    font-style: italic;
    font-size: 16px;
    color: #555;
}

.kolom-kanan ul, .kolom-kanan ol { margin-bottom: 16px; padding-left: 20px; }
.kolom-kanan ul li, .kolom-kanan ol li { margin-bottom: 8px; }

/* Media Constraints di dalam Kolom Kanan */
.kolom-kanan img, .kolom-kanan figure, .kolom-kanan figure img,
.kolom-kanan iframe, .kolom-kanan video, .kolom-kanan embed, .kolom-kanan object,
.kolom-kanan table, .kolom-kanan pre, .kolom-kanan code, .kolom-kanan blockquote,
.kolom-kanan .wp-block-image, .kolom-kanan .wp-block-video, .kolom-kanan .wp-block-embed,
.kolom-kanan .size-large, .kolom-kanan .size-medium, .kolom-kanan .size-full {
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

.kolom-kanan figure { margin: 20px 0 !important; padding: 0 !important; }
.kolom-kanan figcaption { font-size: 13px; color: #757575; margin-top: 8px; line-height: 1.5; text-align: left; }
.kolom-kanan table { overflow-x: auto !important; }
.kolom-kanan pre, .kolom-kanan code { overflow-x: auto !important; white-space: pre-wrap !important; word-wrap: break-word !important; }

.kolom-kanan .alignleft { float: left; max-width: 50% !important; margin: 10px 20px 10px 0 !important; }
.kolom-kanan .alignright { float: right; max-width: 50% !important; margin: 10px 0 10px 20px !important; }
.kolom-kanan .aligncenter { display: block !important; margin: 20px auto !important; float: none !important; }
.kolom-kanan .alignnone { margin: 20px 0 !important; float: none !important; }

/* ==========================================================================
   7. COMPONENTS: Banner, Pagination, Related, Pilihan, Topics
   ========================================================================== */
.inc-page-banner {
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(135deg, #c62828 0%, #8b1a1a 100%);
    color: #fff; padding: 18px 22px; border-radius: 10px; text-decoration: none;
    margin: 25px 0 20px 0; font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(139, 26, 26, 0.25);
}
.inc-page-banner:hover { background: linear-gradient(135deg, #a52020 0%, #6d1515 100%); transform: translateY(-2px); }
.inc-page-banner-content { display: flex; flex-direction: column; gap: 6px; flex: 1; padding-right: 15px; min-width: 0; }
.inc-page-banner-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; opacity: 0.9; }
.inc-page-banner-excerpt { font-size: 14px; line-height: 1.4; font-style: italic; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inc-page-banner-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; }
.inc-page-banner-icon svg { stroke: #fff; transition: transform 0.3s ease; }
.inc-page-banner:hover .inc-page-banner-icon svg { transform: translateX(4px); }

.inc-page-pagination { display: flex; align-items: center; gap: 8px; margin: 25px 0 30px 0; padding: 0; list-style: none; font-family: 'Manrope', sans-serif; flex-wrap: wrap; }
.inc-page-pagination li { margin: 0; padding: 0; list-style: none; }
.inc-page-pagination li a, .inc-page-pagination li span {
    display: inline-flex; align-items: center; justify-content: center; height: 42px; background: #fff; color: #666;
    text-decoration: none; border: 1px solid #e0e0e0; font-size: 14px; font-weight: 600; transition: all 0.2s ease; box-sizing: border-box;
}
.inc-page-pagination li:not(.inc-page-prev):not(.inc-page-all) a,
.inc-page-pagination li:not(.inc-page-prev):not(.inc-page-all) span { width: 42px; padding: 0; border-radius: 50%; }
.inc-page-pagination .inc-page-prev a, .inc-page-pagination .inc-page-all a { padding: 0 20px; border-radius: 21px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #888; }
.inc-page-pagination .inc-page-prev a:hover, .inc-page-pagination .inc-page-all a:hover { background: #f5f5f5; border-color: #ccc; color: #555; text-decoration: none; }
.inc-page-pagination .inc-page-current span { background: #d32f2f !important; color: #fff !important; border-color: #d32f2f !important; font-weight: 700; }

/* PERUBAHAN: Hover pagination angka jadi biru tanpa underline */
.inc-page-pagination li:not(.inc-page-current):not(.inc-page-prev):not(.inc-page-all) a:hover { 
    background: #f5f5f5; 
    border-color: #ccc; 
    color: #1a73e8; 
    text-decoration: none; 
}

.btp-related-horizontal { margin: 0; font-family: 'Manrope', sans-serif; }
.btp-related-title { font-size: 20px; font-weight: 800; color: #212121; margin: 0 0 4px 0; line-height: 1.2; }
.btp-related-outer { position: relative; width: 100%; margin: 0; padding: 0; }
.btp-related-track { display: flex; gap: 4px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; margin: 0; }
.btp-related-track::-webkit-scrollbar { display: none; }
.btp-related-card { display: flex; align-items: center; gap: 16px; text-decoration: none; flex-shrink: 0; width: 70%; min-width: 70%; transition: opacity 0.2s ease; max-height: 80px; overflow: hidden; }
.btp-related-card:hover { opacity: 0.85; }
.btp-related-card:hover .btp-related-thumb img { transform: scale(1.05); }

/* PERUBAHAN: Hover judul related post jadi biru */
.btp-related-card:hover .btp-related-post-title {
    color: #1a73e8;
}

.btp-related-info { flex: 1; min-width: 0; }
.btp-related-post-title { font-size: 14px; font-weight: 400; color: #212121; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s ease; }
.btp-related-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: none; background: #fff; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #333; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); transition: all 0.2s ease; z-index: 1; }
.btp-related-prev { left: 2px; }
.btp-related-next { right: 2px; }
.btp-related-arrow:hover { background: #f5f5f5; transform: translateY(-50%) scale(1.1); }
.btp-related-arrow svg { stroke: #333; pointer-events: none; }
.btp-related-arrow.is-hidden { opacity: 0; pointer-events: none; }

.btp-topics-section { margin: 30px 0 40px 0; font-family: 'Manrope', sans-serif; }
.btp-topics-title { font-size: 16px; font-weight: 700; color: #212121; margin: 0 0 12px 0; line-height: 1.3; }
.btp-topics-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btp-topic-tag { display: inline-block; padding: 6px 14px; background: #f5f5f5; border-radius: 20px; font-size: 13px; font-weight: 500; color: #333; text-decoration: none; transition: all 0.2s ease; border: 1px solid #e0e0e0; }
.btp-topic-tag:hover { background: #1a73e8; color: #fff; border-color: #1a73e8; transform: translateY(-1px); text-decoration: none; }

.btp-pilihan-untukmu { margin: 10px 0 30px 0; font-family: 'Manrope', sans-serif; padding-top: 30px; }
.btp-pilihan-title { font-size: 20px; font-weight: 800; color: #212121; margin: 0 0 20px 0; line-height: 1.3; }
.btp-pilihan-row { display: flex; gap: 10px; margin-bottom: 10px; }
.btp-pilihan-card { position: relative; }
.btp-pilihan-thumb { position: relative; width: 100%; overflow: hidden; border-radius: 8px; margin-bottom: 12px; }
.btp-pilihan-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.btp-pilihan-card:hover .btp-pilihan-thumb img { transform: scale(1.05); }
.btp-pilihan-post-title { font-size: 16px; font-weight: 700; color: #212121; line-height: 1.4; margin: 0 0 8px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* PERUBAHAN: Hover judul pilihan untukmu jadi biru tanpa underline */
.btp-pilihan-post-title a { color: #212121; text-decoration: none; transition: color 0.2s ease; }
.btp-pilihan-post-title a:hover { color: #1a73e8; text-decoration: none; }

.btp-pilihan-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.btp-pilihan-category { font-size: 12px; font-weight: 500; color: #666; }
.btp-pilihan-menu { background: none; border: none; cursor: pointer; padding: 4px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; color: #999; transition: all 0.2s ease; }
.btp-pilihan-menu:hover { color: #333; transform: scale(1.1); }
.btp-pilihan-menu svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.btp-pilihan-card-small .btp-pilihan-menu svg { width: 18px; height: 18px; }
.btp-pilihan-row-featured { gap: 10px; }
.btp-pilihan-card-large { flex: 1; min-width: calc(50% - 5px); }
.btp-pilihan-card-large .btp-pilihan-thumb { height: 140px; }
.btp-pilihan-row-small { gap: 10px; flex-wrap: wrap; }
.btp-pilihan-card-small { flex: 0 0 calc(33.333% - 6.66px); max-width: calc(33.333% - 6.66px); }
.btp-pilihan-card-small .btp-pilihan-thumb { height: 100px; }
.btp-pilihan-card-small .btp-pilihan-post-title { font-size: 14px; -webkit-line-clamp: 3; }
.btp-latest-news { font-family: 'Manrope', sans-serif; }

/* ==========================================================================
   8. TOP BAR NEWS (Sticky Desktop)
   ========================================================================== */
.btp-top-bar-news {
    position: fixed; top: 0; left: 0; right: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e8e8e8; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 998; height: 50px; transform: translateY(-100%); opacity: 0; visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}
.btp-top-bar-news.visible { transform: translateY(0); opacity: 1; visibility: visible; }
.btp-top-bar-news-inner { max-width: 1024px; margin: 0 auto; padding: 0 16px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.btp-top-bar-news-content { flex: 1; min-width: 0; overflow: hidden; }

/* PERUBAHAN: Hover judul top bar news jadi biru tanpa underline */
.btp-top-bar-news-title { font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 700; color: #212121; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; text-decoration: none; transition: color 0.2s ease; }
.btp-top-bar-news-title:hover { color: #1a73e8; text-decoration: none; }

.btp-top-bar-news-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btp-top-bar-share-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f5f5f5; color: #555; text-decoration: none; transition: all 0.2s ease; border: none; cursor: pointer; }
.btp-top-bar-share-btn:hover { background: #e0e0e0; color: #212121; transform: translateY(-2px); }
.btp-top-bar-share-btn[href*="facebook.com"]:hover { background: #1877f2; color: #fff; }
.btp-top-bar-share-btn[href*="twitter.com"]:hover, .btp-top-bar-share-btn[href*="x.com"]:hover { background: #000; color: #fff; }
.btp-top-bar-share-btn[href*="whatsapp.com"]:hover { background: #25d366; color: #fff; }
.btp-top-bar-share-btn[href*="linkedin.com"]:hover { background: #0077b5; color: #fff; }
.btp-top-bar-share-btn[href*="t.me"]:hover { background: #0088cc; color: #fff; }

/* ==========================================================================
   9. CONSOLIDATED RESPONSIVE RULES
   ========================================================================== */

/* Tablet & Mobile (≤ 1023px) */
@media (max-width: 1023px) {
    .btp-main-layout { display: flex !important; flex-direction: column !important; gap: 20px !important; }
    .btp-content-area { width: 100% !important; padding: 16px !important; background: #ffffff; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); box-sizing: border-box !important; }
    .btp-sidebar { display: none !important; visibility: hidden !important; width: 0 !important; height: 0 !important; overflow: hidden !important; padding: 0 !important; margin: 0 !important; }
    .btp-top-bar-news { display: none !important; }
    
    /* Wrapper adjustments for tablet */
    .wrapper { flex-direction: column; gap: 20px; }
    .kolom-kiri { width: 100%; min-width: 100%; max-width: 100%; position: relative; top: 0; align-self: stretch; display: flex; justify-content: center; }
    .kolom-kiri .btp-ad-placeholder { width: 300px; height: 250px; }
    .kolom-kanan { width: 100%; }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    .btp-content-wrapper { padding: 0; }
    
    /* Featured Image Full Width Bleed */
    .btp-article-featured-image { width: 100vw !important; margin-left: calc(-50vw + 50%) !important; margin-right: calc(-50vw + 50%) !important; border-radius: 0 !important; padding: 0 !important; }
    .btp-article-featured-image img { height: 220px !important; border-radius: 0 !important; }
    .btp-image-caption { padding: 8px 16px; }

    /* Typography Scale Down */
    .btp-article-header { margin-bottom: 16px; }
    .btp-article-title { font-size: 24px; line-height: 1.35; letter-spacing: 0; margin-bottom: 12px; }
    .btp-article-excerpt { font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
    .btp-article-meta { font-size: 12px; gap: 6px; margin-bottom: 12px; line-height: 1.4; }
    .btp-article-author { gap: 10px; }
    .btp-author-avatar { width: 36px; height: 36px; font-size: 12px; margin-left: -6px; }
    .btp-author-names { font-size: 14px; line-height: 1.3; }
    .btp-author-team { font-size: 12px; line-height: 1.3; }

    .kolom-kanan { font-size: 16px; line-height: 1.6; }
    .kolom-kanan h2 { font-size: 20px; }
    .kolom-kanan h3 { font-size: 18px; }

    .btp-article-share { padding: 12px 14px; gap: 8px; }
    .btp-share-label { font-size: 13px; }
    .btp-share-buttons { gap: 8px; }
    .btp-share-btn { width: 36px; height: 36px; }
    .btp-share-btn svg { width: 16px; height: 16px; }

    .inc-page-banner { padding: 14px 16px; border-radius: 6px; }
    .inc-page-banner-label { font-size: 11px; }
    .inc-page-banner-excerpt { font-size: 13px; }
    .inc-page-banner-icon { width: 36px; height: 36px; }
    .inc-page-banner-icon svg { width: 18px; height: 18px; }

    .inc-page-pagination { gap: 6px; }
    .inc-page-pagination .inc-page-prev, .inc-page-pagination .inc-page-all { display: none !important; }
    .inc-page-pagination li a, .inc-page-pagination li span { height: 38px; font-size: 13px; }
    .inc-page-pagination li:not(.inc-page-prev):not(.inc-page-all) a,
    .inc-page-pagination li:not(.inc-page-prev):not(.inc-page-all) span { width: 38px; border-radius: 50%; }
    .inc-page-pagination .inc-page-prev a, .inc-page-pagination .inc-page-all a { padding: 0 16px; border-radius: 19px; font-size: 11px; }

    .btp-related-card { width: 80%; min-width: 80%; gap: 12px; }
    .btp-related-thumb { width: 80px; height: 80px; }
    .btp-related-arrow { width: 32px; height: 32px; }
    .btp-related-arrow svg { width: 18px; height: 18px; }
    .btp-related-track { padding-right: 2px; padding-left: 2px; }

    .btp-topic-tag { padding: 5px 12px; font-size: 12px; }

    .btp-pilihan-untukmu { --thumb-height-large: 180px; --thumb-height-small: 100px; --logo-max-height: 30px; }
    .btp-pilihan-row-featured .btp-pilihan-card-large:first-child { flex: 0 0 100%; max-width: 100%; min-width: 100%; }
    .btp-pilihan-row-featured .btp-pilihan-card-large:first-child .btp-pilihan-thumb { height: 180px; }
    .btp-pilihan-row-featured .btp-pilihan-card-large:last-child { display: none; }
    .btp-pilihan-row-small { flex-wrap: wrap; gap: 10px; }
    .btp-pilihan-row-small .btp-pilihan-card-large { flex: 0 0 100% !important; max-width: 100% !important; min-width: 100% !important; margin: 0 !important; padding: 0 !important; order: -1; }
    .btp-pilihan-row-small .btp-pilihan-card-large .btp-pilihan-thumb { height: 180px; margin-bottom: 12px; }
    .btp-pilihan-row-small .btp-pilihan-card-large .btp-pilihan-post-title { font-size: 16px; line-height: 1.4; }
    .btp-pilihan-row-small .btp-pilihan-card-small { flex: 0 0 calc(50% - 5px); max-width: calc(50% - 5px); min-width: calc(50% - 5px); }
    .btp-pilihan-row-small .btp-pilihan-card-small .btp-pilihan-thumb { height: 100px; }
    .btp-pilihan-row-small .btp-pilihan-card-small .btp-pilihan-post-title { font-size: 13px; -webkit-line-clamp: 3; }
    .btp-pilihan-row-small .btp-pilihan-card-small .btp-pilihan-menu svg { width: 16px; height: 16px; }

    .comments-title { font-size: 16px; }
    .comment-author .avatar { width: 35px; height: 35px; }
    .comment-content { font-size: 13px; }
    .children { padding-left: 25px; }
    .comment-form textarea { min-height: 100px; }
}

/* Mobile Kecil (≤ 360px) */
@media (max-width: 360px) {
    .btp-main-layout { gap: 15px !important; }
    .btp-content-area { padding: 12px 16px !important; }
    
    .btp-article-title { font-size: 22px; line-height: 1.4; }
    .btp-article-excerpt { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
    .btp-article-meta { font-size: 11px; gap: 4px; flex-wrap: wrap; }
    .btp-article-author { gap: 8px; }
    .btp-author-avatar { width: 32px; height: 32px; font-size: 11px; margin-left: -5px; }
    .btp-author-names { font-size: 13px; }
    .btp-author-team { font-size: 11px; }

    .kolom-kanan { font-size: 17px; line-height: 1.6; letter-spacing: -0.2px; }
    .kolom-kanan a { color: #212121; font-weight: 600; } /* Disesuaikan dengan perubahan global */
    .kolom-kanan h2 { font-size: 20px; }
    .kolom-kanan h3 { font-size: 18px; }

    .btp-article-share { padding: 10px 12px; gap: 6px; }
    .btp-share-label { font-size: 12px; }
    .btp-share-buttons { gap: 6px; }
    .btp-share-btn { width: 32px; height: 32px; }
    .btp-share-btn svg { width: 14px; height: 14px; }

    .inc-page-banner { padding: 12px 14px; }
    .inc-page-banner-label { font-size: 10px; }
    .inc-page-banner-excerpt { font-size: 12px; }
    .inc-page-pagination li a, .inc-page-pagination li span { height: 36px; font-size: 12px; }
    .inc-page-pagination li:not(.inc-page-prev):not(.inc-page-all) a,
    .inc-page-pagination li:not(.inc-page-prev):not(.inc-page-all) span { width: 36px; border-radius: 50%; }
    .inc-page-pagination .inc-page-prev a, .inc-page-pagination .inc-page-all a { padding: 0 12px; border-radius: 18px; font-size: 10px; }

    .btp-related-track { gap: 16px; }
    .btp-related-thumb { width: 70px; height: 70px; }
    .btp-related-post-title { font-size: 13px; }
    .btp-topic-tag { padding: 4px 10px; font-size: 11px; }

    .btp-pilihan-untukmu { --logo-width: 50%; --logo-max-height: 26px; }
    .btp-pilihan-row-featured .btp-pilihan-card-large:first-child .btp-pilihan-thumb { height: 160px; }
    .btp-pilihan-row-small .btp-pilihan-card-large .btp-pilihan-thumb { height: 160px; }
    .btp-pilihan-row-small .btp-pilihan-card-large .btp-pilihan-post-title { font-size: 15px; }
    .btp-pilihan-row-small .btp-pilihan-card-small .btp-pilihan-thumb { height: 90px; }
    .btp-pilihan-row-small .btp-pilihan-card-small .btp-pilihan-post-title { font-size: 13px; line-height: 1.35; margin-bottom: 4px; -webkit-line-clamp: 4; letter-spacing: -0.2px; }

    .comments-title { font-size: 15px; }
    .comment-author .avatar { width: 32px; height: 32px; }
    .children { padding-left: 15px; }
    .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { padding: 8px 10px; font-size: 13px; }
    .comment-form .submit { padding: 8px 20px; font-size: 13px; }

    /* Hide ad placeholder on very small screens to save space */
    .kolom-kiri .btp-ad-placeholder { display: none; }
}

/* ============================================
PERBAIKAN THUMBNAIL - AGAR TIDAK TERPOTONG
============================================ */
 
 

.btp-related-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0; /* Background fallback abu-abu terang */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Pastikan tidak ada padding */
}

.btp-related-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Paksa gambar cover penuh */
    object-position: center center; /* Pusatkan gambar */
    display: block;
    margin: 0; /* Pastikan tidak ada margin */
    padding: 0; /* Pastikan tidak ada padding */
    transition: transform 0.3s ease;
}

/* Untuk Pilihan Untukmu juga */
.btp-pilihan-thumb {
    background: #f0f0f0; /* Background fallback */
    overflow: hidden;
    padding: 0;
}

.btp-pilihan-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    display: block;
    margin: 0;
    padding: 0;
}

/* 3. Untuk card large - tinggi konsisten */
.btp-pilihan-card-large .btp-pilihan-thumb {
    height: auto; /* Biarkan aspect-ratio yang mengatur */
    aspect-ratio: 16 / 9;
}

/* 4. Untuk card small - tinggi konsisten */
.btp-pilihan-card-small .btp-pilihan-thumb {
    height: auto; /* Biarkan aspect-ratio yang mengatur */
    aspect-ratio: 16 / 9;
}

/* 5. Mobile adjustments */
@media (max-width: 768px) {
    .btp-pilihan-row-featured .btp-pilihan-card-large:first-child .btp-pilihan-thumb {
        aspect-ratio: 16 / 9;
        height: auto;
    }
    
    .btp-pilihan-row-small .btp-pilihan-card-large .btp-pilihan-thumb {
        aspect-ratio: 16 / 9;
        height: auto;
    }
}

/* 6. Fallback untuk browser yang tidak support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
    .btp-pilihan-thumb {
        padding-bottom: 56.25%; /* 16:9 ratio fallback */
        height: 0;
    }
    
    .btp-pilihan-thumb img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* ==========================================================================
   404 PAGE - FULL WIDTH (Tanpa Sidebar)
   ========================================================================== */

.btp-404-page {
    padding: 40px 0 60px;
    background: #ffffff;
}

.btp-404-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 404 CONTENT ===== */
.btp-404-content {
    text-align: center;
    padding: 40px 0 50px;
}

.btp-404-code {
    font-family: 'Manrope', sans-serif;
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    color: #f0f0f0;
    margin-bottom: 20px;
    letter-spacing: -4px;
}

.btp-404-title {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.btp-404-description {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0 auto 32px;
    max-width: 600px;
}

/* ===== SECTION TITLE ===== */
.btp-404-section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.btp-404-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #1a73e8; /* Disesuaikan dengan warna brand baru */
}

/* ===== LATEST ARTICLES ===== */
.btp-404-latest {
    margin-bottom: 20px;
}

.btp-404-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.btp-404-latest-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

/* PERUBAHAN: Hover item 404 jadi biru */
.btp-404-latest-item:hover {
    border-color: #1a73e8;
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.1);
    transform: translateY(-2px);
}

.btp-404-latest-thumb {
    display: block;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.btp-404-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.btp-404-latest-item:hover .btp-404-latest-thumb img {
    transform: scale(1.05);
}

.btp-404-latest-content {
    padding: 14px;
}

.btp-404-latest-category {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #1a73e8; /* Disesuaikan */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.btp-404-latest-title {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* PERUBAHAN: Hover judul artikel di 404 jadi biru tanpa underline */
.btp-404-latest-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btp-404-latest-title a:hover {
    color: #1a73e8;
    text-decoration: none;
}

.btp-404-latest-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #888;
}

.btp-404-no-data {
    text-align: center;
    color: #888;
    font-size: 14px;
    padding: 20px;
}

/* ===== RESPONSIVE: MOBILE (≤ 768px) ===== */
@media (max-width: 768px) {
    .btp-404-page {
        padding: 24px 0 40px;
    }
    
    .btp-404-wrapper {
        padding: 0 16px;
    }
    
    .btp-404-content {
        padding: 24px 0 32px;
    }
    
    .btp-404-code {
        font-size: 80px;
        letter-spacing: -2px;
    }
    
    .btp-404-title {
        font-size: 24px;
    }
    
    .btp-404-description {
        font-size: 14px;
    }
    
    .btp-404-latest-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .btp-404-latest-thumb {
        height: 180px;
    }
}

/* ===== RESPONSIVE: MOBILE KECIL (≤ 480px) ===== */
@media (max-width: 480px) {
    .btp-404-code {
        font-size: 60px;
    }
    
    .btp-404-title {
        font-size: 20px;
    }
    
    .btp-404-section-title {
        font-size: 18px;
    }
}