/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --text: #1a1a1a;
    --text-muted: #555;
    --border: #e5e7eb;
    --primary: #2f80ed;
    --primary-hover: #1d4ed8;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.1);
    --max-width: 1100px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
img, iframe {
    max-width:100% !important;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); text-decoration: none !important; }

img { max-width: 100%; height: auto; display: block; }
.sort-p {
    font-size:15px;
    margin-top:10px;
}
select.form-select {
   cursor:pointer;
   display:inline-block;
   padding:4px 6px;
   font-size:14px;
   margin-left:10px;
   border-radius:3px;
   color: #222;
   background-color: #FBFCFE;
  border: 1px solid #e5e7eb;
 }
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

  .clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

.server {
        display:block;
        padding:0;
        margin-top:15px;
        margin-bottom:20px;
    }
    .server a {
        display:inline-block;
        border-bottom:0;
        text-align:center;
        padding:8px;
        
    }
    
    .server a.active {
        border-bottom:0;
    }
    .server a span {
    font-size:12px;
    display:inline-block;
    text-align:center;
    padding:0 5px;
    line-height:20px;
    border-radius:3px;
    margin-left:2px;
    }


  .server {
        border-bottom:2px solid #e5e7eb;
    }
    .server a {
        
        border-bottom:0px solid #e5e7eb;
        
    }
    .server a {
        color:#000;
    }
     .server a:hover {
        color:#2f80ed;
        border-bottom:3px solid #2f80ed;
        margin-bottom:-3px;
    }
    .server a.active {
        color: #215CAA;
        background:#fbfbfb;
        border-bottom:3px solid #2f80ed;
        margin-bottom:-3px;
    }
    .server a span {
    background:#2F80ED;
    color:#fff;
    
    }

.bread {
    margin-bottom:10px;
}


.content__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.content-list-item {
    margin: 0;
}
.content-list-item__link {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-decoration: none;
    padding: 6px;
    border-radius: 6px;
}

.content-list-item__thumbnail-wrapper {
    flex: 0 0 140px;
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
}
.content-list-item__thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.content-list-item__duration {
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-size: 11px;
    padding: 2px 5px;
    border-radius: 4px;
}
.content-list-item__info {
    flex: 1;
}
.content-list-item__meta {
    font-size: 0.8rem;
    margin-top:10px;
}
.content-list-item__title {
    font-size: clamp(0.85rem, 2.5vw, 0.5rem);
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.content-list-item__title {
       overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto; 
    }
.content-list-item__link {
    
    background-color: #fafcfe;
    border: 1px solid #dfe1e4;
    
}
.content-list-item__link:hover {
    background-color: #dfe1e4;
    border: 1px solid #2f80ed;
}
.content-list-item__thumbnail-wrapper {
    
    background-color: #000;
}
.content-list-item__duration {
    
    background-color: rgb(0 0 0 / 0.7);;
    color: #e5e5e5;
}

.content-list-item__meta {
    
    color: #888;
   
}
.content-list-item__title {
	color:#000;
    
}

.content-list-item:hover .content-list-item__title {
     color:#2f80ed;
}
a.dll {margin-right:10px;
    padding:8px 16px;
    border-radius:15px;
    font-size:14px;
}

a.dll
{    color:#fff;
     background-color: #2f80ed;
}
a.dll:hover {
    color:#fff;
    background:#97bff6;
}


@media screen and (min-width:810px) {
    
    li.end {
        margin-right:50px;
    }
    
 .content__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}








/* --- Pengaturan Grid 2 Kolom --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Membuat 2 kolom berukuran sama */
    gap: 2px; /* Jarak antar video */
    max-width: 820px; /* Batas lebar meniru layar HP */
    margin: 0 auto; /* Posisi di tengah layar jika dibuka di Desktop */
}

