/* Ellenpólus arculat (2026-09-29)
   A style.css UTÁN töltődik be, és csak felülír.
   Színek a márkakoncepció szerint:
     piros   #DB2D08  – kiemelés, címkék, CTA
     fekete  #111111  – domináns, fejléc/lábléc
     olíva   #AD9636  – kiegészítő, elemző/háttér jelölések
     papír   #F3F1EB  – alap háttérfelületek
   Betűtípus: Fira Sans */

:root {
  --ep-red: #DB2D08;
  --ep-red-dark: #A82206;
  --ep-black: #111111;
  --ep-olive: #AD9636;
  --ep-olive-light: #E9E3CB;
  --ep-paper: #F3F1EB;

  --black: var(--ep-black);
  --dark-gray: var(--ep-black);
  --yellow: var(--ep-red);
  --bright-yellow: var(--ep-red);
  --muted-yellow: var(--ep-red-dark);
  --green: var(--ep-olive);
  --light-green: var(--ep-olive-light);
  --blue-gray: #444444;
  --blue: #777777;
  --light-gray: var(--ep-paper);
  --light-blue: #E6E2D8;
  --body-text-color: #333333;

  --font-family-base: "Fira Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  --footer-bg-color: var(--ep-black);
  --footer-divider-color: #444444;
}

body,
button,
input,
select,
textarea,
.frontend_btn {
  font-family: var(--font-family-base);
}

/* Logó – az Ellenpólus logó szélesebb, mint a régi */
.frontend_header__logo {
  max-width: 200px;
}

.frontend_header__logo img,
.frontend_footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto; /* a style.css minden képre 16:9-et kényszerít */
}

@media (min-width: 1280px) {
  .frontend_header__logo {
    max-width: 250px;
  }
}

@media (min-width: 1440px) {
  .frontend_header__logo {
    max-width: 290px;
  }
}

.frontend_footer__logo {
  max-width: 300px;
}

/* Rovatcímkék: piros alapon fehér szöveg (mint a márkakönyv OKNYOMOZÁS címkéje) */
.frontend_badge {
  color: #ffffff;
  background-color: var(--ep-red);
}

.frontend_media-card__badge-text {
  color: #ffffff;
}

/* Gombok: piros hover, fehér szöveggel */
.frontend_btn.frontend_btn-primary:hover,
.frontend_btn.frontend_btn-secondary:hover {
  color: #ffffff;
}

/* Kiemelt linkek és hover állapotok pirosak */
.frontend_media-card__link:hover h3,
.frontend_media-card__link:focus h3 {
  color: var(--ep-red);
}

/* Cookie-sáv: arculati színek */
.cc-window,
.cc-modal-window,
.cc-popup {
  --fontFamily: "Fira Sans", Arial, sans-serif;
  --titleTextColor: #111111;
  --btnAcceptBg: #DB2D08;
  --btnAcceptBgHover: #A82206;
  --btnSettingsAcceptBg: #DB2D08;
  --btnSettingsAcceptBgHover: #A82206;
  --btnRejectTextColor: #DB2D08;
}

/* ======================================================================
   2026-09-30 – megrendelői kérések
   ====================================================================== */

/* Egységes szélesség: eddig a fejléc és a nyitóblokk 1340px, a cikkrács és a lábléc 1608px volt,
   ezért a felső sáv beljebb kezdődött. Most mindenhol ugyanaz, és kevesebb az oldalsó üres hely. */
:root {
  --container-max-width: 1608px;
}

/* Kevesebb szellő a cikkek között */
.frontend_media-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .frontend_media-cards-list {
    grid-gap: 32px 24px;
  }
}

@media (min-width: 1024px) {
  .frontend_media-cards-list {
    grid-gap: 40px 24px;
  }
}

.frontend_intro-section__layout {
  padding-bottom: 32px;
}

