/*
Theme Name: Kendora
Theme URI: https://kendora.org/
Author: Kendora
Author URI: https://kendora.org/
Description: Nem hivatalos Helldivers 2 osztag Debrecenben. Hívás, teher, extrakció. Nem áruljuk a játékot.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kendora
Tags: blog, entertainment
*/

/* =========================================================================
   1. Betűk — fonts/, soha külső CDN. Jost számjegy nélkül.
   ========================================================================= */

@font-face {
	font-family: Jost;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/jost-700-latin.woff2') format('woff2');
	unicode-range: U+0000-002F, U+003A-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: Jost;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/jost-700-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/pt-sans-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/pt-sans-400-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('fonts/pt-sans-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('fonts/pt-sans-600-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================================
   2. Paletta — világos hamu
   ========================================================================= */

:root {
	--hamu: #e8ece8;
	--panel: #dce2dc;
	--haarlijn: #c8d0c8;
	--rand: #5a645c;
	--tinta: #1a221c;
	--masod: #444c46;
	--narancs: #8a4020;
	--oliva: #2a5a38;
	--figyel: #9a3028;
	--misura: 72rem;
	--hajohid-h: 4.5rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-padding-top: var(--hajohid-h);
	background: var(--hamu);
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'PT Sans', sans-serif;
	font-weight: 400;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--tinta);
	background-color: var(--hamu);
	background-image: linear-gradient(rgba(232, 236, 232, 0.92), rgba(232, 236, 232, 0.92)), url('images/texture-hamu.jpg');
	background-size: auto, 42rem auto;
	min-width: 20rem;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border: 0;
}

a {
	color: var(--oliva);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--narancs);
}

:focus-visible {
	outline: 2px solid var(--oliva);
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
	visibility: hidden !important;
}

h1,
h2,
h3,
.hajohid__nev {
	font-family: Jost, 'PT Sans', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	color: var(--tinta);
	letter-spacing: 0.01em;
}

h1 {
	font-size: clamp(1.8rem, 4vw, 3rem);
	margin: 0 0 0.6rem;
}

h2 {
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	margin: 0 0 0.5rem;
}

h3 {
	font-size: 1.2rem;
	margin: 0 0 0.4rem;
}

p,
ul,
ol {
	margin: 0 0 0.9rem;
}

.cifra,
.eltevedt__szam,
input,
textarea,
select,
table {
	font-family: 'PT Sans', sans-serif;
}

.cifra {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* =========================================================================
   3. Hajohid, ugras, csend
   ========================================================================= */

.ugras {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--oliva);
	color: var(--hamu);
	padding: 0.6rem 1rem;
	z-index: 80;
	min-height: 36px;
}

.ugras:focus {
	left: 0.5rem;
	top: 0.5rem;
}

.hajohid {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--panel);
	border-bottom: 1px solid var(--haarlijn);
	min-height: var(--hajohid-h);
}

.hajohid__binnen {
	max-width: var(--misura);
	margin: 0 auto;
	padding: 0.5rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.hajohid__marca {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: var(--tinta);
	text-decoration: none;
	flex: 0 0 auto;
}

.hajohid__nev {
	font-size: 1.35rem;
}

.hajohid__a {
	position: relative;
	display: inline-block;
}

.hajohid__pont {
	position: absolute;
	display: block;
	width: 0.28em;
	height: 0.28em;
	border-radius: 50%;
	background: var(--narancs);
	right: 0.05em;
	bottom: 0.22em;
}

.hajohid__klop {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	min-width: 44px;
	padding: 0.4rem 0.7rem;
	border: 1px solid var(--rand);
	background: var(--hamu);
	color: var(--tinta);
	font-family: 'PT Sans', sans-serif;
	font-weight: 600;
	cursor: pointer;
}

.hajohid__streepjes {
	display: flex;
	flex-direction: column;
	gap: 3px;
	width: 1.1rem;
}

.hajohid__streepjes i {
	display: block;
	height: 2px;
	background: var(--tinta);
}

.hajohid__dicht {
	display: none;
}

.hajohid--nyitva .hajohid__open {
	display: none;
}

.hajohid--nyitva .hajohid__dicht {
	display: inline;
}

.osztaglista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: none;
}

