/* ==========================================================================
   Békéscsaba Energia ESCO – landing
   Értékek 1:1 a new-v2.bcsenergia.hu (Oxygen) renderelt oldaláról mérve.
   Breakpointok: 1120 / 991 / 767 / 479 px (max-width), mint az eredetiben.
   ========================================================================== */

/* ---------- Fontok (self-hosted, Google Fonts / OFL) ---------- */
@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/barlow-latin-ext-700-normal.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: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/barlow-latin-700-normal.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;
}
@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(../fonts/barlow-latin-ext-800-normal.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: "Barlow"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(../fonts/barlow-latin-800-normal.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;
}
@font-face {
  font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/fira-sans-latin-ext-400-normal.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: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/fira-sans-latin-400-normal.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;
}

/* Fira Sans félkövér és dőlt: csak a cikkek/aloldalak szövegében, ezért csak ott töltődnek le. */
@font-face {
  font-family: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/fira-sans-latin-ext-700-normal.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: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/fira-sans-latin-700-normal.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;
}
@font-face {
  font-family: "Fira Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/fira-sans-latin-ext-400-italic.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: "Fira Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/fira-sans-latin-400-italic.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;
}

/* ---------- Tokenek ---------- */
:root {
  --c-bg: #472361;
  --c-teal: #32c7bb;
  --c-purple: #9933cc;
  --c-white: #fff;
  --c-muted: rgba(255, 255, 255, 0.6);
  --c-text: #404040;
  --f-body: "Fira Sans", sans-serif;
  --f-head: "Barlow", sans-serif;
  --gap: 0.5em;           /* sorok / csempék közti rés (8px) */
  --tile: 200px;          /* kis csempe oldala, nagy csempe magassága */
  --tile-inset: 15px;     /* cím és nyíl távolsága a csempe szélétől */
  --title-size: 24px;
  --arrow: 30px;
  /* levágott sarkú doboz */
  --bevel: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px);
}

/* ---------- Alap ---------- */
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-y: scroll;
  background: var(--c-bg);
  color: var(--c-text);
  font: 400 16px/1.6 var(--f-body);
}
/* Egyedi görgetősáv (Chromium/Safari), mint az eredetiben. Firefoxban a rendszer alapértelmezett sávja marad. */
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-thumb { background: var(--c-teal); border-radius: 6px; }
body::-webkit-scrollbar-track { background: #9b51e0; border-radius: 6px; }
h1, h2, p { margin: 0; }
img, svg { display: block; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--c-white); outline-offset: 2px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Fejléc: logó + név balra, social + kapcsolat jobbra, egy sorban ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  min-height: 200px;   /* kb. egy csempényi hely a csempék fölött */
  padding-block: 20px;
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-contact .social { gap: 8px; }
.header-contact .social a { width: 22px; height: 22px; }
.social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social a {
  display: flex;
  width: 30px;
  height: 30px;
  color: var(--c-white);
}
.social svg { width: 100%; height: 100%; fill: currentColor; }
.social a:hover { color: rgba(255, 255, 255, 0.8); }
.contact-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--c-teal);
  clip-path: var(--bevel);
  color: var(--c-white);
  font: 800 18px/1.4 var(--f-head);
  text-transform: uppercase;
  text-decoration: none;
}
.contact-link:hover { background: var(--c-purple); }

