/* Cookie Notice only — full-width shell/grid/dividers; prose capped separately */

.cookie-notice-page .legal-shell {
  max-width: 1100px;
  width: min(1100px, calc(100% - var(--legal-gutter-left) - var(--legal-gutter-right)));
}

/* Full section width for card grid and gray border-top dividers */
.cookie-notice-page .legal-section {
  width: 100%;
  max-width: none;
}

/* Prose-only measure — never applied to sections, grid, or dividers */
.cookie-notice-page .legal-intro,
.cookie-notice-page .legal-section > p,
.cookie-notice-page .legal-section > ul,
.cookie-notice-page .cookie-tech-note,
.cookie-notice-page .legal-consent-action-wrap {
  width: 100%;
  max-width: 64rem;
}

.cookie-notice-page .cookie-category-grid {
  max-width: none;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cookie-notice-page .cookie-category-card p {
  max-width: none;
}

/*
 * Cookie Notice grid forces 2 columns with higher specificity than the shared
 * legal-page 700px rule, so mobile must restate one-column here.
 */
@media (max-width: 700px) {
  .cookie-notice-page .cookie-category-grid {
    grid-template-columns: 1fr;
  }

  .cookie-notice-page .cookie-category-card {
    width: 100%;
  }

  .cookie-notice-page .cookie-category-card__header {
    flex-wrap: wrap;
  }

  .cookie-notice-page .cookie-category-card h3 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cookie-notice-page .cookie-status {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
  }
}
