/*
Theme Name: Rona
Description: One-page dating content theme with a bold, outlined, pastel look. Colours and texts are set per site in Appearance > Customize > Tampilan Rona.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: rona
*/

@font-face {
	font-family: "Lexend";
	src: url("assets/fonts/Lexend.ttf") format("truetype");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--ink: #111;
	--line: 1.5px solid var(--ink);
	--shadow: 7px 7px 0 var(--ink);
	--shadow-sm: 4px 4px 0 var(--ink);
	--muted: #4b4b4b;
	--grey: #c9c9c9;
	--grey2: #ececec;
	--skin: #f2c4a2;
	--leaf: #f6c445;
	--star: #ffc83d;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: "Lexend", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
.center { text-align: center; }
.acc { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; border: var(--line); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--deco); outline-offset: 3px; }

/* SVG colour classes */
.f-ink { fill: var(--ink); } .f-w { fill: #fff; } .f-acc { fill: var(--accent); } .f-btn { fill: var(--btn); }
.f-heart { fill: var(--heart); } .f-deco { fill: var(--deco); } .f-p1 { fill: var(--p1); } .f-p2 { fill: var(--p2); }
.f-p3 { fill: var(--p3); } .f-sec { fill: var(--sec); } .f-c1 { fill: var(--c1); } .f-c2 { fill: var(--c2); }
.f-c3 { fill: var(--c3); } .f-c4 { fill: var(--c4); } .f-cta { fill: var(--cta); } .f-grey { fill: var(--grey); }
.f-grey2 { fill: var(--grey2); } .f-skin { fill: var(--skin); } .f-leaf { fill: var(--leaf); } .f-star { fill: var(--star); }
.s-ink { stroke: var(--ink); } .s-w { stroke: #fff; } .s-deco { stroke: var(--deco); } .s-leaf { stroke: var(--leaf); } .s-cta { stroke: var(--cta); }
.art-time { font: 600 12px "Lexend", sans-serif; fill: var(--ink); }

/* Buttons */
.btn {
	display: inline-block;
	background: var(--btn);
	border: var(--line);
	box-shadow: var(--shadow-sm);
	padding: 13px 26px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: var(--ink);
	transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: var(--line); }
.hdr { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; min-height: 64px; border-left: var(--line); border-right: var(--line); }
.hdr-left, .hdr-right { display: flex; align-items: stretch; }
.hdr-right { justify-content: flex-end; }
.cell { display: flex; align-items: center; padding: 0 22px; font-size: 13px; font-weight: 500; text-decoration: none; border-right: var(--line); white-space: nowrap; transition: background .15s; }
.cell:hover, .cell.is-active { background: var(--p2); }
.hdr-right .cell { border-right: 0; border-left: var(--line); padding: 0 34px; }
.cell-soft { background: color-mix(in srgb, var(--btn) 22%, #fff); }
.cell-cta { background: var(--btn); }
.cell-soft:hover, .cell-cta:hover, .hdr-right .cell.is-active { background: var(--accent); }
.hdr-logo { display: flex; align-items: center; justify-content: center; padding: 0 28px; text-decoration: none; }
.logo-img { height: 40px; width: auto; }
.logo-text { font-weight: 700; font-size: 24px; letter-spacing: .04em; }
.hdr-toggle { display: none; background: none; border: 0; padding: 0 20px; flex-direction: column; justify-content: center; gap: 5px; }
.hdr-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-open .hdr-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hdr-toggle span:nth-child(2) { opacity: 0; }
.nav-open .hdr-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { border-top: var(--line); background: #fff; }
.mnav a { display: block; padding: 15px 24px; border-bottom: var(--line); text-decoration: none; font-weight: 500; }
.mnav a:last-child { background: var(--btn); border-bottom: 0; }
.mnav a.is-active { background: var(--p2); }

/* Hero */
.hero { position: relative; padding-top: 56px; overflow: hidden; }
.hero-in { text-align: center; position: relative; z-index: 2; max-width: 920px; }
.hero-in .h1 { text-wrap: balance; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 500; border: var(--line); border-radius: 999px; padding: 5px 16px; margin-bottom: 18px; background: #fff; }
.h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; }
.lead { max-width: 640px; margin: 18px auto 28px; font-size: 15px; color: var(--muted); }
.hero-art-wrap { max-width: var(--wrap); margin: 22px auto 0; position: relative; z-index: 1; }
.hero-art { width: 100%; height: auto; }
.cloud { position: absolute; width: 190px; z-index: 0; }
.cloud-l { left: max(0px, calc(50% - 640px)); top: 120px; }
.cloud-r { right: max(0px, calc(50% - 640px)); top: 130px; width: 150px; }
.note { display: block; width: 54px; height: 54px; background: #fff; border: var(--line); box-shadow: 3px 3px 0 var(--ink); padding: 8px; }
.note svg { width: 100%; height: 100%; }
.note-wrap { position: absolute; z-index: 3; }
.note-l { left: calc(50% - 620px); top: 250px; transform: rotate(-14deg); }
.note-r { right: calc(50% - 600px); top: 290px; transform: rotate(12deg); }
@media (max-width: 1320px) { .note-l, .note-r { display: none; } }

/* Features */
.feats-wrap { position: relative; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--line); }
.feat { padding: 40px 30px 48px; border-right: var(--line); }
.feat:last-child { border-right: 0; }
.feat-1 { background: var(--p1); } .feat-2 { background: var(--p2); } .feat-3 { background: var(--p3); }
.feat-ico { width: 60px; height: 60px; margin-bottom: 26px; }
.feat h3 { font-size: 28px; font-weight: 700; margin-bottom: 18px; }
.feat p { font-size: 13.5px; line-height: 1.65; max-width: 290px; color: #222; }
.burst { position: absolute; display: block; pointer-events: none; }
.burst-feat { width: 110px; right: -10px; bottom: -48px; z-index: 2; }

/* Editorial notes */
.quotes { position: relative; padding: 130px 0 40px; }
.burst-top { width: 90px; right: max(0px, calc(50% - 650px)); top: -10px; transform: rotate(20deg); }
.q-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.h2 { font-size: clamp(28px, 3.3vw, 40px); font-weight: 700; }
.burst-inline { display: inline-block; width: 34px; height: 34px; vertical-align: middle; margin-left: 6px; }
.q-nav { display: flex; gap: 14px; }
.q-btn { width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1.5px solid color-mix(in srgb, var(--accent) 55%, #fff); color: var(--accent); display: grid; place-items: center; transition: background .15s; }
.q-btn svg { width: 22px; height: 22px; }
.q-btn:hover { background: var(--accent); color: #fff; }
.q-body { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; }
.q-mark { width: 48px; margin-bottom: 26px; }
.q-slide { margin: 0; }
.q-slide blockquote { margin: 0 0 30px; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.45; max-width: 650px; padding-left: 14px; }
.q-slide figcaption { font-size: 14px; font-weight: 600; color: var(--accent); padding-left: 14px; }
.q-slide.is-on { animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.q-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; margin-top: 46px; }
.q-bars span { height: 3px; background: var(--grey2); }
.q-bars span.is-on { background: color-mix(in srgb, var(--accent) 60%, #fff); }

/* How it works */
.how-wrap { margin-top: 60px; }
.how { background: var(--sec); display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: 90px 0 90px 18px; }
.how-text { padding-left: 0; }
.how-lead { font-size: 13.5px; max-width: 520px; margin: 22px 0 30px; color: #222; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; max-width: 580px; }
.step { border: var(--line); padding: 14px 16px 18px; }
.step-1 { background: var(--c1); box-shadow: var(--shadow); }
.step-2 { background: var(--c2); } .step-3 { background: var(--c3); } .step-4 { background: var(--c4); }
.step-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.25); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 12px; line-height: 1.55; color: #222; }
.how-art svg { width: 100%; max-width: 520px; margin-left: auto; }
.stripes { position: absolute; width: 80px; height: 120px; background: repeating-linear-gradient(-45deg, var(--deco) 0 6px, transparent 6px 17px); }
.stripes-how { right: 24px; bottom: -120px; }

/* Articles (one-page category sections) */
.articles { position: relative; padding: 150px 0 120px; }
.stripes-art { display: none; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head p { font-size: 14px; color: var(--muted); max-width: 470px; margin: 16px auto 0; }
.cat-block { margin-top: 64px; scroll-margin-top: 90px; }
.cat-block:first-of-type { margin-top: 0; }
.cat-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; padding-bottom: 18px; border-bottom: var(--line); }
.cat-num { flex: none; display: grid; place-items: center; width: 52px; height: 52px; background: var(--btn); border: var(--line); box-shadow: var(--shadow-sm); font-weight: 700; }
.cat-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.cat-desc { font-size: 14px; color: var(--muted); margin-top: 4px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: var(--line); padding: 10px 10px 20px; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card--lift { box-shadow: var(--shadow); }
.card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 14px; }
.card-img img, .card-img svg { width: 100%; height: 100%; object-fit: cover; }
.card-title { font-size: 17px; font-weight: 600; line-height: 1.35; margin: 0 4px 10px; }
.card-title a { text-decoration: none; }
.card-text { font-size: 13px; color: #333; margin: 0 4px 16px; flex: 1; }
.card-more { align-self: flex-start; margin: 0 4px; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; display: inline-flex; gap: 6px; align-items: center; }
.ico-arrow { width: 15px; height: 15px; }
.card-empty { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; padding: 10px; box-shadow: var(--shadow); }
.card-empty svg { aspect-ratio: 3 / 2; width: 100%; height: auto; }
.card-empty p { font-size: 15px; color: var(--muted); }
.btn-more { margin-top: 30px; }
.spiral { position: absolute; width: 110px; left: max(0px, calc(50% - 640px)); bottom: -40px; }
.note-art { right: max(16px, calc(50% - 600px)); bottom: 40px; transform: rotate(-12deg); }

/* CTA */
.cta-wrap { padding: 60px 24px 110px; }
.cta { position: relative; display: grid; grid-template-columns: 1fr; min-height: 380px; }
.cta-panel { margin-left: 30%; background: var(--cta); display: flex; justify-content: flex-end; align-items: center; padding: 30px 30px 30px 18%; min-height: 380px; }
.cta-art svg { width: 100%; max-width: 520px; }
.cta-box { position: absolute; left: 2%; top: 50%; transform: translateY(-50%); width: min(48%, 520px); background: #fff; border: var(--line); box-shadow: 14px 14px 0 var(--ink); padding: 44px 28px 34px; }
.cta-box p { font-size: 13.5px; color: #222; margin: 18px 0 26px; }
.pill { position: absolute; top: -52px; left: 42%; width: 50px; height: 96px; border-radius: 30px; background: var(--heart); transform: rotate(-38deg); }
.pill::after { content: ""; position: absolute; left: 13px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: #fff; }

/* Footer */
.site-footer { padding: 0 0 28px; }
.site-footer .wrap { background: #050505; color: #fff; border-radius: 6px; padding: 30px 28px 26px; }
.ftr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.ftr-logo .logo-img { height: 34px; }
.ftr-logo .logo-text { color: #fff; }
.ftr-tag { font-size: 12px; color: #a3a3a3; margin-top: 8px; }
.ftr-nav { display: flex; gap: 46px; font-size: 13px; }
.ftr-nav a { text-decoration: none; }
.ftr-nav a:hover { color: var(--accent); }
.ftr-social { display: flex; justify-content: flex-end; gap: 10px; }
.ftr-social a { width: 26px; height: 26px; border: 1.3px solid #fff; border-radius: 50%; display: grid; place-items: center; }
.ftr-social svg { width: 15px; height: 15px; }
.ftr-copy { text-align: center; font-size: 11.5px; color: #d4d4d4; margin-top: 30px; }

/* Single post / pages / listing */
.post { max-width: 860px; padding-top: 60px; padding-bottom: 40px; }
.post-head { text-align: center; margin-bottom: 30px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; background: var(--btn); border: var(--line); padding: 4px 14px; text-decoration: none; margin-bottom: 18px; }
.post-title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; }
.post-meta { font-size: 13px; color: var(--muted); margin-top: 14px; }
.post-img { margin: 0 0 40px; border: var(--line); box-shadow: var(--shadow); padding: 10px; background: #fff; }
.post-img img, .post-img svg { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.prose { font-size: 17px; line-height: 1.8; color: #1f1f1f; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.5em; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border: var(--line); background: var(--p2); box-shadow: var(--shadow-sm); }
.prose img { border: var(--line); }
.prose ul, .prose ol { padding-left: 1.3em; }
.related { padding: 40px 24px 90px; }
.related .h2 { text-align: center; margin-bottom: 36px; }
.listing { padding-top: 70px; padding-bottom: 90px; }
.search-form { display: flex; justify-content: center; gap: 0; margin-top: 22px; }
.search-form label { flex: 0 1 360px; }
.search-field { width: 100%; padding: 12px 14px; border: var(--line); font: inherit; font-size: 14px; }
.search-submit { background: var(--btn); border: var(--line); border-left: 0; padding: 0 18px; font-weight: 500; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 46px; }
.pager .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border: var(--line); text-decoration: none; font-weight: 600; }
.pager .current { background: var(--btn); box-shadow: var(--shadow-sm); }
.nf { text-align: center; padding: 120px 24px 140px; }
.nf .note-wrap { position: static; display: inline-block; transform: rotate(-10deg); margin-bottom: 24px; }

/* Responsive */
@media (max-width: 1020px) {
	.hdr { grid-template-columns: auto 1fr auto; border-left: 0; border-right: 0; }
	.hdr-left, .hdr-right { display: none; }
	.hdr-logo { justify-content: flex-start; padding: 0 20px; grid-column: 1; }
	.hdr-toggle { display: flex; grid-column: 3; }
	.feats { grid-template-columns: 1fr; }
	.feat { border-right: 0; border-bottom: var(--line); }
	.feat:last-child { border-bottom: 0; }
	.q-body { grid-template-columns: 1fr; }
	.q-art { max-width: 300px; margin: 0 auto; }
	.how { grid-template-columns: 1fr; padding: 60px 24px; }
	.how-art svg { margin: 0 auto; max-width: 420px; }
	.cards { grid-template-columns: 1fr 1fr; }
	.cta-panel { margin-left: 0; padding: 30px; justify-content: center; }
	.cta-box { position: relative; left: auto; top: auto; transform: none; width: auto; margin: -40px 18px 0; }
	.cta { display: flex; flex-direction: column; }
	.ftr { grid-template-columns: 1fr; text-align: center; }
	.ftr-logo .logo-img { margin: 0 auto; }
	.ftr-nav, .ftr-social { justify-content: center; }
	.cloud, .note-l, .note-r { display: none; }
}
@media (max-width: 640px) {
	.hero { padding-top: 36px; }
	.hero-art-wrap { margin-left: -60px; margin-right: -60px; }
	.q-head { flex-wrap: wrap; }
	.q-btn { width: 42px; height: 42px; }
	.cards { grid-template-columns: 1fr; }
	.card-empty { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.quotes { padding-top: 100px; }
	.articles { padding: 110px 0 90px; }
	.ftr-nav { gap: 24px; flex-wrap: wrap; }
	.logo-img { height: 34px; }
	.spiral, .note-art, .burst-top { display: none; }
}
