/* Keep original artwork square as responsive grids resize it. */
.sos-item, .wtb-item { min-width: 0; aspect-ratio: 1 / 1; }
.sos-item img, .wtb-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* Mobile typography uses the original ResultAd typeface and colours. */
@media (max-width: 768px) {
  .tnp-content, .nd-left_column, .rin-header, .sos-header, .wtb-header {
    min-width: 0;
  }
  .tnp-info_top-title,
  .rds-box-title,
  .nd-left_column-title,
  .rin-header-title,
  .sos-header-title,
  .wtb-header-title,
  .contact-main-header,
  .seo-detail h2,
  .creative-grid-title,
  .modal-header-title {
    font-size: clamp(1.5rem, 6.4vw, 2rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    max-width: 100%;
    box-sizing: border-box;
  }
  .tnp-info_top-title { margin-top: 24px; margin-bottom: 24px; }
  .seo-breadcrumb { margin-bottom: 20px; }
  .rds-box-title { padding: 16px; margin-bottom: 40px; }
  .rin-header-title, .wtb-header-title { padding: 12px 16px; }
  .nd-left_column-title, .sos-header-title, .seo-detail h2,
  .creative-grid-title { margin-bottom: 24px; }
  .contact-main-header { margin-bottom: 32px; }
  .rds-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rds-item-title {
    font-size: 1rem;
    line-height: 1.45;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: break-word;
    margin-bottom: 16px;
  }
  .rds-item-text { font-size: 1rem; line-height: 1.5; }
  .modal-header-title { max-width: 100%; }
  .sos-items { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .wtb-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 480px) {
  .rds-items { grid-template-columns: minmax(0, 1fr); }
  .rds-item { margin-bottom: 24px; }
  .rds-item-number { font-size: 2rem; line-height: 1.2; margin-bottom: 12px; }
  .wtb-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sos-items { gap: 12px; }
}

/* Source marks use the same square framing on service pages. */
.sos-item.verified-source{display:flex;align-items:center;justify-content:center;box-sizing:border-box;background:#fff;padding:14px;overflow:hidden}
.sos-item.verified-source--dark{background:#171823}
.sos-item.verified-source img{width:100%;height:100%;max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:contain}
