/* =====================================================================
   karnevalfilm.hu – egyedi CSS (korábban: Megjelenés → Testreszabás → További CSS)
   2026-11-18-án változtatás nélkül átemelve a témába, hogy verziókövetett legyen és ne az adminból irányítsuk.
   A theme.class.php a mobile.css UTÁN tölti be (a További CSS is utána állt).
   Élesítés után a Testreszabás → További CSS mezőt üríteni kell, különben minden szabály kétszer szerepel.
   ===================================================================== */
/* =====================================================================
   karnevalfilm.hu – reszponzív javítások (2026-09-29)
   Hova: Megjelenés → Testreszabás → További CSS  (vagy a child theme style.css végére)
   Az 1–6. pont csak 1024 px alatt hat, a 7. minden méreten, a 8. csak asztali nézetben (1025 px felett).
   Élő oldalon, böngészőbe injektálva tesztelve: 375×812, 820×1180, 1000×620, 1024×768, 1280×720, 1440×900.
   ===================================================================== */

/* 1. MOBIL (≤576 px) – nagy címek ne érjenek a képernyő széléig */
@media (max-width:576px){
 .creative_team .content h1,.creative_team .content h2,.equipment_crew .content h1,.equipment_crew .content h2,.creative_intro h1,.creative_intro h2,.equipment_intro h1,.equipment_intro h2{letter-spacing:.24em!important}
 .creative_team .content h1,.creative_team .content h2,.equipment_crew .content h1,.equipment_crew .content h2{margin-left:0!important;padding-left:.2em!important;text-align:center!important;letter-spacing:.2em!important;transform:none!important}
}

/* 2. MOBIL – Csapat / Stáb: a fotó ne csússzon a lenti menüsáv alá */
@media (max-width:576px){
 .creative_team .content,.equipment_crew .content{padding-top:8px!important}
 .creative_team .content p,.equipment_crew .content p{padding:12px 24px!important;margin-bottom:0!important}
 .creative_team .creative_team_inner .team_image,.equipment_crew .crew_image{bottom:65px!important}
}

/* 3. MOBIL + TABLET – a jobb felső fül-keret (RÓLUNK / CSAPAT / STÁB…) a szöveghez igazodjon, ne lógjon ki.
      A keretet CSS rajzolja a fix szélességű SVG helyett. */
