/*
Theme Name: Blink
Theme URI: https://blinkindo.com
Author: ALO Digital
Description: Tema custom PT Blink Prima Mandiri — jasa import China door to door. Homepage dengan kalkulator modal import, tabel pajak, FAQ ber-schema, dan blog panduan import.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: blink
*/

:root {
	--bg: #F4F5F1;
	--ink: #121A24;
	--ink-2: #2B3440;
	--ink-3: #3A4450;
	--muted: #5A6470;
	--line: #D9DCD3;
	--line-2: #C9CDC3;
	--tint: #E9EBE4;
	--accent: #F2B705;
	--steel: #2E4A62;
	--night: #0E1620;
	--on-dark: #C3CAD2;
	--white: #FFFFFF;
	--f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
	--f-body: "IBM Plex Sans", system-ui, sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, monospace;
	--gutter: clamp(16px, 5.5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--steel); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.section--flush { padding-top: 0; }
.stack { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* Type */
.eyebrow { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); text-decoration: none; }
.mono-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h-display { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5.2vw, 64px); line-height: .95; text-transform: uppercase; text-wrap: balance; margin-top: 12px; }
.h-display--sm { font-size: clamp(38px, 4.6vw, 60px); margin-top: 0; }
.page-lead { font-size: 18px; color: var(--ink-2); max-width: 40em; margin-top: 18px; }
.link-strong { font-weight: 600; font-size: 16px; text-underline-offset: 5px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px; padding: 14px 22px; border-radius: 4px; border: 0; cursor: pointer; text-align: center; }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--steel); color: var(--bg); }
.btn--sm { font-size: 15px; padding: 12px 20px; }
.btn--lg { font-size: 17px; padding: 18px 28px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand__name { font-family: var(--f-display); font-weight: 900; font-size: 32px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.brand__sub { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.site-nav { display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; padding-top: 72px; padding-bottom: 80px; align-items: start; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 8.9vw, 128px); line-height: .9; text-transform: uppercase; text-wrap: balance; }
.mark { background: var(--accent); padding: 0 .11em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 34em; color: var(--ink-2); }
.hero__cta { display: flex; gap: 14px 22px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-top: 20px; border-top: 1px solid var(--line); margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* Calculator */
.calc { background: var(--white); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 18px 40px rgba(18, 26, 36, .10); }
.calc__head { display: flex; justify-content: space-between; padding: 18px 24px; border-bottom: 1px dashed var(--line-2); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc__body { display: flex; flex-direction: column; gap: 18px; padding: 22px 24px; }
.calc__inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc__inputs label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.calc__inputs input { font: 500 18px var(--f-mono); padding: 10px 12px; border: 1px solid #B9BEB3; border-radius: 4px; background: #F9FAF7; color: var(--ink); width: 100%; }
.calc__cats { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.calc__cats div { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 500 13px var(--f-body); padding: 9px 14px; border-radius: 999px; cursor: pointer; min-height: 40px; background: var(--white); color: var(--ink); border: 1px solid #B9BEB3; }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.calc__rows { display: flex; flex-direction: column; font-family: var(--f-mono); font-size: 14px; border-top: 1px solid #E3E6DE; }
.calc__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EEF0EA; }
.calc__rows > div > span:first-child { color: var(--muted); }
.calc__rows .calc__total { border-bottom: 0; padding: 12px 0 4px; font-size: 15px; font-weight: 500; }
.calc__rows .calc__total > span:first-child { color: var(--ink); }
.calc__result { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ink); color: var(--bg); padding: 16px 20px; border-radius: 4px; font-size: 14px; }
.calc__result strong { font-family: var(--f-display); font-weight: 800; font-size: 40px; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1; }
.calc__note { font-size: 12px; line-height: 1.5; color: var(--muted); }

/* Steps */
.dark { background: var(--ink); color: var(--bg); padding: 72px 0; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 44px; }
.split-head .h-display { margin-top: 0; max-width: 12em; }
.dark .split-head p { max-width: 30em; font-size: 17px; color: var(--on-dark); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--accent); }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 0 0; }
.steps strong { font-size: 18px; font-weight: 600; }
.steps span { font-size: 14px; line-height: 1.55; color: var(--on-dark); }
.steps .steps__n { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-top: 44px; }
.services > div { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 36px; border-right: 1px solid var(--line); }
.services > div:first-child { padding-left: 0; }
.services > div:last-child { border-right: 0; padding-right: 0; }
.services h3 { font-size: 24px; line-height: 1.2; }
.services p { font-size: 15px; color: var(--ink-3); }

/* Gallery */
.gallery { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: 300px 300px; gap: 16px; padding-bottom: 88px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; }
.gallery__big { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 18px 22px; background: linear-gradient(transparent, rgba(14, 22, 32, .85)); color: var(--bg); font-weight: 600; }
.tag { font-family: var(--f-mono); font-size: 11px; font-weight: 500; background: var(--accent); color: var(--ink); padding: 4px 8px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }

/* Tax */
.tint { background: var(--tint); padding: clamp(56px, 7vw, 88px) 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
.two-col .stack p { font-size: 17px; color: var(--ink-2); }
.card { background: var(--white); border: 1px solid var(--line-2); border-radius: 6px; }
.table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
.table-card table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.table-card th { background: var(--ink); color: var(--bg); text-align: left; padding: 14px 20px; font-weight: 600; }
.table-card th:not(:first-child), .table-card td:not(:first-child) { font-family: var(--f-mono); font-size: 14px; }
.table-card td { padding: 14px 20px; border-bottom: 1px solid #E3E6DE; font-variant-numeric: tabular-nums; }
.table-card tr.hl td { background: #FFF7DA; }
.table-card__src { padding: 12px 20px; font-size: 12px; color: var(--muted); }

/* FAQ + quotes */
.quote { margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote p { font-size: 20px; line-height: 1.5; }
.quote footer { font-size: 14px; color: var(--muted); }
.faq .eyebrow { padding-bottom: 16px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:first-of-type { border-top-color: var(--ink); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--steel); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-3); }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post-grid--list { margin-top: 44px; row-gap: 48px; }
.post-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; padding-top: 20px; border-top: 3px solid var(--ink); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.post-card__title { font-size: 21px; font-weight: 600; line-height: 1.3; }
.post-card:hover .post-card__title { text-decoration: underline; text-underline-offset: 4px; }
.pager { margin-top: 48px; }
.pager .nav-links { display: flex; gap: 12px; flex-wrap: wrap; }
.pager .page-numbers { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 4px; text-decoration: none; }
.pager .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Article */
.article__head { padding-top: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 18px; max-width: 1040px; margin-left: 0; }
.article__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5.6vw, 72px); line-height: .98; text-transform: uppercase; text-wrap: balance; }
.article__cover { margin-top: 36px; margin-bottom: 0; }
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.article__layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 300px); gap: 72px; justify-content: space-between; padding-top: 48px; padding-bottom: 72px; }
.article__aside { position: relative; }
.aside-card { position: sticky; top: 100px; background: var(--accent); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.aside-card strong { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.aside-card p { font-size: 15px; color: var(--ink-2); }

.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.05; text-transform: uppercase; color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: 21px; line-height: 1.35; color: var(--ink); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--steel); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; background: var(--white); border: 1px solid var(--line-2); border-radius: 6px; }
.prose th { background: var(--ink); color: var(--bg); text-align: left; padding: 12px 14px; font-weight: 600; white-space: nowrap; }
.prose td { padding: 12px 14px; border-top: 1px solid #E3E6DE; vertical-align: top; }
.prose figure { margin-left: 0; margin-right: 0; }
/* Kotak "Ringkasan Utama" di awal artikel */
.prose > h2:first-child + ul { background: var(--white); border: 1px solid var(--line-2); border-left: 4px solid var(--accent); border-radius: 6px; padding: 20px 24px 20px 42px; }
.prose--page { max-width: 760px; margin-top: 32px; }

/* CTA band + footer */
.cta-band { margin-top: clamp(40px, 6vw, 88px); padding: clamp(32px, 4vw, 56px) clamp(24px, 4.4vw, 64px); background: var(--accent); border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; }
.cta-band > div { display: flex; flex-direction: column; gap: 12px; flex: 1 1 420px; }
.cta-band__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(38px, 4.4vw, 64px); line-height: .92; text-transform: uppercase; max-width: 11em; }
.cta-band p { font-size: 17px; color: var(--ink-2); }
.site-footer { margin-top: 88px; background: var(--night); color: var(--on-dark); padding: 56px 0 32px; font-size: 14px; line-height: 1.7; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.site-footer__grid > div { display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--bg); text-decoration: underline; }
.site-footer__brand { font-family: var(--f-display); font-weight: 900; font-size: 30px; color: var(--bg); text-transform: uppercase; }
.site-footer__h { color: var(--bg); font-weight: 600; }
.site-footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #243140; font-size: 13px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); z-index: 60; }
.wa-float:hover { color: var(--white); transform: translateY(-2px); }

/* WordPress core */
.alignwide, .alignfull { max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wp-block-image img { border-radius: 4px; }

/* Responsive */
@media (max-width: 1180px) {
	.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.services > div { padding: 28px 24px 32px; border-bottom: 1px solid var(--line); }
	.services > div:nth-child(odd) { padding-left: 0; }
	.services > div:nth-child(even) { border-right: 0; padding-right: 0; }
	.services > div:nth-child(n+3) { border-bottom: 0; }
	.article__layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.aside-card { position: static; max-width: 560px; }
	.site-nav { gap: 22px; }
}
@media (max-width: 960px) {
	.site-nav { display: none; }
	.hero { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 44px; padding-bottom: 56px; }
	.two-col { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 640px) {
	body { font-size: 15px; }
	.brand__sub { display: none; }
	.site-header__in { padding-top: 14px; padding-bottom: 14px; }
	.btn--lg { width: 100%; }
	.calc__head, .calc__body { padding-left: 16px; padding-right: 16px; }
	.calc__inputs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.calc__inputs label:first-child { grid-column: 1 / -1; }
	.calc__rows { font-size: 13px; }
	.calc__result strong { font-size: 32px; }
	.dark { padding: 56px 0; }
	.steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
	.steps li { padding: 0 0 0 16px; border-left: 2px solid var(--accent); }
	.services { grid-template-columns: minmax(0, 1fr); }
	.services > div, .services > div:nth-child(n) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.services > div:last-child { border-bottom: 0; }
	.gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: 280px 200px 200px; padding-bottom: 56px; }
	.gallery__big { grid-row: auto; }
	.gallery figcaption { padding: 14px 16px; font-size: 14px; }
	.post-grid { grid-template-columns: minmax(0, 1fr); }
	.prose { font-size: 17px; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.wa-float { width: 52px; height: 52px; }
}