/* ---------- Logó + név ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 1em;
}
.brand__home { text-decoration: none; }
.brand__logo { width: 96px; height: auto; }
.brand__name {
  color: var(--c-white);
  font: 700 26px/1.2 var(--f-head);
  text-transform: uppercase;
}

/* ---------- Témák (csempe-sorok) ---------- */
.topic {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.topic__row {
  display: flex;
  gap: var(--gap);
}
.tile {
  display: flex;
  align-items: flex-end;
  margin: 0;
  clip-path: var(--bevel);
}
.tile--small {
  width: var(--tile);
  height: var(--tile);
  background: var(--c-teal);
  color: var(--c-white);
}
a.tile--small { text-decoration: none; }
a.tile--small:hover { background: var(--c-purple); }
.tile--large {
  flex: 1 1 0%;
  height: var(--tile);
  color: var(--c-teal);
  background-size: cover;
  background-repeat: no-repeat;
}
.tile__toggle {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.tile__toggle:focus-visible { outline-offset: -4px; }
.tile__title {
  margin: var(--tile-inset);
  font: 800 var(--title-size)/1.4 var(--f-head);
  text-transform: uppercase;
}
.tile__arrow {
  flex-shrink: 0;
  width: var(--arrow);
  height: var(--arrow);
  margin: var(--tile-inset);
  fill: currentColor;
  transition: transform 0.25s;
}
.tile--large:hover,
.topic.is-open .tile--large { color: var(--c-white); }
.topic.is-open .tile__arrow { transform: rotate(180deg); }

/* Csempe-hátterek (alap / hover+nyitott). Pozíció breakpointonként, ld. lent. */
.topic--bemutatkozas .tile--large {
  background-image: url(../img/bemutatkozas-bg-1920.webp);
  background-image: image-set(url(../img/bemutatkozas-bg-960.webp) 1x, url(../img/bemutatkozas-bg-1920.webp) 2x);
  background-position: 0% -128px;
}
.topic--bemutatkozas .tile--large:hover,
.topic--bemutatkozas.is-open .tile--large {
  background-image: url(../img/bemutatkozas-bg-hover-1920.webp);
  background-image: image-set(url(../img/bemutatkozas-bg-hover-960.webp) 1x, url(../img/bemutatkozas-bg-hover-1920.webp) 2x);
}
.topic--okosvaros .tile--large {
  background-image: url(../img/projektek-bg-1920.webp);
  background-image: image-set(url(../img/projektek-bg-960.webp) 1x, url(../img/projektek-bg-1920.webp) 2x);
  background-position: 0% -160px;
}
.topic--okosvaros .tile--large:hover,
.topic--okosvaros.is-open .tile--large {
  background-image: url(../img/projektek-bg-hover-1920.webp);
  background-image: image-set(url(../img/projektek-bg-hover-960.webp) 1x, url(../img/projektek-bg-hover-1920.webp) 2x);
}
.topic--projektek .tile--large {
  background-image: url(../img/smartplatform-bg-hover-1-1920.webp);
  background-image: image-set(url(../img/smartplatform-bg-hover-1-960.webp) 1x, url(../img/smartplatform-bg-hover-1-1920.webp) 2x);
  background-position: 0% -208px;
}
.topic--projektek .tile--large:hover,
.topic--projektek.is-open .tile--large {
  background-image: url(../img/beautiful-city-view-1920.webp);
  background-image: image-set(url(../img/beautiful-city-view-960.webp) 1x, url(../img/beautiful-city-view-1920.webp) 2x);
}
.topic--energetika .tile--large {
  background-image: url(../img/energetikaimegoldasok-bg-1920.webp);
  background-image: image-set(url(../img/energetikaimegoldasok-bg-960.webp) 1x, url(../img/energetikaimegoldasok-bg-1920.webp) 2x);
  background-position: 0% -32px;
}
.topic--energetika .tile--large:hover,
.topic--energetika.is-open .tile--large {
  background-image: url(../img/energetikaimegoldasok-bg-hover-1920.webp);
  background-image: image-set(url(../img/energetikaimegoldasok-bg-hover-960.webp) 1x, url(../img/energetikaimegoldasok-bg-hover-1920.webp) 2x);
}

/* Érintőképernyőn nincs hover-csere (csak a nyitott állapot vált képet). */
@media (hover: none) and (pointer: coarse) {
  .topic:not(.is-open) .tile--large:hover { color: var(--c-teal); }
  .topic--bemutatkozas:not(.is-open) .tile--large:hover {
    background-image: url(../img/bemutatkozas-bg-1920.webp);
    background-image: image-set(url(../img/bemutatkozas-bg-960.webp) 1x, url(../img/bemutatkozas-bg-1920.webp) 2x);
  }
  .topic--okosvaros:not(.is-open) .tile--large:hover {
    background-image: url(../img/projektek-bg-1920.webp);
    background-image: image-set(url(../img/projektek-bg-960.webp) 1x, url(../img/projektek-bg-1920.webp) 2x);
  }
  .topic--projektek:not(.is-open) .tile--large:hover {
    background-image: url(../img/smartplatform-bg-hover-1-1920.webp);
    background-image: image-set(url(../img/smartplatform-bg-hover-1-960.webp) 1x, url(../img/smartplatform-bg-hover-1-1920.webp) 2x);
  }
  .topic--energetika:not(.is-open) .tile--large:hover {
    background-image: url(../img/energetikaimegoldasok-bg-1920.webp);
    background-image: image-set(url(../img/energetikaimegoldasok-bg-960.webp) 1x, url(../img/energetikaimegoldasok-bg-1920.webp) 2x);
  }
}

/* ---------- Lenyíló panel ---------- */
.panel {
  display: flex;
  gap: var(--gap);
  height: 0;
  overflow: hidden;
  transition: height 0.35s;
}
/* A szöveg a nagy csempe alá igazodik: a kis csempe felőli oldalon csempényi hely marad. */
.topic:not(.topic--reverse) .panel { padding-left: calc(var(--tile) + var(--gap)); }
.topic--reverse .panel { padding-right: calc(var(--tile) + var(--gap)); }
.panel__body {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 32px;
  color: var(--c-white);
}
.more-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--c-muted);
  font: 800 24px/1.6 var(--f-head);
  text-transform: uppercase;
  text-decoration: none;
}
.more-link svg,
.back-link svg { flex-shrink: 0; width: 30px; height: 30px; fill: currentColor; }
.more-link svg { transform: scaleX(-1); }
.more-link:hover,
.back-link:hover { color: var(--c-white); }
.card {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 15px;
  background: var(--c-teal);
  clip-path: var(--bevel);
  font: 800 24px/1.6 var(--f-head);
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}
.card:hover { background: var(--c-purple); }

