/* Shared private media inventory and the press-kit footer collections. */
.resource-grid > a,
.resource-grid > .methodology-resource {
  padding: 16px;
  border: 1px solid rgba(20, 83, 78, 0.2);
  border-radius: 10px;
  color: #14534e;
}
.resource-grid > a:hover { background: rgba(20, 83, 78, 0.06); }
.methodology-resource { display: flex; flex-direction: column; gap: 8px; }
.press-inventory { padding-top: 48px; padding-bottom: 48px; }
.press-inventory h1 { font-size: clamp(36px, 6vw, 64px); }
.press-inventory > p { max-width: 850px; }
.press-asset-group { padding-top: 40px; scroll-margin-top: 24px; }
.press-asset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.press-asset-card { padding: 24px; border: 1px solid rgba(20, 83, 78, 0.2); border-radius: 12px; min-width: 0; }
.press-asset-card h3 { margin-top: 0; }
.press-asset-preview {
  display: block;
  aspect-ratio: 16 / 10;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background-color: #263137;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.055) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.055) 75%);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
}
.press-asset-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.press-asset-preview--video { position: relative; width: min(100%, 240px); aspect-ratio: 16 / 9; }
.press-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 24px; background: rgba(0, 0, 0, .78); color: #fff; font: 600 14px/1.2 Arial, Helvetica, sans-serif; white-space: nowrap; }
.press-asset-preview--video:hover .press-video-play,
.press-asset-preview--video:focus-visible .press-video-play { background: #14534e; }
.press-video-dialog { width: calc(100vw - 32px); max-width: 1920px; max-height: calc(100dvh - 24px); padding: 12px; border: 0; border-radius: 10px; background: #111; color: #fff; }
.press-video-dialog::backdrop { background: rgba(0, 0, 0, .85); }
.press-video-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.press-video-heading h2 { margin: 0; color: #fff; font: 600 16px/1.4 Arial, Helvetica, sans-serif; }
.press-video-close { padding: 10px 14px; border: 1px solid #777; border-radius: 6px; color: #fff; background: #222; font: 600 15px/1.4 Arial, Helvetica, sans-serif; cursor: pointer; }
.press-full-video { display: block; width: 100%; max-height: calc(100dvh - 110px); aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.press-video-status { margin: 10px 0 0; font-size: 15px; }
#announcement .press-explainer-link { font-size: 14px; line-height: 1.5; margin-top: 12px; }
.asset-metadata { font-size: 14px; overflow-wrap: anywhere; }
.asset-unavailable { padding: 16px; border-left: 3px solid #8c4f24; background: #fff3e6; color: #633a20; }
.press-asset-actions { display: flex; flex-wrap: wrap; gap: 20px; }
/* Media collection links should read like the adjacent copy, not tiny utility labels. */
.resources .resource-grid > a,
.resources .methodology-resource strong,
.resources .methodology-resource a,
.press-inventory .resource-grid > a,
.press-asset-actions .textlink {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
}
/* Mobile readability overrides for both press pages. Desktop untouched. */
.mobile-capture-hint {
  display: none;
}
.guide-capture-link {
  display: block;
}

@media (max-width: 760px) {
  /* Header and review bar containment */
  .reviewbar .wrap {
    font-size: 12px;
    line-height: 1.4;
    min-width: 0;
  }
  .reviewbar .wrap span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .header {
    gap: 12px;
    min-width: 0;
  }
  .header .dxb-real-logo {
    max-width: 172px;
    min-width: 0;
    flex-shrink: 1;
  }
  .header .button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Long text and links must never push the viewport sideways */
  .wrap,
  .reading,
  .foodstory,
  .product,
  .contact {
    min-width: 0;
  }
  .wrap p,
  .wrap li,
  .wrap a,
  .review-notes,
  footer {
    overflow-wrap: anywhere;
  }

  /* Tap targets: real CTAs and secondary links */
  .ctas .button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }
  .textlink,
  .ctas .textlink,
  .guide-introduction > .textlink,
  .guide-repeat-cta,
  .study-scale-links .textlink {
    display: inline-block;
    font-size: 15px;
    padding: 12px 0;
    min-height: 44px;
    line-height: 1.4;
  }
  .study-scale-links {
    gap: 0 24px;
  }
  .dxb-introduction-links,
  .dxb-introduction-card .dxb-introduction-links {
    font-size: 14px;
    line-height: 1.9;
  }
  .dxb-introduction-links a {
    padding: 8px 0;
    display: inline-block;
  }

  /* Labels, eyebrows, captions, notes */
  .eyebrow,
  .product .eyebrow {
    font-size: 12px;
    letter-spacing: 1.2px;
  }
  .bite small {
    font-size: 13px;
  }
  .muted,
  .comparison .muted {
    font-size: 14px;
  }
  .annotation,
  .play-row .annotation {
    font-size: 13px;
    line-height: 1.55;
    color: #496259;
  }
  .summary h3,
  .play-row h3,
  .quote h3 {
    font-size: 13px;
  }
  .play-row .illustrative,
  .quote .attribution {
    font-size: 13px;
  }
  .play-row .illustrative-bites-note,
  .play-row .illustrative-bite-label {
    font-size: 14px;
  }
  .resource-grid {
    font-size: 14px;
  }
  footer {
    font-size: 13px;
    flex-wrap: wrap;
    line-height: 1.5;
  }
  .review-notes {
    font-size: 13px;
    line-height: 1.55;
  }
  .review-notes summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .dish-photo figcaption,
  .guide-capture figcaption {
    font-size: 14px;
    line-height: 1.55;
  }
  .editorial-visual figcaption,
  .dish-image-note,
  .capture-review-note {
    font-size: 13px;
    line-height: 1.55;
    color: #496259;
  }
  .guide-step-number {
    font-size: 13px;
  }
  .guide-detail-grid p,
  .study-scale-context,
  .play-row .bite p,
  .bite p {
    font-size: 15px;
  }
  .study-scale-grid dd {
    font-size: 14px;
  }
  .metric span,
  .arrow-seq {
    font-size: 14px;
  }
  .arrow-seq {
    line-height: 1.8;
  }

  /* Metrics: stable two-up, wrap-safe */
  .metrics .metric {
    min-width: 0;
    flex: 1 1 40%;
  }
  .metric strong {
    overflow-wrap: anywhere;
  }

  /* Overview comparison: stack so long text gets full width */
  .comparison {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .old,
  .new {
    padding: 18px;
  }
  .comparison h3 {
    font-size: 17px;
  }
  .comparison .bite h3 {
    font-size: 18px;
  }
  .comparison .bite p {
    font-size: 15px;
  }

  /* Image enlargement hint */
  .mobile-capture-hint {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    margin-top: 6px;
    color: #14534e;
  }
}

@media (max-width: 400px) {
  .metrics {
    gap: 20px 14px;
  }
  .metrics .metric {
    padding-left: 12px;
  }
  .metric strong {
    font-size: 25px;
  }
  .study-scale-grid {
    gap: 20px 14px;
  }
  .study-scale-grid dt {
    font-size: 28px;
  }
  .resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .header .button {
    padding: 10px 12px;
  }
}

@media (max-width: 340px) {
  .metrics .metric {
    flex-basis: 100%;
  }
  h1 {
    font-size: 36px;
  }
}
