/* ==========================================================================
   Salam Online — main stylesheet
   Token diambil dari tampilan Publisher lama (computed style, Okt 2026).
   ========================================================================== */

@font-face {
	font-family: "Roboto Condensed";
	src: url("../fonts/roboto-condensed-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--c-bg: #eee;
	--c-surface: #fff;
	--c-text: #7b7b7b;
	--c-body: #333;
	--c-heading: #383838;
	--c-heading-strong: #2d2d2d;
	--c-meta: #adb5bd;
	--c-line: #eee;
	--c-accent: #e33d3d;
	--c-btn: #f2645a;
	--c-nav: #292929;
	--c-topbar: #fafafa;
	--c-footer: #434343;
	--c-footer-copy: #353535;

	--f-head: "Roboto Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
	--f-body: Verdana, Geneva, sans-serif;

	/* Satu lebar untuk semua halaman (tema lama: beranda 1300px, halaman dalam 1180px). */
	--container: 1180px;
	--gutter: 20px;
	--gap: 26px;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font: 13px/1.7 var(--f-body);
}
img, iframe, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); color: var(--c-heading); line-height: 1.2; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 12px; background: #fff; color: #000; }

/* Layout ----------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.site { max-width: var(--container); margin-inline: auto; background: var(--c-surface); }
.site .container { max-width: none; }
.site-main { padding-block: 25px 40px; }

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 316px;
	gap: 50px;
}
.sticky { position: sticky; top: 16px; }
.admin-bar .sticky { top: 48px; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Topbar ----------------------------------------------------------------- */
.topbar { background: var(--c-topbar); }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 44px; }
.topbar__date { margin-left: auto; white-space: nowrap; min-width: 30ch; text-align: right; }

.ticker { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 0; }
.ticker__label {
	flex: none;
	padding: 2px 20px;
	background: var(--c-accent);
	color: #fff;
	font: 700 12px/20px var(--f-head);
	text-transform: uppercase;
	border-radius: 3px;
}
.ticker__list { position: relative; flex: 1; min-width: 0; height: 22px; overflow: hidden; }
.ticker__item {
	position: absolute; inset: 0;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	font: 700 13px/22px var(--f-head);
	color: #444;
	opacity: 0; transition: opacity .4s;
}
.ticker__item.is-active, .ticker:not([data-ready]) .ticker__item:first-child { opacity: 1; }
.ticker__nav { display: flex; gap: 6px; }
.ticker__btn { width: 24px; height: 24px; border: 1px solid #e2e2e2; background: #fff; color: #aaa; line-height: 1; }

/* Header & nav ----------------------------------------------------------- */
.site-header { display: flex; justify-content: center; padding-block: 38px 36px; }
.site-logo { margin: 0; font-size: inherit; }
.site-logo img { width: 500px; height: auto; }

.main-nav {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--c-nav);
	padding-inline: 0;
	width: calc(100% - 2 * var(--gutter));
	min-height: 47px;
}
.main-nav .menu { display: flex; flex: 1; min-width: 0; justify-content: center; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: block;
	padding: 0 18px;
	color: #fff;
	font: 400 14px/47px var(--f-head);
	text-transform: uppercase;
	letter-spacing: .02em;
	white-space: nowrap;
}
.main-nav .menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c-accent);
	transform: scaleX(0); transition: transform .2s;
}
.main-nav .menu > li:hover > a::after,
.main-nav .menu > .current-menu-item > a::after,
.main-nav .menu > .current-menu-ancestor > a::after,
.main-nav .menu > .current-post-ancestor > a::after { transform: none; }
.main-nav .menu > .menu-item-has-children > a { padding-right: 32px; }
.main-nav .menu > .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 16px; top: 20px;
	width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg);
}

