/* global.css ported to PHP */
@import url('https://fonts.googleapis.com/css2?family=Hind:wght@400;500;600;700&family=Noto+Serif+Devanagari:wght@700;800&family=Poppins:wght@600;700;800&family=Martel:wght@900&family=Noto+Sans:wght@400;600;700&family=Mukta:wght@400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --au-red: #D11F26;
  --au-nav-bg: #212121;
  --overlay-bg: rgba(0, 0, 0, 0.5);
  --sidebar-text: #333333;
  --sidebar-icon: #7d7d7d;
  --border-light: #f1f1f1;
  --news-red: #de4839;
  --news-orange: #f26522;
  --news-dark: #000000;
  --text-dark: #333333;
  --text-gray: #666666;
  --border-color: #eeeeee;
}

body {
  font-family: 'Hind', 'Noto Sans Devanagari', 'Mukta', sans-serif;
  background: #fff;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

body.auth-modal-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s ease;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Branding */
.header-branding {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.top-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 16px 15px 14px;
}

.logo-text-wrapper {
  text-align: left;
  line-height: 1;
  text-decoration: none;
  display: inline-grid;
  justify-items: start;
  flex-shrink: 0;
}

.header-ad-banner {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-ad-banner img {
  max-width: 100%;
  height: auto;
  max-height: 90px;
  border-radius: 4px;
}

@media (min-width: 769px) {
  .logo-text-wrapper {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .header-branding .top-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 8px;
  }

  .header-branding .logo-image-wrapper {
    align-self: flex-start;
  }

  .header-ad-banner {
    display: flex !important;
    width: 100%;
    justify-content: center;
    padding: 0 8px 2px;
  }

  .header-ad-banner a {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .header-ad-banner img {
    width: 100%;
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
  }
}

.logo-mainline {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.logo-primary {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 3.25rem;
  font-weight: 800;
  color: #d21920;
  margin: 0;
  letter-spacing: -1.4px;
  line-height: 0.96;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.logo-news-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  min-height: 38px;
  padding: 0 12px;
  background: #111;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 2px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-divider {
  width: 142px;
  height: 2px;
  margin: 10px 0 8px;
  background: linear-gradient(90deg, transparent 0%, #d21920 16%, #d21920 84%, transparent 100%);
}

.logo-tagline {
  display: block;
  font-size: 0.82rem;
  color: #3d3d3d;
  font-weight: 500;
  margin-top: 0;
}

/* Navbar */
.au-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #373c40;
  color: #fff;
  border-bottom: 1px solid #2f3336;
}

.nav-inner {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 50px;
  position: relative;
}

.nav-main {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.nav-control,
.nav-btn,
.nav-brand-badge,
.location-btn,
.search-btn-trigger {
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-control {
  width: 58px;
  border-right: 1px solid #52575b;
  font-size: 1.45rem;
  cursor: pointer;
}

.nav-btn {
  padding: 0 18px;
  font-size: 0.95rem;
  font-weight: 600;
}

.btn-home {
  background: #de1f27;
}

.nav-btn:hover,
.nav-control:hover,
.nav-brand-badge:hover,
.location-btn:hover,
.search-btn-trigger:hover {
  background: #42484d;
}

.btn-home:hover {
  background: #de1f27;
}

.nav-brand-badge {
  width: 46px;
  height: 30px;
  position: relative;
  background: transparent;
  color: #f2bd20;
  font-family: 'Noto Serif Devanagari', serif;
  font-weight: 700;
  font-size: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 4px;
}

.badge-crown {
  position: absolute;
  top: 4px;
  right: 7px;
  font-size: 0.92rem;
  color: #f6b41d;
}

.badge-text {
  transform: translateY(2px);
  letter-spacing: -1px;
}

.mobile-premium-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  color: #ffbf2f;
}

.mobile-premium-letter {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(2px);
}

.mobile-premium-crown {
  position: absolute;
  top: 6px;
  right: 7px;
  font-size: 1rem;
  color: #ffbf2f;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(444px, calc(100vw - 56px));
  max-width: 100%;
  background: #fff;
  z-index: 2000;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  transform: translateX(-100%);
  box-shadow: 12px 0 28px rgba(0, 0, 0, 0.18);
}

.sidebar.active {
  transform: translateX(0);
}

.sb-user-row {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 30px 26px;
  text-align: left;
  border-top: 1px solid #f3f3f3;
  border-bottom: 1px solid #ececec;
}

.sb-user-meta {
  min-width: 0;
}

.sb-user-subtitle {
  margin-top: 4px;
  color: #747474;
  font-size: 0.92rem;
  line-height: 1.35;
}

.sb-item-button {
  width: 100%;
  padding: 0;
  text-align: inherit;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 23, 0.66);
  backdrop-filter: blur(2px);
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 460px);
  background: linear-gradient(180deg, #ffffff 0%, #fff9f1 100%);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 191, 47, 0.28);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #1f2937;
}

.auth-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1f2937;
  color: #ffbf2f;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-modal-copy h2 {
  margin: 18px 0 8px;
  font-size: 2rem;
  line-height: 1.05;
  color: #121212;
}

.auth-modal-copy p {
  margin: 0 0 20px;
  color: #616161;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.auth-tab {
  min-height: 46px;
  border-radius: 14px;
  background: #f4f4f5;
  font-weight: 700;
  color: #52525b;
}

.auth-tab.is-active {
  background: #212121;
  color: #ffbf2f;
}

.auth-status {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 600;
}

.auth-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
}

.auth-status.is-success {
  background: #ecfdf5;
  color: #047857;
}

.auth-form {
  display: none;
  gap: 14px;
}

.auth-form.is-active {
  display: grid;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #313131;
}

.auth-field input {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 0 15px;
  font-size: 1rem;
  background: #fff;
}

.auth-field input:focus {
  outline: 0;
  border-color: #f2b11b;
  box-shadow: 0 0 0 4px rgba(255, 191, 47, 0.18);
}

.auth-submit,
.auth-logout {
  min-height: 50px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1d1d1d 0%, #383838 100%);
  color: #ffbf2f;
  font-weight: 800;
  font-size: 1rem;
}

.auth-submit[disabled],
.auth-logout[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.auth-user-card {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #f0d48b;
}

.auth-user-card.is-visible {
  display: flex;
}

#authUserName {
  display: block;
  font-size: 1rem;
  color: #171717;
}

#authUserEmail {
  font-size: 0.92rem;
  color: #71717a;
}

@media (max-width: 768px) {
  .auth-modal {
    align-items: flex-end;
  }

  .auth-modal-card {
    width: 100%;
    max-width: none;
    border-radius: 28px 28px 0 0;
    padding: 24px 18px 28px;
  }

  .mobile-bottom-link.mobile-bottom-premium {
    padding-top: 0;
  }

  .mobile-premium-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .mobile-premium-letter {
    font-size: 1.9rem;
  }
}

/* Final mobile premium and shorts fixes */
.nav-brand-badge {
  overflow: hidden;
}

.premium-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  transform: scale(1);
}

.mobile-bottom-premium {
  position: relative;
  z-index: 2;
  justify-content: center;
}

.mobile-bottom-premium::before {
  pointer-events: none;
}

.mobile-premium-badge {
  overflow: hidden;
  background: transparent !important;
  pointer-events: none;
}

.mobile-premium-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  transform: scale(1);
}

.mobile-premium-trigger {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #f4f4f5;
}

.mobile-premium-trigger-image {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

@media (max-width: 768px) {
  .shorts-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
  }

  .shorts-card>a {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .shorts-card-media {
    aspect-ratio: 9 / 13;
  }

  .shorts-card-caption {
    position: static !important;
    min-height: 82px;
    padding: 14px 12px 16px;
    background: #de1f27;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .shorts-card-caption h3 {
    color: #fff !important;
    font-size: 0.86rem;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .premium-icon-img {
    width: 100%;
    height: 100%;
  }

  .mobile-premium-badge {
    width: 56px;
    height: 56px;
    transform: translateY(-6px);
  }
}

/* Article page action cleanup */
.social-share-icons .share-icon-btn,
.social-share-icons .like-btn,
.social-share-icons .article-action-bookmark {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f8fafc;
  border: 1.5px solid #e1e1e1;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s;
}

.social-share-icons .like-btn.active {
  background: #fee2e2;
  border-color: #ef4444;
  color: #ef4444;
}

.social-share-icons .bookmark-btn.active {
  background: #fef9c3;
  border-color: #eab308;
  color: #ca8a04;
}

.like-counter {
  font-size: 0.9rem;
  font-weight: 700;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1500;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Trending Bar Redesign */
.trending-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
}

.trending-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
}

.trending-tag {
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.trending-scroll-container {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  flex-grow: 1;
}

.trending-scroll-container::-webkit-scrollbar {
  display: none;
}

.trending-link {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 8px;
  transition: all 0.2s;
}

.trending-link:hover {
  color: #de1f27;
}

@media (max-width: 768px) {
  .trending-bar {
    background: #fff;
    padding: 14px 0 10px;
    /* Increased vertical spacing */
    border-bottom: none;
  }

  .trending-inner {
    padding: 0 12px;
  }

  .trending-tag {
    display: none;
  }

  .trending-scroll-container {
    gap: 14px;
    /* More space between buttons */
  }

  .trending-link {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px 20px;
    /* Wider buttons */
    border-radius: 99px;
    font-size: 13px;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  }

  .trending-link:hover {
    border-color: #de1f27;
    color: #de1f27;
    background: #fef2f2;
  }
}

/* Home Layout */
.homepage-layout {
  max-width: 1240px;
  margin: 22px auto 60px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

/* Responsive */
@media (max-width: 1024px) {
  .homepage-layout {
    grid-template-columns: 1fr;
  }
}

/* More Dropdown */
.more-wrapper {
  position: relative;
  display: flex;
}

.more-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background: white;
  min-width: 220px;
  width: max-content;
  max-width: min(320px, calc(100vw - 16px));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #ddd;
  z-index: 9999;
  display: none;
  flex-direction: column;
  padding: 8px 0;
  border-radius: 6px;
}

.more-wrapper.open .more-menu {
  display: flex;
}

.more-menu a {
  padding: 10px 16px !important;
  text-decoration: none;
  color: #333 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  transition: background 0.2s;
  display: block;
}

.more-menu a:hover {
  background: #f5f5f5;
  color: #de1f27 !important;
}

/* Premium Article Styles */
.article-highlights {
  border: 1px solid #ddd;
  padding: 25px 20px 15px;
  margin: 30px 0;
  background: #fff;
  position: relative;
}

.article-highlights::before {
  content: 'HIGHLIGHTS';
  position: absolute;
  top: -12px;
  left: 20px;
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: bold;
}

.article-highlights ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.article-highlights li {
  margin-bottom: 12px;
  font-weight: 600;
  color: #222;
  font-size: 1.1rem;
}

.social-share-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
}

.social-share-icons {
  display: flex;
  gap: 10px;
}

.sidebar-story-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sidebar-story-card .sidebar-story-link {
  flex: 1 1 auto;
  min-width: 0;
}

.sidebar-story-bookmark {
  position: static !important;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-top: 6px;
  border: 1px solid #d9dde4;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-story-bookmark.active {
  color: #de1f27;
  border-color: rgba(222, 31, 39, 0.25);
  background: rgba(222, 31, 39, 0.06);
}

.share-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}

.share-icon-btn:hover,
.bookmark-btn:hover {
  background: #f8f9fa;
  border-color: #de1f27;
  color: #de1f27;
}

.story-actions-group {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.like-btn:hover {
  color: #ef4444 !important;
  border-color: #ef4444 !important;
}

.like-btn i.fas.fa-heart {
  color: #ef4444;
}


.google-news-btn {
  margin-left: auto;
  border: 1px solid #ddd;
  padding: 6px 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 0.85rem;
  font-weight: 600;
}

.google-news-btn img {
  height: 18px;
}

/* Shorts Section Jagran Style */
.shorts-section {
  padding: 40px 0;
  margin-bottom: 30px;
}

.shorts-header {
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid #eee;
}

.shorts-header a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
}

.shorts-header .shorts-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #000;
  position: relative;
  margin: 0;
}

.shorts-header .shorts-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #de1f27;
}

.shorts-grid {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: #de1f27 #f1f1f1;
}

.shorts-grid::-webkit-scrollbar {
  height: 6px;
}

.shorts-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.shorts-grid::-webkit-scrollbar-thumb {
  background-color: #de1f27;
  border-radius: 10px;
}

.shorts-card {
  flex: 0 0 210px;
  aspect-ratio: 9/16;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.shorts-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.shorts-card-media {
  width: 100%;
  height: 100%;
  position: relative;
}

.shorts-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shorts-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(222, 31, 39, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 0 20px rgba(222, 31, 39, 0.6);
  pointer-events: none;
  z-index: 5;
}

.shorts-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #de1f27;
  padding: 12px 10px;
  z-index: 10;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.shorts-card-caption h3 {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-align: left;
}

@media (min-width: 1200px) {
  .shorts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow-x: visible;
  }

  .shorts-card {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .shorts-card {
    flex: 0 0 170px;
  }

  .shorts-card-caption {
    min-height: 70px;
    padding: 14px 10px;
  }

  .shorts-card-caption h3 {
    font-size: 0.9rem;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .shorts-header .shorts-title {
    font-size: 1.4rem;
  }
}

/* Immersive Shorts Player Overlay Styles */
.immersive-player-container {
  position: relative;
  width: 380px;
  max-width: 95vw;
  height: 680px;
  max-height: 85vh;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #000;
}

.player-top-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), transparent);
  padding: 15px 15px 35px;
  z-index: 10;
  color: #fff;
  pointer-events: none;
}

.player-top-overlay h4 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.9;
}

