/* Főoldal (index.php) — csak ez az oldal tölti be. A közös fejlécet és a menüt nem érinti. */
body.ix-page .slider { position: relative; margin: 14px 0 10px; border-radius: 16px; overflow: hidden; min-height: 420px; box-shadow: 0 16px 40px rgba(0,0,0,.5); border: 1px solid #3a3a3a; }
body.ix-page .slider .img-pos { position: absolute; inset: 0; margin: 0; }
body.ix-page .slider .img-pos img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.ix-page .slider-back { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.15) 100%); z-index: 1; }
body.ix-page .slider-text { position: relative; z-index: 2; max-width: 560px; padding: 44px 40px; color: #eee; }
body.ix-page .slider-text h3 { margin: 0 0 14px; color: #fff; font-size: 40px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; text-shadow: 0 3px 14px rgba(0,0,0,.6); }
body.ix-page .slider-text p.p4 { margin: 0; font-size: 17px; line-height: 1.6; color: #e4e4e4; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
body.ix-page .slider-text .button-2 { display: inline-block; margin-top: 22px; padding: 14px 26px; border-radius: 12px; background: linear-gradient(180deg, #e0302b, #a51f1b); color: #fff !important; text-decoration: none; box-shadow: 0 8px 22px rgba(224,48,43,.35); transition: transform .15s, filter .15s; }
body.ix-page .slider-text .button-2:hover { transform: translateY(-2px); filter: brightness(1.08); text-decoration: none; }
body.ix-page .slider-text .button-2 strong { display: block; font-size: 18px; font-weight: 800; line-height: 1.3; text-transform: uppercase; color: #fff; }
body.ix-page .slider-text .button-2 em, body.ix-page .slider-text .button-2 span { display: none; }

/* három információs blokk */
body.ix-page #content .content-inner { background: #1b1b1b; border: 1px solid #3a3a3a; border-radius: 14px; padding: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
body.ix-page #content h3 { color: #FFCC33; font-size: 20px; letter-spacing: .4px; text-transform: uppercase; margin: 0 0 12px; }
body.ix-page #content .left-pad, body.ix-page #content .inner-3 { padding: 0; }
body.ix-page #content .img-pos { margin: 0 0 12px; border-radius: 12px; overflow: hidden; border: 1px solid #3a3a3a; }
body.ix-page #content .img-pos img { display: block; width: 100%; height: auto; }
body.ix-page #content .content_links p { position: relative; margin: 0 0 10px; padding-left: 26px; color: #d9d9d9; line-height: 1.55; }
body.ix-page #content .content_links .vink { position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #FFCC33; }
body.ix-page #content .bot-indent { color: #d9d9d9; line-height: 1.6; }
body.ix-page #content a.link { display: inline-block; margin-top: 8px; color: #FFCC33; font-weight: 700; text-decoration: none; }
body.ix-page #content a.link:hover { text-decoration: underline; }

/* játék-bannerek */
body.ix-page .banner-1, body.ix-page .banner-2 { display: block; position: relative; margin: 0 0 12px; padding: 22px 20px; border-radius: 14px; border: 1px solid #444; color: #fff; text-decoration: none; min-height: 110px; overflow: hidden; transition: transform .15s, border-color .15s, box-shadow .15s; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
body.ix-page .banner-1 { background: linear-gradient(135deg, #1f5d34, #0d2b18); }
body.ix-page .banner-2 { background: linear-gradient(135deg, #5c1f1f, #2a0d0d); }
body.ix-page .banner-1:hover, body.ix-page .banner-2:hover { transform: translateY(-2px); border-color: #FFCC33; box-shadow: 0 12px 26px rgba(0,0,0,.45); text-decoration: none; color: #fff; }
body.ix-page .banner-1 strong, body.ix-page .banner-2 strong { display: block; font-size: 22px; font-weight: 800; text-transform: uppercase; color: #FFCC33; }
body.ix-page .banner-1 span, body.ix-page .banner-2 span { display: block; margin-top: 4px; font-size: 16px; color: #e8e8e8; }

/* ---- Tablet ---- */
@media (max-width: 1023px) {
  body.ix-page .slider { min-height: 360px; }
  body.ix-page .slider-text { padding: 34px 30px; }
  body.ix-page .slider-text h3 { font-size: 34px; }
}

/* ---- Telefon ---- */
@media (max-width: 640px) {
  body.ix-page .slider { min-height: 0; border-radius: 12px; margin: 10px 0 8px; }
  body.ix-page .slider-back { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.85) 70%); }
  body.ix-page .slider-text { padding: 24px 18px 22px; }
  body.ix-page .slider-text h3 { font-size: 26px; margin-bottom: 10px; }
  body.ix-page .slider-text p.p4 { font-size: 15px; }
  body.ix-page .slider-text .button-2 { display: block; text-align: center; padding: 14px 16px; }
  body.ix-page #content .content-inner { padding: 14px; border-radius: 12px; }
}

/* főoldal: három blokk egy rácsban (a régi grid_4 float-os elrendezés helyett) */
body.ix-page #content .wrapper.indent-bot4 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; }
body.ix-page #content .wrapper.indent-bot4 > div { float: none !important; width: auto !important; margin: 0 !important; min-width: 0; }
body.ix-page #content .wrapper.indent-bot4 .left-pad { height: 100%; }
body.ix-page #content .wrapper.indent-bot4 .inner-3 { display: flex; flex-direction: column; gap: 12px; }
body.ix-page #content .wrapper.indent-bot4 .banner-1, body.ix-page #content .wrapper.indent-bot4 .banner-2 { margin: 0; }
body.ix-page #content .wrapper.indent-bot4 .img-pos img { width: 100%; height: 170px; object-fit: cover; }
@media (max-width: 900px) {
  body.ix-page #content .wrapper.indent-bot4 { grid-template-columns: 1fr; }
}
body.ix-page #content .grid_12 { width: 100%; }

/* játék-bannerek: generált képek; a szöveg a képen van, a HTML-szöveg csak képernyőolvasónak marad */
body.ix-page .banner-1, body.ix-page .banner-2 { min-height: 0; padding: 0; aspect-ratio: 1200 / 514; background-size: cover; background-position: center; border-radius: 14px; }
body.ix-page .banner-1 { background-image: url("../images/banner-sitngo.jpg"); background-color: #3a0a0a; }
body.ix-page .banner-2 { background-image: url("../images/banner-verseny.jpg"); background-color: #5a4500; }
body.ix-page .banner-1 strong, body.ix-page .banner-1 span, body.ix-page .banner-2 strong, body.ix-page .banner-2 span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.ix-page .banner-1:hover, body.ix-page .banner-2:hover { transform: translateY(-2px); }

/* hero: az új zöld asztalos kép, a szöveg maradjon olvasható */
body.ix-page .slider-back { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.05) 100%); }


/* Főoldal – rugalmas tartalomszélesség. Más oldalt nem érint. */
@media (max-width: 1023px) {
  body.ix-page > .bg > header > .container_12,
  body.ix-page #content > .container_12 {
    width: calc(100% - 24px) !important;
    max-width: 960px !important;
    box-sizing: border-box;
    margin-inline: auto !important;
  }
  body.ix-page > .bg > header > .container_12 > .grid_12,
  body.ix-page #content > .container_12 > .wrapper > .grid_12 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  body.ix-page .slider,
  body.ix-page .slider-back {
    width: 100% !important;
    box-sizing: border-box;
  }
  body.ix-page #content .content-inner {
    box-sizing: border-box;
    max-width: 100%;
  }
}
/* Telefon – a fényképet és a szöveget egymás alatt, olvashatóan mutatjuk. */
@media (max-width: 767px) {
  body.ix-page .slider {
    height: auto !important;
    min-height: 0 !important;
    margin: 8px 0 14px !important;
    overflow: hidden;
    border-radius: 12px;
  }
  body.ix-page .slider .img-pos {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100%;
    height: clamp(175px, 58vw, 320px);
    margin: 0 !important;
    overflow: hidden;
    border: 0;
    border-radius: 0;
  }
  body.ix-page .slider .img-pos img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
  }
  body.ix-page .slider-back { display: none !important; }
  body.ix-page .slider-text {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0;
    height: auto !important;
    margin: 0 !important;
    padding: 16px clamp(13px, 4vw, 22px) 20px !important;
    box-sizing: border-box;
    background: linear-gradient(145deg,#121b18,#192321);
    color: #f1f1f1;
    text-align: left;
  }
  body.ix-page .slider-text h3,
  body.ix-page .slider-text p {
    display: block !important;
    visibility: visible !important;
  }
  body.ix-page .slider-text h3 {
    font-size: clamp(23px, 6vw, 32px) !important;
    line-height: 1.13 !important;
    margin: 0 0 12px !important;
  }
  body.ix-page .slider-text p.p4 {
    font-size: clamp(14px, 3.8vw, 16px) !important;
    line-height: 1.55 !important;
  }
  body.ix-page .slider-text .button-2 {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 10px;
    margin-top: 16px;
    text-align: center;
  }
  body.ix-page .slider-text .button-2 strong { font-size: clamp(13px,3.8vw,17px); }
  body.ix-page #content .content-inner {
    padding: clamp(12px,3.5vw,19px) !important;
  }
  body.ix-page #content .wrapper.indent-bot4 { gap: 16px; }
  body.ix-page #content .wrapper.indent-bot4 .img-pos img {
    height: auto;
    max-height: 270px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
}
/* Kicsi mobilon is maradjon olvasható minden kártya és link. */
@media (max-width: 360px) {
  body.ix-page #content h3 { font-size: 19px; line-height: 1.25; }
  body.ix-page #content .content_links p { font-size: 14px; }
}

/* HERO_FLOW_V2_20261027: az eredeti abszolút slider szöveg ne nyúljon a következő blokkba. */
@media (min-width: 768px) {
  body.ix-page .slider {
    height: auto !important;
    min-height: clamp(450px,43vw,600px);
  }
  body.ix-page .slider-text {
    top: auto !important; left: auto !important;
    width: min(620px, 90%) !important;
    max-width: none !important;
    height: auto !important;
    box-sizing: border-box;
    padding: clamp(25px,3vw,44px) clamp(22px,3vw,40px) !important;
  }
  body.ix-page .slider-text h3 { display: block !important; line-height: 1.15; }
  body.ix-page .slider-text p.p4 { display: block !important; height: auto !important; }
}
