@font-face {
    font-family: 'BebasNeue';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
}

@font-face {
    font-family: 'PPGatwick';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/PPGatwick-Bold.otf') format('truetype');
}

html {
    scroll-behavior: smooth;
}

::selection {
    /* background-color: #00EDDB; */
    background-color: var(--dw-gold);
    color: white;
}

:root {
    --dw-bebas-neue: 'BebasNeue', sans-serif;
    --dw-montserrat: 'Montserrat', sans-serif;
    --dw-gatwick: 'PPGatwick', sans-serif;
    --dw-primary: #607274FF;
    --dw-primary-dark: #344f40;
    --dw-primary-light: #3c5e4a;
    --dw-primary-extra-light: #5c9b78;
    --dw-gold: #B6996E;
}

.font-bebas {
    font-family: var(--dw-bebas-neue) !important;
}

body {
    background: linear-gradient(104.86deg, #22372B 1.69%, #112B3D 98.31%);
    position: relative;
}

main .min-h-screen {
    background-image: none !important;
}

body::before {
    content: "";
    background-image: url(../images/bullets.png);
    /* background-repeat: repeat-y; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: -1;
}

main {
    padding: 26px clamp(16px, 7.5vw, 150px);
}

header {
    background: linear-gradient(90deg, #173030 0%, #2E6363 50%, #173030 100%);
    margin: 0;
}

h1,
h2,
h3,
a {
    font-family: var(--dw-montserrat) !important;
    letter-spacing: 0.5px;
}

.text-content {
    h2 {
        font-size: 35px;
        color: var(--doni-accent);
    }

    p {
        font-size: 18px;
        line-height: normal;
        margin: 18px 0;
    }
}


/* ============================================================
* Hero
* ============================================================ */


#sf-page-hero {
    background-image: none !important;
    padding: 0 !important;

}

body::after {
    content: "";
    position: absolute;
    background-image: url(../images/triangle.svg);
    display: block;
    top: 0px;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position-x: center;
    overflow: visible;
}

#sf-page-hero img[alt=""] {
    display: none;
}

#sf-page-hero>div {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

#sf-page-hero>div::before {
    content: '';
    display: block;
    /* Telefonon se lógjon ki: legfeljebb a rendelkezésre álló szélesség, arány megtartva */
    width: min(670px, 100%);
    aspect-ratio: 670 / 420;
    height: auto;
    background-image: url('../images/dwlogo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
}

#sf-page-hero h1 {
    font-family: var(--dw-bebas-neue) !important;
    color: white;
    /* A közös page.blade.php wrapper nagy kijelzőn balra igazít (lg:items-start + lg:text-left) - itt mindig középen. */
    align-self: center;
    text-align: center;
}

.text-content h2 {
    font-family: var(--dw-bebas-neue) !important;
    color: white;
}

body.is-home #sf-page-hero h1 {
    color: var(--dw-gold);
    /* A kezdőlap oldal-CSS-e (admin) fix 180px-et ad - telefonon ez kilóg. Ez a szabály
       specifikusabb, így felülírja: kb. 1000px-től marad 180px / 6px, alatta arányosan kisebb. */
    font-size: clamp(56px, 18vw, 180px);
    letter-spacing: clamp(2px, 1vw, 6px);
}

.landing-subtitle p {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 5px;
    color: white;
    text-transform: uppercase;
    font-family: sans-serif;
    letter-spacing: 3px;
    font-size: 40px;
}

.landing-subtitle p::before {
    content: "";
    display: flex;
    position: relative;
    height: 2px;
    width: 148px;
    background-color: #FFFFFF;
}

.landing-subtitle p::after {
    content: "";
    display: block;
    position: relative;
    height: 2px;
    width: 148px;
    background-color: #FFFFFF;
}

