/* Footer — interaktiv tugmalar (tez kunda modallar) */
.footer_icon_btn,
.footer_app_btn,
.footer_link_btn {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  line-height: inherit;
}
.footer_icon_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  transition: color 150ms ease, transform 150ms ease;
}
.footer_icon_btn:hover {
  color: var(--brand);
  transform: translateY(-1px);
}
.footer_social ul li {
  background: #14bdee;
}
.footer_social ul li .footer_icon_btn {
  color: #ffffff;
}
.footer_social ul li .footer_icon_btn i {
  color: #ffffff;
  line-height: 45px;
  font-size: 16px;
}
.footer_social ul li:hover {
  background: #0ea5d4;
}
.footer_social ul li:hover .footer_icon_btn,
.footer_social ul li:hover .footer_icon_btn i {
  color: #ffffff;
}
.footer_app_btn {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  transition: opacity 150ms ease, transform 150ms ease;
}
.footer_app_btn:hover {
  opacity: 0.92;
  transform: scale(1.02);
}
.footer_app_btn img {
  display: block;
  width: 100%;
  height: auto;
}
.footer_link_btn {
  text-decoration: none;
  transition: color 150ms ease;
}
.footer_link_btn:hover {
  color: var(--brand);
}
.footer_contact_info a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}
.footer_contact_info a:hover {
  color: var(--brand);
}
.top_bar_contact_list a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease, opacity 150ms ease, text-decoration-color 150ms ease;
}
/* top_bar foni = brand (#14bdee) — hoverda brand ishlatilmasin, aks holda matn yo'qoladi */
.top_bar_contact_list a:hover {
  color: #ffffff;
  opacity: 0.88;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* Open Tsul — fan filtri (courses bo'limida) */
:root {
  --border: #e6e8ee;
  --brand: #14bdee;
  --brand-hover: #0fa9d6;
  --brand-soft: rgba(20, 189, 238, 0.12);
  --text: #384158;
  --text-muted: #76777a;
}

/* ===== Bosing'anda chiqadigan qora border (focus outline) tozalandi =====
   Sichqoncha bilan bosilganda outline ko'rinmaydi, ammo klaviatura (Tab)
   bilan harakatlanganda accessibility uchun yumshoq ko'k halqa qoladi. */
button:focus,
a:focus,
[role="button"]:focus,
select:focus,
summary:focus {
  outline: none;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid rgba(20, 189, 238, 0.6);
  outline-offset: 2px;
}

/* Header logo — qirqilgan rasm, ortiqcha bo'sh joysiz, menyular bilan siqilmasin */
.logo_container {
  flex-shrink: 0;
  margin-right: 12px;
  line-height: 0;
}
.logo_container a {
  display: block;
  line-height: 0;
}
.header_content .logo_img {
  display: block;
  height: 52px;
  width: auto;
  max-width: none;
}
.header.scrolled .header_content .logo_img {
  height: 44px;
}

/* Header — pastga skrol: shisha / frosted glass */
.header_container {
  -webkit-transition: background 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  transition: background 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.header.scrolled {
  box-shadow: 0 8px 32px rgba(56, 65, 88, 0.08);
}
.header.scrolled .header_container {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 1px 0 rgba(20, 189, 238, 0.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header.scrolled .header_container {
    background: rgba(255, 255, 255, 0.94);
  }
}

/* Header — Open Tsul brend dropdown (yorug' fon, #14bdee aksent) */
.header_user_menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  margin-left: 12px;
  vertical-align: middle;
}
.yt-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid #ccc;
  background: transparent;
  color: #181818;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  transition: background 150ms ease;
  white-space: nowrap;
}
.yt-create-btn:hover { background: rgba(0, 0, 0, 0.05); color: #181818; }
.yt-create-btn i { font-size: 16px; }
/* Header nav: qidiruv + avatar bir qatorda, kesilmasin */
.main_nav_contaner.ml-auto {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
.main_nav_contaner .main_nav {
  margin-bottom: 0;
}
.header_avatar_btn,
.header_notify_btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.header_avatar_btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header_notify_btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #181818;
  font-size: 20px;
  transition: background 150ms ease;
}
.header_notify_btn:hover { background: rgba(0, 0, 0, 0.06); }
.header_notify_badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #cc0000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.header_avatar_btn:hover { opacity: 0.92; }
.yt-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #14bdee;
  color: #fff;
  font-weight: 600;
  flex-shrink: 0;
  user-select: none;
  overflow: hidden;
  line-height: 1;
}
.yt-avatar.sm { width: 32px; height: 32px; font-size: 12px; }
.yt-avatar img,
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-avatar.lg { width: 40px; height: 40px; font-size: 15px; }
.header_avatar_btn .yt-avatar {
  flex-shrink: 0;
}
.yt-avatar.xl { width: 56px; height: 56px; font-size: 22px; }
.header_avatar_guest .yt-avatar.sm {
  background: #606060;
  color: #fff;
}
.user_dropdown.yt-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 300px;
  max-height: min(calc(100vh - 64px), 640px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(56, 65, 88, 0.14), 0 0 0 1px rgba(20, 189, 238, 0.05);
  z-index: 1200;
  padding: 0;
  animation: ytMenuIn 160ms ease;
}
.user_dropdown.yt-menu.open { display: block; }
@keyframes ytMenuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.yt-menu-main {
  max-height: min(calc(100vh - 64px), 640px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 8px;
}
.yt-menu-main.hidden { display: none; }
.yt-menu-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 22px 16px 14px;
}
.yt-menu-head_editable {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 150ms ease;
}
.yt-menu-head_editable:hover,
.yt-menu-head_editable:focus-visible {
  background: var(--brand-soft);
}
.yt-menu-avatar-wrap {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
}
.yt-menu-avatar-wrap .yt-avatar.xl {
  transition: opacity 150ms ease;
}
.yt-menu-head_editable:hover .yt-menu-avatar-wrap .yt-avatar.xl,
.yt-menu-head_editable:focus-visible .yt-menu-avatar-wrap .yt-avatar.xl {
  opacity: 0.72;
}
.yt-menu-avatar-edit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}
.yt-menu-head_editable:hover .yt-menu-avatar-edit,
.yt-menu-head_editable:focus-visible .yt-menu-avatar-edit {
  opacity: 1;
}
.yt-menu-avatar-hint {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--brand);
  line-height: 1.35;
}
.yt-menu-avatar-remove {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
}
.yt-menu-avatar-remove:hover {
  color: var(--text);
}
.yt-menu-head_guest { padding-bottom: 8px; }
.yt-menu-user { display: flex; align-items: center; gap: 16px; }
.yt-menu-ident { min-width: 0; width: 100%; }
.yt-menu-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.yt-menu-handle {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.3;
  word-break: break-word;
}
.yt-menu-guest-desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}
.yt-menu-sep { height: 1px; background: var(--border); margin: 8px 0; }
.yt-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 0 16px;
  border: none;
  background: none;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}