/* ---------- Lábléc: social + kapcsolat (mobil) ---------- */
.footbar {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1em;
  padding-block: 75px;
}

/* ========================================================================== */
@media (max-width: 1120px) {
  .topics { padding-inline: 8px; }
  .topic--okosvaros .tile--large { background-position: 0% -128px; }
  .topic--projektek .tile--large { background-position: 0% -160px; }
  .topic--energetika .tile--large { background-position: 0% -16px; }
}

@media (max-width: 991px) {
  .card { height: 35px; padding: 5px; }
  .topic--bemutatkozas .tile--large { background-position: 0% -64px; }
  .topic--okosvaros .tile--large { background-position: 0% -96px; }
  .topic--projektek .tile--large { background-position: 0% -48px; }
}

@media (max-width: 767px) {
  :root { --tile: 120px; --title-size: 20px; --arrow: 20px; }
  .header-contact { display: none; }
  .footbar { display: flex; }
  .panel { flex-direction: column; }
  .topic:not(.topic--reverse) .panel, .topic--reverse .panel { padding-inline: 0; }
  .site-header { min-height: 0; }
  .more-link, .back-link { gap: 12px; font-size: 20px; }
  .more-link svg, .back-link svg { width: 20px; height: 20px; }
  .card { font-size: 15px; }
  .topic--bemutatkozas .tile--large,
  .topic--okosvaros .tile--large,
  .topic--projektek .tile--large { background-position: 0% -32px; }
  .topic--energetika .tile--large { background-position: 0% 0px; }
}

@media (max-width: 479px) {
  :root { --tile: 90px; --title-size: 15px; --arrow: 18px; }
  .brand__name { font-size: 18px; }
  .card { font-size: 12px; }
  .topic--bemutatkozas .tile--large { background-position: 0% 0px; }
  .topic--okosvaros .tile--large,
  .topic--projektek .tile--large { background-position: 0% -16px; }
}

@media (prefers-reduced-motion: reduce) {
  .panel, .tile__arrow { transition: none; }
}

/* ==========================================================================
   Aloldalak és hírek
   A főoldal elemeiből építkezik: ugyanaz a csempe-sor fejlécnek, a kártya navigációnak.
   ========================================================================== */
