/* ================================================================
   ҚАЗАҚСТАН КҮРЕС ФЕДЕРАЦИЯСЫ — Main Stylesheet
   ================================================================ */

/* === FONTS & RESET === */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,700&family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #1a1a2e; background: #fff; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 { font-family: 'Barlow Condensed', 'Inter', sans-serif; }

/* === DESIGN TOKENS === */
:root {
    --navy:       #0d1f3c;
    --navy-mid:   #102952;
    --blue:       #003580;
    --blue-mid:   #0050b3;
    --gold:       #c9961a;
    --gold-light: #f5c842;
    --gold-pale:  #fef9ec;
    --red:        #dc2626;
    --white:      #ffffff;
    --off-white:  #f7f8fc;
    --gray-light: #eef0f5;
    --gray:       #9ca3af;
    --gray-dark:  #4b5563;
    --text:       #1a1a2e;

    --radius-sm:  6px;
    --radius:     12px;
    --radius-lg:  20px;
    --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
    --shadow:     0 4px 20px rgba(13,31,60,.10);
    --shadow-lg:  0 12px 40px rgba(13,31,60,.18);
    --transition: .22s ease;
    --font-heading: 'Barlow Condensed', 'Inter', sans-serif;
}

/* === LAYOUT === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ================================================================
   HEADER
   ================================================================ */
.site-header { position: sticky; top: 0; z-index: 200; }

/* --- Topbar --- */
.topbar {
    background: var(--navy);
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; }

.topbar__langs { display: flex; gap: 2px; }
.lang-btn {
    color: rgba(255,255,255,.55); font-size: 11px; font-weight: 700;
    padding: 3px 9px; border-radius: 4px;
    letter-spacing: .6px; transition: var(--transition);
}
.lang-btn:hover, .lang-btn.active { color: var(--gold-light); }
.lang-btn.active { background: rgba(255,255,255,.07); }

.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__socials { display: flex; align-items: center; gap: 14px; }
.social-icon {
    color: rgba(255,255,255,.5); display: flex; align-items: center;
    transition: var(--transition);
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { color: var(--gold-light); transform: translateY(-1px); }

.topbar__divider { width: 1px; height: 14px; background: rgba(255,255,255,.12); }
.search-btn {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,.5); display: flex; align-items: center; padding: 2px;
    transition: var(--transition);
}
.search-btn:hover { color: var(--gold-light); }
.search-btn svg { width: 16px; height: 16px; }

/* --- Main nav --- */
.main-nav {
    background: var(--blue);
    box-shadow: 0 2px 24px rgba(0,0,0,.3);
    border-bottom: 2px solid rgba(201,150,26,.25);
}
.main-nav__inner { display: flex; align-items: center; height: 72px; gap: 0; }

.main-nav__logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 36px; }
.main-nav__logo img { height: 54px; width: auto; filter: brightness(1.15); }
.logo-fallback { display: none; flex-direction: column; }
.logo-kz { color: var(--gold-light); font-size: 20px; font-weight: 900; letter-spacing: 1.5px; line-height: 1; }
.logo-sub { color: rgba(255,255,255,.65); font-size: 8.5px; letter-spacing: 2.5px; margin-top: 3px; }

.nav-list { display: flex; align-items: stretch; gap: 0; flex: 1; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
    display: flex; align-items: center; gap: 5px;
    color: rgba(255,255,255,.9); font-weight: 700; font-size: 13px;
    letter-spacing: .8px; padding: 0 15px; height: 100%;
    transition: var(--transition); white-space: nowrap; position: relative;
    font-family: var(--font-heading); text-transform: uppercase;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 15px; right: 15px;
    height: 3px; background: var(--gold-light);
    transform: scaleX(0); transition: transform .22s ease; border-radius: 2px 2px 0 0;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: #fff; }
.nav-link:hover::after, .nav-item:hover > .nav-link::after { transform: scaleX(1); }
.arrow { font-size: 9px; opacity: .6; margin-left: 1px; font-family: inherit; }

/* Dropdown */
.dropdown {
    display: none; position: absolute; top: calc(100% + 2px); left: 0;
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); min-width: 240px;
    padding: 8px; z-index: 300;
    border-top: 3px solid var(--gold);
}
.dropdown--open { display: block; animation: dropIn .18s ease; }
@keyframes dropIn { from { opacity:0; transform:translateY(-6px) } to { opacity:1; transform:translateY(0) } }
.dropdown li a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; color: var(--navy); font-size: 13.5px; font-weight: 500;
    border-radius: 8px; transition: var(--transition);
}
.dropdown li a:hover { background: var(--off-white); color: var(--blue); padding-left: 20px; }

/* Burger */
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.burger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.85); border-radius: 2px; transition: var(--transition); }

/* ================================================================
   SEARCH MODAL
   ================================================================ */
.search-modal {
    display: none; position: fixed; inset: 0;
    background: rgba(13,31,60,.75); backdrop-filter: blur(4px);
    z-index: 999; align-items: flex-start; justify-content: center; padding-top: 100px;
}
.search-modal.active { display: flex; }
.search-modal__inner {
    background: #fff; border-radius: var(--radius-lg);
    padding: 28px; width: 100%; max-width: 640px;
    display: flex; gap: 12px; position: relative;
    box-shadow: var(--shadow-lg);
}
.search-modal__inner input {
    flex: 1; padding: 14px 18px; border: 2px solid var(--gray-light);
    border-radius: var(--radius); font-size: 16px; outline: none;
    transition: var(--transition); font-family: inherit;
}
.search-modal__inner input:focus { border-color: var(--blue); }
.search-modal__inner button {
    padding: 14px 24px; background: var(--blue); color: #fff;
    border: none; border-radius: var(--radius); cursor: pointer;
    font-weight: 700; font-size: 14px; white-space: nowrap;
    transition: var(--transition);
}
.search-modal__inner button:hover { background: var(--navy-mid); }
.search-modal__close {
    position: absolute; top: -14px; right: -14px;
    background: var(--red); color: #fff; border: none; border-radius: 50%;
    width: 30px; height: 30px; cursor: pointer; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}

/* ================================================================
   MESSAGES
   ================================================================ */
.messages { position: fixed; top: 90px; right: 24px; z-index: 500; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.message {
    padding: 14px 20px; border-radius: var(--radius); font-weight: 600;
    font-size: 14px; box-shadow: var(--shadow-lg); animation: slideIn .3s ease;
}
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.message--success { background: #ecfdf5; color: #065f46; border-left: 4px solid #10b981; }
.message--error   { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }

/* ================================================================
   SECTION HELPERS
   ================================================================ */
.section-title {
    font-size: 11px; font-weight: 800; letter-spacing: 3px;
    color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
    display: flex; align-items: center; gap: 12px;
}
.section-title::before {
    content: '';
    display: inline-block; width: 28px; height: 3px;
    background: currentColor; border-radius: 2px; flex-shrink: 0;
}
.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 44px); font-weight: 900; color: var(--navy);
    line-height: 1.1; margin-bottom: 32px;
    text-transform: uppercase; letter-spacing: .5px;
}
.section-heading--light { color: #fff; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.section-header .section-heading { margin-bottom: 0; }
.section-link {
    color: var(--blue); font-weight: 700; font-size: 13.5px;
    display: flex; align-items: center; gap: 4px; white-space: nowrap;
    transition: var(--transition);
}
.section-link:hover { color: var(--gold); gap: 8px; }

.page-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    padding: 56px 0 44px; margin-bottom: 0;
    position: relative; overflow: hidden;
}
.page-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner::after {
    content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
    background: linear-gradient(to left, rgba(201,150,26,.07), transparent);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.page-banner__content { position: relative; }
.page-banner .section-title { color: rgba(255,255,255,.55); }
.page-banner__heading {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px); font-weight: 900; color: #fff;
    letter-spacing: .5px; margin: 0; text-transform: uppercase;
}
.page-banner__sub { color: rgba(255,255,255,.6); font-size: 14px; margin-top: 8px; }