.hajohid--nyitva .osztaglista {
	display: flex;
	flex-direction: column;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--panel);
	border-bottom: 1px solid var(--rand);
	padding: 0.5rem 1rem 1rem;
	gap: 0.2rem;
}

.osztaglista a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--tinta);
	text-decoration: none;
	padding: 0 0.4rem;
}

.osztaglista a:hover,
.osztaglista a:focus-visible {
	color: var(--narancs);
}

.csend {
	position: fixed;
	inset: 0;
	border: 0;
	background: rgba(26, 34, 28, 0.35);
	z-index: 30;
	padding: 0;
}

@media (min-width: 62em) {
	.hajohid__klop {
		display: none;
	}

	.osztaglista,
	.hajohid--nyitva .osztaglista {
		display: flex;
		flex-direction: row;
		position: static;
		border: 0;
		padding: 0;
		gap: 0.15rem;
		background: transparent;
	}

	.osztaglista a {
		min-height: 36px;
	}
}

/* =========================================================================
   4. Gombok, szakaszok
   ========================================================================= */

.osztagbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.45rem 0.9rem;
	border: 1px solid var(--narancs);
	background: var(--narancs);
	color: var(--hamu);
	font-family: 'PT Sans', sans-serif;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	text-align: center;
}

.osztagbtn:hover,
.osztagbtn:focus-visible {
	color: var(--hamu);
	filter: brightness(1.08);
}

.osztagbtn--stil {
	background: transparent;
	color: var(--tinta);
	border-color: var(--rand);
}

.osztagbtn--stil:hover,
.osztagbtn--stil:focus-visible {
	color: var(--oliva);
	filter: none;
}

.osztagbtn--keuze {
	background: var(--panel);
	color: var(--tinta);
	border-color: var(--rand);
}

.osztagbtn--keuze[aria-pressed='true'] {
	background: var(--oliva);
	color: var(--hamu);
	border-color: var(--oliva);
}

.osztagbtn--keuze:hover,
.osztagbtn--keuze:focus-visible {
	color: var(--tinta);
}

.osztagbtn--keuze[aria-pressed='true']:hover,
.osztagbtn--keuze[aria-pressed='true']:focus-visible {
	color: var(--hamu);
}

.rijbtn {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: stretch;
}

.rijbtn .osztagbtn {
	flex: 1 1 12rem;
}

.osztag-wrap {
	max-width: var(--misura);
	margin: 0 auto;
	padding: 2rem 1rem;
}

.osztag-wrap--panel {
	background: var(--panel);
}

.osztag__kicker {
	font-weight: 600;
	color: var(--masod);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.82rem;
}

html.js .opdaagt {
	opacity: 0;
	transform: translateY(0.6rem);
}

