/* Editorial Light Magazine Theme for Prime Media */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;
  --border-light: #E2E8F0;
  --border-dark: #CBD5E1;
  --accent-red: #DC2626;
  --accent-blue: #2563EB;
  --font-serif: "Georgia", "Times New Roman", serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-heading);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 🌟 Top Utility Bar (Date & Info Links) */
/* 🌟 Top Utility Bar (Date & Info Links - Single Row Clean) */
.top-utility-bar {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 500;
  padding: 0.35rem 0;
}

.top-utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-utility-bar .container::-webkit-scrollbar {
  display: none;
}

.top-brand-text {
  font-weight: 800;
  color: #0F172A;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.top-utility-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.top-utility-links a {
  color: #64748B;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.1rem 0.2rem;
  transition: color 0.2s ease;
}

.top-utility-links a:hover {
  color: #0F172A;
}

.top-utility-divider {
  color: #CBD5E1;
  font-weight: 300;
  font-size: 0.75rem;
  user-select: none;
}

/* 🌟 Main 1-Line News Navigation Header (Sticky, Deep Navy, 3D Logo) */
.main-news-header {
  background: #0A1938;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  height: 52px;
}

.header-flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  gap: 1rem;
}

/* 🔷 3D Pop-Out Logo Badge */
.header-logo-3d-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 50;
}

