/* Approved Methodology-derived layout; all page rules stay Guides-scoped. */
.guides-page { width: 100%; min-width: 0; }
.guides-page .guides-page-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.guides-page .meth-tabs-wrap { display: flex; justify-content: center; padding: 0 0 32px; }
.guides-page .meth-content { padding-bottom: 64px; }
.guides-page .meth-wrap { max-width: 100%; margin: 0; padding: 0; }
.guides-page .guides-search-row { display: flex; align-items: center; gap: 8px; max-width: 600px; margin: 16px auto 8px; }
.guides-page .meth-matrix-search { flex: 1; min-width: 0; margin: 0; }
.guides-page .meth-matrix-search-pill { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: 68px; padding: 0 var(--space-4-5) 0 var(--space-6); border: .5px solid #ccc; border-radius: var(--radius-full); background: var(--white, #fff); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.guides-page .meth-matrix-search-pill:focus-within { border-color: var(--navy); box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.guides-page .mw-search-icon { display: flex; align-items: center; color: var(--gray-mid); flex-shrink: 0; padding-inline-end: var(--space-1); }
.guides-page .mw-search-icon svg { width: 19px; height: 19px; }
.guides-page .meth-matrix-search-input { flex: 1 1 auto; border: 0; outline: 0; background: transparent; font-size: calc(var(--text-base) * 1.2); font-weight: 400; color: var(--navy); -webkit-text-fill-color: var(--navy); padding: 0; min-width: 0; }
.guides-page .meth-matrix-search-input::placeholder { color: #ccc; font-size: 16px; font-weight: 400; }
.guides-page .meth-matrix-search-input::-webkit-search-cancel-button,
.guides-page .meth-matrix-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.guides-page .meth-matrix-search-clear { display: none; flex-shrink: 0; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--gray-mid); cursor: pointer; }
.guides-page .meth-matrix-search-clear.is-visible { display: flex; }
.guides-page .guides-mobile-categories { display: none; position: relative; flex: none; }
.guides-page .guides-category-menu-trigger { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; }
.guides-page .guides-category-menu-trigger:hover,
.guides-page .guides-category-menu-trigger[aria-expanded="true"] { background: #f2f3f4; }
.guides-page .guides-category-menu { position: absolute; z-index: 10; top: calc(100% + 8px); inset-inline-end: 0; width: 220px; max-width: calc(100vw - 48px); padding: 6px; border: 1px solid var(--rule, #e3e4e8); border-radius: 8px; background: var(--white, #fff); box-shadow: 0 5px 18px rgba(15,25,42,.14); }
.guides-page .guides-category-menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 4px; background: transparent; color: var(--navy); font: inherit; font-size: 14px; text-align: start; cursor: pointer; }
.guides-page .guides-category-menu button:hover,
.guides-page .guides-category-menu button:focus-visible { background: #f2f3f4; }
.guides-page .guides-category-menu button[aria-checked="true"] { font-weight: 600; }
.guides-page .guides-category-menu button[aria-checked="true"]::after { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.guides-page .guides-playlist-bar { max-width: 1120px; margin: 0 auto 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.guides-page .guides-playlist-bar a,
.guides-page .guides-player-actions a { color: var(--navy); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.guides-page .guides-result-count { color: var(--ink-2); font-size: 13px; }
.guides-page .guides-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 26px 18px; }
.guides-page .guides-card { min-width: 0; }
.guides-page .guides-card-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: start; text-decoration: none; cursor: pointer; }
.guides-page .guides-card-button:focus-visible,
.guides-page .guides-player-actions button:focus-visible,
.guides-page .guides-empty button:focus-visible,
.guides-page .guides-category-menu-trigger:focus-visible,
.guides-page .guides-category-menu button:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.guides-page .guides-thumbnail { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #f1f2f3; border: 1px solid var(--rule, #e3e4e8); border-radius: 7px; }
.guides-page .guides-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.guides-page .guides-thumbnail-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; transform: translate(-50%,-50%); border: 1px solid rgba(26,40,64,.2); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); transition: transform .16s ease, background .16s ease; }
.guides-page .guides-card-button:hover .guides-thumbnail-play { transform: translate(-50%,-50%) scale(1.06); background: #fff; }
/* Keep thumbnail titles unobstructed on desktop; touch keeps the play cue. */
@media (hover: hover) and (pointer: fine) {
  .guides-page .guides-thumbnail-play { opacity: 0; pointer-events: none; }
  .guides-page .guides-card-button:hover .guides-thumbnail-play,
  .guides-page .guides-card-button:focus-visible .guides-thumbnail-play { opacity: 1; }
}
.guides-page .guides-duration { position: absolute; right: 9px; bottom: 8px; padding: 3px 7px; border-radius: 3px; background: rgba(15,25,42,.85); color: #fff; font-size: 10px; line-height: 1.35; }
.guides-page .guides-card-copy { display: grid; gap: 6px; padding-top: 12px; }
.guides-page .guides-category { color: var(--ink-2); font-size: 11px; font-weight: 600; letter-spacing: .045em; line-height: 1.35; text-transform: uppercase; }
.guides-page .guides-card-copy strong { color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.35; }
.guides-page .guides-empty { max-width: 720px; margin: 24px auto 8px; padding: 24px; border: 1px solid var(--rule, #e3e4e8); border-radius: 7px; color: var(--ink-2); display: grid; gap: 8px; font-size: 14px; }
.guides-page .guides-empty strong { color: var(--navy); font-size: 16px; }
.guides-page .guides-empty button { justify-self: start; margin-top: 8px; padding: 9px 14px; border: 1px solid var(--rule, #d8dbe0); border-radius: 5px; background: var(--white, #fff); color: var(--navy); font: inherit; cursor: pointer; }
.guides-page .guides-inline-player { max-width: 1120px; margin: 24px auto 32px; scroll-margin-top: 80px; }
.guides-page .guides-video-stage { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 7px; background: var(--navy); }
.guides-page .guides-video-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.guides-page .guides-player-details { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 24px; padding-top: 14px; }
.guides-page .guides-player-details h2 { margin: 0; min-width: 0; color: var(--navy); font-size: 20px; font-weight: 600; line-height: 1.4; }
.guides-page .guides-player-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.guides-page .guides-player-actions button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; }
.guides-page .guides-player-actions button:hover { background: #f2f3f4; }
.guides-page .guides-player-notice { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.guides-page .guides-card.is-playing .guides-thumbnail { outline: 2px solid var(--navy); outline-offset: 2px; }
.guides-page [hidden] { display: none; }
@media (max-width:1100px) { .guides-page .guides-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width:900px) { .guides-page .guides-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width:767px) {
  .guides-page.page-section-hero { padding-top: var(--page-hero-pad-top-mobile) !important; padding-inline: 24px !important; padding-bottom: 24px !important; }
  .guides-page > .meth-tabs-wrap { display: none; }
  .guides-page .guides-mobile-categories { display: block; }
  .guides-page .meth-matrix-search-pill { height: 46px; padding: 0 14px; }
  .guides-page .meth-matrix-search-input,
  .guides-page .meth-matrix-search-input::placeholder { font-size: 14px; }
}
@media (max-width:650px) { .guides-page .guides-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:480px) { .guides-page .guides-grid { grid-template-columns: 1fr; } }
@media (max-width:600px) {
  .guides-page .guides-result-count { margin-bottom: 10px; }
  .guides-page .guides-card-copy { gap: 5px; }
  .guides-page .guides-card-copy strong { font-size: 15px; }
  .guides-page .guides-player-details { flex-wrap: wrap; gap: 8px; }
  .guides-page .guides-player-details h2 { width: 100%; font-size: 17px; }
  .guides-page .guides-player-actions { width: 100%; justify-content: space-between; }
}
