/* Phone-first reading and touch controls. The desktop composition stays intact. */
.mobile-eyebrow, .hero-copy-mobile, .mobile-card-type { display: none; }
.intro h1 > .hero-copy-wide { color: inherit; white-space: normal; }

@media (max-width: 900px) {
  .editorial-home .opportunity {
    display: block;
    border: 1px solid #dce4e4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px #14283106;
  }
  .editorial-home .opportunity:focus-within { box-shadow: 0 3px 12px #14283106; }
  .editorial-home .opportunity:has(:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
  .editorial-home .card-media { display: none; }
  .editorial-home .card-preview { padding: 18px 18px 6px; }
  .editorial-home .card-topline { gap: 10px; margin-bottom: 12px; }
  .editorial-home .card-topline .status { padding: 4px 8px; font-size: 11px; border-radius: 5px; }
  .editorial-home .status-label-original { display: none; }
  .editorial-home .status-label-desktop { display: inline; }
  .editorial-home .card-pay { font-size: 11px; color: #52646d; }
  .editorial-home .card-main h4 { font-size: 18px; line-height: 1.35; margin-bottom: 6px; }
  .editorial-home .org { font-size: 13px; line-height: 1.5; color: #52646d; }
  .editorial-home .card-check { display: flex; align-items: center; gap: 5px; margin: 8px 0 0; font-size: 11px; line-height: 1.4; color: #5c706c; }
  .editorial-home .card-check .ss-icon { width: 13px; height: 13px; flex: none; }
  .editorial-home .mobile-card-type { display: inline; margin-left: auto; padding-left: 8px; font-weight: 600; color: #52646d; }
  .editorial-home .card-meta { margin-top: 14px; gap: 8px; }
  .editorial-home .card-meta li { gap: 7px; font-size: 12px; line-height: 1.5; color: #52646d; }
  .editorial-home .card-meta li svg { width: 14px; height: 14px; margin-top: 2px; }
  .editorial-home .opportunity > details { padding: 0 18px; }
  .editorial-home .opportunity > details > summary { min-height: 46px; padding: 10px 0; font-size: 12px; color: #41585f; }
  .editorial-home .details-toggle { transition: transform 220ms cubic-bezier(.22,1,.36,1); }
  .editorial-home .details-content { padding: 12px 0 18px; }
  .editorial-home .status-context { display: block; margin: 2px 0 14px; font-size: 12px; color: #52646d; }
  .editorial-home .facts dt { font-size: 11px; }
  .editorial-home :is(.facts dd,.card-summary,.catch,.status-note,.listing-kind,.listing-type) { font-size: 13px; }
  .editorial-home .verified { font-size: 11px; }
  .editorial-home .source-actions :is(a,button) { min-height: 44px; font-size: 12px; }
  .editorial-home .card-footer { padding: 12px 14px; background: #fbfcfc; }
  .editorial-home .card-actions { display: grid; grid-template-columns: auto auto minmax(0,1fr); gap: 6px; }
  .editorial-home .card-actions :is(.share-link,.save-button,.official-link) { min-height: 44px; min-width: 44px; margin: 0; padding: 8px; font-size: 12px; line-height: 1.3; border-radius: 8px; }
  .editorial-home .card-actions :is(.share-link,.save-button) { gap: 5px; color: #52646d; }
  .editorial-home .card-actions .save-button[aria-pressed="true"], .editorial-home .card-actions .share-link[data-copied="true"] { color: var(--blue-dark); background: #eaf2fb; }
  .editorial-home .card-actions .official-link { border: 1px solid var(--blue); background: var(--blue); color: #fff; gap: 5px; text-align: center; }
  .editorial-home .card-actions .official-link:active { background: var(--blue-dark); }
  .editorial-home .card-actions svg { width: 15px; height: 15px; flex: none; }
  .editorial-home .result-group > h3 { font-size: 13px; margin-bottom: 14px; }
  .editorial-home .result-group > h3 span { font-size: 12px; }
  .editorial-home .group-cards { gap: 16px; }
}

@media (max-width: 800px) {
  .editorial-home .board-controls { position: sticky; top: 0; z-index: 10; padding: 10px 0; margin-bottom: 16px; background: var(--paper); border-bottom: 1px solid #e3e9e7; }
  .editorial-home .board #filter-panel { position: static; max-height: none; overflow: visible; }
  .editorial-home .mobile-filter-shortcuts { gap: 8px; }
  .editorial-home .mobile-filter-shortcuts > button { min-height: 44px; padding: 10px 12px; font-size: 12px; border-radius: 8px; }
  .editorial-home #mobile-filters { min-height: 44px; min-width: 44px; border-radius: 8px; }
  .editorial-home #mobile-filter-count { font-size: 11px; }
  .editorial-home #desktop-filter-count { display: none; }
  .editorial-home .results-toolbar :is(p,select) { font-size: 12px; color: #52646d; }
  .editorial-home .results-toolbar select { min-height: 44px; max-width: 180px; }
  .editorial-home .active-filters button { min-height: 44px; padding: 8px 10px; border-radius: 7px; font-size: 12px; }
  .editorial-home .active-filter-line .text-button { min-height: 44px; font-size: 12px; }
  .editorial-home .filter-sheet { width: 100%; max-width: 600px; max-height: calc(100dvh - 16px); margin: auto auto 0; border-radius: 20px 20px 0 0; border-bottom: 0; }
  .editorial-home .filter-sheet[open] { animation: mobile-sheet-enter 220ms cubic-bezier(.22,1,.36,1); }
  .editorial-home .filter-sheet-heading { padding: 20px; }
  .editorial-home .filter-sheet-heading > button { min-height: 44px; width: 44px; background: #edf1f0; border-radius: 50%; }
  .editorial-home .filter-sheet .filter-group > summary { min-height: 62px; }
  .editorial-home .filter-sheet :is(.filter-selection,.filter-help,.filter-note) { font-size: 12px; }
  .editorial-home .filter-sheet .choice-grid label > span, .editorial-home .filter-sheet .stage-button { min-height: 46px; padding: 10px; font-size: 13px; border-radius: 8px; }
  .editorial-home .filter-sheet-footer { padding: 16px 20px max(16px,env(safe-area-inset-bottom)); }
  .editorial-home .filter-sheet-footer :is(button,.primary-button) { min-height: 46px; font-size: 13px; border-radius: 8px; }
  .editorial-home .load-more { padding: 12px 0; }
  .editorial-home .load-more-progress { font-size: 12px; color: #52646d; margin-bottom: 12px; }
  .editorial-home #load-more-button { width: 100%; min-height: 48px; border-radius: 10px; padding: 12px; font-size: 14px; font-weight: 650; background: #fff; border-color: #bfcfd7; }
  .editorial-home :is(input[type="search"],input[type="email"],input[type="text"],input[type="url"],textarea) { font-size: 16px; }
  .editorial-home :is(.newsletter,.submission) :is(input,textarea,select,button) { min-height: 46px; }
  .editorial-home .welcome-survey select { min-height: 46px; font-size: 16px; }
  .editorial-home .welcome-survey .dialog-close { min-height: 44px; min-width: 44px; }
}

@media (max-width: 600px) {
  .editorial-home .site-header { z-index: 40; min-height: 64px; padding: 10px 20px; }
  .editorial-home .skip-link { z-index: 50; }
  .editorial-home #nav-toggle { width: 44px; height: 44px; background: #f0f4f4; border-radius: 10px; }
  .editorial-home .site-nav { z-index: 40; right: 16px; width: calc(100% - 32px); padding: 10px; border-radius: 12px; }
  .editorial-home .site-nav a { min-height: 46px; padding: 12px; font-size: 14px; border-radius: 7px; }
  .editorial-home .site-nav a:active { background: #edf4fa; }
  .editorial-home .intro { padding: 24px 0 16px; min-height: 0; height: auto; }
  .editorial-home .hero-shell { width: calc(100% - 40px); padding-bottom: 18px; }
  .editorial-home .intro .intro-content { padding: 0; }
  .editorial-home .mobile-eyebrow { display: block; margin: 0 0 12px; color: #52646d; font-size: 11px; font-weight: 650; letter-spacing: .025em; }
  .editorial-home .hero-copy-wide { display: none; }
  .editorial-home .hero-copy-mobile { display: inline; }
  .editorial-home .intro h1 { margin-bottom: 14px; font-size: clamp(30px,8.7vw,38px); line-height: 1.08; letter-spacing: -.035em; }
  .editorial-home .intro h1 > .hero-copy-mobile { color: inherit; white-space: normal; }
  .editorial-home .intro .dek { max-width: none; margin-bottom: 18px; font-size: 14px; line-height: 1.55; }
  .editorial-home .intro .hero-search { min-height: 56px; border-radius: 12px; padding: 5px; box-shadow: 0 3px 10px #14283106; }
  .editorial-home .hero-search .search-control input { font-size: 16px; height: 44px; padding-left: 32px; }
  .editorial-home .hero-search > button { min-width: 44px; min-height: 44px; border-radius: 8px; }
  .editorial-home .intro .hero-categories { display: none; }
  .editorial-home .intro .hero-stats { gap: 8px; margin-top: 18px; }
  .editorial-home .hero-stat { gap: 6px; }
  .editorial-home .hero-stat > .ss-icon { width: 17px; height: 17px; }
  .editorial-home .hero-stat strong { font-size: 17px; }
  .editorial-home .hero-stat p { font-size: 10px; }
  .editorial-home .intro .intro-media { width: calc(100% - 32px); height: 136px; margin-inline: auto; border-radius: 14px; mask-image: none; }
  .editorial-home .intro-media img { object-position: 65% 65%; }
  .editorial-home .hero-photo-caption { right: 26px; bottom: 26px; font-size: 10px; border-radius: 5px; padding: 4px 6px; }
  .editorial-home .board { padding: 18px 16px 32px; }
  .editorial-home .board-layout { gap: 8px; }
  .editorial-home .category-browse { margin: 0 -16px; padding: 2px 16px 12px; gap: 8px; scrollbar-width: none; }
  .editorial-home .category-browse button { flex-direction: row; min-height: 44px; min-width: 0; padding: 10px 12px; gap: 7px; border: 1px solid #dce4e4; border-radius: 24px; background: #fff; font-size: 12px; }
  .editorial-home .category-browse button:first-child { min-width: 0; }
  .editorial-home .category-browse button[aria-pressed="true"] { background: #eaf2fb; border-color: #c2d6ea; color: var(--blue-dark); }
  .editorial-home .category-browse button svg { width: 17px; height: 17px; }
  .editorial-home .workspace-heading { margin-bottom: 2px; gap: 8px; }
  .editorial-home .workspace-heading h2 { font-size: 23px; }
  .editorial-home .workspace-actions :is(.preferences-button,.save-button) { min-width: 44px; min-height: 44px; font-size: 12px; }
  .editorial-home .group-cards { grid-template-columns: minmax(0,1fr); }
  .editorial-home .how-it-works, .editorial-home .newsletter, .editorial-home .accuracy-note, .editorial-home .submission { margin-inline: 16px; border-radius: 14px; }
  .editorial-home :is(.how-it-works,.newsletter,.accuracy-note,.submission) p { font-size: 13px; line-height: 1.65; }
  .editorial-home .footer-group a, .editorial-home .footer-bottom a { min-height: 44px; font-size: 13px; }
  .editorial-home .survey-selects { grid-template-columns: minmax(0,1fr); }
  .editorial-home .survey-actions { position: sticky; bottom: 0; z-index: 1; margin-top: 16px; padding-block: 12px; background: #fff; border-top: 1px solid #e3e9e7; }
}

@keyframes mobile-sheet-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .editorial-home .filter-sheet[open] { animation: none; }
  .editorial-home .details-toggle { transition: none; }
}
