/* ==========================================
   2026 MODERN DLE THEME - NEWSROOM OVERHAUL
   FUTBOLUZ.NET & DARYO.UZ COMPACT MOBILE STYLE
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Light Mode */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  /* Brand Accent Colors */
  --accent-primary: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  --accent-category-blue: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  
  /* UI Elements */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 8px 24px rgba(37, 99, 235, 0.25);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  background-color: var(--bg-main) !important;
  color: var(--text-primary) !important;
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6, .section-title, .logo, .entry__title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

/* CATEGORY BADGE PILL - HIGH CONTRAST PURE WHITE TEXT */
.entry__meta-category,
.entry__meta-category--blue,
.entry__meta-category--label {
  background: var(--accent-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  border-radius: var(--radius-sm) !important;
  padding: 4px 10px !important;
  font-size: 0.72rem !important;
  display: inline-block !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3) !important;
}

.entry__meta-category a {
  color: #ffffff !important;
}

/* ABSOLUTE HIDE CATEGORY OVERLAY BADGES ON ALL THUMBNAIL IMAGES */
.entry__meta-category--align-in-corner,
.entry__img-holder .entry__meta-category,
.thumb__img-holder .entry__meta-category,
.card__img-holder .entry__meta-category,
.entry__img-holder .entry__meta-category--label {
  display: none !important;
}

/* TAGS SECTION STYLING */
.entry__tags {
  margin: 20px 0 !important;
  font-size: 0.88rem !important;
}

.entry__tags-label {
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-right: 8px !important;
}

.entry__tags a {
  display: inline-block !important;
  padding: 3px 10px !important;
  margin: 2px 4px !important;
  background: #f1f5f9 !important;
  color: #2563eb !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}

/* ARTICLE NAVIGATION (OLDINGI/KEYINGI YANGILIK) */
.entry-navigation {
  border-top: 1px solid var(--border-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 16px 0 !important;
  margin: 24px 0 !important;
}

.entry-navigation__label {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 4px !important;
}

.entry-navigation__link a {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #2563eb !important;
}

/* HIDE UNWANTED SORT/FILTER BAR IN INNER CATEGORY PAGES */
.sortirovka,
div.sortirovka {
  display: none !important;
}

/* SIDENAV DRAWER Z-INDEX OVERRIDE FIX */
.sidenav {
  z-index: 2500 !important;
}

.content-overlay {
  z-index: 2400 !important;
}

/* LIGHT MODE CARD & LIST TITLE FIXES */
.entry.card,
.featured-posts-grid__item,
.featured-posts-grid__entry,
.card,
.entry__body,
.card__body,
.content-box {
  color: #0f172a !important;
}

/* SIDEBAR WIDGETS IN LIGHT MODE */
.widget {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-lg) !important;
  padding: 20px !important;
  margin-bottom: 24px !important;
  box-shadow: var(--shadow-sm);
}

.entry__title,
.entry__title a,
.post-list-small__entry-title,
.post-list-small__entry-title a,
.daryo-item__title,
.daryo-item__title a,
.single-post__entry-title {
  color: #0f172a !important;
}

.entry__title a:hover,
.post-list-small__entry-title a:hover,
.daryo-item__title a:hover {
  color: #2563eb !important;
}

.post-list-small__entry-title a {
  font-weight: 600;
  line-height: 1.4;
}

/* BARCHASI ELEGANT HIGH-INTERACTIVE PILL BUTTON */
.all-posts-url {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 5px 15px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.08) !important;
  border: 1px solid rgba(37, 99, 235, 0.2) !important;
  border-radius: var(--radius-full) !important;
  transition: all var(--transition-fast) !important;
  text-decoration: none !important;
  float: right;
  margin-top: 2px;
}

.all-posts-url::after {
  content: ' →';
  font-weight: 800;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.all-posts-url:hover {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-1px) !important;
}

.all-posts-url:hover::after {
  transform: translateX(3px);
}

/* ==========================================
   DARYO.UZ STYLE ARTICLE DETAILS PAGE (FULLSTORY)
   ========================================== */

