/* ============================================================
   Packaging & Delivery page — section layout
   Continues the Testing page's grammar: alternating white /
   light-grey sections, an intro split with a situations panel,
   fact cards with a green left edge, blue numbered gates in the
   Project Process grammar, and document tiles. Colours and type
   come from tokens.css; .eyebrow, .section-heading and .text-link
   are global (site.css). Local prefix: nz-del-.
   ============================================================ */

.nz-del {
  overflow-x: clip;
}

/* ---- Section rhythm ---- */
.nz-del-section {
  padding: 88px 0;
}

.nz-del-section--soft {
  background: var(--gray-bg);
}

@media (max-width: 760px) {
  .nz-del-section {
    padding: 52px 0;
  }
}

/* ---- Optional WordPress editor body ---- */
.nz-del-extra {
  max-width: 78ch;
}

.nz-del-extra > *:last-child {
  margin-bottom: 0;
}

/* ---- Wide picture slot under the page header ---- */
.nz-del-banner {
  padding-top: 44px;
  background: var(--white);
}

/* ---- Packing: copy and fact card beside the situations panel ---- */
.nz-del-intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  /* stretch (not start) so the right panel can close the column: its picture
     slot absorbs the height difference instead of leaving a blank corner. */
  align-items: stretch;
}

.nz-del-intro__copy h2 {
  margin-bottom: 18px;
}

.nz-del-intro__copy > p:not(.nz-del-note) {
  max-width: 62ch;
}

.nz-del-intro__panel h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.nz-del-cases {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nz-del-cases li {
  padding: 13px 0;
  border-top: 1px solid var(--gray-line);
}

.nz-del-cases strong {
  display: block;
  color: var(--blue);
  font-size: 15.5px;
  font-weight: 600;
}

.nz-del-cases p {
  margin: 3px 0 0;
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.6;
}

.nz-del-intro__copy-media {
  margin-top: 30px;
}

.nz-del-intro__panel-media {
  margin-top: 26px;
}

/* On wide screens the panel's picture slot stretches so the panel ends level
   with the copy column — the same closing-slot grammar as the Testing page.
   The slot is a replaced element (an <img>), so it fills the leftover height
   and the picture is covered, never distorted. Below the split the slot keeps
   its natural ratio. */
@media (min-width: 1025px) {
  .nz-del-intro__panel {
    display: flex;
    flex-direction: column;
  }

  .nz-del-intro__panel-media {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }

  .nz-del-intro__panel-media .nz-ph {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }

  .nz-del-intro__panel-media .nz-ph__img {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 1024px) {
  .nz-del-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

/* ---- Boundary notes: same grammar as the Testing page's nz-ti-note ---- */
.nz-del-note {
  max-width: 62ch;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--gray-line);
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.6;
}

.nz-del-note--wide {
  max-width: 78ch;
  margin-top: 28px;
}

/* ---- Fact cards: same grammar as the Testing page's nz-ti-facts ---- */
.nz-del-facts {
  max-width: 620px;
  margin: 18px 0 0;
  padding: 4px 20px;
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
}

.nz-del-facts--wide {
  max-width: 780px;
}

.nz-del-fact {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 3px 22px;
  padding: 11px 0;
}

.nz-del-fact + .nz-del-fact {
  border-top: 1px solid var(--gray-line);
}

.nz-del-fact dt {
  padding-top: 2px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nz-del-fact dd {
  margin: 0;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .nz-del-facts {
    padding: 2px 16px;
  }

  .nz-del-fact {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 10px 0;
  }
}

/* ---- Trade terms: three cards on the light grey ---- */
.nz-del-trade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.nz-del-tradecard {
  padding: 22px 24px;
  border: 1px solid var(--gray-line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
}

.nz-del-tradecard h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.nz-del-tradecard p {
  margin: 0;
  color: var(--gray-text);
  font-size: 14.5px;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .nz-del-trade {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Shipment release: copy and numbered gates ---- */
.nz-del-release {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 56px;
  align-items: start;
}

.nz-del-release__copy h2 {
  margin-bottom: 18px;
}

.nz-del-release__copy > p {
  max-width: 58ch;
}

.nz-del-release__links {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.nz-del-release__links .text-link {
  justify-self: start;
}

/* The gates repeat the Project Process page's numbered-node grammar, at the
   smaller scale of a checklist. */
.nz-del-gates {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nz-del-gate;
}

.nz-del-gate {
  display: flex;
  gap: 18px;
  padding: 16px 0;
}

.nz-del-gate + .nz-del-gate {
  border-top: 1px solid var(--gray-line);
}

.nz-del-gate__num {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.nz-del-gate__body strong {
  display: block;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
}

.nz-del-gate__body p {
  margin: 4px 0 0;
  max-width: 52ch;
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .nz-del-release {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* ---- Documents: tiles ---- */
.nz-del-docgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.nz-del-doc {
  padding: 18px 20px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
}

.nz-del-doc strong {
  display: block;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

.nz-del-doc span {
  display: block;
  margin-top: 4px;
  color: var(--gray-text);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .nz-del-docgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .nz-del-docgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}
