/* Local review only. R9.3 application and chat styles remain unchanged. */
.media-review-banner {
  margin: 0;
  padding: 12px 20px;
  background: #172a43;
  color: #fff;
  text-align: center;
  font-size: 14px;
}
.media-review-banner strong { color: #ffd35d; }
.media-review {
  width: min(1128px, calc(100% - 40px));
  margin: 56px auto;
  scroll-margin-top: 100px;
}
.media-review h2 { font-size: 32px; }
.media-review-intro { max-width: 760px; color: #435166; }
.media-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.media-review-grid[data-count="1"] { grid-template-columns: minmax(0, 480px); }
.media-review-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 984px; }
.media-review figure {
  margin: 0;
  min-width: 0;
  max-width: 480px;
  border: 1px solid #d8dee8;
  background: #f6f8fb;
}
.media-review picture { display: block; }
.media-review img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.media-review figcaption { padding: 16px; line-height: 1.5; }
.media-review-id { display: block; color: #435166; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.media-method-hold { display: block; margin-top: 8px; color: #683c15; font-size: 13px; }
.media-review-gap { margin-top: 24px; border-left: 4px solid #ba7b00; padding: 16px 20px; background: #fff5d8; color: #352814; }
.media-review-gap p { margin: 6px 0 0; }
.media-review-gap-only { padding-top: 24px; border-top: 1px solid #d8dee8; }
@media (max-width: 1000px) {
  .media-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .media-review-grid,
  .media-review-grid[data-count="2"] { grid-template-columns: minmax(0, 1fr); }
  .media-review { margin-top: 36px; margin-bottom: 36px; }
}

@media (max-width:620px) { .media-review h2 { font-size:25px; } }

/* CURATED_CATEGORY_MEDIA_BEGIN */
.curated-media { width: min(1128px, calc(100% - 40px)); margin: 36px auto; }
.curated-media h2 { margin: 0 0 20px; font-size: 28px; line-height: 1.2; }
.curated-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.curated-media-grid[data-count="1"] { grid-template-columns: minmax(0, 600px); }
.curated-media figure { margin: 0; min-width: 0; border: 1px solid #d8dee8; background: #fff; }
.curated-media picture { display: flex; align-items: center; justify-content: center; height: 360px; background: #f6f8fb; }
.curated-media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 360px; object-fit: contain; }
.curated-media figcaption { padding: 14px 16px; color: #233247; font-size: 16px; line-height: 1.5; overflow-wrap: break-word; }
@media (max-width: 620px) {
  .curated-media { margin-top: 28px; margin-bottom: 28px; }
  .curated-media h2 { font-size: 25px; }
  .curated-media-grid, .curated-media-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .curated-media picture { height: auto; max-height: 360px; }
  .curated-media img { max-height: 360px; }
}
/* CURATED_CATEGORY_MEDIA_END */
