/*
Theme Name: Krona
Theme URI: https://krona.co.id/
Author: PT Krona Digital Jaya Inti
Author URI: https://krona.co.id/
Description: Custom theme for Krona Digital Agency. Black-and-coral identity, page templates for Home, Services, Career, Library and Contact, with Services, Jobs and Library managed as their own content types.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: krona
*/

/* ---------- Tokens ---------- */
:root {
	--k-black: #000000;
	--k-coral: #EC5051;
	--k-coral-deep: #B8302F;
	--k-white: #FFFFFF;
	--k-off: #F9F9F9;
	--k-grey: #B2B2B2;
	--k-mute: #8C8C8C;
	--k-body: #D6D6D6;
	--k-card: #111113;
	--k-alt: #0B0B0C;
	--k-line: #1F1F22;
	--k-line-2: #2A2A2E;
	--k-line-3: #3A3A3E;
	--k-light-line: #E2E2E2;
	--k-font-head: "Montserrat", system-ui, sans-serif;
	--k-font-body: "Open Sans", system-ui, sans-serif;
	--k-radius: 20px;
	--k-radius-lg: 28px;
	--k-radius-xl: 32px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--k-black);
	color: var(--k-white);
	font-family: var(--k-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--k-white); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--k-coral); }
:focus-visible { outline: 2px solid var(--k-coral); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--k-font-head); margin: 0; }
p { margin: 0; }
button { font: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto;
	padding: 12px 18px; background: var(--k-coral); color: var(--k-black); border-radius: 999px; font-weight: 700;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--tight { padding: 96px 0; }
.section--top0 { padding-top: 0; }
.section--alt { background: var(--k-alt); border-top: 1px solid var(--k-line); border-bottom: 1px solid var(--k-line); }
.section--light { background: var(--k-off); color: var(--k-black); }
.section--light a { color: var(--k-black); }
.section--light a:hover { color: var(--k-coral-deep); }

/* ---------- Type ---------- */
.eyebrow {
	font-family: var(--k-font-head); font-size: 14px; font-weight: 700;
	letter-spacing: .16em; text-transform: uppercase; color: var(--k-grey); margin: 0 0 20px;
}
.eyebrow--accent { color: var(--k-coral); }
.section--light .eyebrow--accent, .eyebrow--deep { color: var(--k-coral-deep); }
.display {
	font-weight: 800; font-size: clamp(48px, 9vw, 132px); line-height: .95; letter-spacing: -.04em;
}
.display--md { font-size: clamp(46px, 7.5vw, 112px); line-height: .96; }
.display--xl { font-size: clamp(56px, 10vw, 152px); line-height: .92; letter-spacing: -.045em; }
.accent { color: var(--k-coral); }
.h2 { font-weight: 800; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
.h3 { font-weight: 700; font-size: 22px; line-height: 1.3; }
.lead { font-size: 20px; line-height: 1.55; color: var(--k-body); max-width: 600px; }
.muted { color: var(--k-grey); }
.section--light .muted { color: #555555; }

.head-row {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
	gap: 24px; margin-bottom: 48px;
}
.head-row .h2 { max-width: 760px; }
.head-row p { max-width: 420px; font-size: 17px; line-height: 1.65; color: var(--k-grey); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--k-font-head); font-weight: 700; font-size: 16px; line-height: 1;
	cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
	text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn--coral, .btn--coral:hover { background: var(--k-coral); color: var(--k-black); }
.btn--coral:hover { background: #F0696A; }
.btn--outline { border-color: var(--k-white); color: var(--k-white); background: transparent; }
.btn--outline:hover { background: var(--k-white); color: var(--k-black); }
.btn--black, .section--light .btn--black { background: var(--k-black); color: var(--k-white); }
.btn--black:hover, .section--light .btn--black:hover { background: #222222; color: var(--k-white); }
.section--light .btn--outline { border-color: var(--k-black); color: var(--k-black); }
.section--light .btn--outline:hover { background: var(--k-black); color: var(--k-white); }
.btn svg { width: 18px; height: 18px; }
.link-arrow { font-family: var(--k-font-head); font-weight: 700; font-size: 15px; color: var(--k-coral); }
.section--light .link-arrow { color: var(--k-coral-deep); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(0, 0, 0, .92); border-bottom: 1px solid var(--k-line);
	backdrop-filter: saturate(140%) blur(8px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-logo img, .custom-logo { height: 40px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.site-nav a { font-family: var(--k-font-head); font-weight: 700; font-size: 15px; }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav a[aria-current="page"] { color: var(--k-coral); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
	display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--k-line-3);
	background: transparent; color: var(--k-white); align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-header__inner { flex-wrap: wrap; }
	.site-nav { display: none; order: 3; width: 100%; padding: 8px 0 24px; }
	.nav-open .site-nav { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav a { display: block; padding: 14px 0; font-size: 20px; border-bottom: 1px solid var(--k-line); }
	.site-header__actions .btn { display: none; }
}

/* ---------- Placeholder / media ---------- */
.ph {
	background-color: #141416;
	background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 14px);
	display: flex; align-items: center; justify-content: center; text-align: center;
	color: var(--k-grey); font: 600 13px/1.3 var(--k-font-head); padding: 12px;
}
.section--light .ph {
	background-color: #ECECEC;
	background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.05) 0 2px, transparent 2px 14px);
	color: #555555;
}
.media { position: relative; overflow: hidden; border-radius: var(--k-radius); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 64px; }
.hero__row {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
	gap: 32px; margin-top: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__lead { margin-top: 32px; }
.collage { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 64px; }
.collage .media { height: 340px; }
.collage--stagger .media:nth-child(even) { margin-top: 48px; }
.collage--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.collage--3 .media { height: 360px; }
@media (max-width: 600px) {
	.collage .media { height: 240px; }
	.collage--stagger .media:nth-child(even) { margin-top: 0; }
}

/* ---------- Client strip ---------- */
.client-strip { border-top: 1px solid var(--k-line); border-bottom: 1px solid var(--k-line); }
.client-strip .container { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; }
.client-strip__label { font-family: var(--k-font-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--k-coral); }
.client-strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; font-family: var(--k-font-head); font-weight: 700; font-size: 18px; color: var(--k-mute); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; }
.grid--services { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

/* ---------- About columns ---------- */
.about-col { display: flex; flex-direction: column; gap: 20px; }
.about-col__title { padding-bottom: 20px; border-bottom: 1px solid var(--k-line-3); font-weight: 500; font-size: 34px; line-height: 1.15; color: var(--k-coral); }
.about-col__sub { font-weight: 500; font-size: 22px; line-height: 1.35; }
.about-col p { font-size: 15px; line-height: 1.7; color: var(--k-body); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 72px; }
.stat { padding: 28px; border-radius: var(--k-radius); background: var(--k-card); border: 1px solid var(--k-line); display: flex; flex-direction: column; gap: 6px; }
.stat__value { font-family: var(--k-font-head); font-weight: 800; font-size: 56px; line-height: 1.1; letter-spacing: -.03em; color: var(--k-coral); }
.stat__label { font-size: 15px; color: var(--k-grey); }

/* ---------- Chips / filters ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
	font: 700 14px var(--k-font-head); background: transparent; color: var(--k-white);
	border: 1.5px solid var(--k-line-3); display: inline-flex; align-items: center;
}
.chip:hover { border-color: var(--k-coral); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--k-coral); color: var(--k-black); border-color: var(--k-coral); }
.section--light .chip { color: var(--k-black); border-color: var(--k-grey); }
.section--light .chip.is-active, .section--light .chip[aria-pressed="true"] { background: var(--k-black); color: var(--k-white); border-color: var(--k-black); }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 20px; margin-bottom: 32px; }
.is-filtered-out, .is-paged-out { display: none !important; }
.filter-empty { margin-top: 24px; font-size: 16px; color: var(--k-grey); }

.chip-check { position: relative; display: inline-flex; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span {
	min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center;
	font: 600 14px var(--k-font-head); border: 1.5px solid var(--k-line-3); color: var(--k-white);
}
.chip-check input:checked + span { background: var(--k-coral); border-color: var(--k-coral); color: var(--k-black); }
.chip-check input:focus-visible + span { outline: 2px solid var(--k-coral); outline-offset: 3px; }

/* ---------- Cards ---------- */
.card {
	padding: 32px; border-radius: var(--k-radius); background: var(--k-card); border: 1px solid var(--k-line);
	display: flex; flex-direction: column; gap: 14px;
}
a.card:hover { border-color: var(--k-coral); color: var(--k-white); }
.card--service { min-height: 240px; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card__num { font-family: var(--k-font-head); font-weight: 700; font-size: 14px; color: var(--k-coral); }
.card__cat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--k-mute); }
.card__title { font-family: var(--k-font-head); font-size: 23px; font-weight: 700; line-height: 1.2; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--k-grey); }
.card__more { margin-top: auto; font-family: var(--k-font-head); font-weight: 700; font-size: 14px; color: var(--k-coral); }
.card--value .card__title { font-size: 22px; color: var(--k-coral); }

.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card .media { height: 200px; border-radius: 16px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--k-grey); }
.tag { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--k-coral); color: var(--k-coral); font-family: var(--k-font-head); font-weight: 700; font-size: 13px; }
.post-card__title { font-family: var(--k-font-head); font-size: 19px; font-weight: 600; line-height: 1.4; }
.post-card:hover .post-card__title { color: var(--k-coral); }

.work-card { display: flex; flex-direction: column; gap: 16px; }
.work-card .media { height: 420px; border-radius: 24px; }
.work-card__meta { font-family: var(--k-font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--k-coral-deep); }
.work-card__title { font-family: var(--k-font-head); font-size: 24px; font-weight: 600; line-height: 1.3; }

/* ---------- Numbered list (services) ---------- */
.num-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--k-line-2); }
.num-list a { display: flex; gap: 20px; align-items: baseline; padding: 26px 8px; border-bottom: 1px solid var(--k-line-2); }
.num-list__n { font-family: var(--k-font-head); font-weight: 700; font-size: 14px; color: var(--k-coral); }
.num-list__name { font-family: var(--k-font-head); font-size: 20px; font-weight: 600; }

