/*
Theme Name: OGS Racer Theme
Theme URI: https://www.opengate.hu/
Description: OGS Racer Center child theme for Hello Elementor. Classic Editor and Classic Widgets ready.
Author: Open Gate Studio Kft.
Template: hello-elementor
Version: 0.8.8.7
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: ogs-racer-theme
License: GPL-2.0-or-later
*/

/* Native child theme styles, designed to coexist with Elementor and Classic Widgets. */
.ogr-site .ogr-powered{min-height:94px;padding-block:23px}
.ogr-site .ogr-foot-brand{min-width:0}
.ogr-site .ogr-footer-copyright{white-space:normal}

.ogr-site .ogr-lp-video,.ogr-site .ogr-lp-video-trigger{aspect-ratio:16/9;min-height:0!important;overflow:hidden;border-radius:24px}
.ogr-site .ogr-lp-video iframe{aspect-ratio:16/9!important;width:100%!important;height:100%!important;display:block;object-fit:cover;border:0}
.ogr-site .ogr-lp-video-poster{width:100%;height:100%;object-fit:cover;object-position:center}
.ogr-site .ogr-lp-video-trigger{display:flex}
.ogr-theme-widget-area{max-width:1240px;margin-inline:auto;padding:0 24px}
.ogr-theme-widget-area .widget{margin-block:1rem}
.ogr-site .ogr-contact-privacy a{margin-inline:.15em}
.ogr-site .ogr-error-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--ogr-line);border-radius:24px;margin:32px auto;padding:clamp(24px,5vw,64px);background:var(--ogr-card);max-width:1000px}
.ogr-site .ogr-error-code{display:block;font-size:clamp(100px,20vw,190px);font-weight:900;line-height:1;color:var(--ogr-accent);letter-spacing:-.08em;transform:skew(-8deg);margin-bottom:20px}
.ogr-site .ogr-error-hero h1{font-size:clamp(28px,4vw,46px);line-height:1.12;max-width:700px}
.ogr-site .ogr-error-hero p{max-width:650px}
.ogr-site .ogr-error-search{margin:28px 0;max-width:600px}
.ogr-site .ogr-error-search label{display:block;font-weight:700;margin-bottom:8px}
.ogr-site .ogr-error-search div{display:flex;gap:8px;flex-wrap:wrap}
.ogr-site .ogr-error-search input{flex:1;min-width:140px;width:100%;padding:12px;border:1px solid var(--ogr-line);border-radius:10px;background:var(--ogr-bg);color:var(--ogr-ink)}
.ogr-site .ogr-error-links{display:flex;gap:12px;flex-wrap:wrap}
.ogr-site .ogr-error-links a{padding:14px 18px;border:1px solid var(--ogr-line);border-radius:12px;font-weight:750}

/* Kardos 164: bilingual, responsive layout and contrast refinements. */
.ogr-site :is(.ogr-partner,.ogr-partner-card) :is(a,.ogr-partner-graphic){box-sizing:border-box;overflow:hidden}
.ogr-site :is(.ogr-partner,.ogr-partner-card) img{display:block;max-width:100%;height:auto;object-fit:contain;object-position:center}
.ogr-site .ogr-partner > a,.ogr-site .ogr-partner > .ogr-partner-graphic{background:#f7f7f5!important;color:#101214!important;color-scheme:light;display:flex;justify-content:center;align-items:center;min-height:100px;padding:12px!important;border:1px solid #ddd;border-radius:12px}
.ogr-site .ogr-partner > a img,.ogr-site .ogr-partner > .ogr-partner-graphic img{max-height:90px!important;width:auto!important;object-fit:contain!important;filter:none!important}
.ogr-site :is(.ogr-prose,.ogr-single-post,.ogr-news-post) {color:var(--ogr-ink);background:transparent}
.ogr-site :is(.ogr-prose,.ogr-single-post,.ogr-news-post) :is(h1,h2,h3,h4,h5,h6,p,li){color:inherit}
.ogr-site :focus-visible{outline:3px solid var(--ogr-accent,#ff2638);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.ogr-site :is(.ogr-carousel,.ogr-partners-track){animation-duration:.01ms!important;scroll-behavior:auto!important}}

/* Kardos 0.8.8.5 — full-bleed coaching landing in native WordPress templates.
   Other editorial pages keep the existing article width and typography. */
.ogr-site .ogr-coaching-page{display:block;width:100%;max-width:none;min-width:0;margin:0;padding:0;overflow:clip}
.ogr-site .ogr-coaching-page>.ogr-coaching{margin:0;width:100%;max-width:none}