/* Tableten / telefonon: kisebb felirat, rövidebb oldalvonalak; nagyon kicsi kijelzőn vonalak nélkül */
@media (max-width: 767px) {
    .landing-subtitle p {
        font-size: clamp(18px, 6vw, 32px);
        letter-spacing: 1px;
        gap: 10px;
        text-align: center;
    }

    .landing-subtitle p::before,
    .landing-subtitle p::after {
        flex: 0 0 clamp(20px, 10vw, 64px);
        width: auto;
    }
}

@media (max-width: 400px) {

    .landing-subtitle p::before,
    .landing-subtitle p::after {
        display: none;
    }
}

/* ============================================================
* Navbar
* ============================================================ */



.hmz-sf-nav {
    gap: 1.25rem;
}

.hmz-sf-nav-link,
.hmz-sf-nav-dropdown a {
    font-family: var(--dw-montserrat) !important;
    font-weight: 700;
    letter-spacing: -0.08em;
    text-transform: none !important;
}

.hmz-sf-nav-link {
    position: relative;
    display: block;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.5s ease-in-out;
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    padding: 6px 0px 6px 0px;
    gap: 3px;
    border: 1px solid transparent;


    &::after {
        background-image: url(../images/menu_zaro.svg);
        content: "";
        display: block;
        width: 10px;
        height: 30px;
        position: absolute;
        top: 4px;
        right: -15px;
        background-repeat: no-repeat;
        opacity: 0.2;
        transition: opacity 0.3s ease-in-out;
    }

    &::before {
        background-image: url(../images/menu_nyito.svg);
        content: "";
        display: block;
        width: 10px;
        height: 30px;
        position: absolute;
        top: 4px;
        left: -15px;
        background-repeat: no-repeat;
        opacity: 0.2;
        transition: 0.3s all;
    }

    &:hover,
    &:focus-visible {
        color: white;
        font-weight: 700;
        letter-spacing: 0.02em;
        padding: 4px 0px 4px 0px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.0) 25%, rgba(0, 237, 217, 0.3) 48%, rgba(0, 237, 217, 0.3) 52%, rgba(255, 255, 255, 0.0) 76%);
        border: 1px solid transparent;
        border-image: linear-gradient(90deg, rgba(255, 255, 255, 0.0) 10%, rgba(255, 255, 255, 0.8) 48%, rgba(255, 255, 255, 0.8) 52%, rgba(255, 255, 255, 0.0) 90%);
        border-image-slice: 1;

        &::after,
        &::before {
            opacity: 1;
        }
    }

    &.toborzas {
        color: var(--dw-gold) !important;
    }
}

.hmz-sf-header-bar {
    justify-content: center;
}

.hmz-sf-nav {
    gap: 40px !important;
}

/* Asztali menü (1024px-től): laptopon (1024–1400px) is elférjen egy sorban -
   a betűméret és a köz a képernyővel együtt nő, nagy kijelzőn a régi 20px / 40px. */
@media (min-width: 1024px) {
    .hmz-sf-nav {
        gap: clamp(12px, 1.6vw, 40px) !important;
    }

    .hmz-sf-nav .hmz-sf-nav-link {
        font-size: clamp(14px, 1.35vw, 20px);
    }
}

/* ============================================================
    * Dropdown menu
    * ============================================================ */

.hmz-sf-nav-dropdown {
    background-color: var(--doni-primary);
    border: 1px solid var(--doni-primary);
    border-radius: 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    min-width: 16rem;
    padding: 0.5rem;

    a {
        color: #ffffff !important;
        border-radius: 0;
        padding: 0.5rem 0.75rem;
        transition: background-color 0.15s ease;

        &:hover {
            background-color: var(--doni-primary-light);
            color: #ffffff !important;
        }
    }
}

/* ============================================================
    * Mobile menu
    * ============================================================ */

