/*
Theme Name: Indonesia Links
Version: 1.2.0
Author: Indonesia Links
Description: Theme landing page ringan untuk halaman link nonton dan akses streaming. Dibuat manual tanpa page builder dan tanpa framework CSS.
Text Domain: indonesia-links
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--bg: #f4f4f1;
	--surface: #ffffff;
	--surface-dark: #111111;
	--text: #161616;
	--muted: #686868;
	--line: #d3d3ce;
	--line-dark: #292929;
	--accent: #ef3f2f;
	--accent-hover: #ca2d21;
	--container: 1120px;
	--header-height: 68px;
	--font-heading: "Space Grotesk", sans-serif;
	--font-body: "IBM Plex Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--text); color: #fff; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: 10px 14px;
	margin: 0;
	clip: auto;
	background: #fff;
	color: #000;
	border: 1px solid #000;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.site-shell {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

.site-main { min-height: 60vh; }

.section {
	padding: 64px 0;
	border-bottom: 1px solid var(--line);
}

.section--white { background: var(--surface); }

.section--dark {
	background: var(--surface-dark);
	color: #fff;
	border-bottom-color: var(--line-dark);
}

.section__head {
	max-width: 740px;
	margin-bottom: 30px;
}

.section__eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	color: var(--accent);
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.section__title {
	margin: 0 0 14px;
	font-family: var(--font-heading);
	font-size: clamp(29px, 7vw, 48px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.04;
}

.section__lead {
	max-width: 680px;
	margin: 0;
	color: var(--muted);
	font-size: 17px;
}

.section--dark .section__lead { color: #b8b8b8; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--header-height);
	background: rgba(244, 244, 241, 0.97);
	border-bottom: 1px solid var(--line);
}

.admin-bar .site-header { top: 32px; }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	gap: 18px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.site-brand__icon {
	display: block;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	object-fit: contain;
}

.site-brand__name {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--text);
	white-space: nowrap;
}

@media (max-width: 600px) {
	.site-brand {
		gap: 8px;
	}

	.site-brand__icon {
		width: 30px;
		height: 30px;
		flex-basis: 30px;
	}

	.site-brand__name {
		font-size: 16px;
	}
}
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 180px; max-height: 42px; }

.site-nav-toggle {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	cursor: pointer;
}

.site-nav-toggle__icon,
.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
	display: block;
	width: 18px;
	height: 1px;
	background: var(--text);
	transition: transform 160ms ease, opacity 160ms ease;
}

.site-nav-toggle__icon { position: relative; }

.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
	position: absolute;
	left: 0;
	content: "";
}

.site-nav-toggle__icon::before { top: -6px; }
.site-nav-toggle__icon::after { top: 6px; }

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon { background: transparent; }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon::before { top: 0; transform: rotate(45deg); }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon::after { top: 0; transform: rotate(-45deg); }

.site-nav {
	position: fixed;
	inset: var(--header-height) 0 auto 0;
	display: none;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

.admin-bar .site-nav { top: calc(var(--header-height) + 32px); }
.site-nav.is-open { display: block; }

.site-nav__list,
.site-nav .menu {
	width: min(100% - 32px, var(--container));
	margin: 0 auto;
	padding: 14px 0 20px;
	list-style: none;
}

.site-nav__list li,
.site-nav .menu li {
	margin: 0;
	border-bottom: 1px solid var(--line);
}

.site-nav__list li:last-child,
.site-nav .menu li:last-child { border-bottom: 0; }

.site-nav__list a,
.site-nav .menu a {
	display: block;
	padding: 13px 2px;
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.site-nav__list a:hover,
.site-nav .menu a:hover { color: var(--accent); }

.hero {
	padding: 74px 0 68px;
	border-bottom: 1px solid var(--line);
}

.hero__grid { display: grid; gap: 42px; }
.hero__copy { max-width: 780px; }

.hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 17px;
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.hero__eyebrow::before {
	display: block;
	width: 28px;
	height: 2px;
	background: var(--accent);
	content: "";
}

.hero h1 {
	max-width: 900px;
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(46px, 12vw, 92px);
	font-weight: 700;
	letter-spacing: -0.065em;
	line-height: 0.94;
}

.hero__lead {
	max-width: 680px;
	margin: 28px 0 0;
	color: var(--muted);
	font-size: clamp(17px, 4vw, 20px);
	line-height: 1.6;
}

.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 32px;
}

.hero__note {
	max-width: 530px;
	margin: 18px 0 0;
	color: #777;
	font-size: 13px;
}

.hero__aside {
	display: grid;
	align-content: start;
	border-top: 1px solid var(--text);
}

.hero-stat {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 12px;
	padding: 17px 0;
	border-bottom: 1px solid var(--line);
}

.hero-stat__number {
	color: var(--accent);
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 700;
}

.hero-stat strong {
	display: block;
	margin-bottom: 3px;
	font-family: var(--font-heading);
	font-size: 15px;
}

.hero-stat p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 51px;
	padding: 13px 20px;
	background: var(--text);
	color: #fff;
	border: 1px solid var(--text);
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.button:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.button:active { transform: translateY(1px); }
.button--accent { background: var(--accent); border-color: var(--accent); }
.button--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button--outline { background: transparent; color: var(--text); }

.button--outline:hover {
	background: var(--text);
	border-color: var(--text);
	color: #fff;
}

.access-grid {
	display: grid;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.access-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 245px;
	padding: 22px;
	background: var(--surface);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	transition: background 130ms ease, color 130ms ease;
}

.access-card:hover {
	background: var(--surface-dark);
	color: #fff;
}

.access-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.access-card__index {
	color: var(--accent);
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 700;
}

.access-card__arrow {
	font-family: var(--font-heading);
	font-size: 22px;
	line-height: 1;
}

.access-card h3 {
	margin: auto 0 11px;
	font-family: var(--font-heading);
	font-size: 25px;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.access-card p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

.access-card:hover p { color: #bfbfbf; }

.steps {
	counter-reset: access-step;
	border-top: 1px solid var(--line);
}

.step {
	counter-increment: access-step;
	display: grid;
	gap: 14px;
	padding: 25px 0;
	border-bottom: 1px solid var(--line);
}

.step::before {
	content: "0" counter(access-step);
	color: var(--accent);
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 700;
}

.step h3 {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 21px;
	letter-spacing: -0.025em;
}

.step p {
	max-width: 700px;
	margin: 0;
	color: var(--muted);
}

.content-columns {
	display: grid;
	gap: 28px;
}

.content-columns p { margin-top: 0; }

.content-note {
	padding: 22px;
	background: #ecece8;
	border-left: 3px solid var(--accent);
}

.content-note strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-heading);
}

.faq { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }

.faq summary {
	position: relative;
	padding: 21px 42px 21px 0;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
	position: absolute;
	top: 20px;
	right: 2px;
	color: var(--accent);
	font-size: 22px;
	font-weight: 400;
	content: "+";
}

.faq details[open] summary::after { content: "−"; }

.faq__answer {
	max-width: 760px;
	padding: 0 44px 22px 0;
	color: #bdbdbd;
}

.faq__answer p { margin: 0; }

.contact-box {
	display: grid;
	gap: 24px;
	padding: 28px 0;
	border-top: 1px solid var(--text);
	border-bottom: 1px solid var(--text);
}

.contact-box h3 {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 24px;
	letter-spacing: -0.03em;
}

.contact-box p {
	max-width: 670px;
	margin: 0;
	color: var(--muted);
}

.content-page { padding: 60px 0 80px; }

.content-page__header {
	max-width: 800px;
	margin-bottom: 32px;
}

.content-page__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(38px, 8vw, 68px);
	letter-spacing: -0.05em;
	line-height: 1;
}

.entry-content {
	max-width: 820px;
	font-size: 17px;
}

.entry-content > * { max-width: 100%; }

.entry-content h2,
.entry-content h3 {
	margin-top: 1.8em;
	font-family: var(--font-heading);
	line-height: 1.15;
}

.entry-content a { color: var(--accent-hover); }
.entry-content img { border: 1px solid var(--line); }
.posts-list { border-top: 1px solid var(--line); }

.post-item {
	padding: 25px 0;
	border-bottom: 1px solid var(--line);
}

.post-item h2 {
	margin: 0 0 7px;
	font-family: var(--font-heading);
	font-size: 23px;
}

.post-item h2 a { text-decoration: none; }
.post-item h2 a:hover { color: var(--accent); }

.post-item__meta {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 13px;
}

.navigation.pagination { margin-top: 30px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	background: #fff;
	border: 1px solid var(--line);
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--text);
	color: #fff;
	border-color: var(--text);
}

.site-footer {
	background: #0d0d0d;
	color: #fff;
}

.site-footer__top {
	display: grid;
	gap: 26px;
	padding: 44px 0 34px;
}

.site-footer__brand {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.04em;
}

.site-footer__copy {
	max-width: 560px;
	margin: 8px 0 0;
	color: #9a9a9a;
	font-size: 14px;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	align-content: start;
	gap: 9px 18px;
}

.site-footer__links a {
	color: #bdbdbd;
	font-size: 14px;
	text-decoration: none;
}

.site-footer__links a:hover { color: #fff; }

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 17px 0 22px;
	border-top: 1px solid var(--line-dark);
	color: #878787;
	font-size: 12px;
}

@media (min-width: 700px) {
	.hero__actions { flex-direction: row; }
	.access-grid { grid-template-columns: repeat(2, 1fr); }

	.step {
		grid-template-columns: 65px minmax(160px, 260px) 1fr;
		align-items: start;
	}

	.content-columns {
		grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
	}

	.contact-box {
		grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
		align-items: start;
	}

	.site-footer__top { grid-template-columns: 1fr auto; }

	.site-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}

@media (min-width: 900px) {
	.site-nav-toggle { display: none; }

	.site-nav {
		position: static;
		display: block;
		background: transparent;
		border: 0;
	}

	.site-nav__list,
	.site-nav .menu {
		display: flex;
		align-items: center;
		gap: 27px;
		width: auto;
		margin: 0;
		padding: 0;
	}

	.site-nav__list li,
	.site-nav .menu li { border: 0; }

	.site-nav__list a,
	.site-nav .menu a {
		position: relative;
		padding: 8px 0;
		font-size: 13px;
	}

	.site-nav__list a::after,
	.site-nav .menu a::after {
		position: absolute;
		right: 0;
		bottom: 3px;
		left: 0;
		height: 1px;
		background: var(--accent);
		content: "";
		transform: scaleX(0);
		transform-origin: right;
		transition: transform 140ms ease;
	}

	.site-nav__list a:hover::after,
	.site-nav .menu a:hover::after {
		transform: scaleX(1);
		transform-origin: left;
	}

	.hero { padding: 102px 0 86px; }

	.hero__grid {
		grid-template-columns: minmax(0, 1fr) 275px;
		align-items: end;
		gap: 75px;
	}

	.access-grid { grid-template-columns: repeat(4, 1fr); }
	.section { padding: 84px 0; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-nav { top: calc(var(--header-height) + 46px); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*, *::before, *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}


/* =========================================================
   HALAMAN INTERNAL & MEDIA SEO
========================================================= */