html.js .opdaagt--op {
	opacity: 1;
	transform: none;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.padhero {
	min-height: 22rem;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
}

.padhero__lastra {
	width: 100%;
	background: linear-gradient(transparent, rgba(26, 34, 28, 0.78));
	color: var(--hamu);
	padding: 4rem 1rem 2.2rem;
}

.padhero__lastra h1,
.padhero__lastra p,
.cta-sav h2,
.cta-sav p {
	color: var(--hamu);
}

.padhero__lastra a.osztagbtn--stil,
.cta-sav a.osztagbtn--stil {
	color: var(--hamu);
	border-color: var(--hamu);
}

.padhero__belso {
	max-width: var(--misura);
	margin: 0 auto;
}

.duo {
	display: grid;
	gap: 1.2rem;
}

@media (min-width: 48em) {
	.duo {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}
}

.szabalyhalo {
	display: grid;
	gap: 1rem;
}

@media (min-width: 48em) {
	.szabalyhalo {
		grid-template-columns: repeat(3, 1fr);
	}
}

.sztrat-kartya {
	background: var(--panel);
	border: 1px solid var(--haarlijn);
	display: flex;
	flex-direction: column;
}

.sztrat-kartya img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.sztrat-kartya__test {
	padding: 0.9rem 1rem 1.1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.4rem;
	flex: 1;
}

.sztrat-kartya .osztagbtn {
	width: 100%;
}

.emberek {
	display: grid;
	gap: 1.2rem;
}

@media (min-width: 48em) {
	.emberek {
		grid-template-columns: 1fr 1fr;
	}
}

.ember {
	display: grid;
	gap: 0.8rem;
	background: var(--panel);
	border: 1px solid var(--haarlijn);
	padding: 0.8rem;
}

@media (min-width: 32em) {
	.ember {
		grid-template-columns: 8rem 1fr;
		align-items: start;
	}
}

.ember img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.jegyhalo {
	display: grid;
	gap: 0.9rem;
}

.jegy {
	border: 1px dashed var(--rand);
	background: var(--panel);
	padding: 0.9rem 1rem;
}

.jegy__meta {
	font-weight: 600;
	color: var(--masod);
}

.naplosor article {
	display: grid;
	grid-template-columns: 6.5rem 1fr;
	gap: 0.8rem;
	border-top: 1px solid var(--haarlijn);
	padding: 1rem 0;
}

.naplosor__ora {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-weight: 600;
	color: var(--masod);
	min-height: 7rem;
}

.naplosor h2 a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: var(--tinta);
	text-decoration: none;
}

.gyik details {
	border-bottom: 1px solid var(--haarlijn);
	padding: 0.5rem 0;
}

.gyik summary {
	cursor: pointer;
	font-weight: 600;
	min-height: 36px;
	display: flex;
	align-items: center;
}

.cta-sav {
	background-size: cover;
	background-position: center;
	padding: 3rem 1rem;
}

.cta-sav__belso {
	max-width: var(--misura);
	margin: 0 auto;
	background: rgba(26, 34, 28, 0.72);
	padding: 1.4rem 1.2rem;
}

.belsohero {
	min-height: 10rem;
	background-size: cover;
	background-position: center;
}

.belsohero__lastra {
	background: rgba(26, 34, 28, 0.55);
	color: var(--hamu);
	padding: 2.2rem 1rem;
}

.belsohero__lastra h1 {
	color: var(--hamu);
	max-width: var(--misura);
	margin-left: auto;
	margin-right: auto;
}

/* =========================================================================
   5. Widgetek
   ========================================================================= */

.hivas__hex {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-areas:
		'. a a .'
		'f . . b'
		'e . . c'
		'. d d .';
	gap: 0.4rem;
	margin: 0.8rem 0;
}

.hivas__hex > :nth-child(1) { grid-area: a; }
.hivas__hex > :nth-child(2) { grid-area: b; }
.hivas__hex > :nth-child(3) { grid-area: c; }
.hivas__hex > :nth-child(4) { grid-area: d; }
.hivas__hex > :nth-child(5) { grid-area: e; }
.hivas__hex > :nth-child(6) { grid-area: f; }

.hivas__hex .osztagbtn {
	width: 100%;
}

.hivas__pad--csend {
	opacity: 0.45;
}

.hivas__goot,
.sztrat__goot,
.osztag__goot,
.minta__goot {
	display: grid;
	gap: 0.3rem;
	height: 4.5rem;
	align-items: end;
	margin: 0.8rem 0;
	background: var(--hamu);
	border: 1px solid var(--haarlijn);
	padding: 0.3rem;
}