.player-bottom-red-strip {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  background: #cc0000;
  /* Jagran Red */
  padding: 15px;
  z-index: 10;
  color: #fff;
}

.player-bottom-red-strip h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.player-side-actions {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 20;
}

.action-btn-circle {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  text-decoration: none;
}

.action-btn-circle:hover {
  transform: scale(1.1);
  background: #f8f8f8;
}

/* Article page sidebar vertical divider */
.article-sidebar {
  border-left: 1px solid #e0e0e0;
  padding-left: 24px;
}

/* WeatherSection.css */

.weather-sidebar-widget,
.breaking-sidebar-widget,
.breaking-news-list-only {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid #e1e8ef;
}

.sidebar-widget-header {
  border-bottom: 2px solid #de1f27;
  margin-bottom: 16px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-widget-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget-title i {
  color: #3b82f6;
  font-size: 14px;
}

.weather-sidebar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.weather-sidebar-card {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #f0f3f6;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.weather-sidebar-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.weather-sidebar-card.active {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #3b82f6;
}

.sidebar-city-name {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.sidebar-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-weather-icon {
  width: 40px;
  height: 40px;
  margin: -8px 0;
}

.sidebar-temp {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.sidebar-status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Condition Colors */
.status-clear {
  background: #fff7ed;
  color: #9a3412;
}

.status-clear .status-dot {
  background: #f97316;
}

.status-clouds {
  background: #f1f5f9;
  color: #475569;
}

.status-clouds .status-dot {
  background: #94a3b8;
}

.status-rain {
  background: #eff6ff;
  color: #1e40af;
}

.status-rain .status-dot {
  background: #3b82f6;
}

.status-other {
  background: #f8fafc;
  color: #64728b;
}

.status-other .status-dot {
  background: #cbd5e1;
}

/* Sidebar Story Card styles */
.sidebar-story-card {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-story-card:last-child {
  border-bottom: none;
}

.sidebar-story-image {
  flex: 0 0 100px;
  height: 68px;
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-story-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-story-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-story-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.sidebar-story-title a:hover {
  color: #de1f27;
}

.sidebar-story-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.sidebar-story-location {
  font-size: 11px;
  font-weight: 700;
  color: #de1f27;
  text-transform: uppercase;
}

.sidebar-story-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sidebar-action-icon {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-action-icon:hover {
  transform: scale(1.15);
}

.sidebar-action-icon.like-icon:hover {
  color: #ef4444;
}

.sidebar-action-icon.bookmark-icon:hover {
  color: #3b82f6;
}

/* Ensure active states show correct colors if not handled by internal classes */
.sidebar-action-icon .fas.fa-heart {
  color: #ef4444;
}

.sidebar-action-icon .fas.fa-bookmark {
  color: #3b82f6;
}

/* Weather Widget Responsive Styles */
@media (max-width: 1024px) {

  .weather-sidebar-widget,
  .breaking-sidebar-widget {
    margin-bottom: 20px;
  }

  .sidebar-widget-title {
    font-size: 16px;
  }

  .weather-sidebar-grid {
    gap: 10px;
  }

  .weather-sidebar-card {
    padding: 10px;
  }

  .sidebar-city-name {
    font-size: 13px;
  }

  .sidebar-weather-icon {
    width: 36px;
    height: 36px;
  }

  .sidebar-temp {
    font-size: 16px;
  }

  .sidebar-status-badge {
    font-size: 10px;
  }

  .sidebar-story-image {
    flex: 0 0 90px;
    height: 60px;
  }
}

@media (max-width: 768px) {

  .weather-sidebar-widget,
  .breaking-sidebar-widget {
    padding: 14px;
    margin-bottom: 18px;
  }

  .sidebar-widget-title {
    font-size: 15px;
  }

  .weather-sidebar-grid {
    gap: 8px;
  }

  .weather-sidebar-card {
    padding: 8px;
    border-radius: 6px;
  }

  .sidebar-city-name {
    font-size: 12px;
  }

  .sidebar-card-body {
    gap: 4px;
  }

  .sidebar-weather-icon {
    width: 32px;
    height: 32px;
    margin: -6px 0;
  }

  .sidebar-temp {
    font-size: 14px;
  }

  .sidebar-status-badge {
    font-size: 9px;
    padding: 3px 6px;
  }

  .sidebar-story-card {
    gap: 10px;
    padding: 10px 0;
  }

  .sidebar-story-image {
    flex: 0 0 80px;
    height: 54px;
  }

  .sidebar-story-title {
    font-size: 15px;
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  .sidebar-story-location {
    font-size: 10px;
  }

  .sidebar-action-icon {
    font-size: 13px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --au-red: #D11F26;
  --au-nav-bg: #212121;
  --overlay-bg: rgba(0, 0, 0, 0.5);
  --sidebar-text: #333333;
  --sidebar-icon: #7d7d7d;
  --border-light: #f1f1f1;
}

body {
  font-family: 'Hind', 'Noto Sans Devanagari', sans-serif;
  background: #fff;
  color: #333;
  margin: 0;
  padding: 0;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
}

/* Header Branding */
.header-branding {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.top-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 16px 15px 14px;
}

.logo-text-wrapper {
  text-align: left;
  line-height: 1;
  text-decoration: none;
  display: inline-grid;
  justify-items: start;
  flex-shrink: 0;
}

.logo-mainline {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.logo-primary {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 3.25rem;
  font-weight: 800;
  color: #d21920;
  margin: 0;
  letter-spacing: -1.4px;
  line-height: 0.96;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.logo-news-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  min-height: 38px;
  padding: 0 12px;
  background: #111;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 2px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-divider {
  width: 142px;
  height: 2px;
  margin: 10px 0 8px;
  background: linear-gradient(90deg, transparent 0%, #d21920 16%, #d21920 84%, transparent 100%);
}

.logo-tagline {
  display: block;
  font-size: 0.82rem;
  color: #3d3d3d;
  font-weight: 500;
  margin-top: 0;
}

.mobile-topbar {
  display: none;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
  position: relative;
}

.mobile-topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}

.mobile-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-logo {
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
}

.mobile-logo-top {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
}

.mobile-logo-text {
  display: inline-block;
  color: #d11f26;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.9px;
  white-space: nowrap;
}

.mobile-logo-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 2px;
  background: #111;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mobile-logo-line {
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, #d11f26 0%, rgba(209, 31, 38, 0.2) 100%);
}

.mobile-logo-tagline {
  font-size: 0.68rem;
  color: #3c3c3c;
  line-height: 1;
  font-weight: 500;
}

.mobile-city-btn {
  min-height: 58px;
  border: 0;
  background: transparent;
  color: #222;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-left: 1px solid #ececec;
  border-right: 1px solid #ececec;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-searchbar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 3;
}

.mobile-topbar.search-open .mobile-searchbar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-searchbar input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid #dfdfdf;
  outline: none;
  padding: 0 12px;
  font-size: 0.98rem;
  font-family: inherit;
  color: #333;
}

.mobile-searchbar input::placeholder {
  color: #7a7a7a;
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, #3d4246 0%, #34393d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.22);
  z-index: 1800;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
}

.mobile-bottom-link {
  width: 100%;
  min-width: 0;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease;
}

.mobile-bottom-link i {
  font-size: 1.32rem;
}

.mobile-bottom-link.active {
  background: #e32027;
}

.mobile-bottom-link span {
  display: block;
  transform: translateY(1px);
}

.our-team-page {
  background: #fff;
  padding: 56px 16px 72px;
}

.our-team-shell {
  max-width: 980px;
  margin: 0 auto;
}

.our-team-grid {
  display: grid;
  justify-content: center;
}

.our-team-grid-minimal {
  grid-template-columns: repeat(auto-fit, minmax(120px, 140px));
  gap: 42px 34px;
  align-items: start;
}

.our-team-avatar-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.our-team-avatar-frame {
  width: 110px;
  height: 110px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f5;
  border: 1px solid #e5e7eb;
}

.our-team-avatar-photo,
.our-team-avatar-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.our-team-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 2rem;
}

.our-team-avatar-copy h2 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  line-height: 1.25;
  color: #1f2937;
  font-weight: 700;
}

.our-team-avatar-copy p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #6b7280;
  font-weight: 500;
}

.our-team-state {
  padding: 28px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  text-align: center;
  color: #4b5563;
}

.our-team-state.error {
  color: #b91c1c;
}

@media (max-width: 768px) {
  .our-team-page {
    padding: 40px 14px 56px;
  }

  .our-team-grid-minimal {
    grid-template-columns: repeat(3, minmax(88px, 110px));
    gap: 24px 18px;
  }

  .our-team-avatar-frame {
    width: 92px;
    height: 92px;
  }

  .our-team-avatar-copy h2 {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .our-team-grid-minimal {
    grid-template-columns: repeat(2, minmax(90px, 110px));
    gap: 22px 20px;
  }

  .our-team-avatar-frame {
    width: 96px;
    height: 96px;
  }

  .our-team-avatar-copy p {
    font-size: 0.74rem;
  }
}

.mobile-bottom-premium {
  position: relative;
}

.mobile-bottom-premium::before {
  content: "";
  position: absolute;
  inset: 8px 8px 10px;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 65%);
  pointer-events: none;
}

.mobile-premium-badge {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3));
  transform: translateY(-8px);
}

/* Amar Ujala style header nav */
.au-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #373c40;
  color: #fff;
  border-bottom: 1px solid #2f3336;
}

.nav-inner {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 50px;
  position: relative;
}

.nav-main {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.nav-control,
.nav-btn,
.nav-brand-badge,
.location-btn,
.search-btn-trigger {
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-control {
  width: 58px;
  border-right: 1px solid #52575b;
  font-size: 1.45rem;
  cursor: pointer;
}

.nav-btn {
  padding: 0 18px;
  font-size: 0.95rem;
  font-weight: 600;
}

.btn-home {
  background: #de1f27;
}

.nav-btn:hover,
.nav-control:hover,
.nav-brand-badge:hover,
.location-btn:hover,
.search-btn-trigger:hover {
  background: #42484d;
}

.btn-home:hover {
  background: #de1f27;
}

.nav-brand-badge {
  width: 36px;
  height: 24px;
  position: relative;
  background: transparent;
  color: #f2bd20;
  font-family: 'Noto Serif Devanagari', serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.badge-crown {
  position: absolute;
  top: 4px;
  right: 7px;
  font-size: 0.92rem;
  color: #f6b41d;
}

.badge-text {
  transform: translateY(2px);
  letter-spacing: -1px;
}

.more-wrapper {
  position: relative;
}

.more-btn {
  cursor: pointer;
}

.more-dots {
  margin-left: 6px;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
}

.more-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-height: 360px;
  background: #fff;
  color: #111;
  border: 1px solid #e4e4e4;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cfcfcf transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1010;
}

.more-menu::-webkit-scrollbar {
  width: 8px;
}

.more-menu::-webkit-scrollbar-thumb {
  background: #d1d1d1;
  border-radius: 999px;
}

.more-wrapper.open .more-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.more-menu a {
  display: block;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.more-menu a:last-child {
  border-bottom: 0;
}

.more-menu a:hover {
  background: #f8f8f8;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.location-btn {
  cursor: pointer;
  gap: 10px;
  padding: 0 22px;
  border-left: 1px solid #52575b;
  font-size: 0.96rem;
  font-weight: 600;
}

.search-btn-trigger {
  cursor: pointer;
  width: 62px;
  border-left: 1px solid #52575b;
  font-size: 1.5rem;
}

.nav-search-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(470px, 100%);
  height: 50px;
  display: flex;
  align-items: stretch;
  background: #fff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(16px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 4;
}

.search-panel-menu {
  display: none;
  width: 54px;
  border: 0;
  background: transparent;
  color: #2a2a2a;
  font-size: 1.55rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.au-navbar.search-open .nav-search-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.nav-search-panel input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0 14px;
  font-size: 0.96rem;
  font-family: inherit;
  color: #333;
  font-weight: 400;
}

.nav-search-panel input::placeholder {
  color: #666;
}

.search-close-btn {
  width: 64px;
  border: 0;
  background: #373c40;
  color: #fff;
  font-size: 1.45rem;
  cursor: pointer;
}

/* Amar Ujala style sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(444px, calc(100vw - 56px));
  max-width: 100%;
  background: #fff;
  z-index: 2000;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  transform: translateX(-100%);
  box-shadow: 12px 0 28px rgba(0, 0, 0, 0.18);
  scrollbar-width: thin;
  scrollbar-color: #d2d2d2 transparent;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #d2d2d2;
  border-radius: 999px;
}

.sb-header {
  background: #f7f7f7;
  border-bottom: 1px solid #ececec;
}

.sb-topbar {
  display: flex;
  align-items: center;
  height: 74px;
  padding: 0 22px;
}

.sb-back-btn {
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #2d2d2d;
}

.sb-back-btn:hover {
  color: #111;
}

.sb-user-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 4px 28px 20px;
}

.sb-user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d6d6d6;
  font-size: 4rem;
  overflow: hidden;
}

.sb-user-avatar i {
  transform: translateY(2px);
}

.sb-user-name {
  font-weight: 500;
  font-size: 1.1rem;
  color: #101010;
  letter-spacing: 0;
}

.sb-menu {
  background: #fff;
  padding-bottom: 18px;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 0 22px 0 24px;
  text-decoration: none;
  color: #151515;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.98rem;
  font-weight: 400;
  transition: background 0.15s ease;
}

.sb-item:hover {
  background: #fafafa;
}

.sb-item-text {
  flex: 1;
}

.sb-icon-box {
  margin-left: auto;
  min-width: auto;
  color: #707070;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-item-feature {
  font-weight: 500;
}

.gold-crown {
  color: #f2b500 !important;
  font-size: 1.2rem !important;
}

.follow-pill,
.city-follow {
  margin-left: auto;
  min-width: 90px;
  border: 1px solid #dddddd;
  padding: 7px 16px 6px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: #aeaeae;
  font-weight: 400;
  background: #fff;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.follow-pill:hover,
.city-follow:hover {
  background: #f7f7f7;
  color: #8f8f8f;
  border-color: #d5d5d5;
}

.follow-pill.active,
.city-follow.active {
  background: #de1f27;
  color: #fff;
  border-color: #de1f27;
  font-weight: 500;
}

.sb-item-followable {
  display: flex !important;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 0 22px 0 24px;
  border-bottom: 1px solid #f0f0f0;
}

.sb-item-text-link {
  flex: 1;
  text-decoration: none;
  color: #151515;
  display: flex;
  align-items: center;
}

/* Trending */
.trending-bar {
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.trending-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 50px;
  padding: 0 15px;
  overflow-x: auto;
  white-space: nowrap;
}

.trending-inner::-webkit-scrollbar {
  display: none;
}

.trending-tag {
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.28rem;
  font-weight: 700;
  flex-shrink: 0;
}

.trending-link {
  color: #1c1c1c;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
}

.trending-link:hover {
  color: var(--au-red);
}

.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1500;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.city-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(370px, 100vw);
  background: #fff;
  z-index: 2050;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 28px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
}

.city-drawer.active {
  transform: translateX(0);
}

.city-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 22px 0 24px;
  border-bottom: 1px solid #ededed;
}

.city-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #141414;
}