@media screen and (min-width:680px) {
.video-grid {
    grid-template-columns: repeat(3, 1fr); /* Membuat 2 kolom berukuran sama */
}
}
/* --- Desain Kartu Video --- */
.video-card {
    position: relative; /* Penting: Agar elemen di dalamnya bisa melayang (absolute) */
    border-radius: 8px; /* Membuat sudut membulat */
    overflow: hidden; /* Memotong gambar yang keluar dari sudut membulat */
    aspect-ratio: 9 / 16; /* Menjaga rasio vertikal seperti YouTube Shorts */
    cursor: pointer; /* Warna cadangan sebelum gambar dimuat */
}
.video-card:hover .dplay-icon  {
    transform: translate(-50%, -50%) scale(1.3);
}


/* --- Gambar Thumbnail --- */
.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar memenuhi kotak tanpa distorsi */
    display: block;
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Gradien menutupi setengah bagian bawah */
    pointer-events: none; /* Agar klik tetap tembus ke kartu video */
}
.dplay-icon  {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    transition: .4s;
}
.video-title {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    
    /* Efek memotong teks (ellipsis) jika lebih dari 2 baris */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.file-views  {
    
    position: absolute;
    right: 3px;
    top: 5px;
   
}
span.viw { 
    border-radius: 3px;
    padding: 3px 8px;
    margin-right:3px;
    font-size: 10px;
}

.file-info  {
    
    position: absolute;
    left: 12px;
    bottom: 55px;
   
}
span.siz { 
    border-radius: 3px;
    padding: 3px 8px;
    margin-right:3px;
    font-size: 12px;
}
span.dur { 
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 12px;
}
/* --- Ikon 3 Titik (Options) di Kanan Atas --- */
.more-options {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.overlay-gradient {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}
.video-title {
    color:#f4f4f4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Tambahan bayangan agar teks lebih tegas */
}
.video-card:hover .dplay-icon {
    color:#fff;
}
span.viw,
.dplay-icon {
            color: #ffffff;
        }

span.siz,
span.dur,
.video-card {
    background:#000;
    }
span.siz,
span.dur {
   color:#e5e5e5; 
}
.dplay-icon,
span.viw { opacity: .7;
    
}
span.viw { opacity: .7;
    background: #2f80ed;
}

span.siz,
span.dur,
.video-card:hover .dplay-icon  {
     opacity: .9;
    
}
/* ===== Main ===== */
.site-main {
    flex: 1;
    padding: 2rem 0 3rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.page-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* ===== Post Grid ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.post-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    border-color:#2f80ed;
    transform: translateY(-5px);
    
}

.post-card .thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-alt);
}
.post-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.post-card:hover .thumb img {  }

.post-card .card-body {
    padding: 1.15rem 1.25rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card .categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}
.post-card .categories a {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: #eff6ff;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    text-decoration: none;
}

.post-card h2 {
    
    font-size: 1.1rem;
    font-weight: 650;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.post-card h2 a {
    color: var(--text);
    text-decoration: none;
}
.post-card h2 a:hover { color: var(--primary); }

.post-card .excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 0.85rem;
}

.post-card .meta {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ===== Single Post / Page ===== */
.single-article {
    max-width: 720px;
    margin: 0 auto;
}

.single-article .thumb {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-alt);
}
.single-article .thumb img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.single-article h1 {
    font-size: 2rem;
    font-weight: 750;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.single-content {
    font-size: 1.05rem;
    line-height: 1.8;
}
.single-content h2, .single-content h3 {
    margin: 1.75rem 0 0.75rem;
    font-weight: 650;
}
.single-content p { margin-bottom: 1.15rem; }
.single-content img {
    border-radius: var(--radius);
    margin: 1.25rem 0;
}

.single-content ul, .single-content ol {
    margin: 0 0 1.15rem 3rem;
}

.single-content ol {
   list-style-type: square;
}

.single-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 0.75rem 1.25rem;
    margin: 1.25rem 0;
    background: var(--bg-alt);
    color: var(--text-muted);
}
.sidebar-tag {
    display: table;
  width: 100%;
   border-collapse: separate; /* Required for spacing to work */
  border-spacing: 0 15px; 
   
}
.custom-row {
  display: table-row;
  
}