.page {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.brand__home:focus-visible { outline-offset: 4px; }

/* Fejléc-sor: „← vissza” link a kis csempe helyén + nagy képes csempe */
.page-hero .back-link {
  flex-shrink: 0;
  justify-content: center;
  align-self: flex-end;
  width: var(--tile);
  margin-bottom: 12px;   /* a nagy csempe címének vonalában */
}
.tile--hero {
  position: relative;
  flex: 1 1 0%;
  overflow: hidden;
  color: var(--c-white);
  background-color: var(--c-teal);
  background-size: cover;
  background-position: 50% 50%;
}
.tile--hero .tile__title { position: relative; }
.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fejléc-képek (az oldal „Fejléc kép” mezője) */
.bg--bemutatkozas-bg { background-image: url(../img/bemutatkozas-bg-1920.webp); background-image: image-set(url(../img/bemutatkozas-bg-960.webp) 1x, url(../img/bemutatkozas-bg-1920.webp) 2x); }
.bg--bemutatkozas-bg-hover { background-image: url(../img/bemutatkozas-bg-hover-1920.webp); background-image: image-set(url(../img/bemutatkozas-bg-hover-960.webp) 1x, url(../img/bemutatkozas-bg-hover-1920.webp) 2x); }
.bg--projektek-bg { background-image: url(../img/projektek-bg-1920.webp); background-image: image-set(url(../img/projektek-bg-960.webp) 1x, url(../img/projektek-bg-1920.webp) 2x); }
.bg--projektek-bg-hover { background-image: url(../img/projektek-bg-hover-1920.webp); background-image: image-set(url(../img/projektek-bg-hover-960.webp) 1x, url(../img/projektek-bg-hover-1920.webp) 2x); }
.bg--smartplatform-bg-hover-1 { background-image: url(../img/smartplatform-bg-hover-1-1920.webp); background-image: image-set(url(../img/smartplatform-bg-hover-1-960.webp) 1x, url(../img/smartplatform-bg-hover-1-1920.webp) 2x); }
.bg--beautiful-city-view { background-image: url(../img/beautiful-city-view-1920.webp); background-image: image-set(url(../img/beautiful-city-view-960.webp) 1x, url(../img/beautiful-city-view-1920.webp) 2x); }
.bg--energetikaimegoldasok-bg { background-image: url(../img/energetikaimegoldasok-bg-1920.webp); background-image: image-set(url(../img/energetikaimegoldasok-bg-960.webp) 1x, url(../img/energetikaimegoldasok-bg-1920.webp) 2x); }
.bg--energetikaimegoldasok-bg-hover { background-image: url(../img/energetikaimegoldasok-bg-hover-1920.webp); background-image: image-set(url(../img/energetikaimegoldasok-bg-hover-960.webp) 1x, url(../img/energetikaimegoldasok-bg-hover-1920.webp) 2x); }

/* Tartalom: a nagy csempe alá igazítva, mint a főoldali lenyíló szövege */
.page-body {
  padding-left: calc(var(--tile) + var(--gap));
  padding-bottom: 75px;
}
.page-content {
  display: flex;
  flex-direction: column;
  gap: 2em;
  padding-top: 16px;
  color: var(--c-white);
}
.page-empty { margin: 0; color: var(--c-muted); }
.page-empty a { color: var(--c-teal); }
.page-section { scroll-margin-top: 16px; }
.page-section__title,
.prose h2 {
  margin: 0 0 0.5em;
  color: var(--c-teal);
  font: 800 24px/1.4 var(--f-head);
  text-transform: uppercase;
}

/* Szerkesztett szöveg (Bard) */
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 1em; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin: 1.5em 0 0.5em; font: 700 20px/1.4 var(--f-head); }
.prose a { color: var(--c-teal); }
.prose a:hover { color: var(--c-white); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.25em; }
.prose li > p { margin: 0; }
.prose blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 4px solid var(--c-teal); }
.prose img { max-width: 100%; height: auto; margin: 1.5em 0; clip-path: var(--bevel); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 0.5em; border: 1px solid rgba(255, 255, 255, 0.2); text-align: left; vertical-align: top; }

/* Hírek listája */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 200px;
  overflow: hidden;
  clip-path: var(--bevel);
  background: var(--c-teal);
  color: var(--c-white);
  text-decoration: none;
}
.news-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-tile:not(.news-tile--noimg)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(71, 35, 97, 0.92) 0%, rgba(71, 35, 97, 0.35) 55%, rgba(71, 35, 97, 0) 100%);
}
.news-tile__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: var(--tile-inset);
}
.news-tile__date { font-size: 14px; line-height: 1.4; opacity: 0.85; }
.news-tile__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font: 800 20px/1.25 var(--f-head);
  text-transform: uppercase;
}
.news-tile:hover .news-tile__img { transform: scale(1.04); }
.news-tile--noimg:hover { background: var(--c-purple); }

.pager {
  display: flex;
  align-items: center;
  gap: 1em;
  padding-bottom: 75px;
  color: var(--c-muted);
}
.pager .card { width: auto; }

/* Hír oldal */
.article-head { display: flex; flex-direction: column; gap: 0.5em; }
.article-head__date { color: var(--c-muted); font-size: 14px; }
.article-head__title { font: 800 32px/1.2 var(--f-head); }
.article-head__lead { margin: 0; font-size: 20px; line-height: 1.5; }

@media (max-width: 991px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .page-body { padding-left: 0; }
  .page-hero { flex-wrap: wrap; }
  .page-hero .back-link { width: 100%; justify-content: flex-start; margin: 0; }
  .news-grid { grid-template-columns: 1fr; }
  .news-tile { height: 160px; }
  .article-head__title { font-size: 26px; }
  .article-head__lead { font-size: 18px; }
}
@media (max-width: 479px) {
  .page-section__title, .prose h2 { font-size: 20px; }
}