.hivas__goot,
.osztag__goot {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.osztag__goot {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.minta__goot {
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.sztrat__goot {
	grid-template-columns: 1fr;
	max-width: 8rem;
}

.hivas__oszlop,
.sztrat__oszlop,
.osztag__oszlop,
.minta__oszlop {
	display: block;
	width: 100%;
	background: var(--oliva);
	min-height: 4px;
}

.sztrat__oszlop {
	background: var(--narancs);
}

.sztrat__sor,
.minta__sor,
.osztag__scelte {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.5rem 0;
}

.sztrat__sor .osztagbtn,
.minta__sor .osztagbtn,
.osztag__scelte .osztagbtn {
	flex: 1 1 9rem;
}

.osztag__chiprij {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.4rem 0;
}

.osztag__chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 0.6rem;
	background: var(--panel);
	border: 1px solid var(--haarlijn);
}

.hivas figure,
.sztrat figure {
	margin: 0 0 0.8rem;
}

/* =========================================================================
   6. Forma, tabla, 404
   ========================================================================= */

.modulo label {
	display: block;
	font-weight: 600;
}

.modulo input,
.modulo textarea {
	width: 100%;
	min-height: 44px;
	padding: 0.45rem 0.6rem;
	border: 1px solid var(--rand);
	background: var(--hamu);
	color: var(--tinta);
	font-family: 'PT Sans', sans-serif;
}

.modulo textarea {
	min-height: 8rem;
}

.esca {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.figyelmeztet {
	padding: 0.7rem 0.9rem;
	background: var(--panel);
	border-left: 4px solid var(--oliva);
}

.figyelmeztet--warn {
	border-left-color: var(--figyel);
}

.tavola-scorr {
	overflow-x: auto;
	margin: 0 0 1rem;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	border: 1px solid var(--rand);
	padding: 0.5rem 0.6rem;
	text-align: left;
}

th {
	background: var(--panel);
	font-weight: 600;
}

caption {
	text-align: left;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.eltevedt {
	max-width: var(--misura);
	margin: 0 auto;
	padding: 3rem 1rem 4rem;
	text-align: center;
}

.eltevedt p:not(.eltevedt__szam) {
	font-size: 1.0625rem;
}

.eltevedt__szam {
	font-size: 4.5rem;
	font-weight: 600;
	color: var(--oliva);
	line-height: 1;
	margin: 0 0 0.4rem;
}

.jog-szakasz h2 .cifra {
	font-family: 'PT Sans', sans-serif;
}

/* =========================================================================
   7. Chevron, suti, lablec
   ========================================================================= */

.osztagszaly {
	color: var(--oliva);
	line-height: 0;
	overflow: hidden;
}

.osztagszaly svg {
	display: block;
	width: 100%;
	height: 2.4rem;
}

html:not(.js) .koekrand {
	display: none !important;
}

.koekrand {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	background: var(--panel);
	border-top: 1px solid var(--rand);
	color: var(--tinta);
}

.koekrand__binnen {
	max-width: var(--misura);
	margin: 0 auto;
	padding: 0.85rem 1rem 1rem;
	display: grid;
	gap: 0.75rem;
}

.koekrand p {
	margin: 0;
}

.koekrand a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
}

.koekrand__gombok {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0.6rem;
	width: 100%;
}

.koekrand__gombok .osztagbtn {
	width: 100%;
}

@media (min-width: 62em) {
	.koekrand__binnen {
		grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
		align-items: center;
	}
}

.lablec {
	background: var(--panel);
	border-top: 1px solid var(--haarlijn);
	padding: 2rem 1rem 6.5rem;
}

.lablec__binnen {
	max-width: var(--misura);
	margin: 0 auto;
	display: grid;
	gap: 1.2rem;
}

.lablec a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: var(--tinta);
}

.lablec__lista {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lablec__lista a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: var(--tinta);
}

.lablec__verklaring {
	color: var(--masod);
	font-size: 0.95rem;
}

@media (min-width: 48em) {
	.lablec__binnen {
		grid-template-columns: 1.2fr 1fr 1.3fr;
	}
}

.pezzo {
	max-width: 44rem;
}

@media (max-width: 29.99em) {
	.naplosor article {
		grid-template-columns: 1fr;
	}

	.naplosor__ora {
		writing-mode: horizontal-tb;
		transform: none;
		min-height: 0;
	}
}
