/* =====================================================================
   «Sportda ilmiy tadqiqotlar» — Sport mavzusi (KnE Open uslubi)
   Toza header + qidiruv, full-bleed sport hero, Featured, boy footer.
   Font: Lora (sarlavha) + Open Sans (matn). Aksent: ko'k.
   ===================================================================== */

:root {
  --sport-accent:  #1565C0;
  --sport-dark:    #0D47A1;
  --sport-ink:     #1b2431;
  --sport-muted:   #5c6673;
  --sport-line:    #e5e8ee;
  --sport-soft:    #f6f8fb;
  --sport-soft-2:  #eaf1fb;
  --sport-head-font: 'Lora', Georgia, 'Times New Roman', serif;
  --sport-max: 1200px;
  --sport-pad: 32px;
}

html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body.sport_theme { background: #fff; color: var(--sport-ink); }
/* border-box: padding kenglik ichida hisoblanadi (overflow oldini oladi) */
body.sport_theme *, body.sport_theme *::before, body.sport_theme *::after { box-sizing: border-box; }

@keyframes jmFadeUp { from { opacity:0; transform: translateY(9px); } to { opacity:1; transform:none; } }
@keyframes jmDropIn { from { opacity:0; transform: translateY(-5px); } to { opacity:1; transform:none; } }

/* =====================================================================
   1. HEADER (bitta qator: logotip + navigatsiya + qidiruv + til + user)
   ===================================================================== */
.sport-head.pkp_structure_head {
  background: #ffffff !important; background-image: none !important;
  border-bottom: 1px solid var(--sport-line) !important; box-shadow: 0 1px 10px rgba(15,23,42,.04);
  position: relative; z-index: 20;
}
.sport-head .pkp_head_wrapper { padding: 0; }
.sport-head-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 8px var(--sport-pad);
  display: flex !important; align-items: center; gap: 16px;
  background: transparent !important; float: none !important; text-align: left;
}
.sport-logo { margin-right: auto; flex: 0 0 auto; width: auto !important; }
.sport-logo .pkp_site_name { margin: 0; width: auto !important; }
.sport-logo .is_img img { max-height: 50px; width: auto; transition: opacity .2s ease; }
.sport-logo .is_img:hover img { opacity: .88; }
.sport-logo .is_text { font-family: var(--sport-head-font); font-size: 1.5rem; font-weight: 700; color: var(--sport-ink); text-decoration: none; }

.sport-head-right { flex: 0 1 auto; display: flex; align-items: center; gap: 12px; }

/* Navigatsiya — default konteyner uslublarini neytrallashtiramiz */
.sport-head .pkp_navigation_primary_row,
.sport-head .pkp_navigation_primary_wrapper {
  background: transparent !important; box-shadow: none !important;
  width: auto !important; max-width: none !important; float: none !important;
  position: static !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important; display: block;
}
.sport-head .pkp_navigation_primary {
  display: flex !important; align-items: center; margin: 0; padding: 0; list-style: none; float: none !important;
}
.sport-head .pkp_navigation_primary > li { float: none !important; }
.sport-head .pkp_navigation_primary > li { margin: 0; }
.sport-head .pkp_navigation_primary > li > a {
  display: block; position: relative;
  color: var(--sport-ink) !important; font-weight: 600; font-size: .92rem;
  padding: 8px 11px; border: none !important; text-shadow: none !important;
  white-space: nowrap;
  transition: color .16s ease;
}
.sport-head .pkp_navigation_primary > li > a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 0;
  height: 2px; background: var(--sport-accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .24s cubic-bezier(.4,0,.2,1);
}
.sport-head .pkp_navigation_primary > li > a:hover,
.sport-head .pkp_navigation_primary > li.current > a { color: var(--sport-accent) !important; background: transparent !important; }
.sport-head .pkp_navigation_primary > li > a:hover::after,
.sport-head .pkp_navigation_primary > li.current > a::after { transform: scaleX(1); }