.hmz-sf-nav-mobile {
    background: linear-gradient(90deg, rgb(23, 48, 48) 0%, rgb(46, 99, 99) 50%, rgb(23, 48, 48) 100%) !important;
    color: white;
    border-bottom: 2px solid var(--doni-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative !important;
    bottom: auto !important;
    padding: 1.25rem 1.5rem !important;
    z-index: 70 !important;

    &.toborzas {
        color: var(--doni-orange) !important;
    }

    .hmz-sf-nav-link {
        color: var(--doni-primary);

        &:hover {
            color: var(--doni-primary-light);
        }
    }

    div[x-show="open"] {
        background-color: var(--doni-primary);
        border: 1px solid var(--doni-primary);
        padding: 0.5rem 0.75rem;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;

        .hmz-sf-nav-link {
            color: #ffffff !important;
            padding: 0.35rem 0.5rem;

            &:hover {
                background-color: var(--doni-primary-light);
                color: #ffffff !important;
            }
        }
    }
}

.information ul {
    list-style: disc !important;
    list-style-type: disc !important;
    padding-left: 3rem !important;
    margin: 1rem 0 !important;
}

/* ============================================================
    * Content
    * ============================================================ */

.dw-textbox {
    background: linear-gradient(90deg, rgba(106, 228, 226, 0.2) -30.98%, rgba(217, 217, 217, 0.05) 88.1%);
    border-radius: 20px;
    --moz-border-radius: 20px;
    --o-border-radius: 20px;
    --ms-border-radius: 20px;
    padding: 16px;
    color: white;
    font-family: var(--dw-montserrat);
}

.dw-textbox a {
    color: var(--dw-gold);
    word-break: break-all;
}

.dw-textbox a:hover {
    color: white;
    text-decoration: underline;
}

/* Csak a szövegdoboz táblázataira (korábban a "tr, td" az oldal összes táblázatát érintette) */
.dw-textbox table,
.dw-textbox tr,
.dw-textbox td {
    border: 1px solid;
    table-layout: fixed;
    width: 100%;
    word-break: break-all;
}

/* ============================================================
    * Games Carousel
    * ============================================================ */

.GamesCarousel {
    width: 100%;
    --game-item-size: clamp(120px, 16vw, 220px);
}

.GamesCarousel .flex:has(> .carouselItemContainer) {
    justify-content: space-around;
    /* Nagy kijelzőn a tervezett 1.8× köz; laptopon (1024–1350px) legfeljebb annyi, amennyi
       a képernyőn a <main> margói (clamp(16px, 7.5vw, 150px)) és a 3 játék mellett marad
       (-24px a görgetősávra), különben a 3. levágódik. %-ot nem lehet: a sor a tartalmához
       igazodik, ott a % ~0-ra esik és a játékok összecsúsznak. */
    gap: min(
        calc(var(--game-item-size) * 1.8),
        calc((100vw - 2 * clamp(16px, 7.5vw, 150px) - 3 * var(--game-item-size)) / 2 - 24px)
    );
}

/* 1024px alatt: a játékok egymás alá kerülnek, ha oldalt nincs hely.
   A köz akkora, hogy a háttér-dekor (--game-bg-bleed, 33%) ne fedje egymást;
   a dia fix 550px magassága helyett a tartalomhoz igazodik, így semmi nem vágódik le. */
@media (max-width: 1023px) {
    .GamesCarousel .flex:has(> .carouselItemContainer) {
        justify-content: center;
        gap: calc(var(--game-item-size) * 0.8);
        padding-block: calc(var(--game-item-size) * 0.4);
    }

    .GamesCarousel .h-\[550px\] {
        height: auto;
    }
}

.GamesCarousel img {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
}

.GamesCarousel .carouselItemContainer {
    isolation: isolate;
    --game-bg-bleed: -33%;
    flex: 0 1 var(--game-item-size);
    width: var(--game-item-size);
}

.GamesCarousel .carouselItemContainer>a {
    display: block;
}

/* Teal tint on the artwork, full colour on hover: teal -> grey -> gold -> colour.
   The filter parts are animated one after another so the hue never sweeps through
   green: the hue only jumps while the image is fully grey (saturation = 0).
   Saturation is --dw-fade-out + --dw-fade-in, so it can dip 1 -> 0 -> 1 with plain
   transitions (one fades out, the other fades in later). */
@property --dw-fade-out {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

@property --dw-fade-in {
    syntax: "<number>";
    inherits: false;
    initial-value: 1;
}

@property --dw-gray {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

@property --dw-sepia {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

@property --dw-hue {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@property --dw-sat {
    syntax: "<number>";
    inherits: false;
    initial-value: 1;
}

@property --dw-bright {
    syntax: "<number>";
    inherits: false;
    initial-value: 1;
}

.GamesCarousel .carouselItemContainer img {
    --dw-fade-out: 1;
    --dw-fade-in: 0;
    --dw-gray: 1;
    --dw-sepia: 1;
    --dw-hue: 140deg;
    --dw-sat: 1.8;
    --dw-bright: 0.85;
    filter:
        grayscale(var(--dw-gray)) sepia(var(--dw-sepia)) hue-rotate(var(--dw-hue)) saturate(calc((var(--dw-fade-out) + var(--dw-fade-in)) * var(--dw-sat))) brightness(var(--dw-bright));
    /* Leaving hover: colour -> gold -> grey -> teal */
    transition:
        --dw-gray 0.2s ease,
        --dw-sepia 0.2s ease,
        --dw-fade-in 0.2s ease 0.2s,
        --dw-hue 0s 0.4s,
        --dw-fade-out 0.2s ease 0.4s,
        --dw-sat 0.4s ease 0.2s,
        --dw-bright 0.6s ease;
}

.GamesCarousel .carouselItemContainer:hover img {
    --dw-fade-out: 0;
    --dw-fade-in: 1;
    --dw-gray: 0;
    --dw-sepia: 0;
    --dw-hue: 0deg;
    --dw-sat: 1;
    --dw-bright: 1;
    /* Entering hover: teal -> grey -> gold -> colour */
    transition:
        --dw-fade-out 0.2s ease,
        --dw-hue 0s 0.2s,
        --dw-fade-in 0.2s ease 0.2s,
        --dw-gray 0.2s ease 0.4s,
        --dw-sepia 0.2s ease 0.4s,
        --dw-sat 0.4s ease,
        --dw-bright 0.6s ease;
}

/* Game logo, on top of the artwork */
.GamesCarousel .carouselItemContainer::before {
    content: "";
    position: absolute;
    inset: 30% 12%;
    z-index: 1;
    background: var(--game-logo, none) center / contain no-repeat;
    pointer-events: none;
}

/* Logo by position (images currently have no alt text)... */
.GamesCarousel .carouselItemContainer:nth-child(1) {
    --game-logo: url(../images/Cs2_Text.png);
}

.GamesCarousel .carouselItemContainer:nth-child(2) {
    --game-logo: url(../images/WoT_text.png);
}

.GamesCarousel .carouselItemContainer:nth-child(3) {
    --game-logo: url(../images/Pubg_text.png);
}

/* ...and by alt text, which wins once it is filled in the admin */
.GamesCarousel .carouselItemContainer:has(img:is([alt*="counter" i], [alt*="cs2" i])) {
    --game-logo: url(../images/Cs2_Text.png);
}

.GamesCarousel .carouselItemContainer:has(img:is([alt*="tank" i], [alt*="wot" i])) {
    --game-logo: url(../images/WoT_text.png);
}

.GamesCarousel .carouselItemContainer:has(img:is([alt*="pubg" i], [alt*="battleground" i])) {
    --game-logo: url(../images/Pubg_text.png);
}

.GamesCarousel .carouselItemContainer::after {
    content: "";
    position: absolute;
    inset: var(--game-bg-bleed);
    background-image: url(../images/gameBackground.png);
    background-size: 100% 100%;
    background-position: center;
    transform: rotate(0deg);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    pointer-events: none;
    z-index: -1;
}

.GamesCarousel .carouselItemContainer:hover::after {
    transform: rotate(90deg);
}

#pb-1-0-0-1 img[alt="Doni Emléktúra"] {
    position: absolute;
    display: none;
}

#pb-1-0-0-1 .carouselItemContainer img {
    height: 30px;
}

#pb-1-1-0-0 img[alt="Doni Emléktúra"] {
    position: absolute;
    display: none;
}

#pb-1-0-0-1 .bg-black\/70 {
    background-color: transparent;
}

#pb-1-1-0-0 .bg-black\/70 {
    background-color: transparent;
}