.city-close {
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
}

.city-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 22px 0 24px;
  border-bottom: 1px solid #ededed;
}

.city-search input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 0.94rem;
  color: #333;
  font-family: inherit;
  font-weight: 400;
}

.city-search input::placeholder {
  color: #a0a0a0;
}

.city-search i {
  font-size: 1.6rem;
  color: #7f7f7f;
}

.city-section-title {
  padding: 18px 24px 16px;
  border-bottom: 1px solid #ededed;
  font-size: 0.98rem;
  font-weight: 700;
  color: #242424;
}

.city-list {
  display: block;
  padding-bottom: 8px;
}

.city-list-followed {
  padding-bottom: 0;
  background: linear-gradient(180deg, rgba(222, 31, 39, 0.03) 0%, rgba(222, 31, 39, 0) 100%);
}

.city-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 24px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 0.96rem;
  color: #171717;
  font-weight: 400;
}

.city-item:last-child {
  border-bottom: 0;
}

.city-follow {
  min-width: 88px;
  border: 1px solid #dddddd;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  color: #b1b1b1;
  font-size: 0.86rem;
  text-align: center;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.city-follow:hover {
  border-color: #de1f27;
  color: #de1f27;
}

.city-follow.active {
  border-color: #de1f27;
  background: #de1f27;
  color: #fff;
  box-shadow: 0 10px 18px rgba(222, 31, 39, 0.16);
}

.city-follow:disabled {
  opacity: 0.6;
  cursor: wait;
}

.city-link {
  flex: 1 1 auto;
  min-width: 0;
  color: #171717;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 400;
}

.city-link:hover {
  color: #de1f27;
}

.city-empty-state {
  padding: 18px 24px;
  color: #666;
  font-size: 0.92rem;
}

.state-group {
  border-bottom: 1px solid #f1f1f1;
}

.state-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 24px;
  list-style: none;
  cursor: pointer;
  color: #191919;
  font-size: 0.96rem;
}

.state-group summary::-webkit-details-marker {
  display: none;
}