/* Qidiruv qutisi (KnE uslubi — to'rtburchak input + ikon tashqarida) */
.sport-search-box {
  display: flex; align-items: center; gap: 8px;
  background: transparent; border: none;
}
.sport-search-box input {
  outline: none; background: #fff;
  border: 1px solid #cbd3dd; border-radius: 4px;
  height: 38px; padding: 0 12px; font-size: .86rem; width: 168px; color: var(--sport-ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.sport-search-box input::placeholder { color: #9aa4b1; }
.sport-search-box input:focus { border-color: var(--sport-accent); box-shadow: 0 0 0 3px rgba(21,101,192,.12); }
.sport-search-box button {
  border: none; background: transparent; color: #4a5561;
  padding: 0 2px; cursor: pointer; font-size: 1.05rem; line-height: 1;
  transition: color .16s ease;
}
.sport-search-box button:hover { color: var(--sport-accent); }

/* Til dropdowni */
.sport-lang-dd { position: relative; }
.sport-lang-dd > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 9px; border-radius: 7px; border: 1px solid var(--sport-line); background: #fff;
  color: var(--sport-ink); font-size: .78rem; font-weight: 700; letter-spacing: .3px;
  transition: background .16s ease, border-color .16s ease;
}
.sport-lang-dd > summary::-webkit-details-marker { display: none; }
.sport-lang-dd > summary:hover { background: var(--sport-soft); }
.sport-lang-dd[open] > summary { border-color: var(--sport-accent); background: var(--sport-soft-2); }
.sport-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #8792a1; transition: transform .18s ease; }
.sport-lang-dd[open] .sport-caret { transform: rotate(180deg); }
.sport-flag { display: inline-flex; width: 21px; height: 14px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: 0 0 auto; }
.sport-flag svg { width: 100%; height: 100%; display: block; }
.sport-lang-list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 1200;
  min-width: 172px; list-style: none; margin: 0; padding: 6px;
  background: #fff; border: 1px solid var(--sport-line); border-radius: 10px;
  box-shadow: 0 14px 34px rgba(20,30,50,.16); animation: jmDropIn .16s cubic-bezier(.4,0,.2,1);
}
.sport-lang-list .sport-lang > a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: var(--sport-ink); text-decoration: none; font-size: .88rem; font-weight: 500; transition: background .14s ease, color .14s ease; }
.sport-lang-list .sport-lang > a:hover { background: var(--sport-soft-2); color: var(--sport-accent); }
.sport-lang-list .sport-lang.current > a { font-weight: 700; color: var(--sport-accent); }

/* Foydalanuvchi menyusi (Login/Register/admin) */
.sport-head .pkp_navigation_user_wrapper {
  position: static !important; top:auto!important; left:auto!important; right:auto!important; transform:none!important;
  padding:0!important; margin:0!important; width:auto!important; z-index:auto!important; background: transparent;
}
.sport-head .pkp_navigation_user { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0 !important; list-style: none; }
.sport-head .pkp_navigation_user > li { text-align: left; margin: 0; }
.sport-head .pkp_navigation_user > li > a {
  color: var(--sport-muted) !important; text-shadow: none !important; font-weight: 600; font-size: .85rem;
  padding: 7px 10px; border-radius: 6px; transition: background .16s ease, color .16s ease;
}
.sport-head .pkp_navigation_user > li > a:hover { background: var(--sport-soft); color: var(--sport-accent) !important; }

