body[data-page="recorrido"] .main{grid-template-columns:minmax(0,1fr)}body[data-page="recorrido"] .topbar{box-sizing:border-box;min-width:0}body[data-page="recorrido"] .top-actions{min-width:0;width:auto;flex-wrap:wrap}.journey-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}.journey-filters label{display:grid;gap:8px;color:#e3edfa}.journey-filters input,.journey-filters select{min-height:48px;background:#0b1523;color:#f3f7ff;border:1px solid #526179;border-radius:9px;padding:12px;font:inherit;min-width:0}.journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.journey-card{border:1px solid #344257;border-radius:14px;overflow:hidden;background:#152236;display:flex;flex-direction:column}.journey-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.journey-card>div{padding:18px;display:flex;flex-direction:column;flex:1}.journey-card h3{font-size:1.04rem;line-height:1.5;margin:10px 0 16px}.journey-card small{color:#bdcbe0}.journey-card a{margin-top:auto}.journey-count{color:#9aebf0}.journey-feature{border-left:3px solid #e688d6;background:linear-gradient(115deg,#192638,#241b31)}.journey-navigation{display:flex;gap:8px;flex-wrap:wrap}.journey-navigation a{font-size:.85rem}.journey-empty{padding:28px;border:1px dashed #50617a;border-radius:12px}.journey-pagination{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:24px}.journey-pagination button{min-height:48px;padding:12px 18px;background:#1c2c40;border:1px solid #64748b;border-radius:9px;color:#fff}.journey-pagination button:disabled{opacity:.5}.journey-muted{font-size:.85rem;color:#b9c7da}.journey-choice{padding:14px;border-left:3px solid #77e5ec;background:#182a37}@media(max-width:1080px){.journey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.journey-grid,.journey-filters{grid-template-columns:1fr}.journey-navigation{display:grid;grid-template-columns:1fr 1fr}}

/* Recorrido entry and video geometry. All introductory data remains in flow.
 * Video cards have a dedicated selector; vertical book covers are untouched.
 */
@media screen {
  body.am-community-theme[data-page="recorrido"] .journey-card > img {
    display: block;
    inline-size: 100%;
    block-size: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: var(--bg, #07111f);
  }
  body.am-community-theme[data-page="recorrido"] .journey-entry-primary {
    box-sizing: border-box;
    min-block-size: 48px;
    min-inline-size: 44px;
    max-inline-size: 100%;
    margin-block: 8px 12px;
    padding: 10px 16px;
    background: var(--cyan, #67e8f9);
    color: var(--bg, #07111f);
    border-color: var(--cyan, #67e8f9);
    font-weight: 700;
    line-height: 1.5;
    white-space: normal;
  }
  body.am-community-theme[data-page="recorrido"] .journey-entry-primary:focus-visible {
    outline: 3px solid var(--text, #edf4fa);
    outline-offset: 4px;
  }
  body.am-community-theme[data-page="recorrido"] #journey-catalog-title {
    scroll-margin-block-start: 20px;
  }
  body.am-community-theme[data-page="recorrido"] #journey-catalog-title:focus {
    outline: 3px solid var(--cyan, #67e8f9);
    outline-offset: 4px;
  }
}
@media screen and (max-width: 720px) {
  body.am-community-theme[data-page="recorrido"] #page-content.content {
    padding-block-start: 12px;
  }
  body.am-community-theme[data-page="recorrido"] .study-hero {
    padding-block: 0 12px;
  }
  body.am-community-theme[data-page="recorrido"] .study-hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-block: 8px;
  }
  body.am-community-theme[data-page="recorrido"] .study-hero > p {
    margin-block: 8px;
    font-size: 1rem;
    line-height: 1.5;
  }
  body.am-community-theme[data-page="recorrido"] .study-hero > .study-kicker {
    font-size: .875rem !important;
    letter-spacing: .02em;
    line-height: 1.45;
  }
  body.am-community-theme[data-page="recorrido"] .study-hero > .journey-entry-context {
    line-height: 1.45;
  }
  body.am-community-theme[data-page="recorrido"] .journey-entry-purpose {
    color: var(--body, #bcc9dc);
  }
}
@media screen and (forced-colors: active) {
  body.am-community-theme[data-page="recorrido"] .journey-entry-primary {
    background: Highlight;
    border-color: Highlight;
    color: HighlightText;
  }
}

/* Catalogue first in source order. Scoped to Recorrido; same shared theme. */
body.am-community-theme[data-page="recorrido"] .journey-catalog-hero {padding-block:0}
body.am-community-theme[data-page="recorrido"] .journey-catalog-hero h1 {margin-block:4px 8px;font-size:clamp(1.6rem,3vw,2.1rem);line-height:1.2}
body.am-community-theme[data-page="recorrido"] .journey-catalog-hero p {margin-block:0}
body.am-community-theme[data-page="recorrido"] .journey-saved-link {min-block-size:44px;display:inline-flex;align-items:center;margin:0;padding:0 6px;background:transparent;border-color:transparent;vertical-align:middle}
body.am-community-theme[data-page="recorrido"] .journey-catalog {margin-block:0 24px;padding:16px}
body.am-community-theme[data-page="recorrido"] .journey-catalog h2 {font-size:1.15rem;margin-block:0 12px;line-height:1.4}
body.am-community-theme[data-page="recorrido"] .journey-filters {gap:10px}
body.am-community-theme[data-page="recorrido"] .journey-filters label {min-inline-size:0;gap:4px;font-size:.875rem}
body.am-community-theme[data-page="recorrido"] .journey-filters input,
body.am-community-theme[data-page="recorrido"] .journey-filters select {inline-size:100%;box-sizing:border-box;padding:8px;min-block-size:44px;font-size:1rem}
body.am-community-theme[data-page="recorrido"] #journey-count {margin-block:10px;font-size:.875rem}
body.am-community-theme[data-page="recorrido"] #journey-reason[hidden] {display:none}
body.am-community-theme[data-page="recorrido"] .journey-guide summary {cursor:pointer;min-block-size:44px;align-content:center;font-weight:700}
body.am-community-theme[data-page="recorrido"] #journey-saved {margin-block:24px;scroll-margin-block-start:16px}
body.am-community-theme[data-page="recorrido"] #journey-saved h2 {font-size:1.25rem}
body.am-community-theme[data-page="recorrido"] :is(.journey-saved-link,.journey-guide summary,.journey-filters input,.journey-filters select,.journey-card a):focus-visible {outline:3px solid var(--cyan,#67e8f9);outline-offset:3px}
body.am-community-theme[data-page="recorrido"] #journey-saved-title:focus {outline:3px solid var(--cyan,#67e8f9);outline-offset:3px}
@media screen and (max-width:680px) {
 body.am-community-theme[data-page="recorrido"] .journey-filters {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body.am-community-theme[data-page="recorrido"] .journey-search-label {grid-column:1/-1}
 body.am-community-theme[data-page="recorrido"] .journey-catalog {padding:12px}
 body.am-community-theme[data-page="recorrido"] .journey-card {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:start}
 body.am-community-theme[data-page="recorrido"] .journey-card > div {min-inline-size:0;padding:10px;align-self:stretch}
 body.am-community-theme[data-page="recorrido"] .journey-card > img {margin-block-start:10px}
 body.am-community-theme[data-page="recorrido"] .journey-card h3 {margin-block:6px 10px;line-height:1.35;font-size:1rem;overflow-wrap:anywhere}
 body.am-community-theme[data-page="recorrido"] .journey-card .journey-muted {margin-block:0 8px}
 body.am-community-theme[data-page="recorrido"] .journey-card .study-link {box-sizing:border-box;min-block-size:44px;padding:8px;line-height:1.4;white-space:normal}
}

/* Practice results only: reserve text width without truncating titles or shrinking type. */
@media screen and (max-width:680px){body.am-community-theme[data-page="recorrido"] .journey-card.journey-practice-card{grid-template-columns:minmax(0,1.6fr) minmax(0,3.4fr)}}
