/*
 * Republikaclone — SATU stylesheet dasar untuk desktop DAN mobile.
 * Semua aturan layout/widget ada di sini. File responsive.css hanya
 * berisi penyesuaian ukuran per breakpoint (kolom, font, padding) dan
 * TIDAK menduplikasi aturan widget. Ini yang menjaga layout widget
 * desktop dan mobile tetap sama.
 */
/* Font live: Inter (variable font, OFL, di-host di tema sendiri —
   live memakai Inter self-hosted juga). */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/inter.woff2') format('woff2');
}
:root {
	--repk-red: #e6411e;
	--repk-red-deep: #d50015;
	--repk-orange: #f58220;
	--repk-black: #111;
	--repk-grey: #666;
	--repk-light-grey: #f4f4f4;
	--repk-border: #e5e5e5;
	--repk-max: 1112px;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: 'Inter', Arial, Helvetica, sans-serif; color: var(--repk-black); background: #fff; font-size: 14px; font-weight: 500; line-height: 1.6; letter-spacing: -.015em; overflow-wrap: break-word; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--repk-red); outline-offset: 2px; }
.repk-content, .repk-sidebar, .repk-list-item > *, .repk-cat-grid > *, .repk-hero-row > *, .repk-channel-large > *, .repk-channel-small > * { min-width: 0; }
.repk-hero-title, .repk-list-title, .repk-card-title, .repk-cat-featured-title, .repk-cat-item-title, .repk-single-title, .repk-rekomendasi-headline { overflow-wrap: anywhere; }
a { color: var(--repk-black); text-decoration: none; }
a:hover { color: var(--repk-red-deep); }
img { max-width: 100%; height: auto; display: block; }
.repk-container { max-width: var(--repk-max); margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Header */
.repk-header { background: #fff; border-bottom: 2px solid #e5e5e5; position: sticky; top: 0; z-index: 100; }
.repk-topbar { background: #fff; }
.repk-topbar .repk-container { padding-left: 6px; padding-right: 6px; }
.repk-topbar-inner { display: flex; align-items: center; gap: 16px; padding: 18px 16px 19px; }
.repk-hamburger { width: 30px; height: 30px; border-radius: 50%; background: var(--repk-orange); border: none; cursor: pointer; flex: 0 0 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; }
.repk-hamburger span { display: block; width: 14px; height: 2px; background: #fff; }
.repk-logo-text { font-size: 30px; font-weight: 900; letter-spacing: .5px; color: var(--repk-black); font-family: 'Inter', Arial, Helvetica, sans-serif; line-height: 1; white-space: nowrap; }
.repk-logo-tri { color: var(--repk-red); font-size: .82em; margin-left: 1px; }
.repk-logo img { max-height: 60px; width: auto; }
.repk-search { flex: 1; display: flex; max-width: 324px; margin: 0 auto; min-width: 0; }
.repk-search input { flex: 1; border: 1px solid #d5d5d5; border-right: none; padding: 6px 14px; font-size: 14px; border-radius: 17px 0 0 17px; min-width: 0; background: #fff; height: 35px; }
.repk-search button { border: 1px solid #d5d5d5; border-left: 1px solid #d5d5d5; background: #f5f5f5; padding: 0; cursor: pointer; border-radius: 0 17px 17px 0; flex: 0 0 55px; min-height: 0; height: 35px; display: flex; align-items: center; justify-content: center; }
.repk-search button svg { display: block; }
.repk-header-pills { display: flex; gap: 14px; }
.repk-header-socials { display: flex; gap: 8px; }
.repk-header-socials .repk-social-icon { width: 28px; height: 28px; font-size: 11px; }
.repk-pill { background: var(--repk-black); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.5; padding: 5px 14px; border-radius: 20px; white-space: nowrap; }
.repk-pill:hover { color: #fff; background: var(--repk-red); }
.repk-leaderboard-wrap, .repk-banner-wrap { margin-top: 12px; }
.repk-leaderboard-wrap .repk-header-ad { max-width: 970px; margin: 0 auto; }
.repk-banner-wrap { background: #f7f7f7; padding: 20px 0; }
.repk-banner-wrap .repk-header-ad { max-width: 728px; margin: 0 auto; }

/* Navbar: seperti live (.navigation-pillars) — tiap item flex:auto
   (sel sama lebar, teks di tengah), jadi jarak antar item seragam
   otomatis dan baris selalu pas 1080px. Font Inter 14px/900. */
.repk-navbar { background: #fff; }
.repk-navbar .repk-container { padding-left: 0; padding-right: 0; }
.repk-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 0; justify-content: flex-start; }
.repk-nav li { position: relative; flex: auto; text-align: center; }
.repk-nav li a { display: block; padding: 16px 0; font-size: 14px; font-weight: 900; text-transform: uppercase; color: #353945; white-space: nowrap; }
.repk-nav li a:hover { color: #e6411e; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* Dropdown panel (seperti live: KABAR 8 item, KHAZANAH 3 item):
   garis atas merah 3px + segitiga, muncul saat hover. */
.repk-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: .5em; z-index: 150; list-style: none; margin: 0; border-top: 3px solid var(--repk-red-deep); text-align: left; }
.repk-nav .sub-menu::before { content: ''; display: block; border: 8px solid transparent; border-bottom-color: var(--repk-red-deep); position: absolute; top: -16px; left: 5%; }
.repk-nav li:hover > .sub-menu, .repk-nav li:focus-within > .sub-menu { display: block; margin-top: .15em; }
.repk-nav .sub-menu li { text-align: left; }
.repk-nav .sub-menu li a { display: block; padding: .25em .5em; font-size: 14px; font-weight: 700; line-height: 1.85em; text-transform: capitalize; letter-spacing: 0; color: #353945; text-align: left; }
.repk-nav .sub-menu li a:hover { color: #e6411e; text-decoration: none; background: #f7f7f7; }

/* Subbar merah: hashtag jadi pill putih, sub-nav kategori putih. */
.repk-subbar { background: transparent; }
.repk-subbar .repk-container { padding-left: 0; padding-right: 0; }
.repk-subbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 16px; height: 50px; font-size: 13px; background: var(--repk-red); border-radius: 10px; }
.repk-subbar-inner > * { min-width: 0; }
.repk-subbar-spacer { flex: 1; }
.repk-trending { display: flex; flex-wrap: wrap; gap: 12px; }
.repk-trending a { background: #fff; color: var(--repk-red); font-weight: 700; font-size: 12px; padding: 3px 12px; border-radius: 20px; white-space: nowrap; }
.repk-trending a:hover { color: var(--repk-red); }
.repk-subnav { display: flex; flex-wrap: wrap; gap: 4px 16px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.repk-subnav a { color: #fff; font-weight: 700; text-transform: uppercase; font-size: 13px; white-space: nowrap; }
.repk-subnav a:hover, .repk-subnav a.is-current { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.repk-prayer { color: #fff; white-space: nowrap; }
.repk-prayer strong { font-weight: 800; }
.repk-mobile-menu { display: none; background: #fff; border-top: 1px solid var(--repk-border); padding: 8px 16px; }
.repk-mobile-menu.open { display: block; }
.repk-mobile-nav { list-style: none; margin: 0; padding: 0; }
.repk-mobile-nav li a { display: block; padding: 10px 0; font-weight: 700; text-transform: uppercase; border-bottom: 1px solid var(--repk-border); }

/* Drawer hamburger: panel kiri, tautan cepat + 2 kolom kanal. */
.repk-mobile-menu.open { position: fixed; left: 0; top: 0; bottom: 0; width: 320px; max-width: 85vw; z-index: 200; overflow-y: auto; padding: 16px; box-shadow: 4px 0 24px rgba(0,0,0,.25); }
.repk-drawer-close { float: right; background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--repk-black); padding: 4px 8px; }
.repk-drawer-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 14px; margin-bottom: 12px; border-bottom: 1px solid var(--repk-border); clear: both; }
.repk-drawer-quick-link { background: var(--repk-black); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 20px; white-space: nowrap; }
.repk-drawer-quick-link:hover { color: #fff; background: var(--repk-red); }
.repk-drawer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.repk-drawer-col a { display: block; padding: 9px 0; font-weight: 700; text-transform: uppercase; font-size: 13px; border-bottom: 1px solid var(--repk-border); }
.repk-drawer-bottom { margin-top: 14px; font-size: 13px; color: var(--repk-grey); }
.repk-drawer-bottom a { color: var(--repk-grey); }

/* Section titles */
.repk-section { margin: 28px 0; }
.repk-section-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--repk-red-deep); margin-bottom: 16px; padding-bottom: 6px; }
.repk-section-title { margin: 0; font-size: 20px; font-weight: 900; color: var(--repk-red-deep); text-transform: uppercase; letter-spacing: -.025em; }
/* Unggulan live: judul merah tanpa garis di bawah, jarak 17px ke kartu. */
.repk-unggulan .repk-section-head { border-bottom: none; margin-bottom: 17px; padding-bottom: 0; }
.repk-more-link { font-size: 14px; font-weight: 700; color: var(--repk-red-deep); }
.repk-indeks-pill { background: var(--repk-red-deep); color: #fff; font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 4px; }
.repk-indeks-pill:hover { color: #fff; }

/* Meta */
.repk-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; margin-bottom: 6px; }
.repk-cat { color: var(--repk-red-deep); font-weight: 700; text-transform: uppercase; }
.repk-time { color: var(--repk-grey); }
.repk-meta-sep { color: #ccc; }

/* Hero: gambar utama selebar kolom konten (720px di desktop), transisi
   FADE (seperti live: ganti slide instan/fade, bukan geser). */
.repk-hero-grid { margin-top: 20px; }
.repk-hero-row { margin-top: 0; }
.repk-hero { position: relative; }
.repk-hero-slides { position: relative; background: var(--repk-light-grey); border-radius: 8px; overflow: hidden; height: 455px; }
.repk-hero-track { display: block; }
.repk-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.repk-hero-slide.is-active { opacity: 1; pointer-events: auto; }
.repk-hero-img { width: 100%; height: 100%; object-fit: cover; }
.repk-hero-progress { position: absolute; left: 0; bottom: 0; height: 5px; width: 25%; background: var(--repk-red-deep); z-index: 4; transition: left .5s ease, width .5s ease; }
.repk-hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 30px 17px; background: linear-gradient(transparent, rgba(0,0,0,.55) 45%, rgba(0,0,0,.92)); color: #fff; }
.repk-hero-overlay .repk-cat { color: #ffb3b5; }
.repk-hero-overlay .repk-time { color: #ddd; }
.repk-hero-overlay .repk-hero-title, .repk-hero-overlay .repk-meta { text-shadow: 0 1px 4px rgba(0,0,0,.85); }
.repk-hero-title { margin: 4px 0 0; font-size: 30px; line-height: 1.3; font-weight: 900; color: #fff; }
.repk-hero-strip-wrap { position: relative; margin-top: 12px; }
.repk-hero-strip { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth; }
.repk-hero-strip::-webkit-scrollbar { display: none; }
.repk-strip-prev, .repk-strip-next { position: absolute; top: 45px; transform: translateY(-50%); z-index: 5; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(0,0,0,.55); color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.repk-strip-prev { left: -6px; }
.repk-strip-next { right: -6px; }
.repk-hero-strip-item { flex: 0 0 calc(25% - 9px); position: relative; border: 1px solid var(--repk-border); background: #fff; padding: 0 0 8px; cursor: pointer; text-align: left; font-family: inherit; text-decoration: none; color: var(--repk-black); display: block; }
.repk-hero-strip-item.is-active { border-color: var(--repk-red-deep); }
.repk-hero-strip-img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px 8px 0 0; }
.repk-hero-strip-title { display: block; padding: 8px 10px 0; font-size: 13px; font-weight: 700; line-height: 1.35; }
.repk-carousel-prev, .repk-carousel-next { position: absolute; top: 40%; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(0,0,0,.55); color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.repk-hero-slides .repk-carousel-prev, .repk-hero-slides .repk-carousel-next { top: 32%; transform: translateY(-50%); }
.repk-carousel-prev { left: 12px; }
.repk-carousel-next { right: 12px; }
.repk-carousel { position: relative; }
.repk-carousel .repk-carousel-prev, .repk-carousel .repk-carousel-next { top: 38%; }
/* Panah Unggulan live: chevron putih TANPA latar lingkaran/kotak,
   28px x 15px, di tengah gambar kartu. */
.repk-unggulan .repk-carousel-prev, .repk-unggulan .repk-carousel-next { background: none; color: #fff; width: 15px; height: 28px; font-size: 28px; line-height: 28px; border-radius: 0; top: 62px; transform: translateY(-50%); text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.repk-unggulan .repk-carousel-prev { left: 24px; }
.repk-unggulan .repk-carousel-next { right: 24px; }

/* Unggulan carousel */
.repk-carousel-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.repk-carousel-track .repk-card { flex: 0 0 calc((100% - 72px) / 5); scroll-snap-align: start; }
.repk-card-img { width: 100%; aspect-ratio: 202/124; height: auto; object-fit: cover; border-radius: 8px; }
.repk-card-title { margin: 21px 0 0; font-size: 15px; line-height: 19px; font-weight: 800; }
.repk-card:hover .repk-card-title, .repk-list-item:hover .repk-list-title a, .repk-cat-item:hover .repk-cat-item-title, .repk-cat-featured:hover .repk-cat-featured-title, .repk-channel-card:hover .repk-channel-title, .repk-tv-card:hover .repk-tv-title { color: var(--repk-red-deep); }
.repk-card-title, .repk-list-title a, .repk-cat-item-title, .repk-cat-featured-title, .repk-channel-title, .repk-tv-title { transition: color .2s ease; }

/* Content + sidebar */
.repk-content-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.repk-sidebar { display: flex; flex-direction: column; gap: 28px; }
.repk-sidebar .widget { margin: 0; }

/* Terkini list */
.repk-list { display: flex; flex-direction: column; }
.repk-list-item { display: grid; grid-template-columns: 235px 1fr; gap: 21px; padding: 16px 0; border-bottom: 1px solid var(--repk-border); }
.repk-list-img { width: 100%; aspect-ratio: 235/150; height: auto; object-fit: cover; border-radius: 8px; }
.repk-list-title { margin: 0; font-size: 22px; line-height: 26px; font-weight: 800; }
.repk-excerpt { margin: 6px 0 0; color: var(--repk-grey); font-size: 14px; }
.repk-read-more { text-align: center; margin: 20px 0 0; }
.repk-read-more a { display: inline-block; background: var(--repk-red-deep); color: #fff; font-weight: 800; letter-spacing: 1px; padding: 10px 28px; border-radius: 999px; }
.repk-read-more a:hover { color: #fff; background: #b31218; }

/* Blok kanal di tengah feed Terkini. */
.repk-channel-block { margin: 24px 0; }
.repk-channel-label { border-bottom: 3px solid var(--repk-red-deep); padding-bottom: 6px; margin-bottom: 14px; }
.repk-channel-label a { color: var(--repk-red-deep); font-weight: 900; text-transform: uppercase; font-size: 20px; }
.repk-channel-large { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.repk-channel-small { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.repk-channel-img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; border-radius: 8px; }
.repk-channel-date { display: block; color: var(--repk-grey); font-size: 12px; margin-top: 6px; }
.repk-channel-title { margin: 2px 0 0; font-size: 15px; line-height: 1.4; font-weight: 800; }

/* Blok REPUBLIKA TV di feed Terkini: 4 kartu video vertikal. */
.repk-tv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.repk-tv-card a { display: block; }
.repk-tv-thumb { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #000; }
.repk-tv-img { width: 100%; aspect-ratio: 3/4; height: auto; object-fit: cover; }
.repk-tv-play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); color: #111; font-size: 20px; display: flex; align-items: center; justify-content: center; padding-left: 3px; }
.repk-tv-overlay-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #ffd400; font-size: 13px; font-weight: 800; line-height: 1.3; }
.repk-tv-meta { display: block; color: var(--repk-grey); font-size: 12px; margin-top: 8px; }
.repk-tv-title { margin: 2px 0 0; font-size: 15px; line-height: 1.4; font-weight: 800; }

/* Iklan tengah (antara Hero dan Unggulan). */
.repk-mid-ad-wrap { margin-top: 20px; }

/* Iklan 300x250 di samping Hero (kolom sidebar 340px): rata tengah. */
.repk-hero-side .repk-ad { max-width: 300px; margin: 0 auto; width: 100%; }

/* Kotak promo kuning REPUBLIKA.id (antara dua grup iqra). */
.repk-promo-box { background: #ffd400; border-radius: 8px; padding: 18px; text-align: center; }
.repk-promo-box a { display: block; color: #111; }
.repk-promo-title { display: block; font-size: 22px; font-weight: 900; letter-spacing: .5px; }
.repk-promo-text { display: block; font-size: 13px; margin-top: 4px; }

/* Filter tanggal halaman Indeks. */
.repk-indeks-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.repk-indeks-filter select { height: 33px; min-height: 0; padding: 0 8px; font-size: 13px; border: 1px solid var(--repk-border); border-radius: 8px; background: #efefef; }
#repk-indeks-day { width: 55px; }
#repk-indeks-month { width: 110px; }
#repk-indeks-year { width: 72px; }
.repk-indeks-filter button { background: var(--repk-red-deep); color: #fff; border: none; border-radius: 999px; width: 89px; height: 30px; min-height: 0; padding: 0; font-size: 13px; font-weight: 800; cursor: pointer; }
.repk-indeks-filter button:hover { background: #b31218; }
/* Tombol NEXT halaman Indeks live: pill merah 56x37. */
.repk-indeks-page .repk-next-link a { display: inline-block; background: var(--repk-red-deep); color: #fff; font-weight: 800; font-size: 13px; width: 56px; height: 37px; line-height: 37px; border-radius: 999px; text-align: center; }
.repk-indeks-page .repk-next-link a:hover { color: #fff; background: #b31218; }

/* Sidebar widgets */
.repk-ad { text-align: center; }
.repk-header-ad-90 .repk-ad-placeholder { min-height: 90px; }
.repk-header-ad-250 .repk-ad-placeholder { min-height: 250px; }
.repk-ad-placeholder { background: var(--repk-light-grey); border: 1px dashed #ccc; color: var(--repk-grey); display: flex; align-items: center; justify-content: center; min-height: inherit; font-size: 13px; }
.repk-rekomendasi { background: var(--repk-black); color: #fff; padding: 18px; }
.repk-rekomendasi-title { margin: 0 0 12px; font-size: 20px; font-weight: 900; text-transform: uppercase; color: #fff; }
.repk-rekomendasi-item { display: grid; grid-template-columns: 1fr 80px; gap: 12px; padding: 12px 0; border-top: 1px solid #333; align-items: start; }
.repk-rekomendasi-item.repk-rekomendasi-text { display: block; }
.repk-rekomendasi-cat { display: block; color: #999; font-size: 12px; margin-top: 4px; }
.repk-rekomendasi-headline { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 700; }
.repk-rekomendasi-headline a { color: #fff; }
.repk-rekomendasi-headline a:hover { color: #ffb3b5; }
.repk-rekomendasi-img { width: 80px; aspect-ratio: 16/9; height: auto; object-fit: cover; border-radius: 8px; }
.repk-hot-topics { background: var(--repk-light-grey); padding: 16px; border-radius: 8px; }
.repk-hot-topics .repk-section-title, .repk-terpopuler .repk-section-title { font-size: 22px; }
.repk-hashtag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.repk-hashtag-list a { display: inline-block; background: #fff; border: 1px solid var(--repk-border); padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.repk-ranked-list { list-style: none; counter-reset: repk-rank; margin: 0; padding: 0; }
.repk-ranked-item { counter-increment: repk-rank; padding: 12px 0 12px 48px; position: relative; border-bottom: 1px solid var(--repk-border); }
.repk-ranked-item::before { content: counter(repk-rank); position: absolute; left: 0; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: #e5e5e5; color: #333; font-size: 16px; font-weight: 900; line-height: 34px; text-align: center; }
.repk-ranked-item > a { font-weight: 700; font-size: 15px; line-height: 1.4; display: block; }

/* Category sections */
.repk-cat-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.repk-cat-featured-img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; }
.repk-cat-featured-title { font-size: 22px; font-weight: 900; line-height: 1.3; margin: 0; }
.repk-cat-item { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--repk-border); }
.repk-cat-item:first-child { padding-top: 0; }
.repk-cat-item-img { width: 110px; aspect-ratio: 16/9; height: auto; object-fit: cover; border-radius: 8px; }
.repk-cat-item-title { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0; }

.repk-cat-iqra .repk-section-title { text-transform: none; }

/* Seksi kategori di dalam sidebar (iqra/Network/Islam/Terkini Kabar):
   menumpuk 1 kolom, featured penuh + item kecil gambar-kiri. */
.repk-sidebar .repk-cat-grid { grid-template-columns: 1fr; gap: 0; }
.repk-sidebar .repk-cat-featured { margin-bottom: 4px; }
.repk-sidebar .repk-cat-featured-img { height: 180px; }
.repk-sidebar .repk-cat-item { grid-template-columns: 96px 1fr; }
.repk-sidebar .repk-cat-item-img { width: 96px; }

/* Single */
.repk-breadcrumb { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--repk-grey); padding: 16px 0 0; }
.repk-breadcrumb a { color: var(--repk-grey); }
.repk-breadcrumb a:hover { color: var(--repk-red-deep); }
.repk-crumb-sep { color: #bbb; }
.repk-crumb-date { white-space: nowrap; }
.repk-single-title { font-size: 36px; line-height: 1.25; font-weight: 900; margin: 8px 0; }
.repk-standfirst { font-size: 18px; line-height: 1.6; color: #444; margin: 12px 0 4px; }
.repk-single-byline { color: var(--repk-grey); font-size: 14px; }
.repk-single-byline .repk-red-name { color: var(--repk-red-deep); font-weight: 700; }
.repk-share { display: flex; gap: 8px; margin: 16px 0; }
.repk-share-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.repk-share-btn:hover { opacity: .85; }
.repk-single-thumb { margin: 16px 0; background: var(--repk-light-grey); }
.repk-single-thumb img { width: 100%; height: auto; border-radius: 8px; }
.repk-single-thumb figcaption { font-size: 13px; color: var(--repk-grey); margin-top: 8px; }

/* Form komentar: input selebar kolom, bukan sebaris sempit. */
.comment-form label { display: block; font-weight: 700; margin: 12px 0 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--repk-border); border-radius: 4px; font-size: 15px; min-height: 44px; }
.comment-form textarea { min-height: 120px; }
.comment-form input[type="submit"] { background: var(--repk-red-deep); color: #fff; border: none; padding: 12px 24px; border-radius: 4px; font-weight: 700; min-height: 44px; cursor: pointer; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.comment-form .comment-form-cookies-consent input { flex: 0 0 auto; margin-top: 4px; min-height: 0; }
.repk-single-content { font-size: 17px; line-height: 1.8; }
.repk-single-content p { margin: 0 0 16px; }
.repk-single-tags { margin: 20px 0; font-size: 14px; }
.repk-single-tags a { color: var(--repk-black); margin-right: 14px; }
.repk-single-tags a:hover { color: var(--repk-red-deep); }

/* Halaman tag: "Tag" merah miring + pill merah nama tag (seperti live). */
.repk-tag-head { display: flex; align-items: center; gap: 12px; margin: 20px 0 8px; }
.repk-tag-label { color: var(--repk-red-deep); font-style: italic; font-size: 28px; font-weight: 700; line-height: 1.2; }
.repk-tag-pill { background: var(--repk-red-deep); color: #fff; font-weight: 800; text-transform: uppercase; padding: 5px 18px; border-radius: 20px; font-size: 15px; letter-spacing: .3px; }

/* Halaman tag: hanya tautan NEXT (seperti live), bukan READ MORE. */
.repk-next-link { text-align: center; margin: 24px 0; }
.repk-next-link a { font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--repk-black); }
.repk-next-link a:hover { color: var(--repk-red-deep); }

/* Daftar kanal (sidebar tag/indeks): judul tengah 14px, tautan 14px
   tebal, jarak baris ~42px, seperti live. */
.repk-kanal-list .repk-section-title { font-size: 14px; font-weight: 800; text-align: center; color: #353945; text-transform: none; }
.repk-kanal-links { list-style: none; margin: 0; padding: 0; }
.repk-kanal-links li { border-bottom: 1px solid var(--repk-border); }
.repk-kanal-links li:last-child { border-bottom: none; }
.repk-kanal-links a { display: block; padding: 10px 0; font-weight: 700; font-size: 14px; }
.repk-kanal-links a:hover { color: var(--repk-red-deep); }

/* Komentar */
.repk-comments { margin: 28px 0; }
.repk-comments .repk-section-title, .repk-comments .comment-reply-title { font-size: 26px; font-weight: 900; color: var(--repk-red-deep); text-transform: uppercase; margin: 0 0 16px; }
.repk-comment-disclaimer { font-size: 13px; color: var(--repk-grey); margin: 12px 0; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--repk-border); padding: 16px 0; }
.comment-list .comment-author { font-weight: 700; }
.comment-list .comment-metadata { font-size: 13px; color: var(--repk-grey); }

/* Archive */
.repk-archive-head { border-bottom: 3px solid var(--repk-red-deep); margin: 20px 0 8px; padding-bottom: 8px; }
.repk-archive-title { margin: 0; font-size: 30px; font-weight: 900; color: var(--repk-red-deep); text-transform: uppercase; }
.repk-pagination { margin: 24px 0; text-align: center; }
.repk-pagination .page-numbers { display: inline-block; padding: 6px 12px; border: 1px solid var(--repk-border); margin: 0 2px; }
.repk-pagination .current { background: var(--repk-red-deep); color: #fff; border-color: var(--repk-red-deep); }

/* Halaman video Republika TV (layout gelap, seperti live /kanal/video). */
.repk-tv-page { display: grid; grid-template-columns: 240px 1fr; min-height: 80vh; background: #111; color: #fff; }
.repk-tv-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #1a1a1a; padding: 20px 16px; display: flex; flex-direction: column; gap: 18px; }
.repk-tv-logo a { color: #fff; font-size: 26px; font-weight: 900; letter-spacing: .5px; }
.repk-tv-logo span { color: #ffd400; }
.repk-tv-nav { display: flex; flex-direction: column; }
.repk-tv-nav a { color: #ddd; font-weight: 700; font-size: 14px; padding: 10px 0; border-bottom: 1px solid #333; text-transform: uppercase; }
.repk-tv-nav a:hover { color: #ffd400; }
.repk-tv-search input { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 8px; border: 1px solid #444; background: #222; color: #fff; font-size: 14px; min-height: 44px; }
.repk-tv-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.repk-tv-copy { font-size: 12px; color: #999; margin: auto 0 0; }
.repk-tv-main { padding: 24px; min-width: 0; }
.repk-tv-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 28px; }
.repk-tv-hero-large .repk-video-thumb { border-radius: 8px; }
.repk-tv-hero-large .repk-video-img { aspect-ratio: 16/9; }
.repk-tv-hero-large .repk-video-overlay-title { font-size: 20px; color: #fff; }
.repk-tv-hero-side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 12px; }
.repk-tv-hero-small .repk-video-thumb { border-radius: 8px; height: 100%; }
.repk-tv-hero-small .repk-video-img { height: 100%; aspect-ratio: auto; }
.repk-tv-hero-small .repk-video-overlay-title { font-size: 12px; }
.repk-tv-section { margin-bottom: 32px; }
.repk-tv-section-title { color: #fff; }
.repk-tv-section .repk-tv-grid { grid-template-columns: repeat(5, 1fr); }
.repk-video-card a { display: block; }
.repk-video-thumb { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #000; }
.repk-video-img { width: 100%; aspect-ratio: 3/4; height: auto; object-fit: cover; }
.repk-video-watermark { position: absolute; left: 8px; bottom: 8px; font-size: 10px; font-weight: 900; letter-spacing: 1px; color: rgba(255,255,255,.75); z-index: 2; }
.repk-video-views { position: absolute; left: 8px; top: 8px; background: rgba(0,0,0,.7); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px; z-index: 2; }
.repk-video-overlay-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #ffd400; font-size: 13px; font-weight: 800; line-height: 1.3; }
.repk-video-title { margin: 8px 0 2px; font-size: 15px; line-height: 1.4; font-weight: 800; color: #fff; }
.repk-video-date { display: block; color: #999; font-size: 12px; }
.repk-tv-hidden { display: none; }
.repk-tv-load-more { text-align: center; margin: 20px 0 0; }
.repk-tv-load-more button { background: #ff7a00; color: #fff; border: none; border-radius: 8px; padding: 10px 28px; font-weight: 800; cursor: pointer; min-height: 44px; }
.repk-tv-load-more button:hover { background: #e66e00; }
.repk-tv-foot { border-top: 1px solid #333; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.repk-tv-foot a { color: #999; font-size: 13px; }
.repk-tv-foot a:hover { color: #fff; }

/* Footer */
.repk-footer { background: var(--repk-light-grey); border-top: 3px solid var(--repk-red); margin-top: 40px; padding: 32px 0 0; }
.repk-footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.repk-footer-col h3 { font-size: 16px; font-weight: 900; text-transform: uppercase; margin: 0 0 12px; }
.repk-footer-links { list-style: none; margin: 0; padding: 0; }
.repk-footer-kanal .repk-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 16px; }
.repk-footer-links li { margin-bottom: 6px; }
.repk-footer-links a { font-size: 14px; color: var(--repk-grey); }
.repk-footer-links a:hover { color: var(--repk-red-deep); }
.repk-footer-col p, .repk-footer-col address { font-size: 14px; color: var(--repk-grey); font-style: normal; margin: 0 0 8px; }
.repk-cert { font-weight: 700; color: var(--repk-black); overflow-wrap: anywhere; }
.repk-cert-empty { font-weight: 400; }
.repk-social-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.repk-social-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--repk-black); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.repk-social-icon:hover { background: var(--repk-red); color: #fff; }
.repk-social-facebook { background: #1877f2; }
.repk-social-x { background: #000; }
.repk-social-instagram { background: #e1306c; }
.repk-social-youtube { background: #ff0000; }
.repk-social-tiktok { background: #000; }
.repk-copyright { border-top: 1px solid var(--repk-border); margin-top: 28px; padding: 16px 0; text-align: center; font-size: 13px; color: var(--repk-grey); }
.repk-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: var(--repk-red); color: #fff; border: none; font-size: 20px; line-height: 1; cursor: pointer; display: none; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.repk-to-top.show { display: block; }
.repk-notfound { text-align: center; padding: 60px 0; }
.repk-notfound h1 { font-size: 64px; color: var(--repk-red-deep); margin: 0; }
.repk-btn { display: inline-block; background: var(--repk-red-deep); color: #fff; padding: 10px 20px; border-radius: 4px; font-weight: 700; }
.repk-btn:hover { color: #fff; }