.custom-cell1 {
  display: table-cell;
  padding: 0;
  border: 0;
}
.custom-cell12 {
  display: table-cell;
  padding: 0;
  border: 0;
}


.single-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.single-categories span { font-size: 0.9rem; color: var(--text-muted); }

.sidebar-tag a span {
    color:#999;
}

.sidebar-tag a {
    font-weight:600;
    font-size: 1rem;
    border: 0;
    padding: 0.25rem 0;
    border-radius: 0;
    color: var(--text);
    text-decoration: none;
}.sidebar-tag a.active {
     
color:#2563eb;
}
.sidebar-tag a:hover {
    
color:#2563eb;
}
.single-categories a {
    font-weight:600;
    font-size: 0.85rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
}

.single-categories a:hover { border-color: var(--primary); color: var(--primary); }



.sidebar-tag a.active {
     
color:#2563eb;
}
.sidebar-tag a:hover {
    
color:#2563eb;
}

a.link {
     display:block;
     margin-left:-20px;
     margin-right:-20px;
     border-bottom:1px solid #e5e7eb;
     padding:10px 20px;
 } a.link:hover {
    background:#F8FAFE;
 }
  a.link:last-child {
      border-bottom:0;
  }

.title {
     font-size:18px;
     font-weight:bold;
     margin-bottom:6px;
 }
.span {
     background:#eff6ff;
     color:#000;
     border-radius:3px;
     padding:2px 8px;
     font-size:14px;
 }






/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    background: var(--bg);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
}
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ===== Empty State ===== */

.empty-state img {
    width:110px;
    display: block;
  margin: 0 auto 20px auto;
}
.empty-state {
    
    background:#FFF7ED;
    border-radius:8px;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}
.empty-state h2 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text); }

/* ===== Footer ===== */
.site-footer {
    font-weight:600;
    border-top: 0px solid var(--border);
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: #333;
    background: #f8fafe;
}

.legal {
    float:right;
}
.kopi {
    float:left;
}
.legal ul {
    list-style-type:none;
    display:inline-block;
    margin:0;
    padding:0;
}
.legal ul li {
    display:inline-block;
    margin-right:20px;
}
.legal ul li:last-child {
    margin-right:0;
}

.legal ul li a{
    color:#555;
}
.legal ul li a:hover {
    color:#2f80ed;
}


/* ==== Data Header === */
header.stik {z-index:999999;
            position: sticky;
  top: 0;
        }
        
   .site-header {
            background-color: #2f80ed;
            position: relative; /* Sebagai patokan dropdown menu mobile */
            border-bottom:0px solid #dee2e6;
        }
  .header-container {
            max-width: 1100px; /* Lebar maksimal desktop 800px */
            margin: 0 auto; /* Menengahkan container */
            height: 50px;
            display: flex;
            align-items: center;
            padding: 0 1.25rem; /* Memberi jarak aman agar tidak menempel layar saat < 800px */
        }

   .header-main {
            display: flex;
            width: 100%;
            justify-content: space-between;
            align-items: center;
          
        }
.header-left {
            flex: 1;
            display: flex;
            justify-content: flex-start;
        }
        .header-center {
            flex: 2;
            display: flex;
            justify-content: center;
        }
        .header-right {
           
            display: flex;
            justify-content: space-between;
            gap: 15px;
        }
        a.logo {
            font-weight:700;
            font-size: 24px;
            color: #fff;
            text-decoration: none;
            letter-spacing: 1px;
        }
        a.logo span {
            color:#dfebfc;
        }
        .nav-menu {
            display: flex;
            gap: 30px;
            list-style: none;
            z-index: 9999;
        }
        .nav-menu a {
            font-weight:600;
            text-decoration: none;
            color: #fafcfe;
            transition: color 0.3s;
        }
        .nav-menu a.activee:hover,
        .nav-menu a:hover {
            color: #c0d8f9;
        }
        .nav-menu a.activee {
    color: #fff !important;
     font-weight: 700;
}
       ul.pagination li {
    display: inline-block;
       }

        
        /* Tombol Ikon */
        .icon-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: #fafcfe;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.3s;
        }
        .icon-btn:hover {
            color: #c0d8f9;
        }
        
        .icon-btn.search-submit-btn {
            color:#000;
        }
        .icon-btn.search-submit-btn:hover {
            color:#2f80ed;
        }
        .burger-btn {
            display: none;
        }
        /* FORM PENCARIAN (Sembunyi secara default) */
        .header-search {
            display: none;
            width: 100%;
            justify-content: center;
            align-items: center;
            gap: 15px;
        }
        .search-form {
            display: flex;
            align-items: center;
            flex-grow: 1;
            border: 0px solid #ccc;
            border-radius: 30px;
            padding: 5px 15px;
            background: #fff;
        }
        .search-input {
            width: 100%;
            border: none;
            background: transparent;
            outline: none;
            padding: 4px 5px;
            font-size: 16px;
        }
      
        
        ul.nav-menu {
                padding:0;
                margin:0;
            }