/* Mobil gamburger tugmasi (ko'k, oq chiziqlar, ochilganda X) */
.sport-nav-toggle {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  width: 46px; height: 40px; padding: 0; flex: 0 0 auto;
  background: var(--sport-accent) !important; border: none !important; border-radius: 9px;
  cursor: pointer; box-shadow: 0 2px 8px rgba(21,101,192,.28);
  transition: background .18s ease, box-shadow .18s ease;
}
.sport-nav-toggle:hover { background: var(--sport-dark) !important; box-shadow: 0 4px 12px rgba(21,101,192,.4); }
.sport-nav-toggle span {
  display: block !important; width: 22px !important; height: 2.5px !important;
  background: #fff !important; border-radius: 2px; margin: 0 !important;
  transition: transform .26s cubic-bezier(.4,0,.2,1), opacity .2s ease;
}
.sport-nav-toggle span + span { margin-top: 5px !important; }
.sport-nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.sport-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.sport-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Dropdown (bootstrap submenyular) */
.dropdown-menu {
  background: #fff !important; border: 1px solid var(--sport-line) !important; border-radius: 10px !important;
  box-shadow: 0 14px 34px rgba(20,30,50,.16) !important; padding: 7px !important; min-width: 215px;
  animation: jmDropIn .18s cubic-bezier(.4,0,.2,1); overflow: hidden;
}
.dropdown-menu a, .dropdown-menu > li > a {
  color: var(--sport-ink) !important; text-shadow: none !important; display: block; padding: 9px 14px !important;
  border-radius: 6px; font-weight: 500; line-height: 1.4; transition: background .16s ease, color .16s ease;
}
.dropdown-menu a:hover, .dropdown-menu a:focus { background: var(--sport-soft-2) !important; color: var(--sport-accent) !important; }

/* =====================================================================
   2. LAYOUT — sidebar yo'q; kontent to'liq/markazlashgan
   ===================================================================== */