@media (max-width:1024px){
 html body [class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"]>div{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid currentColor;padding:0 8px 0 10px;box-sizing:border-box;min-width:50px;height:20px!important;color:#8a8a8a}
 html body [class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"]>div>span{position:static!important;left:auto!important;top:auto!important;transform:none!important;white-space:nowrap;margin:0!important;padding:0!important;text-indent:0!important;letter-spacing:.2em!important;color:inherit!important;font-size:8px!important}
 html body [class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"][class*="_sidebar_mobile"]>div>img{display:none!important}

 html body a.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar>div{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid currentColor;padding:0 8px 0 10px;box-sizing:border-box;color:#8a8a8a;width:auto!important;height:20px!important;min-width:50px;top:40px!important}
 html body a.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar>div>img{display:none!important}
 html body a.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar>div>span{position:static!important;left:auto!important;top:auto!important;transform:none!important;white-space:nowrap;margin:0!important;padding:0!important;letter-spacing:.2em!important;color:inherit!important}

 html body div.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar>div.hun,html body div.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar>div.eng{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid currentColor;padding:0 8px 0 10px;box-sizing:border-box;height:20px!important;min-width:50px;width:auto!important;color:#8a8a8a}
 html body div.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar>div.hun>img,html body div.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar>div.eng>img{display:none!important}
 html body div.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar>div.hun>span,html body div.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar>div.eng>span{position:static!important;left:auto!important;top:auto!important;transform:none!important;white-space:nowrap;margin:0!important;padding:0!important;letter-spacing:.2em!important;color:inherit!important}
}

/* 4. MOBIL + TABLET – a sötét oldali címkék (ESZKÖZ / EQUIPMENT, KREATÍV) olvashatók legyenek */
@media (max-width:1024px){
 html body .homepage_wrapper [class*="equipment_"][class*="_sidebar_mobile"][class*="_sidebar_mobile"]>span{color:#9a9a9a!important}
 html body a.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar.sidebar>span{color:#9a9a9a!important}
}

/* 5. MOBIL + TABLET – Munka: az átmenetes sötétítés csak a videóra essen (ne legyen üres sáv alatta),
      a lapozó nyilak ne takarják a kártyák feliratát */
@media (max-width:1024px){
 html body .creative_work .creative_work_inner .main_img_fade{height:56.25vw!important;bottom:auto!important}
 html body .creative_work .owl-item span{padding-left:26px!important;padding-right:26px!important;box-sizing:border-box}
}

/* 6. TABLET ÁLLÓ (577–1024 px) – Csapat / Stáb: a szöveg ne fusson rá a fotóra */
@media (min-width:577px) and (max-width:1024px){
 html body .creative_team .content,html body .equipment_crew .content{padding-top:40px!important}
 html body .equipment_crew .content{padding-top:110px!important}
 html body .creative_team .content h1,html body .creative_team .content h2,html body .equipment_crew .content h1,html body .equipment_crew .content h2{font-size:3.4rem!important;letter-spacing:.24em!important;margin-left:0!important;padding-left:.24em!important;text-align:center!important}
 html body .creative_team .creative_team_inner .team_image,html body .equipment_crew .crew_image{bottom:80px!important}
}

/* 6b. FEKVŐ TABLET / NEM TELJES KÉPERNYŐS LAPTOPABLAK (577–1024 px, fekvő) – szöveg balra, fotó jobbra */
@media (min-width:577px) and (max-width:1024px) and (orientation:landscape){
 html body .creative_team .content,html body .equipment_crew .content{left:0!important;right:auto!important;width:50%!important;padding-top:24px!important;z-index:2}
 html body .equipment_crew .content{padding-top:72px!important}
 html body .creative_team .content h1,html body .creative_team .content h2,html body .equipment_crew .content h1,html body .equipment_crew .content h2{font-size:2.4rem!important}
 html body .creative_team .content p,html body .equipment_crew .content p{padding:12px 32px!important;margin:0!important;width:auto!important;max-width:none!important;text-align:center!important}
 html body .creative_team .creative_team_inner .team_image,html body .equipment_crew .crew_image{width:50%!important;left:auto!important;right:0!important;bottom:96px!important;transform:none!important;margin:0!important}
}

/* 7. MINDEN MÉRET – sötét oldali Vissza/Back gomb olvashatósága (a márkapiros világosabb árnyalata) */
html body .homepage_wrapper .equipment_page [class*="footer"] > a:first-child span{color:#ff5a57!important}


/* ---------------------------------------------------------------------
   8. ASZTALI NÉZET – az Amaze + Engage és a Point + Shoot oldal egységes rendje
   - a két oldalon a cím, a szövegtörzs és a gomb ugyanabban a magasságban van
     (a Megszólít / Amaze helyzete a mérce, a Point + Shoot tartalma ehhez igazodik);
   - a Point + Shoot bekezdése is 4 soros, a kreatív oldalé is 4 soros
     (az utolsó mondat előtt sortörés – ehhez a tartalomban is kell egy sortörés, lásd a levelet);
   - a kreatív oldalon a Showreel gomb a cím első betűjével kezdődik,
     az eszközoldalon az Árlista gomb a cím utolsó betűjével ér véget;
   - közös bal oldali tengely (a bekezdés bal éle): angolul a POINT „P” és a SHOOT első „O” betűje,
     magyarul a KAMERA „K” és a FOROG „R” betűje erre a vonalra kerül (nyelvenként külön értékek).
   Tesztelve: 1280×800, 1366×768, 1440×900, 1600×900, 1728×1117, 1920×1080, 2560×1440, HU és EN.
   --------------------------------------------------------------------- */
@media (min-width:1025px){
 html body .creative_intro .content p{white-space:pre-line!important}
 html body .equipment_intro .content h1,html body .equipment_intro .content h2{margin-bottom:0!important}
 html body .equipment_intro .content{top:50%!important;transform:translate(-50%,0)!important}
 html body .equipment_intro .content .view_gear_button{bottom:auto!important}
 html body .equipment_intro .content h1,html body .equipment_intro .content h2{position:relative!important}
}
/* 1025–1366 px (kis laptop) */
@media (min-width:1025px) and (max-width:1366px){
 html body .equipment_intro .content{margin-top:-123px!important}
 html body .equipment_intro .content p{padding-top:23px!important;margin-left:240px!important;max-width:360px!important;width:360px!important}
 html body .equipment_intro .content .view_gear_button{top:257px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content h1{left:-96.7px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content h2{left:-93.7px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content .view_gear_button{right:106.7px!important}
 html body .equipment_intro.equipment_intro_hun .content h1{left:-9.5px!important}
 html body .equipment_intro.equipment_intro_hun .content h2{left:-49.1px!important}
 html body .equipment_intro.equipment_intro_hun .content .view_gear_button{right:19.5px!important}
 html body .equipment_intro.equipment_intro_hun .content .view_gear_button span{left:3.54em!important}
 html body .creative_intro .content .watch_showreel{left:0!important;transform:translate(0,-50%)!important}
}
/* 1367–1600 px (13–15" laptop) */
@media (min-width:1366.5px) and (max-width:1600px){
 html body .equipment_intro .content{margin-top:-146px!important}
 html body .equipment_intro .content p{padding-top:23px!important;margin-left:250px!important;max-width:370px!important;width:370px!important}
 html body .equipment_intro .content .view_gear_button{top:299px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content h1{left:-121.2px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content h2{left:-114.6px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content .view_gear_button{right:43.2px!important}
 html body .equipment_intro.equipment_intro_hun .content h1{left:-9.2px!important}
 html body .equipment_intro.equipment_intro_hun .content h2{left:-56.6px!important}
 html body .equipment_intro.equipment_intro_hun .content .view_gear_button{right:-68.8px!important}
 html body .equipment_intro.equipment_intro_hun .content .view_gear_button span{left:3.54em!important}
 html body .creative_intro .content .watch_showreel{left:0!important;transform:translate(0,-50%)!important}
}
/* 1601–1919 px (MacBook Pro 16", 1728 px) */
@media (min-width:1600.5px) and (max-width:1919.98px){
 html body .equipment_intro .content{margin-top:-174.5px!important}
 html body .equipment_intro .content p{padding-top:24px!important}
 html body .equipment_intro .content .view_gear_button{top:354px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content h1{left:-57.4px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content h2{left:-44.4px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content .view_gear_button{right:110.4px!important}
 html body .equipment_intro.equipment_intro_hun .content h1{left:68.8px!important}
 html body .equipment_intro.equipment_intro_hun .content h2{left:16.4px!important}
 html body .equipment_intro.equipment_intro_hun .content .view_gear_button{right:-15.8px!important}
 html body .equipment_intro.equipment_intro_hun .content .view_gear_button span{left:3.69em!important}
 html body .creative_intro .content .watch_showreel{left:0!important}
}
/* 1920 px és felette (Full HD, 2K, 4K monitor) */
@media (min-width:1920px){
 html body .equipment_intro .content{margin-top:-253px!important}
 html body .equipment_intro .content p{padding-top:21px!important;margin-left:161px!important;max-width:540px!important;width:540px!important}
 html body .equipment_intro .content .view_gear_button{top:428px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content h1{left:-164.5px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content h2{left:-148.7px!important}
 html body .equipment_intro:not(.equipment_intro_hun) .content .view_gear_button{right:86.5px!important}
 html body .equipment_intro.equipment_intro_hun .content h1{left:-5.9px!important}
 html body .equipment_intro.equipment_intro_hun .content h2{left:-70.7px!important}
 html body .equipment_intro.equipment_intro_hun .content .view_gear_button{right:-72.1px!important}
 html body .equipment_intro.equipment_intro_hun .content .view_gear_button span{left:3.43em!important}
 html body .equipment_intro .content h2{margin-left:0!important}
 html body .creative_intro .content .watch_showreel{left:0!important}
}
.case_study_button:hover .case_study_frame::before,
.case_studies_button:hover .case_study_frame::before{background-color:transparent}
