/* Landing megjelenés a megtartott szerkezeteken. Csak a kijelölt oldalak töltik. */
html:has(body.sk-legacy) { color-scheme:dark; }
body.sk-legacy { background:#161616; color:#fff; font:20px/1.5 'Instrument Sans',sans-serif; --cim:'Epilogue','Instrument Sans',sans-serif; --test:'Instrument Sans',sans-serif; }
.sk-legacy [style*="font-family:"] { font-family:'Instrument Sans',sans-serif!important; }
.sk-legacy :is(h1,h2,h3), .sk-legacy [style*="font-family:'Clash Display'"] { font-family:var(--cim)!important; }
.sk-legacy :is(h1,h2,h3) { text-wrap:balance!important; line-height:1.16!important; }
.sk-legacy h1 { font-size:clamp(36px,4.7vw,64px)!important; }
.sk-legacy h2 { font-size:clamp(32px,3.8vw,52px)!important; }
.sk-legacy h3 { font-size:clamp(21px,2vw,28px)!important; }
.sk-legacy p { text-wrap:pretty; }
.sk-legacy [style*="background:#0A0A0B"], .sk-legacy [style*="background:#101012"], .sk-legacy [style*="background:#141416"] { background-color:#161616!important; }
.sk-legacy [style*="color:#F0A84B"], .sk-legacy [style*="color:#E07B39"] { color:#E98F41!important; }
.sk-legacy [style*="-webkit-text-fill-color:transparent"] { background-image:linear-gradient(135deg,#F7B76E,#E98F41)!important; }
.sk-legacy .sk-legacy-light { background:#fbf4ee url('/assets/l24/s1-hatter.webp') center/cover!important; color:#161616!important; }
.sk-legacy-light [style*="color:#F5F5F3"], .sk-legacy-light [style*="color:rgba(245"], .sk-legacy-light [style*="color:rgba(255"] { color:#36312d!important; }
.sk-legacy-light [style*="color:#F0A84B"], .sk-legacy-light [style*="color:#E07B39"] { color:#B65F17!important; }
.sk-legacy-light [style*="-webkit-text-fill-color:transparent"] { background:none!important; -webkit-text-fill-color:#B65F17!important; text-decoration:underline; text-decoration-color:#E98F41; text-decoration-thickness:3px; text-underline-offset:8px; }
.sk-legacy-light [style*="border-bottom:1px solid rgba(255"], .sk-legacy-light [style*="border-top:1px solid rgba(255"] { border-color:#d5bda7!important; }
.sk-legacy-light [style*="background:linear-gradient(145deg"], .sk-legacy-light [style*="background:rgba(255,255,255"] { background:#fff!important; }
.sk-legacy > nav { background:rgba(255,255,255,.98)!important; color:#161616; border-color:#ead8c8!important; backdrop-filter:blur(14px); }
.sk-legacy .nav-logo { min-width:177px; }
.sk-legacy .nav-logo img { display:block; width:177px; height:38px; }
.sk-legacy .nav-links { gap:24px!important; }
.sk-legacy .nav-link { color:#161616!important; font:600 15px/1.4 var(--test)!important; text-decoration:none; }
.sk-legacy .nav-link:hover { color:#B65F17!important; }
.sk-legacy :is(.btn-primary,.btn-submit,.nav-panel__cta) { background:linear-gradient(135deg,#F7B76E,#E98F41)!important; color:#161616!important; border:1px solid #E98F41!important; border-radius:10px!important; font:700 16px/1.4 var(--test)!important; min-height:52px; box-sizing:border-box; text-align:center; display:inline-flex!important; align-items:center; justify-content:center; gap:8px; white-space:normal!important; }
.sk-legacy .nav-cta { font-size:14px!important; min-height:46px; padding:12px 18px!important; }
.sk-legacy .btn-ghost { background:#161616!important; color:#fff!important; border-radius:10px!important; }
.sk-legacy .nav-burger { color:#161616!important; border-color:#c9aa8d!important; }
.sk-legacy .nav-burger__bars span { background:#161616!important; }
.sk-legacy .nav-panel { background:#fff!important; color:#161616!important; border-color:#ead8c8!important; }
.sk-legacy .nav-panel__link { color:#161616!important; font:600 18px/1.4 var(--test)!important; }
.sk-legacy :is(header[data-rgroup],section[data-rgroup="kiknek"],section[data-rgroup="velemeny"],section[data-rgroup="gyik"],section[data-fcta-root]) h2::after { content:''; display:block; width:170px; height:16px; margin:30px auto 0; background:url('/assets/l24/elvalaszto-feher.svg') center/contain no-repeat; }
.sk-legacy .sk-legacy-light h2::after { background-image:url('/assets/l24/elvalaszto-sotet.svg')!important; }
.sk-legacy section[data-rgroup="gyik"] { background:#161616 url('/assets/l24/s7-hatter-hq.jpg') center/cover!important; }
.sk-legacy :is([data-rgroup="velemeny"],[data-panel]) .case-card { border:1px solid #d5bda7!important; border-radius:18px!important; background:#fff!important; color:#161616!important; height:100%; display:flex!important; flex-direction:column; }
.sk-legacy :is([data-rgroup="velemeny"],[data-panel]) .case-card :is(h3,p,span) { color:#161616!important; }
.sk-legacy .case-card picture { flex-shrink:0; }
.sk-legacy .case-card picture img { width:100%; height:auto; }
.sk-legacy .case-card h3 { font-size:24px!important; }
.sk-legacy .case-card > div:last-child { display:flex; flex-direction:column; flex:1; }
.sk-legacy [data-faq-item] { border-top:1px solid #6f5b4b!important; }
.sk-legacy .faq-btn { width:100%; background:none; border:0; color:#fff; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:24px; text-align:left; padding:26px 6px; }
.sk-legacy .faq-btn > span:first-child { color:#E98F41!important; font:600 20px/1.4 var(--cim)!important; }
.sk-legacy [data-faq-panel] { padding:0 6px 30px; }
.sk-legacy [data-faq-panel] p { font:18px/1.65 var(--test)!important; }
.sk-legacy [data-rgroup="kiknek"] [data-r="2"], .sk-legacy [data-rgroup="kiknek"] [data-r="3"] { border:1px solid #d5bda7; border-radius:18px; padding:30px; height:100%; background:#fff; }
.sk-legacy [data-rgroup="kiknek"] [data-r="3"] { background:#161616; color:#fff; }
.sk-legacy [data-rgroup="kiknek"] [data-r="3"] [style*="color:rgba(245"] { color:#fff!important; }
.sk-legacy .sk-legacy-logos .l24-logosav { max-width:1200px; margin:0 auto; }
.sk-legacy .sk-offers { font:20px/1.5 var(--test); }
.sk-legacy .sk-offers .sk-section { padding-block:96px; }
.sk-legacy .sk-offers h2 { font-size:clamp(30px,3.4vw,48px)!important; }
.sk-legacy .sk-offers h3 { font-size:29px!important; }
.sk-legacy .sk-offers .sk-step h3 { font-size:22px!important; }
.sk-legacy .sk-offers .sk-plan h3 { font-size:42px!important; }
.sk-legacy .sk-offers .sk-card { height:100%; }
.sk-legacy .sk-offers .l24-gomb { font-family:var(--test)!important; }
.sk-legacy [data-tabswitch] { padding-top:64px!important; }
.sk-legacy .tab-row { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px!important; }
.sk-legacy .tab-btn { border:1px solid #726051!important; border-radius:12px; padding:18px 12px!important; min-height:90px; justify-content:center; background:#24201d!important; color:#fff!important; }
.sk-legacy .tab-btn[aria-pressed="true"] { border-color:#E98F41!important; background:#E98F41!important; color:#161616!important; }
.sk-legacy .tab-btn span { white-space:normal!important; }
.sk-legacy [data-tl-label] h3 { font-size:clamp(17px,1.9cqw,22px)!important; }
.sk-legacy [data-tl-mobile] h3 { font-size:21px!important; }
.sk-legacy [data-rgroup="hogyan-m"] > div:first-child h3 { font-size:36px!important; }
.sk-legacy [data-tl-mobile] [data-tl-mrail] { background:#4f4339!important; }
.sk-legacy footer { background:#161616!important; }
.sk-legacy footer a { color:#e2d8cf!important; font-family:var(--test)!important; }
@media(max-width:1099px) and (min-width:900px) {
 .sk-legacy > nav > div:first-child { gap:18px!important; padding-inline:20px!important; }
 .sk-legacy .nav-links { gap:14px!important; }
 .sk-legacy .nav-link { font-size:13px!important; }
 .sk-legacy .nav-logo { min-width:150px; }
 .sk-legacy .nav-logo img { width:150px; height:auto; }
 .sk-legacy .nav-cta { font-size:12px!important; padding-inline:12px!important; }
}
@media(max-width:899px) {
 .sk-legacy .nav-panel__cta { display:flex!important; width:100%; padding:12px 20px!important; }
 .sk-legacy .nav-cta { max-width:145px; font-size:12px!important; padding:9px 12px!important; }
 .sk-legacy .nav-logo { min-width:0; }
 .sk-legacy .nav-logo img { width:150px; height:auto; }
 .sk-legacy > nav > div:first-child { gap:12px!important; }
 .sk-legacy [data-rgroup="kiknek"] [data-r="2"], .sk-legacy [data-rgroup="kiknek"] [data-r="3"] { padding:24px; }
 .sk-legacy .tab-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .sk-legacy .tab-btn { min-height:84px; }
 .sk-legacy .tab-btn span { font-size:16px!important; }
 .sk-legacy [data-rgroup="kiknek"] h2, .sk-legacy [data-rgroup="gyik"] h2 { font-size:34px!important; }
 .sk-legacy .sk-offers { font-size:18px; }
 .sk-legacy .sk-offers .sk-section { padding-block:72px; }
}
@media(max-width:479px) {
 .sk-legacy > nav .nav-cta { display:none!important; }
 .sk-legacy .nav-burger { margin-left:auto; }
 .sk-legacy .nav-logo img { width:177px; }
 .sk-legacy [data-mg-item="0"] span { white-space:normal!important; }
 .sk-legacy h1 { font-size:36px!important; }
}

/* Megtartott bemutatkozó sorok és esettanulmányok, az eredeti DOM mellett. */
.sk-legacy .sk-about-original .sk-original-team-row { align-items:center!important; }
.sk-legacy .sk-original-team-row [data-r="4"] > p:last-child,
.sk-legacy .sk-original-team-row [data-r="6"] > p:last-child { font-size:18px!important; line-height:1.65!important; }
.sk-legacy .sk-original-team-row [style*="aspect-ratio:4 / 5"] { border-color:#d5bda7!important; border-radius:20px!important; }
.sk-legacy .sk-case-original > div > div { max-width:900px!important; }
.sk-legacy .sk-case-original h2 { font-size:clamp(27px,3vw,38px)!important; }
.sk-legacy .sk-case-original p { font-size:19px!important; line-height:1.75!important; }
.sk-legacy .sk-original-case-metrics { grid-auto-rows:1fr; align-items:stretch; }
.sk-legacy .sk-original-case-metrics > div { min-height:150px; height:100%; box-sizing:border-box; background:#fff!important; border-color:#d5bda7!important; border-radius:18px!important; }
.sk-legacy .sk-original-case-metrics > div > span:first-child { color:#B65F17!important; }
.sk-legacy .sk-original-case-metrics > div > span:last-child { color:#424242!important; }
@media(max-width:767px) {
 .sk-legacy .sk-case-original p { font-size:18px!important; line-height:1.65!important; }
 .sk-legacy .sk-original-case-metrics { grid-template-columns:1fr!important; }
 .sk-legacy .sk-original-case-metrics > div { min-height:138px; }
 .sk-legacy .sk-original-team-row { gap:30px!important; }
}

/* A reveal JS normalizálja az inline style szövegét, ezért ezek osztályra épülnek. */
.sk-legacy :is(.sk-about-original,.sk-case-original) :is(h1,h2,h3,p,li,span) { color:#36312d!important; }
.sk-legacy .sk-about-original .team-role,
.sk-legacy :is(.sk-about-original,.sk-case-original) .back-home-link { color:#B65F17!important; }
.sk-legacy .sk-original-case-metrics > div > span:first-child { color:#B65F17!important; }
.sk-legacy .sk-about-original > div > div:first-of-type > p { color:#B65F17!important; }
/* Stabil szín- és betűjelölők: a reveal futása átírhatja az inline stílusok formázását. */
.sk-legacy { --sk-ink:#fff; --sk-ink-muted:#d5cfc9; --sk-ink-accent:#E98F41; }
.sk-legacy .sk-legacy-light { --sk-ink:#161616; --sk-ink-muted:#554b43; --sk-ink-accent:#B65F17; }
.sk-legacy [data-sk-ink="body"] { color:var(--sk-ink)!important; }
.sk-legacy [data-sk-ink="muted"] { color:var(--sk-ink-muted)!important; }
.sk-legacy [data-sk-ink="accent"] { color:var(--sk-ink-accent)!important; }
.sk-legacy [data-sk-heading] { font-family:var(--cim)!important; }
.sk-legacy [data-sk-gradient] { background-image:linear-gradient(135deg,#F7B76E,#E98F41)!important; }
.sk-legacy .sk-legacy-light [data-sk-gradient] { background:none!important; -webkit-text-fill-color:#B65F17!important; }
.sk-legacy [data-rgroup="kiknek"] [data-r="3"] { --sk-ink:#fff; --sk-ink-muted:#e2d8cf; --sk-ink-accent:#E98F41; }
.sk-legacy .case-card { --sk-ink:#161616; --sk-ink-muted:#554b43; --sk-ink-accent:#B65F17; }
.sk-legacy .sk-offers { color:#161616; }
.sk-legacy .sk-offers .sk-dark { color:#fff; }
.sk-legacy > nav { --sk-ink:#161616; --sk-ink-muted:#161616; --sk-ink-accent:#B65F17; }
/* A megtartott sötét demógomb saját kontrasztja a világos hero-n belül. */
.sk-legacy .sk-legacy-light .btn-ghost { --sk-ink:#fff; --sk-ink-muted:#fff; --sk-ink-accent:#fff; color:#fff!important; -webkit-text-fill-color:#fff!important; }
.sk-legacy .hero-actions > a { width:100%; height:60px!important; min-height:60px!important; box-sizing:border-box; }
@media(max-width:359px) {
 .sk-legacy .sk-case-original h1 { font-size:30px!important; }
 .sk-legacy .sk-case-original h2 { font-size:25px!important; }
}