#pb-1-0-0-1 .min-h-\[380px\] {
    min-height: auto !important;
}

#pb-1-1-0-0 .h-\[550px\] {
    min-height: auto !important;
}

/* Egy sorban csak nagy kijelzőn - alatta a játékok egymás alá törhetnek (ld. lent) */
@media (min-width: 1024px) {
    #pb-1-1-0-0 .flex-wrap {
        flex-wrap: nowrap;
    }
}

/* ============================================================
    * Videos Carousel
    * ============================================================ */

/* Column classes set in the page editor: 40 / 60 on tablets, 25 / 75 on wide screens */
@media (min-width: 768px) {
    .videoListCol {
        width: 40%;
    }

    .videoPlayerCol {
        width: 60%;
    }
}

@media (min-width: 1280px) {
    .videoListCol {
        width: 25%;
    }

    .videoPlayerCol {
        width: 75%;
    }
}

#pb-1-3-0-1 img[alt="Doni Emléktúra"] {
    position: absolute;
    display: none;
}

#pb-1-3-0-1 {
    padding: 16px 0;
}

#pb-1-3-0-0 p {
    font-family: var(--dw-bebas-neue) !important;
    color: #FFFFFFFF;
    font-weight: 400;
    font-size: 48px;
}

#pb-1-3-0-1 a {
    font-family: var(--dw-bebas-neue) !important;
    color: #FFFFFFFF;
    font-size: clamp(17px, 1.2vw, 22px);
    line-height: 1.15;
    font-weight: 400;
}