/* Base Mobile-First Layout */
.page-container {
  display: flex;
  flex-direction: column; /* Stacked on mobile */
  gap: 60px;
  margin: 0 auto;
  padding: 0;
}

.main-content {
  width: 100%;
}

.sidebar {
  width: 100%;
}


.widget.bottom {
    margin-bottom:25px;
}

.widget {
  background: #fff;
  padding: 0;
  border-radius: 0;
}



/* Tablet & Desktop Layout */



.sidebar-widget {
  width: 100%;
 
 
}

.widget-title {
  color: #215caa; /* Warna biru judul */
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Jarak antarnaskah */
}

.post-item {
  display: flex;
  gap: 12px; /* Jarak antara gambar dan teks */
  text-decoration: none;
  align-items: flex-start;
  transition: transform 0.3s ease; 
}

.post-thumb {
  object-fit: cover;
  border-radius: 8px; /* Sudut gambar melengkung */
  flex-shrink: 0;
}

.post-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
}

/* Hover efek judul */
.post-item:hover {
  
  transform: translateX(-10px);
}
.post-item:hover .post-title {
  color: #2563eb;
 
}

.post-date {
  font-size: 0.8rem;
  color: #64748b;
}

.single-tags {
    margin-bottom:20px;
}

.tagged a {
    color:#666;
}
     .simplesocialbuttons {
    display: flex;
    align-items: center; 
    gap: 0; 
    margin:20px 0 20px 0;
}
.simplesocialbuttons img {
    
}.simplesocialbuttons img:hover {
    opacity: 0.6;
}
.simplesocialbuttons a {
    vertical-align: middle;
    color:#898F9C;
    display:inline-block;
    font-size:28px;
    margin-right: 10px;
}
.simplesocialbuttons button {
    text-align:center;
    vertical-align: middle;
    display:inline-block;
    background:none;
	color: #fff; 
	border: none; 
	border-radius: 5px; 
	cursor: pointer; 
	margin-left:0;
	margin-top:-6px;
	padding:0;
}


.simplesocialbuttons a:hover {
    color:#000;
}  
input.acf-shortlink-input {
	cursor: default; 
	width:1px;
	padding: 0; 
	border:0;
	margin:0;
	background: transparent; 
	color:#fff;
	font-size:1px;
	display:none;
}
.page-list a {
    color:#000;
    display:block;
    border-bottom:1px solid #e5e7eb;
    padding:8px 0;
}
.page-list a:hover {
     color:#2563eb;
}

.page-list a:last-child {
    border-bottom:0;
}

.page-list a.active {
    color:#2563eb;
    font-weight:bold;
}
  /* CSS Lama Anda (dengan sedikit penyesuaian) */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  border-radius: 8px; /* Pindahkan border-radius ke sini agar rapi */
  background-color: #000; /* Warna dasar saat transisi */
  cursor: pointer;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- CSS Tambahan Baru --- */

/* Styling untuk Thumbnail */
.video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.4s ease;
}

