/* Scoped to the existing IPS theme by PHP. No advertisements or consent UI are hidden. */
.article-content { overflow-wrap: anywhere; }
.entry-content iframe, .entry-content video, .entry-content embed { max-width: 100%; }
@media (max-width: 760px) {
  .hero-main .excerpt, .card .excerpt, .browse-head p, .page-heading p,
  .identity-band p, .footer p, .text-page { font-size: 1rem; line-height: 1.65; }
  .ips-category, .side-story .ips-category, .card .ips-category,
  .meta, .card .meta, .side-story .meta, .article-heading .meta,
  .wire time, .wire h3, .wire-title h2, .wire-title span,
  .result-line, .sort, .sort select, .chips .chip, .topic-strip a,
  .footer-links, .footer-custom-links, .footer-bottom,
  .reading-tools small, .article-image figcaption, .entry-content figcaption,
  .entry-content .wp-caption-text, .ips-tags { font-size: .875rem; line-height: 1.5; }
  .nav-shell .icon-btn, .nav-shell .more > summary,
  .nav-shell .nav-links a, .more-panel a, .chips .chip,
  .ips-pagination .page-numbers, .reading-tools .btn {
    min-height: 44px;
  }
  .nav-shell .nav-links a, .nav-shell .more > summary,
  .nav-shell .mobile-menu, .more-panel a, .btn, .reading-tools .btn {
    font-size: .875rem;
  }
  .nav-shell .icon-btn { min-width: 44px; }
  .nav-shell .mobile-menu { min-width: 70px; }
  .nav-shell .more > summary { display: flex; align-items: center; gap: 6px; }
  .search-dialog input, .search-inline input, .ips-comments input,
  .ips-comments textarea { font-size: 1rem; }
  .article-content { font-size: 1.125rem; line-height: 1.8; }
  .article-content > p:first-child { font-size: 1.1875rem; }
  .article-heading h1 { overflow-wrap: anywhere; }
  .reading-tools { gap: 12px; }
  .wire h3 { line-height: 1.55; }
}
@media (max-width: 480px) {
  .article-grid, .search-layout .article-grid, .hero-secondary,
  .wire ol { grid-template-columns: minmax(0, 1fr); }
  .card h2, .card h3, .side-story h2 { font-size: 1.375rem; line-height: 1.3; }
  .hero-secondary .side-story + .side-story { border-top: 1px solid var(--line); padding-top: 20px; }
  .card .excerpt { display: block; margin-bottom: 12px; }
  .card .meta .reading-time { display: inline; }
  .card .meta { flex-wrap: wrap; }
  .wire li { padding: 16px 0; }
  .filter-bar .sort { white-space: normal; }
}
