/*
Theme Name: Happy Girl's Kitchen
Theme URI: https://happygirlkitchen.hu/
Author: 2K Webdesign
Author URI: https://2kwebdesign.hu/
Description: Elegáns, letisztult receptes és lifestyle blog téma a Happy Girl's Kitchen számára. Beépített receptmezőkkel (hozzávalók, elkészítés, idők, adag), nyomtatható receptkártyával, adagszámolóval, Recipe schema adatokkal és a régi Webnode címek átirányításával.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 7.1
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: hgk
Tags: blog, food-and-drink, custom-menu, featured-images, translation-ready
*/

:root {
	--hk-olive: #6F7046;
	--hk-ink: #2E2A26;
	--hk-body: #4A433D;
	--hk-muted: #6B645D;
	--hk-beige: #EEE8E0;
	--hk-sand: #F4F2EE;
	--hk-blush: #E8D6CB;
	--hk-sage: #ECEBDF;
	--hk-line: #EEE8E0;
	--hk-line-strong: #DDD6CD;
	--hk-pill: #F1E4DB;
	--hk-serif: "Gilda Display", Georgia, "Times New Roman", serif;
	--hk-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hk-wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: #fff;
	color: var(--hk-ink);
	font-family: var(--hk-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hk-ink); text-decoration: none; transition: color .2s; }
a:hover, a:focus-visible { color: var(--hk-olive); }
:focus-visible { outline: 2px solid var(--hk-olive); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: 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;
}
.screen-reader-text:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto;
	background: #fff; padding: 12px 16px; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.hk-wrap { max-width: var(--hk-wrap); margin: 0 auto; padding: 0 32px; }
.hk-serif, h1, h2, h3, h4 { font-family: var(--hk-serif); font-weight: 400; color: var(--hk-ink); }
.hk-lbl {
	font: 500 11px/1.4 var(--hk-sans);
	letter-spacing: .16em; text-transform: uppercase; color: var(--hk-muted);
}
.hk-lbl a { color: inherit; }
.hk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 24px;
	font: 500 11px/1 var(--hk-sans); letter-spacing: .16em; text-transform: uppercase;
	border: 1px solid transparent; background: transparent; color: var(--hk-ink);
	cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.hk-btn--blush { background: var(--hk-blush); }