.logo-3d-badge {
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 4px 4px 10px 10px;
  transform: translateY(6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border: 2px solid #FFFFFF;
  border-top: none;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-3d-badge:hover {
  transform: translateY(8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.logo-3d-badge img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  display: block;
}

/* 🔷 Center Horizontal Category Navigation (In Same Row) */
.header-nav-center {
  display: flex;
  align-items: center;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header-nav-center::-webkit-scrollbar {
  display: none;
}

.category-nav-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  height: 100%;
}

.category-nav-bar li {
  display: flex;
  align-items: center;
  height: 100%;
}

.category-nav-bar a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.95rem 0.2rem;
  display: inline-flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.category-nav-bar a:hover {
  color: #38BDF8;
}

/* Active Category Red Underline (Aaj Tak Style) */
.category-nav-bar a.active {
  color: #FFFFFF !important;
  border-bottom: 3px solid #EF4444 !important;
}

/* 🔷 Right Header Tools (Search & Actions) */
.header-right-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* 🔍 Global Search Trigger Button (Circular Icon) */
.global-search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.global-search-trigger:hover {
  background: #38BDF8;
  border-color: #38BDF8;
  color: #0A1938;
  transform: scale(1.06);
}

/* 🔍 Global Live Search Modal & Overlay */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 56, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1rem 2rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-dialog {
  background: #FFFFFF;
  width: 100%;
  max-width: 680px;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  transform: translateY(-20px);
  transition: transform 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-modal-backdrop.active .search-modal-dialog {
  transform: translateY(0);
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.search-modal-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  color: #0F172A;
  outline: none;
  font-weight: 500;
  font-family: var(--font-body);
}

.search-modal-input::placeholder {
  color: #94A3B8;
}

.search-modal-close {
  background: transparent;
  border: none;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.search-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.search-modal-quick-tags {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #F1F5F9;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.search-modal-quick-tags::-webkit-scrollbar {
  display: none;
}

.search-quick-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #DC2626;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.search-quick-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  background: #F1F5F9;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.search-quick-pill:hover {
  background: #0A1938;
  color: #FFFFFF;
}

.search-modal-results {
  overflow-y: auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.search-result-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  transition: all 0.18s ease;
}

.search-result-row:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateX(3px);
}

.search-result-thumb {
  width: 65px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #0F172A;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-category {
  font-size: 0.65rem;
  font-weight: 800;
  color: #DC2626;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.search-result-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-date {
  font-size: 0.72rem;
  color: #94A3B8;
  margin-top: 0.2rem;
}

.search-result-action {
  color: #2563EB;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  padding-left: 0.5rem;
}

/* 🔴 Red Breaking News Bar (Aaj Tak Style) */
.breaking-news-bar {
  background: #DC2626;
  color: #FFFFFF;
  padding: 0.35rem 0;
  overflow: hidden;
}

.breaking-news-flex {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.breaking-badge {
  background: #991B1B;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.6px;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.breaking-headline-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.breaking-headline-ticker a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.breaking-headline-ticker a:hover {
  text-decoration: underline;
}

/* 🏷️ Horizontal Trending Topics Pill Strip */
.trending-topics-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 0.45rem 0;
}

.trending-topics-flex {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.trending-topics-flex::-webkit-scrollbar {
  display: none;
}

.trending-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}

.trending-pills-carousel {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.topic-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 20px;
  color: #1E293B;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.topic-pill:hover {
  background: #0A1938;
  color: #FFFFFF;
  border-color: #0A1938;
}

/* Magazine Hero Layout */
.hero-magazine {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.featured-story {
  position: relative;
}

.featured-story img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  background: #F1F5F9;
  border-radius: 8px;
  display: block;
}

.featured-badge {
  display: inline-block;
  background: var(--accent-red);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.featured-story h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.25;
  margin: 0.5rem 0;
}

.featured-story h2 a {
  color: var(--text-main);
  text-decoration: none;
}

.featured-story h2 a:hover {
  color: var(--accent-blue);
}

.trending-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trending-sidebar-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.85rem;
}

.trending-sidebar-item:last-child {
  border-bottom: none;
}

.trending-sidebar-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.trending-sidebar-item h4 a {
  color: var(--text-main);
  text-decoration: none;
}

.trending-sidebar-item h4 a:hover {
  color: var(--accent-blue);
}

/* ==========================================================================
   📱 Mobile Aaj Tak News Layout (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .top-utility-bar .container {
    padding: 3px 10px;
    font-size: 0.7rem;
    gap: 0.75rem;
  }

  .main-news-header {
    height: 48px;
  }
  .header-flex-row {
    gap: 0.4rem;
    padding: 0 6px;
    align-items: center;
    justify-content: space-between;
  }
  .logo-3d-badge {
    padding: 2px 6px;
    transform: translateY(4px);
    border-radius: 3px 3px 8px 8px;
    flex-shrink: 0;
  }
  .logo-3d-badge img {
    height: 32px;
    width: 32px;
  }
  .header-nav-center {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
  }
  .header-nav-center::-webkit-scrollbar {
    display: none;
  }
  .category-nav-bar {
    gap: 0.75rem;
    padding-right: 0.5rem;
  }
  .category-nav-bar a {
    font-size: 0.8rem;
    padding: 0.85rem 0.1rem;
    white-space: nowrap;
  }
  .header-right-tools {
    flex-shrink: 0;
    margin-left: 0.25rem;
  }
  .global-search-trigger {
    width: 32px;
    height: 32px;
  }
  .search-modal-backdrop {
    padding: 1rem 0.5rem;
  }
  .search-modal-dialog {
    max-height: 90vh;
  }

  .breaking-news-bar {
    padding: 0.3rem 0;
  }
  .breaking-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
  }
  .breaking-headline-ticker a {
    font-size: 0.8rem;
  }

  /* Hero Section on Mobile */
  .hero-magazine {
    grid-template-columns: 1fr;
    padding: 0.75rem 0;
    gap: 1rem;
  }
  .featured-story img {
    max-height: 220px;
    object-fit: cover;
  }
  .featured-story h2 {
    font-size: 1.35rem;
    margin: 0.35rem 0;
  }
  .featured-story p {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 🗞️ Aaj Tak Mobile News List View (Image LEFT, Title & Tag RIGHT) */
  .posts-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .card {
    display: flex !important;
    flex-direction: row !important; /* Image on LEFT, Title on RIGHT */
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0.85rem 0 !important;
    border: none !important;
    border-bottom: 1px solid #E2E8F0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    gap: 0.85rem !important;
  }
  .card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .card a:first-child {
    flex-shrink: 0 !important;
    display: block !important;
  }
  .card-img {
    width: 110px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    display: block !important;
  }
  .card-body {
    padding: 0 !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .card-category {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    color: #DC2626 !important;
    margin-bottom: 0.2rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px;
  }
  .card-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 0.35rem 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .card-title a {
    color: #0F172A !important;
    text-decoration: none !important;
  }
  .card-desc {
    display: none !important;
  }
  .card-author-meta {
    font-size: 0.72rem !important;
    color: #64748B !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }
  .author-avatar {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.6rem !important;
  }
}

/* ==========================================================================
   📰 Authentic Editorial Section Headers & Layout Types
   ========================================================================== */
.section-heading-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0A1938;
  padding-bottom: 0.5rem;
  margin: 2rem 0 1.25rem 0;
}

.section-heading-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: #0A1938;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.section-heading-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #DC2626;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* 🌟 Layout Type 1: Visual Spotlight 4-Card Grid (Image #1 Style) */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.spotlight-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.spotlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.spotlight-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #F1F5F9;
  overflow: hidden;
}

.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.spotlight-card:hover .spotlight-img {
  transform: scale(1.04);
}

.spotlight-tag-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.spotlight-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.spotlight-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-title a {
  color: #0F172A;
  text-decoration: none;
}

.spotlight-title a:hover {
  color: #2563EB;
}

.spotlight-meta {
  margin-top: auto;
  font-size: 0.72rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* 🌟 Layout Type 2: News Stream (Main Feed on Left + Ranked Most Read on Right) */
.news-stream-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.news-stream-main {
  min-width: 0;
}

.news-stream-sidebar {
  position: sticky;
  top: 70px;
}

/* 📈 Most Read Ranked Widget */
.most-read-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.most-read-box h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  color: #0A1938;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #DC2626;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.most-read-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.most-read-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E2E8F0;
}

.most-read-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rank-badge {
  background: #0A1938;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-badge.top-rank {
  background: #DC2626;
}

.most-read-item h5 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.most-read-item h5 a {
  color: #0F172A;
  text-decoration: none;
}

.most-read-item h5 a:hover {
  color: #2563EB;
}

/* 🛡️ Editorial Trust & Standards Box */
.trust-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #0A1938;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.trust-card h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #0A1938;
  text-transform: uppercase;
  margin: 0 0 0.65rem 0;
  letter-spacing: 0.5px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-list li span {
  color: #10B981;
  font-weight: 800;
}

/* 📱 Responsive Grid Breakpoints */
@media (max-width: 1024px) {
  .spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-stream-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .news-stream-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .spotlight-body {
    padding: 0.6rem;
  }
  .spotlight-title {
    font-size: 0.82rem;
  }
  .spotlight-meta {
    font-size: 0.68rem;
  }
}

/* Page Layout Wrapper with Side Margin Ads */
.page-layout-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding-top: 1.5rem;
}

.main-content-area {
  flex: 1;
  min-width: 0;
}

.sidebar-ad {
  width: 180px;
  position: sticky;
  top: 120px;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .sidebar-ad {
    display: none;
  }
}

.ad-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  text-align: center;
}

