/* TATUARTE R20 — exclusivamente /estudios, directorio Livewire móvil.
   Ninguna vista, filtro, consulta, paginación o dato cambia.
   Evita dependencias de diseños de /buscar y del Hero.
*/
@media (max-width: 820px) {
  body.r19-body .listing-hero {
    width: 100%; max-width: 100%; min-width: 0;
    padding: 36px 18px 30px;
    box-sizing: border-box; overflow: hidden;
  }
  body.r19-body .listing-hero .eyebrow {
    font-size: 11px; font-weight: 700; line-height: 1.45;
    letter-spacing: .13em;
  }
  body.r19-body .listing-hero h1 {
    max-width: 100%; margin: 12px 0 15px;
    font-size: clamp(38px, 8.1vw, 62px) !important;
    line-height: 1.03 !important; letter-spacing: -.055em;
    overflow-wrap: normal;
  }
  body.r19-body .listing-hero > p:last-child {
    max-width: 58ch; margin: 0;
    font-size: 15px; line-height: 1.52;
  }
  body.r19-body .directory-shell.tat-r5-studios {
    display: grid; grid-template-columns: minmax(0, 1fr);
    width: 100%; min-width: 0; max-width: 100%;
    gap: 23px; padding: 22px 16px 74px;
    box-sizing: border-box;
  }
  body.r19-body .directory-shell.tat-r5-studios .filter-panel {
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 12px; position: static !important;
    width: 100%; min-width: 0; max-width: 100%;
    padding: 20px; margin: 0; box-sizing: border-box;
    border: 1px solid #343540; border-radius: 16px;
    background: #11131b; color: #f7f7fa;
    box-shadow: 0 6px 22px rgba(8, 9, 14, .10);
  }
  body.r19-body .directory-shell.tat-r5-studios .filter-panel > div { min-width: 0; }
  body.r19-body .directory-shell.tat-r5-studios .r17-filter-head {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    gap: 10px; align-items: center;
    min-width: 0; margin: 0 0 4px; padding: 0 0 17px;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-filter-head span {
    font-size: 10px; color: #b8b2c0; letter-spacing: .13em;
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-filter-head strong {
    display: block; margin-top: 5px;
    font-family: inherit; font-size: clamp(22px, 5vw, 27px);
    font-weight: 750; line-height: 1.14; letter-spacing: -.035em;
    color: #fff;
  }
  body.r19-body .directory-shell.tat-r5-studios .filter-panel button.text-button {
    display: inline-flex; justify-content: center; align-items: center;
    min-height: 44px; padding: 9px 11px;
    font-size: 13px; font-weight: 650; line-height: 1.2;
    color: #ffd7e9; background: transparent;
    border: 1px solid rgba(255,179,216,.38); border-radius: 9px;
    cursor: pointer;
  }
  body.r19-body .directory-shell.tat-r5-studios .filter-panel label:not(.check-row) {
    display: block; font-size: 13px; line-height: 1.4;
    font-weight: 650; color: #e2e2e8; margin: 0 0 7px;
  }
  body.r19-body .directory-shell.tat-r5-studios .filter-panel input[type=search],
  body.r19-body .directory-shell.tat-r5-studios .filter-panel select {
    display: block; width: 100%; max-width: 100%; min-width: 0;
    min-height: 52px; padding: 12px 13px; box-sizing: border-box;
    border-radius: 9px; border: 1px solid #666874;
    background: #fcfcfe; color: #15161c;
    font: 500 16px/1.3 system-ui, sans-serif;
    box-shadow: none;
  }
  body.r19-body .directory-shell.tat-r5-studios .filter-panel input[type=search]::placeholder {
    color: #656875; opacity: 1;
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-checks {
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 0; padding: 5px 10px; margin-top: 3px;
    border: 1px solid rgba(255,255,255,.16); border-radius: 10px;
    background: rgba(255,255,255,.045);
  }
  body.r19-body .directory-shell.tat-r5-studios .check-row {
    display: flex; align-items: center; gap: 12px;
    min-height: 48px; width: 100%; margin: 0; padding: 8px 4px;
    box-sizing: border-box; font-size: 14px; line-height: 1.35;
    color: #f2f2f5; cursor: pointer;
  }
  body.r19-body .directory-shell.tat-r5-studios .check-row + .check-row {
    border-top: 1px solid rgba(255,255,255,.09);
  }
  body.r19-body .directory-shell.tat-r5-studios .check-row input[type=checkbox] {
    width: 20px; height: 20px; min-width: 20px;
    accent-color: #db1b7c; margin: 0;
  }
  body.r19-body .directory-shell.tat-r5-studios .directory-results {
    width: 100%; max-width: 100%; min-width: 0; margin: 0;
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-results-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 16px; min-width: 0;
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-results-head > div {
    min-width: 0; flex-wrap: wrap; gap: 5px;
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-results-head small {
    font-size: 13px; line-height: 1.6; color: #545966;
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-results-head a {
    color: #9c175d; text-decoration: underline; text-underline-offset: 3px;
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-loading {
    font-size: 12px; line-height: 1.3; color: #585d69;
  }
  body.r19-body .directory-shell.tat-r5-studios .r34r12-result-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
    width: 100%; min-width: 0; gap: 15px;
  }
  body.r19-body .directory-shell.tat-r5-studios .r34r12-studio-card {
    min-width: 0; border: 1px solid #d8d9df;
    border-radius: 14px; background: #fff;
    overflow: hidden; box-shadow: 0 3px 16px rgba(11,13,20,.055);
    text-decoration: none; transform: none;
  }
  body.r19-body .directory-shell.tat-r5-studios .r34r12-studio-card .media-frame {
    width: 100%; max-height: none; overflow: hidden;
  }
  body.r19-body .directory-shell.tat-r5-studios .r34r12-studio-card .media-frame img {
    width: 100%; height: 100%; max-width: 100%; object-fit: cover;
  }
  body.r19-body .directory-shell.tat-r5-studios .r34r12-studio-card .card-body {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 8px; min-width: 0; padding: 18px;
    overflow-wrap: anywhere;
  }
  body.r19-body .directory-shell.tat-r5-studios .r34r12-studio-card .card-body h2 {
    margin: 0; font-size: clamp(20px, 4.8vw, 25px) !important;
    line-height: 1.2; letter-spacing: -.035em;
    font-weight: 730;
  }
  body.r19-body .directory-shell.tat-r5-studios .r34r12-studio-card .card-body p,
  body.r19-body .directory-shell.tat-r5-studios .r34r12-studio-card .card-body small {
    margin: 0; font-size: 13px; line-height: 1.5;
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-mini-flags {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-mini-flags span {
    padding: 5px 7px; font-size: 11px; font-weight: 600;
    line-height: 1.3; letter-spacing: .005em;
    text-transform: none; border: 1px solid #d5d4dc;
    border-radius: 6px; color: #414450;
  }
  body.r19-body .directory-shell.tat-r5-studios .empty-state {
    grid-column: 1 / -1; min-width: 0;
  }
  body.r19-body .directory-shell.tat-r5-studios .empty-state button {
    min-height: 48px; padding: 12px 18px; font-size: 15px;
  }
  body.r19-body .directory-shell.tat-r5-studios .tat-r5-pages {
    margin-top: 25px; max-width: 100%; min-width: 0;
  }
  body.r19-body .directory-shell.tat-r5-studios .tat-r5-pagination {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; gap: 7px; max-width: 100%;
  }
  body.r19-body .directory-shell.tat-r5-studios .tat-r5-page {
    min-height: 44px; min-width: 44px; padding: 10px 11px;
    font-size: 13px; border-radius: 9px;
  }
  body.r19-body .directory-shell.tat-r5-studios .filter-panel input:focus-visible,
  body.r19-body .directory-shell.tat-r5-studios .filter-panel select:focus-visible,
  body.r19-body .directory-shell.tat-r5-studios .filter-panel button:focus-visible,
  body.r19-body .directory-shell.tat-r5-studios a:focus-visible,
  body.r19-body .directory-shell.tat-r5-studios button:focus-visible {
    outline: 3px solid #e679b0; outline-offset: 3px;
  }
}
@media (min-width: 600px) and (max-width: 820px) {
  body.r19-body .directory-shell.tat-r5-studios .filter-panel {
    grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px;
  }
  body.r19-body .directory-shell.tat-r5-studios .r17-filter-head,
  body.r19-body .directory-shell.tat-r5-studios .r17-checks {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  body.r19-body .directory-shell.tat-r5-studios .r34r12-result-grid {
    grid-template-columns: minmax(0,1fr); gap: 13px;
  }
}
@media (max-width: 360px) {
  body.r19-body .listing-hero { padding: 28px 15px 24px; }
  body.r19-body .listing-hero h1 { font-size: 36px !important; }
  body.r19-body .directory-shell.tat-r5-studios { padding: 18px 12px 65px; }
  body.r19-body .directory-shell.tat-r5-studios .filter-panel { padding: 16px; }
  body.r19-body .directory-shell.tat-r5-studios .r17-filter-head strong { font-size: 21px; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  body.r19-body .directory-shell.tat-r5-studios .r34r12-studio-card { transition: none; }
}