span.duration {
    position: absolute;
    bottom:10px;
    right:10px;
    background-color: rgba(0, 0, 0, 0.6);
    color:#ddd;
    z-index: 2;
    font-size:14px;
    padding:2px 12px;
    border-radius:5px;
}
/* Styling untuk Tombol Play */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, opacity 0.4s ease, transform 0.2s ease;
}

.video-play-btn:hover {
  background-color: rgba(0, 0, 0, 0.7); /* Berubah merah saat di-hover (mirip YouTube) */
  transform: translate(-50%, -50%) scale(1.1); /* Efek membesar sedikit */
}

.video-play-btn svg {
  width: 48px;
  height: 48px;
  fill: #fff;
  margin-left: 4px; /* Supaya ikon segitiga presisi di tengah lingkaran */
}

/* Efek transisi ketika video mulai diputar */
.video-container.is-playing .duration,
.video-container.is-playing .video-thumb,
.video-container.is-playing .video-play-btn {
  visibility: hidden;
  opacity: 0;
  pointer-events: none; /* Agar elemen yg transparan tidak menghalangi klik ke video */
}

        
/* ===== Responsive ===== */


@media screen and (min-width: 821px) {

       li.mob {
        display:none;
    }
      
    .widget {
  background: #fbfcfe;
  padding: 15px;
  border-radius: 8px;
}
    
    .post-card h2 {
     overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
  .page-container {
    flex-direction: row; /* Side-by-side on desktop */
  }

  .main-content {
    flex: 1; /* Automatically expands to use left-over space */
  }

  .sidebar {
    width: 350px; /* Locks the sidebar to a fixed size */
    flex-shrink: 0; /* Prevents the sidebar from squishing */
  }
  
  .sticky-widget {
  position: -webkit-sticky; /* Safari support */
  position: sticky;
  top: 80px; /* Distance from the top of the viewport when stuck */
  z-index: 10; /* Ensures it sits above lower layers if needed */
}
  

.sidebar-widget {
  width: 100%;
  max-width: 350px;
 
}

       .post-thumb {
  width: 95px;
  height: 65px;
  
}

}


@media screen and (max-width: 468px) {
     .posts-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 820px) {

 
 
        .header-center {
                /* Cukup hilangkan porsi lebar ruangnya saja, jangan di display:none */
                flex: 0; 
            }
         .burger-btn {
                display: flex; 
            }   


      .nav-menu {max-height:450px;
                overflow-y:auto;
                border-radius:12px;
                background:#2a73d5;
                display: none; /* Disembunyikan, akan dipanggil oleh JS */
                position: absolute;
                top: 50px; /* Muncul tepat di bawah header */
                right: 20px;
                width: 80%; /* Lebar penuh dari ujung ke ujung */
                flex-direction: column;
                gap: 0;
                border: 0px solid #5899f0;
                box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
                z-index: 9999;
            }
            .nav-menu.active {
                display: flex; 
            }
            ul.nav-menu,
            .nav-menu li {
                padding:0;
                margin:0;
            }
            .nav-menu li a {
                display: block;
                padding: 15px 20px;
                border-bottom: 1px solid #5899f0;
            }
           
            .nav-menu li a.activee {
                color:#fff;
              border-bottom: 1px solid #2567bf;
                background: #2567bf;
            }
            .nav-menu li a:hover {
                color:#fff;
             
                background: #2567bf;
            }
            .nav-menu li:last-child a {
                border-bottom: none;
            }       
   
    .single-article h1 { font-size: 1.55rem; }
    .page-title { font-size: 1.4rem; }
    
          .post-thumb {
  width: 125px;
  height: 90px;
  
}  
 .site-footer {
        text-align:center;
    }
    .legal {
        display:block;
    float:none;
}
.kopi {
    display:block;
    margin-top:20px;
    float:none;
}

.legal ul li {
    display:inline-block;
    margin:0 20px 10px 0;
}

  
    .header-container {
        height:70px;
    }
    
    .container { padding: 0 1rem; }
    .site-main { padding: 1.5rem 0 2rem; }
    
      .post-list  .post-title {
     overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}    
}