.state-plus {
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.state-group[open] .state-plus {
  transform: rotate(45deg);
}

.state-cities {
  padding: 0 0 14px;
}

.state-city {
  display: block;
  padding: 0 24px 10px 38px;
  text-decoration: none;
  color: #666;
  font-size: 0.88rem;
}

.state-city:hover {
  color: var(--au-red);
}

.homepage-layout {
  max-width: 1240px;
  margin: 22px auto 60px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.news-panel {
  min-width: 0;
  align-self: stretch;
}

.latest-panel,
.center-panel {
  padding-right: 26px;
  border-right: 1px solid #1d1d1d;
}

.breaking-panel {
  padding-left: 8px;
}

.panel-heading {
  margin: 0 0 20px;
  color: #111;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

.panel-heading.breaking {
  display: inline-block;
  padding: 4px 10px 3px;
  background: #f0171f;
  color: #fff;
  font-size: 1.55rem;
}

.latest-list,
.breaking-list {
  display: grid;
  gap: 0;
}

.latest-item,
.breaking-item,
.center-list-item {
  border-bottom: 1px solid #ececec;
}

.latest-item {
  position: relative;
  padding: 0 0 18px 22px;
  margin-bottom: 18px;
}

.latest-item:last-child,
.breaking-item:last-child,
.center-list-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.latest-item::before {
  content: "#";
  position: absolute;
  left: 0;
  top: 2px;
  color: #ef2424;
  font-size: 1.15rem;
}

.story-title {
  margin: 0;
  color: #1a1a1a;
  font-size: 1.12rem;
  line-height: 1.55;
  font-weight: 500;
}

.story-title a {
  color: inherit;
  text-decoration: none;
}

.story-title a:hover {
  color: var(--au-red);
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.story-category {
  color: #ef2424;
  font-weight: 600;
}

.story-time {
  color: #8f8f8f;
}

.bookmark-btn {
  position: absolute;
  right: 0;
  bottom: 18px;
  border: 0;
  background: transparent;
  color: #727272;
  font-size: 1.1rem;
  cursor: pointer;
}

.bookmark-btn:hover {
  color: #111;
}

.story-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.story-card-footer .story-meta {
  margin-top: 0;
}

.story-card-bookmark {
  position: static;
  flex-shrink: 0;
  color: #727272;
  z-index: 2;
  pointer-events: auto;
}

.center-hero {
  background: #fff;
}

.center-hero-media {
  position: relative;
  overflow: hidden;
}

.center-hero-media img {
  display: block;
  width: 100%;
  height: 370px;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  left: 14px;
  top: 0;
  background: #111;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px 4px;
}

.center-hero-copy {
  padding: 20px 0 10px;
}

.center-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.center-hero-footer .story-meta {
  margin: 0;
}

.center-hero-bookmark {
  position: static;
  flex-shrink: 0;
  color: #6d6d6d;
}

.center-hero-title {
  margin: 0;
  color: #141414;
  max-width: 92%;
  font-size: 2.3rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.center-thumb-link {
  display: block;
  overflow: hidden;
}

.center-thumb-link .center-thumb {
  transition: transform 0.2s ease;
}

.center-list-item:hover .center-thumb-link .center-thumb {
  transform: scale(1.03);
}

.center-list-copy {
  min-width: 0;
}

.center-hero-title a {
  color: inherit;
  text-decoration: none;
}

.center-hero-title a:hover {
  color: #de1f27;
}

.center-feed {
  margin-top: 10px;
  border-top: 1px solid #ececec;
  padding-top: 4px;
}

.center-list-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 30px 18px 0;
  border-bottom: 1px solid #ececec;
}

.center-thumb {
  width: 150px;
  height: 90px;
  object-fit: cover;
  display: block;
}

.breaking-item {
  position: relative;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 28px 18px 0;
}

.breaking-thumb-wrap {
  position: relative;
}

.breaking-thumb {
  display: block;
  width: 152px;
  height: 84px;
  object-fit: cover;
}

.breaking-thumb.video::after {
  content: "\f04b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ff2a2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 8px 18px rgba(255, 42, 42, 0.35);
}

.section-ending-line,
.election-divider {
  grid-column: 1 / -1;
  position: relative;
  height: 16px;
  background:
    linear-gradient(#050505, #050505) top / 100% 6px no-repeat,
    linear-gradient(#bcbcbc, #bcbcbc) 0 11px / 100% 1px no-repeat;
}

.section-ending-line {
  margin-top: 20px;
  margin-bottom: 26px;
}

.election-section {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: 0;
}

.election-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.election-title-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
}

.election-title {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.election-title-link i {
  font-size: 1.65rem;
}

.election-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.election-tab {
  min-width: 116px;
  padding: 11px 24px 10px;
  border: 1px solid #f04a3e;
  border-radius: 999px;
  background: #fff;
  color: #222;
  text-align: center;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.election-tab:hover {
  border-color: #d11f26;
  color: #d11f26;
}

.election-tab.active {
  background: #e12b20;
  border-color: #e12b20;
  color: #fff;
}

.election-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.election-card {
  min-width: 0;
}

.election-card+.election-card {
  border-left: 1px solid #1d1d1d;
  padding-left: 24px;
  margin-left: 24px;
}

.election-card-media {
  position: relative;
  overflow: hidden;
}

.election-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.election-card-banner {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  background: rgba(231, 43, 35, 0.96);
  color: #fff;
  padding: 10px 14px 8px;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.election-card-headline {
  margin: 18px 0 0;
  color: #181818;
  font-size: 1.08rem;
  line-height: 1.52;
  font-weight: 500;
}

.election-card-headline a {
  color: inherit;
  text-decoration: none;
}

.election-card-headline a:hover {
  color: var(--au-red);
}

.election-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.election-card-footer .story-category {
  font-size: 0.95rem;
}

.election-card-footer .bookmark-btn {
  position: static;
  color: #787878;
  font-size: 1.12rem;
}

.election-divider {
  margin-top: 32px;
}

.city-news-section,
.feature-section,
.cricket-section {
  grid-column: 1 / -1;
}

.city-news-section {
  margin-top: 38px;
}

.city-news-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
  text-align: center;
}

.city-news-title {
  margin: 0;
  color: #111;
  font-size: 2.3rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.city-pin-btn {
  border: 0;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1;
  padding: 15px 30px 14px;
  cursor: pointer;
}

.city-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #1d1d1d;
  border: 1px solid #ededed;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
}

.city-pill.active {
  background: #e22a1f;
  border-color: #e22a1f;
  color: #fff;
  box-shadow: none;
}

.city-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 42px;
}

.city-news-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.city-news-media-link {
  display: block;
}

.city-news-copy {
  min-width: 0;
}

.city-news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.city-news-footer .story-meta {
  margin-top: 0;
}

.city-news-bookmark,
.related-story-bookmark {
  position: static;
  flex-shrink: 0;
  color: #787878;
}

.city-news-image {
  display: block;
  width: 156px;
  height: 88px;
  object-fit: cover;
  border-radius: 2px;
}

.city-news-card .story-title {
  font-size: 1.08rem;
  line-height: 1.5;
  font-weight: 500;
}

.city-news-card .story-meta {
  margin-top: 12px;
}

.city-news-card .story-category {
  font-size: 0.95rem;
}

.city-news-card:hover .story-title a {
  color: var(--au-red);
}

.city-news-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.city-news-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 140px;
  min-height: 38px;
  padding: 0 24px;
  border-radius: 999px;
  background: #e22a1f;
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
}

.city-news-more-btn i {
  font-size: 1rem;
}

.feature-section {
  margin-top: 38px;
}

.feature-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-section-header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
}

.feature-section-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cricket-section {
  margin-top: 34px;
  padding: 26px 28px 34px;
  border-radius: 34px;
  background: linear-gradient(180deg, #0a3d98 0%, #083584 100%);
  color: #fff;
}

.cricket-section-header a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.cricket-icon {
  width: 58px;
  height: 58px;
  display: block;
}

.cricket-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

.cricket-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.9fr) minmax(300px, 0.82fr);
  gap: 20px;
  margin-top: 24px;
}

.cricket-hero {
  position: relative;
}

.cricket-hero-image {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.cricket-live-badge {
  position: absolute;
  left: 50%;
  top: 162px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f11d1d;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.cricket-hero-headline {
  margin: 14px 0 0;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
}

.cricket-hero-headline a {
  color: #fff;
  text-decoration: none;
}

.cricket-side {
  display: grid;
  gap: 16px;
}

.cricket-table-panel {
  min-width: 0;
}

.cricket-table-title {
  margin: 0 0 14px;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 800;
  color: #fff;
}

.cricket-table {
  border-radius: 18px;
  background: linear-gradient(180deg, #0c2f79 0%, #0b2a69 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.cricket-table-head,
.cricket-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) repeat(6, minmax(0, 1fr));
  gap: 0;
  align-items: center;
}

.cricket-table-head {
  padding: 14px 14px 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.cricket-table-row {
  padding: 11px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  color: #fff;
}

.cricket-table-body {
  display: block;
  max-height: 418px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
}

.cricket-table-body::-webkit-scrollbar {
  width: 8px;
}

.cricket-table-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.38);
  border-radius: 999px;
}

.cricket-team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.cricket-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.bg-rr {
  background: #e94c43;
}

.bg-blr {
  background: #2f84ff;
}

.bg-del {
  background: #f25050;
}

.bg-mum {
  background: #223ea8;
}

.bg-pun {
  background: #d24c49;
}

.bg-hyd {
  background: #ff8f2a;
}

.bg-guj {
  background: #f14c2f;
}

.bg-lko {
  background: #3a67ff;
}

.bg-kkr {
  background: #3a1f7a;
}

.bg-csk {
  background: #f6c200;
  color: #111;
}

.shorts-section {
  margin-top: 38px;
}

.shorts-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.shorts-header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
}

.shorts-title {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.shorts-card {
  position: relative;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #8d0000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.shorts-card-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
}

.shorts-card-media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.shorts-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shorts-play {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 37, 37, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.02rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.shorts-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 98px;
  padding: 16px 12px 14px;
  background: linear-gradient(180deg, rgba(137, 0, 0, 0.2), rgba(122, 0, 0, 0.96) 22%, #7d0000 100%);
  color: #fff;
}

.shorts-copy h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.34;
  font-weight: 800;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.24);
}

.shorts-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.cricket-side-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.cricket-side-item img {
  width: 128px;
  height: 92px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.cricket-side-item .story-title {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.cricket-side-item .story-title a {
  color: #fff;
}

.cricket-side-item .story-meta {
  margin-top: 4px;
}

.cricket-side-item .story-category {
  color: #ffe800;
}

.feature-section-header i {
  font-size: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.feature-card {
  min-width: 0;
}

.feature-card+.feature-card {
  border-left: 1px solid #1d1d1d;
  padding-left: 24px;
  margin-left: 24px;
}

.feature-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-headline {
  margin: 18px 0 0;
  color: #181818;
  font-size: 1.08rem;
  line-height: 1.52;
  font-weight: 500;
}

.feature-headline a {
  color: inherit;
  text-decoration: none;
}

.feature-headline a:hover {
  color: var(--au-red);
}

.feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.feature-footer .story-category {
  font-size: 0.95rem;
}

.feature-footer .bookmark-btn {
  position: static;
  color: #787878;
  font-size: 1.12rem;
}

.feature-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-tagline .fa-gem {
  color: #1a9ce6;
  font-size: 1rem;
}

.shorts-section {
  grid-column: 1 / -1;
  margin-top: 38px;
}

.shorts-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.shorts-header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
}

.shorts-title {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.shorts-card {
  position: relative;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #8d0000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.shorts-card-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
}

.shorts-card-media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.shorts-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shorts-play {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 37, 37, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.02rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.shorts-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 98px;
  padding: 16px 12px 14px;
  background: linear-gradient(180deg, rgba(137, 0, 0, 0.2), rgba(122, 0, 0, 0.96) 22%, #7d0000 100%);
  color: #fff;
}

.shorts-copy h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.34;
  font-weight: 800;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.24);
}

.shorts-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.news-trio-section {
  grid-column: 1 / -1;
  margin-top: 34px;
}

.news-trio-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 0;
  padding-top: 14px;
}

.news-trio-column {
  min-width: 0;
}

.news-trio-column+.news-trio-column {
  border-left: 1px solid #1d1d1d;
  padding-left: 24px;
  margin-left: 24px;
}

.news-trio-header {
  margin-bottom: 18px;
}

.news-trio-header a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  text-decoration: none;
}

.news-trio-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
}

.news-trio-list {
  display: grid;
  gap: 18px;
}

.news-trio-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.news-trio-thumb {
  width: 120px;
  height: 84px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

.news-trio-copy {
  min-width: 0;
}

.news-trio-copy .story-title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.42;
  font-weight: 500;
}

.news-trio-copy .story-meta {
  margin-top: 0;
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(222, 31, 39, 0.12), transparent 24%),
    linear-gradient(180deg, #242424 0%, #1a1a1a 100%);
  color: #fff;
  margin-top: 48px;
}

.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 15px 24px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 0.95fr;
  gap: 28px;
}

.site-footer-title {
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.site-footer-title-muted {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.15rem;
  font-weight: 700;
}

.site-footer-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4c46a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer-heading {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.site-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}

.site-footer-links a,
.site-footer-meta a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.45;
}

.site-footer-links a:hover,
.site-footer-meta a:hover {
  color: #fff;
}

.site-footer-meta {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28ch;
}

.site-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.site-footer-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.88rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer-chip:hover {
  background: rgba(222, 31, 39, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.site-footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.site-footer-brand-image {
  display: block;
  width: auto;
  max-width: min(100%, 280px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.site-footer-brand-copy {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer-brand-copy strong {
  color: #fff;
  font-size: 1.05rem;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.site-footer-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.main-column {
  max-width: 1240px;
  margin: 60px auto;
  padding: 0 15px;
  text-align: center;
  color: #bbb;
}

.homepage-layout>h2,
.homepage-layout>p {
  display: none;
}

@media (max-width: 1080px) {
  .homepage-layout {
    grid-template-columns: 260px minmax(0, 1fr) 300px;
    gap: 22px;
  }

  .city-news-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .city-news-grid {
    gap: 32px 30px;
  }

  .feature-card:nth-child(2n + 1) {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
  }

  .city-news-title {
    font-size: 1.95rem;
  }

  .feature-section-title {
    font-size: 1.82rem;
  }

  .election-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 0;
  }

  .election-card:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
  }

  .election-title {
    font-size: 1.95rem;
  }

  .election-tab {
    min-width: 104px;
    padding-inline: 20px;
  }

  .center-hero-title {
    max-width: 100%;
    font-size: 2rem;
  }

  .breaking-item,
  .center-list-item {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .breaking-thumb,
  .center-thumb {
    width: 120px;
  }

  .breaking-thumb {
    height: 76px;
  }

  .center-thumb {
    height: 78px;
  }

  .top-inner {
    gap: 18px;
  }

  .logo-primary {
    font-size: 3rem;
  }

  .nav-btn {
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .location-btn {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
  }

  body {
    padding-bottom: 72px;
    overflow-x: hidden;
  }

  .homepage-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 18px auto 36px;
    padding: 0 12px;
  }

  .homepage-layout,
  .city-news-section,
  .feature-section,
  .cricket-section,
  .election-section {
    width: 100%;
    max-width: 100%;
  }

  .section-ending-line,
  .election-divider {
    width: 100%;
  }

  .mobile-bottom-nav {
    display: grid;
  }

  .city-news-section,
  .feature-section,
  .cricket-section {
    grid-column: auto;
    margin-top: 28px;
  }

  .city-news-header {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
  }

  .city-news-title {
    font-size: 1.5rem;
    text-align: left;
    width: 100%;
  }

  .city-pin-btn {
    align-self: flex-start;
    padding: 10px 18px 9px;
    font-size: 0.88rem;
  }

  .city-pills {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 10px;
    margin-bottom: 22px;
    scrollbar-width: none;
  }

  .city-pills::-webkit-scrollbar {
    display: none;
  }

  .city-pill {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .city-news-grid,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .city-news-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ededed;
  }

  .city-news-image {
    width: 112px;
    height: 74px;
  }

  .city-news-card .story-title {
    font-size: 0.95rem;
    line-height: 1.42;
  }

  .election-card,
  .feature-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .election-grid,
  .feature-grid {
    gap: 0;
  }

  .election-card-media,
  .feature-image {
    width: 112px;
  }

  .election-card-image,
  .feature-image {
    width: 112px;
    height: 74px;
    aspect-ratio: auto;
  }

  .election-card-banner {
    display: none;
  }

  .election-header {
    margin-bottom: 18px;
  }

  .election-card-headline,
  .feature-headline {
    margin-top: 0;
    font-size: 0.95rem;
    line-height: 1.42;
  }

  .election-card-footer,
  .feature-footer {
    margin-top: 10px;
  }

  .bookmark-btn {
    display: inline-flex !important;
    position: static !important;
  }

  .election-card,
  .feature-card,
  .city-news-card,
  .center-list-item,
  .breaking-item {
    width: 100%;
    max-width: 100%;
  }

  .center-hero {
    display: none;
  }

  .center-feed {
    margin-top: 0;
  }

  .center-list-item,
  .breaking-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
  }

  .center-thumb,
  .breaking-thumb {
    width: 112px;
    height: 74px;
  }

  .latest-item {
    padding: 0 0 14px 18px;
    margin-bottom: 14px;
  }

  .story-title {
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .feature-card {
    padding-bottom: 16px;
    border-bottom: 1px solid #ededed;
  }

  .feature-card+.feature-card,
  .feature-card:nth-child(2n + 1) {
    border-left: 0;
    border-top: 0;
    padding-left: 0;
    padding-top: 0;
    margin-left: 0;
  }

  .feature-section-header {
    margin-bottom: 18px;
  }

  .feature-section-title {
    font-size: 1.42rem;
  }

  .story-meta {
    gap: 8px;
    font-size: 0.8rem;
  }

  .story-category {
    font-size: 0.8rem;
  }

  .site-footer-inner {
    padding: 30px 14px 96px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer-actions,
  .site-footer-chip-list,
  .site-footer-badges {
    gap: 8px;
  }

  .site-footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-brand-lockup {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .site-footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-ending-line {
    grid-column: auto;
    margin-top: 14px;
    margin-bottom: 22px;
  }

  .election-section {
    grid-column: auto;
    margin-top: 0;
    padding-top: 0;
    order: 4;
  }

  .election-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 22px;
  }

  .election-title {
    font-size: 1.85rem;
  }

  .election-tabs {
    justify-content: flex-start;
    gap: 12px;
  }

  .election-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .election-card+.election-card,
  .election-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #1d1d1d;
    padding-left: 0;
    padding-top: 24px;
    margin-left: 0;
  }

  .election-divider {
    margin-top: 26px;
  }

  .latest-panel,
  .center-panel,
  .breaking-panel {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .news-panel.latest-panel {
    order: 2;
  }

  .news-panel.center-panel {
    order: 1;
  }

  .news-panel.breaking-panel {
    order: 3;
  }

  .panel-heading {
    font-size: 1.7rem;
    margin-bottom: 16px;
  }

  .panel-heading.breaking {
    font-size: 1.3rem;
  }

  .center-hero-media img {
    height: 230px;
  }

  .center-hero-title {
    max-width: 100%;
    font-size: 1.8rem;
    line-height: 1.24;
  }

  .latest-item,
  .breaking-item,
  .center-list-item {
    padding-right: 26px;
  }

  .header-branding {
    display: none;
  }

  .mobile-topbar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1002;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
  }

  .au-navbar.epaper-mode {
    top: 0 !important;
    margin-top: 0;
  }

  .mobile-topbar-inner {
    min-height: 62px;
    padding: 0 12px;
    gap: 8px;
  }

  .mobile-icon-btn {
    width: 38px;
    height: 38px;
    font-size: 1.75rem;
    color: #222;
  }

  .mobile-premium-trigger {
    margin-left: -2px;
  }

  .mobile-logo {
    flex: 1 1 auto;
    max-width: none;
  }

  .mobile-logo-top {
    gap: 6px;
  }

  .mobile-logo-text {
    font-size: 1.45rem;
    letter-spacing: -0.6px;
  }

  .mobile-logo-news {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.9rem;
  }

  .mobile-logo-line {
    width: 72px;
    height: 2px;
  }

  .mobile-city-btn {
    min-height: 62px;
    padding: 0 10px !important;
    font-size: 0.96rem !important;
    font-weight: 500;
    gap: 5px !important;
    border-left: 1px solid #ececec;
    border-right: 1px solid #ececec;
  }

  .au-navbar {
    top: 62px;
    background: #3b4044;
  }

  .au-navbar.search-open {
    z-index: 1205;
  }

  .nav-inner {
    overflow: visible;
    min-height: 52px;
  }

  .nav-control,
  .nav-right {
    display: none;
  }

  .nav-main {
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-main::-webkit-scrollbar {
    display: none;
  }

  .nav-btn,
  .nav-brand-badge {
    flex: 0 0 auto;
    min-height: 52px;
  }

  .nav-btn {
    padding: 0 14px;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .nav-brand-badge {
    width: 84px;
    height: 54px;
    font-size: 1.6rem;
  }

  .more-menu {
    left: auto;
    right: 0;
  }

  .more-wrapper {
    position: relative;
    z-index: 4;
  }

  .more-menu {
    position: fixed;
    top: 114px;
    right: 8px;
    left: 8px;
    width: auto;
    min-width: 0;
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 10px;
  }

  .more-wrapper.open .more-menu {
    transform: translateY(0);
  }

  .nav-search-panel {
    display: none;
  }

  .trending-inner {
    gap: 10px;
    min-height: auto;
    padding: 10px 12px;
  }

  .trending-tag {
    display: none;
  }

  .trending-link {
    flex: 0 0 auto;
    border: 1px solid #8d8d8d;
    border-radius: 999px;
    padding: 7px 16px 6px;
    background: #fff;
    line-height: 1;
  }

  .nav-main {
    min-width: 0;
    overscroll-behavior-x: contain;
  }

  .more-wrapper {
    position: static;
  }

  .more-btn {
    position: relative;
    z-index: 6;
  }

  .sidebar {
    width: 100vw;
  }

  .sb-topbar {
    height: 64px;
    padding: 0 18px;
  }

  .sb-user-row {
    padding: 0 20px 18px;
  }

  .sb-user-avatar {
    width: 60px;
    height: 60px;
    font-size: 3.4rem;
  }

  .sb-user-name {
    font-size: 1.08rem;
  }

  .sb-item {
    min-height: 56px;
    padding: 0 18px 0 20px;
    font-size: 1rem;
  }

  .follow-pill {
    min-width: 84px;
    padding: 6px 12px;
    font-size: 0.86rem;
  }

  .city-drawer {
    width: 100vw;
  }

  .main-column {
    margin: 28px auto 36px;
  }

}

@media (max-width: 480px) {
  .homepage-layout {
    padding: 0 10px;
  }

  .panel-heading,
  .feature-section-title,
  .election-title,
  .city-news-title {
    font-size: 1.34rem;
    line-height: 1.2;
  }

  .city-news-title {
    font-size: 1.34rem;
  }

  .city-pill {
    font-size: 0.8rem;
    min-height: 34px;
    padding: 0 12px;
  }

  .city-news-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .city-news-image {
    width: 92px;
    height: 62px;
  }

  .election-card,
  .feature-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .election-card-media,
  .feature-image,
  .election-card-image {
    width: 92px;
    height: 62px;
  }

  .city-news-card .story-title,
  .feature-headline {
    font-size: 0.88rem;
  }

  .election-card-headline {
    font-size: 0.88rem;
  }

  .feature-section-title {
    font-size: 1.34rem;
  }

  .cricket-section {
    padding: 18px 14px 22px;
    border-radius: 24px;
  }

  .cricket-section-header a {
    gap: 10px;
  }

  .cricket-icon {
    width: 44px;
    height: 44px;
  }

  .cricket-title {
    font-size: 1.35rem;
  }

  .cricket-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cricket-hero-image {
    height: 220px;
  }

  .cricket-live-badge {
    top: 98px;
    min-width: 74px;
    height: 28px;
    font-size: 0.86rem;
  }

  .cricket-side-item {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 10px;
  }

  .cricket-side-item img {
    width: 98px;
    height: 72px;
  }

  .cricket-side-item .story-title {
    font-size: 0.93rem;
  }

  .cricket-table-title {
    font-size: 1.14rem;
  }

  .cricket-table-head,
  .cricket-table-row {
    grid-template-columns: minmax(0, 1.9fr) repeat(6, minmax(0, 1fr));
    font-size: 0.74rem;
  }

  .cricket-table-body {
    max-height: 320px;
  }

  .cricket-table-head {
    padding: 12px 10px 8px;
  }

  .cricket-table-row {
    padding: 10px 10px;
  }

  .cricket-badge {
    width: 24px;
    height: 24px;
    font-size: 0.55rem;
  }

  .center-list-item,
  .breaking-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .center-thumb,
  .breaking-thumb {
    width: 92px;
    height: 62px;
  }

  .story-title {
    font-size: 0.9rem;
  }

  .shorts-section {
    margin-top: 30px;
  }

  .shorts-title {
    font-size: 1.5rem;
    padding-left: 2px;
  }

  .shorts-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .shorts-grid::-webkit-scrollbar {
    display: none;
  }

  .shorts-card-caption,
  .shorts-copy {
    min-height: 84px;
    padding: 15px 12px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%) !important;
  }

  .shorts-card-caption h3,
  .shorts-copy h3 {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    color: #fff !important;
  }

  .news-trio-wrap {
    grid-template-columns: 1fr;
    padding-top: 20px;
    gap: 28px;
  }

  .news-trio-column+.news-trio-column {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid #1d1d1d;
    padding-top: 22px;
  }

  .news-trio-title {
    font-size: 1.28rem;
  }

  .news-trio-item {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
  }

  .news-trio-thumb {
    width: 90px;
    height: 64px;
  }

  .news-trio-copy .story-title {
    font-size: 0.9rem;
  }

  .election-title {
    font-size: 1.62rem;
  }

  .election-title-link i {
    font-size: 1.35rem;
  }

  .election-tab {
    min-width: 0;
    padding: 10px 18px 9px;
    font-size: 0.9rem;
  }

  .election-card-banner {
    left: 12px;
    right: 12px;
    padding: 8px 12px 7px;
    font-size: 0.88rem;
  }

  .election-card-headline {
    font-size: 1rem;
  }

  .center-hero-media img {
    height: 210px;
  }

  .center-hero-title {
    font-size: 1.72rem;
    line-height: 1.36;
    max-width: 100%;
  }

  .more-menu {
    top: 106px;
    left: 6px;
    right: 6px;
    max-width: calc(100vw - 12px);
  }

  .breaking-item,
  .center-list-item {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
  }

  .breaking-thumb,
  .center-thumb {
    width: 110px;
  }

  .breaking-thumb {
    height: 74px;
  }

  .center-thumb {
    height: 74px;
  }

  .story-title {
    font-size: 1rem;
  }

  .mobile-topbar-inner {
    padding: 0 8px;
    gap: 6px;
  }

  .mobile-logo {
    gap: 2px;
  }

  .mobile-logo-text {
    font-size: 1.34rem;
    letter-spacing: -0.7px;
  }

  .mobile-logo-line {
    width: 46px;
  }

  .mobile-city-btn {
    padding: 0 8px;
    font-size: 0.84rem;
    gap: 4px;
  }

  .nav-btn {
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .nav-brand-badge {
    width: 84px;
    height: 54px;
  }

  .trending-inner {
    padding: 8px 10px;
  }

  .trending-link {
    padding: 7px 14px 6px;
    font-size: 0.88rem;
  }
}

@media (max-width: 390px) {
  .homepage-layout {
    padding: 0 10px;
  }

  .shorts-grid {
    gap: 10px;
  }

  .shorts-card {
    flex-basis: 148px;
  }

  .mobile-bottom-nav {
    height: 68px;
  }

  .mobile-bottom-link {
    font-size: 0.68rem;
    gap: 2px;
  }

  .mobile-bottom-link i {
    font-size: 1.08rem;
  }

  .mobile-bottom-premium {
    justify-content: center;
  }

  .mobile-premium-badge {
    width: 56px;
    height: 56px;
  }

  .panel-heading {
    font-size: 1.5rem;
  }

  .center-hero-title {
    font-size: 1.54rem;
    max-width: 100%;
  }

  .breaking-item,
  .center-list-item {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 12px;
  }

  .breaking-thumb,
  .center-thumb {
    width: 98px;
  }

  .breaking-thumb,
  .center-thumb {
    height: 66px;
  }

  .mobile-topbar-inner {
    gap: 4px;
    padding: 0 8px;
  }

  .mobile-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 1.5rem;
  }

  .mobile-logo {
    gap: 2px;
  }

  .mobile-logo-top {
    gap: 5px;
  }

  .mobile-logo-text {
    font-size: 1.22rem;
    letter-spacing: -0.35px;
  }

  .mobile-logo-news {
    min-height: 21px;
    padding: 0 6px;
    font-size: 0.78rem;
  }

  .mobile-logo-line {
    width: 58px;
  }

  .mobile-logo-tagline {
    font-size: 0.58rem;
  }

  .mobile-city-btn {
    min-height: 62px;
    min-width: auto;
    padding: 0 8px;
    border-right: 1px solid #ececec;
    font-size: 0.82rem;
    gap: 4px;
  }

  .mobile-city-btn span {
    display: inline;
  }

  .mobile-searchbar {
    gap: 4px;
    padding: 0 4px;
  }

  .mobile-searchbar input {
    height: 40px;
    padding: 0 10px;
    font-size: 0.92rem;
  }

}

@media (max-width: 768px) {

  html,
  body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body {
    padding-bottom: 66px !important;
  }

  .header-branding,
  .mobile-topbar,
  .au-navbar,
  .trending-bar,
  .homepage-layout,
  .site-footer,
  .site-footer-inner,
  .nav-inner,
  .trending-inner,
  .mobile-topbar-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .homepage-layout {
    display: flex !important;
    flex-direction: column !important;
    margin: 16px 0 28px !important;
    padding: 0 12px !important;
  }

  .homepage-layout>*,
  .news-panel,
  .election-section,
  .city-news-section,
  .feature-section,
  .cricket-section,
  .section-ending-line,
  .election-divider {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .latest-panel,
  .center-panel,
  .breaking-panel {
    border-right: 0 !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
  }

  .news-panel {
    display: block !important;
  }

  .news-panel.center-panel {
    order: 1 !important;
  }

  .news-panel.breaking-panel,
  .news-panel.side-panel {
    order: 2 !important;
  }

  .news-panel.latest-panel {
    order: 3 !important;
    display: block !important;
  }

  .section-ending-line {
    order: 4 !important;
  }

  .election-section {
    order: 5 !important;
  }

  .city-news-section {
    order: 6 !important;
  }

  .feature-section {
    display: block !important;
  }

  .feature-section[aria-label="à¤¬à¤¿à¤œà¤¨à¥‡à¤¸"] {
    order: 8 !important;
  }

  .feature-section[aria-label="à¤¸à¤‚à¤ªà¤¾à¤¦à¤•à¥€à¤¯"] {
    order: 9 !important;
  }

  .election-grid,
  .city-news-grid,
  .feature-grid,
  .latest-list,
  .breaking-list,
  .center-feed {
    display: block !important;
    width: 100% !important;
  }

  .breaking-item,
  .center-list-item,
  .city-news-card,
  .feature-card,
  .election-card {
    display: grid !important;
    grid-template-columns: 105px minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 16px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #ececec !important;
    align-items: start !important;
  }

  .latest-item {
    display: block !important;
    padding: 18px 0 18px 24px !important;
    position: relative !important;
    border-bottom: 1px solid #ececec !important;
  }

  .center-list-item>div,
  .breaking-item>div,
  .city-news-card>div,
  .feature-card>div,
  .election-card>div,
  .center-hero-copy {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .latest-item::before {
    left: 0 !important;
    top: 12px !important;
  }

  .latest-item {
    padding-left: 18px !important;
  }

  .breaking-thumb,
  .center-thumb,
  .city-news-image,
  .feature-image,
  .election-card-image {
    width: 105px !important;
    height: 70px !important;
    max-width: 105px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
  }

  .election-card-media {
    width: 96px !important;
  }

  .center-hero {
    display: block !important;
    margin-bottom: 14px !important;
  }

  .center-hero-media img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
  }

  .center-hero-copy {
    padding: 14px 0 10px !important;
  }

  .center-hero-title {
    margin: 0 !important;
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }

  .hero-tag {
    display: inline-block !important;
  }

  .election-card-banner {
    display: none !important;
  }

  .story-title,
  .sidebar-story-title,
  .center-hero-title,
  .city-news-card .story-title,
  .feature-headline,
  .election-card-headline {
    margin: 0 !important;
    font-size: 1.3rem !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
    color: #000 !important;
    letter-spacing: -0.01em !important;
  }

  .sidebar-story-title a,
  .center-hero-title a {
    color: inherit !important;
    text-decoration: none !important;
  }

  .story-meta,
  .sidebar-story-footer,
  .feature-footer,
  .election-card-footer {
    margin-top: 14px !important;
    gap: 14px !important;
    font-size: 0.98rem !important;
    color: #444 !important;
    font-weight: 500 !important;
  }

  .sidebar-story-location {
    font-size: 0.95rem !important;
    color: #ef2424 !important;
    font-weight: 700 !important;
  }

  .panel-heading,
  .feature-section-title,
  .election-title,
  .city-news-title,
  .sidebar-widget-title {
    width: 100% !important;
    margin: 0 0 16px !important;
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    text-align: left !important;
    font-weight: 800 !important;
    color: #111 !important;
  }

  .city-news-header,
  .election-header,
  .feature-section-header {
    display: block !important;
    margin-bottom: 16px !important;
  }

  .city-pin-btn {
    display: inline-flex !important;
    margin-top: 0 !important;
    padding: 9px 14px !important;
    font-size: 0.82rem !important;
  }

  .city-pills,
  .election-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding: 0 0 6px !important;
    margin: 0 0 16px !important;
    scrollbar-width: none !important;
  }

  .city-pills::-webkit-scrollbar,
  .election-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .city-pill,
  .election-tab {
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
  }

  .section-ending-line,
  .election-divider {
    margin: 18px 0 !important;
  }

  .homepage-layout>.section-ending-line:first-of-type {
    display: none !important;
  }

  .election-section+.section-ending-line,
  .city-news-section+.section-ending-line,
  .feature-section+.section-ending-line {
    margin: 8px 0 !important;
  }

  .feature-section[aria-label="à¤¬à¤¿à¤œà¤¨à¥‡à¤¸"]+.section-ending-line {
    display: none !important;
  }

  .site-footer {
    margin-top: 30px !important;
    overflow: hidden !important;
  }

  .site-footer-inner {
    padding: 20px 12px 72px !important;
  }

  .site-footer-grid {
    display: block !important;
  }

  .side-panel-weather {
    display: block !important;
  }

  .site-footer-grid>section {
    margin-bottom: 20px !important;
  }

  .site-footer-title {
    font-size: 1.5rem !important;
    margin-bottom: 12px !important;
  }

  .site-footer-title-muted {
    display: block;
    margin-top: 4px;
    font-size: 0.95rem !important;
  }

  .site-footer-heading {
    font-size: 0.98rem !important;
  }

  .site-footer-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .site-footer-meta {
    gap: 10px !important;
    max-width: none !important;
  }

  .site-footer-actions,
  .site-footer-chip-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .site-footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .site-footer-brand-lockup {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .site-footer-brand-image {
    max-width: min(100%, 250px) !important;
  }

  .site-footer-bottom {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .mobile-city-btn {
    min-height: 58px !important;
    padding: 0 10px !important;
    font-size: 0.92rem !important;
    gap: 6px !important;
    white-space: nowrap !important;
  }

  .mobile-city-btn span {
    display: inline !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px !important;
  }

  .mobile-topbar {
    padding-top: env(safe-area-inset-top) !important;
  }

  .homepage-layout,
  .news-panel,
  .center-feed,
  .breaking-list,
  .election-grid,
  .city-news-grid,
  .feature-grid,
  .site-footer,
  .site-footer-inner {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .center-list-item,
  .breaking-item,
  .city-news-card,
  .feature-card,
  .election-card {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 12px !important;
    padding: 10px 0 !important;
  }

  .center-list-item>div,
  .breaking-item>div,
  .city-news-card>div,
  .feature-card>div,
  .election-card>div,
  .latest-item,
  .latest-item>.story-title,
  .latest-item>.story-meta {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .center-hero-media img,
  .center-thumb,
  .breaking-thumb,
  .city-news-image,
  .feature-image,
  .election-card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  .center-list-item,
  .breaking-item,
  .city-news-card,
  .feature-card,
  .election-card {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .center-thumb,
  .breaking-thumb,
  .city-news-image,
  .feature-image,
  .election-card-image,
  .election-card-media {
    width: 92px !important;
    max-width: 92px !important;
  }

  .center-hero-title {
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  .story-title,
  .city-news-card .story-title,
  .feature-headline,
  .election-card-headline,
  .panel-heading,
  .feature-section-title,
  .election-title,
  .city-news-title {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .panel-heading,
  .feature-section-title,
  .election-title,
  .city-news-title {
    font-weight: 700 !important;
    margin-bottom: 12px !important;
  }

  .story-meta,
  .feature-footer,
  .election-card-footer {
    font-size: 12px !important;
  }

  .city-pill,
  .election-tab,
  .nav-btn,
  .mobile-bottom-link,
  .mobile-city-btn {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .city-pill,
  .election-tab {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

.cricket-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cricket-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.cricket-tab {
  min-width: 116px;
  padding: 11px 24px 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cricket-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.cricket-tab.active {
  background: #fff;
  border-color: #fff;
  color: #0a3d98;
}

@media (max-width: 768px) {
  .cricket-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .cricket-tabs {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 10px;
    scrollbar-width: none;
  }

  .cricket-tabs::-webkit-scrollbar {
    display: none;
  }

  .cricket-tab {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .cricket-tabs {
    gap: 8px;
  }

  .cricket-tab {
    min-width: 0;
    padding: 0 10px;
  }
}

.article-status-view {
  padding: 96px 0;
  text-align: center;
}

.article-status-view h2 {
  margin: 0 0 10px;
  color: #111;
  font-size: 2rem;
  font-weight: 800;
}

.article-status-view a {
  color: var(--au-red);
  font-weight: 700;
}

.single-article-view {
  margin-top: 20px;
  margin-bottom: 64px;
}

.article-breadcrumb {
  margin-bottom: 18px;
  font-size: 0.86rem;
  color: #666;
}

.article-breadcrumb a:hover {
  color: var(--au-red);
}

.article-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.article-main-content,
.article-sidebar {
  min-width: 0;
}

.article-title {
  margin: 0 0 24px;
  color: #111;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

.article-title--under-media {
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.article-subheadline {
  margin: -8px 0 14px;
  color: #1f4c8f;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.32rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.article-subheadline--secondary {
  margin-top: 0;
  color: #5b6472;
  font-size: 1.12rem;
  font-weight: 600;
}

.article-video-wrap {
  margin: 18px 0 24px;
}

.article-video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  display: block;
  background: #000;
}

.article-meta-info {
  margin-bottom: 20px;
}

.article-meta-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 0.92rem;
  color: #666;
}

.article-meta-divider {
  color: #a7a7a7;
}

.article-meta-dates {
  color: #666;
}

.article-meta-compact strong {
  color: #111;
  font-weight: 700;
}

.article-byline {
  margin-bottom: 5px;
  font-size: 0.92rem;
  color: #555;
}

.article-updated {
  font-size: 0.85rem;
  color: #888;
}

.article-lead-media {
  max-width: 960px;
  margin: 0 0 28px;
}

.article-lead-media--hero {
  max-width: 100%;
  margin: 22px 0 26px;
}

.article-lead-media--hero .article-figcaption {
  display: none;
}

.article-lead-media img {
  display: block;
  width: 100%;
  max-height: 620px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
}

.article-figcaption {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 3px solid #de1f27;
  color: #666;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.5;
}

.article-main-content.layout-left,
.article-main-content.layout-right {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
}

.article-main-content.layout-left {
  flex-direction: row-reverse;
}

.article-main-content.layout-left .article-content-wrapper,
.article-main-content.layout-right .article-content-wrapper {
  flex: 1;
  min-width: 0;
}

.article-main-content.layout-left .article-side-media,
.article-main-content.layout-right .article-side-media {
  flex: 0 0 40%;
  max-width: 400px;
}

.article-main-content.layout-left .article-side-media .article-lead-media img,
.article-main-content.layout-right .article-side-media .article-lead-media img {
  max-height: 500px;
}

.article-main-content.layout-bottom .article-content-wrapper {
  display: flex;
  flex-direction: column;
}

.article-main-content.layout-center .article-lead-media {
  margin-left: auto;
  margin-right: auto;
}

.article-main-content.layout-center .article-title,
.article-main-content.layout-center .article-subheadline,
.article-main-content.layout-center .article-meta-info,
.article-main-content.layout-center .social-share-row {
  text-align: center;
}

.article-main-content.layout-center .social-share-icons {
  justify-content: center;
}

.article-main-content.layout-top .article-content-wrapper {
  display: flex;
  flex-direction: column;
}

.article-main-content.layout-top .article-title,
.article-main-content.layout-top .article-subheadline,
.article-main-content.layout-top .article-meta-info,
.article-main-content.layout-top .social-share-row {
  text-align: left;
}

.article-main-content.layout-top .article-meta-info {
  margin-bottom: 18px;
}

.article-main-content.layout-top .article-updated {
  font-size: 0.9rem;
}

.article-main-content.layout-top .article-subheadline {
  margin-top: -2px;
}

@media (max-width: 991px) {

  .article-main-content.layout-left,
  .article-main-content.layout-right {
    flex-direction: column;
  }

  .article-main-content.layout-left .article-side-media,
  .article-main-content.layout-right .article-side-media {
    flex: none;
    max-width: 100%;
    width: 100%;
    order: -1;
    /* Image always on top on mobile */
  }

  .article-title--under-media {
    margin-bottom: 16px;
  }
}

@media (max-width: 767px) {
  .article-title {
    font-size: clamp(1.62rem, 5.5vw, 2.05rem);
    line-height: 1.17;
    letter-spacing: -0.035em;
    margin-bottom: 11px;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
    font-weight: 800;
  }

  .article-title--under-media {
    margin-bottom: 10px;
  }

  .article-subheadline {
    font-size: 1rem;
    line-height: 1.44;
    margin: 0 0 6px;
  }

  .article-subheadline--secondary {
    font-size: 0.9rem;
  }

  .article-meta-compact {
    font-size: 0.82rem;
    line-height: 1.34;
    gap: 3px 4px;
  }

  .article-meta-info {
    margin-bottom: 14px;
  }

  .article-meta-compact,
  .article-meta-compact * {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .article-main-content.layout-top .article-title {
    max-width: 100%;
  }

  .article-lead-media--hero {
    margin: 16px 0 20px;
  }

  .article-lead-media img {
    max-height: 380px;
  }
}

@media only screen and (max-width: 736px) {
  .__article_detail h1 {
    font-size: 24px;
    margin: 10px 0;
  }
}

.article-highlights::before {
  content: 'Highlights';
  letter-spacing: 0;
}

.article-full-body {
  color: #1a1a1a;
  font-size: 1.35rem;
  line-height: 1.9;
  letter-spacing: 0.01em;
  font-family: 'Hind', 'Mukta', sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.article-full-body p,
.article-full-body div,
.article-full-body span,
.article-full-body h2,
.article-full-body h3,
.article-full-body h4,
.article-full-body h5,
.article-full-body li {
  font: inherit;
}

.article-full-body strong {
  font-weight: 700;
  color: #000;
}

.article-full-body h2 {
  font-size: 1.55em;
  line-height: 1.35;
  margin: 1.2em 0 0.7em;
}

.article-full-body h3 {
  font-size: 1.28em;
  line-height: 1.35;
  margin: 1.05em 0 0.65em;
}

.article-full-body h4 {
  font-size: 1.12em;
  line-height: 1.35;
  margin: 0.95em 0 0.55em;
}

.article-full-body h5 {
  font-size: 1.02em;
  line-height: 1.35;
  margin: 0.85em 0 0.5em;
}

.article-full-body p {
  margin: 0 0 24px;
}

.article-like-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 32px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.article-like-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid #e1e1e1;
  border-radius: 50%;
  background: #fff;
  color: #555;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.article-like-btn:hover,
.article-like-btn.active {
  color: #de1f27;
  border-color: #de1f27;
  background: #fff0f0;
  transform: scale(1.05);
}

.article-trending-wrap {
  margin: 0 0 22px;
}

.related-news-section {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #111;
    max-width: 980px;
  }

.related-news-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: #111;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

.related-news-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px 3px;
  background: #de1f27;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

.related-story-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-right: 1px solid #1d1d1d;
  padding-right: 18px;
  transition: transform 0.18s ease;
}

.related-story-card:hover {
  transform: translateY(-2px);
}

.related-story-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.related-story-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.related-story-card:hover .related-story-image {
  transform: scale(1.03);
}

.related-story-image-fallback {
  background: linear-gradient(135deg, #f8d3d5 0%, #ececec 100%);
}

.related-story-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0 0;
}

.related-story-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}

.related-story-meta .story-category {
  color: var(--au-red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.related-story-meta .story-time {
  color: #7a7a7a;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.related-story-title {
  margin: 0;
  color: #111;
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 500;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-story-title a:hover {
  color: var(--au-red);
}

.related-story-footer {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.related-story-footer .bookmark-btn {
  position: static;
  color: #6f6f6f;
  font-size: 1.05rem;
  flex-shrink: 0;
}

  .related-story-footer .bookmark-btn:hover {
    color: var(--au-red);
  }

  .sidebar-more-wrap {
    padding-top: 10px;
    display: flex;
    justify-content: flex-end;
  }

  .sidebar-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #d9dde4;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .sidebar-more-link:hover {
    background: var(--au-red);
    border-color: var(--au-red);
    color: #fff;
  }

.sidebar-block {
  position: sticky;
  top: 78px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.sidebar-block-title {
  display: inline-block;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #c0392b;
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 700;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
}

.sidebar-story-link {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  padding: 12px 0;
  color: inherit;
}

.sidebar-story-link:hover h4 {
  color: #c0392b;
}

.sidebar-story-thumb {
  width: 90px;
  min-width: 90px;
  height: 68px;
  overflow: hidden;
  border-radius: 4px;
  background: #e0e0e0;
}

.sidebar-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #d0d0d0;
}

.sidebar-story-text {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.sidebar-story-text h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #1a1a1a;
  margin: 0;
}

.sidebar-divider {
  height: 1px;
  background-color: #e5e5e5;
  margin: 0;
  width: 100%;
}

.search-results-page {
  min-height: 60vh;
  padding: 24px 15px 48px;
}

.search-results-header {
  max-width: 860px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1d1d1d;
}

.search-results-title {
  margin: 0;
  color: #111;
  font-family: 'Noto Serif Devanagari', serif;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1.5rem;
  line-height: 1.14;
  font-weight: 800;
}

.search-results-prefix {
  color: #111 !important;
  font-size: 0.96em;
}

.search-results-title span {
  color: #0d7df1;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  background: #fff;
}

.search-result-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  background: #fff;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.search-result-card:hover {
  transform: translateY(-2px);
}

.search-result-media {
  height: 180px;
  width: 100%;
  overflow: hidden;
  background: #f2f2f2;
}

.search-result-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #f2f2f2;
}

.search-result-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0 0;
  min-width: 0;
}

.search-result-category {
  color: #de1f27;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-result-title {
  margin: 0;
  color: #111;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.search-result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.search-result-save {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-result-bookmark {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #6c6c6c;
  font-size: 1rem;
  padding: 0;
  cursor: pointer;
}

.search-result-bookmark:hover {
  color: #de1f27;
}

.search-results-empty {
  padding: 72px 24px;
  border: 1px solid #ececec;
  background: #fafafa;
  text-align: center;
}

.search-results-empty i {
  margin-bottom: 16px;
  color: #c6c6c6;
  font-size: 2.8rem;
}

.search-results-empty h3 {
  margin: 0 0 10px;
  color: #111;
  font-size: 1.4rem;
  font-weight: 800;
}

.search-results-empty p {
  margin: 0;
  color: #666;
  font-size: 0.98rem;
}

.search-results-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: #0d7df1;
  font-weight: 700;
}

.search-results-link:hover {
  color: var(--au-red);
}

@media (max-width: 1200px) {
  .search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .search-result-card {
    padding: 0;
  }
}

@media (max-width: 900px) {
  .search-results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .search-results-header {
    max-width: 100%;
  }

  .search-result-card {
    padding: 0;
  }
}

@media (max-width: 1100px) {
  .article-page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sidebar-block {
    position: static;
  }
}

@media (max-width: 768px) {
  .single-article-view {
    margin-bottom: 44px;
  }

  .article-title {
    font-size: clamp(1.22rem, 4.8vw, 1.58rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.02em !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .article-full-body {
    font-size: 1.18rem;
    line-height: 1.8;
  }

  .related-news-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .sidebar-block-title {
    display: block !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    font-size: 16px !important;
    max-width: 100% !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 640px) {
  .article-status-view {
    padding: 72px 0;
  }

  .article-title {
    font-size: 1.8rem;
  }

  .article-trending-wrap {
    margin-bottom: 20px;
  }

  .related-news-section {
    margin-top: 44px;
    padding-top: 24px;
  }

  .related-grid,
  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .related-story-title {
    font-size: 1.05rem;
  }

  .related-story-card {
    padding-right: 0;
    border-right: 0;
  }

  .search-results-page {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .search-results-title {
    font-size: 1.55rem;
    gap: 8px;
  }

  .search-result-card {
    padding: 0;
  }

  .search-results-empty {
    padding: 56px 18px;
  }
}

/* Scoped absolute bookmark for cards that rely on it */
.search-result-card,
.city-news-card,
.breaking-item,
.center-hero-card {
  position: relative !important;
}

/* Cards where bookmark sits inside a flex footer â€” keep static */
.story-card-bookmark,
.center-hero-bookmark,
.related-story-bookmark {
  position: static !important;
  flex-shrink: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #727272 !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px !important;
  margin: 0 !important;
}

/* Search result card bookmark â€” absolute bottom-right */
.search-result-bookmark {
  position: absolute !important;
  bottom: 6px !important;
  right: 6px !important;
  z-index: 10 !important;
  background: transparent !important;
  border: 0 !important;
  color: #727272 !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* City news card bookmark */
.city-news-bookmark {
  position: static !important;
  flex-shrink: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #727272 !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
}

/* WeatherPage.css */
.weather-page {
  padding-top: 40px;
  padding-bottom: 80px;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.weather-hero-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  border-radius: 28px;
  padding: 60px;
  margin-bottom: 50px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.weather-hero-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.weather-hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
}

.weather-hero-city {
  font-size: 56px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -2px;
}

.weather-hero-date {
  font-size: 18px;
  color: #94a3b8;
  font-weight: 500;
  margin: 8px 0 30px;
}

.weather-hero-temp-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.weather-hero-temp {
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.weather-hero-temp-row img {
  width: 140px;
  height: 140px;
}

.weather-hero-desc {
  font-size: 28px;
  font-weight: 700;
  color: #6366f1;
  text-transform: capitalize;
  margin: 10px 0 0;
}

.weather-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.weather-stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(10px);
}

.weather-stat-box i {
  font-size: 20px;
  color: #6366f1;
}

.stat-text span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.stat-text strong {
  font-size: 20px;
  font-weight: 700;
}

.weather-forecast-section {
  margin-top: 60px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 25px;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.forecast-card {
  background: white;
  padding: 30px 20px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.forecast-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.forecast-date {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

.forecast-card img {
  width: 64px;
  height: 64px;
  margin: 10px 0;
}

.forecast-temp {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
}

.forecast-desc {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  text-transform: capitalize;
}

.weather-page-loading,
.weather-page-error {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.weather-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f1f5f9;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.weather-page-footer {
  margin-top: 60px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
  .weather-hero-main {
    grid-template-columns: 1fr;
  }

  .weather-hero-card {
    padding: 40px;
  }

  .weather-hero-temp {
    font-size: 80px;
  }

  .forecast-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

@media (max-width: 480px) {
  .weather-hero-city {
    font-size: 32px;
  }

  .weather-hero-temp {
    font-size: 64px;
  }

  .weather-hero-stats {
    grid-template-columns: 1fr;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* COMPLETE SAAS DESIGN SYSTEM */
  --admin-primary: #6366f1;
  --admin-primary-dark: #4f46e5;
  --admin-primary-soft: #eef2ff;
  --admin-text-main: #111827;
  --admin-text-label: #374151;
  --admin-text-muted: #6b7280;
  --admin-border: #e5e7eb;
  --admin-bg: #f9fafb;
  --admin-card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --admin-card-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* GRID & SPACING */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --space-24: 24px;
  --space-20: 20px;
  --space-16: 16px;
  --space-12: 12px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--admin-bg);
  color: var(--admin-text-main);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.admin-layout,
.admin-main-container,
.admin-header-v2 {
  margin: 0;
  padding: 0;
}

.admin-header-v2 {
  position: sticky;
  top: 0;
  z-index: 1200;
}


/* 1. LAYOUT & SIDEBAR POLISH */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-nav-sidebar {
  width: 260px;
  background: #ffffff;
  color: var(--admin-text-main);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1100;
  border-right: 1px solid var(--admin-border);
  display: flex;
  flex-direction: column;
}

.admin-nav-header {
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--admin-primary);
  border-radius: var(--radius-md);
}

.admin-logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--admin-text-main);
  letter-spacing: -0.02em;
}

.admin-nav-list {
  padding: 0 12px;
  flex-grow: 1;
}

.admin-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 4px;
  border-radius: var(--radius-md);
  color: var(--admin-text-muted);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  border: none;
  background: transparent;
  cursor: pointer;
}

.admin-nav-item:hover {
  background: #f3f4f6;
  color: var(--admin-text-main);
}

.admin-nav-item.active {
  background: var(--admin-primary-soft);
  color: var(--admin-primary);
}

.admin-nav-item i {
  font-size: 18px;
  width: 22px;
}

.sidebar-divider {
  height: 1px;
  background: var(--admin-border);
  margin: 20px 12px;
}

.admin-nav-footer {
  padding: 20px;
  border-top: 1px solid var(--admin-border);
}

/* 2. HEADER & SEARCH POLISH */
.admin-main-container {
  flex-grow: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
}

.admin-header-bar {
  height: 64px;
  background: #ffffff;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--admin-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.admin-search-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f4f6;
  padding: 0 16px;
  border-radius: var(--radius-md);
  width: 320px;
  height: 40px;
  border: 1px solid transparent;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-nav-sidebar {
  width: 260px;
  background: #ffffff;
  color: var(--admin-text-main);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1100;
  border-right: 1px solid var(--admin-border);
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.admin-nav-sidebar.mobile-open {
  transform: translateX(0);
}

.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1090;
}

.admin-sidebar-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.admin-sidebar-close-btn {
  display: none;
}

@media (max-width: 1024px) {
  .admin-main-container {
    margin-left: 0;
  }

  .admin-nav-sidebar {
    transform: translateX(-100%);
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
  }

  .admin-nav-sidebar.mobile-open {
    transform: translateX(0);
  }

  .admin-header-v2 {
    padding: 14px 18px;
    gap: 14px;
    justify-content: space-between;
  }

  .admin-header-v2>button.admin-mobile-menu-btn {
    display: inline-flex !important;
  }

  .admin-header-v2>div:first-of-type {
    flex: 1 1 0;
  }

  .admin-header-v2>div:nth-of-type(2) {
    min-width: 0;
    flex: 1 1 320px;
  }

  .admin-nav-header {
    padding: 20px 20px;
  }

  .admin-sidebar-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    cursor: pointer;
  }

  .admin-content-area {
    padding: 24px 16px 32px;
  }

  .card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-form-grid-two,
  .admin-form-grid-four {
    grid-template-columns: 1fr;
  }

  .taxonomy-grid {
    grid-template-columns: 1fr;
  }
}

.header-filters-modern>* {
  min-width: 0;
}

.admin-multi-filter {
  position: relative;
}

.admin-multi-filter-trigger {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: 0.2s ease;
}

.admin-multi-filter-trigger.open {
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.admin-multi-filter.open .admin-multi-filter-trigger,
.admin-multi-filter-trigger:hover {
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.admin-multi-filter-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-multi-filter-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 800;
}

.admin-multi-filter-value {
  font-size: 14px;
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-multi-filter-meta {
  flex-shrink: 0;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.admin-multi-filter-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  padding: 12px;
}

.admin-multi-filter-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 10px;
}

.admin-multi-filter-options {
  max-height: 220px;
  overflow-y: auto;
  display: grid;
  gap: 6px;
}

.admin-multi-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.admin-multi-filter-option:hover,
.admin-multi-filter-option.active {
  background: #f8fafc;
}

.admin-multi-filter-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--admin-primary);
}

.admin-filter-summary {
  display: grid;
  gap: 10px;
  padding: 14px 24px 0;
}

.admin-filter-chip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-filter-chip-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.admin-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dbe4ff;
  background: #f8faff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-filter-chip i {
  font-size: 11px;
}

.admin-manager-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.admin-manager-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-manager-summary span {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.admin-story-row-copy {
  display: grid;
  gap: 6px;
}

.admin-story-row-title {
  font-size: 15px;
  color: #111827;
}

.admin-story-row-meta {
  font-size: 12px;
  color: #6b7280;
  font-weight: 700;
}

.admin-story-row-excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  max-width: 560px;
}

.admin-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-inline-action {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #f8fafc;
  color: #334155;
}

.admin-inline-action.active {
  background: #eef2ff;
  color: #4f46e5;
  border-color: #c7d2fe;
}

.admin-short-filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 0.8fr) minmax(220px, 1fr) minmax(150px, auto);
  gap: 12px;
  width: 100%;
  align-items: stretch;
}

.admin-short-thumb {
  width: 56px;
  height: 72px;
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
}

.admin-short-placeholder {
  min-height: 120px;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
}

.admin-short-add-btn {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.18);
}

.admin-short-add-btn i {
  font-size: 15px;
}

.admin-short-row-copy {
  max-width: 540px;
}

.admin-short-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, auto));
  gap: 8px;
  justify-content: flex-start;
}

.admin-short-actions .admin-inline-action {
  justify-content: center;
  min-width: 96px;
}

.admin-home-sections-header {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 12px;
  width: 100%;
}

.admin-home-sections-quickbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 24px 0;
}

.admin-home-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  padding: 20px 24px 0;
}

.admin-home-slot-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 16px;
}

.admin-home-slot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.admin-home-slot-card-header h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.admin-home-slot-card-header p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.admin-home-slot-fields {
  display: grid;
  gap: 14px;
}

.admin-home-slot-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
}

.admin-home-slot-help code {
  font-size: 12px;
  font-weight: 700;
  color: #4f46e5;
}

.admin-home-sections-footer {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  padding: 0 24px 24px;
}

.admin-team-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.admin-team-card {
  border: 1px solid var(--admin-border);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 16px;
  box-shadow: var(--admin-card-shadow);
}

.admin-team-photo-wrap {
  display: grid;
  gap: 12px;
}

.admin-team-photo,
.admin-team-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  border: 1px solid #e2e8f0;
}

.admin-team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 40px;
}

.admin-team-fields {
  display: grid;
  gap: 12px;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

.admin-team-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.admin-checkbox-field {
  align-content: end;
}

.admin-checkbox-field input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
}

.admin-inline-notice {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
}

.admin-team-delete {
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff5f5;
  color: #b91c1c;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-team-empty {
  padding: 28px;
  border: 1px dashed var(--admin-border);
  border-radius: 16px;
  color: #64748b;
  text-align: center;
}

.admin-button {
  min-height: 46px;
  border: none;
  border-radius: 14px;
  padding: 0 18px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-weight: 800;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.admin-button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.admin-button-secondary {
  background: #fff;
  color: #111827;
  border: 1px solid var(--admin-border);
}

.admin-upload-btn {
  width: fit-content;
}

.admin-checkbox.compact {
  font-size: 13px;
}

@media (max-width: 640px) {
  .admin-content-area {
    padding: 16px 12px 24px;
  }

  .admin-search-wrapper {
    width: 100%;
  }

  .admin-header-v2 {
    padding: 14px 12px;
  }

  .admin-panel-stack {
    flex-direction: column;
  }

  .admin-nav-footer {
    padding: 16px 16px;
  }

  .admin-short-filter-grid,
  .admin-home-sections-header {
    grid-template-columns: 1fr;
  }

  .admin-manager-header,
  .admin-home-slot-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-short-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-search-wrapper:focus-within {
  background: white;
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.admin-search-wrapper input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-weight: 500;
  font-size: 14px;
}

/* 3. BUTTON SYSTEM (NOTION STYLE) */
.btn-primary {
  background: var(--admin-primary);
  color: white;
  border: none;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}

.btn-primary:hover {
  background: var(--admin-primary-dark);
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background: white;
  border: 1px solid var(--admin-border);
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  color: var(--admin-text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.btn-ghost {
  background: transparent;
  border: none;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  color: var(--admin-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.1s;
}

.btn-ghost:hover {
  background: #f3f4f6;
  color: var(--admin-text-main);
}

.btn-ghost.danger:hover {
  background: #fee2e2;
  color: var(--admin-danger);
}

/* 4. DATA TABLE UX */
.admin-content-area {
  padding: 32px;
}

.table-card {
  background: white;
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--admin-card-shadow);
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--admin-border);
  background: #fff;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.admin-data-table th {
  background: #f9fafb;
  padding: 12px 24px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--admin-text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--admin-border);
}

.admin-data-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--admin-border);
  font-size: 14px;
}

.admin-data-table tr:hover td {
  background: #f9fafb;
  transition: 0.1s;
}

.admin-data-table .input-modern {
  min-width: 140px;
}

/* 5. FORM & INPUTS (STORY STUDIO) */
.form-section-card {
  background: white;
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--admin-text-label);
  margin-bottom: 8px;
}

.input-modern {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: 0.2s;
  background: #fff;
}

.input-modern:focus {
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.textarea-modern {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  min-height: 200px;
  font-family: inherit;
}

.textarea-modern:focus {
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* 6. GRID SYSTEMS (CATEGORIES FIX) */
.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  padding: 4px;
}

.taxonomy-card {
  background: white;
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--admin-card-shadow);
  transition: 0.2s;
}

.taxonomy-card:hover {
  box-shadow: var(--admin-card-hover);
  transform: translateY(-2px);
}

/* 7. EMPTY STATES & INDICATORS */
.empty-state-pro {
  text-align: center;
  padding: 64px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.empty-state-pro i {
  font-size: 48px;
  color: var(--admin-border);
}

.empty-state-pro h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.empty-state-pro p {
  margin: 0;
  color: var(--admin-text-muted);
  font-size: 14px;
  max-width: 300px;
  line-height: 1.5;
}

/* 8. MICRO UI & UTILS */
.badge-status {
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-status.published {
  background: #dcfce7;
  color: #166534;
}

.badge-status.draft {
  background: #f3f4f6;
  color: #374151;
}

.badge-status.rejected {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-status.pending {
  background: #fef08a;
  color: #854d0e;
}

.floating-action-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 20px 32px;
  border-top: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
}

.admin-loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.admin-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-page-title {
  margin: 0 0 6px;
  color: var(--admin-text-main);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.admin-page-note {
  margin: 0;
  color: var(--admin-text-muted);
  font-size: 14px;
}

.admin-form-grid {
  display: grid;
  gap: 20px;
}

.admin-form-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.admin-dashboard-stat {
  position: relative;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.admin-dashboard-stat::after {
  content: '';
  position: absolute;
  inset: auto -30px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  opacity: 0.16;
}

.admin-dashboard-stat-violet::after {
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
}

.admin-dashboard-stat-emerald::after {
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
}

.admin-dashboard-stat-amber::after {
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
}

.admin-dashboard-stat-rose::after {
  background: radial-gradient(circle, #ef4444 0%, transparent 70%);
}

.admin-dashboard-stat-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  flex-shrink: 0;
}

.admin-dashboard-stat-violet .admin-dashboard-stat-icon {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #5b5ff6;
}

.admin-dashboard-stat-emerald .admin-dashboard-stat-icon {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #10b981;
}

.admin-dashboard-stat-amber .admin-dashboard-stat-icon {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #f59e0b;
}

.admin-dashboard-stat-rose .admin-dashboard-stat-icon {
  background: linear-gradient(135deg, #fef2f2 0%, #ffe4e6 100%);
  color: #ef4444;
}

.admin-dashboard-stat-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.admin-dashboard-stat-label {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-dashboard-stat-value {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111827;
}

.admin-dashboard-stat-note {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.admin-dashboard-panel {
  border-radius: 20px;
  overflow: hidden;
}

.admin-dashboard-panel .card-header {
  padding: 22px 24px 16px;
}

.admin-dashboard-panel-note {
  margin: 6px 0 0;
  font-size: 13px;
  color: #64748b;
}

.admin-dashboard-metric-list {
  padding: 8px 24px 24px;
  display: grid;
  gap: 18px;
}

.admin-dashboard-metric-item {
  padding: 14px 0 0;
  border-top: 1px solid #eef2f7;
}

.admin-dashboard-metric-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.admin-dashboard-metric-head {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.admin-dashboard-metric-label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.admin-dashboard-metric-badge {
  min-width: 28px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.admin-dashboard-metric-badge-violet {
  color: #5b5ff6;
  background: #eef2ff;
}

.admin-dashboard-metric-badge-emerald {
  color: #10b981;
  background: #ecfdf5;
}

.admin-dashboard-progress-track {
  height: 8px;
  background: #edf2f7;
  border-radius: 999px;
  overflow: hidden;
}

.admin-dashboard-progress-fill {
  height: 100%;
  border-radius: 999px;
}

.admin-dashboard-progress-fill-violet {
  background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
}

.admin-dashboard-progress-fill-emerald {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

@media (max-width: 1024px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-team-header,
  .admin-team-meta-row {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

.admin-toggle-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--admin-text-main);
}

.admin-checkbox input {
  width: 16px;
  height: 16px;
}

.admin-inline-message {
  margin: -8px 0 16px;
  padding: 12px 16px;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 600;
}

.admin-image-upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-upload-button {
  position: relative;
  overflow: hidden;
}

.admin-image-preview-card {
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f8fafc;
}

.admin-image-preview {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.admin-list-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.admin-card-header-plain {
  padding: 0 0 20px;
  border-bottom: 0;
}

.admin-compact-card {
  padding: 16px;
  margin: 0;
}

.admin-epaper-layout {
  min-width: 0;
}

.admin-epaper-sidebar {
  scrollbar-gutter: stable;
}

.admin-epaper-sidebar>* {
  min-width: 0;
}

.admin-epaper-page-grid {
  align-items: start;
}

.admin-epaper-empty {
  min-height: 220px;
  place-items: center;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 1200px) {
  .admin-form-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-epaper-layout.editions,
  .admin-epaper-layout.magazines {
    grid-template-columns: 1fr !important;
  }

  .admin-epaper-sidebar {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 900px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-nav-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    border-right: 1px solid var(--admin-border);
    border-bottom: 0;
    z-index: 2000;
    transition: left 0.3s ease;
  }

  .admin-nav-sidebar.mobile-open {
    left: 0;
  }

  .admin-sidebar-close-btn {
    display: block !important;
  }

  .admin-mobile-menu-btn {
    display: flex !important;
  }

  .admin-sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1500;
  }

  .admin-sidebar-backdrop.open {
    display: block;
  }

  .admin-main-container {
    margin-left: 0;
  }

  .admin-header-bar,
  .admin-header-v2 {
    padding: 16px 20px !important;
  }

  .admin-content-area {
    padding: 20px;
  }

  .admin-form-grid-two,
  .admin-form-grid-four {
    grid-template-columns: 1fr;
  }

  .admin-list-editor-row {
    grid-template-columns: 1fr;
  }

  .admin-section-header {
    flex-direction: column;
    align-items: stretch;
  }

  .floating-action-bar {
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .admin-epaper-page-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Custom Logo Styling */
.logo-image-wrapper {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.main-logo-img {
  max-width: 180px;
  height: auto;
  display: block;
  object-fit: contain;
}

.mobile-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .header-branding .logo-image-wrapper {
    display: none !important;
  }
}

/* Auth modal and premium badge overrides */
.sb-user-row {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.sb-user-meta {
  min-width: 0;
}

.sb-user-subtitle {
  margin-top: 4px;
  color: #747474;
  font-size: 0.92rem;
  line-height: 1.35;
}

.sb-item-button {
  width: 100%;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 23, 0.66);
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 460px);
  background: linear-gradient(180deg, #ffffff 0%, #fff9f1 100%);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 191, 47, 0.28);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #1f2937;
}

.auth-modal-kicker {
  display: inline-flex;
  background: #1f2937;
  color: #ffbf2f;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-modal-copy h2 {
  margin: 18px 0 8px;
  font-size: 2rem;
  line-height: 1.05;
  color: #121212;
}

.auth-modal-copy p {
  margin: 0 0 20px;
  color: #616161;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.auth-tab {
  min-height: 46px;
  border-radius: 14px;
  background: #f4f4f5;
  font-weight: 700;
  color: #52525b;
}

.auth-tab.is-active {
  background: #212121;
  color: #ffbf2f;
}

.auth-status {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 600;
}

.auth-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
}

.auth-status.is-success {
  background: #ecfdf5;
  color: #047857;
}

.auth-form {
  display: none;
  gap: 14px;
}

.auth-form.is-active {
  display: grid;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #313131;
}

.auth-field input {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 0 15px;
  font-size: 1rem;
  background: #fff;
}

.auth-submit,
.auth-logout {
  min-height: 50px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1d1d1d 0%, #383838 100%);
  color: #ffbf2f;
  font-weight: 800;
  font-size: 1rem;
}

.auth-user-card {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  max-width: 180px;
  height: auto;
  display: block;
  object-fit: contain;
}

.mobile-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .header-branding .logo-image-wrapper {
    display: none !important;
  }
}

/* Auth modal and premium badge overrides */
.sb-user-row {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.sb-user-meta {
  min-width: 0;
}

.sb-user-subtitle {
  margin-top: 4px;
  color: #747474;
  font-size: 0.92rem;
  line-height: 1.35;
}

.sb-item-button {
  width: 100%;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 23, 0.66);
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 460px);
  background: linear-gradient(180deg, #ffffff 0%, #fff9f1 100%);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 191, 47, 0.28);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #1f2937;
}

.auth-modal-kicker {
  display: inline-flex;
  background: #1f2937;
  color: #ffbf2f;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-modal-copy h2 {
  margin: 18px 0 8px;
  font-size: 2rem;
  line-height: 1.05;
  color: #121212;
}

.auth-modal-copy p {
  margin: 0 0 20px;
  color: #616161;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.auth-tab {
  min-height: 46px;
  border-radius: 14px;
  background: #f4f4f5;
  font-weight: 700;
  color: #52525b;
}

.auth-tab.is-active {
  background: #212121;
  color: #ffbf2f;
}

.auth-status {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 600;
}

.auth-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
}

.auth-status.is-success {
  background: #ecfdf5;
  color: #047857;
}

.auth-form {
  display: none;
  gap: 14px;
}

.auth-form.is-active {
  display: grid;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #313131;
}

.auth-field input {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 0 15px;
  font-size: 1rem;
  background: #fff;
}

.auth-submit,
.auth-logout {
  min-height: 50px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1d1d1d 0%, #383838 100%);
  color: #ffbf2f;
  font-weight: 800;
  font-size: 1rem;
}

.auth-user-card {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #f0d48b;
}

.auth-user-card.is-visible {
  display: flex;
}

#authUserName {
  display: block;
  font-size: 1rem;
  color: #171717;
}

#authUserEmail {
  font-size: 0.92rem;
  color: #71717a;
}

.mobile-bottom-link.mobile-bottom-premium {
  padding-top: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.mobile-premium-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent !important;
  overflow: hidden;
}

.mobile-premium-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-brand-badge {
  width: 36px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.premium-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.auth-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .auth-modal {
    align-items: flex-end;
  }

  .auth-modal-card {
    width: 100%;
    max-width: none;
    border-radius: 28px 28px 0 0;
    padding: 24px 18px 28px;
  }

  /* Prevent any premium icon from becoming huge */
  .mobile-premium-badge,
  .nav-brand-badge {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
  }

  .premium-icon-img,
  .mobile-premium-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
}

/* ===================================================
   MOBILE FIXES — Add at the very bottom of global.css
   =================================================== */

/* FIX 1: Logo image oversizing on real mobile */
.logo-image-wrapper img,
.main-logo-img,
.mobile-logo img,
.mobile-logo-img {
  max-width: 180px !important;
  max-height: 48px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* FIX 2: Premium badge — hard clamp on ALL screen sizes */
.nav-brand-badge,
.mobile-premium-badge {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  padding: 0 !important;
}

.premium-icon-img,
.mobile-premium-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* FIX 3: Prevent any image in nav from going fullscreen */
.au-navbar img,
.mobile-topbar img,
.header-branding img {
  max-height: 56px !important;
  max-width: 200px !important;
  object-fit: contain !important;
}

/* FIX 4: Auth modal — ensure it works on real mobile */
.auth-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  /* bumped above everything */
  display: flex !important;
  align-items: flex-end !important;
  /* bottom sheet on mobile */
  justify-content: center !important;
  -webkit-overflow-scrolling: touch !important;
}

.auth-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Hidden state */
.auth-modal:not(.is-open) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.auth-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(17, 19, 23, 0.75) !important;
  z-index: 0 !important;
}

.auth-modal-card {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: 460px !important;
  background: #fff !important;
  border-radius: 24px 24px 0 0 !important;
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom)) !important;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.22) !important;
  border: 1px solid rgba(255, 191, 47, 0.28) !important;
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
  /* Prevent modal from going off-screen on small phones */
  max-height: 90vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* FIX 5: Ensure body lock works on iOS Safari */
body.auth-modal-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  /* Prevent iOS from scrolling behind modal */
  -webkit-overflow-scrolling: auto !important;
}

/* FIX 6: Mobile topbar safe area */
@media (max-width: 768px) {
  .mobile-topbar {
    padding-top: env(safe-area-inset-top, 0px) !important;
  }

  .mobile-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Clamp premium badge on mobile specifically */
  .mobile-premium-badge {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    transform: none !important;
    /* remove translateY that may cause overflow */
  }

  .mobile-premium-image {
    width: 28px !important;
    height: 28px !important;
  }

  /* Auth modal center on desktop, bottom-sheet on mobile */
  .auth-modal {
    align-items: flex-end !important;
  }

  .auth-modal-card {
    border-radius: 24px 24px 0 0 !important;
    max-width: 100% !important;
  }
}

@media (min-width: 769px) {
  .auth-modal {
    align-items: center !important;
  }

  .auth-modal-card {
    border-radius: 28px !important;
    max-width: 460px !important;
    padding: 28px !important;
  }
}


/* FINAL UI FIXES & MOBILE OPTIMIZATION */
.bookmark-btn {
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  color: #de1f27;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {

  .story-card-footer,
  .city-news-footer,
  .related-story-footer,
  .latest-item-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .shorts-card {
    position: relative !important;
  }

  .shorts-card-caption {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    min-height: 100px !important;
    padding: 20px 14px 16px !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0) 100%) !important;
    z-index: 2;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
  }

  .shorts-card-caption h3 {
    color: #fff !important;
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  .shorts-meta {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.72rem !important;
  }

  .center-thumb,
  .breaking-thumb,
  .city-news-image {
    aspect-ratio: 16/9 !important;
    height: auto !important;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* TRENDING BAR PREMIUM UI */
.trending-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  z-index: 10;
}

.trending-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 16px;
  min-height: 40px;
}

.trending-scroll-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.trending-scroll-container::-webkit-scrollbar {
  display: none;
}

.trending-link {
  display: inline-flex;
  align-items: center;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
  padding: 4px 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
}

.trending-hash {
  color: #94a3b8;
  margin-right: 2px;
  font-weight: 400;
}

.trending-link:hover {
  color: #d11f26;
  border-color: #d11f26;
  background: #fff;
}

.trending-link:hover .trending-hash {
  color: #d11f26;
}

@media (max-width: 768px) {
  .trending-inner {
    padding: 0 10px;
    min-height: 44px;
  }

  .trending-scroll-container {
    gap: 10px;
    padding: 10px 0;
  }

  .trending-link {
    font-size: 0.85rem;
    padding: 5px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }
}

/* CONSISTENT UI & MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {

  /* 1. Standardize Section Headers */
  .panel-heading,
  .shorts-title,
  .sidebar-widget-title {
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    border-bottom: 4px solid #de1f27 !important;
    width: auto !important;
    display: inline-block !important;
    padding-bottom: 4px !important;
    margin-bottom: 15px !important;
    letter-spacing: -0.5px !important;
  }

  /* 2. Shorts Card Title Adjustment */
  .shorts-card-caption h3 {
    padding-left: 8px !important;
    /* Move slightly right */
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
  }

  /* 3. Consistency Across All Content Cards */
  .story-title,
  .related-story-title,
  .sidebar-story-title {
    font-family: 'Hind', sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
  }

  .story-title a,
  .related-story-title a,
  .sidebar-story-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
}

/* BRANDING FONT CONSISTENCY */
.panel-heading,
.shorts-title,
.sidebar-widget-title {
  font-family: 'Noto Serif Devanagari', serif !important;
  color: #111 !important;
}