.adsense-container {
  margin: 2rem 0;
  width: 100%;
  text-align: center;
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  border: 1px dashed var(--border-dark);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Real Magazine Cards Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Grid Card Image: Maintain natural aspect ratio without distortion */
.card-img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #F1F5F9;
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.card-title a {
  color: var(--text-main);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent-blue);
}

.card-desc {
  color: var(--text-muted);
  font-size: clamp(0.85rem, 1vw, 0.925rem);
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.55;
}

.card-author-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.7rem;
}

/* Article View Page Styling */
.article-header {
  margin: 1rem 0 1.25rem;
}

.article-category-pill {
  display: inline-block;
  color: #DC2626;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.35rem;
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.2vw, 2.4rem);
  line-height: 1.28;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.75rem;
  word-break: break-word;
}

.article-lead-desc {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1.25rem;
}

.byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.byline-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.read-time-pill {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
}

/* Hero Cover Photo: Proportional Ratio, No Stretch, Max Height */
.featured-img-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.75rem;
  background: #F1F5F9;
  text-align: center;
}

.featured-img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* In-Article Content Photos: Compact, Centered, Proportional */
.inline-article-img {
  margin: 1.75rem auto;
  text-align: center;
}

.inline-article-img img {
  max-width: 620px;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: block;
  margin: 0 auto;
  background: #F8FAFC;
}

.human-article {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.8;
  color: #1E293B;
  word-break: break-word;
}

.human-article p {
  margin-bottom: 1.35rem;
}

.human-article h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 2rem 0 0.75rem;
  color: var(--text-main);
  border-left: 4px solid #DC2626;
  padding-left: 0.65rem;
}

.human-article h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-main);
}

.human-article h4 {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 700;
  margin: 1.25rem 0 0.4rem;
  color: var(--text-main);
}