#pb-1-3-0-1 .carouselItemContainer {
    transform: skew(30deg);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 5px;
}

#pb-1-3-0-1 .carouselItemContainer::after {
    content: "";
    flex: none;
    width: 27px;
    height: 32px;
    background: url(../images/videoPlay.svg) center / contain no-repeat;
    opacity: 0.2;
    transition: opacity 0.3s ease-in-out;
}

#pb-1-3-0-1 .carouselItemContainer:hover::after {
    opacity: 1;
}

#pb-1-3-0-1 .videoCarouselOuter:hover::before {
    opacity: 1;
}

#pb-1-3-0-1 .videoCarouselOuter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.2;
    transition: opacity 0.3s ease-in-out;
}

/* Full-width cards, inset so the skewed corners stay inside the carousel's overflow-hidden.
   The skew pushes each corner out by ~0.29 x card height, so 1.2em leaves room for 2-3 line titles. */
#pb-1-3-0-1 a:has(> .videoCarouselOuter) {
    align-self: stretch;
    margin-inline: 1.2em;
}

#pb-1-3-0-1 .videoCarouselOuter {
    width: 100%;
    padding: 5px 20px;
    align-items: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    display: inline-block;
    transform: skew(-30deg);
    background: linear-gradient(90deg, rgba(217, 217, 217, 0.05) 0%, rgba(106, 228, 226, 0.2) 100%);
    border-radius: 0px 5px 0px 5px;
}

.moreVideosBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.5s ease-in-out;
    font-family: var(--dw-montserrat);
    gap: 10px;
}

.moreVideosBtn::after {
    content: url(../images/frw_arrow.svg);
    opacity: 0.2;
    position: relative;
    transition: 0.3s ease-in-out;
    top: 3px;
}

.moreVideosBtn:hover::after {
    opacity: 1;
}

div:has(> #pb-1-3-0-0) {
    background-color: #D9D9D90D;
}

div:has(> .videoListCol) {
    padding: 20px 0;
}

/* ============================================================
    * Prize Text
    * ============================================================ */

.prizeText {
    padding: 20px 0;
}

