/*
Theme Name: Harekat
Theme URI: https://harekatfest.ir
Author: دبیرخانه جشنواره بین‌المللی حرکت
Description: قالب اختصاصی، سبک و راست‌به‌چپ جشنواره بین‌المللی حرکت (ویژه انجمن‌های علمی دانشجویی). بدون صفحه‌ساز و بدون وابستگی به افزونه‌های تجاری.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: harekat
License: GPL-2.0-or-later
*/

/* ---------- font ---------- */
@font-face {
	font-family: "Vazirmatn";
	src: url("assets/fonts/Vazirmatn-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- tokens ---------- */
:root {
	--hk-orange: #f27b1e;
	--hk-orange-deep: #c9560a;
	--hk-gold: #f6c56b;
	--hk-ink: #14213d;
	--hk-ink-2: #1e2f57;
	--hk-ink-3: #2c4175;
	--hk-sand: #fbf6ee;
	--hk-sand-2: #f4ecdf;
	--hk-paper: #ffffff;
	--hk-line: #e7dfd1;
	--hk-text: #1c2434;
	--hk-muted: #5d6677;
	--hk-radius: 14px;
	--hk-radius-sm: 9px;
	--hk-shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .07);
	--hk-shadow-lg: 0 2px 4px rgba(20, 33, 61, .06), 0 18px 44px rgba(20, 33, 61, .13);
	--hk-wrap: 1180px;
	--hk-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2' d='M40 8l9.4 22.6L72 40l-22.6 9.4L40 72l-9.4-22.6L8 40l22.6-9.4z M17.4 17.4h45.2v45.2H17.4z'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
	font-size: 16.5px;
	line-height: 1.95;
	color: var(--hk-text);
	background: var(--hk-sand);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--hk-orange-deep); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--hk-ink-3); }
