/* mid — max-width: 1280px */

/* ══════════════════════════════════════
   RESPONSIVE — MID SCREEN
   Figma frame: 744px → breakpoint: 540px–1280px
   ══════════════════════════════════════ */
@media (max-width: 1280px) {

  /* ── ANNOUNCEMENT BAR: 40px side padding ── */
  .ann-inner { padding: 0 40px; }

  /* ── NAV BAR: 40px padding, 84px height, hide tabs, show hamburger ── */
  .nav-bar { height: 84px; }
  .nav-inner { padding: 0 40px; }
  .nav-links { display: none; }
  .nav-actions { gap: 16px; }
  .nav-hamburger { display: flex; }

  /* ── NEWSWIRE: 40px padding, taller (132px), smaller logo, 65px fades ── */
  .nw-inner {
    padding: 16px 40px;
    height: 132px;
  }
  .nw-scroll-wrap  { height: 100px; }
  .nw-track-outer  { height: 100px; }
  .nw-track        { height: 100px; }

  .nw-logo         { width: 139px; height: 28px; }
  .nw-logo-icon    { width: 139px; height: 28px; }

  .nw-fade-left  { width: 65px; }
  .nw-fade-right { width: 65px; }

  /* ── Hero inner ── */
  .hero-inner {
    padding: 48px 40px;
    gap: 24px;
  }

  /* ── Section headers: padding all sides, 1px border, 48px height ── */
  .section-header {
    padding: 8px 10px;
    border-bottom-width: 2px;
    height: 48px;
  }

  /* ── MAIN GRID → single column, natural DOM order ── */
  .main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ── MOST READ: footer centered ── */
  .most-read-footer { justify-content: center; }

  /* ── FEATURED: 16:9 image (664×373) ── */
  .featured-img { aspect-ratio: 664 / 373; }

  /* ── SIDE ARTICLES → 3-column horizontal row ── */
  .side-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  /* Show 3rd side card in the 3-column row */
  .side-card:nth-child(3) { display: flex; }

  .side-card { gap: 8px; }

  /* Image: 213×120 ≈ 16:9 */
  .side-card-img { aspect-ratio: 213 / 120; }

  /* Title at mid: Inter 600 16px #181D27 (larger than desktop 14px) */
  .side-card-title {
    font-size: 16px;
    line-height: 24px;
    color: #181D27;
    -webkit-line-clamp: 3;
  }

  /* Meta at mid: #737373 dot */
  .side-card .meta-dot { background: #737373; }
  .side-card .meta-time { color: #737373; }

  /* ── LATEST NEWS: no changes needed (full width naturally) ── */

  /* ── Newsletter: column layout, full-width children ── */
  .newsletter-section {
    order: 0;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
  }
  .newsletter-section .newsletter-copy,
  .newsletter-section .newsletter-form {
    flex: none;
    width: 100%;
  }

  /* ── BOTTOM ROW → stack vertically ── */
  .bottom-row { flex-direction: column; gap: 24px; }
  .bottom-cols { flex-direction: column; gap: 24px; width: 100%; }
  .bottom-section { flex: none; width: 100%; }

  /* Bottom cards: 3-column grid with vertical (image-on-top) layout */
  .bottom-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .news-card {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  /* Thumb: full card width, 16:9 */
  .thumb-169 {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* Ad box: hide at mid */
  .ad-box { display: none; }
}