.prizeText p {
    font-family: var(--dw-montserrat);
    color: white;
    font-size: 45px;
    text-transform: uppercase;
    width: fit-content;
    margin-inline: auto;
}

.RowPrize::after {
    display: block;
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url(../images/ajandekdobozV2122px.png);
    background-size: 122px 122px;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0.4%;
    z-index: -1;
}

.prizeText::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -22px;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 183px;
    height: 183px;
    background: url(../images/prize_ellipse1.svg) center / 183px 183px no-repeat;
    filter: brightness(68%);
    transform: rotate(0deg);
    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.3s ease;
    will-change: transform;
}

.prizeText:has(p:hover)::before {
    transform: rotate(-90deg);
    filter: brightness(100%);
}

@media (prefers-reduced-motion: reduce) {
    .prizeText::before {
        transition: filter 0.3s ease;
    }

    .GamesCarousel .carouselItemContainer::after,
    .GamesCarousel .carouselItemContainer img {
        transition: none;
    }
}

/* ============================================================
    * Form
    * ============================================================ */

.hmz-sf-label {
    font-size: 20px;
    text-transform: uppercase;
}

.hmz-sf-field--checkbox {

    .hmz-sf-label {
        font-size: 16px;
        text-transform: none;
    }

    .hmz-sf-check {
        accent-color: var(--doni-accent);
    }
}

.hmz-sf-input,
.hmz-sf-select {
    background-color: #f9f9f9 !important;
    color: var(--doni-primary) !important;
    min-height: 30px;
    height: 50px;
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid #222;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;

    &:hover {
        border: 1px solid #222;
    }

    &:focus {
        outline: none;
        border-color: var(--doni-primary);
        box-shadow: 0 0 0 3px var(--doni-primary-light);
    }
}

.hmz-sf-field:has(.hmz-sf-select) {
    position: relative;

    &::after {
        content: '';
        position: absolute;
        right: 22px;
        bottom: 20px;
        width: 10px;
        height: 10px;
        border-right: 3px solid var(--doni-primary);
        border-bottom: 3px solid var(--doni-primary);
        transform: rotate(45deg);
        pointer-events: none;
    }
}

.hmz-sf-btn {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #222;
    background-color: var(--doni-primary);
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    transition: background-color 0.15s ease, color 0.15s ease;

    &:hover,
    &:focus,
    &:focus-visible,
    &:active {
        background-color: var(--doni-primary-light);
        color: #fff;
    }
}

.hmz-sf-check {
    accent-color: var(--doni-accent);
}

/* ============================================================
    * Footer
    * ============================================================ */

.hmz-footer-cols {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
}

#sf-chrome-footer {
    background-color: #173030;
    color: #ffffff;
}

#sf-chrome-footer li>a {
    font-family: var(--dw-bebas-neue) !important;
    font-size: 32px;
    font-weight: 400;
}

#sf-chrome-footer li>a:hover {
    text-decoration: none !important;
}

#sf-chrome-footer li>a::after {
    content: '//';
    color: #fff;
    padding-left: 1rem;
}

#sf-chrome-footer li:nth-child(3)>a::after {
    content: '';
}

#sf-chrome-footer ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* keskeny kijelzőn új sorba törjön, ne lógjon ki */
    gap: 16px;
}

[data-sf-footer-col="partners-gmnnw0"] img {
    /* telefonon kisebb logók (48px), nagy kijelzőn a régi 85px */
    height: clamp(48px, 12vw, 85px);
    max-width: 100%;
}

[data-sf-footer-col="menu-cz4rae"] h4,
[data-sf-footer-col="partners-gmnnw0"] h4 {
    display: none;
}

[data-sf-footer-col="partners-gmnnw0"] .grid {
    justify-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* a logósor telefonon több sorba törik - ez okozta a vízszintes görgetést */
    justify-content: center;
}

/* Legújabb hírek widget (LatestPostsComponent) - digitalwarriors stílus.
   Markup: components/latest-posts.blade.php (teljes lead, dátum idő nélkül). */