.hk-btn--blush:hover { background: #dec6b8; color: var(--hk-ink); }
.hk-btn--white { background: #fff; }
.hk-btn--olive { background: var(--hk-olive); color: #fff; }
.hk-btn--olive:hover { background: #5c5d39; color: #fff; }
.hk-btn--line { border-color: var(--hk-ink); }
.hk-btn--line:hover { background: var(--hk-ink); color: #fff; }
.hk-btn--soft { border-color: var(--hk-line-strong); }
.hk-btn--soft:hover { border-color: var(--hk-ink); }

.hk-img { width: 100%; object-fit: cover; background: var(--hk-beige); }
.hk-clip { overflow: hidden; }
.hk-card { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.hk-card .hk-clip { width: 100%; }
.hk-card img { transition: transform .5s ease; }
.hk-card:hover img { transform: scale(1.03); }
.hk-card__title { margin: -4px 0 0; font-size: 21px; line-height: 1.25; transition: color .2s; }
.hk-card:hover .hk-card__title { color: var(--hk-olive); }
.hk-card__img { aspect-ratio: 2 / 3; height: auto; }
.hk-card__ph { aspect-ratio: 2 / 3; width: 100%; background: var(--hk-beige); display: flex; align-items: center; justify-content: center; font-family: var(--hk-serif); font-size: 26px; color: #b9ae9f; }

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

.hk-section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 44px; text-align: center; }
.hk-section-head h2 { margin: 0; font-size: 38px; line-height: 1.15; }

/* ---------- Top bar & header ---------- */
.hk-topbar { background: var(--hk-olive); color: #fff; font-size: 13px; }
.hk-topbar .hk-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; min-height: 38px; }
.hk-topbar a { color: #fff; }
.hk-topbar a:hover { color: #fff; text-decoration: underline; }
.hk-topbar__links { display: flex; gap: 22px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 0; padding: 0; list-style: none; }

.hk-header { border-bottom: 1px solid var(--hk-line); background: #fff; position: relative; z-index: 50; }
.hk-header .hk-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.hk-logo { display: inline-flex; align-items: center; gap: 14px; line-height: 1; color: var(--hk-ink); text-decoration: none; white-space: nowrap; }
.hk-logo:hover, .hk-logo:focus-visible { color: var(--hk-ink); }
.hk-logo img, .custom-logo { max-height: 60px; width: auto; }
.hk-logo__text { display: flex; flex-direction: column; }
.hk-logo__name { font-family: var(--hk-serif); font-weight: 400; }
.hk-logo__sub { font: 500 10.5px/1 var(--hk-sans); letter-spacing: .52em; text-transform: uppercase; color: var(--hk-olive); }
.hk-logo:hover .hk-logo__mark { transform: rotate(-8deg); }
.hk-logo__mark { transition: transform .35s ease; }
/* A – heart-whisk emblem + stacked wordmark */
.hk-logo--a .hk-logo__mark { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; background: var(--hk-olive); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hk-logo--a .hk-logo__text { gap: 7px; }
.hk-logo--a .hk-logo__name { font-size: 28px; letter-spacing: -.01em; }
.hk-logo--a .hk-logo__sub { padding-left: 2px; }
/* B – signature: lowercase italic with ruled caps */
.hk-logo--b .hk-logo__text { align-items: center; gap: 6px; }
.hk-logo--b .hk-logo__name { font-size: 34px; font-style: italic; letter-spacing: -.01em; }
.hk-logo--b .hk-logo__sub { display: flex; align-items: center; gap: 10px; letter-spacing: .6em; margin-right: -.6em; }
.hk-logo--b .hk-logo__sub::before, .hk-logo--b .hk-logo__sub::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.hk-logo--b .hk-logo__sub::after { margin-left: -.6em; }
/* C – monogram ring + one-line wordmark */
.hk-logo--c .hk-logo__mark { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; border: 1.5px solid var(--hk-olive); color: var(--hk-olive); display: inline-flex; align-items: center; justify-content: center; font-family: var(--hk-serif); font-style: italic; font-size: 25px; padding-bottom: 3px; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--hk-blush); }
.hk-logo--c .hk-logo__name { font-size: 29px; letter-spacing: -.01em; }
.hk-logo--c em { font-style: italic; color: var(--hk-olive); }
.hk-logo--footer { flex-direction: column; gap: 12px; text-align: center; }
.hk-logo--footer .hk-logo__text { align-items: center; }
.hk-logo--footer.hk-logo--a .hk-logo__sub { padding-left: .52em; }

.hk-nav ul { list-style: none; margin: 0; padding: 0; }
.hk-nav > ul { display: flex; flex-wrap: wrap; gap: 30px; }
.hk-nav a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 4px; padding: 10px 0; }
.hk-nav .current-menu-item > a, .hk-nav .current-menu-ancestor > a, .hk-nav .current-category-ancestor > a { color: var(--hk-olive); }
.hk-nav li { position: relative; }
.hk-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px); margin-left: 4px;
}
.hk-nav .sub-menu {
	position: absolute; top: 100%; left: -18px; min-width: 220px; background: #fff;
	border: 1px solid var(--hk-line); box-shadow: 0 12px 30px rgba(46,42,38,.08);
	padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.hk-nav .sub-menu a { display: block; padding: 8px 18px; font-size: 12px; }
.hk-nav li:hover > .sub-menu, .hk-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.hk-header__tools { display: flex; align-items: center; gap: 10px; }
.hk-iconbtn {
	width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--hk-pill); color: var(--hk-ink);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.hk-iconbtn:hover { background: var(--hk-blush); }
.hk-menu-toggle { display: none; background: transparent; }

.hk-search-panel { border-bottom: 1px solid var(--hk-line); background: var(--hk-sand); display: none; }
.hk-search-panel.is-open { display: block; }
.hk-search-panel .hk-wrap { padding-top: 20px; padding-bottom: 20px; }
.hk-searchform { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.hk-searchform input[type="search"] {
	flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 1px solid var(--hk-line-strong); background: #fff; border-radius: 0;
}

/* ---------- Front page ---------- */
.hk-hero { background: linear-gradient(var(--hk-beige) 0, var(--hk-beige) 300px, #fff 300px); }
.hk-hero .hk-wrap { padding-top: 48px; padding-bottom: 72px; }
.hk-hero .hk-grid { gap: 24px; }
.hk-hero .hk-card__title { font-size: 22px; }

.hk-feature { padding-bottom: 88px; }
.hk-feature__box { display: flex; flex-wrap: wrap; background: var(--hk-blush); }
.hk-feature__text {
	flex: 1 1 380px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; gap: 18px; padding: 56px 48px;
}
.hk-feature__text h2 { margin: 0; font-size: 40px; line-height: 1.15; max-width: 440px; }
.hk-feature__text p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--hk-body); max-width: 400px; }
.hk-feature__rule { width: 56px; height: 1px; background: var(--hk-ink); opacity: .4; }
.hk-feature__img { flex: 1 1 420px; min-height: 460px; }
.hk-feature__img img { height: 100%; min-height: 460px; }
.hk-feature__box:hover img { transform: scale(1.02); }
.hk-feature__box img { transition: transform .6s ease; }

.hk-browse { background: var(--hk-sand); }
.hk-browse .hk-wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.hk-browse h2 { margin: 0; font-size: 36px; text-align: center; line-height: 1.2; }
.hk-browse__form { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; width: 100%; }
.hk-browse__form > span { font-size: 15px; color: var(--hk-body); margin-right: 6px; }
.hk-select { position: relative; flex: 1 1 180px; max-width: 220px; display: flex; }
.hk-select select {
	width: 100%; appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 40px 0 16px;
	border: 1px solid var(--hk-line-strong); background: #fff; border-radius: 0; cursor: pointer;
	font: 500 11px var(--hk-sans); letter-spacing: .16em; text-transform: uppercase;
}
.hk-select svg { position: absolute; right: 14px; top: 50%; margin-top: -6px; pointer-events: none; }
.hk-circles { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 1040px; }
.hk-circles__track {
	flex: 1; min-width: 0; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; padding: 4px 2px; justify-content: safe center;
}
.hk-circles__track::-webkit-scrollbar { display: none; }
.hk-circle { flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 108px; text-align: center; }
.hk-circle .hk-clip { width: 104px; height: 104px; border-radius: 999px; }
.hk-circle img { width: 104px; height: 104px; object-fit: cover; transition: transform .4s; }
.hk-circle:hover img { transform: scale(1.06); }
.hk-circle .hk-lbl { color: var(--hk-ink); }
.hk-arrow { flex: 0 0 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--hk-ink); }

.hk-latest { padding-top: 88px; padding-bottom: 88px; }
.hk-center { display: flex; justify-content: center; margin-top: 56px; }

.hk-kids { background: var(--hk-sage); }
.hk-kids .hk-wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hk-kids__text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 18px; }
.hk-kids__text h2 { margin: 0; font-size: 40px; line-height: 1.15; }
.hk-kids__text p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--hk-body); }
.hk-kids__grid { flex: 999 1 600px; min-width: 0; }
.hk-kids .hk-card__img { aspect-ratio: 3 / 4.6; }

.hk-about { padding-top: 96px; padding-bottom: 96px; }
.hk-about__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; max-width: 680px; margin: 0 auto; }
.hk-about__img { width: 220px; height: 220px; border-radius: 999px; }
.hk-about__img img { width: 220px; height: 220px; object-fit: cover; }
.hk-about h2 { margin: 0; font-size: 42px; }
.hk-about p { margin: 0; font-size: 17px; line-height: 1.8; color: var(--hk-body); }
.hk-about__sign { font-family: var(--hk-serif); font-style: italic; font-size: 26px; color: var(--hk-olive); }

.hk-news { background: var(--hk-olive); color: #fff; }
.hk-news .hk-wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hk-news h2 { margin: 0; font-size: 36px; color: #fff; }
.hk-news p { margin: 0; color: #EDEDE2; }
.hk-news form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 560px; margin-top: 8px; }
.hk-news input[type="email"] { flex: 1 1 260px; min-height: 48px; border: 0; padding: 0 18px; color: var(--hk-ink); border-radius: 0; }
.hk-news .hk-btn { min-height: 48px; }

/* ---------- Footer ---------- */
.hk-footer { background: var(--hk-sand); }
.hk-footer .hk-wrap { padding-top: 56px; padding-bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hk-footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; margin: 0; padding: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hk-social { display: flex; gap: 22px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.hk-copy { font-size: 13px; color: var(--hk-muted); }
.hk-copy a { color: var(--hk-muted); text-decoration: underline; }

/* ---------- Single ---------- */
.hk-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 36px; }
.hk-crumbs a { color: var(--hk-muted); }
.hk-crumbs span[aria-current] { color: var(--hk-ink); }
.hk-single__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 780px; margin: 0 auto; padding-top: 32px; }
.hk-single__head h1 { margin: 0; font-size: 56px; line-height: 1.08; }
.hk-single__lead { margin: 0; font-size: 18px; line-height: 1.7; color: var(--hk-body); }
.hk-byline { font-size: 14px; color: var(--hk-muted); }
.hk-byline strong { color: var(--hk-ink); font-weight: 400; }
.hk-meta { display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--hk-line); border-bottom: 1px solid var(--hk-line); margin-top: 6px; }
.hk-meta > div { padding: 16px 28px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.hk-meta > div + div { border-left: 1px solid var(--hk-line); }
.hk-meta strong { font-family: var(--hk-serif); font-weight: 400; font-size: 20px; }
.hk-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hk-single__hero { max-width: 980px; margin: 44px auto 0; }
.hk-single__hero img { width: 100%; max-height: 680px; object-fit: cover; }

.hk-entry { max-width: 720px; margin: 48px auto 0; font-size: 18px; line-height: 1.85; color: var(--hk-body); }
.hk-entry > * { margin-top: 0; margin-bottom: 1.2em; }
.hk-entry h2 { font-size: 32px; line-height: 1.2; margin: 1.6em 0 .6em; color: var(--hk-ink); }
.hk-entry h3 { font-size: 25px; line-height: 1.25; margin: 1.4em 0 .5em; color: var(--hk-ink); }
.hk-entry a { color: var(--hk-olive); text-decoration: underline; text-underline-offset: 3px; }
.hk-entry ul, .hk-entry ol { padding-left: 1.3em; }
.hk-entry li { margin-bottom: .35em; }
.hk-entry blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--hk-olive); font-family: var(--hk-serif); font-size: 22px; color: var(--hk-ink); }
.hk-entry figure { margin: 2em 0; }
.hk-entry .wp-block-image img { margin: 0 auto; }
.hk-entry .wp-block-image figcaption { font-size: 14px; color: var(--hk-muted); text-align: center; margin-top: 8px; }
.hk-entry .alignwide { max-width: 980px; margin-left: calc(50% - min(490px, 50vw - 32px)); margin-right: calc(50% - min(490px, 50vw - 32px)); }
.hk-entry .wp-block-gallery { gap: 12px; }
.hk-entry .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 22px; background: var(--hk-sand); }
.hk-entry .wp-block-file__button { background: var(--hk-olive); color: #fff; text-decoration: none; padding: 10px 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hk-entry .hk-oldrecipe-label { font-family: var(--hk-serif); font-size: 26px; color: var(--hk-ink); }

/* Recipe card */
.hk-recipe { max-width: 980px; margin: 56px auto 0; border: 1px solid #E2D8CE; scroll-margin-top: 24px; }
.hk-recipe__head { background: var(--hk-sand); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 32px; }
.hk-recipe__thumb { flex: 0 0 140px; width: 140px; height: 140px; border-radius: 999px; }
.hk-recipe__thumb img { width: 140px; height: 140px; object-fit: cover; }
.hk-recipe__title { flex: 1 1 340px; display: flex; flex-direction: column; gap: 10px; }
.hk-recipe__title h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.hk-recipe__title span:last-child { font-size: 14px; color: var(--hk-muted); }
.hk-recipe__btns { display: flex; flex-direction: column; gap: 8px; }
.hk-recipe__body { display: flex; flex-wrap: wrap; gap: 48px; padding: 40px 32px; }
.hk-recipe__ing { flex: 1 1 300px; min-width: 0; }
.hk-recipe__steps { flex: 999 1 420px; min-width: 0; }
.hk-recipe h3 { margin: 0 0 8px; font-size: 26px; }
.hk-recipe__ing-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.hk-servings { display: flex; align-items: center; border: 1px solid var(--hk-line-strong); }
.hk-servings button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.hk-servings button:hover { background: var(--hk-sand); }
.hk-servings output { min-width: 64px; text-align: center; color: var(--hk-ink); }
.hk-ing-group { display: block; margin-top: 20px; color: var(--hk-olive); }
.hk-ing-list { list-style: none; margin: 0; padding: 0; }
.hk-ing-list li { border-bottom: 1px solid var(--hk-line); }
.hk-ing-list label { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; font-size: 16px; line-height: 1.5; cursor: pointer; }
.hk-ing-list input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--hk-olive); flex: 0 0 18px; }
.hk-ing-list input:checked + span { text-decoration: line-through; color: #a39b92; }
.hk-ing-list .hk-qty { font-weight: 500; }
.hk-step-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.hk-step-list li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--hk-line); font-size: 17px; line-height: 1.75; color: var(--hk-body); counter-increment: step; }
.hk-step-list li::before { content: counter(step); flex: 0 0 34px; font-family: var(--hk-serif); font-size: 28px; line-height: 1; color: var(--hk-olive); }
.hk-step-list.is-single li::before { display: none; }
.hk-step-list li.hk-step-sub { font-family: var(--hk-serif); font-size: 21px; color: var(--hk-ink); counter-increment: none; padding-bottom: 6px; border-bottom: 0; }
.hk-step-list li.hk-step-sub::before { content: ""; }
.hk-tip { margin: 0 32px 32px; background: var(--hk-blush); padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.hk-tip p { margin: 0; font-size: 16px; line-height: 1.7; color: #3A342F; }

.hk-tags { max-width: 720px; margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hk-tags a { font-size: 13px; padding: 7px 14px; background: var(--hk-sand); }
.hk-tags a:hover { background: var(--hk-blush); color: var(--hk-ink); }

.hk-related { background: var(--hk-sand); margin-top: 88px; }
.hk-related .hk-wrap { padding-top: 80px; padding-bottom: 88px; }
.hk-postnav { max-width: 980px; margin: 56px auto 0; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--hk-line); padding-top: 24px; }
.hk-postnav a { display: flex; flex-direction: column; gap: 6px; max-width: 45%; }
.hk-postnav a:last-child { text-align: right; margin-left: auto; }
.hk-postnav strong { font-family: var(--hk-serif); font-weight: 400; font-size: 19px; line-height: 1.3; }

/* ---------- Archive / search ---------- */
.hk-archive-head { background: var(--hk-beige); }
.hk-archive-head .hk-wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.hk-archive-head h1 { margin: 0; font-size: 50px; line-height: 1.1; }
.hk-archive-head p { margin: 0; max-width: 620px; color: var(--hk-body); }
.hk-archive-subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; list-style: none; padding: 0; }
.hk-archive-subnav a { display: inline-block; padding: 8px 16px; background: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hk-archive-subnav a[aria-current] { background: var(--hk-olive); color: #fff; }
.hk-archive-body { padding-top: 72px; padding-bottom: 88px; }
.hk-pagination { margin-top: 64px; display: flex; justify-content: center; }
.hk-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.hk-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hk-line-strong); font-size: 14px; }
.hk-pagination .page-numbers.current { background: var(--hk-ink); border-color: var(--hk-ink); color: #fff; }
.hk-empty { text-align: center; color: var(--hk-body); max-width: 560px; margin: 0 auto; }

/* ---------- Pages ---------- */
.hk-page { padding-bottom: 96px; }
.hk-page .hk-single__head { padding-top: 56px; }
.hk-contact { max-width: 640px; margin: 40px auto 0; display: grid; gap: 16px; }
.hk-contact label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.hk-contact input, .hk-contact textarea { border: 1px solid var(--hk-line-strong); padding: 12px 14px; border-radius: 0; background: #fff; }
.hk-contact textarea { min-height: 180px; resize: vertical; }
.hk-contact .hk-hp { position: absolute; left: -9999px; }
.hk-notice { padding: 16px 20px; background: var(--hk-sage); color: var(--hk-ink); max-width: 640px; margin: 24px auto 0; }
.hk-notice--err { background: #f6dfd8; }

.hk-index-filter { max-width: 520px; margin: 32px auto 0; }
.hk-index-filter input { width: 100%; min-height: 50px; padding: 0 18px; border: 1px solid var(--hk-line-strong); border-radius: 0; }
.hk-index { columns: 3 260px; column-gap: 48px; margin-top: 56px; }
.hk-index section { break-inside: avoid; margin-bottom: 40px; }
.hk-index h2 { font-size: 26px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--hk-line); }
.hk-index h2 a { color: inherit; }
.hk-index ul { list-style: none; margin: 0; padding: 0; }
.hk-index li { padding: 5px 0; font-size: 16px; line-height: 1.45; }
.hk-index li[hidden], .hk-index section[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.hk-menu-toggle { display: inline-flex; }
	.hk-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--hk-line); display: none; padding: 8px 24px 20px; }
	.hk-nav.is-open { display: block; }
	.hk-nav > ul { flex-direction: column; gap: 0; }
	.hk-nav a { padding: 12px 0; }
	.hk-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 16px; min-width: 0; }
	.hk-nav .menu-item-has-children > a::after { display: none; }
	.hk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
	.hk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hk-single__head h1 { font-size: 42px; }
	.hk-archive-head h1 { font-size: 40px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.hk-wrap { padding: 0 16px; }
	.hk-topbar__links { display: none; }
	.hk-header .hk-wrap { min-height: 68px; }
	.hk-logo { gap: 10px; }
	.hk-logo--a .hk-logo__mark, .hk-logo--c .hk-logo__mark { width: 42px; height: 42px; flex-basis: 42px; }
	.hk-logo--a .hk-logo__mark svg { width: 24px; height: 24px; }
	.hk-logo--a .hk-logo__name, .hk-logo--c .hk-logo__name { font-size: 22px; }
	.hk-logo--b .hk-logo__name { font-size: 26px; }
	.hk-logo--c .hk-logo__mark { font-size: 20px; }
	.hk-logo__sub { font-size: 9px; }
	.hk-hero { background: linear-gradient(var(--hk-beige) 0, var(--hk-beige) 220px, #fff 220px); }
	.hk-hero .hk-wrap { padding-top: 28px; padding-bottom: 48px; }
	.hk-card__title, .hk-hero .hk-card__title { font-size: 18px; }
	.hk-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hk-feature__text { padding: 40px 24px; }
	.hk-feature__text h2 { font-size: 30px; }
	.hk-feature__img, .hk-feature__img img { min-height: 300px; }
	.hk-browse h2, .hk-section-head h2, .hk-kids__text h2 { font-size: 30px; }
	.hk-select { max-width: none; flex-basis: 100%; }
	.hk-single__head h1 { font-size: 34px; }
	.hk-meta > div { padding: 12px 16px; }
	.hk-recipe__head, .hk-recipe__body { padding: 24px 18px; }
	.hk-tip { margin: 0 18px 18px; }
	.hk-entry { font-size: 17px; }
	.hk-about h2, .hk-news h2 { font-size: 30px; }
}

/* ---------- Print: only the recipe card ---------- */
@media print {
	.hk-topbar, .hk-header, .hk-footer, .hk-related, .hk-actions, .hk-recipe__btns, .hk-servings, .hk-news, .hk-postnav, .hk-tags, .hk-crumbs, .hk-search-panel { display: none !important; }
	body.hk-print-recipe .hk-single > *:not(.hk-recipe) { display: none !important; }
	.hk-recipe { border: 0; margin: 0; max-width: none; }
	.hk-ing-list input { display: none; }
	a { color: #000; }
}