.page-body { padding: 52px 0 80px; }

.subsection-title {
    font-family: var(--font-heading);
    font-size: 26px; font-weight: 900; color: var(--navy);
    margin: 40px 0 20px; position: relative; padding-bottom: 10px;
    text-transform: uppercase; letter-spacing: .5px;
}
.subsection-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 36px; height: 3px; background: var(--gold); border-radius: 2px;
}
.back-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--blue); font-weight: 600; font-size: 13.5px;
    margin-bottom: 28px; transition: var(--transition);
    padding: 6px 12px; border-radius: 8px; background: var(--off-white);
}
.back-link:hover { background: var(--gray-light); gap: 10px; }
.empty-block { color: var(--gray); font-size: 15px; padding: 40px 0; text-align: center; }

/* ================================================================
   BADGES
   ================================================================ */
.badge {
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
    background: var(--gray-light); color: var(--gray-dark);
}
.badge--greco    { background: #dbeafe; color: #1e40af; }
.badge--freestyle{ background: #d1fae5; color: #065f46; }
.badge--women    { background: #fce7f3; color: #9d174d; }
.badge--general  { background: #f3f4f6; color: #374151; }

/* ================================================================
   FILTER TABS
   ================================================================ */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-tabs--secondary { margin-top: -16px; margin-bottom: 28px; }
.filter-tab {
    padding: 8px 20px; border-radius: 24px; font-size: 13.5px; font-weight: 600;
    background: var(--gray-light); color: var(--gray-dark);
    transition: var(--transition); border: 2px solid transparent;
}
.filter-tab:hover { background: #e2e8f0; color: var(--navy); }
.filter-tab--active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ================================================================
   HOME HERO — WRESTLER SEARCH
   ================================================================ */
.hero-search {
    background: linear-gradient(125deg, #06101f 0%, #0d1f3c 40%, #0c2660 100%);
    padding: 100px 0 88px;
    position: relative; overflow: hidden;
    min-height: 500px; display: flex; align-items: center;
}
.hero-search::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 15% 70%, rgba(201,150,26,.14) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(0,80,179,.2) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 120%, rgba(0,20,60,.6) 0%, transparent 60%);
}
.hero-search::after {
    content: '';
    position: absolute; right: -5%; top: 0; bottom: 0; width: 48%;
    background: linear-gradient(135deg, rgba(0,53,128,.2) 0%, rgba(201,150,26,.07) 100%);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}
.hero-search__inner { position: relative; text-align: center; z-index: 1; width: 100%; }
.hero-search .section-title {
    color: var(--gold-light); display: flex; justify-content: center; margin-bottom: 12px;
}
.hero-search__heading {
    font-family: var(--font-heading);
    font-size: clamp(44px, 7vw, 88px); font-weight: 900; color: #fff;
    line-height: 1; margin-bottom: 14px; letter-spacing: -.5px;
    text-transform: uppercase;
}
.hero-search__sub { color: rgba(255,255,255,.6); font-size: 16px; margin-bottom: 40px; }
.hero-search__form {
    display: flex; max-width: 640px; margin: 0 auto;
    background: #fff; border-radius: 50px; overflow: hidden;
    box-shadow: 0 12px 50px rgba(0,0,0,.35);
}
.hero-search__input {
    flex: 1; padding: 18px 28px; border: none; outline: none;
    font-size: 15px; font-family: inherit; color: var(--navy); background: transparent;
}
.hero-search__btn {
    padding: 15px 36px; background: var(--gold); color: var(--navy);
    border: none; cursor: pointer; font-weight: 800;
    transition: var(--transition); border-radius: 0 50px 50px 0; flex-shrink: 0;
    font-family: var(--font-heading); text-transform: uppercase;
    font-size: 15px; letter-spacing: 1px;
}
.hero-search__btn:hover { background: var(--gold-light); }
.hero-search__stats { display: flex; gap: 56px; justify-content: center; margin-top: 48px; }
.hero-stat { text-align: center; position: relative; }
.hero-stat:not(:last-child)::after {
    content: ''; position: absolute; right: -28px; top: 50%;
    transform: translateY(-50%); width: 1px; height: 40px;
    background: rgba(255,255,255,.12);
}
.hero-stat__num {
    font-family: var(--font-heading); font-size: 44px; font-weight: 900;
    color: var(--gold-light); line-height: 1;
}
.hero-stat__label {
    font-size: 11px; color: rgba(255,255,255,.45); margin-top: 5px;
    letter-spacing: 1px; text-transform: uppercase;
}

/* ================================================================
   HOME — SLIDER + PRESIDENT FORM (legacy)
   ================================================================ */
.home-split { padding: 72px 0; background: var(--off-white); }
.home-split__inner { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: start; }

.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--navy); box-shadow: var(--shadow-lg); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slide--active { opacity: 1; }
.slide__img { width: 100%; height: 100%; object-fit: cover; }
.slide__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(13,31,60,.85) 0%, rgba(13,31,60,.1) 60%, transparent 100%);
}
.slide__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px 22px; }
.slide__tag { display: inline-block; margin-bottom: 8px; }
.slide__caption a { display: block; color: #fff; font-weight: 800; font-size: 17px; line-height: 1.35; }
.slide__caption a:hover { color: var(--gold-light); }
.slide__date { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 6px; }

.slider-dots { display: flex; gap: 6px; margin-top: 14px; justify-content: center; }
.slider-dot { width: 8px; height: 8px; border-radius: 4px; background: #d1d5db; border: none; cursor: pointer; transition: all .25s ease; }
.slider-dot--active { background: var(--blue); width: 24px; }

.president-profile {
    display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    position: relative; overflow: hidden;
}
.president-profile::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(201,150,26,.12), transparent 70%);
}
.president-profile__photo {
    width: 110px; height: 130px; border-radius: 12px;
    object-fit: cover; object-position: top center;
    border: 2px solid rgba(201,150,26,.6); flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.35); position: relative; z-index: 1;
}
.president-profile__info { position: relative; z-index: 1; }
.president-profile__name { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.3; }
.president-profile__role { font-size: 11.5px; color: var(--gold-light); font-weight: 600; margin-top: 5px; text-transform: uppercase; letter-spacing: .5px; }

.president-form-block { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.president-form-block .section-title { color: var(--gold); }
.president-form { display: flex; flex-direction: column; gap: 10px; }
.president-form__msg { padding: 12px 16px; border: 1.5px solid var(--gray-light); border-radius: var(--radius-sm); font-size: 14px; resize: vertical; font-family: inherit; outline: none; transition: var(--transition); color: var(--text); min-height: 100px; }
.president-form__msg:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,53,128,.08); }
.president-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.president-form__input { padding: 11px 14px; border: 1.5px solid var(--gray-light); border-radius: var(--radius-sm); font-size: 14px; outline: none; font-family: inherit; transition: var(--transition); }
.president-form__input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,53,128,.08); }
.president-form__hint { font-size: 11.5px; color: var(--gray); }
.president-form__btn { padding: 13px; background: var(--blue); color: #fff; border: none; border-radius: var(--radius-sm); font-weight: 800; font-size: 14px; cursor: pointer; transition: var(--transition); letter-spacing: .3px; }
.president-form__btn:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,53,128,.25); }

/* ================================================================
   HOME — NEWS + PRESIDENT SECTION
   ================================================================ */
.news-president-section {
    padding: 88px 0;
    background: linear-gradient(155deg, #07122a 0%, #0d1f3c 40%, #0a1e40 70%, #091830 100%);
    position: relative; overflow: hidden;
}
.news-president-section::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 5%  60%, rgba(201,150,26,.09) 0%, transparent 50%),
        radial-gradient(ellipse at 95% 10%, rgba(0,80,179,.18)   0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0,30,80,.4)    0%, transparent 60%);
    pointer-events: none;
}
.news-president-section > .container { position: relative; }