.latest-posts {
    --lp-card-bg: rgb(106 228 226 / 16%);
    --lp-text: #fff;
    --lp-radius: 12px;
    --lp-gap: 16px;

    width: 100%;
    box-sizing: border-box;
    color: var(--lp-text);
}

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

.latest-posts__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.latest-posts__heading {
    margin: 0;
    font-family: var(--dw-bebas-neue) !important;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: normal;
    text-transform: uppercase;
    color: var(--lp-text);
}

.latest-posts__more {
    font-family: var(--dw-montserrat) !important;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    color: var(--lp-text);
}

.latest-posts__more:hover,
.latest-posts__more:focus-visible {
    opacity: 0.8;
}

.latest-posts__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--lp-gap);
    align-items: stretch;
}

.latest-posts__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    background: var(--lp-card-bg);
    border-radius: var(--lp-radius);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.latest-posts__card:hover,
.latest-posts__card:focus-visible {
    background: rgb(106 228 226 / 22%);
    transform: translateY(-2px);
}

.latest-posts__card:focus-visible {
    outline: 2px solid var(--lp-text);
    outline-offset: 3px;
}

.latest-posts__media {
    height: 280px;
    overflow: hidden;
    border-radius: 4px;
    background: rgb(0 0 0 / 20%);
}

.latest-posts__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-posts__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px 10px 8px;
}

.latest-posts__title {
    margin: 0;
    font-family: var(--dw-bebas-neue) !important;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: normal;
    text-transform: uppercase;
    color: var(--lp-text);
    overflow-wrap: anywhere;
}

.latest-posts__date {
    margin-top: 12px;
    font-family: var(--dw-montserrat);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lp-text);
}

.latest-posts__lead {
    margin: 28px 0 0;
    font-family: var(--dw-montserrat);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: justify;
    hyphens: auto;
    color: var(--lp-text);
}

@media (min-width: 640px) {

    .latest-posts--cols-2 .latest-posts__grid,
    .latest-posts--cols-3 .latest-posts__grid,
    .latest-posts--cols-4 .latest-posts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .latest-posts--cols-3 .latest-posts__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .latest-posts--cols-4 .latest-posts__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .latest-posts__lead {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .latest-posts__card {
        transition: none;
    }

    .latest-posts__card:hover,
    .latest-posts__card:focus-visible {
        transform: none;
    }
}

/* Hír részletes oldal (components/post.blade.php - hir-post__*) */

.hir-post {
    --hp-gutter: clamp(16px, 7.5vw, 150px);
    /* a téma <main> paddingja */
    --hp-font: Arial, Helvetica, sans-serif;

    width: 100%;
    color: #fff;
    font-family: var(--hp-font);
}

/* Teljes szélességű sáv a menü alatt: kilóg a <main> paddingjából. */
.hir-post__hero {
    margin: -26px calc(-1 * var(--hp-gutter)) 16px;
    padding: 18px var(--hp-gutter);
    background: linear-gradient(90deg, rgb(106 228 226 / 22%) 0%, rgb(106 228 226 / 12%) 100%);
}

.hir-post__hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hir-post__thumb {
    flex: 0 0 min(533px, 40%);
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
}

.hir-post__thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.hir-post__hero-text {
    flex: 1 1 0;
    min-width: 0;
}

.hir-post__title {
    margin: 0;
    font-family: var(--hp-font) !important;
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: uppercase;
    color: #fff;
    overflow-wrap: anywhere;
}

.hir-post__details {
    margin-top: 24px;
    font-size: 0.95rem;
    line-height: 1.3;
}

.hir-post__date {
    display: block;
}

.hir-post__meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 40px;
    margin: 0;
}

.hir-post__meta dt,
.hir-post__meta dd {
    margin: 0;
}

.hir-post__meta dd {
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
}

