/*
Theme Name: Osserin
Theme URI: https://osserin.org/
Author: Osserin
Author URI: https://osserin.org/
Description: Nem hivatalos hadjárat-útmutató Total War: Warhammer 3-hoz Szegedről. Szél, ellátmány, lyuk. Nincs bolt és nincs kliensfájl.
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: osserin
Tags: blog, entertainment
*/

/* =========================================================================
   1. Betűk — fonts/, soha idegen szerverről
   Inknut Antiqua számjegy nélkül; a számok Source Serif 4-ben maradnak
   ========================================================================= */

@font-face {
	font-family: 'Inknut Antiqua';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/inknut-antiqua-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: 'Inknut Antiqua';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/inknut-antiqua-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: 'Source Serif 4';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/source-serif-4-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: 'Source Serif 4';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/source-serif-4-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: 'Source Serif 4';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('fonts/source-serif-4-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: 'Source Serif 4';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('fonts/source-serif-4-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 és alap — sötét tinta
   ========================================================================= */

:root {
	--tinta: #12141a;
	--panel: #1c2028;
	--haarlijn: #2c323c;
	--rand: #9a94a0;
	--csont: #ece6dc;
	--por: #b0a898;
	--sargarez: #d4a060;
	--ibolya: #8090d0;
	--figyel: #e07060;
	--misura: 72rem;
	--kopf-h: 4.5rem;
}

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

html {
	scroll-padding-top: var(--kopf-h);
	background: var(--tinta);
}

[hidden] {
	display: none !important;
}

body {
	margin: 0;
	font-family: 'Source Serif 4', serif;
	font-weight: 400;
	font-size: 1.05rem;
	line-height: 1.62;
	color: var(--csont);
	background-color: var(--tinta);
	background-image: url('images/textura-tinta-rost.jpg');
	background-size: 420px auto;
}

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

a {
	color: var(--ibolya);
}

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

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

h1,
h2,
h3,
.oboz__nev {
	font-family: 'Inknut Antiqua', serif;
	font-weight: 700;
	line-height: 1.25;
	color: var(--csont);
}

.szam,
time,
.eltevedt__szam {
	font-family: 'Source Serif 4', serif;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.szam {
	font-size: 1em;
}

.salta {
	position: absolute;
	left: 0.8rem;
	top: 0.8rem;
	z-index: 80;
	padding: 0.4rem 0.7rem;
	min-height: 36px;
	background: var(--sargarez);
	color: var(--tinta);
	text-decoration: none;
	font-weight: 600;
	transform: translateY(-140%);
}

.salta:focus {
	transform: none;
}

/* =========================================================================
   3. Táborfej — extra CTA nélkül
   ========================================================================= */

.oboz {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--tinta);
	border-bottom: 1px solid var(--haarlijn);
}

.oboz__binnen {
	max-width: var(--misura);
	margin: 0 auto;
	padding: 0 1rem;
	min-height: var(--kopf-h);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.oboz__marka {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	text-decoration: none;
	color: var(--csont);
	flex: 0 0 auto;
	padding-right: 0.5em;
}

.oboz__nev {
	font-size: 1.28rem;
}

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

.oboz__vonal {
	position: absolute;
	left: -0.18em;
	right: -0.18em;
	top: 52%;
	height: 0.11em;
	background: var(--sargarez);
	transform: rotate(-22deg);
	pointer-events: none;
}

.oboz__klop {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 36px;
	min-width: 36px;
	padding: 0.35rem 0.6rem;
	border: 1px solid var(--rand);
	background: var(--panel);
	color: var(--csont);
	font-family: 'Source Serif 4', serif;
	font-weight: 600;
	cursor: pointer;
}

.oboz__streepjes {
	display: flex;
	flex-direction: column;
	gap: 0.18rem;
}

.oboz__streepjes i {
	display: block;
	width: 1.1rem;
	height: 2px;
	background: var(--sargarez);
}

.oboz__dicht {
	display: none;
}

.oboz--nyitva .oboz__open {
	display: none;
}

.oboz--nyitva .oboz__dicht {
	display: inline;
}

.oboz__nav {
	display: none;
}

.oboz--nyitva .oboz__nav {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--panel);
	border-bottom: 1px solid var(--rand);
	padding: 0.6rem 1rem 1rem;
}

.hadlista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.hadlista a {
	display: flex;
	align-items: center;
	min-height: 36px;
	padding: 0.25rem 0.4rem;
	text-decoration: none;
	color: var(--csont);
	font-weight: 600;
}

.hadlista a:hover,
.hadlista a:focus-visible {
	color: var(--sargarez);
}

.csend {
	position: fixed;
	inset: 0;
	z-index: 30;
	border: 0;
	padding: 0;
	background: rgba(18, 20, 26, 0.45);
	cursor: pointer;
}

.hadbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0.45rem 0.9rem;
	border: 1px solid var(--sargarez);
	background: var(--sargarez);
	color: var(--tinta);
	font-family: 'Source Serif 4', serif;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.hadbtn:hover,
.hadbtn:focus-visible {
	background: var(--ibolya);
	border-color: var(--ibolya);
	color: var(--tinta);
}

.hadbtn--stil {
	background: transparent;
	color: var(--csont);
	border-color: var(--rand);
}

.hadbtn--stil:hover,
.hadbtn--stil:focus-visible {
	background: var(--sargarez);
	border-color: var(--sargarez);
	color: var(--tinta);
}

.hadbtn[aria-pressed="true"] {
	background: var(--ibolya);
	border-color: var(--ibolya);
	color: var(--tinta);
}

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

/* =========================================================================
   4. Szakaszok, hero, duo, rács
   ========================================================================= */

.hadjarat {
	max-width: var(--misura);
	margin: 0 auto;
	padding: 2.4rem 1rem;
}

.hadjarat--panel {
	background: var(--panel);
	border-top: 1px solid var(--haarlijn);
	border-bottom: 1px solid var(--haarlijn);
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.hadjarat--panel > .crinale {
	max-width: var(--misura);
	margin: 0 auto;
	padding: 0 1rem;
}

.hadjarat__kicker {
	margin: 0 0 0.35rem;
	color: var(--por);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.82rem;
}

.hadhero {
	position: relative;
	min-height: 22rem;
	display: grid;
	align-items: end;
	background: var(--panel) center / cover no-repeat;
}

.hadhero__lastra {
	max-width: var(--misura);
	margin: 0 auto;
	padding: 3.5rem 1rem 2.4rem;
	background: linear-gradient(180deg, rgba(18, 20, 26, 0.55) 0%, rgba(18, 20, 26, 0.82) 46%, rgba(18, 20, 26, 0.94) 100%);
	width: 100%;
}

.hadhero__lastra h1,
.hadhero__lastra p,
.hadhero__lastra .hadjarat__kicker {
	color: var(--csont);
}

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

.duo img {
	width: 100%;
	border: 1px solid var(--rand);
}

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

.tartomany {
	background: var(--panel);
	border: 1px solid var(--rand);
}

.tartomany img {
	width: 100%;
}

.tartomany__test {
	padding: 1rem 1rem 1.2rem;
}

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

.hibaracs .tartomany {
	padding: 1rem 1.1rem;
}

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

.szamracs article {
	background: var(--panel);
	border: 1px solid var(--rand);
	padding: 1rem 1.1rem;
}

.szamracs .szam {
	display: block;
	font-size: 2.2rem;
	color: var(--sargarez);
	line-height: 1.1;
}

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

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

.emberek img {
	width: 100%;
	max-width: 18rem;
	border: 1px solid var(--rand);
}

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

.szeloszlop article {
	display: grid;
	grid-template-columns: 4.2rem 1fr;
	gap: 0.8rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--haarlijn);
}

.szeloszlop__datum {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.4rem 0.2rem;
	border: 1px solid var(--rand);
	background: var(--panel);
	color: var(--sargarez);
	min-height: 4.5rem;
	text-align: center;
	line-height: 1.15;
}

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

.faq details {
	border: 1px solid var(--rand);
	background: var(--panel);
	padding: 0.6rem 0.8rem;
	margin-bottom: 0.5rem;
}

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

.cta-puszta {
	position: relative;
	min-height: 16rem;
	display: grid;
	align-items: end;
	background: var(--panel) center / cover no-repeat;
}

.cta-puszta__lastra {
	max-width: var(--misura);
	margin: 0 auto;
	padding: 2.4rem 1rem;
	background: linear-gradient(180deg, rgba(18, 20, 26, 0.4) 0%, rgba(18, 20, 26, 0.9) 100%);
	width: 100%;
}

.cta-puszta__lastra h2,
.cta-puszta__lastra p {
	color: var(--csont);
}

.belso-banner {
	min-height: 10rem;
	background: var(--panel) center / cover no-repeat;
}

.belso-banner__lastra {
	max-width: var(--misura);
	margin: 0 auto;
	padding: 2.2rem 1rem;
	background: linear-gradient(180deg, rgba(18, 20, 26, 0.55) 0%, rgba(18, 20, 26, 0.88) 100%);
}

.belso-banner__lastra h1,
.belso-banner__lastra p {
	color: var(--csont);
}

/* =========================================================================
   5. Eszközök
   ========================================================================= */

.szel__chiprij,
.szel__scelte,
.ellat__scelte,
.frakcio__scelte,
.lyuk__scelte {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0.7rem 0;
}

.szel__chip,
.ellat__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	min-height: 36px;
	padding: 0.2rem 0.55rem;
	border: 1px solid var(--rand);
	background: var(--tinta);
}

.szel__goot,
.ellat__goot,
.frakcio__goot,
.lyuk__goot {
	display: flex;
	align-items: flex-end;
	gap: 0.4rem;
	height: 7rem;
	margin: 0.8rem 0;
	padding: 0.4rem;
	background: var(--tinta);
	border: 1px solid var(--haarlijn);
}

.szel__staaf,
.ellat__staaf,
.frakcio__staaf,
.lyuk__staaf {
	display: block;
	flex: 1;
	min-height: 8px;
	background: var(--ibolya);
}

.szel__stand,
.ellat__stand,
.frakcio__stand,
.lyuk__stand {
	font-weight: 600;
}

/* =========================================================================
   6. Hadlista-foliant, űrlap, próza
   ========================================================================= */

.hadlista-foliant {
	display: grid;
	gap: 1rem;
}

.hadlista-foliant article {
	background: var(--panel);
	border: 1px solid var(--rand);
	padding: 1rem 1.1rem;
}

.hadlista-foliant__meta {
	margin: 0.6rem 0 0;
	color: var(--por);
	font-weight: 600;
}

.hadform {
	display: grid;
	gap: 0.7rem;
	max-width: 34rem;
}

.hadform label {
	display: flex;
	align-items: center;
	font-weight: 600;
	padding-bottom: 0.25rem;
	min-height: 36px;
}

.hadform input,
.hadform textarea,
.hadform select {
	width: 100%;
	min-height: 36px;
	padding: 0.45rem 0.6rem;
	border: 1px solid var(--rand);
	background: var(--tinta);
	color: var(--csont);
	font-family: 'Source Serif 4', serif;
	font-size: 1rem;
}

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

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

.avviso {
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--ibolya);
	background: var(--panel);
}