.hero__media {
	margin: 34px 0 0;
	border: 1px solid var(--line);
	background: #111;
	overflow: hidden;
}

.hero__media img {
	width: 100%;
	height: auto;
}

.page-hero {
	padding: 58px 0 46px;
	background: #fff;
	border-bottom: 1px solid var(--line);
}

.page-hero__crumb {
	margin: 0 0 15px;
	color: var(--muted);
	font-size: 13px;
}

.page-hero__crumb a {
	text-decoration: none;
}

.page-hero__crumb a:hover {
	color: var(--accent);
}

.page-hero h1 {
	max-width: 920px;
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(38px, 8vw, 68px);
	line-height: 1;
	letter-spacing: -0.055em;
}

.page-hero__lead {
	max-width: 760px;
	margin: 20px 0 0;
	color: var(--muted);
	font-size: 17px;
}

.page-content-block {
	padding: 56px 0;
	border-bottom: 1px solid var(--line);
}

.page-content-block--white {
	background: #fff;
}

.page-content-block h2 {
	margin: 0 0 18px;
	font-family: var(--font-heading);
	font-size: clamp(27px, 6vw, 40px);
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.page-content-block h3 {
	font-family: var(--font-heading);
	letter-spacing: -0.025em;
}

.page-content-block p {
	max-width: 820px;
}

.link-list {
	display: grid;
	border-top: 1px solid var(--line);
}

.link-row {
	display: grid;
	gap: 14px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.link-row__number {
	color: var(--accent);
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 700;
}

.link-row h3 {
	margin: 0 0 4px;
	font-size: 19px;
}

.link-row p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.link-row .button {
	align-self: center;
	justify-self: start;
}

.info-grid {
	display: grid;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

.info-box {
	padding: 22px;
	background: #fff;
}

.info-box__index {
	display: block;
	margin-bottom: 30px;
	color: var(--accent);
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 700;
}

.info-box h3 {
	margin: 0 0 8px;
	font-size: 20px;
}

.info-box p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.notice {
	margin: 26px 0;
	padding: 20px;
	background: #fff3f1;
	border-left: 3px solid var(--accent);
}

.notice strong {
	font-family: var(--font-heading);
}

.contact-panel {
	display: grid;
	gap: 20px;
	padding: 26px;
	background: #fff;
	border: 1px solid var(--line);
}

.contact-panel__item {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.contact-panel__item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.contact-panel__label {
	display: block;
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.contact-panel a {
	color: var(--accent-hover);
}

@media (min-width: 760px) {
	.link-row {
		grid-template-columns: 48px minmax(0, 1fr) auto;
		align-items: center;
	}

	.info-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.contact-panel {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-panel__item {
		padding: 0 20px 0 0;
		border-right: 1px solid var(--line);
		border-bottom: 0;
	}

	.contact-panel__item:nth-child(even) {
		padding-right: 0;
		border-right: 0;
	}
}


/* =========================================================
   CONTENT PANJANG PER HALAMAN
========================================================= */

.prose {
	max-width: 840px;
}

.prose p {
	margin: 0 0 18px;
	color: #343434;
}

.prose h2 {
	margin-top: 42px;
}

.prose h3 {
	margin: 30px 0 10px;
}

.prose ul,
.prose ol {
	margin: 0 0 22px;
	padding-left: 22px;
}

.prose li {
	margin-bottom: 8px;
}

.quick-links {
	display: grid;
	gap: 1px;
	margin: 28px 0;
	background: var(--line);
	border: 1px solid var(--line);
}

.quick-links a {
	display: block;
	padding: 16px 18px;
	background: #fff;
	font-family: var(--font-heading);
	font-weight: 600;
	text-decoration: none;
}

.quick-links a:hover {
	background: #f0f0ec;
	color: var(--accent);
}

.article-note {
	margin: 28px 0;
	padding: 18px 20px;
	background: #f0f0ec;
	border-left: 3px solid var(--accent);
}

.article-note p {
	margin: 0;
}

.content-index {
	display: grid;
	gap: 1px;
	margin: 28px 0 34px;
	background: var(--line);
	border: 1px solid var(--line);
}

.content-index a {
	display: block;
	padding: 14px 16px;
	background: #fff;
	text-decoration: none;
}

.content-index a:hover {
	background: #f4f4f1;
	color: var(--accent);
}

@media (min-width: 760px) {
	.quick-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.content-index {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