.hir-post__meta a {
    font-family: var(--hp-font) !important;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.hir-post__meta a:hover,
.hir-post__meta a:focus-visible {
    color: rgb(106 228 226);
}

.hir-post__body {
    padding: 48px 16px 40px;
    background: rgb(10 30 35 / 55%);
}

.hir-post__lead {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.hir-post__content {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #fff;
    overflow-wrap: anywhere;
}

.hir-post__content p {
    margin: 0 0 20px;
}

.hir-post__content h2,
.hir-post__content h3,
.hir-post__content h4 {
    margin: 28px 0 12px;
    font-family: var(--hp-font) !important;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: normal;
    color: #fff;
}

.hir-post__content h2 {
    font-size: 1.5rem;
}

.hir-post__content h3 {
    font-size: 1.3rem;
}

.hir-post__content h4 {
    font-size: 1.15rem;
}

.hir-post__content a {
    font-family: var(--hp-font) !important;
    color: rgb(61 214 198);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.hir-post__content ul,
.hir-post__content ol {
    margin: 0 0 20px;
    padding-left: 1.4em;
}

.hir-post__content ul {
    list-style: disc;
}

.hir-post__content ol {
    list-style: decimal;
}

.hir-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hir-post__content blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 20px;
    border-left: 4px solid rgb(61 214 198);
}

.hir-post__gallery:not(:empty) {
    margin-top: 40px;
}

@media (max-width: 900px) {
    .hir-post__hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .hir-post__thumb {
        flex-basis: auto;
    }

    .hir-post__body {
        padding: 32px 16px;
    }
}

/* Hírek lista (/hirek-osszes - pages/hirek-osszes.blade.php); kártyák: latest-posts__* */

.hirek-osszes {
    width: 100%;
    color: #fff;
}

.hirek-osszes__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 48px 0 40px;
    text-align: center;
}

.hirek-osszes__heading {
    margin: 0;
    font-family: var(--dw-bebas-neue) !important;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: normal;
    text-transform: uppercase;
    color: #fff;
}

.hirek-osszes__reset {
    font-family: var(--dw-montserrat) !important;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.hirek-osszes__reset:hover,
.hirek-osszes__reset:focus-visible {
    color: rgb(106 228 226);
}

.hirek-osszes__empty {
    margin: 0;
    font-family: var(--dw-montserrat);
    font-weight: 700;
    text-align: center;
}

/* Lapozó */
.hirek-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    font-family: var(--dw-montserrat);
}

.hirek-pager__list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hirek-pager__cell,
.hirek-pager__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgb(106 228 226 / 16%);
    font-family: var(--dw-montserrat) !important;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

a.hirek-pager__cell:hover,
a.hirek-pager__cell:focus-visible,
a.hirek-pager__arrow:hover,
a.hirek-pager__arrow:focus-visible {
    background: rgb(106 228 226 / 30%);
}

.hirek-pager__cell--active {
    background: #fff;
    color: #173030;
}

.hirek-pager__item--ellipsis .hirek-pager__cell {
    background: transparent;
}

.hirek-pager__arrow--next svg {
    transform: rotate(180deg);
}

.hirek-pager__arrow--disabled {
    opacity: 0.35;
}

/* Videó szekció: a videó (16:9) adja a sor magasságát, a lista oszlop ehhez nyúlik.
   Csak egymás mellett (lg) - alatta a két oszlop egymás alatt van. */
@media (min-width: 1024px) {

    /* Teljes szélességű szekciónál a page builder gap-0-t ad - itt kis rés a lista és a videó között */
    div:has(> .videoListCol) {
        column-gap: 16px;
    }

    .videoListCol {
        display: flex;
        flex-direction: column;
    }

    /* A lista blokk kitölti a maradék helyet, a lista középen, a "További videók" gomb alul */
    .videoListCol>.pb-block:has(.carousel-container) {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* A carousel dia fix minimum magassága (min-h-[380px] md:min-h-[520px]) itt ne nyújtsa a sort */
    .videoListCol .carousel-container [class*="min-h-"] {
        min-height: 0;
    }

    /* Ha a lista mégis magasabb (sok elem, keskenyebb képernyő): a videó függőlegesen középen */
    .videoPlayerCol {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}