@media (max-width: 980px) {
  .delivery-hero-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .delivery-board {
    min-height: auto;
  }

  .mockup-stage {
    min-height: 620px;
  }

  .mail-preview {
    margin: 0 auto;
  }

  .side-rail {
    position: static;
  }

  .side-rail-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .newsletter-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  /*main {
    padding-top: var(--header-height);
  }*/

  .container {
    width: min(100% - 28px, 1180px);
  }

  .delivery-hero {
    min-height: auto;
    padding: 34px 0 28px;
  }

  .delivery-board,
  .mail-head,
  .feed-section,
  .newsletter-panel {
    padding: 22px;
  }

  .delivery-board h1 {
    font-size: 44px;
  }

  .delivery-board .hero-copy {
    font-size: 16px;
  }

  .mockup-stage {
    display: grid;
    min-height: auto;
    gap: 0;
    margin-top: 14px;
  }

  .hero-mini-card {
    display: none;
  }

  .mail-preview {
    width: 100%;
    min-height: auto;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(7, 17, 29, 0.12);
  }

  .mail-window-bar {
    height: 34px;
    padding: 0 18px;
  }

  .subscribe-form,
  .bottom-form {
    flex-direction: column;
  }

  .subscribe-form input {
    width: 100%;
  }

  .newsletter-card-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-card {
    min-height: auto;
  }

  .mail-summary {
    margin: 18px 22px 0;
    padding: 18px;
    border-radius: 18px;
  }

  .mail-main-story {
    grid-template-columns: 1fr;
    padding: 22px 22px 0;
  }

  .mail-main-story img {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .phone-preview {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: auto;
    width: min(210px, 68vw);
    margin-top: -64px;
    margin-right: 14px;
  }

  .mail-more {
    padding: 22px;
  }

  .content-layout {
    padding: 22px 0 46px;
  }

  .row-heading {
    gap: 12px;
  }

  .section-heading h2,
  .bottom-cta h2 {
    font-size: 25px;
  }

  .newsletter-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .newsletter-item img {
    width: 92px;
    height: 70px;
  }

  .newsletter-item h3 {
    font-size: 22px;
  }

  .newsletter-card p {
    display: none;
  }

  .briefing-flow {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .side-rail {
    grid-template-columns: 1fr;
  }

  .bottom-cta-inner {
    grid-template-columns: 1fr;
  }

  .modal {
    align-items: end;
    padding: 0;
  }

  .modal-backdrop {
    background: rgba(0, 0, 0, 0.56);
  }

  .modal-panel {
    width: 100%;
    max-width: none;
    padding: 22px 20px 20px;
    border-radius: 24px 24px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    animation: modalSheetRise 0.24s ease-out;
  }

  .modal-panel h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .modal-panel p:not(.eyebrow):not(.form-message) {
    font-size: 15px;
    line-height: 1.55;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .mobile-subscribe-fab {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 35;
    display: block;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  .mobile-subscribe-fab, .mobile-subscribe-fab__button{
    border-radius: 0;
    font-size: 17px;
    font-weight: 700;
    height: 92px;
    letter-spacing: -2.5%;
  }

  .copyright-modal {
    padding: 12px;
  }

  .copyright-modal-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  .copyright-modal-panel h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .copyright-modal-panel p {
    font-size: 15px;
    line-height: 1.65;
  }

  .copyright-modal-backdrop {
    background: rgba(7, 11, 18, 0.38);
  }

  .consent-modal {
    padding: 12px;
  }

  .consent-modal-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 22px;
    padding: 28px 20px 24px;
  }

  .consent-modal-panel h2 {
    max-width: calc(100% - 48px);
    font-size: 26px;
    line-height: 1.18;
  }

  .consent-modal-copy,
  .consent-modal-item p {
    font-size: 14px;
    line-height: 1.65;
  }

  .consent-modal-close {
    top: 16px;
    right: 16px;
  }

  .policy-modal {
    padding: 12px;
  }

  .policy-modal-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .policy-modal-header {
    min-height: 64px;
    padding: 0 16px 0 20px;
  }

  .policy-modal-body {
    max-height: calc(100vh - 88px);
    padding: 28px 20px 24px;
  }

  .policy-modal-body h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .policy-modal-section p {
    font-size: 15px;
    line-height: 1.7;
  }

}

@media (max-width: 420px) {
  .delivery-board h1 {
    font-size: 38px;
  }

  .delivery-status-card {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .newsletter-item {
    grid-template-columns: 1fr;
  }

  .newsletter-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

