/*
Theme Name: Tekeregj Race Center
Theme URI: https://tekeregj.hu/
Author: Tekeregj
Description: A Tekeregj Race Center önálló megjelenése. A versenyfunkciókat a külön Tekeregj Race Center bővítmény biztosítja. Nem igényli a régi Tekeregj témát.
Version: 0.1.2
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: tekeregj-race-center
*/
:root{--trc-blue:#006887;--trc-ink:#172033;--trc-bg:#f4f7fb}*{box-sizing:border-box}body{margin:0;background:var(--trc-bg);color:var(--trc-ink);font-family:Poppins,system-ui,sans-serif}a{color:var(--trc-blue)}.site-header{background:#fff;border-bottom:1px solid #d9e4e9;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 4vw}.site-brand{font-size:26px;font-weight:800;text-decoration:none;line-height:1.1}.site-brand small{display:block;font-size:11px;letter-spacing:.12em;margin-top:5px}.site-header nav{display:flex;gap:25px;align-items:center}.site-header nav a{text-decoration:none;font-size:14px}.site-header ul{display:flex;gap:20px;list-style:none;margin:0;padding:0}.site-header .custom-logo{max-width:180px;height:auto}.site-footer{padding:30px 4vw;color:#64748b;border-top:1px solid #d9e4e9;font-size:13px}.site-content{min-height:70vh}.content-plain{max-width:960px;padding:40px 24px;margin:auto}.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:20px;top:10px;background:white;padding:12px;z-index:9999}@media(max-width:650px){.site-header{flex-wrap:wrap}.site-header nav{gap:14px;flex-wrap:wrap}.site-brand{font-size:22px}}


.tekeregj-header-profile {
    flex: 0 0 auto;
    margin-left: 24px;
    position: relative;
    z-index: 120;
}

.tekeregj-header-profile .header__login {
    appearance: none;
    margin-left: 0;
    padding: 0;
}

.tekeregj-header-profile__toggle[aria-expanded="true"] {
    box-shadow: 0 0 0 3px rgba(0,104,135, .16);
}

.tekeregj-header-profile__menu[hidden] {
    display: none !important;
}

.tekeregj-header-profile__menu {
    background: #fcfcfd;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(35, 38, 47, .16);
    min-width: 280px;
    overflow: hidden;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 2147483001;
}

.tekeregj-header-profile__menu::before {
    background: #fcfcfd;
    border-left: 1px solid #e6e8ec;
    border-top: 1px solid #e6e8ec;
    content: "";
    height: 12px;
    position: absolute;
    right: 14px;
    top: -7px;
    transform: rotate(45deg);
    width: 12px;
}

.tekeregj-header-profile__identity {
    border-bottom: 1px solid #e6e8ec;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 4px 6px;
    overflow: hidden;
    padding: 12px 10px 14px;
}

.tekeregj-header-profile__identity strong {
    color: #006887;
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tekeregj-header-profile__identity span {
    color: #006887;
    font-size: 12px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tekeregj-header-profile__nav {
    display: flex;
    flex-direction: column;
}

.tekeregj-header-profile__nav a,
.tekeregj-header-profile__logout {
    align-items: center;
    border-radius: 10px;
    color: #777e90;
    display: flex;
    flex-direction: row;
    font-size: 14px;
    font-weight: 600;
    gap: 12px;
    line-height: 1.4;
    min-height: 42px;
    padding: 10px 12px;
    transition: background-color .18s ease, color .18s ease;
}

.tekeregj-header-profile__nav a i,
.tekeregj-header-profile__logout i {
    color: #777e90;
    flex: 0 0 18px;
    font-size: 14px;
    text-align: center;
    transition: color .18s ease;
}


/* Race Center adaptation of the Tekeregj header. */
.site-header{display:block;padding:0 32px;position:relative;z-index:200;background:#fcfcfd}.header__center{max-width:1440px;min-height:88px;margin:auto;display:flex;align-items:center;gap:32px}.header__logo{flex:0 0 120px}.header__logo img{width:120px;height:auto;display:block}.site-header .race-header-nav{display:flex;flex:1;gap:28px}.race-header-nav a{color:#777e90;font-weight:600;white-space:nowrap}.race-header-nav a:hover,.race-header-nav a.is-current{color:#006887}.site-header .tekeregj-header-profile{margin-left:auto;flex:0 0 40px}.header__login{width:40px;height:40px;border:0;background:transparent;border-radius:50%;color:#006887;display:grid;place-items:center;cursor:pointer}.header__login svg{width:22px;height:22px}.site-header .tekeregj-header-profile__nav{display:flex;flex-direction:column;align-items:stretch;gap:2px}.site-header .tekeregj-header-profile__nav a:hover,.tekeregj-header-profile__logout:hover{background:#e9f3f5;color:#006887}.tekeregj-header-profile__logout{text-decoration:none}.race-menu-toggle{display:none;border:0;background:none;font-size:24px;color:#006887;cursor:pointer}.site-header [hidden]{display:none!important}#race-mobile-nav{padding:12px 0 22px;flex-direction:column;align-items:stretch;gap:18px}.site-header a:focus-visible,.site-header button:focus-visible{outline:3px solid #9ed14b;outline-offset:4px}@media(max-width:760px){.site-header{padding:0 20px}.header__center{min-height:76px;gap:14px}.site-header .race-header-nav{display:none}.race-menu-toggle{display:block}.tekeregj-header-profile__menu{min-width:260px;max-width:calc(100vw - 40px);right:-38px}.site-header .header__logo{flex-basis:106px}.header__logo img{width:106px}}
/* Tekeregj 3.9.99: full-width header, original SVG icons and spacing. */
.site-header.tekeregj-site-header{padding:19px 0;background:#fcfcfd;border-bottom:1px solid #e6e8ec}.site-header .header__center.center{width:100%;max-width:none;min-height:40px;margin:0;padding:0 24px;gap:0}.site-header .header__logo{flex:0 0 auto;margin-right:22px}.site-header .header__logo img{width:106px;height:36px;object-fit:contain}.site-header .race-header-nav{justify-content:flex-end;padding-left:18px;gap:28px;margin-right:18px;min-width:0}.site-header .race-header-nav a{font-size:14px;font-weight:500}.site-header .header__login{width:40px;height:40px;border-radius:50%;color:#fff;background:#006887}.site-header .header__login svg{width:18px;height:18px}.logged-in .site-header .header__login{background:#58c27d}.logged-in .site-header .header__login:hover{background:#41b168}.site-header .tekeregj-header-profile{margin-left:6px}.race-theme-toggle{border:0;background:none;padding:0;color:#777e90;width:40px;height:40px;display:grid;place-items:center;cursor:pointer;flex:0 0 40px}.race-theme-toggle svg{width:20px;height:20px;display:block}.race-menu-toggle svg{width:24px;height:24px}.race-logo-dark,.race-sun{display:none!important}.dark .race-logo-light,.dark .race-moon{display:none!important}.dark .race-logo-dark,.dark .race-sun{display:block!important}.site-header nav .menu{display:flex;gap:28px;align-items:center}.site-header nav .menu li{position:relative}.site-header nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:210px;background:#fcfcfd;border:1px solid #e6e8ec;border-radius:12px;padding:12px;box-shadow:0 18px 48px #23262f29;z-index:210}.site-header nav .menu li:hover>.sub-menu,.site-header nav .menu li:focus-within>.sub-menu{display:grid;gap:12px}.race-intro{padding:64px 5vw;background:linear-gradient(130deg,#edf5f7,#f4f7fb)}.race-intro h1{font-size:clamp(32px,4.5vw,64px);line-height:1.18;letter-spacing:-.035em;margin:0 0 20px;font-weight:600}.race-intro p{color:#64748b;font-size:15px;max-width:660px}.race-intro-eyebrow{display:block;font-size:11px;letter-spacing:.13em;font-weight:500;color:#006887;margin-bottom:20px}.race-page-editor{width:100%}.race-footer-cookie{font:inherit;background:none;color:inherit;border:0;padding:0;cursor:pointer;text-align:left}.tk-footer-column ul{list-style:none;padding:0;margin:0}.tk-footer-column li{margin:10px 0}.tk-footer-column a{color:inherit;text-decoration:none}.tk-footer-column a:hover{color:var(--tk-footer-accent)}.tk-footer-column h3{font-size:18px;font-weight:500}.tk-footer-bottom-menu ul{display:flex;gap:20px;list-style:none;margin:0;padding:0}.tk-footer-callout .tk-footer-title{font-weight:600}#trail-consent-root .tcs-launcher{width:44px;height:44px;padding:10px;border-radius:50%}#trail-consent-root .tcs-launcher span{display:none}
body.dark{background:#0e2028;color:#f5f7fb;color-scheme:dark}body.dark a{color:#80c9db}body.dark .site-header{background:#141c23;border-color:#333946}body.dark .site-header .race-header-nav a{color:#a8b0c0}body.dark .site-header .race-header-nav a:hover,body.dark .site-header .race-header-nav .is-current{color:#80c9db}body.dark .tekeregj-header-profile__menu,body.dark .tekeregj-header-profile__menu:before,body.dark .site-header nav .sub-menu{background:#173741;border-color:#333946}body.dark .tekeregj-header-profile__identity{border-color:#333946}body.dark .tekeregj-header-profile__identity strong,body.dark .tekeregj-header-profile__identity span,body.dark .tekeregj-header-profile__nav a,body.dark .tekeregj-header-profile__logout{color:#c7e6ef}body.dark .site-header .tekeregj-header-profile__nav a:hover{background:#234b58}body.dark .race-intro{background:linear-gradient(130deg,#14303a,#0e2028)}body.dark .race-intro p{color:#a8b0c0}body.dark .race-intro-eyebrow{color:#80c9db}body.dark .race-theme-toggle{color:#a8b0c0}body.dark #trail-consent-root{--tcs-bg:#173741!important;--tcs-ink:#f5f7fb!important;--tcs-line:#35515e!important;--tcs-accent:#006887!important}
@media(max-width:900px){.site-header .race-header-nav{display:none}.site-header .race-menu-toggle{display:block;margin-left:12px;padding:0;border:0;line-height:1}.site-header .race-theme-toggle{margin-left:auto}.site-header .tekeregj-header-profile{margin-left:6px}.site-header .header__center.center{padding:0 20px}.site-header #race-mobile-nav{padding:22px 24px 0}.site-header #race-mobile-nav .menu{display:grid;gap:18px}.site-header #race-mobile-nav .sub-menu{position:static;display:grid;margin-top:12px;box-shadow:none}.race-intro{padding:42px 24px}}

/* Original Tekeregj header search styling. */
.tekeregj-header-categories {
    align-items: stretch;
    display: flex;
    flex: 0 0 auto;
    position: relative;
    width: clamp(310px, 31vw, 500px);
    z-index: 150;
}

.tekeregj-header-categories__toggle {
    align-items: center;
    appearance: none;
    background: #f4f5f6;
    border: 1px solid transparent;
    border-radius: 12px 0 0 12px;
    color: #353945;
    cursor: pointer;
    display: inline-flex;
    font: 600 14px/1.2 "Poppins", sans-serif;
    gap: 9px;
    min-height: 42px;
    max-width: 190px;
    padding: 9px 12px;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.tekeregj-header-categories__toggle [data-category-label] {
    line-height: 1.5;
    padding-block: 2px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tekeregj-header-categories__toggle:hover,
.tekeregj-header-categories__toggle:focus-visible,
.tekeregj-header-categories__toggle[aria-expanded="true"] {
    background: #f4f7fb;
    border-color: rgba(0,104,135, .24);
    color: #006887;
}

.tekeregj-header-categories__toggle > svg:first-child {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 22px;
}

.tekeregj-header-categories__chevron {
    fill: none;
    height: 16px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .18s ease;
    width: 16px;
}

.tekeregj-header-categories__toggle[aria-expanded="true"] .tekeregj-header-categories__chevron {
    transform: rotate(180deg);
}

.tekeregj-header-categories__panel[hidden] {
    display: none !important;
}

.tekeregj-header-categories__panel {
    background: #fcfcfd;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(35, 38, 47, .16);
    left: 0;
    min-width: 300px;
    padding: 12px;
    position: absolute;
    top: calc(100% + 2px);
    z-index: 2147483001;
}

.tekeregj-header-categories__search {
    align-items: center;
    background: #f4f5f6;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    padding: 0 11px;
}

.tekeregj-header-categories__search svg {
    fill: none;
    flex: 0 0 18px;
    height: 18px;
    stroke: #777e90;
    stroke-linecap: round;
    stroke-width: 1.8;
    width: 18px;
}

.tekeregj-header-categories__search input {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #23262f;
    font: 500 13px/1.3 "Poppins", sans-serif;
    height: 40px;
    min-width: 0;
    outline: 0;
    padding: 0;
    width: 100%;
}

.tekeregj-header-categories__items {
    list-style: none;
    margin: 0;
    max-height: min(420px, calc(100vh - 150px));
    overflow-y: auto;
    padding: 0;
}

.tekeregj-header-categories__all {
    border-bottom: 1px solid #e6e8ec;
    list-style: none;
    margin: 0 0 5px;
    padding: 0 0 5px;
}

.tekeregj-header-categories__items li {
    margin: 0;
    padding: 0;
}

.tekeregj-header-categories__items a,
.tekeregj-header-categories__items button,
.tekeregj-header-categories__all button {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 9px;
    color: #353945;
    cursor: pointer;
    display: flex;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    min-height: 40px;
    padding: 9px 11px;
    text-align: left;
    transition: background-color .18s ease, color .18s ease;
    width: 100%;
}

.tekeregj-header-categories__items a:hover,
.tekeregj-header-categories__items a:focus-visible,
.tekeregj-header-categories__items button:hover,
.tekeregj-header-categories__items button:focus-visible,
.tekeregj-header-categories__all button:hover,
.tekeregj-header-categories__all button:focus-visible {
    background: rgba(0,104,135, .09);
    color: #006887;
}

.tekeregj-header-search__query {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #e6e8ec;
    border-top: 1px solid #e6e8ec;
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
    padding: 0 10px;
}

.tekeregj-header-search__query svg,
.tekeregj-header-search__submit svg {
    fill: none;
    flex: 0 0 18px;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
    width: 18px;
}

.tekeregj-header-search__query svg {
    color: #777e90;
}

.tekeregj-header-search__query input {
    appearance: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #23262f;
    font: 500 13px/1.3 "Poppins", sans-serif;
    height: 40px;
    min-width: 0;
    outline: 0;
    padding: 0;
    width: 100%;
}

.tekeregj-header-search__submit {
    align-items: center;
    appearance: none;
    border: 1px solid #006887;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 42px;
    justify-content: center;
    padding: 0;
    transition: background-color .18s ease, border-color .18s ease;
}

.tekeregj-header-search__submit:focus-visible {
    background: #00536b;
    border-color: #00536b;
}

.tekeregj-header-categories__items .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 14px;
}

.tekeregj-header-categories__empty {
    color: #777e90;
    font-size: 13px;
    margin: 0;
    padding: 12px 10px 6px;
}


.tekeregj-header-search__submit{background:#006887;color:white}.tekeregj-header-categories{margin-right:18px}.tekeregj-header-categories__toggle{font-weight:500}body.dark .tekeregj-header-categories__toggle,body.dark .tekeregj-header-categories__panel,body.dark .tekeregj-header-search__query{background:#23262f;color:#fcfcfd;border-color:#353945}body.dark .tekeregj-header-categories__items button,body.dark .tekeregj-header-search__query input{color:#fcfcfd}@media(max-width:1150px){.tekeregj-header-categories{display:none}}

.screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.site-header .tekeregj-header-categories__items{display:block}.site-header .tekeregj-header-categories__items li{display:block}