a.yt-menu-item:hover,
button.yt-menu-item:hover { background: var(--brand-soft); }
.yt-menu-ic {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}
.yt-menu-label { flex: 1; line-height: 1.35; min-width: 0; }
.yt-menu-meta { color: var(--text-muted); }
.yt-menu-chev {
  color: var(--text-muted);
  font-size: 11px;
  margin-left: auto;
  flex-shrink: 0;
  padding-left: 8px;
}
.yt-menu-subpanel {
  display: none;
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 12px;
  overflow-y: auto;
  padding: 8px 0 12px;
  z-index: 2;
}
.yt-menu-subpanel.open { display: block; }
.yt-menu-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 4px 8px 8px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
}
.yt-menu-back:hover { background: var(--brand-soft); }
.yt-sub-title {
  padding: 0 16px 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.yt-sub-opt,
.yt-sub-account {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 8px 16px;
  border: none;
  background: none;
  color: var(--text);
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  text-align: left;
}
.yt-sub-opt:hover,
.yt-sub-account:hover { background: var(--brand-soft); }
.yt-sub-opt.active { font-weight: 500; }
.yt-sub-check { margin-left: auto; color: var(--brand); font-size: 14px; }
.yt-sub-account b { display: block; font-size: 14px; }
.yt-sub-account small { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.yt-sub-empty { padding: 16px; color: var(--text-muted); font-size: 13px; margin: 0; }
.yt-modal .yt-modal-box {
  background: #282828;
  color: #f1f1f1;
  border-radius: 12px;
  max-width: 400px;
}
.yt-modal .yt-modal-box h3 { color: #f1f1f1; font-size: 18px; margin: 0 0 16px; }
.yt-modal .yt-modal-box p { color: #aaa; font-size: 14px; line-height: 1.5; }
.yt-modal .yt-modal-box textarea {
  width: 100%; min-height: 100px; background: #3f3f3f; border: none; border-radius: 8px;
  color: #f1f1f1; padding: 12px; font-family: inherit; font-size: 14px; resize: vertical;
}
.yt-kbd-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px;
}
.yt-kbd-row span:first-child {
  background: #3f3f3f; padding: 2px 8px; border-radius: 4px; font-family: monospace; min-width: 32px; text-align: center;
}
.yt-modal-close {
  margin-top: 16px; width: 100%; height: 40px; border: none; border-radius: 8px;
  background: #3f3f3f; color: #f1f1f1; font-weight: 600; cursor: pointer;
}
.yt-modal-close.primary { background: #14bdee; color: #fff; }
.yt-modal-close:hover { opacity: 0.9; }
.yt-modal-link { display: block; margin: 12px 0; color: #14bdee; font-size: 14px; }

/* ===== Bildirishnoma turi (Fikr-mulohaza modali) ===== */
.yt-fb-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.yt-fb-type {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: #3f3f3f; color: #d8d8d8;
  border: 1px solid transparent; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 150ms ease; font-family: inherit;
}
.yt-fb-type:hover { background: #4a4a4a; color: #fff; }
.yt-fb-type.active { background: rgba(20,189,238,0.16); border-color: #14bdee; color: #14bdee; }
.yt-avatar.md { width: 36px; height: 36px; font-size: 13px; }

/* ===== Bildirishnomalar paneli (Open Tsul brend) ===== */
.yt-notif-wrap { position: relative; display: inline-flex; }
.yt-notif-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 420px;
  max-width: calc(100vw - 24px);
  max-height: min(calc(100vh - 90px), 640px);
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(56, 65, 88, 0.14), 0 0 0 1px rgba(20, 189, 238, 0.05);
  z-index: 1200;
  overflow: hidden;
  animation: ytMenuIn 160ms ease;
}
.yt-notif-panel.open { display: flex; }
.yt-notif-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}
.yt-notif-title { font-size: 17px; font-weight: 600; color: var(--text); font-family: 'Roboto Slab', serif; }
.yt-notif-gear {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 17px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.yt-notif-gear:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
.yt-notif-settings {
  position: absolute;
  top: calc(100% - 2px);
  right: 12px;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(56, 65, 88, 0.14);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 180ms;
  z-index: 5;
}
.yt-notif-settings.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.yt-notif-body { overflow-y: auto; padding: 6px 0 10px; flex: 1 1 auto; }
.yt-notif-section {
  padding: 12px 16px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.yt-notif-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px 12px 28px;
  text-decoration: none;
  transition: background 150ms ease;
}
.yt-notif-item:hover { background: var(--brand-soft); }
.yt-notif-dot {
  position: absolute;
  left: 12px;
  top: 22px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: transparent;
}
.yt-notif-item.unread .yt-notif-dot { background: var(--brand); }
.yt-notif-item .yt-avatar.md { margin-top: 2px; }
.yt-notif-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.yt-notif-msg {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-notif-msg b { font-weight: 600; color: var(--text); }
.yt-notif-time { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.yt-notif-thumb {
  flex: 0 0 auto;
  width: 96px; height: 54px;
  border-radius: 6px;
  overflow: hidden;
  background: #eef0f3;
  border: 1px solid var(--border);
}
.yt-notif-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-notif-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 48px 20px; color: var(--text-muted); text-align: center;
}
.yt-notif-empty i { font-size: 34px; opacity: 0.55; color: var(--brand); }
.yt-notif-empty p { margin: 0; font-size: 14px; color: var(--text-muted); }
.yt-notif-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  color: var(--text);
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
  text-align: left;
}
.yt-notif-setting-row:hover { background: var(--brand-soft); }
.yt-notif-setting-row + .yt-notif-setting-row { margin-top: 2px; }

@media (max-width: 991px) {
  .header_user_menu { margin-left: 6px; gap: 4px; }
  .yt-create-btn { display: none; }
  .header_notify_btn { width: 36px; height: 36px; font-size: 18px; }
  .yt-avatar.sm { width: 28px; height: 28px; font-size: 11px; }
  .user_dropdown.yt-menu { width: min(300px, calc(100vw - 20px)); right: -6px; }
  .yt-notif-panel { width: min(420px, calc(100vw - 16px)); right: -6px; }
  .yt-notif-thumb { width: 76px; height: 43px; }
}
.courses .fan-filter-wrap,
.professors_page .fan-filter-wrap {
  margin-top: 28px;
  margin-bottom: 8px;
  text-align: center;
}
.courses .fan-filter-label,
.professors_page .fan-filter-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #9aa0ab;
  margin-bottom: 16px;
}
.fan-smart-select {
  position: relative;
  display: inline-block;
  width: min(420px, 100%);
  text-align: left;
  z-index: 5;
}
.fan-smart-select.open { z-index: 40; }
.fan-smart-select .hero_select_trigger {
  position: relative;
  width: 100%;
  min-height: 48px;
  padding: 10px 44px 10px 18px;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(56, 65, 88, 0.06);
  font-size: 15px;
  font-weight: 600;
  color: #384158;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.fan-smart-select .hero_select_trigger:hover,
.fan-smart-select.open .hero_select_trigger {
  border-color: #14bdee;
  box-shadow: 0 4px 16px rgba(20, 189, 238, 0.12);
}
.fan-smart-select .hero_select_trigger i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa0ab;
  transition: transform .2s, color .2s;
}
.fan-smart-select.open .hero_select_trigger i {
  transform: translateY(-50%) rotate(180deg);
  color: #14bdee;
}
.fan-smart-select .hero_select_panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(56, 65, 88, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.fan-smart-select.open .hero_select_panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.fan-smart-select .hero_select_panel--center { left: 50%; right: auto; }
.fan-smart-select .hero_select_search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef1f5;
}
.fan-smart-select .hero_select_search i { color: #9aa0ab; font-size: 13px; }
.fan-smart-select .hero_select_search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #384158;
  background: transparent;
}
.fan-smart-select .hero_select_list {
  max-height: 280px;
  overflow-y: auto;
  padding: 6px 0;
}
.fan-smart-select .hero_opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border: none;
  background: none;
  font-size: 14px;
  color: #5b6270;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.fan-smart-select .hero_opt:hover { background: #f4f8fb; color: #384158; }
.fan-smart-select .hero_opt.active {
  background: rgba(20, 189, 238, 0.08);
  color: #14bdee;
  font-weight: 600;
}
.fan-smart-select .hero_select_empty {
  padding: 16px;
  text-align: center;
  color: #9aa0ab;
  font-size: 14px;
}
.professors_page .fan-filter-wrap {
  margin-top: 12px;
  margin-bottom: 24px;
}

/* Bosh sahifa — fikr-mulohaza bo'limi (newsletter o'rniga) */
.home-feedback .newsletter_container,
.home-feedback .home-feedback_container {
  height: auto;
  min-height: 120px;
  padding: 28px 0;
  gap: 24px;
}
.home-feedback_content { flex: 0 1 auto; max-width: 420px; }
.home-feedback_form_wrap {
  width: min(520px, 100%);
  flex: 1 1 420px;
}
.home-feedback_success {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f8a4a;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  animation: homeFeedbackIn 280ms ease;
}
.home-feedback_success i {
  font-size: 18px;
  color: #14bdee;
}
@keyframes homeFeedbackIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.home-feedback_types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.home-feedback_type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
}
.home-feedback_type i { font-size: 13px; opacity: .9; }
.home-feedback_type:hover { background: rgba(255, 255, 255, 0.22); }
.home-feedback_type.active {
  background: #fff;
  color: #14bdee;
  border-color: #fff;
}
.home-feedback_form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.home-feedback_input {
  flex: 1;
  min-height: 52px;
  max-height: 120px;
  resize: vertical;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #384158;
  background: rgba(255, 255, 255, 0.92);
  font-family: 'Roboto', sans-serif;
}
.home-feedback_input::placeholder { color: #9aa0ab; }
.home-feedback_button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  padding: 0 22px;
  border: none;
  background: #fff;
  color: #14bdee;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
  font-family: 'Roboto', sans-serif;
}
.home-feedback_button:hover { background: #f0fbff; color: #0ea5d4; }
.home-feedback_button i { font-size: 13px; }
@media (max-width: 991px) {
  .home-feedback_types { justify-content: center; }
  .home-feedback_success { justify-content: center; text-align: center; }
  .home-feedback_form_wrap { width: 100%; }
  .home-feedback_form { flex-direction: column; }
  .home-feedback_button {
    min-height: 48px;
    border-top: 1px solid rgba(20, 189, 238, 0.15);
  }
}
@media (max-width: 575px) {
  .home-feedback_type span { display: none; }
  .home-feedback_type { padding: 8px 10px; }
  .home-feedback_type i { font-size: 15px; }
}

/* Open Tsul — bitta sahifali qismlar (/kurslar, /professorlar, /kutubxona, /profil) tile fon */
.site_page {
  width: 100%;
  flex: 1 0 auto;
  min-height: calc(100dvh - 220px);
  background-color: #f9fafc;
  background-image: url(/assets/unicat/images/courses_background.jpg);
  background-repeat: repeat;
  background-position: top center;
  background-size: 1920px auto;
}
/* Breadcrumb zonasi — oq, naqishsiz */
.site_page .page_head {
  background: #ffffff;
  border-bottom-color: #edeff0;
}
/* Footer margin-top 60px oq bo'shliq qoldirmasin */
.super_container:has(.site_page) .footer {
  margin-top: 0;
}

/* Open Tsul — Biz haqimizda (about) sahifasi */
.page_head {
  width: 100%;
  height: 182px;
  background: #ffffff;
  border-bottom: solid 1px #edeff0;
}
.page_head .breadcrumbs_container {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding-bottom: 13px;
  padding-left: 3px;
}
.breadcrumbs ul li { display: inline-block; position: relative; }
.breadcrumbs ul li:not(:last-child)::after {
  display: inline-block;
  font-family: 'FontAwesome';
  content: '\f105';
  margin-left: 7px;
  margin-right: 4px;
  color: #384158;
}
.breadcrumbs ul li a {
  font-size: 14px;
  font-weight: 400;
  color: #384158;
  transition: all 200ms ease;
}
.breadcrumbs ul li a:hover { color: #14bdee; }

.about {
  width: 100%;
  padding-top: 93px;
  padding-bottom: 100px;
  background: #FFFFFF;
}
.about_row { margin-top: 56px; }
.about_col { margin-bottom: 30px; }
.about_col_left { padding-right: 25px; }
.about_col_right { padding-left: 25px; }
.about_col_middle { padding-left: 20px; padding-right: 20px; }
.about_item_image { width: 100%; overflow: hidden; border-radius: 6px; }
.about_item_image img {
  max-width: 100%;
  transition: all 2000ms ease;
}
.about_item:hover .about_item_image img { transform: scale(1.1); }
.about_item_title { margin-top: 22px; }
.about_item_title a {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 700;
  color: #384158;
  transition: all 200ms ease;
}
.about_item_title a:hover { color: #14bdee; }
.about_item_text { margin-top: 12px; line-height: 2; }

/* Open Tsul — Kurslar sahifasi (sidebar bilan) */
.courses_page { width: 100%; padding-top: 60px; padding-bottom: 90px; }
.courses_search_container {
  padding-left: 20px;
  padding-right: 20px;
  background: #f2f4f5;
  border-radius: 6px;
  margin-bottom: 25px;
}
.courses_search_form { width: 100%; min-height: 92px; padding: 16px 0; gap: 16px; flex-wrap: wrap; }
.courses_search_input {
  height: 46px;
  border: solid 1px #d9d9d9;
  border-radius: 3px;
  background: #FFFFFF;
  padding-left: 20px;
  outline: none;
}
.courses_search_input.search_field { flex: 1 1 220px; min-width: 180px; }
.courses_search_input:focus { outline: solid 1px #14bdee; }
.courses_search_select {
  width: 200px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url(../images/down.png);
  background-position: center right;
  background-repeat: no-repeat;
  cursor: pointer;
}
.courses_search_button {
  height: 46px;
  padding: 0 28px;
  background: #14bdee;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  border: none;
  outline: none;
  border-radius: 3px;
  cursor: pointer;
}
.courses_page .courses_row { margin-top: 0; }
.courses_page .course_col { margin-bottom: 30px; }

.sidebar { width: 100%; padding-left: 40px; }
.sidebar_section:not(:last-child) { margin-bottom: 50px; }
.sidebar_section_title {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  font-weight: 700;
  color: #384158;
  line-height: 0.9;
}
.sidebar_categories { margin-top: 16px; }
.sidebar_categories ul li { position: relative; width: 100%; }
.sidebar_categories ul li:not(:last-of-type) { border-bottom: solid 1px #e5e5e5; }
.sidebar_categories ul li a {
  display: block;
  font-size: 14px;
  color: #76777a;
  line-height: 48px;
  cursor: pointer;
  transition: all 200ms ease;
}
.sidebar_categories ul li a::before {
  display: inline-block;
  font-family: 'FontAwesome';
  content: '\f101';
  margin-right: 6px;
  transition: all 200ms ease;
}
.sidebar_categories ul li a:hover,
.sidebar_categories ul li a.active,
.sidebar_categories ul li a:hover::before,
.sidebar_categories ul li a.active::before { color: #14bdee; }

.sidebar_latest { margin-top: 26px; }
.latest:not(:last-child) { margin-bottom: 20px; }
.latest_image div { width: 90px; height: 74px; border-radius: 3px; overflow: hidden; }
.latest_image div img { width: 100%; height: 100%; object-fit: cover; }
.latest_content { padding-left: 21px; margin-top: -4px; }
.latest_title a {
  font-family: 'Roboto Slab', serif;
  font-size: 15px;
  font-weight: 700;
  color: #383749;
  line-height: 1.5;
  transition: all 200ms ease;
}
.latest_title a:hover { color: #14bdee; }
.latest_price {
  font-family: 'Roboto Slab', serif;
  font-size: 14px;
  font-weight: 700;
  color: #14bdee;
  margin-top: 10px;
}

.sidebar_tags { margin-top: 24px; }
.tags_list li {
  display: inline-block;
  padding: 0 18px;
  background: #f2f4f5;
  border-radius: 3px;
  margin: 0 5px 10px 0;
  cursor: pointer;
  transition: all 200ms ease;
}
.tags_list li:hover { background: #14bdee; }
.tags_list li:hover a { color: #FFFFFF; }
.tags_list li a {
  display: block;
  font-size: 12px;
  color: #76777a;
  text-transform: uppercase;
  line-height: 30px;
  cursor: pointer;
  transition: all 200ms ease;
}

.sidebar_banner {
  width: 100%;
  min-height: 200px;
  padding: 30px;
  border-radius: 6px;
  overflow: hidden;
}
.sidebar_banner_background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.sidebar_banner_overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #14bdee;
  opacity: 0.82;
}
.sidebar_banner_content { position: relative; z-index: 2; }
.banner_title {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 18px;
}
.banner_button {
  width: 200px;
  max-width: 100%;
  height: 46px;
  background: #FFFFFF;
  border-radius: 3px;
  transition: all 200ms ease;
}
.banner_button:hover { box-shadow: 0 5px 30px rgba(0,0,0,0.25); }
.banner_button a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 46px;
  text-align: center;
  color: #14bdee;
}
.courses_empty { padding: 40px; text-align: center; color: #76777a; width: 100%; }

/* Butun kurs kartochkasi bosiladigan */
.course_clickable { cursor: pointer; }

@media (max-width: 991px) {
  .sidebar { padding-left: 0; margin-top: 50px; }
}

/* Open Tsul — Aqlli qidiruv (kurslar sahifasi) */
.smart_search_wrap { max-width: 760px; margin: 0 auto 44px; }
.smart_search_form { position: relative; }
.smart_search_box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #e3e6ec;
  border-radius: 30px;
  padding: 4px 6px 4px 18px;
  box-shadow: 0 2px 14px rgba(29,34,47,0.06);
  transition: all 200ms ease;
}
.smart_search_box:focus-within {
  border-color: #14bdee;
  box-shadow: 0 6px 24px rgba(20,189,238,0.18);
}
.smart_search_icon { color: #9aa0ab; display: flex; }
.smart_search_input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 12px 14px;
  background: transparent;
  color: #384158;
}
.smart_search_btn {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #14bdee;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: all 200ms ease;
}
.smart_search_btn:hover { background: #0fa9d6; box-shadow: 0 5px 18px rgba(20,189,238,0.4); }

.smart_suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(29,34,47,0.14);
  padding: 8px;
  z-index: 50;
  display: none;
  max-height: 70vh;
  overflow-y: auto;
}
.smart_suggest.open { display: block; animation: suggestIn 160ms ease; }
@keyframes suggestIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.suggest_row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #384158;
  transition: background 150ms ease;
}
.suggest_row:hover { background: #f2f4f5; }
.suggest_ic { color: #9aa0ab; display: flex; flex: 0 0 auto; }
.suggest_label {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.suggest_label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest_label small { font-size: 12px; font-weight: 400; color: #9aa0ab; }
.suggest_thumb { flex: 0 0 auto; width: 64px; height: 40px; border-radius: 6px; overflow: hidden; }
.suggest_thumb img { width: 100%; height: 100%; object-fit: cover; }

.course_filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.cfilter {
  height: 44px;
  padding: 0 38px 0 16px;
  min-width: 170px;
  border: 1.5px solid #e3e6ec;
  border-radius: 8px;
  background-color: #fff;
  color: #384158;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url(../images/down.png);
  background-repeat: no-repeat;
  background-position: center right 14px;
  transition: all 200ms ease;
}
.cfilter:hover, .cfilter:focus { border-color: #14bdee; }
.cfilter_reset {
  height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  background: #eef0f3;
  color: #5b6270;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
}
.cfilter_reset:hover { background: #e2e5ea; color: #384158; }

.cat_section_title {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  font-weight: 700;
  color: #384158;
  margin: 10px 0 24px;
}

.register_cta_full {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
  padding: 50px 40px;
  text-align: center;
}
.register_cta_bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center center;
}
.register_cta_overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #14bdee;
  opacity: 0.85;
}
.register_cta_content { position: relative; z-index: 2; }
.register_cta_title {
  font-family: 'Roboto Slab', serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.register_cta_text { color: #fff; opacity: .95; margin-bottom: 22px; }
.register_cta_btn {
  display: inline-block;
  background: #fff;
  color: #14bdee;
  font-weight: 600;
  padding: 13px 36px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font: inherit;
  transition: all 200ms ease;
}
.register_cta_btn:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.25); transform: translateY(-1px); }

/* Open Tsul — Professorlar sahifasi (Unicat "team" dizayni) */
.professors_page { width: 100%; padding-top: 60px; padding-bottom: 70px; }
.professors_page .section_title_container { margin-bottom: 10px; }
.prof_filter_tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 28px;
  margin-bottom: 6px;
}
.prof_filter_tabs button {
  font-size: 15px;
  font-weight: 600;
  color: #5b6270;
  padding: 6px 4px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  font-family: 'Roboto', sans-serif;
}
.prof_filter_tabs button.active { color: #384158; }
.prof_filter_tabs button.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 2px;
  background: #14bdee;
}
.team_item { position: relative; }
.team_item_link { cursor: pointer; }
/* Butun kartani qoplaydigan havola */
.team_card_link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
/* Ichki havolalar qoplama ustida bosiladigan bo'lib qoladi */
.team_item_link .team_title a,
.team_item_link .social_list { position: relative; z-index: 3; }
.team_item_link .team_body {
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.team_item_link:hover .team_body {
  box-shadow: 0px 12px 40px rgba(29,34,47,0.18);
  transform: translateY(-6px);
}
.team_item_link .team_image img { transition: transform 600ms ease; }
.team_item_link:hover .team_image img { transform: scale(1.06); }
.team_top {
  position: absolute;
  top: 0;
  right: 12px;
  z-index: 6;
  background: #14bdee;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(20,189,238,0.4);
}
.team_rating {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
}
.team_rating svg { color: #ffc80a; }
.team_rating_num { font-size: 13px; font-weight: 600; color: #76777a; }
.professors_empty { padding: 50px; text-align: center; color: #76777a; width: 100%; }

/* Open Tsul — Professor profili (single) sahifasi */
.professor_single { width: 100%; padding-top: 60px; padding-bottom: 80px; }
.prof_single_row { margin-bottom: 64px; }

/* Chap karta */
.prof_card {
  position: relative;
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0px 1px 10px rgba(29,34,47,0.1);
  padding: 30px 24px 32px;
  text-align: center;
  position: sticky;
  top: 24px;
}
.prof_card .prof_top_badge {
  position: absolute;
  top: 14px;
  right: 14px;
}
.prof_card_image {
  width: 180px;
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto 20px;
}
.prof_card_image img { width: 100%; height: 100%; object-fit: cover; }
.prof_card_name {
  font-family: 'Roboto Slab', serif;
  font-size: 21px;
  font-weight: 700;
  color: #384158;
}
.prof_card_role {
  font-size: 13px;
  color: #76777a;
  margin-top: 6px;
}
.prof_card_rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 16px;
  padding: 8px 16px;
  border: solid 1px #ffe2a1;
  background: #fff8e8;
  border-radius: 30px;
  line-height: 1;
}
.prof_card_rating svg { color: #ffc80a; }
.prof_card_rating_num { font-size: 13px; font-weight: 700; color: #76777a; margin-left: 6px; }
.prof_card_social { margin-top: 22px; }
.prof_card_social ul li { display: inline-block; }
.prof_card_social ul li:not(:last-child) { margin-right: 14px; }
.prof_card_social ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f2f4f5;
  color: #76777a;
  transition: all 200ms ease;
}
.prof_card_social ul li a:hover { background: #14bdee; color: #FFFFFF; }

/* O'ng ma'lumot */
.prof_info_name {
  font-family: 'Roboto Slab', serif;
  font-size: 30px;
  font-weight: 700;
  color: #384158;
  line-height: 1.2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.prof_top_inline {
  background: #14bdee;
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 3px;
}
.prof_info_position {
  font-size: 16px;
  font-weight: 500;
  color: #14bdee;
  margin-top: 8px;
}
.prof_info_bio {
  margin-top: 18px;
  line-height: 2;
  font-size: 15px;
  color: #76777a;
}
.prof_stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.prof_stat {
  flex: 1 1 120px;
  min-width: 110px;
  background: #f2f4f5;
  border-radius: 6px;
  padding: 18px 14px;
  text-align: center;
}
.prof_stat_num {
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  font-weight: 700;
  color: #384158;
}
.prof_stat_label {
  font-size: 11px;
  color: #76777a;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.prof_actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}
.prof_follow_btn {
  height: 46px;
  padding: 0 32px;
  background: #14bdee;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 200ms ease;
}
.prof_follow_btn:hover { box-shadow: 0 5px 20px rgba(20,189,238,0.45); }
.prof_follow_btn.following { background: #384158; }
.prof_follow_btn.following:hover { box-shadow: 0 5px 20px rgba(56,65,88,0.35); }
.prof_follow_btn i { margin-right: 6px; }
.prof_rate { display: flex; align-items: center; gap: 10px; }
.prof_rate_label { font-size: 14px; color: #76777a; }
.prof_rate_stars i {
  font-size: 20px;
  color: #d8dbe0;
  cursor: pointer;
  margin-right: 3px;
  transition: all 150ms ease;
}
.prof_rate_stars i.on { color: #ffc80a; }
.prof_rate_stars:hover i { color: #ffc80a; }
.prof_rate_stars i:hover ~ i { color: #d8dbe0; }

/* Video darsliklar bo'limi */
.prof_courses_head { margin-bottom: 6px; }
.prof_courses_title {
  font-family: 'Roboto Slab', serif;
  font-size: 26px;
  font-weight: 700;
  color: #384158;
  line-height: 1.1;
}
.prof_courses_subtitle { font-size: 14px; color: #76777a; margin-top: 8px; }
.prof_filter_tabs.tabs_left { justify-content: flex-start; margin-top: 22px; margin-bottom: 14px; }
.prof_courses { margin-top: 18px; }
.prof_courses .course_col { margin-bottom: 30px; }
.prof_courses_empty { padding: 50px; text-align: center; color: #76777a; width: 100%; }

@media (max-width: 991px) {
  .prof_card { position: static; margin-bottom: 40px; max-width: 360px; margin-left: auto; margin-right: auto; }
  .prof_info_name { font-size: 26px; }
}

/* Inline professor detali (professorlar.html ichida) */
.prof_detail_panel { width: 100%; margin-top: 40px; }
.prof_detail_inner {
  position: relative;
  background: #FFFFFF;
  border: solid 1px #edeff0;
  border-radius: 8px;
  box-shadow: 0px 10px 40px rgba(29,34,47,0.10);
  padding: 40px 30px 30px;
  animation: profDetailIn 280ms ease;
}
@keyframes profDetailIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.prof_detail_inner .prof_single_row { margin-bottom: 44px; }
.prof_detail_close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f2f4f5;
  color: #76777a;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  transition: all 200ms ease;
}
.prof_detail_close:hover { background: #14bdee; color: #FFFFFF; }

@media (max-width: 767px) {
  .prof_detail_inner { padding: 36px 16px 20px; }
}

/* ====== Open Tsul — Kurs (video) sahifasi ====== */
.kurs_single { width: 100%; padding-top: 50px; padding-bottom: 80px; }
.kurs_single_title {
  font-family: 'Roboto Slab', serif;
  font-size: 26px;
  font-weight: 700;
  color: #384158;
  margin-bottom: 24px;
  line-height: 1.3;
}
.kurs_top {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.kurs_player_col { flex: 1 1 50%; min-width: 0; display: flex; flex-direction: column; }
.kurs_media_stack {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.kurs_text_col {
  flex: 1 1 50%;
  min-width: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Video matni — o'qish rejimlari */
.kurs_lecture_reader {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(29, 34, 47, 0.05);
}
.kurs_lecture_zone-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9aa0ab;
}
.kurs_lecture_zone-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4f1fc, transparent);
}
.kurs_lecture_toolbar {
  flex-shrink: 0;
  padding: 12px 16px 10px;
  border-bottom: 1px solid #eceef2;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.kurs_lecture_toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.kurs_lecture_title {
  font-family: 'Roboto Slab', serif;
  font-size: 17px;
  font-weight: 700;
  color: #384158;
  margin: 0;
}
.kurs_lecture_toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.kurs_lecture_modes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.kurs_lecture_mode {
  padding: 5px 11px;
  border: 1px solid #e3e6ec;
  border-radius: 20px;
  background: #fff;
  color: #5b6270;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
}
.kurs_lecture_mode:hover {
  border-color: #b8e8f8;
  color: #14bdee;
}
.kurs_lecture_mode.active {
  background: #e8f7fd;
  border-color: #14bdee;
  color: #0a8fb5;
}
.kurs_lecture_expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid #d4f1fc;
  border-radius: 20px;
  background: #f0fbff;
  color: #14bdee;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 180ms ease;
}
.kurs_lecture_expand:hover {
  background: #14bdee;
  color: #fff;
  border-color: #14bdee;
}
.kurs_lecture_body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 20px 22px;
  scrollbar-width: thin;
  scrollbar-color: #d4f1fc transparent;
}
.kurs_lecture_body::-webkit-scrollbar { width: 6px; }
.kurs_lecture_body::-webkit-scrollbar-thumb {
  background: #d4f1fc;
  border-radius: 6px;
}
.kurs_lecture_body p {
  font-size: 14.5px;
  line-height: 1.85;
  color: #5b6270;
  margin: 0 0 14px;
}
.kurs_lecture_body p:last-child { margin-bottom: 0; }
.kurs_lecture_body--comfort p {
  font-size: 16px;
  line-height: 2;
  color: #4a5160;
}
.kurs_lecture_body--large p {
  font-size: 18px;
  line-height: 2.1;
  color: #384158;
}
.kurs_lecture_body--soft {
  background: #faf8f5;
}
.kurs_lecture_body--soft p {
  font-size: 16px;
  line-height: 2.05;
  color: #4a4540;
}
.kurs_lecture_empty {
  font-style: italic;
  color: #9aa0ab !important;
}

/* Katta oyna — to'liq o'qish */
.kurs_lecture_overlay {
  background: rgba(29, 34, 47, 0.55);
  backdrop-filter: blur(4px);
}
.kurs_lecture_fs {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.kurs_lecture_fs-course {
  margin: 0;
  padding: 14px 20px 0;
  font-size: 12px;
  font-weight: 600;
  color: #14bdee;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.kurs_lecture_fs-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.kurs_lecture_fs-scroll .kurs_lecture_body {
  max-height: none;
  padding: 8px 24px 28px;
}
.kurs_lecture_fs-close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f2f4f5;
  color: #76777a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 180ms ease;
}
.kurs_lecture_fs-close:hover {
  background: #14bdee;
  color: #fff;
}

.slide_viewer {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(29, 34, 47, 0.05);
}
.slide_viewer--series {
  margin-top: 14px;
  min-height: 420px;
}
.slide_viewer.is-fs {
  border-radius: 0;
  background: #111827;
}
.slide_viewer.is-fs .slide_toolbar {
  background: #1f2937;
  border-bottom-color: #374151;
}
.slide_viewer.is-fs .slide_title,
.slide_viewer.is-fs .slide_filename,
.slide_viewer.is-fs .slide_zoom_val,
.slide_viewer.is-fs .slide_page_label { color: #e5e7eb; }
.slide_viewer.is-fs .slide_stage { background: #111827; }
.slide_toolbar {
  flex-shrink: 0;
  padding: 12px 16px 10px;
  border-bottom: 1px solid #eceef2;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.slide_toolbar-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.slide_title {
  font-family: 'Roboto Slab', serif;
  font-size: 17px;
  font-weight: 700;
  color: #384158;
  margin: 0;
}
.slide_filename {
  font-size: 12px;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46%;
}
.slide_toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.slide_pager, .slide_zoom, .slide_actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.slide_icon_btn {
  width: 34px;
  height: 34px;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  background: #fff;
  color: #384158;
  cursor: pointer;
}
.slide_icon_btn:disabled { opacity: 0.4; cursor: default; }
.slide_icon_btn:hover:not(:disabled) { border-color: #14bdee; color: #14bdee; }
.slide_page_label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #4b5563;
}
.slide_page_input {
  width: 42px;
  height: 32px;
  text-align: center;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  font-size: 13px;
}
.slide_zoom_val {
  min-width: 44px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #384158;
}
.slide_chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #e4e8ef;
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: #384158;
  cursor: pointer;
}
.slide_chip.active, .slide_chip:hover { border-color: #14bdee; color: #0ea5d7; background: #f0fbff; }
.slide_stage {
  flex: 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  background: #eef1f6;
  padding: 12px;
}
.slide_canvas {
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
  background: #fff;
}
.slide_status {
  margin: 0;
  padding: 24px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}
.slide_status-error { color: #b45309; }
.slide_inline_link {
  border: none;
  background: none;
  color: #14bdee;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

/* Eski klass — boshqa joylarda ishlatilmasa ham saqlanadi */
.kurs_text_panel {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 10px;
  padding: 24px 26px;
}
.kurs_text_panel h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  font-weight: 700;
  color: #384158;
  margin-bottom: 14px;
}
.kurs_text_panel p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #76777a;
  margin: 0;
}

.kurs_player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 24px rgba(29,34,47,0.12);
}
.kurs_player iframe,
.kurs_player .player-fallback {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.kurs_player .player-fallback {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff; gap: 10px; background: #1d222f;
}
.kurs_player_facade {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: #1d222f;
  overflow: hidden;
}
.kurs_player_thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kurs_player_thumb--empty {
  background: linear-gradient(145deg, #1d222f 0%, #2a3142 100%);
}
.kurs_player_play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #14bdee;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 32px rgba(20, 189, 238, 0.45);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.kurs_player_facade:hover .kurs_player_play,
.kurs_player_facade:focus-visible .kurs_player_play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 12px 40px rgba(20, 189, 238, 0.55);
}
.kurs_player_play .fa-play {
  margin-left: 4px;
}

.kurs_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.kurs_act_prof { display: flex; align-items: center; gap: 10px; margin-right: auto; color: #384158; }
.kurs_act_prof b { font-size: 15px; }
.kurs_avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: #14bdee; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex: 0 0 auto;
}
.act_btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 16px;
  border: 1.5px solid #e3e6ec; border-radius: 30px;
  background: #fff; color: #5b6270;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 200ms ease;
}
.act_btn:hover { border-color: #14bdee; color: #14bdee; }
.act_btn.active { background: #14bdee; border-color: #14bdee; color: #fff; }

.kurs_section { margin-top: 60px; }
.kurs_section_title { font-family: 'Roboto Slab', serif; font-size: 22px; font-weight: 700; color: #384158; margin-bottom: 28px; }

/* Video tagida test CTA */
.kurs_quiz_cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f0fbff 0%, #fff 100%);
  border: 1.5px solid #d4f1fc;
  border-radius: 10px;
}
.kurs_quiz_cta_text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.kurs_quiz_cta_text strong {
  font-family: 'Roboto Slab', serif;
  font-size: 15px;
  color: #384158;
}
.kurs_quiz_cta_text span {
  font-size: 12.5px;
  color: #76777a;
}
.kurs_quiz_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 30px;
  background: #14bdee;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
  box-shadow: 0 4px 16px rgba(20, 189, 238, 0.35);
}
.kurs_quiz_btn:hover {
  background: #0fa9d6;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(20, 189, 238, 0.45);
}

/* ====== Test sahifasi ====== */
.quiz-page {
  flex: 1;
  width: 100%;
  padding-top: 0;
  padding-bottom: 80px;
}
.quiz-page-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 0 40px;
}
.quiz-page-inner--wide {
  max-width: 1160px;
}
.quiz-intro-card,
.quiz-result-card,
.quiz-loading-card,
.quiz-runner {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 6px 24px rgba(29, 34, 47, 0.06);
}
.quiz-intro-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(20, 189, 238, 0.12);
  color: #14bdee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
h1.quiz-intro-title,
h1.quiz-result-title,
.quiz-intro-title,
.quiz-result-title {
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  font-weight: 700;
  color: #384158;
  margin: 0 0 8px;
}
.quiz-intro-course {
  font-size: 14px;
  color: #76777a;
  margin: 0 0 20px;
}
.quiz-intro-rules {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}
.quiz-intro-rules li {
  font-size: 14px;
  color: #5b6270;
  padding: 10px 14px;
  background: #f8f9fb;
  border-radius: 8px;
}
.quiz-intro-rules strong { color: #14bdee; }
.quiz-intro-best {
  font-size: 14px;
  font-weight: 600;
  color: #5b6270;
  padding: 10px 14px;
  background: #f8f9fb;
  border-radius: 8px;
  margin-bottom: 16px;
}
.quiz-intro-best.passed {
  background: #e8f8ef;
  color: #1f9d55;
}
.quiz-intro-warn {
  color: #c0392b;
  font-size: 14px;
  margin-bottom: 16px;
}
.quiz-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}
.quiz-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  border: none;
}
.quiz-btn-primary {
  background: #14bdee;
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 189, 238, 0.3);
}
.quiz-btn-primary:hover:not(:disabled) {
  background: #0fa9d6;
}
.quiz-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.quiz-btn-ghost {
  background: #fff;
  color: #5b6270;
  border: 1.5px solid #e3e6ec;
}
.quiz-btn-ghost:hover {
  border-color: #14bdee;
  color: #14bdee;
}

.quiz-runner-top { margin-bottom: 24px; }
.quiz-runner-progress {
  height: 6px;
  background: #eef0f3;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}
.quiz-runner-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #14bdee, #0fa9d6);
  border-radius: 6px;
  transition: width 300ms ease;
}
.quiz-runner-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #76777a;
}
.quiz-runner-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  color: #384158;
}
.quiz-runner-timer[data-low='true'] { color: #e74c3c; }
.quiz-timer-ring {
  width: 28px;
  height: 28px;
  transform: rotate(-90deg);
}
.quiz-timer-bg {
  fill: none;
  stroke: #eef0f3;
  stroke-width: 3;
}
.quiz-timer-fg {
  fill: none;
  stroke: #14bdee;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  transition: stroke-dashoffset 1s linear;
}
.quiz-runner-timer[data-low='true'] .quiz-timer-fg { stroke: #e74c3c; }

.quiz-question-text {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 700;
  color: #384158;
  line-height: 1.45;
  margin: 0 0 24px;
}
.quiz-options {
  display: grid;
  gap: 12px;
}
.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: 1.5px solid #e3e6ec;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 200ms ease;
}
.quiz-option:hover:not(:disabled) {
  border-color: #14bdee;
  background: #f0fbff;
}
.quiz-option.selected {
  border-color: #14bdee;
  background: #e8f7fd;
  box-shadow: 0 0 0 1px #14bdee;
}
.quiz-option:disabled { cursor: wait; opacity: 0.7; }
.quiz-option-label {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef0f3;
  color: #384158;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-option.selected .quiz-option-label {
  background: #14bdee;
  color: #fff;
}
.quiz-option-text {
  font-size: 15px;
  line-height: 1.5;
  color: #384158;
  padding-top: 4px;
}

.quiz-loading-card {
  text-align: center;
  padding: 48px 28px;
}
/* .quiz-spinner stil: global-ui.css (ot-spinner bilan bir xil) */
.quiz-spinner {
  --ot-spinner-dim: 2.5rem;
  --ot-spinner-border: 4px;
  box-sizing: border-box;
  width: var(--ot-spinner-dim);
  height: var(--ot-spinner-dim);
  border: var(--ot-spinner-border) solid #14bdee;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: otSpin 1.5s infinite linear;
}
@keyframes otSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.quiz-result-card.passed { border-color: #b8e6cb; }
.quiz-result-card.failed { border-color: #f5c6cb; }
.quiz-result-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}
.quiz-result-card.passed .quiz-result-badge {
  background: #e8f8ef;
  color: #1f9d55;
}
.quiz-result-card.failed .quiz-result-badge {
  background: #fdecea;
  color: #e74c3c;
}
.quiz-result-score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.quiz-result-percent {
  font-family: 'Roboto Slab', serif;
  font-size: 42px;
  font-weight: 700;
  color: #14bdee;
  line-height: 1;
}
.quiz-result-fraction {
  font-size: 15px;
  color: #76777a;
}
.quiz-result-best {
  font-size: 14px;
  color: #1f9d55;
  font-weight: 600;
  margin-bottom: 20px;
}
.quiz-result-details {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  max-height: 420px;
  overflow-y: auto;
}
.quiz-result-item {
  padding: 14px 16px;
  border-radius: 8px;
  background: #f8f9fb;
  border-left: 4px solid #e3e6ec;
}
.quiz-result-item.ok { border-left-color: #1f9d55; }
.quiz-result-item.bad { border-left-color: #e74c3c; }
.quiz-result-item-head {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.quiz-result-item-head p {
  margin: 0;
  font-size: 14px;
  color: #384158;
  flex: 1;
}
.quiz-result-num {
  font-weight: 700;
  color: #76777a;
  font-size: 13px;
}
.quiz-result-mark {
  font-weight: 700;
  font-size: 14px;
}
.quiz-result-mark.ok { color: #1f9d55; }
.quiz-result-mark.bad { color: #e74c3c; }
.quiz-result-item-meta {
  font-size: 12.5px;
  color: #76777a;
  margin-top: 8px;
}
.quiz-result-expl {
  font-size: 12.5px;
  color: #5b6270;
  margin: 8px 0 0;
  line-height: 1.5;
}

/* ====== Test natijasi — ikki ustun ====== */
.quiz-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: start;
}
.quiz-result-left {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(29, 34, 47, 0.06);
  overflow: hidden;
  min-width: 0;
}
.quiz-result-left-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid #eceef2;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.quiz-result-left-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #14bdee;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.quiz-result-left-title {
  margin: 0 0 6px;
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 700;
  color: #384158;
}
.quiz-result-left-sub {
  margin: 0;
  font-size: 13px;
  color: #76777a;
}
.quiz-result-pill {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: #fdecea;
  color: #e74c3c;
}
.quiz-result-pill.ok {
  background: #e8f7fd;
  color: #0a8fb5;
}
.quiz-result-review-wrap {
  position: relative;
}
.quiz-result-review-list {
  display: grid;
  gap: 8px;
  padding: 14px 16px 18px;
  max-height: min(72vh, 720px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.quiz-result-review-list::-webkit-scrollbar {
  display: none;
}
.quiz-scroll-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 28px 0 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 45%, #fff 100%);
  pointer-events: none;
}
.quiz-scroll-hint-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f7fd;
  color: #14bdee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  animation: quiz-scroll-bounce 1.6s ease-in-out infinite;
}
.quiz-scroll-hint-text {
  font-size: 10px;
  font-weight: 600;
  color: #14bdee;
  letter-spacing: 0.02em;
}
@keyframes quiz-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(5px); opacity: 1; }
}
.quiz-review-card {
  border: 1px solid #eceef2;
  border-radius: 10px;
  padding: 11px 13px;
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.quiz-review-card.ok {
  border-left: 3px solid #14bdee;
  background: linear-gradient(90deg, #f5fcff 0%, #fff 24%);
}
.quiz-review-card.bad {
  border-left: 3px solid #e74c3c;
  background: linear-gradient(90deg, #fff8f7 0%, #fff 24%);
}
.quiz-review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.quiz-review-card-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef0f3;
  color: #384158;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quiz-review-card-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.quiz-review-card-status.ok {
  background: #e8f7fd;
  color: #0a8fb5;
}
.quiz-review-card-status.bad {
  background: #fdecea;
  color: #e74c3c;
}
.quiz-review-card-q {
  margin: 0 0 8px;
  font-family: 'Roboto Slab', serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #384158;
}
.quiz-review-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.quiz-answer-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #5b6270;
  background: #f3f5f8;
}
.quiz-answer-chip b { color: #384158; }
.quiz-answer-chip.ok { background: #e8f7fd; color: #0a8fb5; }
.quiz-answer-chip.ok b { color: #067a9c; }
.quiz-answer-chip.bad { background: #fdecea; }
.quiz-answer-chip.correct { background: #e8f7fd; color: #0a8fb5; }
.quiz-answer-chip.correct b { color: #067a9c; }
.quiz-review-card-expl {
  margin: 0;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f8f9fb;
  font-size: 11.5px;
  line-height: 1.5;
  color: #76777a;
}

.quiz-result-right {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 92px;
  min-width: 0;
}
.quiz-result-side-card {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 14px;
  padding: 20px 20px 18px;
  box-shadow: 0 8px 28px rgba(29, 34, 47, 0.06);
}
.quiz-result-side-card--hero {
  text-align: center;
  padding-top: 24px;
  background: linear-gradient(180deg, #f0fbff 0%, #fff 55%);
  border-color: #d4f1fc;
}
.quiz-result-layout.passed .quiz-result-side-card--hero,
.quiz-result-layout.failed .quiz-result-side-card--hero {
  background: linear-gradient(180deg, #f0fbff 0%, #fff 55%);
  border-color: #d4f1fc;
}
.quiz-result-side-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.quiz-result-side-icon.passed {
  background: #e8f7fd;
  color: #14bdee;
}
.quiz-result-side-icon.retry {
  background: #e8f7fd;
  color: #14bdee;
}
.quiz-result-side-title {
  margin: 0 0 10px;
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 700;
  color: #384158;
}
.quiz-result-side-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.quiz-result-side-percent {
  font-family: 'Roboto Slab', serif;
  font-size: 40px;
  font-weight: 700;
  color: #14bdee;
  line-height: 1;
}
.quiz-result-side-fraction {
  font-size: 14px;
  color: #76777a;
}
.quiz-result-side-best {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #0a8fb5;
}
.quiz-result-side-chart-title {
  margin: 0 0 12px;
  font-family: 'Roboto Slab', serif;
  font-size: 15px;
  font-weight: 700;
  color: #384158;
}
.quiz-chart-donut-wrap {
  position: relative;
  overflow: visible;
}
.quiz-chart-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.quiz-chart-donut-total {
  font-family: 'Roboto Slab', serif;
  font-size: 28px;
  font-weight: 700;
  color: #14bdee;
  line-height: 1;
}
.quiz-chart-donut-label {
  margin-top: 4px;
  font-size: 11px;
  color: #76777a;
  font-weight: 600;
}
.quiz-result-legend {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.quiz-result-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5b6270;
}
.quiz-result-legend li strong {
  margin-left: auto;
  color: #384158;
}
.quiz-result-legend-pct {
  font-weight: 500;
  color: #76777a;
  font-size: 12px;
}
.quiz-result-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.quiz-chart-tooltip {
  background: #1d222f;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  max-width: 220px;
  pointer-events: none;
}
.quiz-chart-tooltip--donut {
  white-space: nowrap;
}
.quiz-chart-tooltip-label {
  font-weight: 600;
  margin-bottom: 2px;
}
.quiz-chart-tooltip-value {
  color: #d4f1fc;
}
.quiz-qmap-desc {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #76777a;
}
.quiz-qmap-bar {
  display: flex;
  gap: 3px;
  height: 10px;
  border-radius: 6px;
  overflow: hidden;
  background: #eef0f3;
  margin-bottom: 14px;
}
.quiz-qmap-seg {
  flex: 1;
  min-width: 0;
  border-radius: 2px;
  transition: opacity 150ms ease;
}
.quiz-qmap-seg.ok { background: #14bdee; }
.quiz-qmap-seg.bad { background: #e74c3c; }
.quiz-qmap-seg.skip { background: #9aa0ab; }
.quiz-qmap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.quiz-qmap-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid #eceef2;
  background: #fafbfc;
  font-size: 11px;
  transition: border-color 150ms ease, background 150ms ease;
}
.quiz-qmap-cell.ok {
  background: #e8f7fd;
  border-color: #b8e8f8;
  color: #0a8fb5;
}
.quiz-qmap-cell.bad {
  background: #fdecea;
  border-color: #f5c6cb;
  color: #e74c3c;
}
.quiz-qmap-cell.skip {
  background: #f3f5f8;
  border-color: #dce0e6;
  color: #9aa0ab;
}
.quiz-qmap-num {
  font-weight: 700;
  font-size: 12px;
  color: #384158;
}
.quiz-qmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 12px;
  color: #5b6270;
}
.quiz-qmap-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
  font-style: normal;
}
.quiz-qmap-dot.ok { background: #14bdee; }
.quiz-qmap-dot.bad { background: #e74c3c; }
.quiz-qmap-dot.skip { background: #9aa0ab; }
.quiz-kpi-blue { color: #14bdee !important; }
.quiz-kpi-red { color: #e74c3c !important; }
.quiz-result-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.quiz-result-kpi {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(29, 34, 47, 0.04);
}
.quiz-result-kpi-label {
  display: block;
  font-size: 11px;
  color: #76777a;
  margin-bottom: 4px;
}
.quiz-result-kpi strong {
  font-size: 18px;
  color: #384158;
}
.quiz-result-side-actions {
  display: grid;
  gap: 10px;
}
.quiz-btn-block {
  width: 100%;
  justify-content: center;
}

/* Sozlamalar — test progress */
.settings_card_title {
  font-family: 'Roboto Slab', serif;
  font-size: 17px;
  font-weight: 700;
  color: #384158;
  margin: 0 0 16px;
}
.quiz-progress-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.quiz-progress-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #eceef2;
  border-radius: 8px;
  background: #fafbfc;
}
.quiz-progress-item.passed {
  border-color: #b8e6cb;
  background: #f6fdf9;
}
.quiz-progress-title {
  font-weight: 600;
  font-size: 14px;
  color: #384158;
  text-decoration: none;
}
.quiz-progress-title:hover { color: #14bdee; }
.quiz-progress-meta {
  display: block;
  font-size: 12px;
  color: #76777a;
  margin-top: 2px;
}
.quiz-progress-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.quiz-progress-score strong {
  font-size: 18px;
  color: #14bdee;
}
.quiz-progress-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: #eef0f3;
  color: #76777a;
}
.quiz-progress-badge.ok {
  background: #e8f7fd;
  color: #0a8fb5;
}

/* Test — davom ettirish */
.quiz-resume-banner {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e8f7fd;
  color: #0a8fb5;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.quiz-intro-resume-hint {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f0fbff;
  border: 1px solid #d4f1fc;
  color: #0a8fb5;
  font-size: 13px;
}

/* Sozlamalar — Mening natijalarim */
.settings_card--wide { max-width: 100%; }
.quiz-my-sub { margin: -8px 0 20px; font-size: 14px; }
.quiz-my-results { display: grid; gap: 14px; }

/* Boshlagan kurslarim */
.started-courses { display: grid; gap: 16px; }
.started-courses-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.started-courses-stat {
  background: #f7f9fc;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.started-courses-stat strong {
  display: block;
  font-size: 22px;
  font-family: 'Roboto Slab', serif;
  color: #384158;
  line-height: 1.1;
}
.started-courses-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #76777a;
}
.started-courses-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.started-courses-filters button {
  border: 1px solid #e3e6ec;
  background: #fff;
  color: #5b6270;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.started-courses-filters button.active {
  background: #e8f7fd;
  border-color: #b8e8f8;
  color: #0b8fb3;
}
.started-courses-list { display: grid; gap: 14px; }
.started-course-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 16px;
  border: 1px solid #eceef2;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 6px 22px rgba(29, 34, 47, 0.05);
}
.started-course-card.done {
  border-color: #c8ebd9;
  background: linear-gradient(180deg, #f7fcf9 0%, #fff 70%);
}
.started-course-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #eef0f3;
}
.started-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.started-course-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(20,189,238,0.95);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.started-course-badge.ok { background: rgba(34,160,107,0.95); }
.started-course-title {
  margin: 0 0 4px;
  font-family: 'Roboto Slab', serif;
  font-size: 17px;
  font-weight: 700;
  color: #384158;
  line-height: 1.35;
}
.started-course-meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: #76777a;
}
.started-course-meta a {
  color: #14bdee;
  font-weight: 600;
  text-decoration: none;
}
.started-course-meta a:hover { text-decoration: underline; }
.started-course-stop {
  margin: 0 0 10px;
  font-size: 13px;
  color: #5b6270;
  line-height: 1.45;
}
.started-course-track {
  height: 5px;
  border-radius: 999px;
  background: #e8edf3;
  overflow: hidden;
  margin-bottom: 12px;
}
.started-course-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14bdee, #0ea5c9);
}
.started-course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.started-course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.started-course-actions .kurs_quiz_btn.outline {
  background: #fff;
  color: #384158;
  border: 1.5px solid #e3e6ec;
}
.started-course-actions .kurs_quiz_btn.outline:hover {
  background: #f3f4f7;
}
.started-course-time {
  font-size: 12px;
  color: #9aa0ab;
}
@media (max-width: 720px) {
  .started-course-card {
    grid-template-columns: 1fr;
  }
  .started-course-thumb {
    max-width: 280px;
  }
  .started-courses-stats {
    grid-template-columns: 1fr;
  }
  .account_settings_tabs {
    gap: 14px 18px;
  }
}

.quiz-my-intro {
  margin: 0 0 4px;
  font-size: 13px;
  color: #76777a;
}
.quiz-my-loading,
.quiz-my-empty {
  text-align: center;
  padding: 32px 20px;
}
.quiz-my-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e8f7fd;
  color: #14bdee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.quiz-my-empty h3 {
  margin: 0 0 8px;
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  color: #384158;
}
.quiz-my-empty p {
  margin: 0 0 18px;
  color: #76777a;
  font-size: 14px;
}
.quiz-btn-sm {
  padding: 8px 14px !important;
  font-size: 13px !important;
}
.quiz-my-course {
  border: 1px solid #eceef2;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(29, 34, 47, 0.05);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.quiz-my-course.open {
  border-color: #b8e8f8;
  box-shadow: 0 10px 32px rgba(20, 189, 238, 0.1);
}
.quiz-my-course-head {
  width: 100%;
  display: grid;
  grid-template-columns: 108px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: none;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.quiz-my-course-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #eef0f3;
}
.quiz-my-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.quiz-my-course-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 34, 47, 0.28);
  color: #fff;
  font-size: 18px;
  opacity: 0;
  transition: opacity 200ms ease;
}
.quiz-my-course-head:hover .quiz-my-course-play { opacity: 1; }
.quiz-my-course-title {
  margin: 0 0 4px;
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  font-weight: 700;
  color: #384158;
  line-height: 1.35;
}
.quiz-my-course-prof {
  margin: 0 0 4px;
  font-size: 13px;
}
.quiz-my-course-prof a {
  color: #14bdee;
  text-decoration: none;
  font-weight: 600;
}
.quiz-my-course-prof a:hover { text-decoration: underline; }
.quiz-my-course-meta {
  font-size: 12px;
  color: #76777a;
}
.quiz-my-course-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 72px;
}
.quiz-my-course-percent {
  font-family: 'Roboto Slab', serif;
  font-size: 26px;
  font-weight: 700;
  color: #14bdee;
  line-height: 1;
}
.quiz-my-course-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: #eef0f3;
  color: #76777a;
}
.quiz-my-course-badge.ok {
  background: #e8f7fd;
  color: #0a8fb5;
}
.quiz-my-course-chevron {
  color: #9aa0ab;
  font-size: 14px;
  transition: transform 250ms ease;
}
.quiz-my-course.open .quiz-my-course-chevron { transform: rotate(180deg); color: #14bdee; }
.quiz-my-course-body {
  padding: 0 16px 16px;
  border-top: 1px solid #eceef2;
  animation: quiz-acc-open 220ms ease;
}
@keyframes quiz-acc-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-my-course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0 12px;
}
.quiz-my-attempts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.quiz-my-attempt {
  border: 1px solid #eceef2;
  border-radius: 10px;
  overflow: hidden;
  background: #fafbfc;
}
.quiz-my-attempt.open {
  border-color: #d4f1fc;
  background: #fff;
}
.quiz-my-attempt-head {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr auto auto auto 20px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.quiz-my-attempt-num {
  font-weight: 700;
  font-size: 13px;
  color: #384158;
}
.quiz-my-attempt-date {
  font-size: 12px;
  color: #76777a;
}
.quiz-my-attempt-pct {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 16px;
  color: #14bdee;
}
.quiz-my-attempt-pct.ok { color: #0a8fb5; }
.quiz-my-attempt-fr {
  font-size: 12px;
  color: #5b6270;
}
.quiz-my-attempt-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}
.quiz-my-attempt-status.ok {
  background: #e8f7fd;
  color: #0a8fb5;
}
.quiz-my-attempt-status.bad {
  background: #fdecea;
  color: #e74c3c;
}
.quiz-my-attempt-chevron {
  font-size: 11px;
  color: #9aa0ab;
  transition: transform 200ms ease;
}
.quiz-my-attempt.open .quiz-my-attempt-chevron {
  transform: rotate(180deg);
  color: #14bdee;
}
.quiz-my-attempt-body {
  padding: 0 12px 14px;
  border-top: 1px dashed #eceef2;
}
.quiz-my-attempt-detail {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding-top: 14px;
  align-items: center;
}
.quiz-my-mini-chart {
  position: relative;
  height: 120px;
}
.quiz-my-mini-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.quiz-my-mini-center strong {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  color: #14bdee;
  line-height: 1;
}
.quiz-my-mini-center span {
  margin-top: 2px;
  font-size: 11px;
  color: #76777a;
}
.quiz-my-attempt-breakdown-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #384158;
}
.quiz-my-seg-bar { margin-bottom: 10px; }

@media (max-width: 767px) {
  .quiz-my-course-head {
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto auto;
  }
  .quiz-my-course-score,
  .quiz-my-course-chevron {
    grid-column: 2;
  }
  .quiz-my-course-score {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }
  .quiz-my-attempt-head {
    grid-template-columns: 36px 1fr auto;
    grid-template-rows: auto auto;
  }
  .quiz-my-attempt-fr,
  .quiz-my-attempt-status { grid-column: 2; }
  .quiz-my-attempt-chevron { grid-row: 1 / span 2; grid-column: 3; }
  .quiz-my-attempt-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .quiz-result-layout {
    grid-template-columns: 1fr;
  }
  .quiz-result-right {
    position: static;
    order: -1;
  }
  .quiz-result-review-list {
    max-height: none;
  }
}

@media (max-width: 767px) {
  .kurs_quiz_cta {
    flex-direction: column;
    align-items: stretch;
  }
  .kurs_quiz_btn { justify-content: center; }
  .quiz-page-inner--wide {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  .quiz-intro-card,
  .quiz-result-card,
  .quiz-runner {
    padding: 24px 18px;
  }
  .quiz-result-left-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .quiz-question-text { font-size: 17px; }
}

@media (max-width: 991px) {
  .kurs_top { flex-direction: column; align-items: stretch; }
  .kurs_text_col { max-width: none; width: 100%; overflow: visible; }
  .kurs_text_panel { position: static; max-height: none; }
  .kurs_lecture_reader {
    min-height: 280px;
    max-height: min(55vh, 520px);
  }
  .slide_viewer--series { min-height: 320px; }
  .slide_toolbar-row { gap: 8px; }
  .slide_chip span, .slide_chip { font-size: 12px; }
  .kurs_lecture_zone-label { display: none; }
}

/* Toast (umumiy) */
.toast {
  position: fixed; left: 50%; bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: #1d222f; color: #fff;
  padding: 12px 22px; border-radius: 8px;
  font-size: 14px; z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: all 250ms ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Modal (umumiy) */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(29,34,47,0.55);
  display: none; align-items: center; justify-content: center;
  z-index: 9998; padding: 20px;
}
.modal-overlay.open { display: flex; animation: suggestIn 180ms ease; }
.modal-overlay .modal { background: #fff; border-radius: 12px; padding: 28px; width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal-overlay .modal h3 { font-family: 'Roboto Slab', serif; color: #384158; }
.modal-overlay .modal .field { margin-bottom: 6px; }
.modal-overlay .modal label { font-size: 13px; color: #76777a; }
.share_row { display: flex; gap: 8px; margin-top: 6px; }
.share_row input { flex: 1; height: 40px; border: 1.5px solid #e3e6ec; border-radius: 8px; padding: 0 12px; font-size: 13px; outline: none; }
.share_row input:focus { border-color: #14bdee; }
.share_check { display: flex; align-items: center; gap: 8px; margin: 14px 0 18px; font-size: 13px; color: #76777a; cursor: pointer; }
.modal_actions { display: flex; justify-content: flex-end; gap: 8px; }
.modal_btn { height: 40px; padding: 0 18px; border: none; border-radius: 8px; background: #14bdee; color: #fff; font-weight: 600; cursor: pointer; transition: all 200ms ease; }
.modal_btn:hover { background: #0fa9d6; }
.modal_btn.secondary { background: #eef0f3; color: #5b6270; }
.modal_btn.secondary:hover { background: #e2e5ea; }

/* Portal modallar — Open Tsul brend (yorug' fon, #14bdee aksent) */
.app-modal-root {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(56, 65, 88, 0.48);
  backdrop-filter: blur(4px);
}
.app-modal-root > .app-modal-panel {
  display: block;
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e3e6ec;
  border-top: 3px solid var(--brand);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(56, 65, 88, 0.18), 0 0 0 1px rgba(20, 189, 238, 0.06);
}
.app-modal-root > .app-modal-panel h3 {
  font-family: 'Roboto Slab', serif;
  color: var(--text);
  font-size: 20px;
  margin: 0 0 8px;
}
.app-modal-root > .app-modal-panel p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
}
.app-modal-panel textarea {
  width: 100%;
  min-height: 100px;
  border: 1.5px solid #e3e6ec;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  resize: vertical;
  outline: none;
  transition: border-color 150ms ease;
}
.app-modal-panel textarea:focus {
  border-color: var(--brand);
}
.app-modal-panel textarea::placeholder {
  color: #9aa0ab;
}
.app-modal-panel .yt-fb-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.app-modal-panel .yt-fb-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #f3f4f7;
  color: #5b6270;
  border: 1.5px solid transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease;
  font-family: inherit;
}
.app-modal-panel .yt-fb-type:hover {
  background: #eef0f3;
  color: var(--text);
}
.app-modal-panel .yt-fb-type.active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}
.app-modal-panel .yt-modal-link {
  display: block;
  margin: 4px 0 16px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.app-modal-panel .yt-modal-link:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}
.app-modal-panel .yt-modal-close {
  margin-top: 4px;
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: #eef0f3;
  color: #5b6270;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background 150ms ease;
}
.app-modal-panel .yt-modal-close:hover {
  background: #e2e5ea;
  color: var(--text);
}
.app-modal-panel .yt-modal-close.primary {
  background: var(--brand);
  color: #fff;
}
.app-modal-panel .yt-modal-close.primary:hover {
  background: var(--brand-hover);
  color: #fff;
}
.app-modal-panel--danger {
  border-top-color: #e53935;
  text-align: center;
}
.app-modal-panel--danger h3,
.app-modal-panel--danger p {
  text-align: center;
}
.app-modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.app-modal-icon.danger {
  background: rgba(229, 57, 53, 0.12);
  color: #e53935;
}
.app-modal-panel--soon {
  text-align: center;
}
.app-modal-panel--soon h3,
.app-modal-panel--soon p {
  text-align: center;
}
.app-modal-icon.soon {
  background: var(--brand-soft);
  color: var(--brand);
}
.app-modal-panel--soon .yt-modal-close.primary {
  width: 100%;
  margin-top: 4px;
}
.app-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.app-modal-actions .yt-modal-close {
  flex: 1;
  margin-top: 0;
  width: auto;
}
.app-modal-panel .yt-modal-close.danger {
  background: #e53935;
  color: #fff;
}
.app-modal-panel .yt-modal-close.danger:hover {
  background: #c62828;
  color: #fff;
}
/* Eski modal-overlay (Bootstrap .modal display:none ni bekor qilish) */
.modal-overlay.open > .modal {
  display: block !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  max-width: 440px !important;
  height: auto !important;
  overflow: visible !important;
  z-index: auto !important;
  margin: 0 !important;
}
.modal-overlay.yt-modal .modal.yt-modal-box {
  background: #282828;
  color: #f1f1f1;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.modal-overlay.yt-modal .modal.yt-modal-box h3 {
  color: #f1f1f1;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
}
.modal-overlay.yt-modal .modal.yt-modal-box p {
  color: #aaa;
}

/* Foydalanuvchi profil sahifasi (/profil) */
.account_settings_page {
  width: 100%;
  padding-top: 60px;
  padding-bottom: 70px;
}
.account_settings_page .section_title_container { margin-bottom: 10px; }
.account_settings_tabs { margin-bottom: 36px; }
.account_settings_body {
  max-width: 640px;
  margin: 0 auto;
}
.account_settings_body--wide {
  max-width: 980px;
}
.settings_panel { width: 100%; }
.settings_card {
  background: #fff; border: 1px solid #e3e6ec; border-radius: 12px;
  padding: 28px; box-shadow: 0 6px 24px rgba(56,65,88,0.06);
}
.settings_card + .settings_card { margin-top: 16px; }
.settings_avatar_row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eef0f3;
}
.settings_avatar_row .settings_avatar_hint {
  flex: 1;
  margin: 0;
}
.settings_avatar_btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 14px;
  line-height: 0;
}
.settings_avatar_btn:hover .avatar.lg {
  box-shadow: 0 0 0 3px rgba(20, 189, 238, 0.35);
}
.settings_avatar_actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.settings_avatar_hint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  max-width: 280px;
}
.settings_field { margin-bottom: 18px; }
.settings_field label {
  display: block; font-size: 13px; font-weight: 600; color: #76777a; margin-bottom: 7px;
}
.settings_field input {
  width: 100%; height: 44px; border: 1.5px solid #e3e6ec; border-radius: 8px;
  padding: 0 14px; font-size: 14px; color: #384158; outline: none; background: #fff;
}
.settings_field input:focus { border-color: #14bdee; }
.settings_field input[readonly] { background: #f7f8fa; color: #76777a; }
.settings_row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid #eef0f3;
}
.settings_row:last-child { border-bottom: none; padding-bottom: 0; }
.settings_row b { display: block; font-size: 15px; color: #384158; margin-bottom: 4px; }
.settings_row .muted { font-size: 13px; color: #76777a; line-height: 1.45; }
.settings_toggle {
  position: relative; width: 44px; height: 24px; border-radius: 12px;
  background: #d8dce3; border: none; flex-shrink: 0; cursor: pointer;
}
.settings_toggle.on { background: #14bdee; }
.settings_toggle .knob {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: transform .15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.settings_toggle.on .knob { transform: translateX(20px); }
.settings_btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border: none; border-radius: 8px;
  background: #14bdee; color: #fff; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: background 200ms ease;
}
.settings_btn:hover { background: #0fa9d6; }
.settings_btn.outline {
  background: #fff; color: #76777a; border: 1.5px solid #e3e6ec;
}
.settings_btn.outline:hover { background: #f3f4f7; color: #384158; }
.settings_btn.danger {
  background: #e53935;
  color: #fff;
  gap: 8px;
}
.settings_btn.danger:hover { background: #c62828; }
.settings_logout_wrap {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eef0f3;
}
.settings_logout_wrap .settings_btn {
  width: 100%;
}
.settings_actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.settings_empty {
  text-align: center; padding: 48px 20px; color: #76777a; font-size: 15px;
}
.settings_info_box {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(20, 189, 238, 0.08);
  border: 1px solid rgba(20, 189, 238, 0.2);
  font-size: 14px;
  line-height: 1.55;
  color: #5b6270;
}
.settings_info_box a { color: #14bdee; font-weight: 600; }
.settings_card + .settings_card { margin-top: 16px; }
.settings_card_muted {
  padding: 20px 28px;
  background: #f7f8fa;
}
.settings_google_note {
  margin: 0;
  font-size: 14px;
  color: #76777a;
  line-height: 1.55;
}
.settings_quick_links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.settings_quick_link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(56, 65, 88, 0.06);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.settings_quick_link:hover {
  border-color: rgba(20, 189, 238, 0.4);
  box-shadow: 0 8px 28px rgba(56, 65, 88, 0.1);
}
.settings_quick_link i {
  font-size: 20px;
  color: #14bdee;
  width: 24px;
  text-align: center;
}
.settings_quick_link b {
  display: block;
  font-size: 15px;
  color: #384158;
  margin-bottom: 2px;
}
.settings_quick_link small {
  display: block;
  font-size: 13px;
  color: #76777a;
}
.settings_btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ===== Header: qidiruv tugmasi (native button border tozalandi) ===== */
.main_nav_contaner .search_button {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  line-height: 1;
}

/* Top bar: chap (savol + tel) / o'ng (email + kirgan user email) muvozanat */
.top_bar_content.justify-content-between { justify-content: space-between; }
.top_bar_right { gap: 22px; }
.top_bar_contact_right li { margin-right: 0 !important; }
.top_bar_login .login_button {
  width: auto;
  min-width: 0;
  padding: 0 18px;
  text-align: right;
}
.top_bar_login .login_button a { white-space: nowrap; }

/* Header'da ro'yxatdan o'tish tugmasi (faqat kirmagan userlar uchun) */
.nav_register_btn {
  display: inline-block;
  margin-left: 28px;
  padding: 9px 20px;
  border-radius: 22px;
  background: #14bdee;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 200ms ease;
}
.nav_register_btn:hover { background: #0fa9d6; color: #fff; box-shadow: 0 5px 16px rgba(20,189,238,0.35); }

/* suggest_row <button> reset (header + hero uchun) */
.smart_suggest .suggest_row {
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

/* ===== Header aqlli qidiruv (blue bar + mobil menyu) ===== */
.header_search_container.active { z-index: 60; }
.header_search_content .header_smart_form { width: 60%; max-width: 560px; position: relative; }
.header_search_content .smart_search_box {
  display: flex;
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 30px;
  padding: 4px 6px 4px 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}
.header_search_content .smart_search_icon { color: #9aa0ab; display: flex; }
.header_search_content .smart_search_input {
  flex: 1; border: none; outline: none; font-size: 15px;
  padding: 12px 14px; background: transparent; color: #384158;
}
.header_search_content .smart_search_btn {
  width: 46px; height: 46px; border: none; border-radius: 50%;
  background: #14bdee; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.header_search_content .smart_search_btn:hover { background: #0fa9d6; }
.header_search_content .smart_suggest { text-align: left; }

/* Mobil menyu ichidagi aqlli qidiruv */
.menu_search_smart { width: 100%; padding: 0 8px; }
.menu_search_smart .smart_search_form { position: relative; width: 100%; }
.menu_search_smart .smart_search_box {
  display: flex; align-items: center; background: #fff;
  border: 1.5px solid #e3e6ec; border-radius: 30px; padding: 2px 4px 2px 16px;
}
.menu_search_smart .smart_search_icon { color: #9aa0ab; display: flex; }
.menu_search_smart .smart_search_input {
  flex: 1; border: none; outline: none; font-size: 15px;
  padding: 10px 12px; background: transparent; color: #384158;
}
.menu_search_smart .smart_search_btn {
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: #14bdee; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.menu_search_smart .smart_suggest { text-align: left; }

/* ===== Bosh sahifa hero aqlli qidiruv — ko'k shisha input ===== */
/* Asl (karuselsiz) holat — Unicat: cover + past markaz */
.home_slider_background {
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Hero multi-slide Swiper fade */
.home-hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
/* Bootstrap kelguncha / cache yo'q: neytral fon — asl default rasm flash yo'q */
.home-hero-bg-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(145deg, #1e2a3a 0%, #2c3e50 55%, #1a2332 100%);
  pointer-events: none;
}
.home-hero-classic-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}
.home-hero-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.home-hero-swiper .swiper-slide {
  height: 100%;
  pointer-events: none;
}
/* Silliq crossfade: bir rasm hiralashib yo'qoladi, keyingisi paydo bo'ladi */
.home-hero-swiper.swiper-fade .swiper-slide {
  transition-property: opacity !important;
  transition-timing-function: cubic-bezier(0.45, 0, 0.2, 1) !important;
}
.home-hero-swiper.swiper-fade .swiper-slide-active {
  pointer-events: auto;
}
.home-hero-swiper .home_slider_background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Slide fon: asosiy kadr + chet strip — FAQAT karusel (2+ rasm) */
.home-hero-carousel.is-multi .home-hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
/* Chap/o'ng: rasm chetidan yupqa stripni gorizontal cho'zish (blur yo'q, markaz zarar ko'rmaydi) */
.home-hero-carousel.is-multi .home-hero-slide-edge {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.home-hero-carousel.is-multi .home-hero-slide-edge--left {
  left: 0;
}
.home-hero-carousel.is-multi .home-hero-slide-edge--right {
  right: 0;
}
.home-hero-carousel.is-multi .home-hero-slide-edge-strip {
  position: absolute;
  top: 0;
  bottom: 0;
  /* Bir oz kengroq strip — yumshoq fonlarda chiziq/stripe kamroq seziladi */
  width: 24px;
  background-size: cover;
  background-repeat: no-repeat;
  transform-origin: center center;
}
.home-hero-carousel.is-multi .home-hero-slide-edge--left .home-hero-slide-edge-strip {
  left: 0;
  transform-origin: left center;
  /* ~50vw / 24px — ultra-wide uchun zaxira */
  transform: scaleX(120);
}
.home-hero-carousel.is-multi .home-hero-slide-edge--right .home-hero-slide-edge-strip {
  right: 0;
  transform-origin: right center;
  transform: scaleX(120);
}
.home-hero-carousel.is-multi .home-hero-slide-main {
  z-index: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/*
  Ultra-wide — faqat karusel rejimida (≥2400px):
  markaz o'z o'lchamida, yonlar faqat chet strip bilan to'ldiriladi
*/
@media (min-width: 2400px) {
  .home-hero-carousel.is-multi .home-hero-slide-edge {
    display: block;
  }
  .home-hero-carousel.is-multi .home-hero-slide-main {
    left: 50% !important;
    right: auto !important;
    width: min(100%, calc(850px * 1920 / 680)) !important;
    transform: translateX(-50%);
  }
}

.home-hero-carousel .home_slider_content {
  z-index: 2;
  pointer-events: none;
}
.home-hero-carousel .home_slider_form_container,
.home-hero-carousel .home_search_form,
.home-hero-carousel .home_slider_title,
.home-hero-carousel .home_slider_subtitle {
  pointer-events: auto;
}
.home-hero-swiper .swiper-pagination {
  bottom: 28px !important;
  z-index: 3;
}
.home-hero-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}
.home-hero-swiper .swiper-pagination-bullet-active {
  background: #14bdee;
  transform: scale(1.15);
}

.home_slider_title {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.home_slider_subtitle {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.home_slider_form_container {
  overflow: visible;
}

.home_search_form.hero-search-orb-form {
  width: 100%;
  display: flex;
  justify-content: center;
  background: transparent !important;
  overflow: visible;
}

.home_search_form.hero-search-orb-form .search-orb-container {
  position: relative;
  width: min(720px, 100%);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}

.home_search_form.hero-search-orb-form .input-overlay {
  position: relative;
  z-index: 10;
  width: 100% !important;
  height: 52px !important;
  /* brend cyan shisha — biroz to'qroq ko'k */
  background: rgba(20, 189, 238, 0.42) !important;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(20, 189, 238, 0.55);
  border-radius: 26px !important;
  display: flex;
  align-items: center;
  padding: 0 6px 0 18px;
  gap: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(20, 189, 238, 0.15),
    0 10px 28px rgba(20, 189, 238, 0.28);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  box-sizing: border-box;
}

.home_search_form.hero-search-orb-form .modern-input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  width: 100% !important;
  min-width: 0;
  flex: 1 1 auto;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  padding-left: 10px;
  padding-right: 0;
  letter-spacing: 0.02em;
  height: 100% !important;
  line-height: normal;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.home_search_form.hero-search-orb-form .modern-input::-webkit-search-decoration,
.home_search_form.hero-search-orb-form .modern-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.home_search_form.hero-search-orb-form .modern-input::placeholder {
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 400 !important;
  font-size: 15px !important;
}

.home_search_form.hero-search-orb-form .search-icon-wrapper {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  opacity: 0.95;
}

.home_search_form.hero-search-orb-form .search-icon {
  width: 18px;
  height: 18px;
}

.home_search_form.hero-search-orb-form .search-deco {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 128px !important;
  max-width: none !important;
  height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow:
    0 1px 2px rgba(29, 34, 47, 0.08),
    inset 0 0 0 1px rgba(20, 189, 238, 0.1);
  pointer-events: none;
  user-select: none;
  box-sizing: border-box !important;
  overflow: hidden;
  transition:
    width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    background 0.35s ease;
}

.home_search_form.hero-search-orb-form .search-deco-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.home_search_form.hero-search-orb-form .search-deco-full,
.home_search_form.hero-search-orb-form .search-deco-mark {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.home_search_form.hero-search-orb-form .search-deco-full {
  width: auto !important;
  height: 28px !important;
  max-width: 112px !important;
  left: 8px;
  right: 8px;
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
}

.home_search_form.hero-search-orb-form .search-deco-mark {
  width: 26px !important;
  height: 26px !important;
  opacity: 0;
  transform: scale(0.55) rotate(-28deg);
  filter: blur(2px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    filter 0.4s ease 0.05s;
}

/* Yozish boshlanganda — to'liq logo O markga aylanadi */
.home_search_form.hero-search-orb-form .search-deco.is-compact {
  width: 40px !important;
  border-radius: 50% !important;
  box-shadow:
    0 2px 10px rgba(20, 189, 238, 0.22),
    inset 0 0 0 1px rgba(20, 189, 238, 0.18);
}

.home_search_form.hero-search-orb-form .search-deco.is-compact .search-deco-full {
  opacity: 0;
  transform: translateX(14px) scale(0.72);
  filter: blur(3px);
  transition-delay: 0s;
}

.home_search_form.hero-search-orb-form .search-deco.is-compact .search-deco-mark {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .home_search_form.hero-search-orb-form .search-deco,
  .home_search_form.hero-search-orb-form .search-deco-full,
  .home_search_form.hero-search-orb-form .search-deco-mark {
    transition: none !important;
  }
}

.home_search_form.hero-search-orb-form .search-orb-container:focus-within .input-overlay {
  transform: translateY(-3px);
  background: rgba(20, 189, 238, 0.52) !important;
  border-color: rgba(20, 189, 238, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 16px 36px rgba(20, 189, 238, 0.36);
}

.home_search_form.hero-search-orb-form .smart_suggest.hero_suggest {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  z-index: 30;
  background: #fff !important;
  border-radius: 16px !important;
  text-align: left;
  box-shadow: 0 18px 50px rgba(29, 34, 47, 0.18);
}

@media (max-width: 575px) {
  .home_search_form.hero-search-orb-form .search-orb-container {
    width: 100% !important;
    height: 52px !important;
  }
  .home_search_form.hero-search-orb-form .input-overlay {
    height: 48px !important;
    padding: 0 5px 0 14px;
    gap: 2px;
  }
  .home_search_form.hero-search-orb-form .modern-input {
    font-size: 14px;
  }
  .home_search_form.hero-search-orb-form .modern-input::placeholder {
    font-size: 14px !important;
  }
  .home_search_form.hero-search-orb-form .search-deco {
    width: 108px !important;
    height: 36px !important;
    border-radius: 18px !important;
  }
  .home_search_form.hero-search-orb-form .search-deco.is-compact {
    width: 36px !important;
  }
  .home_search_form.hero-search-orb-form .search-deco-full {
    height: 24px !important;
    max-width: 94px !important;
    left: 6px;
    right: 6px;
  }
  .home_search_form.hero-search-orb-form .search-deco-mark {
    width: 22px !important;
    height: 22px !important;
  }
}

/* SmartSelect trigger (FANLAR filtri va boshqa joylar) */
.hero_select_trigger {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 16px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
}
.hero_select_trigger:focus,
.hero_select_trigger:focus-visible,
.hero_select_trigger:active {
  outline: none;
  border: none;
  box-shadow: none;
}
.hero_select_trigger > span {
  flex: 1;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero_select_trigger .hero_select_ph { color: #9aa0ab; }
.hero_select_trigger .hero_select_val { color: #384158; font-weight: 500; }
.hero_select_trigger i {
  flex: 0 0 auto;
  font-size: 12px;
  color: #9aa0ab;
  transition: transform 220ms ease;
}
.hero_select.open .hero_select_trigger i { transform: rotate(180deg); color: #14bdee; }
.hero_opt {
  flex-shrink: 0;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: #384158;
  transition: background 150ms ease, color 150ms ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero_opt:hover { background: #f2f4f5; }
.hero_opt.active { background: #e8f7fd; color: #0fa9d6; font-weight: 600; }

/* ===== Onlayn kurslar kartochkalari ramki/soyasi tiklandi ===== */
/* .course aslida <a> (inline) edi — display:block bo'lmasa box-shadow yo'qoladi */
.course {
  display: block;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(29,34,47,0.12), 0 4px 12px rgba(29,34,47,0.06);
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.course:hover {
  box-shadow: 0 20px 48px rgba(29,34,47,0.16), 0 6px 16px rgba(29,34,47,0.08);
  transform: translateY(-4px);
}
.courses .course { background: #fff; }

@media (max-width: 991px) {
  .nav_register_btn { display: none; }
}

/* ===== Tahrirlanadigan avatar + modallar ===== */
.editable-avatar {
  position: relative;
  display: inline-flex;
}
.editable-avatar-btn {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  line-height: 0;
  transition: box-shadow 180ms ease;
}
.editable-avatar-btn:hover,
.editable-avatar-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(20, 189, 238, 0.35);
  outline: none;
}
.editable-avatar.with-camera-hint .editable-avatar-btn:hover .editable-avatar-camera,
.editable-avatar.with-camera-hint .editable-avatar-btn:focus-visible .editable-avatar-camera {
  opacity: 1;
}
.editable-avatar-camera {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}
.settings_avatar_row .editable-avatar-btn { border-radius: 14px; }
.settings_avatar_row .editable-avatar-camera { border-radius: 14px; }

.avatar-manage-modal {
  position: relative;
  max-width: 360px;
  padding: 28px 24px 24px;
  text-align: center;
}
.avatar-manage-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #eef0f3;
  color: #76777a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}
.avatar-manage-close:hover { background: #e2e5ea; color: #384158; }
.avatar-manage-modal h3 {
  margin: 0 0 4px;
  font-size: 20px;
  color: var(--text);
}
.avatar-manage-sub {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.avatar-manage-preview {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(29, 34, 47, 0.14);
  border: 3px solid #fff;
  outline: 1px solid #e3e6ec;
}
.avatar-manage-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-manage-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.avatar-manage-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.avatar-manage-btn.danger {
  color: #d93025;
}
.avatar-manage-btn.danger:hover {
  background: rgba(255, 80, 80, 0.12);
  color: #c5221f;
}

.avatar-crop-modal {
  max-width: 420px;
  padding: 24px;
}
.avatar-crop-head { margin-bottom: 18px; }
.avatar-crop-head h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--text);
}
.avatar-crop-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}
.avatar-crop-stage {
  position: relative;
  margin: 0 auto 16px;
  overflow: hidden;
  border-radius: 50%;
  background: #1a1d24;
  cursor: grab;
  touch-action: none;
  user-select: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 8px 28px rgba(29,34,47,0.18);
}
.avatar-crop-stage:active { cursor: grabbing; }
.avatar-crop-stage.loading {
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-crop-image {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  will-change: transform, width, height;
  pointer-events: none;
}
.avatar-crop-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.avatar-crop-grid {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.22);
  pointer-events: none;
}
.avatar-crop-grid::before,
.avatar-crop-grid::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.12);
}
.avatar-crop-grid::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.avatar-crop-grid::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}
.avatar-crop-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: #14bdee;
  border-radius: 50%;
  animation: avatarCropSpin 700ms linear infinite;
}
@keyframes avatarCropSpin { to { transform: rotate(360deg); } }
.avatar-crop-controls { margin-bottom: 16px; }
.avatar-crop-zoom-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar-crop-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e3e6ec;
  border-radius: 8px;
  background: #fff;
  color: #384158;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 150ms ease;
}
.avatar-crop-icon-btn:hover { border-color: #14bdee; color: #14bdee; }
.avatar-crop-slider {
  flex: 1;
  accent-color: #14bdee;
  cursor: pointer;
}
.avatar-crop-reset {
  margin-top: 10px;
  border: none;
  background: none;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
.avatar-crop-reset:hover { text-decoration: underline; }
.avatar-crop-preview-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #f7f8fa;
  border-radius: 10px;
}
.avatar-crop-preview-label {
  font-size: 13px;
  font-weight: 600;
  color: #76777a;
}
.avatar-crop-preview {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(29,34,47,0.12);
  flex-shrink: 0;
}
.avatar-crop-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-crop-actions { margin-top: 4px; }

/* =====================================================================
   Open Tsul — Kartochkalar STANDART o'lchami (uniform card sizing)
   ---------------------------------------------------------------------
   Muammo: kurs / "eng ko'p ko'rilgan darslar" / professor / "biz
   haqimizda" kartochkalarining o'lchami ichidagi matn va rasm
   o'lchamiga bog'liq edi — matn uzun bo'lsa karta cho'ziladi, rasm
   nisbati har xil bo'lsa balandlik o'zgaradi.
   Yechim: har bir rasm belgilangan 16:9 ramkada `object-fit: cover`
   bilan kesiladi, matnlar esa qatorlar soni bilan cheklanadi
   (line-clamp). Natijada bitto turdagi barcha kartalar bir xil
   o'zgarmas o'lchamda turadi.
   ===================================================================== */
:root {
  --card-thumb-ratio: 16 / 9;
}

/* --- 1) Kurs kartochkasi (.course): bosh sahifa "Onlayn kurslar",
       /kurslar (eng ko'p ko'rilgan + katalog) va professor sahifasi --- */
.course_col { display: flex; }
.course {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.course_image {
  width: 100%;
  aspect-ratio: var(--card-thumb-ratio);
  flex: 0 0 auto;
}
.course_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.course_body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.course_title {
  margin: 0;
  font-family: 'Roboto Slab', serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #384158;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}
.course_teacher {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.course_text p {
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.5em * 2);
}
.course_footer { margin-top: auto; }

/* --- 2) "Eng ko'p ko'rilgan darslar" (.event): bosh sahifa --- */
.event_col { display: flex; }
.event {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.event_image {
  width: 100%;
  aspect-ratio: var(--card-thumb-ratio);
  flex: 0 0 auto;
}
.event_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event_body { flex: 1 1 auto; }
.event_content { min-width: 0; flex: 1 1 auto; }
.event_title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.4em * 2);
}
.event_text p {
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- 3) Professor kartochkasi (.team_item): bosh sahifa "Eng yaxshi
       professorlar" + /professorlar --- */
.team_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team_title {
  padding: 0 14px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.3em * 2);
}
.team_subtitle {
  padding: 0 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.4em * 2);
}

/* --- 4) "Biz haqimizda" kartochkasi (.about_item): /biz-haqimizda --- */
.about_col { display: flex; }
.about_item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.about_item_image {
  width: 100%;
  aspect-ratio: var(--card-thumb-ratio);
  flex: 0 0 auto;
}
.about_item_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about_item_image iframe {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  display: block;
}
.about_item_title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.3em * 2);
  line-height: 1.3;
}
.about_item_text {
  flex: 1 1 auto;
  margin-top: 12px;
}
.about_item_text p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- 5) Kesilgan matn uchun aqlli tooltip (ClampTooltip komponenti) ---
   Open Tsul brendiga mos: slate fon (var(--text)) + #14bdee aksent,
   yumshoq slate soya, zamonaviy scale+fade animatsiya. */
.clamp-tip {
  position: fixed;
  z-index: 10080;
  max-width: min(340px, calc(100vw - 24px));
  padding: 11px 15px 12px;
  background: var(--text, #384158);
  color: #f3f5f9;
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  border-radius: 12px;
  box-shadow:
    0 14px 40px rgba(56, 65, 88, 0.34),
    0 3px 10px rgba(56, 65, 88, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}
/* Brend aksent: chap chetda nozik #14bdee chiziq */
.clamp-tip::before {
  content: '';
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--brand, #14bdee);
}
.clamp-tip::after {
  content: '';
  position: absolute;
  left: var(--clamp-arrow, 50%);
  width: 11px;
  height: 11px;
  background: var(--text, #384158);
  transform: translateX(-50%) rotate(45deg);
}
.clamp-tip--top {
  transform-origin: bottom center;
  animation: clampTipInTop 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.clamp-tip--top::after { bottom: -4px; }
.clamp-tip--bottom {
  transform-origin: top center;
  animation: clampTipInBottom 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.clamp-tip--bottom::after { top: -4px; }
@keyframes clampTipInTop {
  from { opacity: 0; transform: translateY(-6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes clampTipInBottom {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .clamp-tip--top,
  .clamp-tip--bottom { animation: none; }
}

/* ===== Kutubxona sahifasi ===== */
.kutubxona_page {
  width: 100%;
  padding-top: 60px;
  padding-bottom: 70px;
}
.kutubxona_page .section_title_container { margin-bottom: 10px; }
.kutubxona_tabs { margin-bottom: 36px; }
.obunalar_tab_count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0 7px;
  border-radius: 11px;
  background: rgba(20, 189, 238, 0.12);
  color: #14bdee;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}
.prof_filter_tabs button.active .obunalar_tab_count {
  background: #14bdee;
  color: #fff;
}
.kutubxona_prof_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kutubxona_prof_row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(56, 65, 88, 0.06);
  transition: box-shadow 200ms ease;
}
.kutubxona_prof_row:hover { box-shadow: 0 8px 28px rgba(56, 65, 88, 0.1); }
.kutubxona_prof_link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.kutubxona_prof_link:hover .kutubxona_prof_info b { color: #14bdee; }
.kutubxona_prof_info { flex: 1; min-width: 0; }
.kutubxona_prof_info b {
  display: block;
  font-size: 16px;
  color: #384158;
  font-weight: 600;
  transition: color 180ms ease;
}
.kutubxona_prof_info > span {
  display: block;
  font-size: 13px;
  color: #76777a;
  margin-top: 4px;
}
.kutubxona_prof_meta {
  font-size: 12px;
  color: #a5a5a5;
  margin-top: 8px;
  line-height: 1.5;
}
.kutubxona_prof_actions { flex-shrink: 0; }
.kutubxona_prof_btn {
  height: 40px;
  padding: 0 20px;
  font-size: 12px;
  white-space: nowrap;
}
.kutubxona_section_head {
  margin-top: 48px;
  margin-bottom: 22px;
  padding-top: 8px;
  border-top: 1px solid #eef0f3;
}
.kutubxona_section_title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 700;
  color: #384158;
  margin: 0;
}
.kutubxona_section_sub {
  font-size: 14px;
  color: #76777a;
  margin: 8px 0 0;
}
.kutubxona_empty_icon {
  display: block;
  font-size: 42px;
  color: #d8dbe0;
  margin-bottom: 16px;
}
.kutubxona_empty_link {
  display: inline-block;
  margin-top: 12px;
  color: #14bdee;
  font-weight: 600;
  text-decoration: none;
}
.kutubxona_empty_link:hover { color: #0fa9d6; text-decoration: underline; }
@media (max-width: 767px) {
  .kutubxona_prof_row {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }
  .kutubxona_prof_actions { margin-top: 4px; }
  .kutubxona_prof_btn { width: 100%; }
  .kutubxona_tabs { gap: 16px; }
}

/* =====================================================================
   Mobil moslashuvchanlik — YouTube / native ilova tajribasi
   ===================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.super_container {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow-x: clip;
  max-width: 100vw;
}

/* Pastki navigatsiya (faqat mobil) */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 991px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 16px rgba(56, 65, 88, 0.08);
    justify-content: space-around;
    align-items: stretch;
  }

  .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    min-width: 0;
    -webkit-tap-highlight-color: transparent;
    transition: color 150ms ease;
  }

  .mobile-nav-item i {
    font-size: 20px;
    line-height: 1;
  }

  .mobile-nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.2;
  }

  .mobile-nav-item.active {
    color: var(--brand);
    font-weight: 600;
  }

  body.has-mobile-nav .super_container {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  body.has-mobile-nav .assistant-fab {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.has-mobile-nav .assistant-chat {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    height: min(620px, calc(100dvh - 80px));
  }

  body.has-mobile-nav .assistant-chat--expanded {
    height: min(760px, calc(100dvh - 24px));
  }

  /* Bosh sahifa hero */
  .home {
    height: auto !important;
    min-height: 0 !important;
  }

  .home_slider_container,
  .home_slide_single {
    height: auto !important;
    min-height: 0 !important;
  }

  .home_slider_content {
    position: relative;
    top: auto;
    left: auto;
    padding: 108px 0 36px;
  }

  .home_slider_title {
    font-size: 30px;
    line-height: 1.2;
  }

  .home_slider_subtitle {
    font-size: 15px;
    line-height: 1.45;
    margin-top: 12px;
  }

  .home_slider_form_container {
    width: 100%;
    max-width: 100%;
    padding: 0 4px;
    margin-top: 24px;
  }

  .hero-search-form,
  .hero-search-orb-form {
    width: 100%;
  }

  .home_search_form.hero-search-orb-form .search-orb-container {
    width: 100% !important;
  }

  .home_search_form.hero-search-orb-form .smart_suggest.hero_suggest {
    left: 2%;
    right: 2%;
    min-width: 0;
    width: auto !important;
  }

  .courses {
    padding-top: 8px;
  }

  .fan-filter-wrap {
    position: relative;
    z-index: 2;
  }

  /* Header ixcham */
  .header_content .logo_img {
    height: 40px;
  }

  .hamburger {
    margin-left: 10px !important;
  }

  .header_search_content .header_smart_form {
    width: 92%;
    max-width: none;
  }

  /* Kurslar sahifasi filtrlari */
  .course_filters {
    flex-direction: column;
    align-items: stretch;
  }

  .cfilter,
  .cfilter_reset {
    width: 100%;
    min-width: 0;
  }

  .smart_search_wrap {
    padding: 0 4px;
  }

  /* Fan / professor filtrlari — gorizontal scroll */
  .prof_filter_tabs,
  .account_settings_tabs,
  .kutubxona_tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 18px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .prof_filter_tabs::-webkit-scrollbar,
  .account_settings_tabs::-webkit-scrollbar,
  .kutubxona_tabs::-webkit-scrollbar {
    display: none;
  }

  .prof_filter_tabs button,
  .account_settings_tabs button,
  .kutubxona_tabs button {
    flex-shrink: 0;
  }

  /* Kurs (video) sahifasi */
  .kurs_single {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .kurs_single_title {
    font-size: 20px;
    margin-bottom: 16px;
    padding: 0 4px;
  }

  .kurs_top {
    gap: 20px;
  }

  .kurs_player_col {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }

  .kurs_player {
    border-radius: 0;
    box-shadow: none;
  }

  .kurs_actions {
    gap: 8px;
    padding: 0 4px;
  }

  .kurs_act_prof {
    width: 100%;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .act_btn {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    min-height: 44px;
    font-size: 13px;
    padding: 0 12px;
  }

  .kurs_section {
    margin-top: 40px;
  }

  .kurs_section_title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  /* Professor sahifasi */
  .prof_info_name {
    font-size: 22px;
  }

  .prof_actions {
    flex-direction: column;
    align-items: stretch;
  }

  .prof_follow_btn {
    width: 100%;
    text-align: center;
  }

  .prof_rate {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Sozlamalar */
  .account_settings_body {
    padding: 0 4px;
  }

  .settings_card {
    padding: 20px 16px;
  }

  .settings_avatar_row {
    flex-direction: column;
    align-items: flex-start;
  }

  .settings_quick_links {
    grid-template-columns: 1fr;
  }

  /* Modal va dropdown — to'liq kenglik */
  .app-modal-root {
    padding: 12px;
    align-items: flex-end;
  }

  .app-modal-root > .app-modal-panel {
    max-width: 100%;
    border-radius: 16px 16px 0 0;
  }

  .user_dropdown.yt-menu,
  .yt-notif-panel {
    position: fixed;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: none;
    top: auto;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 767px) {
  .home_slider_title {
    font-size: 26px;
  }

  .home_slider_content {
    padding-top: 96px;
    padding-bottom: 28px;
  }

  .page_head {
    height: auto;
    min-height: 110px;
  }

  .about {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .about_col_left,
  .about_col_right,
  .about_col_middle {
    padding-left: 0;
    padding-right: 0;
  }

  .courses_page,
  .professors_page,
  .account_settings_page,
  .kutubxona_page {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .register_cta_full {
    padding: 36px 20px;
    margin-top: 28px;
  }

  .register_cta_title {
    font-size: 20px;
  }

  .toast {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 575px) {
  .home_slider_title {
    font-size: 24px;
  }

  .home_slider_subtitle {
    font-size: 14px;
  }

  .section_title {
    font-size: 22px;
  }

  .kurs_actions .act_btn {
    flex: 1 1 100%;
  }

  .share_row {
    flex-direction: column;
  }

  .share_row input {
    width: 100%;
  }

  .share_row .modal_btn {
    width: 100%;
  }
}

/* ===== Halollik nazorati (quiz integrity) ===== */
.quiz-integrity-wrap {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}
.quiz-integrity-watermark {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-content: space-around;
  justify-content: space-around;
  overflow: hidden;
  pointer-events: none;
}
.quiz-integrity-watermark span {
  transform: rotate(-28deg);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: currentColor;
  opacity: 0.07;
}
.quiz-integrity-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(241, 196, 15, 0.14);
  color: #b9770e;
}
.quiz-voided-icon {
  background: rgba(231, 76, 60, 0.12) !important;
  color: #e74c3c !important;
}
.quiz-superseded-icon {
  background: rgba(52, 152, 219, 0.12) !important;
  color: #2980b9 !important;
}
.quiz-integrity-wrap:fullscreen,
.quiz-integrity-wrap:-webkit-full-screen,
:fullscreen .quiz-integrity-wrap,
:-webkit-full-screen .quiz-integrity-wrap {
  background: var(--bg, #fff);
  overflow: auto;
  padding: 24px 16px;
  box-sizing: border-box;
  min-height: 100%;
}

/* ===== Umumiy ogohlantirish / tasdiqlash modali (WarnModal) ===== */
.warn-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(18px) saturate(0.7);
  -webkit-backdrop-filter: blur(18px) saturate(0.7);
}
.warn-modal-overlay.busy {
  pointer-events: none;
}
.warn-modal {
  width: min(440px, 100%);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 900px);
}
.warn-modal--wide {
  width: min(640px, 100%);
}
.warn-modal-body--form {
  overflow-y: auto;
}
.warn-modal-header {
  position: relative;
  padding: 28px 24px 24px;
  background: #00aeef;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.warn-modal--danger .warn-modal-header {
  background: #ef4444;
}
.warn-modal--info .warn-modal-header {
  background: #0ea5e9;
}
.warn-modal-header-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.warn-modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.warn-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.warn-modal-text {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}
.warn-modal-text strong,
.warn-modal-accent {
  color: #00aeef;
  font-weight: 700;
}
.warn-modal--danger .warn-modal-accent {
  color: #ef4444;
}
.warn-modal-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  text-align: left;
}
.warn-modal--danger .warn-modal-alert {
  background: #fef2f2;
  border-color: #fecaca;
}
.warn-modal-alert > i {
  margin-top: 2px;
  color: #00aeef;
  font-size: 16px;
  flex-shrink: 0;
}
.warn-modal--danger .warn-modal-alert > i {
  color: #ef4444;
}
.warn-modal-alert p,
.warn-modal-alert ul {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}
.warn-modal-alert ul {
  padding-left: 18px;
}
.warn-modal-alert-count {
  color: #ef4444;
  font-weight: 700;
}
.warn-modal-hint {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
}
.warn-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.warn-modal-actions--split {
  flex-direction: column-reverse;
}
.warn-modal-primary,
.warn-modal-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 120ms ease, border-color 160ms ease;
}
.warn-modal-primary {
  border: none;
  background: #00aeef;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.28);
}
.warn-modal-primary:hover:not(:disabled) {
  background: #0096ce;
}
.warn-modal-primary--danger,
.warn-modal--danger .warn-modal-primary {
  background: #ef4444;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.28);
}
.warn-modal-primary--danger:hover:not(:disabled),
.warn-modal--danger .warn-modal-primary:hover:not(:disabled) {
  background: #dc2626;
}
.warn-modal-secondary {
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #64748b;
}
.warn-modal-secondary:hover:not(:disabled) {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.warn-modal-primary:active:not(:disabled),
.warn-modal-secondary:active:not(:disabled) {
  transform: scale(0.98);
}
.warn-modal-primary:disabled,
.warn-modal-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .warn-modal {
    width: min(100%, 100%);
    border-radius: 20px;
  }
  .warn-modal-header {
    padding: 22px 18px 20px;
  }
  .warn-modal-title {
    font-size: 1.15rem;
  }
  .warn-modal-body {
    padding: 20px 18px;
  }
  .warn-modal-primary,
  .warn-modal-secondary {
    height: 48px;
    font-size: 13px;
  }
}

/* ===== Sertifikatlar ===== */
.cert-panel { display: grid; gap: 18px; }
.cert-list { display: grid; gap: 10px; }
.cert-list-item {
  text-align: left;
  padding: 14px 16px;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.cert-list-item:hover { border-color: rgba(20, 189, 238, 0.45); }
.cert-list-item.active {
  border-color: #14bdee;
  box-shadow: 0 0 0 3px rgba(20, 189, 238, 0.12);
}
.cert-list-title { display: block; font-weight: 700; color: #384158; margin-bottom: 4px; }
.cert-list-meta { display: block; font-size: 13px; color: #76777a; }
.cert-list-no { display: block; margin-top: 6px; font-size: 12px; font-family: ui-monospace, monospace; color: #14bdee; }
.cert-editor { display: grid; gap: 16px; padding-top: 8px; border-top: 1px solid #eef0f3; }
.cert-templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cert-template-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border: 2px solid #e3e6ec;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: center;
}
.cert-template-btn strong { font-size: 14px; color: #384158; }
.cert-template-btn small { font-size: 12px; color: #76777a; }
.cert-template-btn.active {
  border-color: #14bdee;
  background: rgba(20, 189, 238, 0.06);
}
.cert-hint { margin: 6px 0 0; font-size: 12px; }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-preview-wrap { overflow: hidden; border-radius: 12px; border: 1px solid #e3e6ec; background: #e8edf2; }
.cert-preview {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
  min-height: 200px;
}
.cert-preview--html {
  aspect-ratio: auto;
  padding: 10px;
  background: #e8edf2;
  overflow: hidden;
}
.cert-preview-stage {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(10, 51, 68, 0.14);
  background: #fff;
}
.cert-preview--svg {
  aspect-ratio: auto;
  min-height: 180px;
  padding: 8px;
  background: #f5f6f8;
}
.cert-preview-svg-img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  object-fit: contain;
  display: block;
}
.cert-preview-html-frame {
  display: block;
  border: 0;
  background: #fff;
  max-width: none;
  max-height: none;
}
.cert-preview--svg-loading,
.cert-preview--svg-empty,
.cert-preview--html-loading,
.cert-preview--html-empty {
  color: #5b6270;
  font-size: 14px;
  text-align: center;
  padding: 28px 16px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.cert-templates--4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 720px) {
  .cert-templates--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cert-preview-inner, .cert-preview-card { width: 100%; max-width: 520px; }
.cert-preview h4 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 32px);
  letter-spacing: 0.04em;
}
.cert-preview-sub, .cert-preview-tag, .cert-preview-label, .cert-preview-meta, .cert-preview-ornament {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}
.cert-preview-name {
  margin: 10px auto 14px;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid currentColor;
  display: inline-block;
  min-width: 40%;
}
.cert-preview-course { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.cert-preview--modern {
  background: linear-gradient(135deg, #0b3a4a 0%, #14bdee 55%, #0b3a4a 100%);
  color: #fff;
}
.cert-preview--modern .cert-preview-name { border-color: #f5d76e; }
.cert-preview--classic {
  background: #faf6ee;
  color: #8b7355;
  border: 2px solid #d4a574;
}
.cert-preview--classic .cert-preview-name { border-color: #d4a574; }
.cert-preview--minimal {
  background: linear-gradient(90deg, #eef2f6, #dce3ec);
  color: #1a202c;
}
.cert-preview-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  box-shadow: 0 12px 32px rgba(56, 65, 88, 0.12);
  border-top: 4px solid #14bdee;
}
.cert-preview--minimal .cert-preview-name { border-color: #14bdee; color: #1a202c; }
.cert-preview--minimal .cert-preview-course { color: #0fa9d6; }
.cert-verify h3 { margin: 0 0 14px; }
.cert-verify--ok h3 { color: #1b8a5a; }
.cert-verify--bad h3 { color: #c62828; }
.cert-verify-dl { display: grid; gap: 12px; margin: 0; }
.cert-verify-dl div { display: grid; gap: 2px; }
.cert-verify-dl dt { font-size: 12px; color: #76777a; text-transform: uppercase; letter-spacing: 0.04em; }
.cert-verify-dl dd { margin: 0; font-size: 16px; color: #384158; font-weight: 600; }
.cert-verify-dl code { font-size: 14px; color: #14bdee; }
@media (max-width: 720px) {
  .cert-templates { grid-template-columns: 1fr; }
}

.cert-templates--4 { grid-template-columns: repeat(4, 1fr); }
.cert-templates--3 { grid-template-columns: repeat(3, 1fr); }

.cert-preview--royal {
  background: #0d1b3e;
  color: #c9aa71;
  border: 2px solid #c9aa71;
  position: relative;
}
.cert-preview-royal-inner { width: 100%; max-width: 520px; padding: 8px; }
.cert-preview-title {
  margin: 8px 0 6px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #c9aa71;
}
.cert-preview-royal-name {
  margin: 12px auto;
  font-size: clamp(18px, 3.2vw, 26px);
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid #c9aa71;
  display: inline-block;
  min-width: 45%;
  padding-bottom: 6px;
}
.cert-preview-seal-sm,
.cert-preview-royal-seal,
.cert-preview-parchment-seal {
  width: 42px;
  height: 42px;
  margin: 12px auto 0;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.cert-preview-seal-sm { margin: 0 auto 4px; width: 34px; height: 34px; font-size: 12px; }

.cert-preview--modern-v2 {
  background: linear-gradient(135deg, #1a237e 0%, #4a148c 100%);
  color: #fff;
  position: relative;
}
.cert-preview--modern-v2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: #7c4dff;
}
.cert-preview-modern-inner { width: 100%; max-width: 560px; text-align: left; padding-left: 12px; }
.cert-preview-modern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.cert-preview-modern-name {
  margin: 6px 0 0;
  font-size: clamp(16px, 2.8vw, 22px);
  font-weight: 700;
  color: #fff;
}
.cert-preview-label-sm {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #a0a0a0;
  font-weight: 600;
}
.cert-preview--modern-v2 .cert-preview-course { color: #90caf9; }
.cert-preview--modern-v2 .cert-preview-meta { color: #90caf9; }
.cert-preview--modern-v2 h4 { color: #90caf9; text-align: center; }
.cert-preview--modern-v2 .cert-preview-tag { text-align: center; color: #81c784; }

.cert-preview--parchment {
  background: #fdf6e3;
  color: #5c4a3d;
  border: 2px solid #8b6914;
}
.cert-preview-parchment-inner { width: 100%; max-width: 520px; }
.cert-preview--parchment h4 { color: #5c4a3d; }
.cert-preview-parchment-name {
  margin: 10px auto;
  font-size: clamp(18px, 3.2vw, 26px);
  font-weight: 700;
  color: #8b6914;
  border-bottom: 2px solid #d4a574;
  display: inline-block;
  min-width: 45%;
  padding-bottom: 6px;
}
.cert-preview--parchment .cert-preview-course { color: #8b6914; font-style: italic; }
.cert-preview--parchment .cert-preview-ornament { color: #8b6914; font-size: 22px; }

.cert-preview--canva {
  background-size: cover;
  background-position: center;
  position: relative;
}
.cert-preview-canva-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18% 12% 12%;
  text-align: center;
  color: #1a202c;
  text-shadow: 0 1px 2px rgba(255,255,255,0.7);
}
.cert-preview--canva .cert-preview-name {
  border-bottom-color: rgba(26,32,44,0.35);
}
@media (max-width: 900px) {
  .cert-templates--4 { grid-template-columns: repeat(2, 1fr); }
}

.cert-preview-canva-overlay--layout {
  justify-content: flex-start;
  padding-top: 42%;
  position: relative;
}
.cert-preview-name--canva {
  border-bottom: none;
  margin: 0 auto;
  text-transform: uppercase;
  color: #0b3a4a;
  text-shadow: 0 1px 2px rgba(255,255,255,0.85);
}
.cert-preview-canva-bottom {
  position: absolute;
  left: 6%;
  right: 18%;
  bottom: 18%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
}
.cert-preview-canva-bottom .cert-preview-course,
.cert-preview-canva-bottom .cert-preview-meta {
  flex: 1;
  font-size: 11px;
  margin: 0;
  color: #0b3a4a;
  text-shadow: 0 1px 2px rgba(255,255,255,0.85);
}
.cert-preview-canva-bottom .cert-preview-meta { text-align: right; }
.cert-preview-canva-qr {
  position: absolute;
  right: 5%;
  bottom: 6%;
  width: 48px;
  height: 48px;
  border: 1px dashed rgba(11,58,74,0.35);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #0b3a4a;
  background: rgba(255,255,255,0.9);
}

/* ==========================================================================
   Content detail pages — /biz-haqimizda/[slug], /imkoniyat/[slug]
   Open Tsul DNA: #14bdee brand, slate text, Unicat rhythm
   ========================================================================== */
.content_detail {
  width: 100%;
  padding: 64px 0 96px;
  background: #ffffff;
}
.content_detail--empty {
  min-height: 48vh;
  display: flex;
  align-items: center;
}
.content_detail_empty {
  text-align: center;
  padding: 64px 16px;
}
.content_detail_empty h1 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 28px;
  color: #384158;
  margin-bottom: 10px;
}
.content_detail_empty p {
  color: #76777a;
  margin-bottom: 24px;
}

.content_detail_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px 56px;
  align-items: start;
}
@media (max-width: 991px) {
  .content_detail_grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.content_detail_media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f5;
  box-shadow: 0 18px 48px rgba(29, 34, 47, 0.1);
  aspect-ratio: 4 / 3;
}
.content_detail_media--youtube {
  aspect-ratio: 16 / 9;
}
.content_detail_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 900ms ease;
}
.content_detail_media:hover img {
  transform: scale(1.04);
}
.content_detail_media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.content_detail_video_facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #1d2230;
  cursor: pointer;
  display: block;
}
.content_detail_video_thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 900ms ease;
}
.content_detail_video_thumb--empty {
  background: #1d2230;
}
.content_detail_video_facade:hover .content_detail_video_thumb {
  transform: scale(1.04);
}
.content_detail_video_play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(20, 189, 238, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, background 180ms ease;
}
.content_detail_video_play i {
  margin-left: 4px;
}
.content_detail_video_facade:hover .content_detail_video_play {
  transform: translate(-50%, -50%) scale(1.06);
  background: #14bdee;
}
.content_detail_video_fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #7a8494;
  font-size: 14px;
}
.content_detail_media--icon {
  aspect-ratio: 1;
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(20, 189, 238, 0.18), transparent 55%),
    #f2f7fa;
  box-shadow: none;
  border: 1px solid #e6e8ee;
}
.content_detail_icon_wrap {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content_detail_icon_wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.content_detail_badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(29, 34, 47, 0.16);
}
.content_detail_badge img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.content_detail_eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #14bdee;
}
.content_detail_title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: #384158;
  margin: 0 0 16px;
}
.content_detail_lead {
  font-size: 17px;
  line-height: 1.75;
  color: #5a6072;
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e6e8ee;
}

.content_detail_highlights {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.content_detail_highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #384158;
}
.content_detail_check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(20, 189, 238, 0.12);
  color: #14bdee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.content_detail_check i {
  font-size: 12px;
}

.content_detail_prose {
  display: grid;
  gap: 16px;
}
.content_detail_prose p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #4a5163;
}

.content_detail_cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.content_detail_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.content_detail_btn--primary {
  background: #14bdee;
  color: #fff;
  border: 1px solid #14bdee;
}
.content_detail_btn--primary:hover {
  background: #0fa9d6;
  border-color: #0fa9d6;
  color: #fff;
  transform: translateY(-1px);
}
.content_detail_btn--ghost {
  background: transparent;
  color: #384158;
  border: 1px solid #d5d9e0;
}
.content_detail_btn--ghost:hover {
  border-color: #14bdee;
  color: #14bdee;
}

.content_detail_nav {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid #e6e8ee;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .content_detail_nav {
    grid-template-columns: 1fr;
  }
}
.content_detail_nav_item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e6e8ee;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.content_detail_nav_item:hover {
  border-color: rgba(20, 189, 238, 0.45);
  box-shadow: 0 10px 28px rgba(29, 34, 47, 0.08);
  transform: translateY(-2px);
}
.content_detail_nav_item--next {
  text-align: right;
  margin-left: auto;
  width: 100%;
}
.content_detail_nav_label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #14bdee;
}
.content_detail_nav_title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: #384158;
}

/* Clickable about cards */
a.about_item--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 200ms ease;
}
a.about_item--link:hover {
  transform: translateY(-3px);
}
a.about_item--link:hover .about_item_title span,
a.about_item--link:hover .about_item_more {
  color: #14bdee;
}
.about_item_title span {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 700;
  color: #384158;
  transition: color 200ms ease;
}
.about_item_more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #76777a;
  transition: color 200ms ease, gap 200ms ease;
}
a.about_item--link:hover .about_item_more {
  gap: 10px;
}
.about_item_yt_preview {
  position: relative;
  width: 100%;
  height: 100%;
}
.about_item_yt_preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about_item_yt_play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 34, 47, 0.28);
  color: #fff;
  font-size: 22px;
}

/* Clickable home feature cards */
a.feature--link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  height: 100%;
}
a.feature--link:hover .feature_title,
a.feature--link:hover .feature_more {
  color: #14bdee;
}
.feature_more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #76777a;
  transition: color 200ms ease, gap 200ms ease;
}
a.feature--link:hover .feature_more {
  gap: 10px;
}

/* ===== Home Yangiliklar (split list + featured carousel) ===== */
.home-news {
  position: relative;
  width: 100%;
  padding-top: 93px;
  padding-bottom: 100px;
}
.home-news_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.home-news > .container {
  position: relative;
  z-index: 1;
}
.home-news_panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.55fr);
  gap: 36px;
  margin-top: 48px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  border: none;
  min-height: 520px;
  align-items: center;
}

/* ——— Chap: keng horizontal cardlar, vertikal coverflow ——— */
.home-news_coverflow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 500px;
  padding: 28px 8px 28px 0;
  user-select: none;
}
.home-news_coverflow_stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 460px;
  margin: 0;
}
.home-news_card {
  --offset: 0;
  --abs: 0;
  --scale: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(88%, 300px);
  height: 80px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #384158;
  background: #fff;
  border: 1px solid rgba(20, 189, 238, 0.2);
  box-shadow: 0 6px 18px rgba(29, 34, 47, 0.1);
  display: grid;
  grid-template-columns: 72px 1fr 24px;
  align-items: center;
  gap: 0 10px;
  padding-right: 8px;
  transform:
    translate(-50%, calc(-50% + (var(--offset) * 78px)))
    scale(var(--scale));
  z-index: calc(10 - var(--abs));
  filter:
    grayscale(calc(var(--abs) * 0.4))
    blur(calc(var(--abs) * 0.65px));
  opacity: calc(1 - (var(--abs) * 0.18));
  transition:
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 680ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 560ms ease,
    box-shadow 560ms ease,
    background 560ms ease,
    color 560ms ease,
    border-color 560ms ease,
    width 560ms ease,
    height 560ms ease;
  will-change: transform, filter, opacity;
}
/* 2-qator: oldindagidan biroz kichikroq */
.home-news_card.is-near {
  width: min(94%, 350px);
  height: 94px;
  grid-template-columns: 88px 1fr 26px;
  filter: grayscale(0.35) blur(0.55px);
  opacity: 0.82;
}
.home-news_card.is-near .home-news_card_media {
  width: 88px;
}
/* 3-qator: yanada kichik + hira */
.home-news_card.is-far {
  width: min(84%, 280px);
  height: 76px;
  grid-template-columns: 64px 1fr 22px;
  filter: grayscale(0.7) blur(1.1px);
  opacity: 0.58;
}
.home-news_card.is-far .home-news_card_media {
  width: 64px;
}
.home-news_card.is-front {
  filter: grayscale(0) blur(0);
  opacity: 1;
  color: #fff;
  width: min(100%, 400px);
  height: 108px;
  grid-template-columns: 104px 1fr 28px;
  background: linear-gradient(135deg, #14bdee 0%, #0ea5c9 100%);
  border-color: transparent;
  transform: translate(-50%, -50%) scale(var(--scale));
  box-shadow:
    0 16px 36px rgba(20, 189, 238, 0.36),
    0 0 0 2px rgba(20, 189, 238, 0.22);
  cursor: pointer;
  z-index: 20;
}
.home-news_card:not(.is-front) {
  cursor: pointer;
}
.home-news_card.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  filter: blur(2px);
  transform: translate(-50%, -50%) scale(0.75);
}
.home-news_card_media {
  position: relative;
  width: 72px;
  height: 100%;
  overflow: hidden;
  background: #eef1f5;
  flex-shrink: 0;
}
.home-news_card_play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 189, 238, 0.92);
  color: #fff;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
  box-shadow: 0 2px 8px rgba(29, 34, 47, 0.25);
  pointer-events: none;
}
.home-news_card_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}
.home-news_card.is-front .home-news_card_media {
  width: 104px;
}
.home-news_card.is-front .home-news_card_media img {
  transform: scale(1.05);
}
.home-news_card_body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 8px 0;
  opacity: 1;
  transform: none;
  pointer-events: none;
}
.home-news_card.is-front .home-news_card_title {
  font-size: 16px;
}
.home-news_card_cat {
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0ea5c9;
  background: rgba(20, 189, 238, 0.12);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-news_card.is-front .home-news_card_cat {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}
.home-news_card_title {
  font-family: var(--font-serif, Georgia, 'Times New Roman', serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-news_card_meta {
  font-size: 11px;
  color: #9aa0ab;
}
.home-news_card.is-front .home-news_card_meta {
  color: rgba(255, 255, 255, 0.85);
}
.home-news_card_arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #c4c9d4;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 420ms ease,
    transform 420ms ease,
    color 420ms ease,
    background 420ms ease;
}
.home-news_card.is-front .home-news_card_arrow {
  opacity: 1;
  transform: translateX(0);
  color: #14bdee;
  background: #fff;
}

.home-news_feature {
  position: relative;
  min-height: 500px;
  background: #1d2230;
  border-radius: 12px;
  overflow: hidden;
}
.home-news_feature_frame {
  display: block;
  position: absolute;
  inset: 0;
  color: #fff;
  overflow: hidden;
  animation: home-news-fade 720ms cubic-bezier(0.22, 1, 0.36, 1);
}
.home-news_feature_video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
}
.home-news_feature_facade {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 0;
  border: 0;
  background: #1d2230;
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
}
.home-news_feature_facade .home-news_feature_bg {
  transition: transform 6s ease;
}
.home-news_feature_facade:hover .home-news_feature_bg {
  transform: scale(1.04);
}
.home-news_feature_play {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(20, 189, 238, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, background 180ms ease;
}
.home-news_feature_play i {
  margin-left: 4px;
}
.home-news_feature_facade:hover .home-news_feature_play {
  transform: translate(-50%, -50%) scale(1.06);
  background: #14bdee;
}
.home-news_feature_bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: opacity 450ms ease, transform 6s ease;
}
.home-news_feature_frame:not(.has-video):hover .home-news_feature_bg {
  transform: scale(1.06);
}
.home-news_feature_shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(29, 34, 47, 0.15) 0%,
    rgba(29, 34, 47, 0.35) 40%,
    rgba(29, 34, 47, 0.88) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.home-news_feature_frame.has-video .home-news_feature_shade {
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    rgba(29, 34, 47, 0.82) 100%
  );
}
.home-news_feature_content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 44px 48px;
  z-index: 2;
  text-decoration: none;
  color: #fff;
  display: block;
}
.home-news_feature_cat {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 3px;
  background: #14bdee;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.home-news_feature_title {
  font-family: var(--font-serif, Georgia, 'Times New Roman', serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 10px;
  max-width: 92%;
}
.home-news_feature_text {
  margin: 0 0 16px;
  max-width: 90%;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-news_feature_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.home-news_feature_more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #14bdee;
  text-decoration: none;
  transition: gap 200ms ease;
}
.home-news_feature_more:hover {
  gap: 10px;
}
.home-news_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #384158;
  box-shadow: 0 2px 10px rgba(29, 34, 47, 0.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.home-news_nav:hover {
  background: #14bdee;
  color: #fff;
}
.home-news_nav--prev { left: 14px; }
.home-news_nav--next { right: 14px; }
.home-news_dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 7px;
}
.home-news_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.home-news_dot.is-active {
  background: #14bdee;
  transform: scale(1.2);
}
@media (max-width: 991px) {
  /* Planshet/mobil: chap coverflow yashirin — faqat featured, pastdagi .container bilan bir xil kenglik */
  .home-news_panel {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
    margin-top: 36px;
  }
  .home-news_coverflow {
    display: none !important;
  }
  .home-news_feature {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: none;
    border-radius: 12px;
  }
  .home-news_feature_content { padding: 22px 20px 44px; }
  .home-news_feature_title { font-size: 22px; max-width: 100%; }
  .home-news_feature_text { max-width: 100%; }
  .home-news_feature_play {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }
  .home-news_nav--prev { left: 10px; }
  .home-news_nav--next { right: 10px; }

  /* Dars kartochkalari — desktop side-padding olib tashlanadi, news bilan tekis */
  .event_left,
  .event_mid,
  .event_right {
    padding-left: 0;
    padding-right: 0;
  }
  .events {
    padding-top: 64px;
    padding-bottom: 56px;
  }
  .events_row {
    margin-top: 28px;
  }
}
@media (max-width: 768px) {
  .home-news {
    padding-top: 56px;
    padding-bottom: 48px;
  }
  .home-news_panel {
    margin-top: 24px;
  }
  .home-news_feature {
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 10px;
  }
  .home-news_feature_content {
    padding: 18px 16px 40px;
  }
  .home-news_feature_title {
    font-size: 18px;
    line-height: 1.3;
  }
  .home-news_feature_text {
    font-size: 13px;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
  }
  .home-news_feature_meta {
    font-size: 12px;
    gap: 10px;
  }
  .home-news_feature_play {
    width: 52px;
    height: 52px;
    font-size: 18px;
    top: 38%;
  }
  .home-news_nav {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .home-news_nav--prev { left: 8px; }
  .home-news_nav--next { right: 8px; }
  .home-news_dots {
    bottom: 10px;
  }
  .events {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
@media (max-width: 480px) {
  .home-news_feature {
    aspect-ratio: 4 / 3;
  }
  .home-news_feature_title {
    font-size: 17px;
  }
  .home-news_feature_text {
    -webkit-line-clamp: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-news_feature_bg,
  .home-news_card,
  .home-news_card_media img,
  .home-news_card_arrow {
    transition: none;
  }
}

@keyframes home-news-fade {
  from { opacity: 0.35; }
  to { opacity: 1; }
}
