/* ============================================================
   Your Newz Ã¢â‚¬â€ Custom CSS
   Figma-matched layout + Dark / Light Mode
   ============================================================ */

/* ============================================================
   1. BRAND COLOR
   ============================================================ */
:root {
  --tp-theme-primary: #ea250e;
  --tp-blue-1: #ea250e;
  --tp-theme-1: #ea250e;
  --bs-primary: #ea250e;
  --bs-primary-rgb: 234, 37, 14;
  --bs-link-color: #ea250e;
  --bs-link-hover-color: #c41f0c;
}

/* ============================================================
   2. LIGHT MODE TOKENS  (default)
   ============================================================ */
:root {
  --yn-bg-page: #f4f5f7;
  --yn-bg-card: #ffffff;
  --yn-bg-header: #ffffff;
  --yn-bg-nav: #ffffff;
  --yn-bg-footer: #ffffff;
  --yn-bg-footer-btm: #f8f9fa;
  --yn-bg-info-bar: #ffffff;

  --yn-border: #e8eaed;
  --yn-border-light: #eceef1;
  --yn-border-input: #dde1e6;

  --yn-text-primary: #1a1a1a;
  --yn-text-heading: #111111;
  --yn-text-secondary: #555555;
  --yn-text-muted: #888888;
  --yn-text-xmuted: #aaaaaa;

  --yn-panel-head-border: #f0f1f3;
  --yn-ad-placeholder-bg: #ffffff;
  --yn-ad-placeholder-border: #d0d3d8;

  --yn-search-bg: #ffffff;
  --yn-search-text: #333333;
  --yn-search-placeholder: #9aa0a8;

  --yn-icon-btn-bg: #ffffff;
  --yn-icon-btn-border: #dde1e6;
  --yn-icon-btn-color: #222222;

  --yn-poll-bar-bg: #f0f1f3;
  --yn-poll-q-color: #333333;
  --yn-poll-opt-color: #444444;

  --yn-trend-tag-color: #222222;
  --yn-trend-count-color: #888888;
  --yn-trending-border: #f0f1f3;

  --yn-short-card-title: #222222;
  --yn-short-views-color: #888888;

  --yn-live-meta-color: #333333;

  --yn-social-border: #e8eaed;
  --yn-social-color: #555555;

  --yn-info-bar-color: #444444;
  --yn-info-live-color: #111111;
  --yn-info-sep-color: #cccccc;

  --yn-footer-desc: #555555;
  --yn-footer-link: #444444;
  --yn-footer-heading: #111111;

  --yn-news-title-color: #1a1a1a;
  --yn-breaking-bg: linear-gradient(90deg, #2c0f0c 0%, #1a0806 50%, #2c0f0c 100%);

  --yn-theme-toggle-bg: #2b2b2b;
  --yn-theme-toggle-color: #ffffff;
}

/* ============================================================
   3. DARK MODE TOKENS
   ============================================================ */
[data-theme="dark"] {
  --yn-bg-page: #0f0f11;
  --yn-bg-card: #1a1a1f;
  --yn-bg-header: #111114;
  --yn-bg-nav: #111114;
  --yn-bg-footer: #111114;
  --yn-bg-footer-btm: #0f0f11;
  --yn-bg-info-bar: #111114;
  --yn-bg-body: #16161b;

  --yn-border: #2a2a32;
  --yn-border-light: #222228;
  --yn-border-input: #2e2e38;

  --yn-text-primary: #ececf2;
  --yn-text-heading: #f5f5f8;
  --yn-text-secondary: #c4c4d0;
  --yn-text-muted: #9a9aac;
  --yn-text-xmuted: #78788a;

  --yn-panel-head-border: #2a2a32;
  --yn-ad-placeholder-bg: #1a1a1f;
  --yn-ad-placeholder-border: #2e2e38;

  --yn-search-bg: #1e1e24;
  --yn-search-text: #e0e0e8;
  --yn-search-placeholder: #5a5a6a;

  --yn-icon-btn-bg: #1e1e24;
  --yn-icon-btn-border: #2e2e38;
  --yn-icon-btn-color: #e0e0e8;

  --yn-poll-bar-bg: #252530;
  --yn-poll-q-color: #d0d0d8;
  --yn-poll-opt-color: #b0b0bc;

  --yn-trend-tag-color: #e0e0e8;
  --yn-trend-count-color: #6a6a7a;
  --yn-trending-border: #2a2a32;

  --yn-short-card-title: #e0e0e8;
  --yn-short-views-color: #6a6a7a;

  --yn-live-meta-color: #d0d0d8;

  --yn-social-border: #2a2a32;
  --yn-social-color: #b0b0bc;

  --yn-info-bar-color: #b0b0bc;
  --yn-info-live-color: #e0e0e8;
  --yn-info-sep-color: #333340;

  --yn-footer-desc: #8080a0;
  --yn-footer-link: #9090a0;
  --yn-footer-heading: #e0e0e8;

  --yn-news-title-color: #e0e0e8;
  --yn-breaking-bg: linear-gradient(90deg, #1a0806 0%, #0f0403 50%, #1a0806 100%);

  --yn-theme-toggle-bg: #f4f4f0;
  --yn-theme-toggle-color: #111111;
}

/* ============================================================
   4. GLOBAL PAGE
   ============================================================ */
html {
  transition: background-color 0.3s, color 0.3s;
}

body:has(main.yn-home),
[data-theme="dark"] body:has(main.yn-home) {
  background-color: var(--yn-bg-page);
}

.tp-theme-settings-area {
  display: none !important;
}

/* ============================================================
   5. LOGO SIZING â€” nirbhaynews-style badge logo
   ============================================================ */
.site-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.logo .site-logo {
  max-height: 64px;
  max-width: min(100%, 200px);
}

.offcanvas__logo .site-logo {
  max-height: 72px;
  max-width: min(100%, 220px);
}

.tp-footer-logo .site-logo {
  max-height: 80px;
  max-width: min(100%, 240px);
}

@media (min-width: 576px) {
  .logo .site-logo {
    max-height: 72px;
    max-width: min(100%, 220px);
  }
}

@media (min-width: 992px) {
  .logo .site-logo {
    max-height: 84px;
    max-width: min(100%, 260px);
  }
}

@media (min-width: 1200px) {
  .logo .site-logo {
    max-height: 92px;
    max-width: min(100%, 280px);
  }
}

@media (max-width: 575px) {
  .logo .site-logo {
    max-height: 52px;
    max-width: min(100%, 160px);
  }

  .tp-footer-logo .site-logo {
    max-height: 64px;
    max-width: min(100%, 200px);
  }
}

/* ============================================================
   6. SITE HEADER
   ============================================================ */
.yn-site-header {
  background: var(--yn-bg-header);
  position: relative;
  z-index: 999;
  transition: background 0.3s, box-shadow 0.3s;
}

.yn-header-sticky {
  background: var(--yn-bg-header);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 0 var(--yn-border-light);
  transition: background 0.3s, box-shadow 0.3s;
}

/* Top bar */
.yn-header-top {
  padding: 10px 0;
  border-bottom: 1px solid var(--yn-border-light);
  position: relative;
  z-index: 2;
}

.yn-header-top-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Brand logo â€” vertically centered with search/tools */
.yn-brand {
  flex-shrink: 0;
  text-decoration: none !important;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  align-self: center;
  position: relative;
  z-index: 5;
  margin: 0;
  padding: 0;
}

.yn-brand .site-logo {
  max-height: 60px;
  max-width: min(100%, 190px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

@media (min-width: 576px) {
  .yn-brand .site-logo {
    max-height: 64px;
    max-width: min(100%, 210px);
  }
}

@media (min-width: 992px) {
  .yn-header-top {
    padding: 12px 0;
  }

  .yn-brand .site-logo {
    max-height: 72px;
    max-width: min(100%, 240px);
  }
}

@media (min-width: 1200px) {
  .yn-brand .site-logo {
    max-height: 90px;
    max-width: min(100%, 260px);
  }
}

@media (max-width: 575px) {
  .yn-header-top {
    padding: 8px 0;
  }

  .yn-brand .site-logo {
    max-height: 48px;
    max-width: min(100%, 150px);
    border-radius: 8px;
  }
}

.yn-brand-title {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.yn-brand-your {
  color: var(--yn-text-heading);
}

.yn-brand-newz {
  color: var(--tp-theme-primary);
}

.yn-brand-tagline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--yn-text-secondary);
  margin-top: 4px;
}

/* Search */
.yn-search-form {
  flex: 1;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
}

.yn-search-form input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--yn-border-input);
  border-radius: 8px;
  padding: 0 48px 0 16px;
  font-size: 14px;
  color: var(--yn-search-text);
  background: var(--yn-search-bg);
  outline: none;
  transition: border-color 0.2s, background 0.3s, color 0.3s;
}

.yn-search-form input:focus {
  border-color: var(--tp-theme-primary);
}

.yn-search-form input::placeholder {
  color: var(--yn-search-placeholder);
}

.yn-search-form button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--yn-text-secondary);
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
}

.yn-search-form button:hover {
  color: var(--tp-theme-primary);
}

/* Header tools */
.yn-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.yn-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 6px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.2s;
  line-height: 1;
}

.yn-header-btn-report {
  border: 1.5px solid var(--tp-theme-primary);
  color: var(--tp-theme-primary) !important;
  background: transparent;
}

.yn-header-btn-report:hover {
  background: rgba(234, 37, 14, 0.08);
}

.yn-header-btn-live {
  background: var(--tp-theme-primary);
  color: #fff !important;
  border: 1.5px solid var(--tp-theme-primary);
}

.yn-header-btn-live:hover {
  background: #c41f0c;
  border-color: #c41f0c;
}

/* Language dropdown (theme matched) */
.yn-lang-dropdown .yn-header-btn {
  border: 1.5px solid var(--tp-theme-primary);
  color: var(--tp-theme-primary) !important;
  background: transparent;
  cursor: pointer;
}

.yn-lang-dropdown .yn-header-btn:hover,
.yn-lang-dropdown.show .yn-header-btn {
  background: rgba(234, 37, 14, 0.08);
}

.yn-lang-dropdown .dropdown-toggle::after {
  margin-left: 2px;
  vertical-align: middle;
}

.yn-lang-dropdown .dropdown-menu {
  min-width: 150px;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid var(--yn-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(4, 18, 38, 0.12);
  background: var(--yn-bg-card, #fff);
}

.yn-lang-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--yn-text-primary, #041226);
}

.yn-lang-dropdown .dropdown-item:hover,
.yn-lang-dropdown .dropdown-item:focus {
  background: rgba(234, 37, 14, 0.08);
  color: var(--tp-theme-primary);
}

.yn-lang-dropdown .dropdown-item.active {
  background: var(--tp-theme-primary);
  color: #fff;
}

.yn-lang-auth .yn-lang-dropdown {
  display: inline-flex !important;
}

.yn-lang-switcher-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--yn-text-muted, #6b7280);
  margin-bottom: 8px;
}

.yn-lang-switcher-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yn-lang-switcher-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1.5px solid var(--tp-theme-primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-theme-primary);
  text-decoration: none;
}

.yn-lang-switcher-link:hover,
.yn-lang-switcher-link.active {
  background: var(--tp-theme-primary);
  color: #fff;
}

.yn-header-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--yn-icon-btn-border);
  border-radius: 8px;
  background: var(--yn-icon-btn-bg);
  color: var(--yn-icon-btn-color) !important;
  font-size: 17px;
  cursor: pointer;
  padding: 0;
  text-decoration: none !important;
  transition: all 0.2s;
}

.yn-header-icon-btn:hover {
  border-color: var(--tp-theme-primary);
  color: var(--tp-theme-primary) !important;
}

/* ============================================================
   7. NAV BAR
   ============================================================ */
.yn-nav-bar {
  background: var(--yn-bg-nav);
  border-bottom: 1px solid var(--yn-border-light);
  padding: 10px 0;
  overflow: visible;
  position: relative;
  z-index: 1;
  transition: background 0.3s;
}

.yn-nav-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yn-nav-fixed {
  flex-shrink: 0;
}

.yn-nav-scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.yn-nav-scroll::-webkit-scrollbar {
  display: none;
}

.yn-nav-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-width: 100%;
}

.yn-nav-track.yn-nav-track--scroll {
  animation: none;
}

.yn-nav-categories {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.yn-nav-categories--clone {
  display: none !important;
}

.yn-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}

.yn-nav::-webkit-scrollbar {
  display: none;
}

@keyframes yn-nav-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.yn-nav-link {
  color: var(--yn-text-primary) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  white-space: nowrap;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s;
}

.yn-nav-link:hover {
  color: var(--tp-theme-primary) !important;
}

.yn-nav-link.active {
  background: var(--tp-theme-primary);
  color: #fff !important;
}

.yn-nav-link.active:hover {
  background: #c41f0c;
  color: #fff !important;
}

.yn-nav-item {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  padding: 6px 2px 10px;
  margin: -6px 0 -10px;
}

.yn-nav-item--has-children > .yn-nav-link {
  padding-right: 18px;
}

.yn-nav-item--has-children > .yn-nav-link .yn-nav-caret {
  font-size: 10px;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.yn-nav-item--has-children.is-open > .yn-nav-link .yn-nav-caret,
.yn-nav-item--has-children:hover > .yn-nav-link .yn-nav-caret {
  transform: rotate(180deg);
}

/* Invisible bridge so mouse can move from label â†’ dropdown without closing */
.yn-nav-item--has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
  z-index: 1199;
  pointer-events: none;
}

.yn-nav-item--has-children:hover::after,
.yn-nav-item--has-children.is-open::after {
  pointer-events: auto;
}

.yn-nav-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  max-width: 320px;
  padding: 10px 0;
  border-radius: 12px;
  background: var(--yn-bg-card, #fff);
  border: 1px solid var(--yn-border-light, #e8eaee);
  box-shadow: 0 12px 28px rgba(4, 18, 38, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 1200;
}

.yn-nav-item--has-children:hover > .yn-nav-dropdown,
.yn-nav-item--has-children.is-open > .yn-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.yn-nav-dropdown-link {
  display: block;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--yn-text-primary, #041226) !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.yn-nav-dropdown-link:hover,
.yn-nav-dropdown-link:focus,
.yn-nav-dropdown-link.active {
  background: rgba(196, 30, 58, 0.08);
  color: var(--tp-theme-primary) !important;
}

.yn-nav-scroll--dropdown-open {
  overflow: visible;
}

.yn-subcat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}

.yn-subcat-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--yn-border-light, #e5e7eb);
  background: var(--yn-bg-card, #fff);
  color: var(--yn-text-primary, #041226) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.18s ease;
}

.yn-subcat-chip:hover {
  border-color: var(--tp-theme-primary);
  color: var(--tp-theme-primary) !important;
}

.yn-subcat-chip.active {
  background: var(--tp-theme-primary);
  border-color: var(--tp-theme-primary);
  color: #fff !important;
}

.yn-offcanvas-cat-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.yn-offcanvas-cat-link {
  flex: 1;
  min-width: 0;
  display: block;
  padding: 10px 8px 10px 46px;
  font-size: 14px;
  font-weight: 500;
  color: var(--yn-text-primary, #041226);
  text-decoration: none;
}

.yn-offcanvas-cat-link:hover,
.yn-offcanvas-cat-link.active {
  color: var(--tp-theme-primary);
  background: rgba(196, 30, 58, 0.05);
}

.yn-offcanvas-subcat-toggle {
  width: 44px;
  border: 0;
  background: transparent;
  color: var(--yn-text-muted, #6b7280);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.yn-offcanvas-subcat-toggle.is-open {
  color: var(--tp-theme-primary);
}

.yn-offcanvas-subcat-toggle.is-open i {
  transform: rotate(180deg);
}

.yn-offcanvas-subcat-toggle i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.yn-offcanvas-subcat-list {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  background: rgba(4, 18, 38, 0.03);
}

.yn-offcanvas-subcat-list li a {
  display: block;
  padding: 9px 16px 9px 62px !important;
  font-size: 13px !important;
  font-weight: 500;
  color: var(--yn-text-primary, #041226);
  text-decoration: none;
}

.yn-offcanvas-subcat-list li a:hover,
.yn-offcanvas-subcat-list li a.active {
  color: var(--tp-theme-primary);
  background: rgba(196, 30, 58, 0.05);
}

/* Theme toggle button */
.yn-theme-toggle {
  flex-shrink: 0;
  width: 60px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: var(--yn-theme-toggle-bg);
  color: var(--yn-theme-toggle-color);
  font-size: 14px;
  cursor: pointer;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.3s, color 0.3s;
  padding: 0 10px;
}

.yn-theme-toggle:hover {
  opacity: 0.85;
}

.yn-theme-toggle .yn-toggle-sun {
  display: none;
}

.yn-theme-toggle .yn-toggle-moon {
  display: inline;
}

[data-theme="dark"] .yn-theme-toggle .yn-toggle-sun {
  display: inline;
}

[data-theme="dark"] .yn-theme-toggle .yn-toggle-moon {
  display: none;
}

/* ============================================================
   8. BREAKING NEWS TICKER
   ============================================================ */
.yn-site-header .yn-breaking {
  display: flex;
  align-items: stretch;
  background: var(--yn-breaking-bg);
  min-height: 40px;
  overflow: hidden;
}

.yn-site-header .yn-breaking-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tp-theme-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 20px 0 16px;
  position: relative;
  z-index: 2;
}

.yn-site-header .yn-breaking-label::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 40px solid var(--tp-theme-primary);
  border-right: 14px solid transparent;
}

.yn-site-header .yn-breaking-label i {
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  flex-shrink: 0;
}

.yn-site-header .yn-breaking-track-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 14px;
  min-width: 0;
}

.yn-site-header .yn-breaking-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: yn-ticker var(--yn-breaking-duration, 20s) linear infinite;
  white-space: nowrap;
}

.yn-site-header .yn-breaking-track-wrap:hover .yn-breaking-track,
.yn-site-header .yn-breaking-track-wrap:focus-within .yn-breaking-track {
  animation-play-state: paused;
}

.yn-site-header .yn-breaking-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.yn-site-header .yn-breaking-item::before {
  content: "\2022";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.05em;
  line-height: 1;
  flex-shrink: 0;
}

.yn-site-header .yn-breaking-item:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yn-site-header .yn-breaking-item--text {
  cursor: default;
}

.yn-site-header .yn-breaking-item--text:hover {
  text-decoration: none;
}

@keyframes yn-ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   9. HOME BODY
   ============================================================ */
.yn-home {
  background: var(--yn-bg-page);
  color: var(--yn-text-primary);
  transition: background 0.3s, color 0.3s;
}

.yn-home a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.yn-home a:hover {
  color: var(--tp-theme-primary);
}

.yn-home-body {
  padding: 24px 0 32px;
}

.yn-home-grid {
  align-items: flex-start;
}

.yn-home-main,
.yn-home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.yn-home-block {
  margin-bottom: 0 !important;
}

.yn-home-sidebar .yn-panel {
  height: auto;
}

.yn-home-main>.row .yn-panel {
  height: 100%;
}

/* Keep homepage category rows equal height like Metro City | Politics */
.yn-home-main > .row.yn-home-block {
  align-items: stretch;
}

.yn-home-main > .row.yn-home-block > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.yn-home-main > .row.yn-home-block > [class*="col-"] > .yn-panel {
  flex: 1 1 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.yn-home-main > .row.yn-home-block .yn-news-list {
  flex: 1 1 auto;
}

.yn-home-main > .row {
  flex-shrink: 0;
  width: 100%;
}

/* Gen-Z uses Metro City dropdown classes; keep panel head aligned */
.yn-genz-head {
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 4;
}

#yn-genz-panel.is-updating {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

#yn-genz-panel.is-updated {
  animation: yn-my-city-fade-in 0.4s ease;
}

@media (min-width: 992px) {
  .yn-home-sidebar {
    position: sticky;
    top: 16px;
  }
}

.yn-home-body>.container-fluid>.row {
  margin-bottom: 24px;
}

.yn-home-body>.container-fluid>.row:last-child {
  margin-bottom: 0;
}

/* ============================================================
   10. PANELS
   ============================================================ */
.yn-panel {
  background: var(--yn-bg-card);
  border: 1px solid var(--yn-border);
  border-radius: 8px;
  padding: 18px 20px;
  height: 100%;
  transition: background 0.3s, border-color 0.3s;
}

.yn-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yn-panel-head-border);
}