h1, h2, h3, h4 { color: var(--hk-ink); line-height: 1.55; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.35rem); }
h2 { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.15em; }
:focus-visible { outline: 3px solid var(--hk-orange); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.hk-skip:focus {
	clip: auto; clip-path: none; height: auto; width: auto; position: fixed; inset-block-start: 10px; inset-inline-start: 10px;
	z-index: 1000; background: var(--hk-ink); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.hk-wrap { width: 100%; max-width: var(--hk-wrap); margin-inline: auto; padding-inline: 22px; }
.hk-narrow { max-width: 860px; }
.hk-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- header ---------- */
.hk-header {
	position: sticky; inset-block-start: 0; z-index: 60;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(1.4) blur(10px);
	border-block-end: 1px solid var(--hk-line);
}
.hk-header__in { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.hk-brand { display: flex; align-items: center; gap: 12px; color: var(--hk-ink); flex-shrink: 0; }
.hk-brand img { width: 52px; height: 52px; object-fit: contain; }
.hk-brand__t { display: flex; flex-direction: column; line-height: 1.35; }
.hk-brand__name { font-weight: 900; font-size: 1.12rem; letter-spacing: -.2px; }
.hk-brand__sub { font-size: .76rem; color: var(--hk-muted); font-weight: 500; }
.hk-nav { margin-inline-start: auto; }
.hk-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.hk-nav li { position: relative; }
.hk-nav a {
	display: block; padding: 9px 13px; border-radius: 9px; color: var(--hk-ink);
	font-weight: 600; font-size: .93rem; white-space: nowrap;
}
.hk-nav a:hover, .hk-nav .current-menu-item > a, .hk-nav .current-menu-parent > a {
	background: var(--hk-sand-2); color: var(--hk-orange-deep);
}
.hk-nav .sub-menu {
	display: none; position: absolute; inset-block-start: 100%; inset-inline-start: 0; min-width: 210px;
	background: #fff; border: 1px solid var(--hk-line); border-radius: 12px; box-shadow: var(--hk-shadow-lg);
	padding: 8px; flex-direction: column; align-items: stretch; gap: 0;
}
.hk-nav li:hover > .sub-menu, .hk-nav li:focus-within > .sub-menu { display: flex; }
.hk-search-btn, .hk-burger {
	border: 1px solid var(--hk-line); background: #fff; width: 42px; height: 42px; border-radius: 11px;
	display: grid; place-items: center; cursor: pointer; color: var(--hk-ink); flex-shrink: 0;
}
.hk-search-btn:hover, .hk-burger:hover { border-color: var(--hk-orange); color: var(--hk-orange-deep); }
.hk-burger { display: none; }
.hk-searchbar { display: none; border-block-start: 1px solid var(--hk-line); background: #fff; padding-block: 14px; }
.hk-searchbar.is-open { display: block; }

/* ---------- forms ---------- */
.hk-search { display: flex; gap: 8px; }
.hk-search input[type="search"] {
	flex: 1; min-width: 0; font: inherit; padding: 11px 16px; border: 1.5px solid var(--hk-line);
	border-radius: 11px; background: #fff; color: var(--hk-text);
}
.hk-search input[type="search"]:focus { border-color: var(--hk-orange); outline: none; box-shadow: 0 0 0 4px rgba(242, 123, 30, .15); }
.hk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700;
	padding: 11px 24px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer;
	background: var(--hk-orange); color: #fff; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hk-btn:hover { background: var(--hk-orange-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(242, 123, 30, .3); }
.hk-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.hk-btn--ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }
.hk-btn--line { background: #fff; border-color: var(--hk-line); color: var(--hk-ink); }
.hk-btn--line:hover { background: var(--hk-sand-2); color: var(--hk-orange-deep); box-shadow: none; }

/* ---------- hero ---------- */
.hk-hero {
	position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(1100px 520px at 12% -10%, rgba(242, 123, 30, .38), transparent 62%),
		radial-gradient(900px 500px at 96% 110%, rgba(44, 65, 117, .9), transparent 60%),
		linear-gradient(135deg, #101b34 0%, var(--hk-ink) 45%, #1b2c54 100%);
}
.hk-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hk-star); background-size: 84px 84px; opacity: .9; }
.hk-hero__in { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hk-hero__kicker {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; font-size: .85rem; font-weight: 600;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: var(--hk-gold); margin-block-end: 18px;
}
.hk-hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); font-weight: 900; line-height: 1.35; margin-block-end: 14px; letter-spacing: -.5px; }
.hk-hero h1 span { color: var(--hk-orange); }
.hk-hero__lead { font-size: 1.08rem; color: rgba(255, 255, 255, .82); max-width: 58ch; margin-block-end: 28px; }
.hk-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hk-hero__art { display: grid; place-items: center; position: relative; }
.hk-hero__art::before {
	content: ""; position: absolute; width: min(360px, 90%); aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(246, 197, 107, .32), rgba(242, 123, 30, .08) 60%, transparent 72%);
}
.hk-hero__art img { position: relative; width: min(330px, 80%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.hk-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-block-start: 1px solid rgba(255, 255, 255, .12); }
.hk-stat { background: rgba(16, 27, 52, .55); padding: 22px 18px; text-align: center; }
.hk-stat b { display: block; font-size: 1.85rem; font-weight: 900; color: var(--hk-gold); line-height: 1.3; }
.hk-stat span { font-size: .88rem; color: rgba(255, 255, 255, .75); }

/* ---------- sections ---------- */
.hk-section { padding-block: clamp(42px, 5.5vw, 76px); }
.hk-section--paper { background: var(--hk-paper); border-block: 1px solid var(--hk-line); }
.hk-section--ink { background: var(--hk-ink); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; }
.hk-section--ink::before { content: ""; position: absolute; inset: 0; background-image: var(--hk-star); background-size: 84px 84px; }
.hk-section--ink > * { position: relative; }
.hk-section--ink h2 { color: #fff; }
.hk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-block-end: 28px; flex-wrap: wrap; }
.hk-head h2 { margin: 0; position: relative; padding-inline-start: 22px; }
.hk-head h2::before {
	content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .5em; width: 12px; height: 12px;
	background: var(--hk-orange); transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 0 4px rgba(242, 123, 30, .18);
}
.hk-head p { margin: 6px 0 0; color: var(--hk-muted); font-size: .96rem; }
.hk-section--ink .hk-head p { color: rgba(255, 255, 255, .7); }
.hk-more { font-weight: 700; font-size: .93rem; white-space: nowrap; }
.hk-more::after { content: " ←"; }

/* ---------- cards ---------- */
.hk-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hk-card {
	background: var(--hk-paper); border: 1px solid var(--hk-line); border-radius: var(--hk-radius); overflow: hidden;
	display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hk-card:hover { transform: translateY(-4px); box-shadow: var(--hk-shadow-lg); border-color: #dccfb9; }
.hk-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hk-sand-2); position: relative; }
.hk-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hk-card:hover .hk-card__media img { transform: scale(1.04); }
.hk-ph {
	width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .9); text-align: center;
	background: var(--hk-star), linear-gradient(135deg, var(--hk-ink) 0%, var(--hk-ink-3) 100%); background-size: 64px 64px, cover;
}
.hk-ph b { display: block; font-size: 2.6rem; font-weight: 900; color: var(--hk-gold); line-height: 1.1; }
.hk-ph span { font-size: .82rem; opacity: .8; }
.hk-ph img { width: 74px !important; height: 74px !important; object-fit: contain !important; opacity: .92; transform: none !important; }
.hk-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .82rem; color: var(--hk-muted); }
.hk-badge {
	display: inline-block; padding: 2px 11px; border-radius: 99px; font-size: .78rem; font-weight: 700;
	background: #fff1e3; color: var(--hk-orange-deep); border: 1px solid #fbdcbd;
}
.hk-badge:hover { background: var(--hk-orange); color: #fff; border-color: var(--hk-orange); }
.hk-badge--ink { background: #eaeef8; color: var(--hk-ink-3); border-color: #d5dcee; }
.hk-card__title { font-size: 1.04rem; font-weight: 800; margin: 0; line-height: 1.75; }
.hk-card__title a { color: var(--hk-ink); }
.hk-card__title a:hover { color: var(--hk-orange-deep); }
.hk-card__ex { margin: 0; font-size: .92rem; color: var(--hk-muted); line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hk-list li { background: var(--hk-paper); border: 1px solid var(--hk-line); border-radius: var(--hk-radius-sm); padding: 12px 18px; display: flex; gap: 14px; align-items: baseline; justify-content: space-between; }
.hk-list li a { color: var(--hk-ink); font-weight: 700; }
.hk-list li a:hover { color: var(--hk-orange-deep); }
.hk-list time { color: var(--hk-muted); font-size: .82rem; white-space: nowrap; }

/* feature split */
.hk-lead { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.hk-lead .hk-card--big .hk-card__media { aspect-ratio: 16 / 9; }
.hk-lead .hk-card--big .hk-card__title { font-size: 1.35rem; }
.hk-lead__side { display: grid; gap: 14px; align-content: start; }
.hk-row { display: grid; grid-template-columns: 132px 1fr; gap: 14px; background: var(--hk-paper); border: 1px solid var(--hk-line); border-radius: var(--hk-radius-sm); overflow: hidden; align-items: stretch; transition: box-shadow .18s ease; }
.hk-row:hover { box-shadow: var(--hk-shadow); }
.hk-row .hk-card__media { aspect-ratio: auto; min-height: 96px; height: 100%; }
.hk-row .hk-ph b { font-size: 1.5rem; }
.hk-row .hk-ph img { width: 44px !important; height: 44px !important; }
.hk-row__b { padding: 12px 14px 12px 0; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
[dir="rtl"] .hk-row__b { padding: 12px 0 12px 14px; }
.hk-row__b h3 { font-size: .97rem; margin: 0; line-height: 1.7; font-weight: 700; }
.hk-row__b h3 a { color: var(--hk-ink); }

/* festival sections */
.hk-sec { position: relative; border-radius: var(--hk-radius); overflow: hidden; background: var(--hk-paper); border: 1px solid var(--hk-line); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; transition: transform .18s ease, box-shadow .18s ease; }
.hk-sec:hover { transform: translateY(-4px); box-shadow: var(--hk-shadow-lg); }
.hk-sec__n { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-weight: 900; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--hk-orange), #f9a24f); box-shadow: 0 8px 18px rgba(242, 123, 30, .28); }
.hk-sec h3 { margin: 6px 0 0; font-size: 1.08rem; }
.hk-sec h3 a { color: var(--hk-ink); }
.hk-sec h3 a::after { content: ""; position: absolute; inset: 0; }
.hk-sec p { margin: 0; font-size: .9rem; color: var(--hk-muted); line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* editions strip + timeline */
.hk-eds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hk-ed {
	display: flex; flex-direction: column; gap: 2px; padding: 16px 16px 14px; border-radius: var(--hk-radius);
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); color: #fff; transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.hk-ed:hover { background: rgba(242, 123, 30, .18); border-color: rgba(242, 123, 30, .6); color: #fff; transform: translateY(-3px); }
.hk-ed b { font-size: 1.7rem; font-weight: 900; color: var(--hk-gold); line-height: 1.25; }
.hk-ed strong { font-size: .95rem; font-weight: 700; }
.hk-ed span { font-size: .8rem; color: rgba(255, 255, 255, .68); line-height: 1.7; }
.hk-ed em { font-style: normal; font-size: .76rem; color: rgba(255, 255, 255, .5); margin-block-start: 4px; }

.hk-tl { position: relative; display: grid; gap: 22px; padding-inline-start: 34px; }
.hk-tl::before { content: ""; position: absolute; inset-inline-start: 11px; inset-block: 8px; width: 2px; background: linear-gradient(var(--hk-orange), var(--hk-line)); }
.hk-tl__i { position: relative; background: var(--hk-paper); border: 1px solid var(--hk-line); border-radius: var(--hk-radius); padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.hk-tl__i::before { content: ""; position: absolute; inset-inline-start: -30px; inset-block-start: 30px; width: 16px; height: 16px; border-radius: 4px; transform: rotate(45deg); background: var(--hk-orange); box-shadow: 0 0 0 5px var(--hk-sand); }
.hk-tl__n { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-block-end: 6px; }
.hk-tl__n b { font-size: 2rem; font-weight: 900; color: var(--hk-orange); line-height: 1; }
.hk-tl__n h3 { margin: 0; font-size: 1.2rem; }
.hk-tl__n h3 a { color: var(--hk-ink); }
.hk-facts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hk-facts li { background: var(--hk-sand); border: 1px solid var(--hk-line); border-radius: 9px; padding: 4px 12px; font-size: .88rem; }
.hk-facts li b { color: var(--hk-muted); font-weight: 600; margin-inline-end: 6px; }
.hk-tl__d { margin: 12px 0 0; color: var(--hk-muted); font-size: .95rem; }
.hk-tl__links { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 14px; }
.hk-tl__links a { font-size: .86rem; font-weight: 700; padding: 5px 14px; border-radius: 99px; border: 1px solid var(--hk-line); background: #fff; color: var(--hk-ink); }
.hk-tl__links a:hover { border-color: var(--hk-orange); color: var(--hk-orange-deep); }
.hk-tl__poster img { width: 118px; border-radius: 10px; border: 1px solid var(--hk-line); box-shadow: var(--hk-shadow); display: block; }

/* ---------- page head ---------- */
.hk-pagehead { background: var(--hk-star), linear-gradient(135deg, #101b34, var(--hk-ink-2)); background-size: 84px 84px, cover; color: #fff; padding-block: clamp(30px, 4.5vw, 54px); }
.hk-pagehead h1 { color: #fff; margin: 0; }
.hk-pagehead p { margin: 10px 0 0; color: rgba(255, 255, 255, .78); max-width: 70ch; }
.hk-crumbs { font-size: .84rem; color: rgba(255, 255, 255, .62); margin-block-end: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.hk-crumbs a { color: rgba(255, 255, 255, .82); }
.hk-crumbs a:hover { color: var(--hk-gold); }
.hk-crumbs span[aria-hidden] { opacity: .5; }
.hk-pagehead .hk-meta { color: rgba(255, 255, 255, .72); margin-block-start: 14px; }
.hk-pagehead .hk-badge { background: rgba(255, 255, 255, .1); color: var(--hk-gold); border-color: rgba(255, 255, 255, .2); }
.hk-edhead { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.hk-edhead__num { font-size: clamp(3.4rem, 2rem + 6vw, 6rem); font-weight: 900; color: var(--hk-orange); line-height: 1; opacity: .95; }
.hk-edhead .hk-facts li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.hk-edhead .hk-facts li b { color: rgba(255, 255, 255, .6); }
.hk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 26px; }
.hk-chips a { padding: 5px 15px; border-radius: 99px; background: #fff; border: 1px solid var(--hk-line); color: var(--hk-ink); font-size: .87rem; font-weight: 600; }
.hk-chips a:hover, .hk-chips a.is-on { background: var(--hk-ink); color: #fff; border-color: var(--hk-ink); }

/* ---------- article ---------- */
.hk-article { background: var(--hk-paper); border: 1px solid var(--hk-line); border-radius: var(--hk-radius); padding: clamp(22px, 4vw, 46px); box-shadow: var(--hk-shadow); }
.hk-article__fig { margin: 0 0 26px; border-radius: var(--hk-radius-sm); overflow: hidden; background: var(--hk-sand-2); text-align: center; }
.hk-article__fig img { display: block; margin-inline: auto; max-height: 560px; width: auto; }
.hk-article__fig--side { float: inline-start; float: left; max-width: 300px; margin: 6px 26px 18px 0; }
[dir="rtl"] .hk-article__fig--side { float: left; margin: 6px 26px 18px 0; }
.entry-content { font-size: 1.04rem; overflow-wrap: anywhere; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-block: 1.6em .6em; }
.entry-content h2 { padding-block-end: .35em; border-block-end: 2px solid var(--hk-sand-2); }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(201, 86, 10, .35); text-underline-offset: 4px; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.5em; margin: 0 0 1.2em; }
.entry-content li { margin-block-end: .35em; }
.entry-content li::marker { color: var(--hk-orange); font-weight: 700; }
.entry-content img { border-radius: 10px; }
.entry-content blockquote { margin: 1.4em 0; padding: 14px 22px; border-inline-start: 4px solid var(--hk-orange); background: var(--hk-sand); border-radius: 0 10px 10px 0; color: #37415a; }
[dir="rtl"] .entry-content blockquote { border-radius: 10px 0 0 10px; }
.entry-content hr { border: 0; border-block-start: 1px solid var(--hk-line); margin-block: 2em; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .has-text-align-left { text-align: left; }
.entry-content [dir="ltr"] { text-align: left; }
.entry-content figure { margin: 1.5em 0; max-width: 100%; }
.entry-content figcaption { font-size: .86rem; color: var(--hk-muted); text-align: center; margin-block-start: 6px; }
.entry-content .wp-block-table, .entry-content figure.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--hk-line); border-radius: 12px; background: #fff; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .93rem; line-height: 1.75; }
.entry-content th, .entry-content td { border: 1px solid var(--hk-line); padding: 8px 12px; vertical-align: middle; text-align: center; }
.entry-content .wp-block-table table { border: 0; }
.entry-content .wp-block-table tr:first-child > * { border-block-start: 0; }
.entry-content .wp-block-table tr:last-child > * { border-block-end: 0; }
.entry-content .wp-block-table tr > *:first-child { border-inline-start: 0; }
.entry-content .wp-block-table tr > *:last-child { border-inline-end: 0; }
.entry-content tr:nth-child(even) > td { background: #fdfaf5; }
.entry-content th, .entry-content tr:first-child > td[colspan] { background: var(--hk-sand-2); font-weight: 700; color: var(--hk-ink); }
.entry-content table table { font-size: 1em; }
.entry-content a[href$=".pdf"], .entry-content a[href$=".doc"], .entry-content a[href$=".docx"], .entry-content a[href$=".xls"], .entry-content a[href$=".xlsx"], .entry-content a[href$=".zip"], .entry-content a[href$=".potx"] {
	display: inline-block; text-decoration: none; padding: 1px 12px; margin: 2px; border-radius: 8px; background: #fff1e3; border: 1px solid #fbdcbd; font-weight: 600; font-size: .92em;
}
.entry-content a[href$=".pdf"]::before, .entry-content a[href$=".doc"]::before, .entry-content a[href$=".docx"]::before, .entry-content a[href$=".xls"]::before, .entry-content a[href$=".xlsx"]::before, .entry-content a[href$=".zip"]::before, .entry-content a[href$=".potx"]::before { content: "⤓ "; }
.entry-content .gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 1.4em 0; }
.entry-content .gallery .gallery-item { margin: 0; width: auto !important; float: none !important; }
.entry-content .gallery br { display: none; }
.entry-content .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 0 !important; border-radius: 10px; transition: transform .25s ease, box-shadow .25s ease; }
.entry-content .gallery a:hover img { transform: scale(1.03); box-shadow: var(--hk-shadow-lg); }
.hk-note { margin-block-start: 30px; padding: 12px 18px; border-radius: 10px; background: var(--hk-sand); border: 1px dashed #d9cdb6; font-size: .86rem; color: var(--hk-muted); }
.hk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 26px; padding-block-start: 20px; border-block-start: 1px solid var(--hk-line); }
.hk-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block-start: 26px; }
.hk-postnav a { background: var(--hk-paper); border: 1px solid var(--hk-line); border-radius: var(--hk-radius-sm); padding: 14px 18px; color: var(--hk-ink); font-weight: 700; font-size: .95rem; line-height: 1.8; }
.hk-postnav a:hover { border-color: var(--hk-orange); }
.hk-postnav small { display: block; color: var(--hk-muted); font-weight: 500; font-size: .8rem; }
.hk-postnav .is-next { text-align: end; }

/* contact + docs */
.hk-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-block-end: 30px; }
.hk-contact div { background: var(--hk-sand); border: 1px solid var(--hk-line); border-radius: var(--hk-radius-sm); padding: 20px; }
.hk-contact b { display: block; color: var(--hk-muted); font-size: .84rem; font-weight: 600; margin-block-end: 4px; }
.hk-contact a, .hk-contact span { color: var(--hk-ink); font-weight: 700; font-size: 1.02rem; }
.hk-docs { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 10px; }
.hk-docs li { margin: 0; }
.hk-docs a { display: flex !important; align-items: center; gap: 12px; padding: 12px 18px !important; border-radius: 11px !important; background: #fff !important; border: 1px solid var(--hk-line) !important; color: var(--hk-ink); font-weight: 700; text-decoration: none !important; font-size: 1rem !important; margin: 0 !important; }
.hk-docs a:hover { border-color: var(--hk-orange) !important; color: var(--hk-orange-deep); box-shadow: var(--hk-shadow); }
.hk-docs a::before { content: "PDF" !important; font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--hk-orange); color: #fff; letter-spacing: .5px; }

/* ---------- pagination ---------- */
.hk-pager { margin-block-start: 38px; }
.hk-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hk-pager .page-numbers { min-width: 44px; height: 44px; padding-inline: 12px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--hk-line); background: #fff; color: var(--hk-ink); font-weight: 700; }
.hk-pager .page-numbers.current, .hk-pager a.page-numbers:hover { background: var(--hk-ink); border-color: var(--hk-ink); color: #fff; }
.hk-empty { text-align: center; padding: 50px 20px; background: var(--hk-paper); border: 1px dashed var(--hk-line); border-radius: var(--hk-radius); color: var(--hk-muted); }

/* ---------- footer ---------- */
.hk-footer { background: #0e1830; color: rgba(255, 255, 255, .72); margin-block-start: 0; position: relative; }
.hk-footer::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--hk-orange), var(--hk-gold), var(--hk-orange)); }
.hk-footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-block: 50px 34px; }
.hk-footer h2 { color: #fff; font-size: 1rem; margin-block-end: 14px; }
.hk-footer a { color: rgba(255, 255, 255, .78); }
.hk-footer a:hover { color: var(--hk-gold); }
.hk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .93rem; }
.hk-footer__brand { display: flex; align-items: center; gap: 12px; margin-block-end: 14px; }
.hk-footer__brand img { width: 54px; height: 54px; object-fit: contain; }
.hk-footer__brand b { color: #fff; font-size: 1.08rem; font-weight: 800; display: block; line-height: 1.5; }
.hk-footer__brand span { font-size: .8rem; }
.hk-footer p { font-size: .92rem; line-height: 2; margin: 0; }
.hk-footer address { font-style: normal; font-size: .93rem; line-height: 2.1; }
.hk-footer__bar { border-block-start: 1px solid rgba(255, 255, 255, .1); padding-block: 16px; font-size: .84rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.hk-nav a { padding: 8px 9px; font-size: .88rem; }
	.hk-brand__sub { display: none; }
	.hk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hk-eds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hk-footer__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.hk-burger { display: grid; }
	.hk-nav { display: none; position: absolute; inset-inline: 0; inset-block-start: 100%; background: #fff; border-block-end: 1px solid var(--hk-line); box-shadow: var(--hk-shadow-lg); padding: 12px 18px 18px; max-height: calc(100vh - 76px); overflow-y: auto; }
	.hk-nav.is-open { display: block; }
	.hk-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.hk-nav a { padding: 12px 14px; font-size: 1rem; white-space: normal; }
	.hk-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0 16px 0 0; }
	.hk-header__in { min-height: 66px; }
	.hk-header__in .hk-search-btn { margin-inline-start: auto; }
	.hk-brand img { width: 44px; height: 44px; }
	.hk-hero__in { grid-template-columns: 1fr; text-align: center; }
	.hk-hero__lead { margin-inline: auto; }
	.hk-hero__cta { justify-content: center; }
	.hk-hero__art { order: -1; }
	.hk-hero__art img { width: 150px; }
	.hk-hero__art::before { width: 200px; }
	.hk-stats { grid-template-columns: repeat(2, 1fr); }
	.hk-grid, .hk-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hk-lead { grid-template-columns: 1fr; }
	.hk-contact { grid-template-columns: 1fr; }
	.hk-edhead { grid-template-columns: 1fr; }
	.hk-edhead__poster { display: none; }
	.entry-content .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
	body { font-size: 15.5px; }
	.hk-wrap { padding-inline: 16px; }
	.hk-brand__name { font-size: .98rem; }
	.hk-grid, .hk-grid--4, .hk-grid--2 { grid-template-columns: 1fr; }
	.hk-eds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hk-footer__in { grid-template-columns: 1fr; gap: 26px; padding-block: 36px 24px; }
	.hk-tl { padding-inline-start: 26px; }
	.hk-tl__i { grid-template-columns: 1fr; padding: 18px; }
	.hk-tl__i::before { inset-inline-start: -23px; }
	.hk-tl::before { inset-inline-start: 7px; }
	.hk-tl__poster { display: none; }
	.hk-postnav { grid-template-columns: 1fr; }
	.hk-article__fig--side, [dir="rtl"] .hk-article__fig--side { float: none; max-width: 100%; margin: 0 0 20px; }
	.hk-list li { flex-direction: column; gap: 2px; }
	.hk-row { grid-template-columns: 104px 1fr; }
	.entry-content .gallery { grid-template-columns: repeat(2, 1fr); }
	.entry-content th, .entry-content td { padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.hk-header, .hk-footer, .hk-postnav, .hk-searchbar, .hk-chips { display: none !important; }
	body { background: #fff; }
	.hk-pagehead { background: none; color: #000; padding: 0 0 10px; }
	.hk-pagehead h1 { color: #000; }
	.hk-article { border: 0; box-shadow: none; padding: 0; }
}