.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 20;
	min-width: 210px; padding: 6px 0;
	background: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / .15);
	visibility: hidden; opacity: 0; transition: opacity .15s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.main-nav .sub-menu a { display: block; padding: 7px 18px; color: #444; font: 400 14px/1.4 var(--f-head); }
.main-nav .sub-menu a:hover { background: #f6f6f6; color: var(--c-accent); }
.main-nav .menu-more > .sub-menu { left: auto; right: 0; max-height: 70vh; overflow-y: auto; }
.main-nav .menu-more .sub-menu .sub-menu { position: static; visibility: inherit; opacity: 1; box-shadow: none; padding: 0 0 0 14px; }
.main-nav .menu-more .sub-menu a::before { display: none; }

.main-nav__toggle, .main-nav__search {
	flex: none; width: 47px; height: 47px; border: 0; background: none; color: #fff;
}
.main-nav__toggle { display: none; }
.icon-bars, .icon-bars::before, .icon-bars::after {
	display: block; width: 20px; height: 2px; margin: auto; background: currentColor; position: relative;
}
.icon-bars::before, .icon-bars::after { content: ""; position: absolute; }
.icon-bars::before { top: -6px; } .icon-bars::after { top: 6px; }
.main-nav__form { position: absolute; top: 100%; right: 0; z-index: 25; width: min(420px, 100%); padding: 12px; background: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / .15); }

.search-form { display: flex; gap: 6px; }
.search-form__input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid #ddd; font: inherit; }
.search-form__btn { height: 38px; padding: 0 16px; border: 0; background: var(--c-accent); color: #fff; font: 700 13px var(--f-head); text-transform: uppercase; }

/* Shared bits ------------------------------------------------------------ */
.section-heading {
	display: flex; align-items: center; gap: 17px;
	margin-bottom: 23px;
	color: #292929;
	font: 700 20px/1.3 var(--f-head);
	text-transform: uppercase;
}
.section-heading::after { content: ""; flex: 1; height: 5px; background: var(--c-line); }
.section-heading--fire span::before {
	content: ""; display: inline-block; width: 18px; height: 20px; margin-right: 8px; vertical-align: -2px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M216 24c0-24-31-33-44-13C48 192 224 200 224 288c0 36-29 65-65 64-35-1-63-30-63-66v-86c0-22-26-32-41-17C27 211 0 261 0 320c0 106 86 192 192 192s192-86 192-192c0-170-168-193-168-296z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M216 24c0-24-31-33-44-13C48 192 224 200 224 288c0 36-29 65-65 64-35-1-63-30-63-66v-86c0-22-26-32-41-17C27 211 0 261 0 320c0 106 86 192 192 192s192-86 192-192c0-170-168-193-168-296z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.thumb { display: block; overflow: hidden; background: #f4f4f4; }
.thumb__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a:hover .thumb__img { transform: scale(1.03); }

.meta { color: var(--c-meta); font-size: 12px; }
.meta__date--strong { color: #444; font-weight: 700; margin-left: 4px; }
.meta__author { margin-right: 14px; font: 700 11px var(--f-head); text-transform: uppercase; }

.badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.badge {
	display: inline-block; padding: 1px 7px;
	background: var(--c-accent); color: #fff;
	font: italic 700 12px/18px var(--f-head); text-transform: uppercase;
}
a.badge:hover { color: #fff; filter: brightness(1.1); }

.btn, .btn-more {
	display: block; width: fit-content; margin: 16px auto 0;
	border: 0; font: 13px/1 var(--f-body);
}
.btn { padding: 12px 16px; background: var(--c-btn); color: #fff; }
.btn:hover { color: #fff; filter: brightness(1.05); }
.btn-more { padding: 7px 10px; background: #fff; border: 1px solid #ddd; color: #888; font-size: 11px; text-transform: uppercase; }
.btn-more[disabled] { opacity: .5; cursor: default; }

/* Cards ------------------------------------------------------------------ */
.card-list { display: grid; grid-template-columns: 48% 1fr; gap: var(--gap); margin-bottom: 25px; }
.card-list__title { font-size: 20px; font-weight: 700; line-height: 1.1; }

.card-text { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.card-text:first-child { padding-top: 0; }
.card-text__title { font-size: 15px; font-weight: 700; line-height: 22px; color: var(--c-heading); }
.card-text .meta { margin-top: 6px; font-size: 13px; }

.card-grid__title {
	margin-top: 14px;
	font-size: 15px; font-weight: 700; line-height: 1.15;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.card-feature { padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.card-feature__title { margin-top: 20px; font-size: 20px; font-weight: 400; line-height: 1.1; color: var(--c-heading-strong); }
.card-feature + .card-text { padding-top: 14px; }

.card-row { display: grid; grid-template-columns: 210px 1fr; gap: 26px; margin-bottom: 26px; }
.card-row__title { font-size: 18px; font-weight: 700; line-height: 1.22; }
.card-row .meta { margin-top: 8px; }
.card-row__excerpt { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #888; }

.card-index { padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.card-index .badges { margin-bottom: 6px; }
.card-index .badge { font-size: 10px; line-height: 15px; }
.card-index__title { font-size: 18px; font-weight: 700; line-height: 1.25; }

.card-overlay { position: relative; }
.card-overlay__link { display: block; position: relative; height: 100%; color: #fff; }
.card-overlay__link:hover { color: #fff; }
.card-overlay .thumb { height: 100%; }
.card-overlay__box {
	position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
	width: min(64%, 460px); padding: 20px 26px 18px;
	background: rgb(181 100 100 / .92); text-align: center;
}
.card-overlay__title { display: block; font: 700 26px/1.12 var(--f-head); }
.card-overlay__date { display: block; margin-top: 12px; font-size: 13px; }
.card-overlay__badge { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); }
.slider--channel .card-overlay__box { width: 80%; bottom: 30px; padding: 0; background: none; text-shadow: 0 1px 4px rgb(0 0 0 / .8); }
.slider--channel .card-overlay__title { font-size: 28px; }

/* Slider (scroll-snap, JS hanya untuk dots/arrows/autoplay) --------------- */
.slider { position: relative; overflow: hidden; background: #f4f4f4; }
.slider__track {
	display: flex; height: 100%;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.slide .thumb { width: 100%; }
.slider__dots { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.slider__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #ccc; }
.slider__dot[aria-current="true"] { background: var(--c-accent); }
.slider__arrow {
	position: absolute; top: 50%; translate: 0 -50%;
	width: 40px; height: 40px; border: 2px solid #fff; border-radius: 50%; background: transparent; color: #fff; font-size: 20px;
}
.slider__arrow--prev { left: 20px; } .slider__arrow--next { right: 20px; }
.slider--hero .slider__arrow { display: none; }
.slider--hero { aspect-ratio: 723 / 506; }
.slider--channel { aspect-ratio: 5 / 3; margin-bottom: 30px; background: #000; }

/* Homepage --------------------------------------------------------------- */
.home-row { margin-bottom: 40px; }
.home-row--hero { display: grid; grid-template-columns: 7fr 5fr; gap: 33px; align-items: start; }
.prayer iframe { width: 100%; height: 210px; border: 0; }
.home-row--main { display: grid; grid-template-columns: 6fr 2fr 4fr; gap: 10px 10px; }
.home-col--picks { padding-right: 0; }
.home-col--popular { padding-left: 0; }

/* Single ----------------------------------------------------------------- */
.breadcrumb { margin-bottom: 18px; font-size: 14px; color: #aaa; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-inline: 9px; }
.breadcrumb a { color: #999; }

.entry__title { font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--c-heading-strong); }
.entry__header .meta { margin-top: 18px; }

.share { display: flex; align-items: center; gap: 6px; margin: 22px 0 22px; }
.share__label {
	padding: 4px 12px; border: 1px solid #e5e5e5; border-radius: 16px; color: #444; font-weight: 700;
}
.share__btn { display: block; width: 30px; height: 30px; border-radius: 50%; background: #444 center / 15px no-repeat; }
.share__btn--facebook { background-color: #3b5998; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M14 8V6c0-.8.2-1 1-1h2V2h-3c-3 0-4 1.6-4 4v2H8v3h2v11h4V11h3l.5-3H14z'/%3E%3C/svg%3E"); }
.share__btn--x { background-color: #000; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.8 3h3.1l-6.8 7.7 8 10.3h-6.2l-4.9-6.3L5.4 21H2.3l7.3-8.3L2 3h6.4l4.4 5.8L17.8 3zm-1.1 16.2h1.7L7.4 4.7H5.6l11.1 14.5z'/%3E%3C/svg%3E"); }
.share__btn--whatsapp { background-color: #25d366; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.3-.8-2.8-1.1-4.5-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.8s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.9 2.1c0 .2.1.4 0 .5l-.3.5-.4.5c-.2.2-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.2 1.4 2.5 1.5.3.2.5.1.6-.1l.9-1.1c.2-.3.4-.2.7-.1l2 1c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E"); }
.share__btn--telegram { background-color: #2ca5e0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M21.9 4.3 18.7 19.5c-.2 1-.9 1.3-1.8.8l-4.8-3.6-2.3 2.2c-.3.3-.5.5-1 .5l.3-4.9 8.9-8c.4-.3-.1-.5-.6-.2L6.4 13.2l-4.7-1.5c-1-.3-1-1 .2-1.5L20.5 3c.9-.3 1.6.2 1.4 1.3z'/%3E%3C/svg%3E"); }

.entry__featured { margin: 0 0 22px; }
.entry__featured img { width: 100%; }

.entry__content { color: var(--c-body); font-size: 16px; line-height: 1.6; overflow-wrap: break-word; }
.entry__content p { margin: 0 0 17px; }
.entry__content a { color: var(--c-accent); }
.entry__content h2, .entry__content h3 { margin: 28px 0 12px; color: var(--c-heading-strong); }
.entry__content h2 { font-size: 22px; } .entry__content h3 { font-size: 19px; }
.entry__content ul, .entry__content ol { margin: 0 0 17px; padding-left: 1.4em; list-style: revert; }
.entry__content blockquote { margin: 0 0 17px; padding: 6px 0 6px 18px; border-left: 4px solid var(--c-accent); font-style: italic; }
.entry__content img { height: auto; }
.entry__content .wp-caption { max-width: 100%; margin-bottom: 17px; }
.entry__content .wp-caption-text { margin-top: 6px; color: #888; font-size: 12px; line-height: 1.5; }
.entry__content .alignleft, .entry__content .alignright, .entry__content .aligncenter { display: block; float: none; margin: 0 0 17px; }
.entry__content > :is(img, .wp-caption, p > img):first-child { width: 100% !important; }
.entry__content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.entry__content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry__content td, .entry__content th { padding: 6px 8px; border: 1px solid #e5e5e5; }

.entry__tags { margin-top: 24px; font-size: 12px; }
.entry__tags a { display: inline-block; margin: 0 4px 4px 0; padding: 2px 8px; border: 1px solid #ddd; }
.related { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.related .card-list { grid-template-columns: 40% 1fr; gap: 14px; margin-bottom: 0; }
.related .card-list__title { font-size: 15px; line-height: 1.2; }

/* More Stories popup ----------------------------------------------------- */
.more-stories {
	position: fixed; right: 0; bottom: 70px; z-index: 40;
	width: 325px; padding: 16px 20px 18px;
	background: #fff; border-top: 4px solid var(--c-accent);
	box-shadow: 0 0 14px rgb(0 0 0 / .18);
	transform: translateX(110%); transition: transform .35s ease;
}
.more-stories.is-visible { transform: none; }
.more-stories__close {
	position: absolute; top: 12px; left: 14px;
	width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #bbb; font-size: 22px; line-height: 1;
}
.more-stories__close:hover { color: #666; }
.more-stories__title {
	margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line);
	text-align: center; font: 700 18px/1.3 var(--f-body); text-transform: uppercase; color: #333;
}
.more-stories__list { min-height: 230px; transition: opacity .2s; }
.more-stories__list.is-loading { opacity: .4; }
.more-stories__nav { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.more-stories__btn { padding: 3px 7px; border: 1px solid #ddd; background: #fff; color: #666; font-size: 11px; text-transform: uppercase; }
.more-stories__btn[disabled] { color: #ccc; cursor: default; }
.more-stories__count { margin-left: 8px; color: #999; font-size: 11px; }

.card-small { display: grid; grid-template-columns: 86px 1fr; gap: 12px; margin-bottom: 16px; }
.card-small__title {
	font-size: 14px; font-weight: 700; line-height: 1.2;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-small .meta { margin-top: 4px; font-size: 12px; }

/* Sidebar ---------------------------------------------------------------- */
.sidebar .widget { margin-bottom: 40px; }
.sidebar .prayer iframe, .sidebar iframe { width: 100%; height: 210px; border: 0; }
.sidebar .wp-block-latest-posts li { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.sidebar .wp-block-latest-posts a { color: var(--c-heading); font: 700 14px/1.7 var(--f-head); }

/* Archive ---------------------------------------------------------------- */
.archive-header { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--c-line); }
.archive-header__pre {
	margin: 0 0 18px; padding-bottom: 6px; border-bottom: 4px solid var(--c-heading-strong);
	color: var(--c-heading-strong); font: 700 17px var(--f-head); text-transform: uppercase;
}
.archive-header__row { display: flex; align-items: center; justify-content: space-between; }
.archive-header__title { font-size: 30px; font-weight: 700; text-transform: uppercase; color: var(--c-heading-strong); }
.archive-header__rss {
	width: 18px; height: 18px; background: #f5821f;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4v3a13 13 0 0 1 13 13h3A16 16 0 0 0 4 4zm0 6v3a7 7 0 0 1 7 7h3A10 10 0 0 0 4 10zm2.5 6.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4v3a13 13 0 0 1 13 13h3A16 16 0 0 0 4 4zm0 6v3a7 7 0 0 1 7 7h3A10 10 0 0 0 4 10zm2.5 6.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.archive-header .search-form { margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips a { display: block; padding: 2px 7px; border: 1px solid #ddd; color: #777; font: italic 10px/16px var(--f-body); text-transform: uppercase; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.pagination .page-numbers { min-width: 34px; padding: 6px 10px; border: 1px solid #ddd; text-align: center; color: #666; }
.pagination .current { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--c-footer); color: #ccc; }
.social-bar { display: flex; justify-content: center; padding-block: 20px; }
.social-bar__item { flex: 0 1 252px; }
.social-bar__item a { display: flex; align-items: center; gap: 16px; height: 70px; padding: 0 10px; color: #fff; font: 13px/1.5 Helvetica, Arial, sans-serif; }
.social-bar__item a:hover { color: #fff; filter: brightness(1.08); }
.social-bar__text strong { display: block; font-weight: 400; font-size: 14px; }
.social-bar__icon { width: 50px; height: 50px; flex: none; background: rgb(0 0 0 / .12) center / 22px no-repeat; }
.social-bar__item--facebook a { background: #4a639f; }
.social-bar__item--youtube a { background: #cc181e; }
.social-bar__item--posts a { background: #4a9bd0; }
.social-bar__item--rss a { background: #f5821f; }
.social-bar__item--facebook .social-bar__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M14 8V6c0-.8.2-1 1-1h2V2h-3c-3 0-4 1.6-4 4v2H8v3h2v11h4V11h3l.5-3H14z'/%3E%3C/svg%3E"); }
.social-bar__item--youtube .social-bar__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M23 7.2a3 3 0 0 0-2.1-2.1C19 4.6 12 4.6 12 4.6s-7 0-8.9.5A3 3 0 0 0 1 7.2 31 31 0 0 0 .5 12c0 1.6.2 3.2.5 4.8a3 3 0 0 0 2.1 2.1c1.9.5 8.9.5 8.9.5s7 0 8.9-.5a3 3 0 0 0 2.1-2.1c.3-1.6.5-3.2.5-4.8s-.2-3.2-.5-4.8zM9.7 15V9l5.8 3-5.8 3z'/%3E%3C/svg%3E"); }
.social-bar__item--posts .social-bar__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E"); }
.social-bar__item--rss .social-bar__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M4 4v3a13 13 0 0 1 13 13h3A16 16 0 0 0 4 4zm0 6v3a7 7 0 0 1 7 7h3A10 10 0 0 0 4 10zm2.5 6.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3C/svg%3E"); }

.copy-footer { background: var(--c-footer-copy); padding-block: 26px 18px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-bottom: 14px; border-bottom: 1px solid #444; }
.footer-menu a { color: #fff; font: 14px/1.5 "Noto Sans", Arial, sans-serif; }
.copy-footer__row { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; color: #bbb; font: 12px "Noto Sans", Arial, sans-serif; }

.back-to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 30;
	width: 40px; height: 40px; display: grid; place-items: center;
	background: var(--c-accent); color: #fff; font-size: 14px;
	opacity: 0; pointer-events: none; transition: opacity .2s;
}
.back-to-top.is-visible { opacity: .9; pointer-events: auto; }
.back-to-top:hover { color: #fff; opacity: 1; }

.not-found .search-form { margin: 16px 0 36px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
	.home-row--main { grid-template-columns: 1fr 1fr; gap: 30px; }
	.home-col--picks { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar .sticky { position: static; }
	.home-row--hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--3 { grid-template-columns: minmax(0, 1fr); }
	.topbar__date { display: none; }

	.main-nav { flex-wrap: wrap; justify-content: space-between; }
	.main-nav__toggle { display: block; }
	.main-nav .menu { display: none; order: 3; flex-basis: 100%; flex-direction: column; padding-bottom: 8px; }
	.main-nav.is-open .menu { display: flex; }
	.main-nav .menu > li > a { line-height: 40px; }
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .sub-menu { position: static; visibility: visible; opacity: 1; box-shadow: none; background: none; padding: 0 0 6px 16px; }
	.main-nav .sub-menu a { color: #ccc; }
	.main-nav .menu-item-has-children > a::before { display: none; }
	.main-nav .menu-more { display: none; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; --gap: 14px; }
	.site-header { padding-block: 22px; }
	.site-logo img { width: 260px; }
	.home-row--main { grid-template-columns: minmax(0, 1fr); }
	.home-col--latest .sticky { position: static; }
	.card-list { grid-template-columns: 40% 1fr; margin-bottom: 18px; }
	.card-list__title { font-size: 16px; }
	.card-overlay__box { bottom: 16px; width: 88%; padding: 12px 14px; }
	.card-overlay__title, .slider--channel .card-overlay__title { font-size: 18px; }
	.slider--hero { aspect-ratio: 4 / 3; }
	.card-row { grid-template-columns: 120px 1fr; gap: 14px; }
	.card-row__title { font-size: 16px; }
	.card-row__excerpt { display: none; }
	.related .grid--2 { grid-template-columns: minmax(0, 1fr); }
	.entry__title { font-size: 22px; }
	.social-bar { flex-wrap: wrap; }
	.social-bar__item { flex-basis: 50%; }
	.social-bar__item a { height: 56px; gap: 10px; }
	.social-bar__icon { width: 36px; height: 36px; }
	.copy-footer__row { flex-direction: column; }
	/* Di layar kecil popup akan menutupi isi artikel. */
	.more-stories { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