.pkp_structure_content { background: #fff; float: none; border: none !important; box-shadow: none !important; max-width: none; padding: 0; }
.pkp_structure_content.has_sidebar .pkp_structure_main,
.pkp_structure_main { width: 100% !important; float: none !important; border: none !important; box-shadow: none !important; }
.pkp_structure_main::before, .pkp_structure_main::after { display: none !important; content: none !important; }
.pkp_structure_sidebar { display: none !important; }

/* Ichki sahifalar uchun markazlashgan konteyner */
.pkp_structure_main { max-width: var(--sport-max); margin: 0 auto !important; padding: 40px var(--sport-pad) 24px !important; }
/* Bosh sahifa: hero to'liq kenglik uchun main cheksiz */
body.pkp_page_index .pkp_structure_main { max-width: none; padding: 0 !important; }
.sport-container { max-width: var(--sport-max); margin: 0 auto; padding: 0 var(--sport-pad); }

/* =====================================================================
   3. HERO (full-bleed, sport track rasmi + ko'k overlay)
   ===================================================================== */
.sport-hero {
  position: relative; width: 100vw; left: 50%; transform: translateX(-50%);
  overflow: hidden; background: #0c1626;
  min-height: 680px; display: flex; align-items: center;
}
.sport-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/sport-collage.jpg") center / cover no-repeat;
}
/* Matn o'qilishi uchun qorong'i gradient (chapdan) — oq fon YO'Q */
.sport-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg,
    rgba(9,17,30,.86) 0%, rgba(9,17,30,.72) 32%,
    rgba(9,17,30,.42) 58%, rgba(9,17,30,.18) 100%);
}
.sport-hero-inner { position: relative; z-index: 2; width: 100%; min-width: 0; max-width: var(--sport-max); margin: 0 auto; padding: 70px var(--sport-pad); }
.sport-hero-text { max-width: 640px; animation: jmFadeUp .4s ease-out both; }
.sport-hero .sport-hero-text h1 {
  font-family: var(--sport-head-font); font-weight: 700; font-size: 3rem; line-height: 1.12;
  color: #ffffff !important; margin: 0 0 20px; letter-spacing: -.4px; text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.sport-hero .sport-hero-text p { font-size: 1.16rem; line-height: 1.6; color: rgba(255,255,255,.94); margin: 0 0 30px; max-width: 540px; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
/* Hero qidiruv qutisi (katta, KnE uslubi) */
.sport-hero-search {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 8px; padding: 6px 6px 6px 4px;
  max-width: 560px; box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.sport-hero-search input {
  flex: 1 1 auto; min-width: 0; border: none; outline: none; background: transparent;
  padding: 12px 16px; font-size: 1rem; color: var(--sport-ink);
}
.sport-hero-search input::placeholder { color: #9aa4b1; }
.sport-hero-search button {
  flex: 0 0 auto; border: none; cursor: pointer;
  background: var(--sport-accent); color: #fff;
  width: 48px; height: 44px; border-radius: 6px; font-size: 1.05rem;
  transition: background .18s ease;
}
.sport-hero-search button:hover { background: var(--sport-dark); }

/* =====================================================================
   4. BO'LIM SARLAVHALARI
   ===================================================================== */
.sport-section-title {
  font-family: var(--sport-head-font); font-size: 2.1rem; font-weight: 700; text-align: center;
  color: var(--sport-ink); margin: 0 0 10px; letter-spacing: -.3px;
}
.pkp_structure_main h1, .pkp_structure_main h2, .pkp_structure_main h3 { font-family: var(--sport-head-font); color: var(--sport-ink); }

/* Ichki sahifa sarlavhasi */
.pkp_structure_main > .page > h1 {
  display: block; clear: both; border-bottom: none; position: relative;
  padding-bottom: 14px; margin: 2px 0 26px; font-size: 2.1rem; line-height: 1.2; font-weight: 700;
}
.pkp_structure_main > .page > h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--sport-accent); border-radius: 2px; }

/* Breadcrumb */
.cmp_breadcrumbs { display: block; clear: both; margin-bottom: 14px; font-size: .84rem; }
.cmp_breadcrumbs ol { list-style: none; padding: 0; margin: 0; }
.cmp_breadcrumbs li { display: inline; color: var(--sport-muted); }
.cmp_breadcrumbs a { color: var(--sport-muted); text-decoration: none; }
.cmp_breadcrumbs a:hover { color: var(--sport-accent); }
.cmp_breadcrumbs .separator { margin: 0 8px; opacity: .5; }
.cmp_breadcrumbs .current span { color: var(--sport-ink); font-weight: 600; }

/* =====================================================================
   5. FEATURED (so'nggi maqolalar)
   ===================================================================== */
.sport-featured { padding-top: 62px; animation: jmFadeUp .4s ease-out both; }
.sport-featured .sport-section-title { margin-bottom: 30px; }

/* Joriy son satri (badge + son nomi, markazда) */
.sport-featured-issueline { text-align: center; margin: 0 0 30px; }
.sport-issue-badge {
  display: inline-block; background: var(--sport-soft-2); color: var(--sport-dark);
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 999px; margin-right: 10px; vertical-align: middle;
}
.sport-featured-issueline .current_issue_title {
  font-weight: 600; color: var(--sport-muted); font-size: 1rem; vertical-align: middle;
}
.sport-featured-more { text-align: center; margin-top: 30px; }

/* Maqolalar — vertikal (KnE) ixcham kartochkalar: rasm tepada, matn pastda */
.sport-featured .obj_issue_toc .section { margin-bottom: 34px; }
.cmp_article_list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 24px;
}
.cmp_article_list > li { margin: 0; flex: 0 1 320px; max-width: 320px; display: flex; }