/* Rovatcímke mindenhol karikás (a kártyák „zászlós” címkéje helyett) */
.frontend_media-card__badge {
  left: 15px;
  top: 15px;
  padding: 0;
  font-size: 14px;
  line-height: 1.1428571;
  font-weight: 600;
  font-style: normal;
  letter-spacing: .05em;
  transform: none;
}

.frontend_media-card__badge:before,
.frontend_media-card__badge:after {
  display: none;
}

.frontend_media-card__badge-text {
  display: inline-block;
  transform: none;
  min-width: 100px;
  text-align: center;
  color: #ffffff;
  background-color: var(--ep-red);
  border-radius: 50vw;
  padding: 12px 16px;
}

/* Cikkoldal: alacsonyabb fejléc-sáv, szélesebb szövegoszlop */
.frontend_simple-intro__content {
  min-height: clamp(90px, 8vw, 160px);
  padding-top: 20px;
  padding-bottom: 20px;
}

.frontend_single-article__holder {
  max-width: 1240px;
}

.frontend_single-article__content {
  max-width: 1240px;
}

.frontend_single-article__content > h1 {
  margin-top: 40px;
}

/* Szerzősor a cikk címe alatt */
.ep-byline {
  margin: 0 0 32px;
  padding: 0 0 20px;
  border-bottom: 1px solid #dddddd;
}

.ep-byline__authors {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.frontend_single-article__content .ep-byline__authors li:before {
  display: none;
}

.ep-byline__author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
}

.ep-byline__avatar {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.ep-byline__name {
  font-weight: 700;
  color: var(--ep-black);
}

.ep-byline__titulus {
  font-size: 15px;
  color: var(--ep-olive);
  font-weight: 600;
}

.ep-byline__date {
  display: block;
  font-size: 15px;
  color: #666666;
}

/* Videósáv (YouTube-csatorna legfrissebb videói) */
.ep-video-section {
  background-color: var(--ep-black);
  color: #ffffff;
  padding: 36px 0 44px;
  margin: 8px 0 0;
}

.ep-video-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.ep-video-section__channel {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.ep-video-section__channel:hover,
.ep-video-section__channel:focus {
  color: var(--ep-red);
  text-decoration: underline;
}

.ep-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px 24px;
}

@media (min-width: 640px) {
  .ep-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ep-video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ep-video-card {
  display: block;
  color: #ffffff;
  text-decoration: none;
}

.ep-video-card:hover,
.ep-video-card:focus {
  color: #ffffff;
}

.ep-video-card__img {
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 12px;
  background-color: #000000;
}

.ep-video-card__img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .35s cubic-bezier(.3, .86, .36, .95);
}

.ep-video-card:hover .ep-video-card__img img {
  transform: scale(1.04);
}

.ep-video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background-color: var(--ep-red);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

.ep-video-card__play:before {
  content: "";
  position: absolute;
  left: 24px;
  top: 19px;
  width: 18px;
  height: 22px;
  background-color: #ffffff;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.ep-video-card h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
}

.ep-video-card:hover h3,
.ep-video-card:focus h3 {
  text-decoration: underline;
}

.ep-video-card__date {
  font-size: 14px;
  color: #aaaaaa;
}

/* A cikkoldal fejlécsávjában lévő üres, átlátszó placeholder-kép a globális 16:9-es képarány miatt
   kb. 350px magasra nyújtotta a sávot – nem látszik belőle semmi, ezért elrejtjük */
.frontend_simple-intro__image {
  display: none;
}

/* 2026-10-02: a cikkszövegben a h2 címsorok ne tapadjanak a felettük lévő blokkra.
   Csak a cikk tartalmán belül, em-ben, hogy a betűmérettel arányos maradjon. */
.frontend_single-article__content h2 {
  margin-top: 1.75em;
}

.frontend_single-article__content > h2:first-child,
.frontend_single-article__content .ep-byline + h2 {
  margin-top: 0;
}