.human-article ul,
.human-article ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.human-article li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.key-takeaways-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-blue);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.key-takeaways-box h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--accent-blue);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: none;
  padding-left: 0;
}

.key-takeaways-box ul {
  margin: 0 0 0 1.25rem;
}

.pro-tip-card {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  color: #78350F;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  display: block;
  overflow-x: auto;
  font-size: 0.9rem;
}

.article-table th,
.article-table td {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-light);
  text-align: left;
}

.article-table th {
  background: var(--bg-secondary);
  font-weight: 700;
}

/* Recommended Section */
.recommended-section {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.recommended-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.recommended-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.recommended-badge {
  font-size: 0.75rem;
  color: var(--accent-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.faq-container {
  margin: 2rem 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

/* Newsletter Box */
.newsletter-box {
  background: #0F172A;
  color: #FFF;
  border-radius: 12px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
}

.newsletter-box h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.newsletter-box p {
  color: #94A3B8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #1E293B;
  color: #FFF;
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  background: var(--accent-blue);
  color: #FFF;
  font-weight: 700;
  cursor: pointer;
}

/* 🧭 Breadcrumb Bar */
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.post-breadcrumb a {
  color: #64748B;
  text-decoration: none;
  font-weight: 500;
}

.post-breadcrumb a:hover {
  color: #0A1938;
}

.post-breadcrumb span.divider {
  color: #CBD5E1;
}

/* 🛡️ Fact-Check & Verification Seal */
.fact-check-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

/* ✍️ Author Bio Card at the end of article */
.author-bio-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 2.5rem 0 1.5rem 0;
}

.author-bio-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0A1938;
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-bio-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.25rem 0;
}

.author-bio-info p {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

.editorial-ethics-note {
  background: #F1F5F9;
  border-left: 3px solid #64748B;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: #475569;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

/* 🏛️ Authentic 4-Column Newsroom Footer */
footer {
  background: #070F22;
  color: #94A3B8;
  padding: 3.5rem 0 2rem 0;
  margin-top: 3.5rem;
  border-top: 3px solid #0A1938;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 1.25rem 0;
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 1rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: #38BDF8;
  transform: translateX(3px);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.8rem;
  color: #64748B;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* Buttons & Admin Card */
.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-blue);
  color: #FFF;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

/* SEO Performance: Prevent Cumulative Layout Shift */
img {
  content-visibility: auto;
}

.article-hero-img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   📱 ULTRA-RESPONSIVE, LAPTOP, DESKTOP & MOBILE AD OPTIMIZATION
   ========================================================================== */

/* 1. Base Category Nav */
.category-nav {
  display: flex;
  gap: 1.25rem;
  padding: 0.75rem 0;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
}

/* 2. Single Outer Row Box with 3 Inner Column Dividers (Drawing Spec) */
.sponsored-single-row-box {
  display: flex;
  width: 100%;
  margin: 2rem 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sponsored-column {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 1.25rem 1rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Enforces 100% width on AdSense ins tags so availableWidth > 0 */
  justify-content: center;
  border-right: 1px solid var(--border-light);
}

.sponsored-column:last-child {
  border-right: none;
}

.sponsored-column .adsbygoogle,
.adsense-container .adsbygoogle {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
}

.adsense-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 1.5rem auto;
  text-align: center;
  border-radius: 8px;
  background: transparent;
  display: none; /* Collapsed until real ads are filled by Google */
}

.adsense-container:has(iframe),
.adsense-container:has(ins[data-ad-status="filled"]) {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 0.5rem;
}

/* 3. Article Page 3-Column Full-Margin Sticky Side Ads Layout */
.article-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  padding: 0 1.5rem;
}

.sticky-side-ad {
  display: none; /* Collapsed until approved & real ads are filled */
  flex: 1;
  max-width: 300px;
  min-width: 200px;
  width: 100%;
  position: sticky;
  top: 90px;
  align-self: flex-start;
  flex-shrink: 0;
  text-align: center;
  background: transparent;
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
}

.sticky-side-ad:has(iframe),
.sticky-side-ad:has(ins[data-ad-status="filled"]) {
  display: block !important;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.main-article-center {
  flex: 2;
  width: 100%;
  max-width: 860px;
  min-width: 0;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .sticky-side-ad {
    display: none !important;
  }
}

/* 4. Desktop / Laptop Grid (> 1024px) */
@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
  }
}

/* 5. Laptop & Tablet Screen Adjustment (< 1280px) */
@media (max-width: 1280px) {
  .sidebar-ad {
    display: none !important; /* Hide narrow side ads on laptops so article is perfectly centered */
  }
}

@media (max-width: 1023px) and (min-width: 769px) {
  .posts-grid,
  .sponsored-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
}

/* 6. Mobile Screens (Phones < 768px) */
@media (max-width: 768px) {
  /* 🚫 Hide Search Bar on Mobile Phones as requested */
  .header-search-bar, 
  #searchInput, 
  #headerSearchWrapper {
    display: none !important;
  }

  /* Sponsored Single Row Box Mobile Stacking */
  .sponsored-single-row-box {
    flex-direction: column !important;
  }

  .sponsored-column {
    border-right: none !important;
    border-bottom: 1px solid var(--border-light) !important;
    min-height: 200px !important;
  }

  .sponsored-column:last-child {
    border-bottom: none !important;
  }

  /* Category Nav Mobile Touch Scroll */
  .category-nav {
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0;
  }

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

  /* Center Brand Header on Mobile */
  .brand-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
  }

  .brand-logo, .brand-logo a {
    font-size: 1.8rem !important;
  }

  /* Container Padding */
  .container {
    padding: 0 1rem;
  }

  /* Grid to Single Column on Mobile */
  .hero-magazine {
    grid-template-columns: 1fr !important;
  }

  .posts-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .sidebar {
    margin-top: 1.5rem;
  }

  /* Article Page Mobile Typography & UX */
  .article-page-wrapper {
    padding: 0 0.85rem !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .main-article-center {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .article-title {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    margin: 0.35rem 0 0.75rem 0 !important;
    word-break: break-word !important;
  }

  .article-lead-desc {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    color: #475569 !important;
    margin-bottom: 1rem !important;
  }

  .byline-bar {
    padding: 0.5rem 0 !important;
    margin-bottom: 1rem !important;
  }

  .byline-author {
    gap: 0.5rem !important;
  }

  .author-avatar {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.75rem !important;
  }

  .featured-img-container {
    margin-bottom: 1.25rem !important;
    border-radius: 6px !important;
  }

  .featured-img {
    max-height: 230px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
  }

  .human-article {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #1E293B !important;
  }

  .human-article p {
    margin-bottom: 1.15rem !important;
  }

  .human-article h2 {
    font-size: 1.22rem !important;
    line-height: 1.35 !important;
    margin: 1.5rem 0 0.6rem !important;
    padding-left: 0.5rem !important;
    border-left: 3px solid #DC2626 !important;
  }

  .human-article h3 {
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
    margin: 1.25rem 0 0.5rem !important;
  }

  .human-article h4 {
    font-size: 0.95rem !important;
    margin: 1rem 0 0.35rem !important;
  }

  .human-article ul,
  .human-article ol {
    margin: 0.75rem 0 1.25rem 1.25rem !important;
  }

  .human-article li {
    margin-bottom: 0.35rem !important;
    line-height: 1.55 !important;
  }

  .inline-article-img {
    margin: 1.25rem 0 !important;
  }

  .inline-article-img img {
    max-height: 220px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    width: 100% !important;
  }

  .key-takeaways-box,
  .pro-tip-card {
    padding: 0.85rem 1rem !important;
    margin: 1.25rem 0 !important;
    font-size: 0.88rem !important;
  }

  .recommended-section {
    margin-top: 2rem !important;
    padding-top: 1.25rem !important;
  }

  .recommended-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .article-body p {
    margin-bottom: 1.25rem !important;
  }

  /* Hero & Article Image Proportions */
  .featured-img {
    max-height: 280px !important;
  }

  .inline-article-img img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 6px;
  }

  /* Category Buttons Tap Target */
  .category-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
  }

  /* Newsletter Box Mobile Optimization */
  .newsletter-box {
    padding: 1.5rem 1rem !important;
  }

  .newsletter-box h3 {
    font-size: 1.35rem !important;
  }

  .newsletter-form {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .newsletter-form input {
    width: 100% !important;
    font-size: 0.95rem !important;
    text-align: center;
  }

  .newsletter-form button {
    width: 100% !important;
    padding: 0.85rem !important;
    font-size: 1rem !important;
  }

  /* Footer Mobile Layout */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