.yn-panel-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--yn-text-heading);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 7px;
}

.yn-panel-title .yn-icon {
  color: var(--tp-theme-primary);
  font-size: 15px;
}

.yn-view-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-theme-primary) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.yn-view-more i {
  font-size: 11px;
}

/* My City Ã¢â‚¬â€ inline City Change dropdown (not popup) */
.yn-my-city-head {
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.yn-city-dd {
  position: relative;
  margin-left: auto;
  max-width: 100%;
}

.yn-city-change-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 148px;
  padding: 7px 12px;
  border: 1.5px solid var(--yn-border, #e4e4ea);
  border-radius: 8px;
  background: var(--yn-bg-panel, #fff);
  color: var(--yn-text-heading, #17171f);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.yn-city-change-btn:hover,
.yn-city-change-btn:focus-visible,
.yn-city-dd.is-open .yn-city-change-btn {
  border-color: var(--tp-theme-primary);
  box-shadow: 0 0 0 3px rgba(234, 37, 14, 0.12);
  outline: none;
}

.yn-city-change-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
  line-height: 1.2;
}

.yn-city-change-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yn-text-muted, #8a8a98);
}

.yn-city-change-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--yn-text-heading, #17171f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.yn-city-change-btn>.fa-chevron-down {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--tp-theme-primary);
  transition: transform 0.2s ease;
}

.yn-city-dd.is-open .yn-city-change-btn>.fa-chevron-down {
  transform: rotate(180deg);
}

.yn-city-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  background: var(--yn-bg-panel, #fff);
  border: 1px solid var(--yn-border, #e4e4ea);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(17, 17, 31, 0.16);
  overflow: hidden;
  z-index: 40;
}

.yn-city-dd-search-wrap {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid var(--yn-border, #e4e4ea);
}

.yn-city-dd-search-wrap>i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--yn-text-muted, #8a8a98);
  pointer-events: none;
}

.yn-city-dd-search {
  width: 100%;
  border: 1px solid var(--yn-border, #e4e4ea);
  border-radius: 7px;
  background: var(--yn-bg-body, #f7f7f9);
  color: var(--yn-text-heading, #17171f);
  font-size: 13px;
  padding: 8px 10px 8px 32px;
  outline: none;
}

.yn-city-dd-search:focus {
  border-color: var(--tp-theme-primary);
}

.yn-city-dd-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
}

.yn-city-dd-group-title {
  margin: 6px 8px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yn-text-muted, #8a8a98);
}

.yn-city-dd-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yn-text-heading, #17171f);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.yn-city-dd-item:hover,
.yn-city-dd-item:focus-visible {
  background: rgba(234, 37, 14, 0.08);
  color: var(--tp-theme-primary);
  outline: none;
}

.yn-city-dd-item.is-active {
  background: rgba(234, 37, 14, 0.12);
  color: var(--tp-theme-primary);
}

.yn-city-dd-item.is-active i,
.yn-city-dd-item.is-selecting i {
  color: var(--tp-theme-primary);
  font-size: 11px;
}

.yn-city-dd.is-busy {
  pointer-events: none;
  opacity: 0.75;
}

.yn-city-dd-empty {
  margin: 12px 8px;
  font-size: 13px;
  color: var(--yn-text-muted, #8a8a98);
  text-align: center;
}

/* Gen-Z dropdown = same UI as Metro City dropdown */
.yn-genz-dd {
  position: relative;
  margin-left: auto;
  max-width: 100%;
}

.yn-genz-change-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 148px;
  padding: 7px 12px;
  border: 1.5px solid var(--yn-border, #e4e4ea);
  border-radius: 8px;
  background: var(--yn-bg-panel, #fff);
  color: var(--yn-text-heading, #17171f);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.yn-genz-change-btn:hover,
.yn-genz-change-btn:focus-visible,
.yn-genz-dd.is-open .yn-genz-change-btn {
  border-color: var(--tp-theme-primary);
  box-shadow: 0 0 0 3px rgba(234, 37, 14, 0.12);
  outline: none;
}

.yn-genz-change-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
  line-height: 1.2;
}

.yn-genz-change-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yn-text-muted, #8a8a98);
}

.yn-genz-change-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--yn-text-heading, #17171f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.yn-genz-change-btn > .fa-chevron-down {
  font-size: 11px;
  color: var(--yn-text-muted, #8a8a98);
  transition: transform 0.2s ease;
}

.yn-genz-dd.is-open .yn-genz-change-btn > .fa-chevron-down {
  transform: rotate(180deg);
}

.yn-genz-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  background: var(--yn-bg-panel, #fff);
  border: 1px solid var(--yn-border, #e4e4ea);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(17, 17, 31, 0.16);
  overflow: hidden;
  z-index: 40;
}

.yn-genz-dd-search-wrap {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid var(--yn-border, #e4e4ea);
}

.yn-genz-dd-search-wrap > i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--yn-text-muted, #8a8a98);
  pointer-events: none;
}

.yn-genz-dd-search {
  width: 100%;
  border: 1px solid var(--yn-border, #e4e4ea);
  border-radius: 7px;
  background: var(--yn-bg-body, #f7f7f9);
  color: var(--yn-text-heading, #17171f);
  font-size: 13px;
  padding: 8px 10px 8px 32px;
  outline: none;
}

.yn-genz-dd-search:focus {
  border-color: var(--tp-theme-primary);
}

.yn-genz-dd-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
}

.yn-genz-dd-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yn-text-heading, #17171f);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.yn-genz-dd-item:hover,
.yn-genz-dd-item:focus-visible {
  background: rgba(234, 37, 14, 0.08);
  color: var(--tp-theme-primary);
  outline: none;
}

.yn-genz-dd-item.is-active {
  background: rgba(234, 37, 14, 0.12);
  color: var(--tp-theme-primary);
}

.yn-genz-dd-item.is-active i,
.yn-genz-dd-item.is-selecting i {
  color: var(--tp-theme-primary);
}

.yn-genz-dd.is-busy {
  pointer-events: none;
  opacity: 0.75;
}

.yn-genz-dd-empty {
  margin: 12px 8px;
  font-size: 13px;
  color: var(--yn-text-muted, #8a8a98);
  text-align: center;
}

@media (max-width: 575.98px) {
  .yn-genz-head {
    align-items: flex-start;
  }

  .yn-genz-dd {
    margin-left: 0;
    width: 100%;
  }

  .yn-genz-change-btn {
    justify-content: space-between;
  }

  .yn-genz-change-value {
    max-width: none;
  }

  .yn-genz-dd-menu {
    left: 0;
    right: 0;
    width: 100%;
  }
}

/* Gen-Z section dropdown (mirrors Metro City filter UI) */
.yn-genz-head {
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 4;
}

.yn-genz-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.yn-genz-dd {
  position: relative;
  max-width: 100%;
}

.yn-genz-change-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 148px;
  padding: 7px 12px;
  border: 1.5px solid var(--yn-border, #e4e4ea);
  border-radius: 8px;
  background: var(--yn-bg-panel, #fff);
  color: var(--yn-text-heading, #17171f);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.yn-genz-change-btn:hover,
.yn-genz-change-btn:focus-visible,
.yn-genz-dd.is-open .yn-genz-change-btn {
  border-color: var(--tp-theme-primary);
  box-shadow: 0 0 0 3px rgba(234, 37, 14, 0.12);
  outline: none;
}

.yn-genz-change-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
  line-height: 1.2;
}

.yn-genz-change-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yn-text-muted, #8a8a98);
}

.yn-genz-change-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--yn-text-heading, #17171f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.yn-genz-change-btn > .fa-chevron-down {
  font-size: 11px;
  color: var(--yn-text-muted, #8a8a98);
  transition: transform 0.2s ease;
}

.yn-genz-dd.is-open .yn-genz-change-btn > .fa-chevron-down {
  transform: rotate(180deg);
}

.yn-genz-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  background: var(--yn-bg-panel, #fff);
  border: 1px solid var(--yn-border, #e4e4ea);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(17, 17, 31, 0.16);
  overflow: hidden;
  z-index: 40;
}

.yn-genz-dd-search-wrap {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid var(--yn-border, #e4e4ea);
}

.yn-genz-dd-search-wrap > i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--yn-text-muted, #8a8a98);
  pointer-events: none;
}

.yn-genz-dd-search {
  width: 100%;
  border: 1px solid var(--yn-border, #e4e4ea);
  border-radius: 7px;
  background: var(--yn-bg-body, #f7f7f9);
  color: var(--yn-text-heading, #17171f);
  font-size: 13px;
  padding: 8px 10px 8px 32px;
  outline: none;
}

.yn-genz-dd-search:focus {
  border-color: var(--tp-theme-primary);
}

.yn-genz-dd-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
}

.yn-genz-dd-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yn-text-heading, #17171f);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.yn-genz-dd-item:hover,
.yn-genz-dd-item:focus-visible {
  background: rgba(234, 37, 14, 0.08);
  color: var(--tp-theme-primary);
  outline: none;
}

.yn-genz-dd-item.is-active {
  background: rgba(234, 37, 14, 0.12);
  color: var(--tp-theme-primary);
}

.yn-genz-dd-item.is-active i,
.yn-genz-dd-item.is-selecting i {
  color: var(--tp-theme-primary);
}

.yn-genz-dd.is-busy {
  pointer-events: none;
  opacity: 0.75;
}

.yn-genz-dd-empty {
  margin: 12px 8px;
  font-size: 13px;
  color: var(--yn-text-muted, #8a8a98);
  text-align: center;
}

#yn-genz-panel.is-updating {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

#yn-genz-panel.is-updated {
  animation: yn-my-city-fade-in 0.4s ease;
}

[data-theme="dark"] .yn-city-change-btn,
[data-theme="dark"] .yn-city-dd-menu {
  background: var(--yn-bg-card, #1a1a1f);
  border-color: var(--yn-border, #2a2a32);
  color: var(--yn-text-heading, #f0f0f4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .yn-city-dd-search-wrap {
  border-bottom-color: var(--yn-border, #2a2a32);
  background: var(--yn-bg-card, #1a1a1f);
}

[data-theme="dark"] .yn-city-dd-list {
  background: var(--yn-bg-card, #1a1a1f);
}

[data-theme="dark"] .yn-city-dd-search {
  background: var(--yn-bg-page, #0f0f11);
  border-color: var(--yn-border, #2a2a32);
  color: var(--yn-text-heading, #f0f0f4);
}

[data-theme="dark"] .yn-city-dd-search::placeholder {
  color: var(--yn-text-muted, #6a6a7a);
}

[data-theme="dark"] .yn-city-change-value,
[data-theme="dark"] .yn-city-dd-item,
[data-theme="dark"] .yn-city-dd-group-title {
  color: var(--yn-text-heading, #f0f0f4);
}

[data-theme="dark"] .yn-city-dd-group-title {
  color: var(--yn-text-muted, #6a6a7a);
}

[data-theme="dark"] .yn-city-dd-item:hover,
[data-theme="dark"] .yn-city-dd-item:focus-visible,
[data-theme="dark"] .yn-city-dd-item.is-active {
  background: rgba(234, 37, 14, 0.18);
}

@media (max-width: 575.98px) {
  .yn-my-city-head {
    align-items: flex-start;
  }

  .yn-city-dd {
    margin-left: 0;
    width: 100%;
  }

  .yn-city-change-btn {
    justify-content: space-between;
  }

  .yn-city-change-value {
    max-width: none;
  }

  .yn-city-dd-menu {
    left: 0;
    right: 0;
    width: 100%;
  }
}

/* My State Ã¢â‚¬â€ same dropdown pattern as My City */
.yn-my-state-head {
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.yn-state-dd {
  position: relative;
  margin-left: auto;
  max-width: 100%;
}

.yn-state-change-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 148px;
  padding: 7px 12px;
  border: 1.5px solid var(--yn-border, #e4e4ea);
  border-radius: 8px;
  background: var(--yn-bg-panel, #fff);
  color: var(--yn-text-heading, #17171f);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.yn-state-change-btn:hover,
.yn-state-change-btn:focus-visible,
.yn-state-dd.is-open .yn-state-change-btn {
  border-color: var(--tp-theme-primary);
  box-shadow: 0 0 0 3px rgba(234, 37, 14, 0.12);
  outline: none;
}

.yn-state-change-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
  line-height: 1.2;
}

.yn-state-change-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yn-text-muted, #8a8a98);
}

.yn-state-change-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--yn-text-heading, #17171f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.yn-state-change-btn>.fa-chevron-down {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--tp-theme-primary);
  transition: transform 0.2s ease;
}

.yn-state-dd.is-open .yn-state-change-btn>.fa-chevron-down {
  transform: rotate(180deg);
}

.yn-state-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  background: var(--yn-bg-panel, #fff);
  border: 1px solid var(--yn-border, #e4e4ea);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(17, 17, 31, 0.16);
  overflow: hidden;
  z-index: 40;
}

.yn-state-dd-search-wrap {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid var(--yn-border, #e4e4ea);
}

.yn-state-dd-search-wrap>i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--yn-text-muted, #8a8a98);
  pointer-events: none;
}

.yn-state-dd-search {
  width: 100%;
  border: 1px solid var(--yn-border, #e4e4ea);
  border-radius: 7px;
  background: var(--yn-bg-body, #f7f7f9);
  color: var(--yn-text-heading, #17171f);
  font-size: 13px;
  padding: 8px 10px 8px 32px;
  outline: none;
}

.yn-state-dd-search:focus {
  border-color: var(--tp-theme-primary);
}

.yn-state-dd-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
}

.yn-state-dd-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yn-text-heading, #17171f);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.yn-state-dd-item:hover,
.yn-state-dd-item:focus-visible {
  background: rgba(234, 37, 14, 0.08);
  color: var(--tp-theme-primary);
  outline: none;
}

.yn-state-dd-item.is-active {
  background: rgba(234, 37, 14, 0.12);
  color: var(--tp-theme-primary);
}

.yn-state-dd-item.is-active i,
.yn-state-dd-item.is-selecting i {
  color: var(--tp-theme-primary);
  font-size: 11px;
}

.yn-state-dd.is-busy {
  pointer-events: none;
  opacity: 0.75;
}

.yn-state-dd-empty {
  margin: 12px 8px;
  font-size: 13px;
  color: var(--yn-text-muted, #8a8a98);
  text-align: center;
}

#yn-my-state-panel {
  position: relative;
  z-index: 6;
  overflow: visible;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#yn-my-state-panel.is-updating {
  opacity: 0.45;
  transform: translateY(4px);
}

#yn-my-state-panel.is-updated {
  animation: yn-my-city-fade-in 0.4s ease;
}

[data-theme="dark"] .yn-state-change-btn,
[data-theme="dark"] .yn-state-dd-menu {
  background: var(--yn-bg-card, #1a1a1f);
  border-color: var(--yn-border, #2a2a32);
  color: var(--yn-text-heading, #f0f0f4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .yn-state-dd-search-wrap {
  border-bottom-color: var(--yn-border, #2a2a32);
  background: var(--yn-bg-card, #1a1a1f);
}

[data-theme="dark"] .yn-state-dd-list {
  background: var(--yn-bg-card, #1a1a1f);
}

[data-theme="dark"] .yn-state-dd-search {
  background: var(--yn-bg-page, #0f0f11);
  border-color: var(--yn-border, #2a2a32);
  color: var(--yn-text-heading, #f0f0f4);
}

[data-theme="dark"] .yn-state-dd-search::placeholder {
  color: var(--yn-text-muted, #6a6a7a);
}

[data-theme="dark"] .yn-state-change-value,
[data-theme="dark"] .yn-state-dd-item {
  color: var(--yn-text-heading, #f0f0f4);
}

[data-theme="dark"] .yn-state-dd-item:hover,
[data-theme="dark"] .yn-state-dd-item:focus-visible,
[data-theme="dark"] .yn-state-dd-item.is-active {
  background: rgba(234, 37, 14, 0.18);
}

@media (max-width: 575.98px) {
  .yn-my-state-head {
    align-items: flex-start;
  }

  .yn-state-dd {
    margin-left: 0;
    width: 100%;
  }

  .yn-state-change-btn {
    justify-content: space-between;
  }

  .yn-state-change-value {
    max-width: none;
  }

  .yn-state-dd-menu {
    left: 0;
    right: 0;
    width: 100%;
  }
}

.yn-view-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1.5px solid var(--tp-theme-primary);
  border-radius: 6px;
  background: transparent;
  color: var(--tp-theme-primary) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.yn-view-more-btn i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.yn-view-more-btn:hover {
  background: var(--tp-theme-primary);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(234, 37, 14, 0.22);
}

.yn-view-more-btn:hover i {
  transform: translateX(3px);
}

[data-theme="dark"] .yn-view-more-btn {
  border-color: var(--tp-theme-primary);
  color: var(--tp-theme-primary) !important;
}

[data-theme="dark"] .yn-view-more-btn:hover {
  background: var(--tp-theme-primary);
  color: #fff !important;
}

/* ============================================================
   11. NEWS LIST
   ============================================================ */
.yn-news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.yn-news-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.yn-news-thumb {
  flex-shrink: 0;
  width: 92px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.yn-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-news-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-news-thumb {
  position: relative;
}

.yn-lead-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.yn-lead:hover .yn-lead-thumb video {
  transform: scale(1.05);
}

.yn-short-news-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-wishlist-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-video-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  z-index: 2;
  pointer-events: none;
}

.yn-lead-thumb .yn-video-badge {
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.yn-news-body {
  flex: 1;
  min-width: 0;
}

.yn-news-body h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 4px;
  color: var(--yn-news-title-color);
}

.yn-news-body h3 a:hover {
  color: var(--tp-theme-primary);
}

.yn-news-body time {
  font-size: 12px;
  color: var(--yn-text-muted);
}

/* ---- Lead / featured first story (divyabhaskar style) ---- */
.yn-news-list-lead {
  gap: 16px;
}

.yn-lead {
  margin: 0 0 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--yn-border);
}

.yn-lead-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--yn-border-light);
}

.yn-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.yn-lead:hover .yn-lead-thumb img {
  transform: scale(1.05);
}

.yn-lead-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--tp-theme-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.yn-lead-body {
  padding-top: 11px;
}

.yn-lead-body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 7px;
  color: var(--yn-news-title-color);
}

.yn-lead-body h3 a:hover {
  color: var(--tp-theme-primary);
}

.yn-lead-body time {
  font-size: 12px;
  color: var(--yn-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yn-ph-lead {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8eaed 0%, #d5d9df 100%);
}

[data-theme="dark"] .yn-ph-lead {
  background: linear-gradient(135deg, #22222a 0%, #15151b 100%);
}

/* ============================================================
   12. IMAGE PLACEHOLDERS
   ============================================================ */
.yn-ph {
  display: block;
  background: linear-gradient(135deg, #e8eaed 0%, #d5d9df 100%);
}

.yn-ph-news {
  width: 100%;
  height: 100%;
}

.yn-news-item:nth-child(1) .yn-ph-news {
  background: linear-gradient(135deg, #fde8e6 0%, #f5c4be 100%);
}

.yn-news-item:nth-child(2) .yn-ph-news {
  background: linear-gradient(135deg, #e8f0fe 0%, #c5d7f5 100%);
}

.yn-news-item:nth-child(3) .yn-ph-news {
  background: linear-gradient(135deg, #e6f4ea 0%, #bfe3c8 100%);
}

.yn-news-item:nth-child(4) .yn-ph-news {
  background: linear-gradient(135deg, #fef7e0 0%, #f5dfa0 100%);
}

.yn-news-item:nth-child(5) .yn-ph-news {
  background: linear-gradient(135deg, #f3e8fd 0%, #d9c2f0 100%);
}

[data-theme="dark"] .yn-news-item:nth-child(1) .yn-ph-news {
  background: linear-gradient(135deg, #3a1a18 0%, #2a0f0d 100%);
}

[data-theme="dark"] .yn-news-item:nth-child(2) .yn-ph-news {
  background: linear-gradient(135deg, #182038 0%, #0e1525 100%);
}

[data-theme="dark"] .yn-news-item:nth-child(3) .yn-ph-news {
  background: linear-gradient(135deg, #1a2e1e 0%, #0f1e12 100%);
}

[data-theme="dark"] .yn-news-item:nth-child(4) .yn-ph-news {
  background: linear-gradient(135deg, #2e2514 0%, #1e1a0e 100%);
}

[data-theme="dark"] .yn-news-item:nth-child(5) .yn-ph-news {
  background: linear-gradient(135deg, #22183a 0%, #150f25 100%);
}

.yn-ph-short {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #3d3d3d 0%, #1a1a1a 100%);
}

.yn-short-card:nth-child(1) .yn-ph-short {
  background: linear-gradient(160deg, #4a3728 0%, #1a1410 100%);
}

.yn-short-card:nth-child(2) .yn-ph-short {
  background: linear-gradient(160deg, #28384a 0%, #101820 100%);
}

.yn-short-card:nth-child(3) .yn-ph-short {
  background: linear-gradient(160deg, #3a4a28 0%, #141a10 100%);
}

.yn-short-card:nth-child(4) .yn-ph-short {
  background: linear-gradient(160deg, #4a2848 0%, #1a1018 100%);
}

.yn-short-card:nth-child(5) .yn-ph-short {
  background: linear-gradient(160deg, #284a4a 0%, #101a1a 100%);
}

.yn-shorts-slider .swiper-slide:nth-child(1) .yn-ph-short {
  background: linear-gradient(160deg, #4a3728 0%, #1a1410 100%);
}

.yn-shorts-slider .swiper-slide:nth-child(2) .yn-ph-short {
  background: linear-gradient(160deg, #28384a 0%, #101820 100%);
}

.yn-shorts-slider .swiper-slide:nth-child(3) .yn-ph-short {
  background: linear-gradient(160deg, #3a4a28 0%, #141a10 100%);
}

.yn-shorts-slider .swiper-slide:nth-child(4) .yn-ph-short {
  background: linear-gradient(160deg, #4a2848 0%, #1a1018 100%);
}

.yn-shorts-slider .swiper-slide:nth-child(5) .yn-ph-short {
  background: linear-gradient(160deg, #284a4a 0%, #101a1a 100%);
}

.yn-shorts-slider-mobile .swiper-slide:nth-child(1) .yn-ph-short {
  background: linear-gradient(160deg, #4a3728 0%, #1a1410 100%);
}

.yn-shorts-slider-mobile .swiper-slide:nth-child(2) .yn-ph-short {
  background: linear-gradient(160deg, #28384a 0%, #101820 100%);
}

.yn-shorts-slider-mobile .swiper-slide:nth-child(3) .yn-ph-short {
  background: linear-gradient(160deg, #3a4a28 0%, #141a10 100%);
}

.yn-shorts-slider-mobile .swiper-slide:nth-child(4) .yn-ph-short {
  background: linear-gradient(160deg, #4a2848 0%, #1a1018 100%);
}

.yn-shorts-slider-mobile .swiper-slide:nth-child(5) .yn-ph-short {
  background: linear-gradient(160deg, #284a4a 0%, #101a1a 100%);
}

.yn-shorts-grid .yn-short-card:nth-child(1) .yn-ph-short {
  background: linear-gradient(160deg, #4a3728 0%, #1a1410 100%);
}

.yn-shorts-grid .yn-short-card:nth-child(2) .yn-ph-short {
  background: linear-gradient(160deg, #28384a 0%, #101820 100%);
}

.yn-shorts-grid .yn-short-card:nth-child(3) .yn-ph-short {
  background: linear-gradient(160deg, #3a4a28 0%, #141a10 100%);
}

.yn-shorts-grid .yn-short-card:nth-child(4) .yn-ph-short {
  background: linear-gradient(160deg, #4a2848 0%, #1a1018 100%);
}

.yn-shorts-grid .yn-short-card:nth-child(5) .yn-ph-short {
  background: linear-gradient(160deg, #284a4a 0%, #101a1a 100%);
}

.yn-ph-live {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 45%, #0f3460 100%);
}

/* ============================================================
   13. POLITICS PARTY LOGOS
   ============================================================ */
.yn-party-logo {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.yn-party-bjp {
  background: radial-gradient(circle, #f99a3e 0%, #f68b1f 100%);
}

.yn-party-inc {
  background: radial-gradient(circle, #3bb8f0 0%, #19aae1 100%);
}

.yn-party-aap {
  background: radial-gradient(circle, #1a9fe0 0%, #0072b7 100%);
}

.yn-party-thumb {
  padding: 0;
  overflow: hidden;
}

.yn-party-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-party-default {
  background: radial-gradient(circle, #6b7280 0%, #4b5563 100%);
  font-size: 10px;
}

/* ============================================================
   14. SHORTS
   ============================================================ */
.yn-shorts-wrap {
  position: relative;
}

.yn-shorts-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .yn-shorts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.yn-shorts-slider-mobile {
  position: relative;
  overflow: hidden;
}

.yn-shorts-slider-mobile .swiper-slide {
  width: 100%;
  height: auto;
}

@media (max-width: 767.98px) {
  .yn-shorts-slider-mobile .yn-short-card {
    max-width: 340px;
    margin: 0 auto;
  }

  .yn-shorts-slider-mobile .yn-short-thumb {
    max-height: 380px;
    aspect-ratio: 9 / 16;
  }

  .yn-shorts-slider-mobile .yn-short-card h3 {
    font-size: 14px;
    margin: 10px 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .yn-shorts-slider-mobile .yn-short-views {
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    min-height: 4.5em;
  }
}

.yn-shorts-slider-dot.tp-swiper-dot {
  position: relative;
  margin-top: 14px;
  text-align: center;
  min-height: 10px;
}

.yn-shorts-slider-dot.tp-swiper-dot:empty {
  display: none;
}

.yn-short-card {
  width: 100%;
  min-width: 0;
}

.yn-short-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 262px;
  border-radius: 8px;
  overflow: hidden;
  background: #dce0e6;
}

.yn-short-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-short-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}

.yn-short-badge-live {
  background: var(--tp-theme-primary);
}

.yn-short-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.yn-short-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 8px 0 2px;
  line-height: 1.35;
  color: var(--yn-short-card-title);
}

.yn-short-views {
  font-size: 11px;
  color: var(--yn-short-views-color);
}

.yn-short-views.yn-reel-meta,
.yn-shorts-slider-mobile .yn-short-views.yn-reel-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 0;
}

/* ============================================================
   15. ADS
   ============================================================ */
.yn-ad {
  position: relative;
}

.yn-ad-label {
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 10px;
  color: var(--yn-text-xmuted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

.yn-ad-leaderboard {
  margin-bottom: 24px;
  height: 130px;
}

.yn-ad-leaderboard>.yn-ad-placeholder,
.yn-ad-leaderboard>.yn-ad-adsense {
  height: 130px;
  min-height: 130px;
}

.yn-home-sidebar>.yn-info-panel.yn-home-block {
  margin-bottom: 0px !important;
}

/* Leaderboard ad placeholder Ã¢â‚¬â€ dark gradient matching Figma */
.yn-ad-placeholder {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2744 50%, #0d1b2a 100%);
  border: 1px solid #1e3050;
  border-radius: 8px;
  min-height: 130px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 10px;
}

.yn-ad-placeholder span {
  color: #a0b8d0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Square / Sidebar ad Ã¢â‚¬â€ "Grow Your Business" Ã¢â‚¬â€ dark gradient */
.yn-ad-square-inner {
  background: linear-gradient(135deg, #0f0c2a 0%, #1a1245 50%, #2a0a3a 100%);
  border: 1px solid #2a1a50;
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
}

.yn-ad-square-inner h4 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.yn-ad-square-inner p {
  font-size: 13px;
  color: #c0b0d8;
  margin-bottom: 16px;
}

/* Second sidebar ad Ã¢â‚¬â€ "Your Brand Our Platform" */
.yn-ad-square-alt {
  background: linear-gradient(135deg, #0a1a0f 0%, #0f2a1a 50%, #051005 100%);
  border: 1px solid #1a3a22;
}

.yn-ad-square-alt h4 {
  color: #ffffff;
}

.yn-ad-square-alt p {
  color: #90c8a0;
}

/* Middle banner ad */
.yn-ad-middle {
  background: linear-gradient(135deg, #1a0a2e 0%, #0d0718 50%, #1a0a2e 100%);
  border: 1px solid #2a1050;
  border-radius: 8px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 10px;
}

.yn-ad-middle span {
  color: #c0a8e0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dynamic ad images Ã¢â‚¬â€ same containers as design, fixed sizes */
.yn-ad-placeholder.yn-ad-has-image {
  padding: 0;
  display: block;
  height: 130px;
  min-height: 130px;
  max-height: 130px;
  overflow: hidden;
}

.yn-ad-middle.yn-ad-has-image {
  padding: 0;
  display: block;
  height: 90px;
  min-height: 90px;
  max-height: 90px;
  overflow: hidden;
}

.yn-ad-placeholder.yn-ad-has-image a {
  display: block;
  width: 100%;
  height: 130px;
  line-height: 0;
}

.yn-ad-middle.yn-ad-has-image a {
  display: block;
  width: 100%;
  height: 90px;
  line-height: 0;
}

.yn-ad-placeholder.yn-ad-has-image img {
  width: 100%;
  height: 130px;
  max-height: 130px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.yn-ad-middle.yn-ad-has-image img {
  width: 100%;
  height: 90px;
  max-height: 90px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.yn-ad-square-inner.yn-ad-has-image {
  padding: 0;
  aspect-ratio: 300 / 250;
  overflow: hidden;
  line-height: 0;
}

.yn-ad-square-inner.yn-ad-has-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.yn-ad-square-inner.yn-ad-has-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Google AdSense units */
.yn-ad-adsense {
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
}

.yn-ad-adsense--leaderboard {
  min-height: 130px;
}

.yn-ad-adsense--middle,
.yn-ad-adsense--news-list {
  min-height: 90px;
}

.yn-ad-adsense--sidebar-top,
.yn-ad-adsense--sidebar-bottom {
  min-height: 250px;
}

.yn-ad-inline {
  margin: 20px 0;
  padding-top: 18px;
  position: relative;
}

.yn-ad-inline .yn-ad-label {
  color: var(--yn-text-xmuted);
}

/* ============================================================
   16. BUTTONS
   ============================================================ */
.yn-btn {
  display: inline-block;
  background: var(--tp-theme-primary);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 4px;
  border: 2px solid var(--tp-theme-primary);
  transition: all 0.2s;
  cursor: pointer;
}

.yn-btn:hover {
  background: #c41f0c;
  border-color: #c41f0c;
  color: #fff !important;
}

.yn-btn-outline {
  background: transparent;
  color: var(--tp-theme-primary) !important;
}

.yn-btn-outline:hover {
  background: var(--tp-theme-primary);
  color: #fff !important;
}

.yn-btn-sm {
  font-size: 12px;
  padding: 5px 14px;
}

.yn-btn-dark {
  background: #111;
  color: #fff !important;
  border-color: #111;
}

.yn-btn-dark:hover {
  background: #000;
  border-color: #000;
}

/* ============================================================
   17. LIVE TV
   ============================================================ */
.yn-live-player {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  min-height: 180px;
}

.yn-live-player .yn-ph-live {
  display: block;
  min-height: 180px;
}

.yn-live-thumb {
  width: 100%;
  min-height: 180px;
  max-height: 200px;
  object-fit: cover;
  display: block;
  background: #111;
}

.yn-live-player iframe {
  width: 100%;
  min-height: 180px;
  max-height: 200px;
  border: 0;
  display: block;
  background: #000;
}

.yn-live-player iframe[hidden] {
  display: none !important;
}

.yn-live-player.is-playing .yn-live-thumb,
.yn-live-player.is-playing .yn-ph-live {
  display: none;
}

.yn-live-player.is-playing .yn-live-play {
  display: none;
}

.yn-live-player.is-playing iframe {
  display: block !important;
}

/* Video controls bar */
.yn-live-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #1a1a1a;
  border-radius: 0 0 0 0;
}

.yn-live-controls button {
  background: none;
  border: none;
  color: #ccc;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
}

.yn-live-controls button:hover {
  color: #fff;
}

.yn-live-controls .yn-live-dot-ctrl {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  display: inline-block;
  animation: yn-pulse 1.5s infinite;
}

.yn-live-ctrl-label {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.yn-live-ctrl-spacer {
  flex: 1;
}

.yn-live-ctrl-expand {
  color: #ccc;
  font-size: 13px;
}

.yn-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.yn-live-viewer-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.yn-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  display: inline-block;
  animation: yn-pulse 1.5s infinite;
}

@keyframes yn-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.yn-live-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(234, 37, 14, 0.9);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
}

.yn-live-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--yn-live-meta-color);
}

.yn-live-meta span {
  font-size: 13px;
}

.yn-live-meta small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--yn-text-muted);
}

/* ============================================================
   18. TRENDING
   ============================================================ */
.yn-trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yn-trending-list li {
  border-bottom: 1px solid var(--yn-trending-border);
}

.yn-trending-list li:last-child {
  border-bottom: none;
}

/* ============================================================
   17b. SIDEBAR SHORT NEWS
   ============================================================ */
.yn-short-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yn-short-news-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.yn-short-news-thumb {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.yn-short-news-thumb img,
.yn-short-news-thumb .yn-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-short-news-body {
  flex: 1;
  min-width: 0;
}

.yn-short-news-body h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--yn-news-title-color);
}

.yn-short-news-body h3 a:hover {
  color: var(--tp-theme-primary);
}

.yn-short-news-body time {
  font-size: 11px;
  color: var(--yn-text-muted);
}

/* Short news lead (first big item) */
.yn-short-news-lead {
  display: block;
  margin-bottom: 16px;
}

.yn-short-news-lead-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--yn-border-light, #f0f0f0);
  margin-bottom: 12px;
}

.yn-short-news-lead-thumb img,
.yn-short-news-lead-thumb video,
.yn-short-news-lead-thumb .yn-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-short-news-lead-thumb .yn-video-badge {
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.yn-short-news-lead-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--yn-news-title-color);
}

.yn-short-news-lead-body h3 a:hover {
  color: var(--tp-theme-primary);
}

.yn-short-news-lead-body time {
  font-size: 12px;
  color: var(--yn-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.yn-short-news-slider {
  position: relative;
  overflow: hidden;
}

.yn-short-news-slider .yn-short-news-lead {
  margin-bottom: 0;
}

.yn-short-news-slider-dot.tp-swiper-dot {
  position: relative;
  margin-top: 14px;
  text-align: center;
  min-height: 10px;
}

.yn-short-news-slider-dot.tp-swiper-dot:empty {
  display: none;
}

/* Home short news: same card, one slide at a time */
.yn-short-news-card-slider-wrap {
  width: 100%;
}

.yn-short-news-card-slider.swiper {
  width: 100%;
  overflow: hidden;
  /* content-box so autoHeight padding does not shrink the slide and clip the border */
  box-sizing: content-box;
  padding-bottom: 2px;
}

.yn-short-news-card-slider .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.yn-short-news-card-slider .yn-short-news-card {
  width: 100%;
  box-sizing: border-box;
}

.yn-short-news-card-slider-dot.tp-swiper-dot {
  position: relative;
  margin-top: 12px;
  text-align: center;
  min-height: 10px;
}

.yn-short-news-card-slider-dot.tp-swiper-dot:empty {
  display: none;
}

/* Short news card — latest item, Tuku Touch style */
.yn-short-news-card {
  background: linear-gradient(140deg, #f78e06 0%, #ed5c22 25%, #f52e67 50%, #866cc6 75%, #6378f8 100%);
  border-radius: 8px;
  padding: 1px;
}

.yn-short-news-card-inner {
  background: linear-gradient(140deg, #fef9f2 0%, #fef8f4 24.28%, #fef5f7 45.38%, #faf7fb 62.58%, #f8f8fd 80.71%, #f7f8fe 100%);
  border-radius: 7px;
  padding: 12px;
}

.yn-short-news-card-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f0f0;
  margin-bottom: 8px;
}

.yn-short-news-card-thumb img,
.yn-short-news-card-thumb video,
.yn-short-news-card-thumb .yn-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-short-news-card-date {
  display: block;
  margin: 0 0 6px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.yn-short-news-card-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.yn-short-news-card-body h3 a {
  color: inherit;
}

.yn-short-news-card-body h3 a:hover {
  color: var(--tp-theme-primary);
}

.yn-short-news-card-desc {
  margin: 0;
  color: #4b5563;
  font-size: 13.6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

[data-theme="dark"] .yn-short-news-card-inner {
  background: linear-gradient(140deg, #1e2224 0%, #2b2532 24.28%, #262a2c 45.38%, #262a2c 62.58%, #272732 80.71%, #2e3234 100%);
}

[data-theme="dark"] .yn-short-news-card-date {
  color: #9a9aac;
}

[data-theme="dark"] .yn-short-news-card-body h3 {
  color: #e0e0e8;
}

[data-theme="dark"] .yn-short-news-card-desc {
  color: #c8c8d4;
}

.yn-sidebar-empty {
  font-size: 14px;
  line-height: 1.5;
  color: var(--yn-text-muted);
}

.yn-trending-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}

.yn-trend-rank {
  font-size: 14px;
  font-weight: 700;
  color: var(--tp-theme-primary);
  min-width: 18px;
  flex-shrink: 0;
}

.yn-trend-tag {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--yn-trend-tag-color);
}

.yn-trend-count {
  font-size: 12px;
  color: var(--yn-trend-count-color);
  white-space: nowrap;
}

/* ============================================================
   19. POLL
   ============================================================ */
.yn-poll-question {
  font-size: 14px;
  font-weight: 600;
  color: var(--yn-poll-q-color);
  margin-bottom: 14px;
  line-height: 1.5;
}

.yn-poll-total {
  font-size: 12px;
  color: var(--yn-text-muted);
  margin-top: 12px;
}

.yn-poll-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.yn-poll-option,
.yn-poll-option--vote {
  margin: 0;
}

.yn-poll-option--result {
  display: block;
}

.yn-poll-vote-btn {
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  display: block;
}

.yn-poll-vote-btn .yn-poll-bar {
  display: block;
  width: 100%;
}

.yn-poll-option--vote:hover .yn-poll-option-head span:first-child {
  color: var(--tp-theme-primary);
}

.yn-poll-message {
  font-size: 12px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 6px;
}

.yn-poll-message-success {
  color: #166534;
  background: #dcfce7;
}

.yn-poll-message-error {
  color: #991b1b;
  background: #fee2e2;
}

.yn-poll-option-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
  color: var(--yn-poll-opt-color);
}

.yn-poll-option-head strong {
  color: var(--yn-text-heading);
}

.yn-poll-bar {
  display: block;
  width: 100%;
  height: 10px;
  background: var(--yn-poll-bar-bg);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}

.yn-poll-bar-fill {
  display: block;
  height: 100%;
  min-height: 10px;
  background: var(--tp-theme-primary, #ea250e);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.yn-poll-bar-alt .yn-poll-bar-fill {
  background: #ff3b30;
}

.yn-poll-bar-muted .yn-poll-bar-fill {
  background: #888888;
}

/* ============================================================
   20. SOCIAL ICONS Ã¢â‚¬â€ Brand Colors
   ============================================================ */
.yn-social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.yn-social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all 0.2s;
  text-decoration: none !important;
  color: #fff !important;
}

.yn-social-fb {
  background: #1877f2;
}

.yn-social-tw {
  background: #000000;
}

.yn-social-ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.yn-social-yt {
  background: #ff0000;
}

.yn-social-wa {
  background: #25d366;
}

.yn-social-tg {
  background: #229ed9;
}

.yn-social-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
  color: #fff !important;
}

/* Latest X logo (Font Awesome frontend build still has old Twitter bird) */
.fa-brands.fa-x-twitter,
.fa-brands.fa-twitter {
  font-family: inherit !important;
  font-weight: 400 !important;
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fa-brands.fa-x-twitter::before,
.fa-brands.fa-twitter::before {
  content: "" !important;
}

/* ============================================================
   21. INFO BAR (bottom ticker)
   ============================================================ */
.yn-info-bar {
  background: var(--yn-bg-info-bar);
  border-top: 1px solid var(--yn-border);
  border-bottom: 1px solid var(--yn-border);
  padding: 0;
  transition: background 0.3s;
}

.yn-info-bar-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  font-size: 13px;
  color: var(--yn-info-bar-color);
  min-height: 48px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.yn-info-bar-inner::-webkit-scrollbar {
  display: none;
}

.yn-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid var(--yn-border);
  white-space: nowrap;
  flex: 0 0 auto;
}

.yn-info-item i {
  color: var(--tp-theme-primary);
}

.yn-info-muted {
  font-size: 11px;
  opacity: 0.7;
}

.yn-icon-market {
  color: #16a34a !important;
}

.yn-market-item.yn-market-down .yn-icon-market {
  color: #dc2626 !important;
}

.yn-market-down {
  color: #dc2626;
  font-weight: 600;
}

.yn-market-down i {
  color: #dc2626;
}

.yn-market-item.yn-market-lowest .yn-market-text {
  color: #dc2626 !important;
}

.yn-market-item.yn-market-lowest .yn-icon-market {
  color: #dc2626 !important;
}

.yn-market-item.yn-market-highest .yn-market-text {
  color: #16a34a !important;
}

.yn-market-item.yn-market-highest .yn-icon-market {
  color: #16a34a !important;
}

.yn-icon-gold {
  color: #c9a227 !important;
  font-size: 15px;
}

.yn-market-item.yn-market-down .yn-icon-gold {
  color: #9ca3af !important;
}

.yn-market-item.yn-market-lowest .yn-icon-gold {
  color: #dc2626 !important;
}

.yn-market-item.yn-market-highest .yn-icon-gold {
  color: #16a34a !important;
}

.yn-weather-location {
  font-weight: 600;
  color: var(--yn-info-bar-color);
}

.yn-weather-temp {
  font-weight: 600;
  color: var(--yn-info-bar-color);
}

.yn-info-live {
  font-weight: 700;
  background: #ea250e;
  color: #fff !important;
  padding: 0 16px;
  gap: 8px;
  flex: 0 0 auto;
  width: auto;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

a.yn-info-live:hover {
  background: #c41f0c;
  color: #fff !important;
}

.yn-info-sep {
  color: var(--yn-info-sep-color);
  margin: 0 4px;
}

.yn-info-live-link {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yn-info-live-link:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

.yn-info-item a {
  color: var(--tp-theme-primary) !important;
  font-weight: 600;
}

.yn-market-up {
  color: #16a34a;
  font-weight: 600;
}

.yn-market-up i {
  color: #16a34a;
}

/* Sidebar Information panel (weather / stock / gold) Ã¢â‚¬â€ 2-col, same height as leaderboard ad */
.yn-home-sidebar>.yn-info-panel.yn-panel {
  height: 130px;
  min-height: 130px;
  max-height: 130px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.yn-info-panel .yn-panel-head {
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom-width: 1px;
  flex-shrink: 0;
}

.yn-info-panel .yn-panel-title {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.yn-info-panel .yn-panel-title .yn-icon {
  font-size: 12px;
}

.yn-info-panel-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px 6px;
  align-content: stretch;
}

.yn-info-panel-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 5px;
  border: 1px solid var(--yn-border-light, #eceef1);
  border-radius: 5px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--yn-bg-page, #f7f7f9);
}

.yn-info-panel-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(234, 37, 14, 0.08);
  color: var(--tp-theme-primary);
  font-size: 10px;
}

.yn-info-panel-icon .yn-icon-market,
.yn-info-panel-icon .yn-icon-gold {
  font-size: 10px;
}

.yn-info-panel-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1.15;
  overflow: hidden;
}

.yn-info-panel-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yn-text-muted, #8a8a98);
  line-height: 1.1;
}

.yn-info-panel-value,
.yn-info-panel .yn-market-text {
  font-weight: 700;
  color: var(--yn-text-heading, #17171f);
  line-height: 1.15 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}

.yn-info-panel-weather .yn-info-panel-value {
  font-size: 11px !important;
}

.yn-info-panel-row[data-market="sensex"] .yn-info-panel-value,
.yn-info-panel-row[data-market="sensex"] .yn-market-text {
  font-size: 11px !important;
}

.yn-info-panel-row[data-market="nifty"] .yn-info-panel-value,
.yn-info-panel-row[data-market="nifty"] .yn-market-text {
  font-size: 12px !important;
}

.yn-info-panel-row[data-market="gold"] .yn-info-panel-value,
.yn-info-panel-row[data-market="gold"] .yn-market-text {
  font-size: 12px !important;
}

.yn-info-panel-value i,
.yn-info-panel .yn-market-text i {
  font-size: 9px !important;
  margin: 0 1px;
}

.yn-info-panel-meta {
  display: none;
}

[data-theme="dark"] .yn-info-panel-icon {
  background: rgba(234, 37, 14, 0.16);
}

[data-theme="dark"] .yn-info-panel-row {
  border-color: var(--yn-border, #2a2a32);
  background: var(--yn-bg-page, #0f0f11);
}

[data-theme="dark"] .yn-info-panel-value,
[data-theme="dark"] .yn-info-panel .yn-market-text {
  color: var(--yn-text-heading, #f0f0f4);
}

@media (max-width: 991.98px) {
  .yn-home-sidebar>.yn-info-panel.yn-panel {
    height: auto;
    min-height: 130px;
    max-height: none;
    overflow: visible;
  }
}

/* E-paper button in info bar */
.yn-epaper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 88px;
  min-height: 48px;
  padding: 0 16px;
  background: #f4f5f7;
  color: #ea250e !important;
  font-size: 13px;
  font-weight: 700;
  border-left: 1px solid var(--yn-border);
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.yn-epaper-btn i {
  font-size: 15px;
}

.yn-epaper-btn:hover {
  background: #ea250e;
  color: #fff !important;
}

[data-theme="dark"] .yn-epaper-btn {
  background: #1e1e24;
  color: #ea250e !important;
}

[data-theme="dark"] .yn-epaper-btn:hover {
  background: #ea250e;
  color: #fff !important;
}

/* ============================================================
   22. SIDEBAR YOUTUBE VIDEOS (Short NewsÃ¢â‚¬â€œstyle, above Trending)
   ============================================================ */
.yn-yt-sidebar-slider {
  position: relative;
  overflow: hidden;
}

.yn-yt-sidebar-slider .yn-short-news-lead {
  margin-bottom: 0;
}

.yn-yt-sidebar-slider-dot.tp-swiper-dot {
  position: relative;
  margin-top: 14px;
  text-align: center;
  min-height: 10px;
}

.yn-yt-sidebar-slider-dot.tp-swiper-dot:empty {
  display: none;
}

.yn-yt-sidebar-thumb {
  background: #111;
}

.yn-yt-sidebar-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
}

.yn-yt-sidebar-play {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tp-theme-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding-left: 2px;
  box-shadow: 0 4px 12px rgba(234, 37, 14, 0.35);
  transition: transform 0.2s ease;
}

.yn-yt-sidebar-thumb:hover .yn-yt-sidebar-play {
  transform: scale(1.08);
}

.yn-yt-sidebar-desc {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--yn-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yn-yt-sidebar .yn-short-news-lead-body time i.fa-youtube {
  color: #ff0000;
}

.yn-ph-yt-video {
  background: linear-gradient(135deg, #2d2d38 0%, #17171f 100%);
}

/* Listing page / legacy strip card helpers (kept for /youtube-videos page cards if reused) */
.yn-yt-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--yn-border-light, #e8eaed);
}

.yn-yt-video-thumb img,
.yn-yt-video-thumb .yn-ph-yt-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-yt-video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 3px;
}

.yn-yt-video-play {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tp-theme-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding-left: 2px;
  box-shadow: 0 4px 12px rgba(234, 37, 14, 0.35);
  transition: transform 0.2s ease;
}

.yn-yt-video-thumb:hover .yn-yt-video-play {
  transform: scale(1.08);
}

.yn-yt-video-title {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--yn-news-title-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yn-yt-video-title a {
  color: inherit;
  text-decoration: none;
}

.yn-yt-video-title a:hover {
  color: var(--tp-theme-primary);
}

.yn-yt-video-desc {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--yn-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-theme="dark"] .yn-yt-video-title {
  color: var(--yn-short-card-title);
}

/* ============================================================
   23. NEWSLETTER
   ============================================================ */
.yn-newsletter {
  background: var(--tp-theme-primary);
  padding: 30px 0;
  margin-top: 8px;
}

.yn-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.yn-newsletter-text {
  display: flex;
  align-items: center;
  gap: 16px;
}

.yn-newsletter-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.yn-newsletter-copy span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.yn-newsletter-copy h3 {
  color: #fff;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  margin: 4px 0 0;
  line-height: 1.2;
}

.yn-newsletter-form-wrap {
  flex: 1;
  max-width: 500px;
  min-width: 260px;
}

.yn-newsletter-form {
  display: flex;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.yn-newsletter-form input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  outline: none;
  background: #fff;
  color: #333;
}

.yn-newsletter-form input::placeholder {
  color: #aaa;
}

.yn-newsletter-form button {
  background: #111;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.yn-newsletter-form button:hover {
  background: #000;
}

.yn-newsletter-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.yn-newsletter-message {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(2px);
}

.yn-newsletter-message::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro";
  font-weight: 900;
  font-size: 13px;
}

.yn-newsletter-message.is-success {
  background: rgba(255, 255, 255, 0.95);
  color: #15803d;
}

.yn-newsletter-message.is-success::before {
  content: "\f058";
  /* check-circle */
}

.yn-newsletter-message.is-error {
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}

.yn-newsletter-message.is-error::before {
  content: "\f06a";
  /* exclamation-circle */
}

/* ============================================================
   23. FOOTER
   ============================================================ */
.yn-page .tp-footer-area {
  background: var(--yn-bg-footer) !important;
  border-top: 1px solid var(--yn-border);
  transition: background 0.3s;
}

.yn-page .tp-footer-bottom {
  background: var(--yn-bg-footer-btm);
  border-top: 1px solid var(--yn-border);
  transition: background 0.3s;
}

.yn-page .tp-footer-widget-title {
  color: var(--yn-footer-heading);
}

.yn-page .tp-footer-desc {
  color: var(--yn-footer-desc);
}

.yn-page .tp-footer-widget-content ul li a {
  color: var(--yn-footer-link);
  transition: color 0.2s;
}

.yn-page .tp-footer-widget-content ul li a:hover {
  color: var(--tp-theme-primary);
}

/* Footer brand text logo */
.yn-footer-brand-title {
  display: block;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.yn-footer-brand-your {
  color: var(--yn-text-heading);
}

.yn-footer-brand-newz {
  color: var(--tp-theme-primary);
}

.yn-footer-brand-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--yn-text-secondary);
  display: block;
  margin-bottom: 12px;
}

/* App download buttons */
.yn-app-buttons {
  display: flex;
  gap: 8px;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 10px;
  max-width: 100%;
}

.yn-app-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--yn-text-heading);
  color: var(--yn-bg-footer) !important;
  border: 1px solid var(--yn-border);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 9px;
  text-decoration: none !important;
  transition: all 0.2s;
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  max-width: calc(50% - 4px);
}

.yn-app-btn:hover {
  background: var(--tp-theme-primary);
  border-color: var(--tp-theme-primary);
  color: #fff !important;
}

[data-theme="dark"] .yn-app-btn {
  background: #1e1e24;
  color: var(--yn-text-primary) !important;
}

.yn-app-btn i {
  font-size: 16px;
  flex-shrink: 0;
}

.yn-app-btn-text {
  min-width: 0;
  line-height: 1.15;
}

.yn-app-btn-text strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
}

.yn-app-btn-text span {
  font-size: 8px;
  opacity: 0.7;
}

/* Contact column Ã¢â‚¬â€ compact */
.footer-col-4 .tp-footer-widget-content {
  max-width: 260px;
}

.footer-col-4 .tp-footer-widget-title.yn-app-title {
  font-size: 12px !important;
  margin-top: 12px !important;
  margin-bottom: 8px !important;
}

/* Contact info in footer */
.yn-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--yn-footer-desc);
  line-height: 1.45;
}

.yn-contact-item i {
  color: var(--tp-theme-primary);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.yn-contact-item a {
  color: var(--yn-footer-desc);
}

.yn-contact-item a:hover {
  color: var(--tp-theme-primary);
}

/* Footer social */
.yn-page .tp-footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.yn-page .tp-footer-social a {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0;
  line-height: 1 !important;
  font-size: 16px;
  text-decoration: none !important;
  color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.yn-page .tp-footer-social a i {
  display: block;
  line-height: 1;
  color: #fff !important;
  font-size: 16px;
}

.yn-page .tp-footer-social a.yn-fb i {
  font-size: 17px;
}

.yn-page .tp-footer-social a.yn-tw i {
  font-size: 15px;
}

.yn-page .tp-footer-social a.yn-yt i {
  font-size: 17px;
}

.yn-page .tp-footer-social a:hover {
  transform: scale(1.08);
  opacity: 0.92;
  color: #fff !important;
  box-shadow: none !important;
}

.yn-page .tp-footer-social a.yn-fb {
  background: #1877f2 !important;
}

.yn-page .tp-footer-social a.yn-tw {
  background: #000000 !important;
}

.yn-page .tp-footer-social a.yn-ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af) !important;
}

.yn-page .tp-footer-social a.yn-yt {
  background: #ff0000 !important;
}

.yn-page .tp-footer-social a.yn-fb:hover {
  background: #1877f2 !important;
}

.yn-page .tp-footer-social a.yn-tw:hover {
  background: #000000 !important;
}

.yn-page .tp-footer-social a.yn-ig:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af) !important;
}

.yn-page .tp-footer-social a.yn-yt:hover {
  background: #ff0000 !important;
}

/* ============================================================
   24. MISC
   ============================================================ */
.yn-page .tp-header-sticky {
  box-shadow: none;
}

.yn-page .tp-header-area {
  background: var(--yn-bg-header);
}

.yn-ph-news {
  min-height: 0;
}

.yn-live-player .yn-ph-live {
  min-height: 160px;
  max-height: 200px;
}

@media (min-width: 992px) {
  .yn-home-grid {
    align-items: flex-start;
  }
}

/* ============================================================
   25. RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .yn-brand-title {
    font-size: 22px;
  }

  .yn-header-top-inner {
    justify-content: space-between;
  }

  .yn-home-grid,
  .yn-home-main>.row.yn-home-block {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  .yn-social-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .yn-social-grid .yn-social-icon {
    flex: 0 0 44px;
  }

  .yn-newsletter-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .yn-newsletter-form-wrap {
    max-width: 100%;
  }

  .yn-newsletter-text {
    flex-direction: column;
    align-items: flex-start;
  }

  .yn-info-bar-inner {
    flex-wrap: nowrap;
  }

  /* Mobile bottom nav Ã¢â‚¬â€ 5 items */
  .yn-mobile-nav .tp-mobile-item-btn {
    font-size: 22px;
    padding: 0 2px;
  }

  .yn-mobile-nav .tp-mobile-item-btn span {
    font-size: 10px;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .yn-mobile-nav .tp-mobile-item-btn.is-active,
  .yn-mobile-nav .tp-mobile-item-btn.is-active span {
    color: var(--tp-theme-primary, #c41e3a);
  }
}

@media (max-width: 575px) {
  .yn-brand-title {
    font-size: 20px;
  }

  .yn-brand-tagline {
    font-size: 10px;
  }

  .yn-home-body {
    padding: 12px 0 20px;
  }

  .yn-home-grid,
  .yn-home-main>.row.yn-home-block {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }

  .yn-panel {
    padding: 14px 16px;
  }

  .yn-site-header .yn-breaking-label {
    font-size: 10px;
    padding: 0 14px 0 10px;
  }

  .yn-site-header .yn-breaking-label span {
    display: none;
  }

  .yn-site-header .yn-breaking-label i {
    font-size: 12px;
  }

  .yn-site-header .yn-breaking-item {
    font-size: 13px;
  }

  .yn-site-header .yn-breaking-track-wrap {
    padding: 0 10px;
  }

  .yn-news-thumb {
    width: 72px;
    height: 54px;
  }

  .yn-info-bar-inner {
    font-size: 12px;
  }

  .yn-app-buttons {
    flex-direction: column;
  }
}

/* ============================================================
   26. DARK MODE FORCE OVERRIDES
   !important rules ensure main.css cannot override dark tokens
   ============================================================ */
[data-theme="dark"] body,
[data-theme="dark"] .yn-page {
  background-color: var(--yn-bg-page) !important;
  color: var(--yn-text-primary) !important;
}

/* News detail article: override editor inline dark text colors */
[data-theme="dark"] .yn-news-article {
  background: var(--yn-bg-card) !important;
  border-color: var(--yn-border) !important;
  color: var(--yn-text-primary) !important;
}

/* Light mode news detail: pure black text */
html:not([data-theme="dark"]) .yn-news-title,
html:not([data-theme="dark"]) .yn-news-summary p,
html:not([data-theme="dark"]) .yn-news-content,
html:not([data-theme="dark"]) .yn-news-content p,
html:not([data-theme="dark"]) .yn-news-content span,
html:not([data-theme="dark"]) .yn-news-content div,
html:not([data-theme="dark"]) .yn-news-content li,
html:not([data-theme="dark"]) .yn-news-content strong,
html:not([data-theme="dark"]) .yn-news-content b,
html:not([data-theme="dark"]) .yn-news-content em,
html:not([data-theme="dark"]) .yn-news-content i:not([class*="fa-"]),
html:not([data-theme="dark"]) .yn-news-content u,
html:not([data-theme="dark"]) .yn-news-content font,
html:not([data-theme="dark"]) .yn-news-content td,
html:not([data-theme="dark"]) .yn-news-content th,
html:not([data-theme="dark"]) .yn-news-content h1,
html:not([data-theme="dark"]) .yn-news-content h2,
html:not([data-theme="dark"]) .yn-news-content h3,
html:not([data-theme="dark"]) .yn-news-content h4,
html:not([data-theme="dark"]) .yn-news-content h5,
html:not([data-theme="dark"]) .yn-news-content h6,
html:not([data-theme="dark"]) .yn-news-content blockquote,
html:not([data-theme="dark"]) .yn-news-content blockquote * {
  color: #000000 !important;
}

html:not([data-theme="dark"]) .yn-news-content a,
html:not([data-theme="dark"]) .yn-news-content a span {
  color: var(--tp-theme-primary) !important;
}

[data-theme="dark"] .yn-news-title {
  color: var(--yn-text-heading) !important;
}

[data-theme="dark"] .yn-news-summary {
  background: rgba(234, 37, 14, 0.14) !important;
}

[data-theme="dark"] .yn-news-summary p {
  color: #e6e6ec !important;
}

[data-theme="dark"] .yn-news-content,
[data-theme="dark"] .yn-news-content p,
[data-theme="dark"] .yn-news-content span,
[data-theme="dark"] .yn-news-content div,
[data-theme="dark"] .yn-news-content li,
[data-theme="dark"] .yn-news-content strong,
[data-theme="dark"] .yn-news-content b,
[data-theme="dark"] .yn-news-content em,
[data-theme="dark"] .yn-news-content i:not([class*="fa-"]),
[data-theme="dark"] .yn-news-content u,
[data-theme="dark"] .yn-news-content font,
[data-theme="dark"] .yn-news-content td,
[data-theme="dark"] .yn-news-content th {
  color: #e8e8ee !important;
}

[data-theme="dark"] .yn-news-content h1,
[data-theme="dark"] .yn-news-content h2,
[data-theme="dark"] .yn-news-content h3,
[data-theme="dark"] .yn-news-content h4,
[data-theme="dark"] .yn-news-content h5,
[data-theme="dark"] .yn-news-content h6 {
  color: #f4f4f8 !important;
}

[data-theme="dark"] .yn-news-content a,
[data-theme="dark"] .yn-news-content a span {
  color: #ff6b55 !important;
}

[data-theme="dark"] .yn-news-content blockquote,
[data-theme="dark"] .yn-news-content blockquote * {
  color: #d4d4dc !important;
  background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .yn-site-header,
[data-theme="dark"] .yn-header-sticky,
[data-theme="dark"] .yn-header-top,
[data-theme="dark"] .yn-nav-bar,
[data-theme="dark"] .tp-header-area,
[data-theme="dark"] .tp-header-sticky {
  background: var(--yn-bg-header) !important;
  background-color: var(--yn-bg-header) !important;
}

[data-theme="dark"] .yn-home {
  background: var(--yn-bg-page) !important;
}

[data-theme="dark"] .yn-panel {
  background: var(--yn-bg-card) !important;
  border-color: var(--yn-border) !important;
  color: var(--yn-text-primary) !important;
}

[data-theme="dark"] .yn-panel-title {
  color: var(--yn-text-heading) !important;
}

[data-theme="dark"] .yn-panel-head {
  border-bottom-color: var(--yn-panel-head-border) !important;
}

[data-theme="dark"] .yn-news-body h3,
[data-theme="dark"] .yn-news-body h3 a {
  color: var(--yn-news-title-color) !important;
}

[data-theme="dark"] .yn-news-body time {
  color: var(--yn-text-muted) !important;
}

[data-theme="dark"] .yn-info-bar {
  background: var(--yn-bg-info-bar) !important;
}

[data-theme="dark"] .yn-info-bar-inner {
  color: var(--yn-info-bar-color) !important;
}

[data-theme="dark"] .tp-footer-area,
[data-theme="dark"] .tp-footer-top {
  background: var(--yn-bg-footer) !important;
  background-color: var(--yn-bg-footer) !important;
}

[data-theme="dark"] .tp-footer-bottom {
  background: var(--yn-bg-footer-btm) !important;
  background-color: var(--yn-bg-footer-btm) !important;
}

[data-theme="dark"] .tp-footer-widget-title {
  color: var(--yn-footer-heading) !important;
}

[data-theme="dark"] .tp-footer-widget-content ul li a,
[data-theme="dark"] .tp-footer-desc {
  color: var(--yn-footer-link) !important;
}

[data-theme="dark"] .tp-footer-bottom-wrapper,
[data-theme="dark"] .tp-footer-bottom-wrapper a {
  color: var(--yn-footer-desc) !important;
}

[data-theme="dark"] .yn-search-form input {
  background: var(--yn-search-bg) !important;
  color: var(--yn-search-text) !important;
  border-color: var(--yn-border-input) !important;
}

[data-theme="dark"] .yn-header-icon-btn {
  background: var(--yn-icon-btn-bg) !important;
  border-color: var(--yn-icon-btn-border) !important;
  color: var(--yn-icon-btn-color) !important;
}

[data-theme="dark"] .yn-nav-link {
  color: var(--yn-text-primary) !important;
}

[data-theme="dark"] .yn-nav-link.active {
  background: var(--tp-theme-primary) !important;
  color: #fff !important;
}

[data-theme="dark"] .yn-nav-dropdown {
  background: var(--yn-bg-card, #161b22);
  border-color: var(--yn-border-light, #2a3038);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .yn-nav-dropdown-link {
  color: var(--yn-text-primary, #e8eaed) !important;
}

[data-theme="dark"] .yn-subcat-chip {
  background: var(--yn-bg-card, #161b22);
  border-color: var(--yn-border-light, #2a3038);
  color: var(--yn-text-primary, #e8eaed) !important;
}

[data-theme="dark"] .yn-offcanvas-subcat-list {
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .yn-trend-tag {
  color: var(--yn-trend-tag-color) !important;
}

[data-theme="dark"] .yn-trend-count {
  color: var(--yn-trend-count-color) !important;
}

[data-theme="dark"] .yn-trending-list li {
  border-bottom-color: var(--yn-trending-border) !important;
}

[data-theme="dark"] .yn-poll-question {
  color: var(--yn-poll-q-color) !important;
}

[data-theme="dark"] .yn-poll-option-head {
  color: var(--yn-poll-opt-color) !important;
}

[data-theme="dark"] .yn-poll-bar {
  background: var(--yn-poll-bar-bg) !important;
}

[data-theme="dark"] .yn-poll-bar-fill {
  opacity: 0.95;
}

[data-theme="dark"] .yn-short-card h3 {
  color: var(--yn-short-card-title) !important;
}

[data-theme="dark"] .yn-short-views {
  color: var(--yn-short-views-color) !important;
}

[data-theme="dark"] .yn-live-meta {
  color: var(--yn-live-meta-color) !important;
}

[data-theme="dark"] .yn-live-meta small {
  color: var(--yn-text-muted) !important;
}

[data-theme="dark"] .yn-contact-item,
[data-theme="dark"] .yn-contact-item a {
  color: var(--yn-footer-desc) !important;
}

[data-theme="dark"] .yn-footer-brand-your {
  color: var(--yn-text-heading) !important;
}

/* Market up/down colors */
.yn-market-up {
  color: #16a34a !important;
  font-weight: 600;
}

.yn-market-down {
  color: #dc2626 !important;
  font-weight: 600;
}

/* Legal content side drawer */
.yn-content-drawer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
  visibility: hidden;
}

.yn-content-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.yn-content-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.yn-content-drawer.is-open .yn-content-drawer__overlay {
  opacity: 1;
}

.yn-content-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(720px, 100%);
  max-width: 100%;
  height: 100%;
  background: var(--yn-bg-page, #fff);
  color: var(--yn-text-primary, #111);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.yn-content-drawer.is-open .yn-content-drawer__panel {
  transform: translateX(0);
}

.yn-content-drawer__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--yn-border-light, #e8e8e8);
  background: var(--yn-bg-header, #fff);
}

.yn-content-drawer__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--yn-text-heading, #111);
  line-height: 1.3;
}

.yn-content-drawer__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--yn-bg-nav, #f4f4f4);
  color: var(--yn-text-primary, #111);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.yn-content-drawer__close:hover {
  background: var(--tp-theme-primary, #ea250e);
  color: #fff;
}

.yn-content-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 32px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--yn-text-primary, #333);
}

.yn-content-drawer__body h1,
.yn-content-drawer__body h2,
.yn-content-drawer__body h3,
.yn-content-drawer__body h4 {
  color: var(--yn-text-heading, #111);
  margin-top: 1.4em;
  margin-bottom: 0.6em;
}

.yn-content-drawer__body h1:first-child,
.yn-content-drawer__body h2:first-child,
.yn-content-drawer__body h3:first-child {
  margin-top: 0;
}

.yn-content-drawer__body p {
  margin-bottom: 1em;
}

.yn-content-drawer__body ul,
.yn-content-drawer__body ol {
  margin-bottom: 1em;
  padding-left: 1.4em;
}

.yn-content-drawer__body a {
  color: var(--tp-theme-primary, #ea250e);
  text-decoration: underline;
}

.yn-content-drawer__body img {
  max-width: 100%;
  height: auto;
}

.yn-content-drawer__body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}

.yn-content-drawer__body table th,
.yn-content-drawer__body table td {
  border: 1px solid var(--yn-border-light, #ddd);
  padding: 8px 10px;
}

body.yn-drawer-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .yn-content-drawer__panel {
    width: 100%;
  }

  .yn-content-drawer__head {
    padding: 16px 18px;
  }

  .yn-content-drawer__title {
    font-size: 18px;
  }

  .yn-content-drawer__body {
    padding: 18px 18px 28px;
  }
}

/* City picker modal */
.yn-city-picker {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.yn-city-picker.is-open {
  visibility: visible;
  opacity: 1;
}

.yn-city-picker__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.yn-city-picker__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(82vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--yn-bg-card, #fff);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.yn-city-picker__head {
  position: relative;
  padding: 22px 24px 12px;
  border-bottom: 1px solid var(--yn-border-light, #eee);
}

.yn-city-picker__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--yn-text, #111);
  display: flex;
  align-items: center;
  gap: 8px;
}

.yn-city-picker__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--yn-text-muted, #666);
  line-height: 1.5;
  padding-right: 36px;
}

.yn-city-picker__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--yn-bg-soft, #f4f4f6);
  color: var(--yn-text, #111);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.yn-city-picker__close:hover {
  background: var(--yn-border-light, #e8e8ec);
}

.yn-city-picker__search-wrap {
  position: relative;
  padding: 12px 24px;
  border-bottom: 1px solid var(--yn-border-light, #eee);
}

.yn-city-picker__search-wrap i {
  position: absolute;
  left: 38px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yn-text-muted, #888);
  font-size: 14px;
  pointer-events: none;
}

.yn-city-picker__search {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--yn-border-light, #ddd);
  border-radius: 10px;
  font-size: 14px;
  background: var(--yn-bg, #fff);
  color: var(--yn-text, #111);
}

.yn-city-picker__search:focus {
  outline: none;
  border-color: var(--yn-primary, #c41e3a);
}

.yn-city-picker__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.yn-city-picker__group {
  margin-bottom: 18px;
}

.yn-city-picker__group:last-child {
  margin-bottom: 0;
}

.yn-city-picker__group-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yn-text-muted, #888);
}

.yn-city-picker__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.yn-city-picker__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--yn-border-light, #e5e5ea);
  border-radius: 10px;
  background: var(--yn-bg, #fff);
  color: var(--yn-text, #111);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.yn-city-picker__item i {
  color: var(--yn-primary, #c41e3a);
  font-size: 12px;
  flex-shrink: 0;
}

.yn-city-picker__item:hover,
.yn-city-picker__item.is-active {
  border-color: var(--yn-primary, #c41e3a);
  background: rgba(196, 30, 58, 0.06);
  color: var(--yn-primary, #c41e3a);
}

.yn-city-picker__empty {
  margin: 0;
  text-align: center;
  color: var(--yn-text-muted, #888);
  font-size: 14px;
  padding: 24px 0;
}

.yn-city-picker__foot {
  padding: 14px 24px 18px;
  border-top: 1px solid var(--yn-border-light, #eee);
  text-align: center;
}

.yn-city-picker__skip {
  border: none;
  background: transparent;
  color: var(--yn-text-muted, #666);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}

.yn-city-picker__skip:hover {
  color: var(--yn-text, #111);
}

.yn-panel-city-sep {
  color: var(--yn-text-muted, #888);
  font-weight: 700;
}

.yn-panel-city-name {
  font-size: inherit;
  font-weight: 800;
  color: var(--yn-primary, #c41e3a);
  white-space: nowrap;
}

body.yn-city-picker-open {
  overflow: hidden;
}

.yn-city-picker.is-busy .yn-city-picker__dialog {
  pointer-events: none;
}

.yn-city-picker.is-busy .yn-city-picker__dialog::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  z-index: 2;
}

.yn-city-picker__item.is-selecting {
  border-color: var(--yn-primary, #c41e3a);
  background: rgba(196, 30, 58, 0.12);
}

.yn-city-picker__item:disabled {
  opacity: 0.7;
  cursor: wait;
}

#yn-my-city-panel {
  position: relative;
  z-index: 6;
  overflow: visible;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#yn-my-city-panel.is-updating {
  opacity: 0.45;
  transform: translateY(4px);
}

#yn-my-city-panel.is-updated {
  animation: yn-my-city-fade-in 0.4s ease;
}

@keyframes yn-my-city-fade-in {
  from {
    opacity: 0.6;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575px) {
  .yn-city-picker {
    padding: 12px;
  }

  .yn-city-picker__dialog {
    max-height: 90vh;
    border-radius: 14px;
  }

  .yn-city-picker__head {
    padding: 18px 18px 10px;
  }

  .yn-city-picker__search-wrap,
  .yn-city-picker__body,
  .yn-city-picker__foot {
    padding-left: 18px;
    padding-right: 18px;
  }

  .yn-city-picker__grid {
    grid-template-columns: 1fr;
  }
}

/* Social login buttons (Gmail / Facebook) */
.yn-social-login {
  max-width: 380px;
  margin: 0 auto;
}

.yn-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 52px;
  margin-bottom: 14px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid #E0E2E3;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.yn-social-btn img,
.yn-social-btn i {
  font-size: 18px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yn-social-google {
  background-color: #ffffff;
  color: #041226;
}

.yn-social-google:hover {
  border-color: #041226;
  color: #041226;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.yn-social-facebook {
  background-color: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
}

.yn-social-facebook i {
  color: #ffffff;
}

.yn-social-facebook:hover {
  background-color: #1465d6;
  border-color: #1465d6;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.3);
}

.yn-social-note {
  margin-top: 18px;
  margin-bottom: 0;
  text-align: center;
  font-size: 14px;
  color: #55585B;
}

/* My Account page */
.yn-account-page .tp-login-area {
  background: transparent;
}

.yn-account {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: stretch;
}

.yn-account-card,
.yn-account-details {
  background: var(--yn-bg-card, #ffffff);
  border: 1px solid var(--yn-border, #EBEDEF);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(4, 18, 38, 0.05);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  box-sizing: border-box;
  align-self: stretch;
}

.yn-account-card {
  padding: 32px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.yn-account-avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #e23744, #ff6b75);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(226, 55, 68, 0.25);
}

.yn-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yn-account-avatar span {
  color: #ffffff;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}

.yn-account-name {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--yn-text-heading, #041226);
}

.yn-account-email {
  font-size: 14px;
  color: var(--yn-text-secondary, #55585B);
  margin: 0 0 16px;
  word-break: break-all;
}

.yn-account-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.yn-account-badge.is-google {
  background: #f1f3f4;
  color: #041226;
}

.yn-account-badge.is-facebook {
  background: #e7f0ff;
  color: #1877F2;
}

.yn-account-meta {
  list-style: none;
  margin: 0 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--yn-border, #EBEDEF);
}

.yn-account-meta li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
}

.yn-account-meta li span {
  color: var(--yn-text-secondary, #55585B);
}

.yn-account-meta li strong {
  color: var(--yn-text-heading, #041226);
  font-weight: 600;
}

.yn-status.is-active {
  color: #1f9d55;
}

.yn-account-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.yn-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  text-decoration: none !important;
  cursor: pointer;
}

.yn-account-btn-light {
  background: #041226;
  color: #ffffff !important;
}

.yn-account-btn-light:hover {
  background: #0c2444;
  color: #ffffff !important;
}

.yn-account-btn-danger {
  background: #ea250e;
  color: #ffffff !important;
}

.yn-account-btn-danger:hover {
  background: #c92c38;
  color: #ffffff !important;
}

.yn-account-details-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--yn-border, #EBEDEF);
}

.yn-account-details-head h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--yn-text-heading, #041226);
}

.yn-account-details-head p {
  font-size: 14px;
  color: var(--yn-text-secondary, #55585B);
  margin: 0;
}

.yn-account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}

.yn-account-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--yn-border-light, #F1F2F4);
}

.yn-account-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--yn-text-muted, #8a8f94);
  font-weight: 600;
}

.yn-account-value {
  font-size: 15px;
  color: var(--yn-text-heading, #041226);
  font-weight: 500;
  word-break: break-word;
}

.yn-account-value--readonly {
  height: 34px;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--yn-bg-page, #f7f7f9);
  border: 1px solid var(--yn-border, #EBEDEF);
  color: var(--yn-text-secondary, #55585B);
  font-size: 13px;
  box-sizing: border-box;
}

.yn-account-input,
.yn-account-select {
  width: 100%;
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  padding: 4px 10px;
  border: 1px solid var(--yn-border-input, #dde1e6);
  border-radius: 6px;
  background: #ffffff;
  color: var(--yn-text-heading, #041226);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.3s, color 0.3s;
}

.yn-account-input:focus,
.yn-account-select:focus {
  border-color: var(--tp-theme-primary);
  box-shadow: 0 0 0 3px rgba(234, 37, 14, 0.12);
}

.yn-account-input.is-invalid,
.yn-account-select.is-invalid {
  border-color: #dc2626;
}

.yn-account-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a8f94' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.yn-account-form-actions {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.yn-account-form-actions .yn-account-btn {
  width: auto;
  min-width: 140px;
  height: 40px;
}

.yn-account-btn-primary {
  background: var(--tp-theme-primary);
  color: #fff !important;
  border-color: var(--tp-theme-primary);
}

.yn-account-btn-primary:hover {
  background: #c41f0c;
  color: #fff !important;
}

.yn-account-btn-primary.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.yn-account-details {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}

.yn-account-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Account page â€” dark mode */
[data-theme="dark"] .yn-account-card,
[data-theme="dark"] .yn-account-details {
  background: var(--yn-bg-card, #1a1a1f);
  border-color: var(--yn-border, #2a2a32);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .yn-account-name,
[data-theme="dark"] .yn-account-meta li strong,
[data-theme="dark"] .yn-account-details-head h3,
[data-theme="dark"] .yn-account-value {
  color: var(--yn-text-heading, #f0f0f4);
}

[data-theme="dark"] .yn-account-email,
[data-theme="dark"] .yn-account-meta li span,
[data-theme="dark"] .yn-account-details-head p,
[data-theme="dark"] .yn-account-label {
  color: var(--yn-text-secondary, #9090a0);
}

[data-theme="dark"] .yn-account-meta,
[data-theme="dark"] .yn-account-details-head,
[data-theme="dark"] .yn-account-item {
  border-color: var(--yn-border, #2a2a32);
}

[data-theme="dark"] .yn-account-badge.is-google {
  background: #252530;
  color: #e4e4e8;
}

[data-theme="dark"] .yn-account-badge.is-facebook {
  background: #1a2438;
  color: #5b9dff;
}

[data-theme="dark"] .yn-account-btn-light {
  background: #252530;
  color: #f0f0f4 !important;
}

[data-theme="dark"] .yn-account-btn-light:hover {
  background: #2e2e38;
  color: #ffffff !important;
}

[data-theme="dark"] .yn-account-input,
[data-theme="dark"] .yn-account-select,
[data-theme="dark"] .yn-account-value--readonly {
  background: var(--yn-bg-page, #0f0f11);
  border-color: var(--yn-border-input, #2e2e38);
  color: var(--yn-text-heading, #f0f0f4);
}

[data-theme="dark"] .yn-account-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239090a0' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

[data-theme="dark"] .yn-account-value--readonly {
  color: var(--yn-text-secondary, #9090a0);
}

/* SweetAlert â€” readable in light + dark mode */
.yn-swal-popup {
  border-radius: 14px !important;
  padding: 1.5rem 1.25rem !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28) !important;
}

.yn-swal-popup .yn-swal-title,
.yn-swal-popup .swal2-title,
.yn-swal-popup .yn-swal-text,
.yn-swal-popup .swal2-html-container {
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.yn-swal-popup--light {
  background: #ffffff !important;
  color: #17171f !important;
  border: 1px solid #e8eaed !important;
}

.yn-swal-popup--light .yn-swal-title,
.yn-swal-popup--light .swal2-title,
.yn-swal-popup--light .yn-swal-text,
.yn-swal-popup--light .swal2-html-container {
  color: #17171f !important;
}

.yn-swal-popup--dark {
  background: #1a1a1f !important;
  color: #f0f0f4 !important;
  border: 1px solid #2a2a32 !important;
}

.yn-swal-popup--dark .yn-swal-title,
.yn-swal-popup--dark .swal2-title,
.yn-swal-popup--dark .yn-swal-text,
.yn-swal-popup--dark .swal2-html-container {
  color: #f0f0f4 !important;
}

.yn-swal-confirm {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 40px;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  border: 0 !important;
  background: #ea250e !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.yn-swal-confirm:hover {
  background: #c41f0c !important;
  color: #ffffff !important;
}

.yn-swal-cancel {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 40px;
  padding: 8px 18px !important;
  margin-right: 10px !important;
  border-radius: 8px !important;
  border: 1px solid #d0d4d9 !important;
  background: #ffffff !important;
  color: #55585b !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.yn-swal-cancel:hover {
  background: #f5f6f7 !important;
  color: #041226 !important;
}

.yn-account-danger {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(234, 37, 14, 0.22);
}

.yn-account-danger-head h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #ea250e;
}

.yn-account-danger-head p {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--yn-text-heading, #041226);
}

.yn-account-danger-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--yn-text-secondary, #55585B);
  margin: 0 0 16px;
  max-width: 560px;
}

.yn-account-btn-danger-outline {
  width: auto;
  min-width: 240px;
  background: transparent;
  border-color: #ea250e;
  color: #ea250e !important;
}

.yn-account-btn-danger-outline:hover {
  background: #ea250e;
  color: #ffffff !important;
}

.yn-account-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.swal2-container .yn-swal-popup .swal2-success [class^=swal2-success-line],
.swal2-container .yn-swal-popup .swal2-success [class$=tip],
.swal2-container .yn-swal-popup .swal2-success [class$=long] {
  background-color: #16a34a !important;
}

.swal2-container .yn-swal-popup .swal2-success .swal2-success-ring {
  border-color: rgba(22, 163, 74, 0.35) !important;
}

@media (max-width: 991px) {
  .yn-account {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .yn-account-grid {
    grid-template-columns: 1fr;
  }

  .yn-account-details {
    padding: 24px 20px;
  }

  .yn-account-form-actions {
    justify-content: stretch;
  }

  .yn-account-form-actions .yn-account-btn {
    width: 100%;
  }
}

/* Wishlist */
.yn-header-wishlist-btn {
  position: relative;
}

.yn-header-wishlist-btn:hover i {
  color: var(--tp-theme-primary);
}

.yn-nav-wishlist {
  gap: 6px;
}

.yn-nav-wishlist-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--tp-theme-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.yn-wishlist-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--tp-theme-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.yn-wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.yn-wishlist-btn--sm {
  min-width: 34px;
  width: auto;
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  gap: 5px;
}

.yn-wishlist-btn--sm:not(:has(.yn-wishlist-btn-label)) {
  width: 34px;
  padding: 0;
}

.yn-wishlist-btn--sm .yn-wishlist-btn-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.yn-wishlist-btn--md {
  min-width: 40px;
  width: auto;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.yn-wishlist-btn--md:not(:has(.yn-wishlist-btn-label)) {
  width: 40px;
  padding: 0;
}

.yn-wishlist-btn--lg {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.yn-wishlist-btn--lg .yn-wishlist-btn-label {
  font-weight: 600;
}

.yn-wishlist-btn:hover,
.yn-wishlist-btn.is-active {
  border-color: var(--tp-theme-primary);
  color: var(--tp-theme-primary);
  background: rgba(234, 37, 14, 0.08);
}

.yn-wishlist-btn.is-active i {
  color: var(--tp-theme-primary);
}

.yn-wishlist-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

[data-theme="dark"] .yn-wishlist-btn {
  background: var(--yn-bg-card, #1e1e24);
  border-color: var(--yn-border, #2a2a32);
  color: var(--yn-text-muted, #b0b0bc);
}

[data-theme="dark"] .yn-wishlist-btn:hover,
[data-theme="dark"] .yn-wishlist-btn.is-active {
  background: rgba(234, 37, 14, 0.14);
}

.yn-news-body-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yn-news-body-top h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.yn-cat-news-list {
  gap: 0;
}

.yn-cat-news-list .yn-news-item {
  align-items: flex-start;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--yn-border-light, #f0f1f3);
}

.yn-cat-news-list .yn-news-item:first-child {
  padding-top: 4px;
}

.yn-cat-news-list .yn-news-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.yn-cat-news-list .yn-news-thumb {
  width: 130px;
  height: 96px;
  border-radius: 8px;
  background: var(--yn-border-light, #f0f1f3);
}

.yn-cat-news-list .yn-news-thumb img,
.yn-cat-news-list .yn-news-thumb video,
.yn-cat-news-list .yn-news-thumb .yn-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yn-cat-news-list .yn-news-body {
  padding-top: 2px;
}

.yn-cat-news-list .yn-news-body-top {
  gap: 12px;
  margin-bottom: 6px;
  align-items: flex-start;
}

.yn-cat-news-list .yn-news-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: var(--yn-news-title-color, var(--yn-text-heading));
}

.yn-cat-news-list .yn-cat-list-summary {
  font-size: 14px;
  line-height: 1.65;
  color: var(--yn-text-secondary);
  margin: 0 0 10px;
}

.yn-cat-news-list .yn-cat-list-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--yn-text-muted);
}

.yn-cat-news-list .yn-cat-list-meta time {
  font-size: 12px;
}

@media (max-width: 575px) {
  .yn-cat-news-list .yn-news-item {
    gap: 12px;
    padding: 14px 0;
  }

  .yn-cat-news-list .yn-news-thumb {
    width: 104px;
    height: 78px;
    border-radius: 6px;
  }

  .yn-cat-news-list .yn-news-body h3 {
    font-size: 14px;
    line-height: 1.45;
  }

  .yn-cat-news-list .yn-cat-list-summary {
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 8px;
  }

  .yn-cat-news-list .yn-cat-list-meta {
    gap: 10px;
    font-size: 11px;
  }

  .yn-cat-news-list .yn-wishlist-btn-label {
    display: none;
  }

  .yn-cat-news-list .yn-wishlist-btn--sm {
    width: 34px;
    padding: 0;
    border-radius: 8px;
  }
}

.yn-wishlist-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yn-wishlist-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--yn-border, #e5e7eb);
  border-radius: 12px;
  background: var(--yn-bg-card, #fff);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.yn-wishlist-item.is-removing {
  opacity: 0;
  transform: translateX(8px);
}

.yn-wishlist-thumb {
  position: relative;
  display: block;
  width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.yn-wishlist-thumb img,
.yn-wishlist-thumb .yn-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yn-wishlist-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tp-theme-primary);
  margin-bottom: 6px;
}

.yn-wishlist-body h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.yn-wishlist-body h3 a {
  color: inherit;
  text-decoration: none;
}

.yn-wishlist-body p {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 8px;
}

.yn-wishlist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8a8f94;
}

.yn-wishlist-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yn-wishlist-remove-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #6b7280;
}

.yn-wishlist-remove-btn:hover {
  color: var(--tp-theme-primary);
  border-color: var(--tp-theme-primary);
}

.yn-wishlist-pagination {
  margin-top: 24px;
}

@media (max-width: 767px) {
  .yn-wishlist-item {
    grid-template-columns: 90px 1fr;
  }

  .yn-wishlist-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .yn-wishlist-thumb {
    width: 90px;
    height: 68px;
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.yn-about-head {
  background: var(--yn-bg-card);
  border: 1px solid var(--yn-border);
  border-radius: 8px;
  padding: 20px 24px;
}

.yn-about-page .yn-cat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--yn-text-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.yn-about-page .yn-cat-breadcrumb a {
  color: var(--tp-theme-primary) !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.yn-about-page .yn-cat-breadcrumb i.fa-chevron-right {
  font-size: 10px;
  opacity: 0.5;
}

.yn-about-page .yn-cat-breadcrumb span {
  color: var(--yn-text-secondary);
  font-weight: 500;
}

.yn-about-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--yn-text-heading);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.yn-about-subtitle {
  font-size: 16px;
  color: var(--yn-text-secondary);
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
}

.yn-about-intro p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--yn-text-secondary);
  margin: 0 0 24px;
}

.yn-about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.yn-about-feature {
  background: var(--yn-bg-card);
  border: 1px solid var(--yn-border);
  border-radius: 8px;
  padding: 18px;
}

.yn-about-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(var(--bs-primary-rgb, 234, 37, 14), 0.1);
  color: var(--tp-theme-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.yn-about-feature h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--yn-news-title-color);
  margin: 0 0 6px;
}

.yn-about-feature p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--yn-text-muted);
  margin: 0;
}

.yn-about-mission p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--yn-text-secondary);
  margin: 0;
}

.yn-about-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yn-about-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.yn-about-contact-item>i {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(var(--bs-primary-rgb, 234, 37, 14), 0.1);
  color: var(--tp-theme-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.yn-about-contact-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--yn-text-muted);
  margin-bottom: 3px;
}

.yn-about-contact-item a,
.yn-about-contact-item span {
  font-size: 14px;
  color: var(--yn-news-title-color);
  line-height: 1.5;
}

.yn-about-contact-item a:hover {
  color: var(--tp-theme-primary);
}

.yn-about-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--yn-text-secondary);
}

.yn-about-content p {
  margin: 0 0 14px;
}

.yn-about-content p:last-child {
  margin-bottom: 0;
}

.yn-about-content h1,
.yn-about-content h2,
.yn-about-content h3,
.yn-about-content h4 {
  color: var(--yn-news-title-color);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}

.yn-about-content h3 {
  font-size: 17px;
}

.yn-about-content h4 {
  font-size: 15px;
}

.yn-about-content ul,
.yn-about-content ol {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.yn-about-content li {
  margin-bottom: 6px;
}

.yn-about-content a {
  color: var(--tp-theme-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yn-about-content a:hover {
  opacity: 0.85;
}

.yn-about-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.yn-about-cta {
  text-align: center;
}

.yn-about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tp-theme-primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 28px;
  border-radius: 6px;
  transition: opacity .2s;
}

.yn-about-cta-btn:hover {
  opacity: 0.88;
  color: #fff !important;
}

@media (max-width: 575px) {
  .yn-about-features {
    grid-template-columns: 1fr;
  }

  .yn-about-title {
    font-size: 22px;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.yn-contact-page-details {
  margin-bottom: 0;
}

.yn-contact-social {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--yn-border-light);
}

.yn-contact-social strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yn-text-muted);
  margin-bottom: 12px;
}

.yn-contact-social .tp-footer-social,
.yn-contact-social .yn-social-grid {
  margin-top: 0;
}

.yn-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yn-contact-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.yn-contact-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--yn-text-heading);
  margin-bottom: 6px;
}

.yn-contact-field input,
.yn-contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--yn-border-input);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--yn-text-primary);
  background: var(--yn-bg-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yn-contact-field input:focus,
.yn-contact-field textarea:focus {
  outline: none;
  border-color: var(--tp-theme-primary);
  box-shadow: 0 0 0 3px rgba(234, 37, 14, 0.1);
}

.yn-contact-field textarea {
  resize: vertical;
  min-height: 140px;
}

.yn-contact-error {
  margin: 6px 0 0;
  font-size: 12px;
  color: #dc2626;
}

.yn-contact-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 16px;
}

.yn-contact-alert--success {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: #166534;
}

.yn-contact-alert--success i {
  margin-top: 2px;
  color: #16a34a;
}

.yn-contact-alert--error {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #991b1b;
}

.yn-contact-alert--error i {
  margin-top: 2px;
  color: #dc2626;
}

.yn-contact-field.is-invalid input,
.yn-contact-field.is-invalid textarea {
  border-color: #dc2626;
}

.yn-contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.yn-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  border: 0;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--tp-theme-primary);
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.yn-contact-submit:hover {
  background: #c41f0c;
}

@media (max-width: 767.98px) {
  .yn-contact-field-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Legal pages Ã¢â‚¬â€ Privacy Policy & Terms of Conditions
   ============================================================ */

.yn-legal-page {
  background: var(--yn-bg-page);
  color: var(--yn-text-primary);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Hero banner Ã¢â€â‚¬Ã¢â€â‚¬ */
.yn-legal-hero {
  background: linear-gradient(135deg,
      rgba(234, 37, 14, 0.07) 0%,
      var(--yn-bg-card) 55%,
      var(--yn-bg-page) 100%);
  border-bottom: 1px solid var(--yn-border);
  padding: 36px 0 40px;
}

.yn-legal-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--yn-text-muted);
  margin-bottom: 24px;
}

.yn-legal-breadcrumb a {
  color: var(--tp-theme-primary) !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.yn-legal-breadcrumb i.fa-chevron-right {
  font-size: 9px;
  opacity: 0.4;
}

.yn-legal-breadcrumb span {
  color: var(--yn-text-secondary);
  font-weight: 500;
}

.yn-legal-hero-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.yn-legal-hero-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--tp-theme-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 28px rgba(234, 37, 14, 0.28);
}

.yn-legal-hero-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--yn-text-heading);
  margin: 0 0 6px;
  line-height: 1.2;
}

.yn-legal-hero-subtitle {
  font-size: 15px;
  line-height: 1.65;
  color: var(--yn-text-secondary);
  margin: 0 0 14px;
}

.yn-legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--yn-text-muted);
  background: var(--yn-bg-card);
  border: 1px solid var(--yn-border);
  border-radius: 20px;
  padding: 4px 12px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Full-width content area Ã¢â€â‚¬Ã¢â€â‚¬ */
.yn-legal-wrap {
  padding: 36px 0 48px;
}

/* Card */
.yn-legal-panel {
  background: var(--yn-bg-card);
  border: 1px solid var(--yn-border);
  border-radius: 10px;
  padding: 36px 44px;
  transition: background 0.3s, border-color 0.3s;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Content typography Ã¢â€â‚¬Ã¢â€â‚¬ */
.yn-legal-content {
  font-size: 15px;
  line-height: 1.85;
  color: var(--yn-text-primary);
  overflow-wrap: break-word;
  word-break: break-word;
}

.yn-legal-content h1,
.yn-legal-content h2,
.yn-legal-content h3,
.yn-legal-content h4 {
  color: var(--yn-text-heading);
  font-weight: 700;
  margin: 2em 0 0.75em;
  line-height: 1.3;
}

.yn-legal-content h1:first-child,
.yn-legal-content h2:first-child,
.yn-legal-content h3:first-child {
  margin-top: 0;
}

.yn-legal-content h1 {
  font-size: 24px;
}

.yn-legal-content h2 {
  font-size: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yn-border);
}

.yn-legal-content h3 {
  font-size: 17px;
}

.yn-legal-content h4 {
  font-size: 15px;
}

.yn-legal-content p {
  margin-bottom: 1em;
}

.yn-legal-content ul,
.yn-legal-content ol {
  margin: 0 0 1em 1.4em;
  padding: 0;
}

.yn-legal-content li {
  margin-bottom: 0.4em;
}

.yn-legal-content a {
  color: var(--tp-theme-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yn-legal-content a:hover {
  opacity: 0.8;
}

.yn-legal-content strong {
  font-weight: 700;
}

.yn-legal-content em {
  font-style: italic;
}

.yn-legal-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.yn-legal-content hr {
  border: none;
  border-top: 1px solid var(--yn-border);
  margin: 2em 0;
}

.yn-legal-content blockquote {
  margin: 1.25em 0;
  padding: 12px 20px;
  border-left: 4px solid var(--tp-theme-primary);
  background: rgba(234, 37, 14, 0.05);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--yn-text-secondary);
}

.yn-legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25em;
  font-size: 14px;
}

.yn-legal-content table th,
.yn-legal-content table td {
  border: 1px solid var(--yn-border);
  padding: 10px 14px;
  text-align: left;
}

.yn-legal-content table th {
  background: var(--yn-bg-page);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Empty state Ã¢â€â‚¬Ã¢â€â‚¬ */
.yn-legal-empty {
  text-align: center;
  padding: 72px 24px;
}

.yn-legal-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(234, 37, 14, 0.08);
  color: var(--tp-theme-primary);
  font-size: 32px;
  margin-bottom: 20px;
}

.yn-legal-empty h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--yn-text-heading);
  margin: 0 0 10px;
}

.yn-legal-empty p {
  font-size: 15px;
  color: var(--yn-text-muted);
  margin: 0 auto;
  max-width: 400px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Responsive Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 767px) {
  .yn-legal-hero {
    padding: 24px 0 28px;
  }

  .yn-legal-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .yn-legal-hero-icon {
    width: 58px;
    height: 58px;
    font-size: 26px;
    border-radius: 14px;
  }

  .yn-legal-hero-title {
    font-size: 24px;
  }

  .yn-legal-wrap {
    padding: 24px 0 32px;
  }

  .yn-legal-panel {
    padding: 22px 18px;
  }
}

/* ============================================================
   Login / Auth page
   ============================================================ */
.yn-auth-body {
  background: var(--yn-bg-page);
}

.yn-auth-page {
  min-height: calc(100vh - 200px);
}

.yn-auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 56px;
}

.yn-auth-section-inner {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.yn-auth-card {
  background: var(--yn-bg-card);
  border: 1px solid var(--yn-border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  padding: 40px 36px 32px;
  display: flex;
  flex-direction: column;
}

.yn-auth-card-head {
  text-align: center;
  margin-bottom: 28px;
}

.yn-auth-card-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--yn-text-heading);
  margin: 0 0 10px;
  line-height: 1.25;
}

.yn-auth-card-sub {
  margin: 0;
  font-size: 15px;
  color: var(--yn-text-secondary);
}

.yn-auth-card-sub a {
  color: var(--tp-theme-primary);
  font-weight: 600;
  text-decoration: none;
}

.yn-auth-card-sub a:hover {
  text-decoration: underline;
}

.yn-auth-alert {
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 14px;
}

.yn-auth-social.yn-social-login {
  max-width: none;
  margin: 0;
  flex: 1;
}

.yn-auth-social .yn-social-btn {
  height: 54px;
  border-radius: 8px;
  font-size: 15px;
}

.yn-auth-social .yn-social-note {
  margin-top: 22px;
  color: var(--yn-text-muted);
}

.yn-auth-card-foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--yn-border-light);
  text-align: center;
}

.yn-auth-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--yn-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.yn-auth-back-home:hover {
  color: var(--tp-theme-primary);
}

/* Auth page Ã¢â‚¬â€ tablet */
@media (max-width: 991px) {
  .yn-auth-section {
    padding: 32px 20px 40px;
  }

  .yn-auth-card {
    padding: 32px 24px 28px;
  }

  .yn-auth-card-title {
    font-size: 22px;
  }
}

/* Auth page Ã¢â‚¬â€ mobile */
@media (max-width: 575px) {
  .yn-auth-section {
    padding: 24px 16px 32px;
  }

  .yn-auth-card {
    padding: 28px 18px 24px;
    border-radius: 12px;
  }

  .yn-auth-card-head {
    margin-bottom: 22px;
  }

  .yn-auth-social .yn-social-btn {
    height: 50px;
    font-size: 14px;
  }
}

/* Web Share API toast */
.yn-share-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 9999;
  transform: translateX(-50%) translateY(16px);
  padding: 12px 18px;
  border-radius: 8px;
  background: rgba(4, 18, 38, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.yn-share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.yn-search-overlay .tp-search-form {
  width: 100%;
  max-width: 100%;
}

.yn-search-overlay .tp-search-input input[type="search"] {
  width: 100%;
  display: block;
  box-sizing: border-box;
  height: 52px;
  padding: 0 52px 0 16px;
  font-size: 16px;
  line-height: 1.4;
  border: 1px solid var(--yn-border, #e5e7eb);
  border-radius: 10px;
  background: var(--yn-search-bg, #fff);
  color: var(--yn-search-text, #333);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yn-search-overlay .tp-search-input input[type="search"]:focus {
  border-color: var(--tp-theme-primary);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}

.yn-search-overlay .tp-search-input input[type="search"]::placeholder {
  color: var(--yn-search-placeholder, #9aa0a8);
}

.yn-search-overlay .tp-search-input button {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--yn-text-muted, #6b7280);
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 1;
}

.yn-search-overlay .tp-search-input button:hover {
  color: var(--tp-theme-primary);
}

.yn-search-overlay .tp-search-category {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .yn-search-overlay {
    padding: 14px 12px 18px;
  }

  .yn-search-overlay>.container-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  .yn-search-overlay .tp-search-input {
    margin-bottom: 0 !important;
  }

  .yn-search-overlay .tp-search-input input[type="search"] {
    height: 48px;
    font-size: 15px;
    border-radius: 8px;
  }
}

[data-theme="dark"] .yn-search-overlay {
  background-color: var(--yn-bg-header, #1e1e24) !important;
}

/* ============================================================
   OFFCANVAS (mobile menu sidebar)
   ============================================================ */
.yn-offcanvas .offcanvas__close {
  display: none;
}

.yn-offcanvas .offcanvas__wrapper {
  padding: 16px 0 28px;
}

.yn-offcanvas .offcanvas__content {
  padding: 0 0 20px;
  position: relative;
}

/* Close button Ã¢â‚¬â€ corner only, no blank logo row */
.yn-offcanvas-close {
  position: absolute;
  top: 0;
  right: 16px;
  z-index: 5;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--yn-border, #e5e7eb);
  background: var(--yn-bg-card, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yn-offcanvas .yn-offcanvas-section:first-of-type {
  padding-top: 4px;
  padding-right: 52px;
  /* clear absolute close button */
}

.yn-offcanvas-section {
  margin-bottom: 18px;
}

.yn-offcanvas-section-label {
  margin: 0 0 8px;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yn-text-muted, #6b7280);
}

.yn-offcanvas-panel {
  margin: 0 20px;
  border: 1px solid var(--yn-border, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
  background: var(--yn-bg-card, #fff);
}

.yn-offcanvas-city-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 40px);
  margin: 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--yn-border, #e5e7eb);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.08) 0%, rgba(196, 30, 58, 0.02) 100%);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  position: relative;
}

.yn-offcanvas-city-btn:hover {
  border-color: rgba(196, 30, 58, 0.35);
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.08);
}

.yn-offcanvas-city-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--tp-theme-primary);
  background: rgba(196, 30, 58, 0.12);
}

.yn-offcanvas-city-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yn-offcanvas-city-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--yn-text-heading, #041226);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.yn-offcanvas-city-hint {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: var(--yn-text-muted, #6b7280);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yn-offcanvas-city-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--tp-theme-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.yn-offcanvas-city-action i {
  font-size: 10px;
}

.yn-offcanvas-lang-panel {
  padding: 14px 16px;
}

.yn-offcanvas-lang-panel .yn-lang-switcher-label {
  margin-bottom: 10px;
}

.yn-offcanvas-lang-panel .yn-lang-switcher-options {
  gap: 10px;
}

.yn-offcanvas-lang-panel .yn-lang-switcher-link {
  flex: 1;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
}

.yn-offcanvas-category-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--yn-border-light, #eef0f3);
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  color: var(--yn-text-heading, #041226);
  background: var(--yn-bg-card, #fff);
  transition: background 0.2s ease, color 0.2s ease;
}

.yn-offcanvas-category-toggle:hover {
  background: var(--yn-border-light, #f8f9fb);
}

.yn-offcanvas-category-toggle.is-open {
  color: var(--tp-theme-primary);
  background: rgba(196, 30, 58, 0.05);
}

.yn-offcanvas-row-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.yn-offcanvas-category-chevron {
  font-size: 12px;
  color: var(--yn-text-muted, #6b7280);
  transition: transform 0.2s ease, color 0.2s ease;
}

.yn-offcanvas-category-toggle.is-open .yn-offcanvas-category-chevron {
  transform: rotate(180deg);
  color: var(--tp-theme-primary);
}

.yn-offcanvas-category-panel {
  display: none;
  background: var(--yn-border-light, #f8f9fb);
  border-bottom: 1px solid var(--yn-border-light, #eef0f3);
}

.yn-offcanvas-category-list ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 6px;
}

.yn-offcanvas-category-list ul li a {
  display: block;
  padding: 10px 16px 10px 46px;
  font-size: 14px;
  font-weight: 500;
  color: var(--yn-text-primary, #041226);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.yn-offcanvas-category-list ul li a:hover,
.yn-offcanvas-category-list ul li a.active {
  color: var(--tp-theme-primary);
  background: rgba(196, 30, 58, 0.05);
}

.yn-offcanvas-category-empty span {
  display: block;
  padding: 12px 16px 12px 46px;
  font-size: 14px;
  color: var(--yn-text-muted, #6b7280);
}

.yn-offcanvas-nav ul {
  box-shadow: none;
}

.yn-offcanvas-nav ul li {
  padding-left: 0;
  padding-right: 0;
}

.yn-offcanvas-nav ul li:not(:last-child)>a {
  border-bottom: 1px solid var(--yn-border-light, #eef0f3);
}

.yn-offcanvas-nav ul li>a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--yn-text-primary, #041226);
  padding: 14px 16px;
  border-left: 3px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.yn-offcanvas-nav-icon {
  width: 18px;
  text-align: center;
  font-size: 15px;
  color: var(--yn-text-muted, #6b7280);
  flex-shrink: 0;
}

.yn-offcanvas-nav ul li>a:hover {
  color: var(--tp-theme-primary);
  background: rgba(196, 30, 58, 0.04);
}

.yn-offcanvas-nav ul li>a:hover .yn-offcanvas-nav-icon {
  color: var(--tp-theme-primary);
}

.yn-offcanvas-nav ul li>a.expanded {
  color: var(--tp-theme-primary);
  font-weight: 600;
  background: rgba(196, 30, 58, 0.06);
  border-left-color: var(--tp-theme-primary);
}

.yn-offcanvas-nav ul li>a.expanded .yn-offcanvas-nav-icon {
  color: var(--tp-theme-primary);
}

.yn-offcanvas .offcanvas__btn.yn-offcanvas-actions {
  margin-top: 4px;
  margin-bottom: 18px;
  padding-left: 20px;
  padding-right: 20px;
}

.yn-offcanvas .offcanvas__btn .tp-btn-2 {
  display: block;
  width: 100%;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border-radius: 12px;
}

.yn-offcanvas-contact {
  margin-top: 0;
  padding: 16px 20px 0;
  border-top: 1px solid var(--yn-border-light, #e5e7eb);
}

.yn-offcanvas-contact .offcanvas__contact-item {
  gap: 14px;
}

.yn-offcanvas-contact .offcanvas__contact-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.1);
  color: var(--tp-theme-primary);
  font-size: 16px;
  flex-shrink: 0;
}

.yn-offcanvas-contact .offcanvas__contact-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yn-text-muted, #6b7280);
  margin-bottom: 2px;
}

.yn-offcanvas-contact .offcanvas__contact-phone {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--yn-text-primary, #041226);
  text-decoration: none;
}

.yn-offcanvas-contact .offcanvas__contact-phone:hover {
  color: var(--tp-theme-primary);
}

[data-theme="dark"] .yn-offcanvas.offcanvas__area {
  background: var(--yn-bg-header, #111114);
  color: var(--yn-text-primary);
}

[data-theme="dark"] .yn-offcanvas .offcanvas__wrapper,
[data-theme="dark"] .yn-offcanvas .offcanvas__content {
  background: transparent;
}

[data-theme="dark"] .yn-offcanvas-close {
  background: var(--yn-icon-btn-bg);
  border-color: var(--yn-icon-btn-border);
  color: var(--yn-icon-btn-color);
}

[data-theme="dark"] .yn-offcanvas-close:hover {
  background: var(--tp-theme-primary);
  border-color: var(--tp-theme-primary);
  color: #fff;
}

[data-theme="dark"] .yn-offcanvas-close svg {
  stroke: currentColor;
}

[data-theme="dark"] .yn-offcanvas-section-label {
  color: var(--yn-text-muted);
}

[data-theme="dark"] .yn-offcanvas-panel,
[data-theme="dark"] .yn-offcanvas-city-btn,
[data-theme="dark"] .yn-offcanvas-close {
  background: var(--yn-bg-card);
  border-color: var(--yn-border);
}

[data-theme="dark"] .yn-offcanvas-city-btn {
  background: linear-gradient(135deg, rgba(234, 37, 14, 0.14) 0%, rgba(234, 37, 14, 0.04) 100%);
}

[data-theme="dark"] .yn-offcanvas-city-btn:hover {
  border-color: rgba(234, 37, 14, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .yn-offcanvas-city-value,
[data-theme="dark"] .yn-offcanvas-category-toggle,
[data-theme="dark"] .yn-offcanvas-nav ul li>a,
[data-theme="dark"] .yn-offcanvas-category-list ul li a,
[data-theme="dark"] .yn-offcanvas-contact .offcanvas__contact-phone {
  color: var(--yn-text-heading);
}

[data-theme="dark"] .yn-offcanvas-city-hint,
[data-theme="dark"] .yn-offcanvas-nav-icon,
[data-theme="dark"] .yn-offcanvas-category-chevron,
[data-theme="dark"] .yn-offcanvas-category-empty span,
[data-theme="dark"] .yn-offcanvas-contact .offcanvas__contact-label {
  color: var(--yn-text-muted);
}

[data-theme="dark"] .yn-offcanvas-category-toggle,
[data-theme="dark"] .yn-offcanvas-category-panel {
  background: var(--yn-bg-card);
  border-color: var(--yn-border);
}

[data-theme="dark"] .yn-offcanvas-category-toggle {
  border-bottom-color: var(--yn-border);
}

[data-theme="dark"] .yn-offcanvas-category-toggle:hover,
[data-theme="dark"] .yn-offcanvas-nav ul li>a:hover,
[data-theme="dark"] .yn-offcanvas-category-list ul li a:hover {
  background: rgba(234, 37, 14, 0.1);
  color: var(--tp-theme-primary);
}

[data-theme="dark"] .yn-offcanvas-category-toggle.is-open,
[data-theme="dark"] .yn-offcanvas-category-panel {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .yn-offcanvas-category-panel {
  border-bottom-color: var(--yn-border);
}

[data-theme="dark"] .yn-offcanvas-category-list ul li a.active {
  color: var(--tp-theme-primary);
  background: rgba(234, 37, 14, 0.1);
}

[data-theme="dark"] .yn-offcanvas-nav ul li:not(:last-child)>a {
  border-bottom-color: var(--yn-border);
}

[data-theme="dark"] .yn-offcanvas-nav ul li>a:hover .yn-offcanvas-nav-icon,
[data-theme="dark"] .yn-offcanvas-nav ul li>a.expanded,
[data-theme="dark"] .yn-offcanvas-nav ul li>a.expanded .yn-offcanvas-nav-icon {
  color: var(--tp-theme-primary);
}

[data-theme="dark"] .yn-offcanvas-nav ul li>a.expanded {
  background: rgba(234, 37, 14, 0.12);
  border-left-color: var(--tp-theme-primary);
}

[data-theme="dark"] .yn-offcanvas-lang-panel .yn-lang-switcher-link {
  background: var(--yn-bg-page);
  border-color: var(--yn-border);
  color: var(--yn-text-primary);
}

[data-theme="dark"] .yn-offcanvas .offcanvas__btn .tp-btn-2.tp-btn-border-2 {
  background: transparent;
  border-color: var(--yn-border);
  color: var(--yn-text-heading);
}

[data-theme="dark"] .yn-offcanvas .offcanvas__btn .tp-btn-2.tp-btn-border-2:hover {
  background: var(--tp-theme-primary);
  border-color: var(--tp-theme-primary);
  color: #fff;
}

[data-theme="dark"] .yn-offcanvas-contact {
  border-top-color: var(--yn-border);
}

[data-theme="dark"] .yn-offcanvas-contact .offcanvas__contact-icon {
  background: rgba(234, 37, 14, 0.16);
  color: var(--tp-theme-primary);
}

[data-theme="dark"] .yn-offcanvas-contact .offcanvas__contact-phone:hover {
  color: var(--tp-theme-primary);
}

/* ============================================================
   MOBILE OVERFLOW (no horizontal page scroll)
   ============================================================ */
html {
  overflow-x: clip;
}

body.yn-page {
  overflow-x: clip;
  max-width: 100%;
}

/* Theme offcanvas sits 80px past viewport when closed */
.yn-offcanvas.offcanvas__area {
  transform: translateX(100%);
}

.yn-offcanvas.offcanvas__area.offcanvas-opened {
  transform: translateX(0);
}

.yn-site-header,
.yn-home,
.yn-home-body,
main {
  max-width: 100%;
}

.yn-site-header {
  overflow-x: clip;
}

.yn-info-bar {
  overflow: hidden;
  max-width: 100%;
}

.yn-info-bar>.container-fluid {
  max-width: 100%;
  overflow: hidden;
}

.yn-info-bar-inner {
  max-width: 100%;
  min-width: 0;
}

.yn-news-item,
.yn-panel,
.yn-home-main,
.yn-home-sidebar,
.col-lg-8,
.col-lg-4,
.col-md-6 {
  min-width: 0;
}

.yn-news-body h3,
.yn-news-body h3 a,
.yn-lead-body h3,
.yn-lead-body h3 a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.yn-page img,
.yn-page video,
.yn-page iframe {
  max-width: 100%;
}

.yn-shorts-wrap,
.yn-shorts-slider-mobile,
.yn-short-news-slider {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .yn-page .container-fluid {
    --bs-gutter-x: 1rem;
  }

  .yn-panel-head {
    gap: 8px;
  }

  .yn-panel-title {
    min-width: 0;
    flex: 1 1 auto;
  }

  .yn-view-more {
    flex-shrink: 0;
  }

  .yn-newsletter-form-wrap {
    min-width: 0;
    width: 100%;
  }

  .tp-mobile-menu>.container-fluid {
    padding-left: 8px;
    padding-right: 8px;
  }

  .tp-mobile-menu .yn-mobile-nav.row {
    --bs-gutter-x: 0.35rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .tp-mobile-menu .yn-mobile-nav.row>[class*="col"] {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    min-width: 0;
  }

  .yn-mobile-nav .tp-mobile-item-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .yn-page .container-fluid {
    --bs-gutter-x: 0.75rem;
  }
}

/* ---- Homepage multi-select dropdowns (My Gujarat / Metro City / Gen-Z) ---- */
.yn-dd-item-multi .yn-dd-item-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yn-dd-item-multi .yn-dd-tick {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--tp-theme-primary);
  visibility: hidden;
}

.yn-dd-item-multi.is-active .yn-dd-tick {
  visibility: visible;
}

.yn-dd-item-multi + .yn-dd-item-multi {
  margin-top: 2px;
}

.yn-genz-dd-item.yn-dd-item-all {
  border-bottom: 1px dashed var(--yn-border, #e4e4ea);
  border-radius: 7px 7px 0 0;
  margin-bottom: 4px;
}

.yn-dd-actions {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--yn-border, #e4e4ea);
  background: var(--yn-bg-panel, #fff);
}

.yn-dd-btn {
  flex: 1 1 0;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.yn-dd-btn-clear {
  border: 1px solid var(--yn-border, #e4e4ea);
  background: transparent;
  color: var(--yn-text-heading, #17171f);
}

.yn-dd-btn-clear:hover,
.yn-dd-btn-clear:focus-visible {
  border-color: var(--tp-theme-primary);
  color: var(--tp-theme-primary);
  outline: none;
}

.yn-dd-btn.is-selecting {
  opacity: 0.6;
}

[data-theme="dark"] .yn-dd-btn-clear {
  color: var(--yn-text-heading, #f0f0f4);
}

/* Web stories — portrait cover, title and date underneath */
.yn-webstories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
}
.yn-webstories-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.yn-webstory-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
  height: auto;
  min-width: 0;
  border-radius: 0;
  overflow: visible;
  color: var(--yn-text-heading, #111);
  text-decoration: none;
  background: transparent;
  box-shadow: none;
  scroll-snap-align: start;
}
.yn-webstory-card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #eceef1;
}
.yn-webstory-card-media img,
.yn-webstory-card-media .yn-ph-short {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yn-webstory-card-media img { transition: transform 0.35s ease; }
.yn-webstory-card-line {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
  height: 3px;
  pointer-events: none;
}
.yn-webstory-card-line i {
  flex: 1 1 0;
  height: 3px;
  border-radius: 2px;
  background: #fff;
}
.yn-webstory-card:hover { color: var(--yn-text-heading, #111); }
.yn-webstory-card:hover img { transform: scale(1.04); }
.yn-webstory-card-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 2px 0;
}
.yn-webstory-card-title {
  position: static;
  margin: 0;
  padding: 0;
  color: var(--yn-text-heading, #111);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.yn-webstory-card-date {
  color: var(--yn-text-muted, #888);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.yn-webstories-pagination { margin-top: 28px; }
.yn-webstories-page { padding-bottom: 40px; }
.yn-webstories-page .yn-home-body { padding-top: 16px; }
.yn-webstories-page .yn-cat-page-head {
  margin-bottom: 14px !important;
  padding-bottom: 14px;
}
.yn-webstories-page .yn-webstories-grid { margin-top: 0; }

@media (max-width: 1199px) {
  .yn-webstories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .yn-webstories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .yn-webstory-card-title { font-size: 14px; }
  .yn-webstories-scroll { grid-auto-columns: 46%; }
}