.nps-top-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 36px; padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.nps-top-header .section-link:hover { color: var(--gold-light); }

.nps-grid {
    display: grid;
    grid-template-columns: 1fr 295px 305px;
    gap: 20px; align-items: stretch;
}

.nps-main-news { min-height: 560px; }
.main-news-card {
    display: block; position: relative; border-radius: 20px; overflow: hidden;
    height: 100%; min-height: 560px;
    background: linear-gradient(145deg, #0b1e3d 0%, #0d2a5a 100%);
    border: 1px solid rgba(255,255,255,.06);
    transition: transform .28s ease, box-shadow .28s ease;
}
.main-news-card:hover { transform: translateY(-5px); box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.main-news-card__img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform .55s ease;
}
.main-news-card:hover .main-news-card__img { transform: scale(1.05); }
.main-news-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,14,32,.97) 0%, rgba(10,24,52,.55) 45%, rgba(10,24,52,.08) 100%);
}
.main-news-card__body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 44px 34px 34px; display: flex; flex-direction: column; gap: 14px;
}
.main-news-card__title {
    font-family: var(--font-heading);
    font-size: 28px; font-weight: 800; color: #fff;
    line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.main-news-card__btn {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--gold-light); font-size: 13px; font-weight: 700;
    margin-top: 4px; transition: var(--transition);
}
.main-news-card:hover .main-news-card__btn { gap: 11px; color: #fff; }
.main-news-card__empty {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 18px; padding: 40px; text-align: center;
}
.main-news-card__empty-icon { width: 80px; height: 80px; opacity: .12; }
.main-news-card__empty p { color: rgba(255,255,255,.28); font-size: 14px; font-weight: 500; line-height: 1.6; }

.nps-side-news {
    display: flex; flex-direction: column;
    background: rgba(255,255,255,.035); border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
}
.nps-side-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 20px; background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.nps-side-header span { font-size: 10.5px; font-weight: 800; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1.5px; }
.nps-side-header a { font-size: 12px; font-weight: 700; color: var(--gold-light); transition: var(--transition); }
.nps-side-header a:hover { color: #fff; }
.side-news-list { display: flex; flex-direction: column; flex: 1; }
.side-news-item { display: block; border-bottom: 1px solid rgba(255,255,255,.05); transition: background .18s ease; }
.side-news-item:last-child { border-bottom: none; }
.side-news-item:hover { background: rgba(255,255,255,.055); }
.side-news-item--active { background: rgba(201,150,26,.07); border-left: 3px solid var(--gold); }
.side-news-item__inner { padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; }
.side-news-item__title {
    font-size: 13px; font-weight: 600; color: rgba(255,255,255,.82); line-height: 1.42;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.side-news-item:hover .side-news-item__title { color: var(--gold-light); }
.side-news-item__date { font-size: 11px; color: rgba(255,255,255,.3); }
.nps-side-news .badge { background: rgba(255,255,255,.1); color: rgba(255,255,255,.65); }
.nps-side-news .badge--greco     { background: rgba(30,64,175,.35);  color: #93c5fd; }
.nps-side-news .badge--freestyle { background: rgba(6,95,70,.35);    color: #6ee7b7; }
.nps-side-news .badge--women     { background: rgba(157,23,77,.35);  color: #f9a8d4; }
.nps-side-news .badge--general   { background: rgba(255,255,255,.08);color: rgba(255,255,255,.55); }

/* ── Column 3: President card ── */
.president-card {
    height: 100%; border-radius: 20px; overflow: hidden;
    display: flex; flex-direction: column; position: relative;
    border: 1px solid rgba(201,150,26,.22);
    box-shadow: 0 8px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}
.president-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
    z-index: 2;
}
.president-card::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(201,150,26,.2) 0%, transparent 55%),
        linear-gradient(175deg, #0e2248 0%, #091830 60%, #07152e 100%);
    z-index: 0;
}
.pcard-top {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
    padding: 28px 22px 20px; gap: 10px; text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.president-card__label { font-size: 10px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; }
.president-card__photo-wrap {
    width: 100px; height: 126px; border-radius: 14px; overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,.55), 0 0 0 2px rgba(201,150,26,.4); position: relative;
}
.president-card__photo-wrap::after {
    content: ''; position: absolute; inset: 0; border-radius: 14px;
    box-shadow: inset 0 -30px 40px rgba(5,15,35,.55);
}
.president-card__photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.president-card__name { font-size: 15px; font-weight: 900; color: #fff; line-height: 1.25; letter-spacing: .1px; }
.president-card__role { font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .8px; line-height: 1.5; }

.pcard-form { position: relative; z-index: 1; flex: 1; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.pcard-field { position: relative; }
.pcard-field svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: rgba(255,255,255,.3); pointer-events: none; }
.pcard-field--textarea svg { top: 14px; transform: none; }
.president-card__form textarea,
.president-card__form input[type="tel"],
.president-card__form input[type="text"] {
    width: 100%; background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 10px; color: #fff;
    font-size: 13px; font-family: inherit; outline: none; transition: .22s ease;
}
.president-card__form textarea { min-height: 90px; padding: 12px 14px 12px 36px; resize: none; flex: 1; line-height: 1.55; }
.president-card__form input[type="tel"],
.president-card__form input[type="text"] { padding: 11px 14px 11px 36px; }
.president-card__form textarea::placeholder,
.president-card__form input::placeholder { color: rgba(255,255,255,.28); }
.president-card__form textarea:focus,
.president-card__form input:focus {
    border-color: rgba(201,150,26,.6); background: rgba(255,255,255,.09);
    box-shadow: 0 0 0 3px rgba(201,150,26,.1);
}
.president-card__form button[type="submit"] {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, var(--gold) 0%, #e0a820 100%);
    color: #07122a; border: none; border-radius: 10px;
    font-weight: 900; font-size: 15px; cursor: pointer; transition: .22s ease;
    font-family: var(--font-heading); letter-spacing: 1px; text-transform: uppercase;
    box-shadow: 0 4px 18px rgba(201,150,26,.28);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.president-card__form button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,150,26,.42);
}
.president-card__form button[type="submit"]:active { transform: translateY(0); }
.pcard-email-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 13px 16px;
    background: linear-gradient(135deg, var(--gold) 0%, #e0a820 100%);
    color: #07122a; border-radius: 10px;
    box-shadow: 0 4px 18px rgba(201,150,26,.28);
    transition: .22s ease;
}
.pcard-email-btn:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,150,26,.42);
}
.pcard-email-btn:active { transform: translateY(0); }
.pcard-email-btn { font-family: var(--font-heading); font-weight: 900; font-size: 15px; letter-spacing: .8px; text-transform: uppercase; }

/* ================================================================
   HOME — NATIONAL TEAMS
   ================================================================ */
.national-teams { padding: 80px 0; }
.teams-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
    color: #fff; transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer; display: block;
}
.team-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.team-card--photo {
    background-size: cover; background-position: center top;
    aspect-ratio: 3/4; display: flex; align-items: flex-end; padding: 0;
}
.team-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.2) 45%, rgba(13,31,60,.88) 100%);
    transition: var(--transition);
}
.team-card--photo:hover .team-card__overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(0,0,0,.25) 45%, rgba(13,31,60,.93) 100%);
}
.team-card__content {
    position: relative; z-index: 1;
    padding: 24px 22px 22px; width: 100%;
    display: flex; flex-direction: column; gap: 6px;
}
.team-card__label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); opacity: .9; }
.team-card--photo h3 {
    font-family: var(--font-heading);
    font-size: 26px; font-weight: 900; line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,.4); text-transform: uppercase;
}
.team-card__arrow { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.65); margin-top: 6px; transition: var(--transition); display: inline-block; }
.team-card--photo:hover .team-card__arrow { color: var(--gold-light); letter-spacing: .5px; }