.single-post__entry-title {
  font-size: 1.75rem !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  margin-bottom: 16px !important;
}

.entry__meta-holder {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
}

.entry__meta-holder .entry__meta {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.entry__meta-holder .entry__meta li {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* DARYO.UZ EXACT FULL WIDTH CENTERED HERO IMAGE IN ARTICLE */
.single-post__hero-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 480px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  margin: 16px 0 24px 0 !important;
  background-color: transparent !important;
  box-shadow: var(--shadow-md) !important;
  float: none !important;
  display: block !important;
}

.single-post__hero-img img.entry__img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 480px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  display: block !important;
  margin: 0 auto !important;
}

.full_story {
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  color: var(--text-primary) !important;
}

.full_story p {
  color: inherit !important;
  margin-bottom: 20px !important;
}

.full_story img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
  margin: 16px 0 !important;
  display: block !important;
}

/* RELATED NEWS (O'XSHASH YANGILIKLAR) GRID - DARYO.UZ STYLE */
.related-posts__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin-top: 16px !important;
}

.related-entry {
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  padding: 12px !important;
  transition: all var(--transition-fast) !important;
}

.related-entry:hover {
  border-color: var(--accent-primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

.related-entry .entry__img-holder {
  width: 100% !important;
  height: 120px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
  flex-shrink: 0 !important;
}

.related-entry .entry__img-holder img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.related-entry .entry__title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-bottom: 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.related-entry .entry__meta {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

/* UNIFIED DARYO.UZ SECTION ROW LISTS ON HOMEPAGE (FULL WIDTH DESKTOP STRETCH) */
.daryo-block-list .featured-posts-grid__item,
.daryo-block-list .entry.card {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 20px !important;
  padding: 16px 0 !important;
  margin-bottom: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 100% !important;
}

.daryo-block-list .featured-posts-grid__item:last-child,
.daryo-block-list .entry.card:last-child {
  border-bottom: none !important;
}

.daryo-block-list .entry__img-holder {
  width: 170px !important;
  min-width: 170px !important;
  max-width: 170px !important;
  height: 115px !important;
  min-height: 115px !important;
  max-height: 115px !important;
  border-radius: 12px !important;
  order: -1 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
}

.daryo-block-list .entry__body {
  flex: 1 !important;
  padding: 0 !important;
  background: transparent !important;
}

.daryo-block-list .entry__title {
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  margin-bottom: 6px !important;
}

.daryo-block-list .entry__excerpt {
  display: block !important;
  font-size: 0.88rem !important;
  color: var(--text-secondary) !important;
  margin-top: 4px !important;
  line-height: 1.5 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.daryo-block-list .entry__meta {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 4px !important;
}

/* DARYO.UZ STYLE CATEGORY & ARCHIVE LIST PAGE (EXACT MATCH IMAGE 2 - CLEAN TRANSPARENT ROWS) */
.blog__content .post-list,
.post-list.card {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 20px !important;
  padding: 18px 0 !important;
  border: none !important;
  border-bottom: 1px solid var(--border-color) !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
}

.post-list .entry__img-holder {
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
  height: 125px !important;
  min-height: 125px !important;
  max-height: 125px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  order: -1 !important;
  position: relative !important;
  background-size: cover !important;
  background-position: center !important;
}

.post-list .entry__body {
  flex: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.post-list .entry__title {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-bottom: 6px !important;
}

.post-list .entry__excerpt {
  display: block !important;
  font-size: 0.88rem !important;
  color: var(--text-secondary) !important;
  margin-top: 4px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.post-list .entry__meta {
  margin-top: 8px !important;
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
}

/* DESKTOP HOMEPAGE TOP GRID - EXACT DARYO.UZ CLEAN ROW MATCH (NO WHITE BOXES!) */
@media (min-width: 768px) {
  .featured-posts-grid .row {
    display: flex !important;
    align-items: stretch !important;
  }

  .featured-posts-grid .col-lg-6:first-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding-right: 20px !important;
  }

  /* Left column: 3 Daryo.uz style horizontal rows (NO WHITE CARD BOXES!) */
  .featured-posts-grid .col-lg-6:first-child .entry.card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 12px 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex: 1 !important;
  }

  .featured-posts-grid .col-lg-6:first-child .entry.card:last-child {
    border-bottom: none !important;
  }

  /* Left cards thumbnail image (Placed cleanly on LEFT, 160x105px) */
  .featured-posts-grid .col-lg-6:first-child .entry__img-holder {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    height: 105px !important;
    min-height: 105px !important;
    max-height: 105px !important;
    border-radius: 10px !important;
    order: -1 !important; /* Put thumbnail image on LEFT */
    margin: 0 !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .featured-posts-grid .col-lg-6:first-child .entry__body {
    flex: 1 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: transparent !important;
  }

  .featured-posts-grid .col-lg-6:first-child .entry__title {
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }

  /* Right column Hero Card - Clean Hero Container */
  .featured-posts-grid .col-lg-6:last-child .entry.card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    margin-bottom: 0 !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-sm) !important;
    overflow: hidden !important;
  }

  .featured-posts-grid .col-lg-6:last-child .entry__img-holder {
    height: 250px !important;
    width: 100% !important;
  }
}

/* Top Bar Fixes */
.top-bar {
  background: var(--bg-surface) !important;
  border-bottom: 1px solid var(--border-color);
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.top-menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.top-menu li {
  display: inline-block;
}

.top-menu li a {
  color: var(--text-secondary);
  font-weight: 500;
  margin-right: 14px !important;
  white-space: nowrap !important;
}

.top-menu li a:hover {
  color: var(--accent-primary);
}

.dateglav {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Header & Clean Navigation */
header.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.nav__holder {
  padding: 0 !important;
  height: 60px;
  display: flex;
  align-items: center;
}

.logo {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: none !important;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}

.nav__menu {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 60px;
}

.nav__menu > li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__menu > li > a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: var(--text-primary) !important;
  padding: 18px 12px !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 2px solid transparent !important;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav__menu > li > a:hover,
.nav__menu > li.active > a {
  background: transparent !important;
  color: var(--accent-primary) !important;
  border-bottom: 2px solid var(--accent-primary) !important;
}

.nav__right {
  gap: 12px;
}

/* Submenu Dropdown */
.nav__dropdown-menu {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 8px 0;
}

.nav__dropdown-menu a {
  color: var(--text-primary) !important;
  padding: 8px 20px !important;
  font-size: 0.85rem;
}

.nav__dropdown-menu a:hover {
  background: rgba(37, 99, 235, 0.08) !important;
  color: var(--accent-primary) !important;
}

/* Dark Mode Switcher Button - Shifted right on desktop for clean breathing room */
.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 20px !important;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--border-color);
  transform: scale(1.05);
}

/* Trending / Live Ticker */
.trending-now {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px 14px;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
}

.trending-now__label {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-right: 14px !important;
}

.trending-pulse {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.newsticker__list li a {
  color: var(--text-primary);
  font-weight: 500;
}

.newsticker__list li a:hover {
  color: var(--accent-primary);
}

/* Category Section Titles */
.title-wrap {
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
  position: relative;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: -2px;
  border-bottom: 3px solid var(--accent-primary);
  color: var(--text-primary);
}

/* Sidebar Title Styling */
.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-primary);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-primary);
}

.widget_categories ul li {
  border-bottom: 1px dashed var(--border-color);
  padding: 8px 0;
}

.widget_categories ul li a {
  color: var(--text-secondary);
  font-weight: 500;
}

.widget_categories ul li a:hover {
  color: var(--accent-primary);
  padding-left: 4px;
}

/* Article Page Container Box */
.content-box {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* Comments Section */
.comment-body {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  padding: 16px 20px !important;
  margin-bottom: 16px !important;
}

.comment-author {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
}

.comment-date {
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
}

/* Form Elements Styling */
input[type="text"], input[type="password"], input[type="email"], textarea, select {
  background-color: var(--bg-surface) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 14px !important;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  outline: none;
}

/* ==========================================
   FOOTER STYLISH ACCENT LINE (MODERN BLUE STYLED DIVIDER)
   ========================================== */

footer.footer,
.footer,
.footer--dark {
  background-color: #0b0f19 !important;
  background: #0b0f19 !important;
  color: #94a3b8 !important;
  border-top: 3px solid #2563eb !important; /* Premium Blue Accent Line at Top of Footer */
  padding-top: 30px !important;
  padding-bottom: 40px !important;
}

/* Strip all white cards from footer widgets */
.footer .widget,
.footer .widget-logo,
.footer .widget_nav_menu,
.footer aside.widget {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  box-shadow: none !important;
}

.footer .logo,
.footer .flogo {
  color: #ffffff !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  margin-bottom: 12px !important;
  display: inline-block !important;
}

.footer .widget-title,
.footer h4.widget-title {
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 16px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer .widget-title::after {
  display: none !important;
}

.footer p,
.footer .copyright {
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
}

.footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer ul li {
  margin-bottom: 8px !important;
  border: none !important;
  padding: 0 !important;
}

.footer ul li a {
  color: #cbd5e1 !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.footer ul li a:hover {
  color: #3b82f6 !important;
  padding-left: 0 !important;
}

/* Subtle separator for social icons */
.footer-soc {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 16px !important;
  margin-bottom: 24px !important;
  background: transparent !important;
}

.social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: #cbd5e1 !important;
  margin: 0 3px;
}

.social:hover {
  background: var(--accent-primary);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Back to top button */
#back-to-top a {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================
   PERFECT HIGH-SPECIFICITY DARK MODE SYSTEM OVERRIDE
   ========================================== */

html[data-theme="dark"],
[data-theme="dark"] {
  --bg-main: #0b0f19;
  --bg-surface: #151c2c;
  --bg-glass: rgba(15, 23, 42, 0.95);
  --bg-card: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;
  --border-color: #334155;
  --border-subtle: #1e293b;
}

/* HAMBURGER MOBILE MENU BUTTON LINES IN DARK MODE - PURE CRISP WHITE */
html[data-theme="dark"] .nav-icon-toggle__inner,
html[data-theme="dark"] .nav-icon-toggle__inner:before,
html[data-theme="dark"] .nav-icon-toggle__inner:after,
html[data-theme="dark"] .nav-icon-toggle__inner::before,
html[data-theme="dark"] .nav-icon-toggle__inner::after,
[data-theme="dark"] .nav-icon-toggle__inner,
[data-theme="dark"] .nav-icon-toggle__inner:before,
[data-theme="dark"] .nav-icon-toggle__inner:after,
[data-theme="dark"] .nav-icon-toggle__inner::before,
[data-theme="dark"] .nav-icon-toggle__inner::after {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

/* Crisp White Text for Badges in Dark Mode */
html[data-theme="dark"] .entry__meta-category,
[data-theme="dark"] .entry__meta-category {
  background: #2563eb !important;
  color: #ffffff !important;
}

/* Tags Section in Dark Mode - High Contrast Bright Blue Buttons & White Text */
html[data-theme="dark"] .entry__tags,
html[data-theme="dark"] .entry__tags-label,
html[data-theme="dark"] .entry__tags i,
[data-theme="dark"] .entry__tags,
[data-theme="dark"] .entry__tags-label,
[data-theme="dark"] .entry__tags i {
  color: #f8fafc !important;
}

html[data-theme="dark"] .entry__tags a,
[data-theme="dark"] .entry__tags a {
  background-color: #1e293b !important;
  color: #60a5fa !important;
  border: 1px solid #334155 !important;
}

/* Article Navigation (Oldingi / Keyingi Yangilik) in Dark Mode - Bright Electric Blue */
html[data-theme="dark"] .entry-navigation__label,
html[data-theme="dark"] .entry-navigation--left span,
html[data-theme="dark"] .entry-navigation--right span,
[data-theme="dark"] .entry-navigation__label,
[data-theme="dark"] .entry-navigation--left span,
[data-theme="dark"] .entry-navigation--right span {
  color: #cbd5e1 !important;
}

html[data-theme="dark"] .entry-navigation__link a,
html[data-theme="dark"] .entry-navigation--left a,
html[data-theme="dark"] .entry-navigation--right a,
[data-theme="dark"] .entry-navigation__link a,
[data-theme="dark"] .entry-navigation--left a,
[data-theme="dark"] .entry-navigation--right a {
  color: #60a5fa !important;
  font-weight: 700 !important;
}

/* Breadcrumbs Speedbar in Dark Mode */
html[data-theme="dark"] .speedbar,
html[data-theme="dark"] .speedbar a,
[data-theme="dark"] .speedbar,
[data-theme="dark"] .speedbar a {
  color: #cbd5e1 !important;
}

/* Article Body Text in Dark Mode - Pure High Contrast Platinum White */
html[data-theme="dark"] .full_story,
html[data-theme="dark"] .full_story p,
html[data-theme="dark"] .full_story span,
html[data-theme="dark"] .full_story div,
[data-theme="dark"] .full_story,
[data-theme="dark"] .full_story p,
[data-theme="dark"] .full_story span,
[data-theme="dark"] .full_story div {
  color: #f1f5f9 !important;
}

/* Article Meta info (Date, Views) in Dark Mode */
html[data-theme="dark"] .entry__meta-date,
html[data-theme="dark"] .entry__meta-views,
html[data-theme="dark"] .entry__meta-holder .entry__meta li,
[data-theme="dark"] .entry__meta-date,
[data-theme="dark"] .entry__meta-views,
[data-theme="dark"] .entry__meta-holder .entry__meta li {
  color: #cbd5e1 !important;
}

/* Comment Form Labels & Text Inputs in Dark Mode */
html[data-theme="dark"] label,
html[data-theme="dark"] .add-comment-form,
html[data-theme="dark"] form,
[data-theme="dark"] label,
[data-theme="dark"] .add-comment-form,
[data-theme="dark"] form {
  color: #f8fafc !important;
  font-weight: 600 !important;
}

html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="password"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder,
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: #94a3b8 !important;
}

/* ABSOLUTE DARK MODE HEADER OVERRIDES */
html[data-theme="dark"] header.nav,
html[data-theme="dark"] .nav__holder,
html[data-theme="dark"] .nav--sticky,
html[data-theme="dark"] .nav__wrap,
html[data-theme="dark"] .nav__menu,
html[data-theme="dark"] .top-bar,
[data-theme="dark"] header.nav,
[data-theme="dark"] .nav__holder,
[data-theme="dark"] .nav--sticky,
[data-theme="dark"] .nav__wrap,
[data-theme="dark"] .nav__menu,
[data-theme="dark"] .top-bar {
  background-color: #0f172a !important;
  background: #0f172a !important;
  border-color: #1e293b !important;
}

/* LOGO IN DARK MODE - PURE BRIGHT WHITE */
html[data-theme="dark"] .logo,
[data-theme="dark"] .logo {
  color: #ffffff !important;
}

/* HEADER MENU LINKS IN DARK MODE - ELEGANT PLATINUM SILVER */
html[data-theme="dark"] .nav__menu > li > a,
[data-theme="dark"] .nav__menu > li > a {
  color: #e2e8f0 !important;
}

/* ACTIVE & HOVER HEADER LINKS IN DARK MODE - VIBRANT ELECTRIC BLUE */
html[data-theme="dark"] .nav__menu > li.active > a,
html[data-theme="dark"] .nav__menu > li > a:hover,
[data-theme="dark"] .nav__menu > li.active > a,
[data-theme="dark"] .nav__menu > li > a:hover {
  color: #3b82f6 !important;
  border-bottom-color: #3b82f6 !important;
  background: transparent !important;
}

/* ICONS AND TOP MENU IN DARK MODE */
html[data-theme="dark"] .nav__right,
html[data-theme="dark"] .nav__search-trigger-icon,
[data-theme="dark"] .nav__right,
[data-theme="dark"] .nav__search-trigger-icon,
[data-theme="dark"] .top-menu li a,
[data-theme="dark"] .dateglav {
  color: #cbd5e1 !important;
}

/* HIGH-SPECIFICITY CARDS OVERRIDE IN DARK MODE */
html[data-theme="dark"] .featured-posts-grid__item,
html[data-theme="dark"] .featured-posts-grid__item--lg,
html[data-theme="dark"] .featured-posts-grid__item--sm,
html[data-theme="dark"] .featured-posts-grid__entry,
html[data-theme="dark"] .featured-posts-grid__entry .entry__body,
html[data-theme="dark"] .entry.card:not(.featured-posts-grid .col-lg-6:first-child .entry.card),
html[data-theme="dark"] .entry.card .entry__body,
html[data-theme="dark"] .card:not(.featured-posts-grid .col-lg-6:first-child .entry.card),
html[data-theme="dark"] .card__body,
html[data-theme="dark"] .entry__body,
html[data-theme="dark"] .widget:not(.footer .widget),
html[data-theme="dark"] .content-box,
html[data-theme="dark"] .trending-now,
html[data-theme="dark"] .comment-body,
[data-theme="dark"] .featured-posts-grid__item,
[data-theme="dark"] .featured-posts-grid__item--lg,
[data-theme="dark"] .featured-posts-grid__item--sm,
[data-theme="dark"] .featured-posts-grid__entry,
[data-theme="dark"] .featured-posts-grid__entry .entry__body,
[data-theme="dark"] .entry.card:not(.featured-posts-grid .col-lg-6:first-child .entry.card),
[data-theme="dark"] .entry.card .entry__body,
[data-theme="dark"] .card:not(.featured-posts-grid .col-lg-6:first-child .entry.card),
[data-theme="dark"] .card__body,
[data-theme="dark"] .entry__body,
[data-theme="dark"] .widget:not(.footer .widget),
[data-theme="dark"] .content-box,
[data-theme="dark"] .trending-now,
[data-theme="dark"] .comment-body {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .post-list-small,
html[data-theme="dark"] .post-list-small__item,
html[data-theme="dark"] .post-list-small__entry,
html[data-theme="dark"] .post-list-small__body,
[data-theme="dark"] .post-list-small,
[data-theme="dark"] .post-list-small__item,
[data-theme="dark"] .post-list-small__entry,
[data-theme="dark"] .post-list-small__entry,
[data-theme="dark"] .post-list-small__body {
  background-color: transparent !important;
  background: transparent !important;
}

/* HIGH-SPECIFICITY TITLE & TEXT OVERRIDE IN DARK MODE */
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3,
html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .widget-title,
html[data-theme="dark"] .entry__title,
html[data-theme="dark"] .entry__title a,
html[data-theme="dark"] .featured-posts-grid__entry .entry__title,
html[data-theme="dark"] .featured-posts-grid__entry .entry__title a,
html[data-theme="dark"] .post-list-small__entry-title,
html[data-theme="dark"] .post-list-small__entry-title a,
html[data-theme="dark"] .daryo-item__title,
html[data-theme="dark"] .daryo-item__title a,
html[data-theme="dark"] .single-post__entry-title,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,
[data-theme="dark"] .section-title,
[data-theme="dark"] .widget-title,
[data-theme="dark"] .entry__title,
[data-theme="dark"] .entry__title a,
[data-theme="dark"] .featured-posts-grid__entry .entry__title,
[data-theme="dark"] .featured-posts-grid__entry .entry__title a,
[data-theme="dark"] .post-list-small__entry-title,
[data-theme="dark"] .post-list-small__entry-title a,
[data-theme="dark"] .daryo-item__title,
[data-theme="dark"] .daryo-item__title a,
[data-theme="dark"] .single-post__entry-title {
  color: #f8fafc !important;
}

html[data-theme="dark"] .entry__title a:hover,
html[data-theme="dark"] .post-list-small__entry-title a:hover,
html[data-theme="dark"] .daryo-item__title a:hover,
[data-theme="dark"] .entry__title a:hover,
[data-theme="dark"] .post-list-small__entry-title a:hover,
[data-theme="dark"] .daryo-item__title a:hover {
  color: #60a5fa !important;
}

/* HIGH-SPECIFICITY META TEXT & AUTHOR IN DARK MODE */
html[data-theme="dark"] .entry__meta,
html[data-theme="dark"] .entry__meta li,
html[data-theme="dark"] .entry__meta-author,
html[data-theme="dark"] .entry__meta-author a,
html[data-theme="dark"] .entry__meta-date,
html[data-theme="dark"] .daryo-item__meta-top,
html[data-theme="dark"] .daryo-item__meta-bottom,
html[data-theme="dark"] .entry__excerpt,
[data-theme="dark"] .entry__meta,
[data-theme="dark"] .entry__meta li,
[data-theme="dark"] .entry__meta-author,
[data-theme="dark"] .entry__meta-author a,
[data-theme="dark"] .entry__meta-date,
[data-theme="dark"] .daryo-item__meta-top,
[data-theme="dark"] .daryo-item__meta-bottom,
[data-theme="dark"] .entry__excerpt {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .daryo-item:hover {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

/* ==========================================
   MOBILE SCREEN EXACT DARYO.UZ COMPACT MATCH OVERRIDE
   APPLIES TO ALL CARDS, FEATURED GRIDS & HOMEPAGE BLOCKS
   ========================================== */
@media (max-width: 767.98px) {
  .theme-toggle-btn {
    margin-left: 10px !important;
  }

  /* Hide Like/Dislike rating buttons on mobile list items to prevent breaking layout */
  .entry__body .right,
  .btn-sm.entry__meta-category--green,
  .btn-sm.entry__meta-category--red {
    display: none !important;
  }

  /* Related posts grid on mobile - clean horizontal rows */
  .related-posts__grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .related-entry {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px !important;
  }

  .related-entry .entry__img-holder {
    width: 100px !important;
    min-width: 100px !important;
    height: 70px !important;
    margin-bottom: 0 !important;
  }

  /* Article header titles on mobile */
  .single-post__entry-title {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
  }

  .single-post__hero-img,
  .single-post__hero-img img.entry__img {
    border-radius: 12px !important;
    max-height: 260px !important;
  }

  /* Force all news cards to render as horizontal rows on mobile */
  .featured-posts-grid__item,
  .featured-posts-grid__entry,
  .entry.card:not(.single-post),
  .thumb--size-1,
  .thumb--size-2,
  .post-list,
  .daryo-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: initial !important;
    max-height: initial !important;
  }
  
  .featured-posts-grid__item--lg,
  .featured-posts-grid__item--sm {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  
  .entry__img-holder:not(.single-post__hero-img),
  .thumb__img-holder,
  .daryo-item__img-holder,
  .card__img-holder:not(.single-post__hero-img) {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    margin-bottom: 0 !important;
  }
  
  /* Hide Category badge on top of small 110px thumbnail image on mobile */
  .entry__img-holder:not(.single-post__hero-img) .entry__meta-category,
  .thumb__img-holder .entry__meta-category,
  .card__img-holder:not(.single-post__hero-img) .entry__meta-category {
    display: none !important;
  }
  
  .entry__img,
  .daryo-item__img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  .entry__body,
  .card__body,
  .thumb-text-holder,
  .daryo-item__content {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    background: transparent !important;
  }
  
  .entry__title,
  .thumb-entry-title,
  .daryo-item__title {
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin: 0 0 4px 0 !important;
    color: var(--text-primary) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  
  .entry__title a,
  .thumb-entry-title a,
  .daryo-item__title a {
    color: var(--text-primary) !important;
  }
  
  .entry__excerpt,
  .daryo-item__excerpt,
  .entry__read-more,
  .bottom-gradient {
    display: none !important;
  }
  
  .entry__meta,
  .daryo-item__meta-top,
  .daryo-item__meta-bottom {
    margin-bottom: 0 !important;
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    display: flex !important;
    gap: 8px !important;
  }
  
  .entry__meta-category {
    font-size: 0.65rem !important;
    padding: 2px 8px !important;
  }

  .content-box {
    padding: 14px !important;
  }
  
  .main-menu {
    display: none;
  }
}