.obj_article_summary.sport-card {
  display: flex; flex-direction: column; width: 100%;
  padding: 0; margin: 0;
  background: #fff; border: 1px solid var(--sport-line); border-radius: 0;
  overflow: hidden; box-shadow: 0 3px 14px rgba(20,30,50,.05);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.obj_article_summary.sport-card:hover { border-color: #cfd9e6; box-shadow: 0 12px 30px rgba(20,30,50,.11); transform: translateY(-3px); }
.sport-card-cover { display: block; width: 100%; height: 160px; overflow: hidden; background: #dbe2ea; }
.sport-card-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .35s ease; }
.obj_article_summary.sport-card:hover .sport-card-cover img { transform: scale(1.03); }
.sport-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.obj_article_summary.sport-card .title { margin: 0 0 10px; }
.obj_article_summary.sport-card .title a {
  font-family: var(--sport-head-font); font-weight: 700; font-size: 1.05rem; line-height: 1.38;
  color: var(--sport-ink); text-decoration: none; transition: color .16s ease;
}
.obj_article_summary.sport-card .title a:hover { color: var(--sport-accent); }
.obj_article_summary.sport-card .title .subtitle { display: block; font-size: .88rem; font-weight: 400; color: var(--sport-muted); margin-top: 4px; }
.obj_article_summary.sport-card .meta { margin: 0 0 10px; }
.obj_article_summary.sport-card .authors { display: inline-block; background: var(--sport-soft-2); color: #33465c; font-size: .8rem; font-weight: 600; padding: 4px 11px; border-radius: 6px; margin: 0; }
.sport-card-date { color: var(--sport-muted); font-size: .84rem; margin-bottom: 12px; }
.sport-card-date .fa { color: var(--sport-accent); margin-right: 5px; }
.obj_article_summary.sport-card .galleys_links { list-style: none; padding: 0; margin: auto 0 0; }
.obj_article_summary.sport-card .galleys_links li { display: inline-block; }

.sport-btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--sport-accent); color: var(--sport-accent) !important; text-decoration: none;
  padding: 11px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: background .18s ease, color .18s ease;
}
.sport-btn-outline:hover { background: var(--sport-accent); color: #fff !important; }
.sport-btn-outline .fa { font-size: .78rem; }

/* Son TOC ichidagi bo'lim sarlavhalari (Maqolalar) */
body.pkp_page_index .obj_issue_toc .heading { display: none; }  /* faqat bosh sahifada son sarlavhasi ortiqcha */
.sport-featured .obj_issue_toc .section > h2 {
  display: flex; align-items: center; gap: 14px; font-family: 'Open Sans', sans-serif;
  font-size: .8rem; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700;
  color: var(--sport-muted); border: none; padding: 0; margin: 8px 0 22px;
}
.sport-featured .obj_issue_toc .section > h2::before { content: ""; width: 28px; height: 3px; background: var(--sport-accent); border-radius: 2px; flex: 0 0 28px; }
.sport-featured .obj_issue_toc .section > h2::after { content: ""; flex: 1; height: 1px; background: var(--sport-line); }
.cmp_article_list { list-style: none; padding: 0; margin: 0; }
.cmp_article_list > li { margin: 0; }

/* =====================================================================
   6. MAQOLA KARTOCHKALARI (oddiy to'rtburchak)
   ===================================================================== */
.obj_article_summary {
  background: #fff; border: 1px solid var(--sport-line); border-radius: 10px;
  padding: 24px 26px; margin-bottom: 16px;
  transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
.obj_article_summary:hover { border-color: #cfd9e6; box-shadow: 0 10px 30px rgba(20,30,50,.09); transform: translateY(-2px); }
.obj_article_summary .title { margin: 0 0 12px; }
.obj_article_summary .title a {
  font-family: var(--sport-head-font); font-weight: 700; font-size: 1.18rem; line-height: 1.4;
  color: var(--sport-ink); text-decoration: none; transition: color .16s ease;
}
.obj_article_summary .title a:hover { color: var(--sport-accent); }
.obj_article_summary .meta { margin: 0 0 16px; }
.obj_article_summary .authors { display: inline-block; background: var(--sport-soft-2); color: #33465c; font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 6px; margin: 0; }

.obj_galley_link, .obj_article_summary .galleys_links .obj_galley_link {
  display: inline-flex; align-items: center; gap: 7px; background: var(--sport-accent); color: #fff !important;
  border: none; border-radius: 6px; padding: 8px 16px; font-weight: 600; font-size: .86rem; text-decoration: none;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.obj_galley_link:hover, .obj_article_summary .galleys_links .obj_galley_link:hover { background: var(--sport-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(21,101,192,.28); }

.read_more, a.read_more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sport-accent); text-decoration: none; }

/* =====================================================================
   7. JURNAL HAQIDA
   ===================================================================== */
.sport-about { padding-top: 64px; }
.sport-about-inner { background: var(--sport-soft); border-radius: 14px; padding: 40px 44px; }
.sport-about .sport-section-title { text-align: left; margin-bottom: 18px; }
.sport-about p { line-height: 1.78; font-size: 1.04rem; color: #2c3542; margin: 0 0 14px; }

/* E'lonlar */
.cmp_announcements { padding-top: 56px; }
.cmp_announcements > h2 { font-family: var(--sport-head-font); font-size: 2.1rem; text-align: center; margin: 0 0 24px; }

/* =====================================================================
   8. FOOTER (KnE — och kulrang)
   ===================================================================== */
.sport-footer.pkp_structure_footer_wrapper {
  background: #f3f4f6; color: var(--sport-muted); border-top: 1px solid #e6e8ec; margin-top: 72px;
}
.sport-footer-inner { max-width: var(--sport-max); margin: 0 auto; padding: 56px var(--sport-pad) 24px; }
.sport-footer a { color: var(--sport-muted); text-decoration: none; transition: color .16s ease; }
.sport-footer a:hover { color: var(--sport-accent); }
.sport-footer-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.sport-fcol { flex: 1 1 190px; min-width: 175px; }
.sport-fbrand { flex: 1.5 1 300px; min-width: 260px; }
.sport-fbrand-name { font-family: var(--sport-head-font); font-size: 1.35rem; font-weight: 700; color: var(--sport-ink); margin-bottom: 12px; }
.sport-fbrand p { font-size: .92rem; line-height: 1.65; margin: 0 0 18px; max-width: 340px; }
.sport-fcol h3 { font-family: var(--sport-head-font); font-size: 1.08rem; font-weight: 700; color: var(--sport-ink); margin: 0 0 16px; }
.sport-fcol ul { list-style: none; padding: 0; margin: 0; }
.sport-fcol li { margin-bottom: 11px; font-size: .92rem; }
.sport-contact li { display: flex; align-items: flex-start; gap: 9px; }
.sport-contact .fa { color: var(--sport-accent); margin-top: 3px; }
.sport-social { display: flex; gap: 10px; }
.sport-soc { width: 38px; height: 38px; border-radius: 50%; background: var(--sport-accent); color: #fff !important; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; transition: background .16s ease, transform .16s ease; }
.sport-soc:hover { background: var(--sport-dark); transform: translateY(-2px); color: #fff !important; }
.sport-footer-bottom { border-top: 1px solid #e2e5ea; margin-top: 36px; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.sport-copy { font-size: .85rem; color: #8b94a1; }
.sport-footer .pkp_brand_footer { opacity: .55; transition: opacity .25s ease; margin: 0; border: none; padding: 0; }
.sport-footer .pkp_brand_footer:hover { opacity: .85; }
.sport-footer .pkp_brand_footer img { max-width: 120px; }

/* =====================================================================
   8b. ALOQA (CONTACT) SAHIFASI — KnE uslubi
   ===================================================================== */
.sport-contact-page .pkp_structure_main,
body.pkp_op_contact .pkp_structure_main { padding-top: 44px !important; }
.sport-contact-title {
  font-family: var(--sport-head-font); font-size: 2.4rem; font-weight: 700; text-align: center;
  color: var(--sport-ink); margin: 6px 0 10px;
}
.sport-contact-page > .sport-container > h1.sport-contact-title::after { display: none; }
.sport-contact-sub { text-align: center; color: var(--sport-muted); font-size: 1.05rem; max-width: 620px; margin: 0 auto 40px; line-height: 1.6; }
.sport-contact-page .cmp_breadcrumbs { text-align: center; }

.sport-contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: stretch; margin-bottom: 20px; }
.sport-contact-map { border-radius: 16px; overflow: hidden; box-shadow: 0 14px 40px rgba(15,23,42,.14); min-height: 380px; border: 1px solid var(--sport-line); }
.sport-contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.sport-contact-info { display: flex; flex-direction: column; gap: 18px; }
.sport-contact-block {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--sport-line);
  border-radius: 14px; padding: 22px 24px; transition: box-shadow .2s ease, border-color .2s ease;
}
.sport-contact-block:hover { border-color: #cfd9e6; box-shadow: 0 10px 28px rgba(20,30,50,.08); }
.sport-contact-icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--sport-soft-2); color: var(--sport-accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.sport-contact-body { flex: 1 1 auto; }
.sport-contact-body h3 { font-family: var(--sport-head-font); font-size: 1.15rem; font-weight: 700; color: var(--sport-ink); margin: 2px 0 8px; }
.sport-contact-body p { margin: 0 0 6px; color: var(--sport-muted); font-size: .95rem; line-height: 1.55; }
.sport-contact-body p .fa { color: var(--sport-accent); margin-right: 7px; }
.sport-contact-body a { color: var(--sport-accent); text-decoration: none; }
.sport-contact-body a:hover { text-decoration: underline; }
.sport-contact-name { color: var(--sport-ink) !important; font-weight: 600; }
.sport-contact-aff { font-style: italic; }
/* OJS "Edit" havolasini nozik qilamiz */
.page_contact .pkp_screen_reader + a, .page_contact a[href*="management"] { font-size: .82rem; }

/* =====================================================================
   9. RESPONSIVE
   ===================================================================== */
/* ===== PLANSHET / TELEFON (<= 991px) ===== */
@media (max-width: 991px) {
  :root { --sport-pad: 18px; }

  /* Header: logotip chapda (kichik) + gamburger o'ngda */
  .sport-head-inner { flex-wrap: wrap; gap: 10px; }
  .sport-logo { flex: 1 1 auto; margin-right: 8px; min-width: 0; }
  .sport-logo .is_img img { max-height: 40px; }
  .sport-nav-toggle { display: inline-flex; margin-left: auto; }
  .sport-head-right { order: 5; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; display: none; }
  .sport-head-right.is-open { display: flex; }
  .sport-head .pkp_navigation_primary { flex-direction: column; align-items: stretch; }
  .sport-search-box { width: 100%; }
  .sport-search-box input { width: 100%; }
  .sport-lang-dd, .sport-lang-dd > summary { width: 100%; justify-content: flex-start; }
  .sport-head .pkp_navigation_user { justify-content: flex-start; }

  /* Hero: matn/qidiruv ekran kengligiga sig'sin (specificity uchun .sport-hero prefiks) */
  .sport-hero { min-height: 0; }
  .sport-hero-inner { padding: 48px var(--sport-pad); }
  .sport-hero .sport-hero-text { max-width: 100%; }
  .sport-hero .sport-hero-text h1 { font-size: 1.9rem; }
  .sport-hero .sport-hero-text p { max-width: 100%; font-size: 1.02rem; }
  .sport-hero-search { max-width: 100%; }

  /* Bo'lim sarlavhalari */
  .sport-section-title { font-size: 1.6rem; }

  /* Kartochka — rasm tepada */
  .cmp_article_list > li { flex-basis: 100%; max-width: 420px; }
  .obj_article_summary.sport-card { flex-direction: column; }
  .sport-card-cover { flex-basis: 170px; width: 100%; height: 170px; }
  .sport-card-body { justify-content: flex-start; }

  /* Boshqalar */
  .sport-about-inner { padding: 26px 20px; }
  .sport-footer-grid { gap: 30px; }
  .sport-footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sport-contact-grid { grid-template-columns: 1fr; }
  .sport-contact-map { min-height: 280px; order: 2; }
}

/* ===== TELEFON (<= 560px) ===== */
@media (max-width: 560px) {
  .sport-hero .sport-hero-text h1 { font-size: 1.6rem; }
  .sport-hero-inner { padding: 40px var(--sport-pad); }
  .sport-hero-search input { padding: 11px 12px; font-size: .92rem; }
  .pkp_structure_main > .page > h1 { font-size: 1.7rem; }
  .sport-section-title { font-size: 1.4rem; }
  .sport-contact-title { font-size: 1.9rem; }
  .obj_article_summary.sport-card .title a { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
