/*
Theme Name: OD&IT Solutions
Description: Elementor-free theme for oditsolutions.hu. Approved 2026 design on the Demján Sándor Program identity; content is standard WordPress blocks.
Version: 1.2.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: odit
License: GPL-2.0-or-later
*/

/* ------------------------------------------------------------ tokens */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url(assets/fonts/montserrat-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url(assets/fonts/montserrat-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--odit-orange: #fa4d02;
	--odit-ink: #030507;
	--odit-black: #000;
	--odit-grey: #a6abb0;
	--odit-light: #d3d5d7;
	--odit-text: #333;
	--odit-font: "Montserrat", sans-serif;
	--odit-sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--odit-header: 96px;
	--odit-wrap: 1400px;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--odit-sys); font-size: 16px; line-height: 1.5; color: var(--odit-text); background: #fff; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }
a { color: var(--odit-orange); }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--odit-font); font-weight: 500; color: var(--odit-black); }
p { margin: 0 0 .9rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.odit-mapgate { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: #e9eaeb repeating-linear-gradient(45deg, transparent 0 22px, rgba(166,171,176,.18) 22px 23px); }
.odit-mapgate__btn { font: 600 16px/1 var(--odit-font); color: #fff; background: var(--odit-orange); border: 0; padding: 14px 26px; cursor: pointer; }
.odit-mapgate__btn:hover, .odit-mapgate__btn:focus-visible { background: #d94300; }
.odit-mapgate__btn:focus-visible { outline: 2px solid var(--odit-ink); outline-offset: 3px; }
.odit-mapgate__note { margin: 0; max-width: 46ch; font-size: 14px; line-height: 1.5; color: #4a4f54; }
.odit-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; color: #000; padding: 8px 14px; }
.odit-skip:focus { left: 8px; }
.odit-ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }
:focus-visible { outline: 2px solid var(--odit-orange); outline-offset: 2px; }

/* ------------------------------------------------------------ header */
.odit-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--odit-header); background: var(--odit-ink); border-bottom: 1px solid #414141; transition: background-color .3s; }
.admin-bar .odit-header { top: 32px; }
body.odit-has-hero .odit-header:not(.is-scrolled) { background: transparent; }
.odit-header__in { max-width: var(--odit-wrap); height: 100%; margin: 0 auto; padding: 0 10px; display: flex; align-items: center; }
.odit-header__logo { flex: 0 0 auto; margin-left: 10px; line-height: 0; }
.odit-header__logo img { width: 83px; height: 83px; }
.odit-header__toggle { display: none; }
.odit-nav { flex: 1 1 auto; padding: 0 118px 0 198px; }
.odit-nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; align-items: center; }
.odit-nav__list > li { position: relative; }
.odit-nav a { display: flex; align-items: center; gap: 10px; padding: 7px 4px; font-family: var(--odit-font); font-size: 14px; font-weight: 500; line-height: 20px; text-transform: uppercase; color: #fff; text-decoration: none; }
.odit-nav a:hover, .odit-nav .current-menu-item > a { color: var(--odit-orange); }
.odit-nav .menu-item-has-children > a::after { content: ""; width: 10px; height: 10px; background: currentColor; -webkit-mask: url(assets/icons/caret-down.svg) center / contain no-repeat; mask: url(assets/icons/caret-down.svg) center / contain no-repeat; }
.odit-nav .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: rgba(3, 5, 7, .78); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.odit-nav li:hover > .sub-menu, .odit-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.odit-nav .sub-menu a { padding: 8px 30px; font-family: var(--odit-sys); font-weight: 400; white-space: nowrap; }

/* ------------------------------------------------------------ content */
.odit-main { padding-top: var(--odit-header); }
body.odit-has-hero .odit-main { padding-top: 0; }
.odit-page > * { margin-top: 0; margin-bottom: 0; }
:where(.odit-page) :where(p, li) { font-family: var(--odit-font); font-size: 20px; line-height: 1.6; letter-spacing: .1px; color: var(--odit-black); }
body .odit-page :where(p, ul, ol) { margin-block-end: .9rem; }
body .odit-page :where(p, ul, ol):last-child { margin-block-end: 0; }
:where(.odit-page) :where(ul.wp-block-list) { padding-left: 1.3em; list-style: square; }
:where(.odit-page) :where(ul.wp-block-list) > li { margin-bottom: .45em; padding-left: .2em; }
:where(.odit-page) :where(ul.wp-block-list) > li::marker { color: var(--odit-orange); }
:where(.odit-page) :where(h2, h3) { font-size: 20px; line-height: 1.1; text-transform: none; }
.odit-page .is-upper.is-upper { text-transform: uppercase; }
.odit-page .odit-iconbox p.odit-iconbox__title { font-size: 20px; line-height: 1.2; font-weight: 500; color: #000; margin: 0 0 4px; }
.odit-page p.is-label { font-weight: 500; }
.odit-display, .odit-page h2.odit-display { font-size: 65px; line-height: 1.1; font-weight: 500; text-transform: uppercase; padding: 0 40px; margin: 20px 0 5px; }
.odit-page .wp-block-buttons { margin: 0; }
.odit-btn .wp-block-button__link, .odit-page .wp-block-button__link { display: inline-block; font-family: var(--odit-font); font-size: 20px; font-weight: 500; line-height: 1; text-transform: uppercase; color: #fff; background: var(--odit-orange); border: 2px solid var(--odit-light); border-radius: 2px; padding: 18px 24px 16px; text-decoration: none; transition: background-color .2s, color .2s; }
.odit-page .wp-block-button__link:hover { background: #fff; color: var(--odit-orange); }

/* Hero: video cover + fading slides */
.odit-hero.wp-block-cover { min-height: 100vh; padding: 0; align-items: center; }
.odit-page .wp-block-cover.odit-hero.has-custom-content-position .wp-block-cover__inner-container, .odit-page .odit-hero .wp-block-cover__inner-container { flex: 1 1 auto; width: 100%; max-width: var(--odit-wrap); margin: 0 auto; padding: 0 10px; position: relative; }
.odit-slides { position: relative; height: 400px; }
.odit-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 50px; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.odit-slide.is-active { opacity: 1; visibility: visible; }
.odit-slide.is-active > * { animation: odit-down .8s ease both; }
@keyframes odit-down { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
.odit-page .odit-slide h2 { font-size: 55px; line-height: 1; color: #fff; margin: 0 0 20px; text-transform: uppercase; }
.odit-page .odit-slide p { font-size: 20px; line-height: 1.4; color: #fff; text-transform: uppercase; max-width: 66%; margin: 0 0 25px; letter-spacing: 0; }
.odit-page .odit-slide .wp-block-button__link { font-weight: 400; padding: 12px 24px; border: 0; border-radius: 0; }
.odit-slides__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 20px; padding: 10px; cursor: pointer; z-index: 2; }
.odit-slides__nav.is-prev { left: 10px; } .odit-slides__nav.is-next { right: 10px; }
.odit-slides__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 12px; }
.odit-slides__dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; }
.odit-slides__dots button.is-active { background: #fff; }

/* Split: white card overlapping a large picture */
.odit-split { display: flex; align-items: center; min-height: 0; }
.odit-split > .odit-split__cardcol { flex: 0 0 35.991%; position: relative; z-index: 1; align-self: stretch; display: flex; align-items: center; }
.odit-split > .odit-split__media { flex: 0 0 64.009%; margin: 0; min-height: 60vh; }
.odit-split__card { width: 100%; margin-left: 30%; margin-right: -30%; background: #fff; padding: 13% 13% 13% 0; }
.odit-split.is-reverse { flex-direction: row-reverse; }
.odit-split.is-reverse > .odit-split__media { min-height: 50vh; }
.odit-split.is-reverse .odit-split__card { margin-left: -30%; margin-right: 30%; padding: 13% 0 13% 13%; margin-bottom: 10%; }
.odit-split.is-reverse > .odit-split__cardcol { align-items: flex-start; }
.odit-split.has-gap-top { margin-top: 20px; }
.odit-split__card :is(h2, h3) { margin: 0 0 20px; }
.odit-split__card .wp-block-buttons { padding: 30px; }
.odit-split .wp-block-cover.odit-split__media { padding: 0; }
.odit-split__media.is-contain .wp-block-cover__image-background { object-fit: contain !important; }
.odit-split__media { overflow: hidden; }
.odit-split__media.odit-zoom-115 .wp-block-cover__image-background { transform: scale(1.15); }
.odit-split__media.odit-zoom-125 .wp-block-cover__image-background { transform: scale(1.25); }
.odit-split.has-card-gap .odit-split__card { margin-top: 20%; margin-bottom: 20%; }
.odit-split .odit-card-pad-y { padding-top: 20%; padding-bottom: 20%; }

/* Icon boxes */
.odit-iconpair { display: flex; gap: 0; padding: 0 30px; margin: 10px 0 0; }
.odit-iconpair > .wp-block-column { flex: 1 1 50%; padding: 30px; }
.odit-iconbox { display: flex; gap: 30px; align-items: flex-start; }
.odit-iconbox__icon { flex: 0 0 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: rgba(163, 169, 174, .18); color: var(--odit-grey); border-radius: 2px; font-size: 32px; margin: 0; }
.odit-iconbox__body { flex: 1 1 auto; }
.odit-page .odit-iconbox :is(h2, h3, h4, h5) { font-size: 20px; line-height: 1.1; text-transform: none; font-weight: 700; margin: 8px 0 15px; }
.odit-page .odit-iconbox.is-medium :is(h2, h3, h4, h5) { font-weight: 500; }
.odit-page .odit-iconbox p { line-height: 1.5; }
.odit-iconbox.is-stacked { display: block; }
.odit-iconbox.is-stacked .odit-iconbox__icon { background: none; width: 32px; height: 32px; flex-basis: 32px; margin: 0 0 23px; }
.odit-page .odit-iconbox.is-stacked h2, .odit-page .odit-iconbox.is-stacked h3 { text-transform: uppercase; margin-top: 0; }

/* Tool band: background picture + a free self-check tool */
.odit-band.wp-block-cover { min-height: 500px; padding: 20px 0; }
.odit-band .wp-block-cover__inner-container { max-width: 1114px; width: 100%; }

/* Blog teaser (query loop) */
.odit-blog { padding: 0 30px; }
.odit-blog .wp-block-post-template { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; padding: 30px; margin: 0; list-style: none; }
.odit-blog .wp-block-post-featured-image { margin: 0 0 20px; aspect-ratio: 66 / 66; overflow: hidden; }
.odit-blog .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.odit-page .odit-blog .wp-block-post-title { font-size: 20px; line-height: 1.2; text-transform: none; margin: 0 0 13px; }
.odit-blog .wp-block-post-title a { color: #000; text-decoration: none; }
.odit-page .odit-blog .wp-block-post-excerpt__excerpt { font-family: var(--odit-font); font-size: 20px; line-height: 1.5; color: var(--odit-grey); margin: 0 0 13px; }
.odit-page :is(h2, h3, h4, h5, .odit-iconbox__title) a { color: inherit; text-decoration: none; }
.odit-page :is(h2, h3, h4, h5, .odit-iconbox__title) a:hover, .odit-page :is(h2, h3, h4, h5, .odit-iconbox__title) a:focus-visible { color: var(--odit-orange); }
.odit-page :where(p, li) a { color: #c36; text-decoration: none; }
.odit-blog .wp-block-post-date { font-family: var(--odit-sys); font-size: 12px; color: #adadad; margin: -8px 0 13px; }
.odit-blog .wp-block-read-more, .odit-blog .wp-block-post-excerpt__more-link { font-family: var(--odit-font); font-size: 20px; line-height: 1.5; text-transform: uppercase; color: var(--odit-orange); text-decoration: none; }

/* Brands */
.odit-brands { padding-bottom: 20px; }
.odit-brands .wp-block-columns { margin: 0; gap: 0; min-height: 45vh; align-items: center; }
.odit-brands .wp-block-column { padding: 15px 55px 25px; }
.odit-brands .wp-block-column.is-media { padding: 0; text-align: center; }
.odit-brands .wp-block-image { margin: 0 auto; }
.odit-page .odit-brands h3 { text-align: center; margin-bottom: 20px; }

/* Partner logos (gallery shown as a moving strip) */
.odit-partners { margin: 10px 0; padding: 30px 30px 30px 60px; }
.odit-partners h2 { margin: 0 0 20px; }
.odit-marquee.wp-block-gallery, .wp-block-gallery.is-style-odit-marquee { display: flex; flex-wrap: nowrap !important; gap: 20px; overflow: hidden; padding-top: 20px; }
.wp-block-gallery.is-style-odit-marquee .wp-block-image { flex: 0 0 calc((100% - 40px) / 3) !important; width: auto !important; height: 25vh; margin: 0 !important; }
.wp-block-gallery.is-style-odit-marquee .wp-block-image img { width: 100%; height: 100%; object-fit: contain !important; }
.wp-block-gallery.is-style-odit-marquee.is-running { animation: none; }

/* Simple pages / posts */
.odit-archive, .odit-single { max-width: var(--odit-wrap); margin: 0 auto; padding: 40px 40px 60px; }
.odit-single__title { font-size: 45px; line-height: 1.1; text-transform: uppercase; margin: 20px 0 30px; }
.odit-single__thumb { margin: 0 0 30px; }
.odit-single__content p, .odit-single__content li { font-family: var(--odit-font); font-size: 20px; line-height: 1.6; color: #000; }
.odit-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.odit-post__title { font-size: 20px; margin: 15px 0 10px; }
.odit-post__title a { color: #000; text-decoration: none; }
.odit-post__more { font-family: var(--odit-font); font-size: 20px; text-transform: uppercase; text-decoration: none; }

/* ------------------------------------------------------------ grant block + footer */
.odit-grant { border-top: 2px solid #000; padding: 20px 0 0; }
.odit-grant__text { margin: 0; font-family: Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 1; color: #000; text-align: center; }
.odit-grant__logos { display: flex; justify-content: space-around; align-items: center; padding: 40px 0 30px; }
.odit-grant__logos div { flex: 1 1 50%; display: flex; justify-content: center; }
.odit-grant__logos img { max-height: 150px; width: auto; }
.odit-footer { background: var(--odit-ink); color: #fff; border-top: 2px solid var(--odit-orange); }
.odit-footer__cols { display: flex; padding: 70px 20px; }
.odit-footer__col { flex: 1 1 25%; padding: 10px 24px; }
.odit-footer__h { font-family: Roboto, var(--odit-sys); font-size: 20px; line-height: 1; font-weight: 600; text-transform: uppercase; color: #fff; margin: 0 0 40px; }
.odit-footer__h.is-social { font-family: var(--odit-font); font-weight: 500; }
.odit-footer ul { list-style: none; margin: 0; padding: 0; }
.odit-footer__links a { font-family: var(--odit-font); font-size: 20px; line-height: 35px; color: rgba(255, 255, 255, .98); text-decoration: none; }
.odit-footer__links a:hover { color: var(--odit-orange); }
.odit-footer__social { display: flex; gap: 8px; }
.odit-footer__social a { width: 31px; height: 31px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .21); border-radius: 3px; color: #fff; font-size: 15px; }
.odit-footer__social a:hover { background: var(--odit-orange); }
.odit-footer__bar { display: flex; justify-content: space-between; border-top: 1px solid #f8f5ec; padding: 9px 10px; font-family: Arial, sans-serif; font-size: 13px; color: #bfbfbf; }
.odit-footer__bar a { color: #bfbfbf; text-decoration: none; }

.odit-langs { position: fixed; left: 2px; top: 62vh; z-index: 90; display: flex; flex-direction: column; width: 58px; border: 1px solid #b4b4b4; border-width: 0 1px 1px 0; }
.odit-langs a { display: flex; align-items: center; height: 5vh; min-height: 34px; padding: 0 10px; font-family: var(--odit-font); font-size: 16px; color: #000; background: #fff; text-decoration: none; }
.odit-langs a.is-current { background: rgba(49, 49, 49, .84); color: var(--odit-orange); }

/* ------------------------------------------------------------ responsive (tablet ≤1280, mobile ≤520 like before) */
@media (max-width: 1280px) {
	.odit-nav { padding: 0 20px 0 60px; }
	.odit-display, .odit-page h2.odit-display { font-size: 38px; }
	.odit-page .odit-split__card > h2 { font-size: 28px; }
}
@media (max-width: 1024px) {
	.odit-header__toggle { display: flex; margin-left: auto; margin-right: 10px; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 8px; }
	.odit-header__toggle .is-close, .odit-header.is-open .odit-header__toggle .is-open { display: none; }
	.odit-header.is-open .odit-header__toggle .is-close { display: inline-block; }
	.odit-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 0; background: var(--odit-ink); display: none; max-height: calc(100vh - var(--odit-header)); overflow: auto; }
	.odit-header.is-open .odit-nav { display: block; }
	.odit-nav__list { flex-direction: column; align-items: stretch; }
	.odit-nav a { padding: 14px 24px; }
	.odit-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; }
	.odit-nav .sub-menu a { padding-left: 44px; }
	.odit-split, .odit-split.is-reverse { flex-direction: column; }
	.odit-split > .odit-split__cardcol, .odit-split > .odit-split__media { flex-basis: auto; width: 100%; }
	.odit-split__card, .odit-split.is-reverse .odit-split__card { margin: 0; padding: 40px 25px; }
	.odit-split > .odit-split__media { min-height: 40vh; }
	.odit-iconpair { flex-direction: column; padding: 0 10px; }
	.odit-brands .wp-block-columns { flex-direction: column; min-height: 0; }
	.odit-blog .wp-block-post-template, .odit-posts { grid-template-columns: 1fr; }
	.odit-footer__cols { flex-wrap: wrap; padding: 40px 10px; }
	.odit-footer__col { flex-basis: 50%; margin-bottom: 30px; }
	.odit-langs { top: calc(var(--odit-header) / 2 - 15px); left: auto; right: 64px; flex-direction: row; width: auto; border: 0; z-index: 101; }
	.odit-langs a { height: 30px; min-height: 30px; padding: 0 9px; font-size: 13px; }
	.admin-bar .odit-langs { margin-top: 46px; }
}
@media (max-width: 520px) {
	:root { --odit-header: 76px; }
	.odit-header__logo img { width: 64px; height: 64px; }
	.odit-hero.wp-block-cover { min-height: 70vh; }
	.odit-slide { padding: 0 40px; }
	.odit-page .odit-slide h2 { font-size: 31px; }
	.odit-page .odit-slide p { max-width: 100%; }
	.odit-display, .odit-page h2.odit-display { font-size: 30px; padding: 0 20px; }
	.odit-page p, .odit-page li { font-size: 17px; }
	.odit-footer__col { flex-basis: 100%; }
	.odit-grant__logos { flex-direction: column; gap: 20px; }
	.odit-footer__bar { flex-direction: column; gap: 6px; }
	.odit-iconbox { display: block; }
	.odit-iconbox__icon { margin-bottom: 16px; width: 64px; }
	.odit-page .odit-split__card > h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.odit-slide, .odit-slide.is-active > * { transition: none; animation: none; }
}

/* ============================================================
   Refined look (body.odit-polish) – same identity, tidier details.
   Switch off in Megjelenés → Testreszabás → OD&IT megjelenés.
   ============================================================ */

/* The signature motif – a white card laid over a photo – now carries the same
   orange top rule as the free self-check cards, so the site speaks one visual language. */
.odit-polish .odit-split__card { border-top: 4px solid var(--odit-orange); padding-top: 8%; }
.odit-polish .odit-split.is-reverse .odit-split__card { padding-top: 8%; }
.odit-polish .odit-split__card :is(h2, h3) { font-weight: 600; letter-spacing: .02em; }

/* Hero: a left-to-right shade instead of a flat 50% dim – text stays legible, the video shows. */
.odit-polish .odit-hero .wp-block-cover__background { opacity: 1 !important; background-color: transparent !important;
	background-image: linear-gradient(90deg, rgba(3, 5, 7, .82) 0%, rgba(3, 5, 7, .6) 42%, rgba(3, 5, 7, .18) 100%); }
.odit-polish .odit-page .odit-slide h2 { letter-spacing: -.005em; }
.odit-polish .odit-page .odit-slide p { line-height: 1.5; max-width: 34em; }

/* One button style everywhere. */
.odit-polish .odit-page .wp-block-button__link,
.odit-polish .odit-page .odit-slide .wp-block-button__link { font-size: 16px; font-weight: 600; letter-spacing: .06em; border: 0; border-radius: 2px; padding: 17px 28px 16px; background: var(--odit-orange); color: #fff; }
.odit-polish .odit-page .wp-block-button__link:hover,
.odit-polish .odit-page .wp-block-button__link:focus-visible { background: #d94300; color: #fff; }
.odit-polish .odit-split__card .wp-block-buttons { padding: 26px 0 0; }

/* Headings: one weight per level, tighter display type. */
.odit-polish .odit-display, .odit-polish .odit-page h2.odit-display { letter-spacing: -.01em; line-height: 1.05; margin: 72px 0 12px; }
.odit-polish .odit-page .odit-iconbox :is(h2, h3, h4, h5) { font-weight: 600; line-height: 1.25; }
.odit-polish .odit-iconbox__icon { border-radius: 2px; }
.odit-polish .odit-iconbox.is-stacked .odit-iconbox__icon { color: var(--odit-orange); }

/* Even rhythm between sections. */
.odit-polish .odit-iconpair { margin: 40px 0; }
.odit-polish .odit-split.has-gap-top { margin-top: 40px; }

/* Blog teaser: readable excerpt (the light grey failed contrast), calmer title, steady image ratio. */
.odit-polish .odit-blog .wp-block-post-featured-image { aspect-ratio: 3 / 2; }
.odit-polish .odit-page .odit-blog .wp-block-post-title { font-size: 22px; font-weight: 600; line-height: 1.25; }
.odit-polish .odit-page .odit-blog .wp-block-post-excerpt__excerpt { font-size: 17px; line-height: 1.6; color: #5d6165; }
.odit-polish .odit-blog .wp-block-read-more, .odit-polish .odit-blog .wp-block-post-excerpt__more-link { font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.odit-polish .odit-blog .wp-block-post-title a:hover { color: var(--odit-orange); }

/* Footer: one typeface, clear hierarchy. */
.odit-polish .odit-footer__h, .odit-polish .odit-footer__h.is-social { font-family: var(--odit-font); font-weight: 600; font-size: 15px; letter-spacing: .08em; margin-bottom: 28px; }
.odit-polish .odit-footer__links a { font-size: 17px; line-height: 2.1; }
.odit-polish .odit-footer__social a { width: 38px; height: 38px; font-size: 17px; border-radius: 2px; }
.odit-polish .odit-footer__bar { padding: 14px 24px; font-family: var(--odit-font); font-size: 12px; letter-spacing: .02em; }

/* Language switch: same place, cleaner tab. */
.odit-polish .odit-langs { width: 52px; border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
@media (max-width: 1024px) { .odit-polish .odit-langs { width: auto; box-shadow: none; } .odit-polish .odit-langs a { padding: 0 9px; } }
.odit-polish .odit-langs a { font-size: 13px; font-weight: 600; letter-spacing: .06em; justify-content: center; padding: 0; }
.odit-polish .odit-langs a.is-current { background: var(--odit-ink); color: #fff; box-shadow: inset 3px 0 0 var(--odit-orange); }

@media (max-width: 1024px) {
	.odit-polish .odit-display, .odit-polish .odit-page h2.odit-display { margin-top: 48px; }
	.odit-polish .odit-split__card { border-top-width: 4px; }
}

/* ------------------------------------------------------------ inner pages */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/roboto-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/roboto-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Page hero: full-height picture with the page title (H1). */
.odit-page .wp-block-cover.odit-pagehero { min-height: 100vh; padding: 0 0 0 60px; align-items: center; justify-content: flex-start; }
.odit-page .wp-block-cover.odit-pagehero .wp-block-cover__inner-container { width: 60%; max-width: none; margin: 0; padding-top: 20vh; }
.odit-page .odit-pagehero h1 { font-family: Roboto, var(--odit-sys); font-size: 65px; font-weight: 500; line-height: 1.8; letter-spacing: .6px; text-transform: uppercase; color: #fff; text-shadow: 3px 3px 10px rgba(0, 0, 0, .3); margin: 0 0 10px; }

/* "Founded: 2004" line with the hand-drawn underline. */
.odit-intro { padding: 30px 30px 30px 60px; margin: 10px 0; }
.odit-page h2.odit-founded { font-family: var(--odit-font); font-size: 20px; font-weight: 500; line-height: 1.2; text-transform: none; color: #000; margin: 10px 0; }
.odit-hl { background: none; color: inherit; font-weight: 600; position: relative; display: inline-block; }
.odit-polish .odit-hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.32em; height: .45em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 150' preserveAspectRatio='none'%3E%3Cpath d='M7.7 145.6C109 125 299.9 116.2 401 121.3c42.1 2.2 87.6 11.8 87.3 25.7' fill='none' stroke='%23fa4d02' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

/* Generic multi-column section, counters, link lists, social links, map, pagination. */
.odit-page .wp-block-columns.odit-section { gap: 0; margin: 0; padding: 0 30px; }
/* Text-only sections (long copy): same inset as the intro block. */
.odit-page .wp-block-group.odit-section:has(> p, > h2, > h3) { padding: 30px 30px 30px 60px; margin: 10px 0; }
.odit-split > .odit-split__posts { min-height: 0; align-self: center; padding: 40px 0; }
.odit-split__posts .odit-blog { padding: 0 20px; }
.odit-page .odit-section > .wp-block-column { padding: 10px; }
.odit-counter { text-align: center; padding: 10px 0 20px; }
.odit-page .odit-counter__num { font-size: 69px; font-weight: 600; line-height: 1; margin: 0 0 6px; color: #000; }
.odit-page .odit-counter__label { font-size: 19px; line-height: 1.5; margin: 0; }
.odit-page ul.odit-links { padding-left: 0; list-style: none; }
.odit-page ul.odit-links li { padding: 6px 0 6px 22px; position: relative; }
.odit-page ul.odit-links li::before { content: ""; position: absolute; left: 0; top: .9em; width: 8px; height: 8px; border-top: 2px solid var(--odit-orange); border-right: 2px solid var(--odit-orange); transform: rotate(45deg); }
.odit-page ul.odit-links a { color: #000; }
.odit-page ul.odit-links a:hover { color: var(--odit-orange); }
.odit-page .wp-block-social-links.odit-social { gap: 8px; }
.odit-page .odit-social .wp-social-link { background: #69727d; border-radius: 3px; }
.odit-map { width: 100%; min-height: 280px; }
.odit-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.odit-blog .wp-block-query-pagination { justify-content: center; gap: 14px; padding: 10px 30px 40px; font-family: var(--odit-font); font-size: 18px; }
.odit-blog .wp-block-query-pagination a { color: #000; text-decoration: none; }
.odit-blog .wp-block-query-pagination .current { color: var(--odit-orange); }
.odit-page .wp-block-embed { margin: 0; }

@media (max-width: 1024px) {
	.odit-page .wp-block-cover.odit-pagehero { min-height: 70vh; padding: 0 25px; }
	.odit-page .wp-block-cover.odit-pagehero .wp-block-cover__inner-container { width: 100%; padding-top: 10vh; }
	.odit-page .odit-pagehero h1 { font-size: 40px; line-height: 1.3; }
	.odit-intro { padding: 20px 25px; }
}
@media (max-width: 520px) {
	.odit-page .odit-pagehero h1 { font-size: 25px; }
	.odit-page .wp-block-columns.odit-section { padding: 0 10px; }
	.odit-page .wp-block-group.odit-section:has(> p, > h2, > h3) { padding: 20px 25px; }
}

/* Contact form on the Kapcsolat page: flat, like the approved layout (no card frame, full-width send button). */
.odit-page .odit-st .odit-card.odit-contact { background: none; border: 0; box-shadow: none; padding: 0; }
.odit-page .odit-st { max-width: none; }
.odit-page .odit-contact .odit-label { font-family: var(--odit-font); font-size: 16px; font-weight: 400; color: #000; }
.odit-page .odit-contact .odit-btn.odit-btn { width: 100%; font-family: var(--odit-font); font-weight: 400; font-size: 16px; padding: 12px 24px; }
.odit-page .odit-contact .odit-lead { margin-top: 0; padding: 0; background: none; border-left: 0; }
.odit-page .odit-contact .odit-lead .odit-btn { justify-self: stretch; }
.odit-polish .odit-page .odit-contact .odit-btn.odit-btn { font-weight: 600; }
/* Contact details next to a stacked icon (Kapcsolat): links in brand orange, as approved. */
.odit-page .wp-block-column:has(> .odit-iconbox.is-stacked) > p a { color: var(--odit-orange); }

/* Cookie consent: a quiet panel at the bottom; the page stays usable behind it. */
.odit-consent { position: fixed; z-index: 2000; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.odit-consent[hidden] { display: none; }
.odit-consent__box { pointer-events: auto; max-width: 760px; width: 100%; background: #fff; color: #000; border-top: 4px solid var(--odit-orange); box-shadow: 0 18px 50px -20px rgba(3, 5, 7, .55); padding: 22px 26px; font-family: var(--odit-font); }
.odit-consent__title { font-size: 18px; font-weight: 600; line-height: 1.3; margin: 0 0 8px; }
.odit-consent__text { font-size: 14px; line-height: 1.55; color: #3c4146; margin: 0 0 16px; }
.odit-consent__text a { color: var(--odit-orange); }
.odit-consent__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.odit-consent__btn { font: 500 15px/1 var(--odit-font); text-transform: uppercase; padding: 14px 22px; cursor: pointer; border: 2px solid var(--odit-orange); }
.odit-consent__btn.is-yes { background: var(--odit-orange); color: #fff; }
.odit-consent__btn.is-no { background: #fff; color: #000; border-color: var(--odit-light); }
.odit-consent__btn:hover { filter: brightness(.95); }
.odit-consent__btn:focus-visible, .odit-consent-open:focus-visible { outline: 2px solid var(--odit-ink); outline-offset: 3px; }
.odit-consent-open { background: none; border: 0; padding: 0 0 0 14px; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 520px) { .odit-consent__btn { flex: 1 1 100%; } .odit-consent__box { padding: 18px; } }

/* YouTube click-to-load: same 16:9 frame, dark like a player. */
.odit-ytgate-wrap { margin: 0; }
.odit-ytgate, .odit-ytgate-wrap iframe { aspect-ratio: 16 / 9; width: 100%; border: 0; display: block; }
.odit-ytgate { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: var(--odit-ink) radial-gradient(circle at 50% 45%, #1d2228 0, var(--odit-ink) 70%); color: #fff; }
.odit-ytgate__btn { display: inline-flex; align-items: center; gap: 12px; font: 600 16px/1 var(--odit-font); text-transform: uppercase; color: #fff; background: var(--odit-orange); border: 0; padding: 16px 26px; cursor: pointer; }
.odit-ytgate__btn .odit-ico { width: 14px; height: 18px; }
.odit-ytgate__btn:hover, .odit-ytgate__btn:focus-visible { background: #d94300; }
.odit-ytgate__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.odit-ytgate__note { margin: 0; max-width: 46ch; font-size: 13px; line-height: 1.5; color: #c9cdd1; }
/* Latest posts beside an overlapping card: keep the posts clear of the card. */
.odit-split.is-reverse > .odit-split__posts { padding-right: 17%; }
.odit-split:not(.is-reverse) > .odit-split__posts { padding-left: 17%; }
@media (max-width: 1024px) { .odit-split > .odit-split__posts { padding-left: 0; padding-right: 0; } }
/* A video beside an overlapping card. */
.odit-split > .odit-split__video { min-height: 0; align-self: center; padding: 40px 0; }
.odit-split.is-reverse > .odit-split__video { padding-right: 17%; }
.odit-split:not(.is-reverse) > .odit-split__video { padding-left: 17%; }
@media (max-width: 1024px) { .odit-split > .odit-split__video { padding-left: 0; padding-right: 0; } }

/* ------------------------------------------------------------ design QA fixes */
/* Tool cards: the tool's own intro text must not inherit the page-intro inset; a lone tool card stays boxed. */
.odit-page .odit-st .odit-intro { padding: 0; margin: 0; }
.odit-page .odit-section > .odit-st { max-width: 1114px; width: calc(100% - 32px); margin: 56px auto; }
/* Card over photo: the photo always reaches above and below the card. */
.odit-polish .odit-split { align-items: stretch; }
.odit-polish .odit-split > .odit-split__media.is-contain { align-self: center; } /* a contained picture keeps its own height: no white bands */
.odit-polish .odit-split > .odit-split__cardcol { padding-block: 56px; }
.odit-polish .odit-split__card :is(h2, h3) { line-height: 1.3; }
@media (max-width: 1024px) { .odit-polish .odit-split > .odit-split__cardcol { padding-block: 0; } }
/* NIS2 intro with partner logos. */
.odit-page .odit-brands .wp-block-column > h3:first-child, .odit-page .odit-brands h3.odit-founded { text-align: left; }
.odit-page .odit-brands .wp-block-image img { max-height: 120px; width: auto; }
.odit-page .odit-brands .wp-block-image + h3 { margin-top: 48px; }
.odit-page .odit-pagehero + .odit-brands { padding-top: 48px; }
/* Big headings inside columns never break mid-word. */
.odit-page .wp-block-column .odit-display { font-size: clamp(30px, 3.2vw, 46px); padding: 0; word-break: normal; overflow-wrap: normal; hyphens: manual; }
/* Display headings share the 60px content edge. */
.odit-display, .odit-page h2.odit-display { padding: 0 30px 0 60px; }
/* Blog archive like the home-page teasers. */
.odit-archive .odit-display { padding: 0; margin: 32px 0 28px; }
.odit-post__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 18px; }
.odit-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.odit-post__title { font-size: 22px; font-weight: 600; line-height: 1.25; margin: 0 0 10px; }
.odit-post__title a { color: #000; text-decoration: none; }
.odit-post__title a:hover { color: var(--odit-orange); }
.odit-post__excerpt { font-family: var(--odit-font); font-size: 17px; line-height: 1.6; color: #5d6165; }
.odit-post__more { font-family: var(--odit-font); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--odit-orange); text-decoration: none; }
.odit-archive .nav-links { display: flex; justify-content: center; gap: 14px; margin-top: 48px; font: 500 18px/1 var(--odit-font); }
.odit-archive .nav-links a { color: #000; text-decoration: none; }
.odit-archive .nav-links .current { color: var(--odit-orange); }
/* Buttons never hug the page edge; iconbox buttons line up with the text. */
.odit-page .wp-block-group.odit-section:has(> .wp-block-buttons) { padding: 10px 30px 60px 60px; }
.odit-page .wp-block-column > .odit-iconbox + .wp-block-buttons { margin: 20px 0 0 94px; }
.odit-page .wp-block-columns.odit-section:has(.odit-iconbox) { padding-bottom: 48px; }
/* Page hero: title clear of the language tab, tight lines when it wraps. */
.odit-page .wp-block-cover.odit-pagehero .wp-block-cover__inner-container { padding-top: 4vh; }
.odit-page .odit-pagehero h1 { line-height: 1.15; margin-bottom: 24px; }
/* Text links: brand orange (darker shade for contrast), underlined. */
.odit-page :where(p, li) a { color: #c43d00; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.odit-page :where(p, li) a:hover { color: var(--odit-orange); }
.odit-page .wp-block-column:has(> .odit-iconbox.is-stacked) > p a { text-decoration: none; }
/* Single post: readable measure, visible structure. */
.odit-single { max-width: 920px; }
.odit-single__thumb img { width: 100%; height: auto; }
.odit-single__content :is(h2, h3, h4) { font-size: 24px; font-weight: 600; line-height: 1.3; color: #000; margin: 2em 0 .6em; text-transform: none; }
/* Long legal page (Adatvédelem). */
.odit-page .odit-section:has(> h1) { max-width: 980px; margin: 0 auto; padding: 56px 30px 80px; }
.odit-page .odit-section:has(> h1) > h1 { font-size: 36px; line-height: 1.2; margin: 0 0 28px; }
.odit-page .odit-section:has(> h1) > h2 { font-size: 24px; font-weight: 600; line-height: 1.3; margin: 48px 0 14px; }
.odit-page .odit-section:has(> h1) > h3 { font-weight: 600; margin: 30px 0 10px; }
.odit-page .odit-section:has(> h1) :where(p, li) { font-size: 17px; }
.odit-page .wp-block-table td { font: 16px/1.5 var(--odit-font); padding: 10px 14px; border: 1px solid var(--odit-light); }
/* Latest posts beside a card: one column, short excerpts. */
.odit-split__posts .odit-blog .wp-block-post-template { grid-template-columns: 1fr; }
.odit-split__posts .wp-block-post-excerpt__excerpt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* Kapcsolat: social list as tidy rows; air before the grant block. */
.odit-page .wp-block-column > .odit-iconbox + .odit-iconbox { margin-top: 10px; }
.odit-page .odit-iconbox:has(> .odit-iconbox__body):not(:has(.odit-iconbox__body > :nth-child(2))) { display: flex; align-items: center; gap: 18px; }
.odit-page .odit-iconbox:has(> .odit-iconbox__body):not(:has(.odit-iconbox__body > :nth-child(2))) .odit-iconbox__icon { flex: 0 0 44px; height: 44px; width: 44px; margin: 0; }
.odit-page > .odit-section:last-child { padding-bottom: 64px; }
/* Video in a long-copy section: not a full-width black wall. */
.odit-page .wp-block-group.odit-section > .wp-block-embed.is-provider-youtube { max-width: 1114px; margin: 64px auto; }
/* Comfortable line length in long copy. */
.odit-intro > *, .odit-page .wp-block-group.odit-section:has(> p) > :is(p, h2, h3, ul) { max-width: 1100px; }
.odit-blog .wp-block-post-date { color: #6b7075; }
.odit-page .wp-block-social-links.odit-social { font-size: 22px; }
@media (max-width: 1024px) {
	.odit-polish .odit-langs a { padding: 0 10px; min-width: 40px; }
	.odit-polish .odit-langs { gap: 2px; }
	.odit-display, .odit-page h2.odit-display { padding: 0 25px; }
	.odit-split__posts .odit-blog { padding: 0; }
	.odit-split__posts .odit-blog .wp-block-post-template { padding-inline: 25px; }
}
@media (max-width: 520px) {
	.odit-page .wp-block-column > .odit-iconbox + .wp-block-buttons { margin-left: 0; }
	.odit-page .wp-block-group.odit-section:has(> .wp-block-buttons) { padding: 10px 25px 40px; }
	.odit-brands .wp-block-column { padding: 15px 25px 25px; }
	.wp-block-gallery.is-style-odit-marquee .wp-block-image { flex-basis: calc((100% - 20px) / 2) !important; height: 90px; }
	.odit-partners { padding: 20px 25px; }
	.odit-grant__logos img { max-height: 96px; max-width: 70%; }
}

/* Download page (/pdf/): cover on the left, text and form on the right. */
.odit-page .wp-block-columns.odit-dl { gap: 6%; align-items: flex-start; max-width: 1240px; margin: 0 auto; padding: 72px 30px 90px 60px; }
.odit-dl__cover img { width: 100%; height: auto; box-shadow: 0 24px 50px -24px rgba(3, 5, 7, .55); }
.odit-page .odit-dl__meta { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--odit-orange); margin: 0 0 12px; }
.odit-page h2.odit-dl__title { font-size: 34px; line-height: 1.2; font-weight: 600; text-transform: none; margin: 0 0 18px; }
.odit-page .odit-dl__body :where(p, li) { font-size: 17px; line-height: 1.6; }
.odit-page .odit-dl__body ul { margin: 0 0 28px; padding-left: 1.2em; }
.odit-page .odit-dl__body li { margin-bottom: 6px; }
.odit-page .odit-dl .odit-st { margin: 0; }
@media (max-width: 781px) { .odit-page .wp-block-columns.odit-dl { padding: 40px 25px 60px; } .odit-dl__cover { max-width: 260px; } .odit-page h2.odit-dl__title { font-size: 26px; } }
.odit-page .odit-download .odit-lead { margin-top: 8px; padding: 0; background: none; border-left: 0; }
/* Legal page: real bullet lists (elsewhere lists keep the approved dash style). */
.odit-page .odit-section:has(> h1) ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.odit-page .odit-section:has(> h1) ul ul { list-style: circle; margin: 4px 0 0; }
.odit-page .odit-section:has(> h1) li { margin-bottom: 4px; }
.odit-page .odit-section:has(> h1) .wp-block-table { margin: 0 0 1.2em; }
/* Teaser for the downloadable NIS2 guide (NIS2 page). */
.odit-page .wp-block-columns.odit-dl-cta { gap: 40px; max-width: 1114px; margin: 64px auto; padding: 32px 40px; background: #f4f4f5; border-left: 4px solid var(--odit-orange); }
.odit-page .odit-dl-cta img { width: 100%; height: auto; box-shadow: 0 14px 30px -16px rgba(3, 5, 7, .5); }
.odit-page .odit-dl-cta h3 { font-size: 24px; line-height: 1.25; font-weight: 600; text-transform: none; margin: 0 0 10px; }
.odit-page .odit-dl-cta p { font-size: 17px; margin: 0 0 16px; }
@media (max-width: 781px) { .odit-page .wp-block-columns.odit-dl-cta { margin: 40px 16px; padding: 24px; } .odit-page .odit-dl-cta .wp-block-column:first-child { max-width: 140px; } }

/* Download page: the cover is a book-sized thumbnail, not a poster. */
.odit-page .wp-block-columns.odit-dl > .odit-dl__cover { flex: 0 0 300px !important; max-width: 300px; }
.odit-page .wp-block-columns.odit-dl > .odit-dl__body { flex: 1 1 auto !important; max-width: 720px; }
.odit-page .wp-block-columns.odit-dl { justify-content: center; }
@media (max-width: 781px) { .odit-page .wp-block-columns.odit-dl > .odit-dl__cover { flex-basis: auto !important; max-width: 220px; } }
.odit-page .odit-dl__cover img { width: 100% !important; height: auto !important; aspect-ratio: 720 / 1024; object-fit: cover; }

/* =====================================================================
   Design 2026 – the approved mockup ("nyugodt szakmai tekintély").
   Same brand: orange #fa4d02, near-black #030507, Montserrat, Roboto page titles.
   The Demján Sándor Program block and the footer are deliberately left as they were.
   ===================================================================== */
:root {
	--d-ink: #030507;
	--d-or: #fa4d02;
	--d-or-hover: #ff6d2e;
	--d-or-text: #c23c00;
	--d-grey: #5b6068;
	--d-body: #3a3e44;
	--d-sand: #f4f3f1;
	--d-line: #e6e3df;
	--d-g: max(32px, calc((100% - 1240px) / 2));
	--odit-header: 88px;
}
body { font-family: var(--odit-font); }

/* ---------- header: logo, menu, one call to action */
.odit-header { background: rgba(3, 5, 7, .97); border-bottom: 1px solid rgba(255, 255, 255, .12); }
body.odit-has-hero .odit-header:not(.is-scrolled) { border-bottom-color: rgba(255, 255, 255, .16); }
.odit-header__in { max-width: none; padding: 0 var(--d-g); gap: 32px; }
.odit-header__logo { margin-left: 0; }
.odit-header__logo img { width: 64px; height: 64px; }
.odit-nav { padding: 0; }
.odit-nav__list { justify-content: flex-end; gap: 34px; }
.odit-nav a { font-family: var(--odit-font); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 10px 0; }
.odit-nav .sub-menu { background: var(--d-ink); border-top: 2px solid var(--d-or); padding: 8px 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.odit-nav .sub-menu a { font-family: var(--odit-font); font-size: 15px; font-weight: 500; padding: 10px 22px; }
.odit-header__cta { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; background: var(--d-or); color: var(--d-ink); font: 700 15px/1.2 var(--odit-font); text-decoration: none; border-radius: 4px; transition: background-color .2s; }
.odit-header__cta:hover, .odit-header__cta:focus-visible { background: var(--d-or-hover); color: var(--d-ink); }
.odit-header__cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- type and text */
:where(.odit-page) :where(p, li) { font-size: 18px; line-height: 1.7; letter-spacing: 0; color: var(--d-body); }
.odit-page :is(h2, h3, h4, h5) { color: var(--d-ink); }
body .odit-page .is-upper.is-upper { text-transform: none; }
body .odit-display, body.odit-polish .odit-page h2.odit-display { font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; text-transform: none; padding: 0 var(--d-g); margin: 100px 0 36px; }
body.odit-polish .odit-page .wp-block-column h2.odit-display { padding: 0; font-size: clamp(30px, 3.2vw, 42px); margin-top: 0; }
body .odit-page h2.odit-founded { font-weight: 700; }
body .odit-page :where(p, li) a { color: var(--d-or-text); }
body .odit-page :where(p, li) a:hover { color: var(--d-ink); }

/* ---------- buttons: orange with dark text (readable), outline and dark variants */
body .odit-page .wp-block-button__link,
body.odit-polish .odit-page .wp-block-button__link,
body.odit-polish .odit-page .odit-slide .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--d-or); color: var(--d-ink); border: 2px solid var(--d-or); border-radius: 4px; font: 700 16px/1.2 var(--odit-font); letter-spacing: 0; text-transform: none; text-decoration: none; }
body.odit-polish .odit-page .wp-block-button__link:hover,
body.odit-polish .odit-page .wp-block-button__link:focus-visible { background: var(--d-or-hover); border-color: var(--d-or-hover); color: var(--d-ink); }
body.odit-polish .odit-page .is-style-outline .wp-block-button__link { background: transparent; color: var(--d-ink); border-color: var(--d-ink); }
body.odit-polish .odit-page .is-style-outline .wp-block-button__link:hover { background: var(--d-ink); color: #fff; border-color: var(--d-ink); }
body.odit-polish .odit-page .is-style-dark .wp-block-button__link { background: var(--d-ink); color: #fff; border-color: var(--d-ink); }
body.odit-polish .odit-page .is-style-dark .wp-block-button__link:hover { background: #262a30; border-color: #262a30; color: #fff; }
body.odit-polish .odit-page :is(.odit-hero, .odit-pagehero, .odit-checks) .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
body.odit-polish .odit-page :is(.odit-hero, .odit-pagehero, .odit-checks) .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--d-ink); }
.odit-page .wp-block-button__link:focus-visible { outline: 3px solid var(--d-or); outline-offset: 3px; }
.odit-page .wp-block-buttons { gap: 16px; }

/* ---------- page hero (inner pages): photo under a calm dark layer, title in Roboto */
body .odit-page .wp-block-cover.odit-pagehero { min-height: 600px; padding: calc(var(--odit-header) + 72px) var(--d-g) 96px; align-items: flex-end; justify-content: flex-start; }
body .odit-page .wp-block-cover.odit-pagehero .wp-block-cover__inner-container { width: 100%; max-width: 860px; margin: 0; padding: 0; }
body .odit-page .odit-pagehero .wp-block-cover__background { opacity: 1 !important; background-color: rgba(3, 5, 7, .66) !important; background-image: none !important; }
body .odit-page .odit-pagehero h1 { font-family: Roboto, var(--odit-sys); font-size: 72px; font-weight: 700; line-height: 1.04; letter-spacing: -.015em; text-transform: none; text-shadow: none; color: #fff; margin: 0 0 28px; }
body .odit-page .odit-pagehero :where(p, li) { color: rgba(255, 255, 255, .9); font-size: 20px; }

/* ---------- sections share one content edge (1240 px column) */
body .odit-intro { padding-left: var(--d-g); padding-right: var(--d-g); }
body .odit-page .wp-block-group.odit-section:has(> p, > h2, > h3) { padding-left: var(--d-g); padding-right: var(--d-g); }
body .odit-page .wp-block-group.odit-section:has(> .wp-block-buttons) { padding-left: var(--d-g); padding-right: var(--d-g); }
body .odit-page .wp-block-columns.odit-section { padding-left: calc(var(--d-g) - 10px); padding-right: calc(var(--d-g) - 10px); }
body.odit-polish .odit-iconpair { padding-left: calc(var(--d-g) - 30px); padding-right: calc(var(--d-g) - 30px); margin: 64px 0; }
body .odit-partners { padding: 64px var(--d-g); }
body .odit-brands .wp-block-columns { padding: 0 var(--d-g); gap: 48px; }
body .odit-brands .wp-block-column { padding: 24px 0; }
body .odit-page .odit-section:has(> h1) { padding-left: 32px; padding-right: 32px; } /* legal page keeps its narrow centred column */
body .odit-page .odit-section:has(> h1) > h1 { font-weight: 800; }

/* ---------- card over photo */
body.odit-polish .odit-split__card { border-top: 0; box-shadow: 0 24px 60px rgba(3, 5, 7, .14); }
@media (min-width: 1025px) {
	body.odit-polish .odit-split__card, body.odit-polish .odit-split.is-reverse .odit-split__card { padding: 56px; }
}
body.odit-polish .odit-page .odit-split__card > :is(h2, h3) { font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 22px; }

/* ---------- icon boxes: orange line icons, no grey tile */
body .odit-page .odit-iconbox__icon { background: none; color: var(--d-or); }
body.odit-polish .odit-page .odit-iconbox :is(h2, h3, h4, h5) { font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--d-ink); }
body .odit-page .odit-iconbox p.odit-iconbox__title { font-weight: 700; color: var(--d-ink); }

/* ---------- self-check bands: the photo stays, a dark layer keeps the card calm */
body .odit-page .odit-band .wp-block-cover__background { opacity: 1 !important; background-color: rgba(3, 5, 7, .55) !important; }
body .odit-page .odit-band.wp-block-cover { padding: 80px var(--d-g); }

/* ---------- self-check tools: same buttons and headings as the site (the plugin keeps its function) */
body .odit-page .odit-st .odit-title { text-transform: none; font-weight: 800; letter-spacing: -.005em; }
body .odit-page .odit-st .odit-btn.odit-btn:not(.odit-btn-dark):not(.odit-btn-ok):not(.odit-btn-bad) { background: var(--d-or); color: var(--d-ink); font-weight: 700; text-transform: none; letter-spacing: 0; border-radius: 4px; }
body .odit-page .odit-st .odit-btn.odit-btn:not(.odit-btn-dark):not(.odit-btn-ok):not(.odit-btn-bad):hover { filter: none; background: var(--d-or-hover); color: var(--d-ink); }
body .odit-page .odit-st .odit-card { border-radius: 4px; }

/* ---------- blog teasers */
body.odit-polish .odit-page .odit-blog .wp-block-post-title { font-size: 21px; font-weight: 700; line-height: 1.35; }
body.odit-polish .odit-blog .wp-block-read-more, body.odit-polish .odit-blog .wp-block-post-excerpt__more-link { text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--d-or-text); }
body .odit-post__more { text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--d-or-text); }
body .odit-archive .odit-display { padding: 0; }
body .odit-single__title { text-transform: none; font-weight: 800; }

/* ---------- home: video hero */
body .odit-page .odit-hero--v2.wp-block-cover { min-height: max(720px, 88vh); align-items: center; padding: 0; }
body .odit-page .wp-block-cover.odit-hero.odit-hero--v2 .wp-block-cover__inner-container, body .odit-page .wp-block-cover.odit-hero.odit-hero--v2.has-custom-content-position .wp-block-cover__inner-container { max-width: none; width: 100%; margin: 0; padding: calc(var(--odit-header) + 40px) var(--d-g) 190px; }
body.odit-polish .odit-hero--v2 .wp-block-cover__background { opacity: 1 !important; background-image: none !important; background-color: rgba(3, 5, 7, .62) !important; }
.odit-hero--v2 .wp-block-cover__inner-container > * { max-width: 760px; }
body .odit-page .odit-hero--v2 p.odit-kicker { font-size: 16px; font-weight: 600; line-height: 1.4; color: #ffb894; margin: 0 0 22px; }
body .odit-page .odit-hero--v2 h1.odit-hero__title { font-family: var(--odit-font); font-size: 68px; line-height: 1.04; font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 0 0 26px; text-transform: none; }
body .odit-page .odit-hero--v2 p.odit-hero__lead { max-width: 620px; font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, .9); margin: 0 0 40px; }
body.odit-polish .odit-page .odit-hero--v2 .wp-block-button__link { min-height: 56px; padding: 0 30px; font-size: 17px; }

/* ---------- home: four service cards rising over the video */
.odit-page .odit-cards { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 2px; margin: -130px var(--d-g) 0 !important; background: var(--d-line); box-shadow: 0 24px 60px rgba(3, 5, 7, .18); }
.odit-page .odit-card { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; background: #fff; padding: 40px 32px 36px; }
.odit-page .odit-card > * { margin: 0 !important; }
.odit-card__icon { font-size: 34px; line-height: 1; color: var(--d-or); }
body .odit-page .odit-card h2 { font-size: 22px; font-weight: 700; line-height: 1.25; }
body .odit-page .odit-card p { font-size: 16px; line-height: 1.6; color: var(--d-grey); }
body .odit-page .odit-card p:not(.odit-card__link) { flex-grow: 1; }
body .odit-page .odit-card p.odit-card__link a { font-size: 15px; font-weight: 700; color: var(--d-or-text); text-decoration: none; }
body .odit-page .odit-card p.odit-card__link a:hover { color: var(--d-ink); text-decoration: underline; }

/* ---------- home: shared section pieces */
body .odit-page h2.odit-h2 { font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; margin: 0 0 24px; }
body .odit-page p.odit-sub { max-width: 640px; color: var(--d-grey); margin: 0 0 48px; }
body .odit-page p.odit-meta { font-size: 15px; font-weight: 700; color: var(--d-or-text); margin: 0 0 10px; }

/* about */
.odit-page .wp-block-columns.odit-about { gap: 72px; padding: 130px var(--d-g) 110px; margin: 0; }
.odit-about__media { position: relative; }
.odit-about__media .wp-block-image { margin: 0; }
.odit-about__media img { display: block; width: 100%; height: 460px; object-fit: cover; border-radius: 4px; }
body .odit-page .odit-about__media p.odit-badge { position: absolute; left: -28px; bottom: -28px; max-width: 250px; margin: 0; padding: 22px 26px; background: var(--d-or); color: var(--d-ink); font-size: 17px; font-weight: 700; line-height: 1.35; }
.odit-about .wp-block-buttons { margin-top: 32px; }

/* steps */
.odit-page .odit-steps { background: var(--d-sand); padding: 100px var(--d-g); }
.odit-page .wp-block-columns.odit-steps__row { gap: 28px; margin: 0; }
.odit-page .odit-step { border-top: 3px solid var(--d-ink); padding-top: 22px; }
.odit-page .odit-step.is-last { border-top-color: var(--d-or); }
body .odit-page p.odit-step__n { font-size: 15px; font-weight: 700; color: var(--d-or-text); margin: 0 0 10px; }
body .odit-page .odit-step h3 { font-size: 21px; font-weight: 700; line-height: 1.3; margin: 0 0 10px; }
body .odit-page .odit-step p:not(.odit-step__n) { font-size: 16px; line-height: 1.6; }

/* free checks (the tools hub) on dark */
.odit-page .odit-checks { background: var(--d-ink); padding: 100px var(--d-g); scroll-margin-top: var(--odit-header); }
body .odit-page .odit-checks h2 { color: #fff; scroll-margin-top: calc(var(--odit-header) + 24px); }
body .odit-page .odit-checks p.odit-sub { color: rgba(255, 255, 255, .78); margin-bottom: 36px; }
.odit-checks .odit-st { max-width: none; }
body .odit-page .odit-checks .odit-st .odit-tabs { gap: 10px; flex-wrap: wrap; overflow: visible; padding-bottom: 28px; }
body .odit-page .odit-checks .odit-st .odit-tab.odit-tab { min-height: 44px; padding: 0 20px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 4px; background: transparent; color: #fff; font: 600 15px/1.2 var(--odit-font); text-transform: none; letter-spacing: 0; }
body .odit-page .odit-checks .odit-st .odit-tab.odit-tab:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: #fff; }
body .odit-page .odit-checks .odit-st .odit-tab.is-active, body .odit-page .odit-checks .odit-st .odit-tab.is-active:hover { background: var(--d-or); border-color: var(--d-or); color: var(--d-ink); }
body .odit-page .odit-checks .odit-st .odit-card { border-top: 0; }

/* quote */
.odit-page .wp-block-columns.odit-quote { gap: 64px; padding: 110px var(--d-g); margin: 0; }
.odit-quote__media .wp-block-image { margin: 0; }
.odit-quote__media img { display: block; width: 100%; height: 480px; object-fit: cover; border-radius: 4px; }
.odit-page .wp-block-quote.odit-quote__q { margin: 0; padding: 0; border: 0; }
.odit-page .wp-block-quote.odit-quote__q::before { content: "\201E"; display: block; font: 800 96px/.6 var(--odit-font); color: var(--d-or); margin-bottom: 18px; }
body .odit-page .odit-quote__q p { font-size: 28px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; color: var(--d-ink); margin: 0 0 22px; }
.odit-page .odit-quote__q cite { display: block; font: 600 17px/1.5 var(--odit-font); font-style: normal; color: var(--d-grey); }
body .odit-page p.odit-quote__link { margin-top: 28px; }
body .odit-page p.odit-quote__link a { font-size: 16px; font-weight: 700; }

/* NIS2 guide teaser */
.odit-page .wp-block-columns.odit-pdfteaser { gap: 56px; padding: 80px var(--d-g); margin: 0; background: var(--d-sand); }
.odit-pdfteaser .wp-block-image { margin: 0; }
.odit-pdfteaser .wp-block-image img { display: block; width: 100%; height: auto; box-shadow: 0 18px 40px rgba(3, 5, 7, .22); }
body .odit-page .odit-pdfteaser h2.odit-h2 { font-size: 34px; line-height: 1.2; margin-bottom: 14px; }
.odit-pdfteaser .wp-block-buttons { margin-top: 28px; }

/* news */
.odit-page .odit-news { padding: 110px var(--d-g); }
.odit-page .odit-news__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
body .odit-page .odit-news__head h2.odit-h2 { margin: 0; }
body .odit-page .odit-news__head p.odit-news__all { margin: 0; }
body .odit-page .odit-news__head p.odit-news__all a { font-size: 16px; font-weight: 700; }
body .odit-page .odit-news .odit-blog { padding: 0; }
body .odit-page .odit-news .odit-blog .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; }
body .odit-page .odit-news .wp-block-post { border-top: 1px solid #d9d6d2; padding-top: 24px; display: flex; flex-direction: column; }
body .odit-page .odit-news .wp-block-post-date { order: -1; margin: 0 0 12px; font: 400 14px/1.4 var(--odit-font); color: var(--d-grey); }
body.odit-polish .odit-page .odit-news .wp-block-post-title { font-size: 21px; line-height: 1.35; margin: 0; }
.odit-page .odit-news .wp-block-post-title a { color: var(--d-ink); }

/* ---------- tablet and phone */
@media (max-width: 1024px) {
	:root { --d-g: 24px; }
	.odit-header__cta { display: none; }
	.odit-header__in { padding: 0 16px 0 20px; }
	.odit-nav__list { gap: 0; }
	.odit-nav a { padding: 14px 24px; font-size: 16px; }
	body .odit-page .wp-block-cover.odit-pagehero { min-height: 480px; padding-bottom: 64px; }
	body .odit-page .odit-pagehero h1 { font-size: 48px; }
	body .odit-display, body.odit-polish .odit-page h2.odit-display { font-size: 34px; margin-top: 72px; }
	body.odit-polish .odit-iconpair { padding-left: 0; padding-right: 0; }
	body .odit-brands .wp-block-columns { padding: 0 24px; gap: 0; }
	.odit-page .wp-block-columns.odit-about { gap: 56px; padding: 96px 24px 96px; }
	body .odit-page .odit-about__media p.odit-badge { left: 0; bottom: -24px; }
	.odit-page .wp-block-columns.odit-quote { padding: 80px 24px; gap: 40px; }
	body .odit-page .odit-news .odit-blog .wp-block-post-template { grid-template-columns: 1fr; }
}
@media (max-width: 781px) {
	.odit-page .wp-block-columns.odit-pdfteaser { gap: 28px; padding: 56px 24px; }
	.odit-page .wp-block-columns.odit-pdfteaser > .wp-block-column:first-child { max-width: 160px; }
	.odit-page .wp-block-columns.odit-steps__row { gap: 32px; }
}
@media (max-width: 520px) {
	:root { --d-g: 20px; --odit-header: 72px; }
	.odit-header__logo img { width: 52px; height: 52px; }
	body .odit-page .odit-pagehero h1 { font-size: 36px; }
	body .odit-page .wp-block-cover.odit-pagehero { min-height: 420px; padding-top: calc(var(--odit-header) + 48px); padding-bottom: 48px; }
	body .odit-display, body.odit-polish .odit-page h2.odit-display { font-size: 28px; margin: 56px 0 24px; }
	body .odit-page .odit-hero--v2 h1.odit-hero__title { font-size: 40px; line-height: 1.08; }
	body .odit-page .odit-hero--v2 p.odit-hero__lead { font-size: 17px; }
	body .odit-page .wp-block-cover.odit-hero.odit-hero--v2.has-custom-content-position .wp-block-cover__inner-container { padding-bottom: 110px; padding-top: calc(var(--odit-header) + 32px); }
	body .odit-page .odit-hero--v2 .wp-block-buttons { flex-direction: column; align-items: stretch; }
	body .odit-page .odit-hero--v2 .wp-block-button, body.odit-polish .odit-page .odit-hero--v2 .wp-block-button__link { width: 100%; }
	.odit-page .odit-cards { margin-top: -60px !important; }
	.odit-page .odit-card { padding: 26px 22px; }
	body .odit-page h2.odit-h2 { font-size: 30px; }
	.odit-about__media img { height: 260px; }
	.odit-quote__media img { height: 280px; }
	body .odit-page .odit-quote__q p { font-size: 21px; }
	.odit-page .odit-steps, .odit-page .odit-checks, .odit-page .odit-news { padding-top: 64px; padding-bottom: 64px; }
	.odit-page .odit-checks .odit-st .odit-tabs { gap: 8px; }
	body.odit-polish .odit-split__card { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
	.odit-hero--v2 video { display: none; }
}

/* brands and partners in the new rhythm */
body .odit-brands .wp-block-columns { min-height: 0; padding-top: 24px; padding-bottom: 24px; }
body .odit-brands .wp-block-column.is-media .wp-block-image { width: 70% !important; max-width: 340px; }
body .odit-brands .wp-block-column.is-media .wp-block-image img { width: 100% !important; height: auto; max-height: 240px; object-fit: contain; }
body.odit-polish .odit-page .odit-brands h3 { font-size: 24px; font-weight: 700; line-height: 1.3; text-align: left; margin-bottom: 16px; }
body .odit-page .odit-partners h2 { font-size: 28px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
/* long sentence headings inside the photo cards stay readable */
body.odit-polish .odit-page .odit-split__card > :is(h2, h3) { font-size: 26px; font-weight: 700; line-height: 1.3; }
/* air between the last section and the grant block */
.odit-page > .odit-split:last-child { margin-bottom: 96px; }
/* Kapcsolat: the contact details under the hero */
.odit-page .odit-pagehero + .wp-block-columns.odit-section { padding-top: 72px; padding-bottom: 32px; }
body .odit-page .wp-block-column p.is-label { font-size: 15px; font-weight: 700; color: var(--d-ink); margin: 18px 0 2px; }
.odit-page .odit-map { border-radius: 4px; overflow: hidden; margin-top: 8px; }
.odit-page .odit-map .odit-mapgate { height: 100%; min-height: 280px; }
@media (max-width: 781px) { body .odit-single__title { font-size: 30px; line-height: 1.2; } }

/* ---------- language switch in the header (as in the approved design) */
body .odit-header .odit-langs { position: static; display: flex; flex-direction: row; align-items: center; gap: 2px; width: auto; border: 0; box-shadow: none; margin: 0; flex: none; }
body .odit-header .odit-langs a { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-height: 44px; min-width: 36px; padding: 0 6px; background: transparent; color: rgba(255, 255, 255, .7); font: 600 14px/1 var(--odit-font); letter-spacing: .04em; box-shadow: none; text-decoration: none; }
body .odit-header .odit-langs a:hover { color: #fff; }
body .odit-header .odit-langs a.is-current { background: transparent; color: #fff; box-shadow: inset 0 -2px 0 var(--d-or); }
@media (max-width: 1024px) {
	body .odit-header .odit-langs { order: 2; margin-left: auto; }
	body .odit-header .odit-header__toggle { order: 3; margin-left: 6px; }
}

/* ---------- Kapcsolat: form beside the contact details, then the map */
.odit-anchor { display: block; position: relative; top: -24px; scroll-margin-top: var(--odit-header); }
.odit-page .wp-block-columns.odit-contactmain { gap: 64px; margin: 0; padding: 80px var(--d-g) 40px; align-items: flex-start; }
.odit-contactmain__form .odit-st .odit-card.odit-contact { background: #fff; border: 1px solid var(--d-line); border-top: 4px solid var(--d-or); border-radius: 4px; box-shadow: 0 24px 60px rgba(3, 5, 7, .10); padding: 40px; }
body .odit-page .odit-contactmain__aside h2 { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--d-ink); margin: 28px 0 6px; }
body .odit-page .odit-contactmain__aside h2:first-child { margin-top: 8px; }
body .odit-page .odit-contactmain__aside p { font-size: 17px; line-height: 1.7; margin: 0; }
body .odit-page .odit-contactmain__aside p a { color: var(--d-or-text); text-decoration: none; font-weight: 600; }
body .odit-page .odit-contactmain__aside .odit-iconbox { margin-top: 10px; }
body .odit-page .odit-contactmain__aside .odit-iconbox + .odit-iconbox { margin-top: 6px; }
.odit-page .odit-mapsec { padding: 40px var(--d-g) 24px; }
.odit-page .odit-mapsec .odit-map { margin: 0; }
@media (max-width: 781px) {
	.odit-page .wp-block-columns.odit-contactmain { gap: 40px; padding-top: 48px; }
	.odit-contactmain__form .odit-st .odit-card.odit-contact { padding: 24px 20px; }
}

/* ---------- latest posts beside a photo card: compact rows, not posters */
body .odit-page .odit-split__posts .odit-blog .wp-block-post-template { grid-template-columns: 1fr; gap: 28px; padding: 0; }
body .odit-page .odit-split__posts .odit-blog .wp-block-post { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; align-content: start; }
body .odit-page .odit-split__posts .odit-blog .wp-block-post > * { grid-column: 2; margin: 0 0 6px; }
body .odit-page .odit-split__posts .odit-blog .wp-block-post-featured-image { grid-column: 1; grid-row: 1 / span 6; margin: 0; aspect-ratio: 3 / 2; }
body.odit-polish .odit-page .odit-split__posts .odit-blog .wp-block-post-title { font-size: 19px; line-height: 1.35; }
body .odit-page .odit-split__posts .odit-blog .wp-block-post-date { margin: 0 0 6px; }
body.odit-polish .odit-page .odit-split__posts .odit-blog .wp-block-post-excerpt__excerpt { font-size: 15px; line-height: 1.55; -webkit-line-clamp: 3; margin: 0 0 4px; }
body.odit-polish .odit-page .odit-split__posts .odit-blog .wp-block-post-excerpt__more-link { font-size: 14px; }
body .odit-page .odit-split__posts .odit-blog .wp-block-post-excerpt__more-text { margin: 0; }
@media (max-width: 520px) {
	body .odit-page .odit-split__posts .odit-blog .wp-block-post { grid-template-columns: 110px minmax(0, 1fr); column-gap: 16px; }
	body.odit-polish .odit-page .odit-split__posts .odit-blog .wp-block-post-title { font-size: 17px; }
	body.odit-polish .odit-page .odit-split__posts .odit-blog .wp-block-post-excerpt__excerpt { display: none; }
}
@media (min-width: 1025px) {
	body .odit-split.is-reverse > .odit-split__posts { padding-left: var(--d-g); padding-right: 14%; }
	body .odit-split:not(.is-reverse) > .odit-split__posts { padding-right: var(--d-g); padding-left: 14%; }
}
@media (max-width: 1024px) { body .odit-split > .odit-split__posts { padding: 40px var(--d-g); } }
body .odit-page .odit-contactmain__aside .odit-iconbox p.odit-iconbox__title { font-size: 17px; font-weight: 600; }
body .odit-page .odit-contactmain__aside .odit-iconbox p.odit-iconbox__title a { color: var(--d-ink); }
body .odit-page .odit-contactmain__aside .odit-iconbox p.odit-iconbox__title a:hover { color: var(--d-or-text); }
body .odit-page .odit-contactmain__aside .odit-iconbox .odit-iconbox__icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 22px; }
