/* ═══════════════════════════════════════════════════════════
   FEDERASYON — HEADER V2 (sıfırdan modern, standalone)
   ═══════════════════════════════════════════════════════════ */

.hdr2 {
    --red: #e31e26;
    --red-2: #ff4a50;
    --navy: #14143a;
    --navy-2: #232357;
    --ink: #1d1d28;
    --line: #ebecf2;
    font-family: 'Poppins', system-ui, sans-serif;
    position: relative;
    z-index: 1000;
}
.hdr2 * { box-sizing: border-box; }
.hdr2 a { text-decoration: none; }

/* ─── Üst bar ─── */
.hdr2-top {
    background: var(--navy);
    color: #fff;
    font-size: 13px;
}
.hdr2-top__in {
    max-width: 1320px; margin: 0 auto; padding: 9px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hdr2-top__left { display: flex; align-items: center; gap: 22px; opacity: .92; }
.hdr2-top__left a { color: #fff; display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.hdr2-top__left a:hover { color: var(--red-2); }
.hdr2-top__left i { color: var(--red-2); }
.hdr2-top__right { display: flex; align-items: center; gap: 14px; }
.hdr2-sbs {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--red); color: #fff; padding: 6px 16px; border-radius: 30px;
    font-weight: 600; transition: all .25s;
}
.hdr2-sbs:hover { background: var(--red-2); color: #fff; transform: translateY(-1px); }
.hdr2-social { display: flex; gap: 8px; }
.hdr2-social a {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.8);
    font-size: 13px;
    transition: all .25s ease;
}
.hdr2-social a:hover { color: #fff; transform: translateY(-2px); }
.hdr2-social a[aria-label="Facebook"]:hover { background: #1877F2; }
.hdr2-social a[aria-label="Instagram"]:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.hdr2-social a[aria-label="YouTube"]:hover { background: #FF0000; }

/* Ana bar her zaman sticky (aşağı inince de görünür) */
.hdr2-main {
    background: #fff;
    box-shadow: 0 2px 20px rgba(20,20,55,.06);
    position: sticky; top: 0; z-index: 990;
}

/* ─── Ana bar ─── */
.hdr2-main {
    background: #fff;
    box-shadow: 0 2px 20px rgba(20,20,55,.06);
    position: sticky; top: 0; z-index: 990;
}
.hdr2-main__in {
    max-width: 1320px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    height: 100px;
}
.hdr2-logo img { height: 50px; width: auto; }

/* ─── Menü ─── */
.hdr2-nav { display: flex; align-items: center; }
.hdr2-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hdr2-menu > li { position: relative; }
.hdr2-menu > li > a {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 12px 15px; font-size: 14.5px; font-weight: 600; color: var(--ink);
    border-radius: 10px; transition: all .2s;
}
.hdr2-menu > li > a:hover,
.hdr2-menu > li.is-open > a { color: var(--red); background: rgba(227,30,38,.06); }
.hdr2-menu > li > a .caret { font-size: 10px; opacity: .6; transition: transform .2s; }
.hdr2-menu > li:hover > a .caret { transform: rotate(180deg); }

/* Dropdown */
.hdr2-menu .sub {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
    background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(20,20,55,.16);
    border: 1px solid var(--line); padding: 8px; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .25s ease; z-index: 50;
}
.hdr2-menu > li:hover > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.hdr2-menu .sub li { position: relative; }
.hdr2-menu .sub a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink);
    border-radius: 9px; transition: all .18s;
}
.hdr2-menu .sub a:hover { background: var(--navy); color: #fff; }
/* 2. seviye */
.hdr2-menu .sub .sub {
    top: -8px; left: calc(100% + 6px);
}
.hdr2-menu .sub li:hover > .sub { opacity: 1; visibility: visible; transform: translateY(0); }

/* CTA + mobil tetikleyici */
.hdr2-actions { display: flex; align-items: center; gap: 12px; }
.hdr2-burger {
    display: none; width: 46px; height: 46px; border-radius: 12px;
    border: 1.5px solid var(--line); background: #fff; cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.hdr2-burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .25s; }

/* ─── Mobil ─── */
.hdr2-mobile {
    position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9998;
    opacity: 0; visibility: hidden; transition: all .3s;
}
.hdr2-mobile.open { opacity: 1; visibility: visible; }
.hdr2-mobile__panel {
    position: absolute; top: 0; right: 0; width: 86%; max-width: 360px; height: 100%;
    background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.2);
    transform: translateX(100%); transition: transform .3s ease;
    display: flex; flex-direction: column; overflow-y: auto;
}
.hdr2-mobile.open .hdr2-mobile__panel { transform: translateX(0); }
.hdr2-mobile__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.hdr2-mobile__head img { height: 44px; }
.hdr2-mobile__close { width: 40px; height: 40px; border: none; background: var(--navy); color: #fff; border-radius: 10px; font-size: 20px; cursor: pointer; }
.hdr2-mobile__menu { list-style: none; margin: 0; padding: 12px; }
.hdr2-mobile__menu li { border-bottom: 1px solid var(--line); }
.hdr2-mobile__menu > li > a,
.hdr2-mobile__menu .m-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 12px; font-size: 15px; font-weight: 600; color: var(--ink);
    cursor: pointer;
}
.hdr2-mobile__menu .m-sub { list-style: none; margin: 0; padding: 0 0 6px 14px; display: none; }
.hdr2-mobile__menu li.open > .m-sub { display: block; }
.hdr2-mobile__menu .m-sub a { padding: 11px 12px; font-size: 14px; font-weight: 500; color: #555; display: block; }
.hdr2-mobile__menu .m-toggle .caret { transition: transform .2s; }
.hdr2-mobile__menu li.open > .m-toggle .caret { transform: rotate(180deg); }

@media (max-width: 1100px) {
    .hdr2-nav .hdr2-menu { display: none; }
    .hdr2-burger { display: flex; }
}
@media (max-width: 600px) {
    .hdr2-top__left { gap: 12px; font-size: 12px; }
    .hdr2-top__left .hdr2-addr { display: none; }
    .hdr2-main__in { height: 70px; }
    .hdr2-logo img { height: 46px; }
}

/* ============================================================
   MOBİL header düzeltmeleri
   ============================================================ */
@media (max-width: 768px) {
    /* Topbar: tel ve mail gizle, sadece sosyal */
    .hdr2-top__left { display: none !important; }
    .hdr2-top__in { justify-content: center; }
    .hdr2-top__right { width: 100%; justify-content: center; }

    /* SBS butonu kısalt (SBS) */
    .hdr2-sbs { padding: 7px 12px; font-size: 11px; gap: 5px; }
    .hdr2-sbs .hdr2-sbs-full { display: inline; }
    .hdr2-sbs .hdr2-sbs-short { display: none; }

    /* Aksiyonlar sıkışmasın */
    .hdr2-actions { gap: 8px; }
}
@media (min-width: 769px) {
    .hdr2-sbs .hdr2-sbs-short { display: none; }
    .hdr2-sbs .hdr2-sbs-full { display: inline; }
}

/* Mobil menü kategori başlıkları (mega yapısını yansıtır) */
.hdr2-mobile__menu .m-sub .m-group {
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    letter-spacing: .6px; color: var(--red, #e31e26);
    padding: 14px 12px 6px; border-bottom: none !important;
    margin-top: 4px;
}
.hdr2-mobile__menu .m-sub .m-group:first-child { margin-top: 0; }
.hdr2-mobile__menu .m-sub li:not(.m-group) { border-bottom: 1px solid rgba(0,0,0,.04); }
.hdr2-mobile__menu .m-sub a { color: #444 !important; }
.hdr2-mobile__menu .m-sub a:hover { color: var(--red, #e31e26) !important; }

/* Üst bar: Online Ödemeler bağlantısı */
.hdr2-pay {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 8px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap;
    transition: background .2s ease, border-color .2s ease;
}
.hdr2-pay i { color: var(--red-2); }
.hdr2-pay:hover { background: var(--red); border-color: var(--red); color: #fff; }
.hdr2-pay:hover i { color: #fff; }
.hdr2-pay__short { display: none; }
@media (max-width: 768px) {
    .hdr2-top__right { justify-content: space-between; }
    .hdr2-pay { padding: 5px 10px; font-size: 11.5px; }
    .hdr2-pay__full { display: none; }
    .hdr2-pay__short { display: inline; }
}

/* ============================================================
   KURUMSAL AÇILIR MENÜ (mega--pro)
   İkonlu bağlantılar + kısa açıklama + alt bilgi şeridi
   ============================================================ */
.mega.mega--pro {
    border-top: 0;
    border-radius: 16px;
    border: 1px solid #e8eaf0;
    box-shadow: 0 30px 60px rgba(20,20,58,.16), 0 2px 6px rgba(20,20,58,.05);
    overflow: hidden;
    top: calc(100% + 6px);
}
.mega.mega--pro::before { /* üst kenarda ince kırmızı vurgu */
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--mx-red, #e31e26) 0 90px, #eceef4 90px);
}
.mega--pro.mega--compact-3 { min-width: 900px; max-width: 940px; }
.mega--pro.mega--compact-2 { min-width: 640px; max-width: 680px; margin-left: -320px; }
.mega--pro .mega__inner { gap: 10px; padding: 26px 22px 18px; }
.mega--pro .mega__inner--3c { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega--pro .mega__inner--2c { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega--pro .mega__col + .mega__col { border-left: 1px solid #eff0f5; padding-left: 10px; }

.mega--pro .mega__title {
    display: flex; align-items: center; gap: 8px;
    margin: 0 0 10px; padding: 0 10px 12px;
    border-bottom: 0;
    font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: #8a8da0;
}
.mega--pro .mega__title i { color: var(--mx-red, #e31e26); font-size: 12px; }
.mega--pro .mega__col ul li { margin: 0 0 2px; }

.mega--pro .mx-link {
    display: flex !important; align-items: center; gap: 12px;
    padding: 9px 10px !important; border-radius: 12px;
    color: inherit; text-decoration: none;
    transition: background .18s ease;
}
.mega--pro .mx-link:hover { background: #f5f6fa; padding-left: 10px !important; }
.mx-link__ico {
    flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #f2f3f8; color: var(--mx-navy, #14143a); font-size: 15px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.mega--pro .mx-link:hover .mx-link__ico { background: var(--mx-navy, #14143a); color: #fff; transform: scale(1.04); }
.mx-link__txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mx-link__txt b {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--mx-navy, #14143a);
    transition: color .18s ease;
}
.mx-link__txt small { font-size: 12px; font-weight: 500; line-height: 1.35; color: #8a8da0; }
.mega--pro .mx-link:hover .mx-link__txt b { color: var(--mx-red, #e31e26); }
.mx-ext { font-size: 9px; color: #b4b7c6; }

.mega__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 14px 32px; background: #f7f8fb; border-top: 1px solid #eceef4;
}
.mega__foot-info { display: flex; flex-wrap: wrap; gap: 20px; }
.mega__foot-info a {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: #4a4d62; text-decoration: none;
}
.mega__foot-info a i { color: var(--mx-red, #e31e26); font-size: 12px; }
.mega__foot-info a:hover { color: var(--mx-navy, #14143a); }
.mega__foot-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 10px;
    background: var(--mx-navy, #14143a); color: #fff !important;
    font-size: 13px; font-weight: 700; text-decoration: none;
    transition: background .2s ease;
}
.mega__foot-cta .fa-arrow-right { font-size: 11px; transition: transform .2s ease; }
.mega__foot-cta:hover { background: var(--mx-red, #e31e26); }
.mega__foot-cta:hover .fa-arrow-right { transform: translateX(3px); }

/* Menü öğesi — açıkken vurgulu */
.hdr2-menu .has-mega--compact:hover > a,
.hdr2-menu .has-mega--compact.is-open > a { color: var(--mx-red, #e31e26); }

@media (max-width: 1200px) {
    .mega--pro.mega--compact-3 { min-width: 820px; }
    .mx-link__txt small { display: none; }
    .mx-link__ico { flex-basis: 34px; width: 34px; height: 34px; font-size: 14px; }
}
/* Menü öğesi ile açılır panel arasındaki boşlukta hover kopmasın */
.hdr2-menu .has-mega--compact::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }

/* ============================================================
   ULUSLARARASI FEDERASYON TARZI MENÜ (.xm)
   Tam genişlik panel: tanıtım · bağlantı kolonları · öne çıkan kart
   (World Taekwondo, European Taekwondo Union vb. bilgi mimarisi)
   ============================================================ */

/* Üst seviye bağlantılar: sade metin + kırmızı alt çizgi */
.hdr2-menu > li.has-xm > a,
.hdr2-menu > li > a {
    background: transparent !important;
    border-radius: 0;
    position: relative;
    letter-spacing: .01em;
}
.hdr2-menu > li > a::after {
    content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
}
.hdr2-menu > li > a:hover::after,
.hdr2-menu > li.is-open > a::after { transform: scaleX(1); }
.hdr2-menu > li > a:hover,
.hdr2-menu > li.is-open > a { color: var(--navy) !important; }
.hdr2-menu > li > a .caret { font-size: 9px; margin-left: 2px; }

/* Panel */
.mega.xm {
    left: 0; right: 0; top: 100%;
    border-top: 1px solid #eceef4;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 28px 50px rgba(20,20,58,.12);
    transform: translateY(6px);
}
.hdr2-menu .has-xm:hover .mega.xm,
.hdr2-menu .has-xm.is-open .mega.xm { transform: translateY(0); }
.xm__inner {
    max-width: 1320px; margin: 0 auto;
    display: grid; gap: 0;
    padding: 0 24px;
}
.xm__inner--2 { grid-template-columns: 300px minmax(0, 1fr) minmax(0, 1fr) 340px; }
.xm__inner > * { padding: 36px 32px 40px; }
.xm__inner > * + * { border-left: 1px solid #eff0f5; }

/* Tanıtım kolonu */
.xm__intro { padding-left: 0 !important; display: flex; flex-direction: column; align-items: flex-start; }
.xm__kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.xm__title { margin: 0 0 12px; font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -.4px; color: var(--navy); }
.xm__desc { margin: 0 0 22px; font-size: 14px; line-height: 1.65; color: #6b6e82; }
.xm__cta {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13.5px; font-weight: 700; color: var(--navy) !important; text-decoration: none;
    padding-bottom: 4px; border-bottom: 2px solid var(--red);
    transition: gap .2s ease;
}
.xm__cta:hover { gap: 14px; }

/* Bağlantı kolonları */
.xm__coltitle {
    margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #eceef4;
    font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a8da0;
}
.xm__links { list-style: none; margin: 0; padding: 0; }
.xm__links li { margin: 0; }
.xm__links a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid transparent;
    font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--navy) !important; text-decoration: none;
    transition: color .18s ease;
}
.xm__links a:hover { color: var(--red) !important; }
.xm-arrow { font-size: 11px; color: var(--red); opacity: 0; transform: translateX(-6px); transition: opacity .18s ease, transform .18s ease; }
.xm__links a:hover .xm-arrow { opacity: 1; transform: none; }
.xm-ext { font-size: 9px; color: #b4b7c6; margin-left: 5px; vertical-align: 2px; }

/* Öne çıkan kart */
.xm__feature { display: flex; flex-direction: column; gap: 10px; text-decoration: none; padding-right: 0 !important; }
.xm__feature-img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #f4f5f8; }
.xm__feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.xm__feature:hover .xm__feature-img img { transform: scale(1.04); }
.xm__feature--person .xm__feature-img img { object-position: center 18%; }
.xm__feature-body { display: flex; flex-direction: column; gap: 6px; }
.xm__feature-label { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.xm__feature strong { font-size: 16.5px; font-weight: 800; line-height: 1.35; color: var(--navy); }
.xm__feature--news strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xm__feature-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--navy) !important; text-decoration: none; }
.xm__feature:hover strong, .xm__feature-link:hover { color: var(--red) !important; }
.xm__event-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #4a4d62; }
.xm__event-meta i { width: 14px; color: var(--red); }
.xm__feature--event { background: #f7f8fb; }
.xm__feature--event strong { font-size: 18px; margin: 4px 0 4px; }

.xm__feature--navy { background: var(--navy); color: rgba(255,255,255,.75); justify-content: center; }
.xm__feature--navy strong { color: #fff; font-size: 19px; }
.xm__feature--navy:hover strong { color: #fff !important; }
.xm__feature-ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #fff; font-size: 19px; margin-bottom: 4px; }
.xm__feature-text { font-size: 13.5px; line-height: 1.6; }
.xm__feature--navy .xm__feature-link { color: #fff !important; }
.xm__feature--navy:hover .xm__feature-link { gap: 12px; }

/* Orta genişlikte sadeleştir */
@media (max-width: 1280px) {
    .xm__inner--2 { grid-template-columns: 250px minmax(0, 1fr) minmax(0, 1fr) 280px; }
    .xm__inner > * { padding: 30px 24px 32px; }
    .xm__title { font-size: 24px; }
}
@media (max-width: 1100px) {
    .xm__inner--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 260px; }
    .xm__intro { display: none; }
    .xm__inner > .xm__col:first-of-type { border-left: 0; padding-left: 0; }
}

/* Menü eklentisi: kolon sayısına göre esnek panel */
.xm__inner--dyn { grid-template-columns: 300px repeat(var(--xm-cols, 2), minmax(0, 1fr)); }
.xm__inner--dyn.has-feature { grid-template-columns: 300px repeat(var(--xm-cols, 2), minmax(0, 1fr)) 340px; }
@media (max-width: 1280px) {
    .xm__inner--dyn { grid-template-columns: 250px repeat(var(--xm-cols, 2), minmax(0, 1fr)); }
    .xm__inner--dyn.has-feature { grid-template-columns: 250px repeat(var(--xm-cols, 2), minmax(0, 1fr)) 280px; }
}
@media (max-width: 1100px) {
    .xm__inner--dyn { grid-template-columns: repeat(var(--xm-cols, 2), minmax(0, 1fr)); }
    .xm__inner--dyn.has-feature { grid-template-columns: repeat(var(--xm-cols, 2), minmax(0, 1fr)) 260px; }
}

/* ─── Üst bar: TR / EN dil seçimi ─── */
.hdr2-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.hdr2-lang__btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 9px; border: 0; border-radius: 6px; background: transparent;
    color: rgba(255,255,255,.75); font: 600 12px/1 'Poppins', system-ui, sans-serif; cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.hdr2-lang__btn svg { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.hdr2-lang__btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.hdr2-lang__btn.is-active { background: #fff; color: var(--navy); }
@media (max-width: 768px) {
    .hdr2-lang__btn { padding: 4px 7px; gap: 4px; font-size: 11px; }
    .hdr2-lang__btn svg { width: 18px; height: 12px; }
}

/* Google Çeviri: üst çubuğu, araç ipuçlarını ve vurguları gizle */
iframe.skiptranslate, .goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt, .goog-tooltip, .goog-te-spinner-pos { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