/* ================================================================
   HOME — COMPETITIONS (UWW Event-Card Style)
   ================================================================ */
.upcoming-competitions { padding: 80px 0; background: var(--off-white); }
.competitions-row { display: flex; flex-direction: column; gap: 12px; }

/* UWW-style horizontal event card */
.comp-event-card {
    display: flex; align-items: center; gap: 24px;
    background: #fff; border-radius: var(--radius);
    border: 1.5px solid var(--gray-light);
    padding: 18px 24px; transition: var(--transition);
    box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
}
.comp-event-card:hover {
    border-color: var(--blue); box-shadow: var(--shadow);
    transform: translateX(6px); background: #fafbff;
}
.comp-event-card__date {
    flex-shrink: 0; width: 70px; min-height: 78px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: 12px; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #fff; gap: 2px;
    box-shadow: 0 4px 16px rgba(13,31,60,.25); position: relative; overflow: hidden;
}
.comp-event-card__date::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 100% 0%, rgba(201,150,26,.25), transparent 60%);
}
.comp-event-card__day {
    font-family: var(--font-heading); font-size: 34px; font-weight: 900; line-height: 1;
    position: relative; z-index: 1;
}
.comp-event-card__mon {
    font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--gold-light); position: relative; z-index: 1;
}
.comp-event-card__year {
    font-size: 10px; color: rgba(255,255,255,.4); font-weight: 600;
    position: relative; z-index: 1;
}
.comp-event-card__body { flex: 1; min-width: 0; }
.comp-event-card__body .badge { margin-bottom: 6px; }
.comp-event-card__title {
    font-family: var(--font-heading); font-size: 22px; font-weight: 800;
    color: var(--navy); margin: 0 0 4px; line-height: 1.2;
    text-transform: uppercase; letter-spacing: .3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.comp-event-card__dates { font-size: 12.5px; color: var(--gray); font-weight: 500; }
.comp-event-card__loc {
    flex-shrink: 0; color: var(--gray-dark); font-size: 13px;
    display: flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap;
}
.comp-event-card__loc svg { color: var(--gold); flex-shrink: 0; }
.comp-event-card__arrow {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid var(--gray-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray); transition: var(--transition);
}
.comp-event-card:hover .comp-event-card__arrow { border-color: var(--blue); color: var(--blue); background: rgba(0,53,128,.05); }

/* Legacy card kept for any remaining usage */
.competition-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border: 1px solid var(--gray-light); display: block;
}
.competition-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.competition-card--archived { opacity: .7; }
.competition-card__poster { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.competition-card__poster--empty {
    width: 100%; aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; gap: 8px;
}
.competition-card__poster--empty span { font-size: 28px; font-weight: 900; }
.competition-card__info { padding: 18px; }
.competition-card__info h3 { font-size: 14.5px; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.competition-card__meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.competition-card__meta span { font-size: 12.5px; color: var(--gray); display: flex; align-items: center; gap: 5px; }

/* ================================================================
   HOME — NEWS GRID
   ================================================================ */
.latest-news { padding: 80px 0; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    display: block; border: 1px solid var(--gray-light);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.news-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card__img { transform: scale(1.04); }
.news-card__img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--gray-light) 0%, #e2e8f0 100%);
    display: flex; align-items: center; justify-content: center; font-size: 32px;
}
.news-card__body { padding: 18px; }
.news-card__title {
    font-family: var(--font-heading);
    font-size: 18px; font-weight: 800; color: var(--navy); margin: 8px 0 10px;
    line-height: 1.3; text-transform: uppercase;
}
.news-card__footer { display: flex; align-items: center; justify-content: space-between; }
.news-card__date { font-size: 12px; color: var(--gray); }

/* ================================================================
   HOME — REGIONS PREVIEW
   ================================================================ */
.regions-section { padding: 80px 0; background: var(--navy); position: relative; overflow: hidden; }
.regions-section::before {
    content: ''; position: absolute; right: -100px; top: -100px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,150,26,.08), transparent 70%);
}
.regions-section .section-title { color: var(--gold-light); }
.regions-section .section-heading { color: #fff; }
.regions-preview-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; display: block; }
.regions-preview-wrap img { width: 100%; filter: brightness(.75) saturate(.8); transition: var(--transition); }
.regions-preview-wrap:hover img { filter: brightness(.9) saturate(1); }
.regions-preview-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(13,31,60,.35); }
.regions-preview-btn {
    background: var(--gold); color: var(--navy); font-weight: 800; font-size: 15px;
    padding: 14px 32px; border-radius: 50px; display: flex; align-items: center; gap: 8px;
    transition: var(--transition); box-shadow: 0 4px 20px rgba(0,0,0,.3);
    font-family: var(--font-heading); letter-spacing: 1px; text-transform: uppercase;
}
.regions-preview-wrap:hover .regions-preview-btn { background: var(--gold-light); transform: scale(1.04); }
.regions-preview-wrap--svg svg path { transition: fill .2s ease; }
.regions-preview-wrap--svg:hover svg path { fill: #336699; }

/* ================================================================
   HOME — MULTIMEDIA
   ================================================================ */
.multimedia { padding: 80px 0; background: #0d1f3c; }
.multimedia .section-title { color: #c9961a; }
.multimedia .section-heading { color: #fff; }
.multimedia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Media cards */
.media-card {
    display: flex; align-items: center; justify-content: space-between;
    border-radius: 20px; overflow: hidden; padding: 40px 44px;
    text-decoration: none; min-height: 220px;
    transition: transform .28s ease, box-shadow .28s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.media-card--yt {
    background: #111; border-left: 5px solid #ff0000;
}
.media-card--ig {
    background: #0d0d1a; border-left: 5px solid #dc2743;
}
.media-card:hover { transform: translateY(-4px); box-shadow: 0 18px 52px rgba(0,0,0,.65); }

/* Left side — text content */
.media-card__left {
    display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0;
}

/* Brand icon */
.media-card__icon-wrap {
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 14px; margin-bottom: 4px;
    flex-shrink: 0;
}
.media-card__icon-wrap--yt { background: #ff0000; }
.media-card__icon-wrap--ig {
    background: linear-gradient(135deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
}

/* Platform name */
.media-card__name {
    font-family: var(--font-heading); font-size: 30px; font-weight: 800;
    color: #fff; letter-spacing: .5px; line-height: 1;
}

/* Handle */
.media-card__handle {
    font-size: 13px; color: rgba(255,255,255,.38); font-weight: 500;
    margin: 0;
}

/* Description */
.media-card__desc {
    font-size: 14px; color: rgba(255,255,255,.58); line-height: 1.55;
    margin: 4px 0 8px; max-width: 260px;
}

/* CTA button */
.media-card__btn {
    display: inline-block; padding: 9px 22px; border-radius: 50px;
    font-family: var(--font-heading); font-size: 15px; font-weight: 700;
    letter-spacing: .4px; text-transform: uppercase; align-self: flex-start;
    transition: filter .22s ease;
}
.media-card__btn--yt { background: #ff0000; color: #fff; }
.media-card__btn--ig {
    background: linear-gradient(90deg, #f09433, #dc2743 55%, #bc1888);
    color: #fff;
}
.media-card:hover .media-card__btn { filter: brightness(1.12); }

/* Right side — decorative icon */
.media-card__right {
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    margin-left: 32px; opacity: .88; transition: transform .28s ease, opacity .28s ease;
}
.media-card:hover .media-card__right { transform: scale(1.06); opacity: 1; }

/* ================================================================
   HOME — SPONSORS
   ================================================================ */
.social-strip { background: var(--navy); padding: 28px 0; border-top: 1px solid rgba(255,255,255,.06); }
.social-strip__inner { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.social-strip__label { color: rgba(255,255,255,.4); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.social-strip__icons { display: flex; gap: 12px; }
.social-circle { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: transform .2s ease, opacity .2s ease; opacity: .85; }
.social-circle:hover { transform: translateY(-3px) scale(1.08); opacity: 1; }
.social-circle--yt { background: #ff0000; }
.social-circle--ig { background: linear-gradient(135deg,#f09433,#dc2743,#bc1888); }
.social-circle--tg { background: #229ed9; }
.social-circle--fb { background: #1877f2; }
.social-circle--tk { background: #010101; }

.sponsors { padding: 56px 0; background: #fff; border-top: 1px solid var(--gray-light); }
.sponsors .section-heading { font-size: 24px; text-align: center; margin-bottom: 28px; }
.sponsors-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.sponsor-item {
    padding: 20px 36px; background: var(--off-white); border-radius: var(--radius);
    border: 1.5px solid var(--gray-light); transition: var(--transition); display: flex; align-items: center;
}
.sponsor-item:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.sponsor-item img { height: 80px; width: auto; object-fit: contain; }

/* ================================================================
   WRESTLERS
   ================================================================ */
.wrestlers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.wrestler-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition); text-align: center;
    border: 1px solid var(--gray-light);
}
.wrestler-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.wrestler-card__photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.wrestler-card__photo--empty {
    width: 100%; aspect-ratio: 3/4;
    background: linear-gradient(160deg, var(--gray-light) 0%, #dde1ea 100%);
    display: flex; align-items: center; justify-content: center; font-size: 48px;
}
.wrestler-card__info { padding: 14px 12px; }
.wrestler-card__info h3 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 5px; line-height: 1.3; }
.wrestler-card__info p { font-size: 12px; color: var(--gray); }

/* ================================================================
   HALL OF FAME
   ================================================================ */
.hof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.hof-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--gray-light);
}
.hof-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.hof-card__photo-wrap { position: relative; overflow: hidden; }
.hof-card__photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .35s ease; }
.hof-card:hover .hof-card__photo { transform: scale(1.04); }
.hof-card__photo--empty {
    width: 100%; aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
    display: flex; align-items: center; justify-content: center; font-size: 64px;
}
.hof-card__info { padding: 18px; }
.hof-card__info h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; }
.hof-card__info p { font-size: 12.5px; color: var(--gray); margin-bottom: 3px; }

/* ================================================================
   STRUCTURE / LEADERSHIP
   ================================================================ */
.structure-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; }
.leader-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition); text-align: center;
    border: 1px solid var(--gray-light);
}
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.leader-card__photo-wrap { overflow: hidden; }
.leader-card__photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .35s ease; }
.leader-card:hover .leader-card__photo { transform: scale(1.03); }
.leader-card__photo--empty { width: 100%; aspect-ratio: 4/5; background: var(--off-white); display: flex; align-items: center; justify-content: center; font-size: 52px; }
.leader-card__info { padding: 16px 14px; }
.leader-card__info h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 5px; }
.leader-card__info p { font-size: 12px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }

.leader-detail { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.leader-detail__photo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.leader-detail__name { font-family: var(--font-heading); font-size: 38px; font-weight: 900; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; }
.leader-detail__role { color: var(--gold); font-weight: 700; font-size: 14.5px; margin-bottom: 24px; text-transform: uppercase; letter-spacing: .5px; }
.leader-detail__contacts { display: flex; flex-direction: column; gap: 8px; }
.leader-detail__contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-dark); }
.leader-detail__bio { margin-top: 32px; }
.leader-detail__bio h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.leader-detail__bio p { color: var(--gray-dark); line-height: 1.75; font-size: 15px; }

/* ================================================================
   ABOUT
   ================================================================ */
.about-block { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.about-block__logo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-block__text p { font-size: 16px; color: var(--gray-dark); line-height: 1.8; }
.about-details { margin-top: 28px; display: flex; flex-direction: column; gap: 0; }
.about-detail-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-light); font-size: 14.5px; }
.about-detail-row:last-child { border-bottom: none; }
.about-detail-row strong { color: var(--navy); font-weight: 700; min-width: 200px; }
.about-detail-row span { color: var(--gray-dark); }

/* ================================================================
   WRESTLER DETAIL (new)
   ================================================================ */
.wrd-hero { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; margin-bottom: 40px; }
.wrd-photo-col { position: relative; }
.wrd-photo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 3/4; object-fit: cover; }
.wrd-photo--empty { width: 100%; aspect-ratio: 3/4; background: var(--off-white); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.wrd-title-badge { position: absolute; bottom: 12px; left: 12px; right: 12px; background: var(--gold); color: #fff; font-family: var(--font-heading); font-size: 13px; font-weight: 800; text-align: center; padding: 6px 12px; border-radius: var(--radius-sm); letter-spacing: .5px; }
.wrd-national-badge { display: inline-block; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.wrd-name { font-family: var(--font-heading); font-size: 36px; font-weight: 900; color: var(--navy); text-transform: uppercase; line-height: 1.1; margin-bottom: 4px; }
.wrd-name-alt { color: var(--gray); font-size: 15px; margin-bottom: 24px; }
.wrd-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.wrd-stat { background: var(--off-white); border-radius: var(--radius); padding: 14px 16px; border: 1.5px solid var(--gray-light); }
.wrd-stat--gold { border-color: var(--gold); background: var(--gold-pale); }
.wrd-stat--gold .wrd-stat__val { color: var(--gold); }
.wrd-stat__label { display: block; font-size: 11px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.wrd-stat__val { font-size: 16px; font-weight: 700; color: var(--navy); }
.wrd-stat__val a { color: var(--blue); }

.wrd-section { margin-bottom: 40px; }
.wrd-section__title { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--navy); padding-bottom: 12px; border-bottom: 2px solid var(--gold); margin-bottom: 20px; display: inline-block; }

.wrd-achievements { display: flex; flex-direction: column; gap: 10px; }
.wrd-achievement-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; background: #fff; border-radius: var(--radius); border: 1.5px solid var(--gray-light); font-size: 15px; color: var(--navy); }
.wrd-achievement-item__medal { font-size: 18px; flex-shrink: 0; }

.wrd-results-table { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--gray-light); }
.wrd-results-head { display: grid; grid-template-columns: 1fr auto auto 60px; gap: 16px; padding: 10px 20px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.wrd-results-row { display: grid; grid-template-columns: 1fr auto auto 60px; gap: 16px; padding: 14px 20px; align-items: center; text-decoration: none; border-bottom: 1px solid var(--gray-light); transition: background .15s; }
.wrd-results-row:last-child { border-bottom: none; }
.wrd-results-row:hover { background: var(--off-white); }
.wrd-results-row__comp { font-weight: 600; color: var(--navy); font-size: 14px; }
.wrd-results-row__date { color: var(--gray); font-size: 13px; }
.wrd-results-row__cat { font-size: 13px; color: var(--gray-dark); font-weight: 600; }
.wrd-results-row__place { font-size: 20px; text-align: center; }

.wrd-bio { font-size: 15px; line-height: 1.85; color: var(--gray-dark); }

.wrd-similar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wrd-similar-card { text-decoration: none; text-align: center; transition: var(--transition); }
.wrd-similar-card:hover { transform: translateY(-3px); }
.wrd-similar-card__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); border: 2px solid var(--gray-light); }
.wrd-similar-card__img--empty { width: 100%; aspect-ratio: 3/4; background: var(--off-white); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.wrd-similar-card__name { font-size: 13px; font-weight: 700; color: var(--navy); margin-top: 8px; line-height: 1.3; }
.wrd-similar-card__cat { font-size: 12px; color: var(--gray); }

/* ================================================================
   COMPETITION DETAIL (new)
   ================================================================ */
.comp-hero { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; margin-bottom: 40px; }
.comp-hero__poster { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.comp-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.comp-hero__title { font-family: var(--font-heading); font-size: 32px; font-weight: 900; color: var(--navy); text-transform: uppercase; line-height: 1.15; margin-bottom: 20px; }
.comp-hero__meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.comp-hero__meta-item { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--gray-dark); }
.comp-hero__desc { font-size: 15px; line-height: 1.75; color: var(--gray-dark); }
.comp-section { margin-bottom: 44px; }
.comp-section__title { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--navy); padding-bottom: 12px; border-bottom: 2px solid var(--gold); margin-bottom: 20px; display: inline-block; }

.comp-podium-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.comp-podium-card { background: #fff; border-radius: var(--radius); padding: 20px 20px 16px; border: 1.5px solid var(--gray-light); text-align: center; }
.comp-podium-card--1 { border-color: #f0b429; background: #fffdf0; }
.comp-podium-card--2 { border-color: #9ca3af; background: #f9fafb; }
.comp-podium-card--3 { border-color: #cd7f32; background: #fdf8f4; }
.comp-podium-card__medal { font-size: 32px; margin-bottom: 6px; }
.comp-podium-card__cat { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.comp-podium-card__name { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.comp-podium-card__name a { color: var(--navy); text-decoration: none; }
.comp-podium-card__name a:hover { color: var(--blue); }
.comp-podium-card__region { font-size: 12px; color: var(--gray); margin-top: 4px; }

.comp-weight-block { margin-bottom: 28px; }
.comp-weight-title { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.comp-weight-title::before { content:''; display:inline-block; width:4px; height:16px; background:var(--gold); border-radius:2px; }
.comp-results-list { display: flex; flex-direction: column; gap: 4px; }
.comp-result-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding: 10px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--gray-light); }
.comp-result-row--1 { background: #fffdf0; border-color: #f0b429; }
.comp-result-row--2 { background: #f9fafb; border-color: #9ca3af; }
.comp-result-row--3 { background: #fdf8f4; border-color: #cd7f32; }
.comp-result-row__place { font-size: 20px; text-align: center; }
.comp-result-row__name { font-size: 14px; font-weight: 600; color: var(--navy); }
.comp-result-row__name a { color: var(--navy); text-decoration: none; }
.comp-result-row__name a:hover { color: var(--blue); }
.comp-result-row__region { font-size: 12px; color: var(--gray); }
.comp-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.comp-gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }
.comp-gallery-more { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 600; font-size: 14px; }
.badge--level { background: var(--off-white); color: var(--navy); border: 1px solid var(--gray-light); }
.badge--archived { background: var(--gray-light); color: var(--gray-dark); }

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.gallery-card { text-decoration: none; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1.5px solid var(--gray-light); transition: var(--transition); box-shadow: var(--shadow-sm); }
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-card__cover { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.gallery-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-card:hover .gallery-card__cover img { transform: scale(1.05); }
.gallery-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 16px; }
.gallery-card__count { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; font-weight: 600; }
.gallery-card__body { padding: 16px 20px 20px; }
.gallery-card__title { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.gallery-card__date { font-size: 13px; color: var(--gray); margin-bottom: 4px; }
.gallery-card__comp { font-size: 12px; color: var(--blue); font-weight: 600; }

.glr-photo-grid { columns: 4; column-gap: 8px; }
.glr-photo-item { display: block; margin-bottom: 8px; break-inside: avoid; position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in; }
.glr-photo-item img { width: 100%; display: block; transition: transform .3s ease; }
.glr-photo-item:hover img { transform: scale(1.03); }
.glr-photo-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; padding: 6px 10px; opacity: 0; transition: opacity .2s; }
.glr-photo-item:hover .glr-photo-caption { opacity: 1; }
.glr-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.glr-video-item iframe { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); }
.glr-video-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-top: 8px; }

/* ================================================================
   RANKINGS
   ================================================================ */
.rank-filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.rank-filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.rank-filter-btn { padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--off-white); border: 1.5px solid var(--gray-light); text-decoration: none; transition: var(--transition); }
.rank-filter-btn:hover, .rank-filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.rank-table-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--gray-light); box-shadow: var(--shadow-sm); }
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table thead th { background: var(--navy); color: #fff; padding: 14px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; text-align: left; }
.rank-row { border-bottom: 1px solid var(--gray-light); transition: background .15s; }
.rank-row:hover { background: var(--off-white); }
.rank-row td { padding: 14px 16px; font-size: 14px; color: var(--gray-dark); vertical-align: middle; }
.rank-row--top td { background: linear-gradient(to right, rgba(201,150,26,.05), transparent); }
.rank-row__num { text-align: center; width: 56px; }
.rank-medal { font-size: 24px; }
.rank-num { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--off-white); font-size: 13px; font-weight: 700; color: var(--gray-dark); }
.rank-athlete { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.rank-athlete__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gray-light); }
.rank-athlete__img--empty { width: 44px; height: 44px; border-radius: 50%; background: var(--off-white); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.rank-athlete__name { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.rank-athlete__sub { font-size: 12px; color: var(--gray); }
.rank-row__pts { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--gold); }
.badge--blue { background: var(--blue-mid); color: #fff; }

/* ================================================================
   NEWS ARTICLE
   ================================================================ */
.news-article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.news-article__cover-wrap { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; }
.news-article__cover { width: 100%; }
.news-article__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.news-article__title { font-family: var(--font-heading); font-size: 38px; font-weight: 900; color: var(--navy); margin-bottom: 6px; line-height: 1.15; text-transform: uppercase; }
.news-article__date { color: var(--gray); font-size: 13.5px; }
.news-article__body { font-size: 16px; line-height: 1.85; color: var(--gray-dark); }
.news-article__body p { margin-bottom: 1.2em; }
.news-sidebar h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.news-sidebar-card { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-light); }
.news-sidebar-card img { width: 70px; height: 52px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.news-sidebar-card__title { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.news-sidebar-card__date { font-size: 11.5px; color: var(--gray); margin-top: 4px; }

/* ================================================================
   CONTACTS
   ================================================================ */
.contacts-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contacts-info { display: flex; flex-direction: column; gap: 0; }
.contacts-info-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gray-light); font-size: 15px; color: var(--gray-dark); }
.contacts-info-row:last-child { border-bottom: none; }
.contacts-info-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--off-white); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contacts-map iframe { width: 100%; height: 380px; border-radius: var(--radius-lg); border: none; }

/* ================================================================
   REGIONS
   ================================================================ */
.regions-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.regions-map-wrap { position: relative; }
.kz-map { width: 100%; border-radius: var(--radius-lg); display: block; }
.kz-map .rp { fill: #4a90c4 !important; transition: fill .2s ease; cursor: pointer; }
.kz-map .rp:hover { fill: #5ba8e0 !important; }
.kz-map .rp.rp--active { fill: var(--gold) !important; }
.map-tooltip { position: absolute; background: var(--navy); color: #fff; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; pointer-events: none; white-space: nowrap; z-index: 10; box-shadow: var(--shadow); }
.region-sidebar { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--gray-light); min-height: 240px; }
.region-sidebar__close { float: right; background: var(--off-white); border: none; border-radius: 8px; width: 30px; height: 30px; cursor: pointer; font-size: 16px; color: var(--gray-dark); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.region-sidebar__close:hover { background: var(--gray-light); }
.region-sidebar__title { font-family: var(--font-heading); font-size: 24px; font-weight: 900; color: var(--navy); margin-bottom: 4px; clear: both; text-transform: uppercase; }
.region-sidebar__kk { color: var(--gray); font-size: 13.5px; margin-bottom: 20px; }
.region-info__row { margin-bottom: 14px; }
.region-info dt { font-size: 11px; text-transform: uppercase; color: var(--gray); letter-spacing: .6px; margin-bottom: 3px; }
.region-info dd { font-size: 14px; font-weight: 600; color: var(--navy); }
.region-sidebar__btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 10px 20px; background: var(--blue); color: #fff; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; transition: var(--transition); }
.region-sidebar__btn:hover { background: var(--navy-mid); }
.region-sidebar__hint { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 180px; text-align: center; color: var(--gray); }
.region-sidebar__hint svg { width: 40px; height: 40px; margin-bottom: 12px; opacity: .3; }
.regions-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 32px; }
.region-list-item { display: flex; align-items: center; justify-content: space-between; padding: 11px 15px; background: #fff; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-light); font-size: 13.5px; font-weight: 600; color: var(--navy); transition: var(--transition); }
.region-list-item:hover { border-color: var(--blue); background: var(--off-white); }
.region-list-item__arrow { color: var(--gray); font-size: 12px; }

.region-detail { display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.region-detail__photo { width: 100%; border-radius: var(--radius-lg); }
.region-detail__name { font-family: var(--font-heading); font-size: 32px; font-weight: 900; color: var(--navy); margin-bottom: 4px; text-transform: uppercase; }
.region-detail__kk { color: var(--gray); margin-bottom: 24px; font-size: 15px; }

/* Region detail expanded */
.rd-hero { display: flex; gap: 32px; align-items: flex-start; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-light); margin-bottom: 24px; }
.rd-hero__img { width: 340px; flex-shrink: 0; object-fit: cover; aspect-ratio: 16/10; }
.rd-hero__body { padding: 32px 28px 32px 0; flex: 1; }
.rd-hero__title { font-family: var(--font-heading); font-size: 26px; font-weight: 900; color: var(--navy); margin-bottom: 12px; line-height: 1.25; text-transform: uppercase; }
.rd-hero__desc { font-size: 15px; color: var(--gray-dark); line-height: 1.75; }
.rd-info-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.rd-info-card { background: #fff; border-radius: var(--radius); padding: 20px 22px; border: 1.5px solid var(--gray-light); transition: var(--transition); }
.rd-info-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.rd-info-card__label { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--gray); text-transform: uppercase; margin-bottom: 8px; }
.rd-info-card__value { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.rd-info-card__value a { color: var(--blue); }
.rd-info-card__icon { color: var(--blue); margin-bottom: 8px; }

.rd-leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rd-leader-card { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--radius); padding: 20px 24px; border: 1.5px solid var(--gray-light); }
.rd-leader-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--off-white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue); }
.rd-leader-card__role { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--gray); text-transform: uppercase; margin-bottom: 4px; }
.rd-leader-card__name { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.3; }

.rd-section { margin-bottom: 36px; }
.rd-section__title { font-size: 16px; font-weight: 800; color: var(--navy); letter-spacing: .5px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.rd-section__body { font-size: 15px; color: var(--gray-dark); line-height: 1.8; }
.rd-section__body p { margin-bottom: 10px; }
.rd-section__body p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .rd-hero { flex-direction: column; } .rd-hero__img { width: 100%; aspect-ratio: 16/9; } .rd-hero__body { padding: 24px; } .rd-info-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rd-info-row { grid-template-columns: 1fr; } }

/* ================================================================
   DOCUMENTS
   ================================================================ */
.documents-group { margin-bottom: 40px; }
.documents-list { display: flex; flex-direction: column; gap: 8px; }
.document-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #fff; border-radius: var(--radius); border: 1.5px solid var(--gray-light); transition: var(--transition); }
.document-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.document-item__icon { width: 44px; height: 44px; border-radius: 10px; background: #fee2e2; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.document-item__info { flex: 1; }
.document-item__title { font-size: 15px; font-weight: 600; color: var(--navy); }
.document-item__date { font-size: 12px; color: var(--gray); margin-top: 2px; }
.document-item__download { font-size: 13px; font-weight: 700; color: var(--blue); white-space: nowrap; display: flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 20px; background: var(--off-white); transition: var(--transition); }
.document-item:hover .document-item__download { background: var(--blue); color: #fff; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: var(--transition); border: none; font-family: inherit; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,53,128,.25); }
.btn--outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); margin-top: 0; }
.footer-main { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo-kz { font-size: 24px; margin-bottom: 4px; }
.footer-brand .logo-sub { color: rgba(255,255,255,.4); font-size: 9px; }
.footer-brand__desc { font-size: 13.5px; margin-top: 16px; line-height: 1.7; color: rgba(255,255,255,.45); max-width: 260px; }
.footer-brand__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-social:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--font-heading); font-size: 13px; font-weight: 800; color: #fff; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.45); transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom__copy { font-size: 12.5px; color: rgba(255,255,255,.3); }
.footer-bottom__uww { font-size: 12.5px; color: rgba(255,255,255,.3); }
.footer-bottom__uww a { color: var(--gold); }

/* ================================================================
   SEARCH RESULTS
   ================================================================ */
.search-results { margin-top: 24px; }
.search-count { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.search-count strong { color: var(--navy); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
    .news-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nps-grid { grid-template-columns: 1fr 260px; }
    .nps-president { grid-column: 2; grid-row: 1 / 3; }
    .nps-side-news { grid-column: 1 / 2; grid-row: 2; }
    .nps-main-news { grid-column: 1 / 2; grid-row: 1; min-height: 400px; }
    .main-news-card { min-height: 400px; }
    .comp-event-card__loc { display: none; }
}
@media (max-width: 960px) {
    .home-split__inner { grid-template-columns: 1fr; }
    .news-article-wrap { grid-template-columns: 1fr; }
    .regions-layout { grid-template-columns: 1fr; }
    .regions-list { grid-template-columns: repeat(3, 1fr); }
    .nps-grid { grid-template-columns: 1fr; }
    .nps-president { grid-column: 1; grid-row: auto; }
    .nps-side-news { grid-column: 1; grid-row: auto; }
    .nps-main-news { min-height: 380px; }
    .main-news-card { min-height: 380px; }
    .president-card { padding: 28px 32px; flex-direction: row; flex-wrap: wrap; gap: 20px; text-align: left; align-items: flex-start; }
    .president-card__photo-wrap { flex-shrink: 0; }
    .president-card__form { min-width: 240px; }
}
@media (max-width: 768px) {
    .burger { display: flex; }
    .nav-list {
        display: none; position: fixed; top: 115px; left: 0; right: 0;
        background: var(--navy-mid); flex-direction: column; padding: 16px;
        gap: 2px; max-height: calc(100vh - 115px); overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }
    .nav-list--open { display: flex; }
    .nav-item { width: 100%; }
    .nav-link { padding: 12px 16px; border-radius: var(--radius-sm); width: 100%; }
    .nav-link::after { display: none; }
    .nav-link:hover { background: rgba(255,255,255,.08); }
    .dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.05); border-radius: var(--radius-sm); border-top: none; margin-top: 2px; padding: 4px 0; }
    .dropdown li a { color: rgba(255,255,255,.7); border-radius: 6px; padding: 9px 24px; }
    .dropdown li a:hover { background: rgba(255,255,255,.08); color: #fff; padding-left: 28px; }

    .hero-search { padding: 72px 0 64px; min-height: 420px; }
    .hero-search__stats { gap: 20px; }
    .hero-stat:not(:last-child)::after { display: none; }
    .hero-stat__num { font-size: 34px; }

    .teams-grid { grid-template-columns: 1fr; }
    .competitions-row { gap: 8px; }
    .comp-event-card { padding: 14px 16px; gap: 14px; }
    .comp-event-card__loc { display: none; }
    .comp-event-card__arrow { display: none; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .multimedia-grid { grid-template-columns: 1fr; }
    .media-card { padding: 28px 28px; min-height: 180px; }
    .media-card__right { margin-left: 16px; }
    .media-card__name { font-size: 24px; }
    .media-card__desc { max-width: 200px; }
    .president-card { flex-direction: column; align-items: center; text-align: center; }
    .nps-main-news { min-height: 320px; }
    .main-news-card { min-height: 320px; }
    .main-news-card__title { font-size: 22px; }

    .leader-detail, .wrestler-detail, .comp-detail,
    .about-block, .contacts-block, .region-detail { grid-template-columns: 1fr; }
    .regions-list { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .page-banner { padding: 44px 0 36px; }
}
@media (max-width: 480px) {
    .news-grid { grid-template-columns: 1fr; }
    .hero-search__form { border-radius: var(--radius-lg); }
    .hero-search__btn { padding: 14px 20px; font-size: 14px; }
    .regions-list { grid-template-columns: 1fr; }
    .comp-event-card__date { width: 58px; min-height: 66px; }
    .comp-event-card__day { font-size: 28px; }
}

/* ================================================================
   WRESTLER SEARCH FILTERS
   ================================================================ */
.wsr-filters { margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.wsr-search-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.wsr-search-wrap { position: relative; flex: 1; min-width: 200px; }
.wsr-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray); pointer-events: none; }
.wsr-search-input { width: 100%; padding: 11px 14px 11px 40px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; background: #fff; color: var(--navy); outline: none; transition: border-color .2s; box-sizing: border-box; }
.wsr-search-input:focus { border-color: var(--gold); }
.wsr-search-btn { padding: 11px 24px; white-space: nowrap; }
.wsr-reset-btn { padding: 10px 16px; font-size: 13px; white-space: nowrap; border: 1.5px solid var(--border); border-radius: var(--radius-sm); color: var(--gray-dark); background: #fff; text-decoration: none; transition: .2s; }
.wsr-reset-btn:hover { border-color: var(--navy); color: var(--navy); }
.wsr-filter-row { display: flex; flex-wrap: wrap; gap: 6px; }
.wsr-select-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wsr-select { padding: 9px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; background: #fff; color: var(--navy); cursor: pointer; outline: none; flex: 1; min-width: 180px; }
.wsr-select:focus { border-color: var(--gold); }
.wsr-count { font-size: 14px; color: var(--gray); margin-bottom: 16px; }
.wsr-count strong { color: var(--navy); }
.wrestler-card__region { font-size: 12px; color: var(--gray); margin-top: 2px; }
.empty-state { text-align: center; padding: 60px 24px; color: var(--gray); }
.empty-state p { font-size: 16px; }

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 40px 0 16px; flex-wrap: wrap; }
.pagination__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--navy); background: #fff; text-decoration: none; transition: .15s; }
.pagination__btn:hover { border-color: var(--gold); color: var(--gold); background: var(--navy-light); }
.pagination__btn--active { background: var(--navy); border-color: var(--navy); color: #fff; pointer-events: none; }
.pagination__btn--disabled { color: var(--gray); pointer-events: none; opacity: .4; }
.pagination__dots { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 38px; font-size: 16px; color: var(--gray); }

/* ================================================================
   MOBILE — WRESTLER DETAIL
   ================================================================ */
@media (max-width: 900px) {
    .wrd-hero { grid-template-columns: 1fr; gap: 0; }
    .wrd-photo-col { display: flex; flex-direction: column; align-items: center; padding-bottom: 0; }
    .wrd-photo { width: 180px; height: 220px; }
    .wrd-photo--empty { width: 180px; height: 220px; }
    .wrd-title-badge { margin-top: 8px; }
    .wrd-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .wrd-photo { width: 140px; height: 170px; }
    .wrd-stats-grid { grid-template-columns: 1fr; }
    .wrd-results-head { display: none; }
    .wrd-results-row { flex-wrap: wrap; gap: 4px; padding: 12px 14px; }
    .wrd-results-row__date { font-size: 11px; color: var(--gray); }
    .wrd-similar { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   MOBILE — COMPETITION DETAIL
   ================================================================ */
@media (max-width: 900px) {
    .comp-hero { grid-template-columns: 1fr; }
    .comp-hero__poster { width: 100%; max-height: 300px; border-radius: var(--radius); }
    .comp-podium-grid { grid-template-columns: repeat(2, 1fr); }
    .comp-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .comp-podium-grid { grid-template-columns: 1fr; }
    .comp-results-list { gap: 4px; }
    .comp-result-row { padding: 10px 12px; gap: 8px; }
    .comp-result-row__region { display: none; }
    .comp-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   MOBILE — GALLERY
   ================================================================ */
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .glr-photo-grid { columns: 2; }
    .glr-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .glr-photo-grid { columns: 1; }
}

/* ================================================================
   MOBILE — RANKINGS
   ================================================================ */
@media (max-width: 900px) {
    .rank-filters { gap: 8px; }
    .rank-filter-group { flex-wrap: wrap; gap: 6px; }
    .rank-filter-btn { padding: 6px 14px; font-size: 13px; }
    .rank-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .rank-table { min-width: 600px; }
}
@media (max-width: 480px) {
    .rank-table { min-width: 500px; }
    .rank-athlete__img { width: 32px; height: 32px; }
    .rank-athlete__sub { display: none; }
}

/* ================================================================
   MOBILE — WRESTLER SEARCH FILTERS
   ================================================================ */
@media (max-width: 768px) {
    .wsr-search-row { flex-wrap: wrap; }
    .wsr-search-wrap { min-width: 100%; }
    .wsr-select-row { flex-direction: column; }
    .wsr-select { min-width: 100%; }
}

/* ================================================================
   MOBILE — NAV fixes
   ================================================================ */
@media (max-width: 768px) {
    .nav-list { top: 108px; }
    .dropdown--open { display: block !important; }
    .has-dropdown > .nav-link .arrow { transition: transform .2s; }

    /* Burger tap area */
    .burger { padding: 8px; }

    /* Page banner smaller on mobile */
    .page-banner__heading { font-size: clamp(24px, 6vw, 42px); }

    /* Wrestler detail sections */
    .wrd-section { margin-top: 32px; }

    /* Podium cards */
    .comp-podium-card { padding: 20px 16px; }

    /* Rank table scroll hint */
    .rank-table-wrap::after {
        content: '';
        display: block;
        height: 2px;
    }
}

/* ================================================================
   MOBILE — GENERAL UX
   ================================================================ */
@media (max-width: 768px) {
    /* Back links and badges readable */
    .back-link { font-size: 13px; }
    .badge { font-size: 11px; padding: 3px 8px; }

    /* Prevent horizontal scroll globally */
    .page-body { overflow-x: hidden; }

    /* Gallery detail lightbox full screen on mobile */
    #lightbox img { max-width: 100vw; max-height: 80vh; border-radius: 0; }

    /* Media cards stack properly */
    .media-card__right { display: none; }
    .media-card { min-height: 140px; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .page-banner { padding: 36px 0 28px; }
    .section-title { font-size: 11px; letter-spacing: 2px; }
    .wrd-name { font-size: 26px; }
    .comp-hero__title { font-size: 22px; }
    .filter-tabs { gap: 6px; }
    .filter-tab { padding: 6px 12px; font-size: 12px; }

    /* Topbar: hide social icons to prevent collision with lang buttons */
    .topbar__socials { display: none; }
    .topbar__divider { display: none; }

    /* Hero search: shrink button so input stays usable */
    .hero-search__btn { padding: 14px 16px; font-size: 13px; letter-spacing: 0; }
    .hero-search__btn svg { display: none !important; }

    /* Sponsor cards: smaller on phone */
    .sponsor-item { padding: 14px 20px; }
    .sponsor-item img { height: 56px; }
}