.avviso--figyel {
	border-color: var(--figyel);
	color: var(--tinta);
	background: var(--figyel);
}

.proza h2 {
	margin-top: 1.6rem;
}

.tafelraam {
	overflow-x: auto;
}

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

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

.tafelraam th {
	background: var(--panel);
}

.koekwis {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
}

.cimrács,
.cimracs {
	display: grid;
	gap: 1.4rem;
}

/* =========================================================================
   7. Szélcsík, süti, láb, 404
   ========================================================================= */

.szelcsik {
	color: var(--sargarez);
	line-height: 0;
	overflow: hidden;
}

.szelcsik 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(--csont);
}

.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: 1fr 1fr;
	gap: 0.6rem;
}

.koekrand__gombok .hadbtn {
	width: 100%;
}

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

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

.hadlab__lijst {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.4rem;
}

.hadlab__lijst a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0.25rem 0.45rem;
	text-decoration: none;
	color: var(--csont);
	font-weight: 600;
}

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

.hadlab__verklaring {
	font-size: 0.92rem;
	color: var(--por);
}

.eltevedt {
	min-height: 60vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 3rem 1rem;
	max-width: var(--misura);
	margin: 0 auto;
}

.eltevedt p:not(.eltevedt__szam) {
	max-width: 36rem;
}

.eltevedt__szam {
	font-weight: 600;
	font-size: clamp(4rem, 14vw, 8rem);
	color: var(--sargarez);
	line-height: 0.9;
	margin: 0 0 0.6rem;
}

.js .opdaagt {
	opacity: 0;
	transform: translateY(12px);
}

.js .opdaagt.opdaagt--op {
	opacity: 1;
	transform: none;
}

/* =========================================================================
   8. Szélesség 360–1440
   ========================================================================= */

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

	.kartyaracs,
	.hibaracs,
	.szamracs {
		grid-template-columns: 1fr 1fr;
	}

	.emberek {
		grid-template-columns: 1fr 1fr;
	}

	.cimracs {
		grid-template-columns: 1.1fr 0.9fr;
	}

	.hadlab__binnen {
		grid-template-columns: 1.1fr 1fr 1.2fr;
	}
}

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

	.oboz__nav {
		display: block;
		margin-left: auto;
		position: static;
		background: transparent;
		border: 0;
		padding: 0;
	}

	.hadlista {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.kartyaracs,
	.hibaracs {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.szamracs {
		grid-template-columns: repeat(4, 1fr);
	}

	.csend {
		display: none !important;
	}
}