/* ---------- Pillars / steps ---------- */
.pillar { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 2px solid var(--k-coral); }
.pillar__title { font-family: var(--k-font-head); font-size: 22px; font-weight: 700; }
.pillar p { font-size: 15px; line-height: 1.65; color: var(--k-grey); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.step { padding: 32px; border-radius: var(--k-radius); border: 1px solid var(--k-line-2); display: flex; flex-direction: column; gap: 12px; }
.step__n { font-family: var(--k-font-head); font-weight: 800; font-size: 48px; line-height: 1; color: var(--k-coral); }
.step__title { font-family: var(--k-font-head); font-size: 20px; font-weight: 700; }
.step p { font-size: 15px; line-height: 1.6; color: var(--k-grey); }

.row-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--k-line-2); }
.row-list li { padding: 24px 8px; border-bottom: 1px solid var(--k-line-2); font-family: var(--k-font-head); font-size: 18px; font-weight: 600; }

/* ---------- Split (image + text) ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split__media { flex: 1 1 480px; min-width: 0; height: 380px; border-radius: 24px; }
.split__body { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.split__body .h2 { font-size: clamp(32px, 3.6vw, 48px); }
.split__body p { font-size: 17px; line-height: 1.65; color: #333333; }

/* ---------- Bands ---------- */
.band {
	border-radius: var(--k-radius-xl); background: var(--k-coral); color: var(--k-black);
	padding: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px;
}
.band__title { font-weight: 800; font-size: clamp(38px, 5vw, 72px); line-height: .98; letter-spacing: -.04em; max-width: 720px; }
.band__eyebrow { font-family: var(--k-font-head); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.band__text { font-size: 18px; line-height: 1.5; margin-top: 12px; }
.band .btn--black { min-height: 60px; padding: 0 32px; }
.band--sm .band__title { font-size: clamp(30px, 3.6vw, 48px); }
.band-wrap { margin-bottom: 104px; }

.promo {
	margin-top: 72px; padding: 40px; border-radius: 24px; background: var(--k-white); border: 1px solid var(--k-light-line);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.promo__title { font-family: var(--k-font-head); font-size: 26px; font-weight: 700; line-height: 1.3; margin-top: 8px; }

.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.link-card { padding: 40px; border-radius: 24px; border: 1px solid var(--k-line-2); display: flex; flex-direction: column; gap: 12px; }
.link-card:hover { border-color: var(--k-coral); color: var(--k-white); }
.link-card__title { font-family: var(--k-font-head); font-weight: 700; font-size: 30px; }
.link-card p { color: var(--k-grey); }

/* ---------- Featured (library) ---------- */
.featured { display: flex; flex-wrap: wrap; border-radius: var(--k-radius-lg); overflow: hidden; background: var(--k-card); border: 1px solid var(--k-line); }
.featured:hover { border-color: var(--k-coral); color: var(--k-white); }
.featured__media { flex: 1 1 520px; min-width: 0; min-height: 400px; border-radius: 0; }
.featured__body { flex: 1 1 380px; min-width: 0; padding: 48px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.featured__badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--k-coral); color: var(--k-black); font-family: var(--k-font-head); font-weight: 700; font-size: 13px; }
.featured__title { font-family: var(--k-font-head); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.03em; }

/* ---------- Jobs ---------- */
.jobs { border-top: 1px solid #D6D6D6; }
.job { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 28px 8px; border-bottom: 1px solid #D6D6D6; }
.job__info { display: flex; flex-direction: column; gap: 6px; flex: 1 1 320px; }
.job__title { font-family: var(--k-font-head); font-size: 22px; font-weight: 700; }
.job__meta { font-size: 14px; color: #555555; }
.job .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.input {
	width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--k-line-3);
	background: var(--k-black); color: var(--k-white); font: 400 15px var(--k-font-body);
}
textarea.input { padding: 14px 16px; line-height: 1.6; resize: vertical; min-height: 140px; }
select.input { appearance: auto; }
.input:focus { border-color: var(--k-coral); outline: none; }
.input::placeholder { color: var(--k-mute); }
.input--pill { border-radius: 999px; background: var(--k-alt); }
.section--light .input { background: var(--k-white); color: var(--k-black); border-color: var(--k-grey); }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form-note { font-size: 13px; color: var(--k-grey); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 20px; border-radius: 14px; font-family: var(--k-font-head); font-weight: 700; font-size: 17px; }
.notice--ok { background: var(--k-white); color: var(--k-black); border: 1.5px solid var(--k-black); }
.notice--error { background: #2A1112; color: #FFB4B4; border: 1.5px solid var(--k-coral); }

.contact-layout { display: flex; flex-wrap: wrap; gap: 32px; }
.contact-form-box { flex: 999 1 560px; min-width: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--k-radius-lg); background: var(--k-card); border: 1px solid var(--k-line); }
.contact-aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.info-card { padding: 28px; border-radius: var(--k-radius); border: 1px solid var(--k-line-2); display: flex; flex-direction: column; gap: 6px; }
a.info-card:hover { border-color: var(--k-coral); color: var(--k-white); }
.info-card__label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--k-grey); }
.info-card__value { font-family: var(--k-font-head); font-size: 22px; font-weight: 700; overflow-wrap: anywhere; }
.info-card__value--accent { color: var(--k-coral); }

.office { border-radius: 24px; background: var(--k-white); border: 1px solid var(--k-light-line); overflow: hidden; display: flex; flex-direction: column; }
.office iframe, .office .ph { width: 100%; height: 260px; border: 0; display: block; }
.office__body { padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.office__name { font-family: var(--k-font-head); font-size: 22px; font-weight: 700; }

.newsletter { border-radius: var(--k-radius-xl); border: 1px solid var(--k-line-2); padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.newsletter__title { font-family: var(--k-font-head); font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -.03em; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 1 460px; }
.newsletter .input { flex: 1 1 240px; border-radius: 999px; }

.ebook { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.ebook__cover { flex: 0 1 360px; min-width: 0; height: 460px; border-radius: var(--k-radius); }
.ebook__body { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ebook .form-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ebook .btn { align-self: end; min-height: 52px; }

/* ---------- Social ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--k-line-3); display: flex; align-items: center; justify-content: center; }
.socials a:hover { border-color: var(--k-coral); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--k-line); }
.site-footer__top { padding: 72px 0 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; max-width: 380px; }
.site-footer__brand img { height: 44px; width: auto; align-self: flex-start; }
.site-footer__address { font-size: 14px; line-height: 1.7; color: var(--k-grey); font-style: normal; }
.site-footer__address strong { color: var(--k-white); font-weight: 600; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col h2 { font-size: 15px; font-weight: 700; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer__col a { color: var(--k-grey); }
.site-footer__col a:hover { color: var(--k-coral); }
.site-footer__bottom { padding: 24px 0 32px; border-top: 1px solid var(--k-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--k-mute); }

/* ---------- Single / generic content ---------- */
.entry-hero { padding: 96px 0 48px; }
.entry-hero .display { font-size: clamp(40px, 6vw, 84px); line-height: 1; }
.entry-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--k-grey); font-size: 15px; }
.entry-media { height: auto; max-height: 640px; margin-bottom: 64px; border-radius: var(--k-radius-lg); }
.entry-content { max-width: 760px; font-size: 18px; line-height: 1.75; color: var(--k-body); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 32px; line-height: 1.2; color: var(--k-white); margin-top: 1.8em; }
.entry-content h3 { font-size: 24px; line-height: 1.3; color: var(--k-white); margin-top: 1.6em; }
.entry-content a { color: var(--k-coral); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content blockquote { margin-left: 0; padding-left: 24px; border-left: 3px solid var(--k-coral); color: var(--k-white); font-size: 22px; }
.entry-content img { border-radius: 16px; }
.page-content-extra { padding-bottom: 80px; }
.pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--k-line-3); display: inline-flex; align-items: center; justify-content: center; font-family: var(--k-font-head); font-weight: 700; }
.pagination .current { background: var(--k-coral); color: var(--k-black); border-color: var(--k-coral); }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: 14px; color: var(--k-grey); margin-top: 8px; }

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