/* AXS TV Channel Finder — widget styles. Neutral, theme-friendly, self-contained. */
.axstv-cf {
    max-width: 640px;
    margin: 1.5rem auto;
    font-family: inherit;
}
.axstv-cf__heading {
    font-size: 1.4rem;
    margin: 0 0 .75rem;
}
.axstv-cf__form {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.axstv-cf__input {
    flex: 1 1 12rem;
    padding: .6rem .75rem;
    font-size: 1.1rem;
    border: 2px solid #ccc;
    border-radius: 6px;
}
.axstv-cf__input:focus {
    outline: none;
    border-color: #d81f26; /* AXS red */
}
.axstv-cf__submit {
    padding: .6rem 1.1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #d81f26;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}
.axstv-cf__submit:hover { background: #b5171d; }
.axstv-cf__status {
    margin: .75rem 0;
    min-height: 1.2em;
    color: #555;
}
.axstv-cf__city { font-weight: 600; margin: .5rem 0 1rem; }
.axstv-cf__city-link { color: #d81f26; }
.axstv-cf__fallback {
    background: #fff6e5;
    border-left: 4px solid #e0a800;
    padding: .75rem 1rem;
    border-radius: 4px;
}
.axstv-cf__network { margin: 0 0 1.25rem; }
.axstv-cf__network-name {
    font-size: 1.1rem;
    margin: 0 0 .4rem;
    padding-bottom: .25rem;
    border-bottom: 2px solid #eee;
}
.axstv-cf__list { list-style: none; margin: 0; padding: 0; }
.axstv-cf__item {
    display: flex;
    justify-content: space-between;
    padding: .4rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.axstv-cf__provider { color: #222; }
.axstv-cf__channel { font-weight: 700; color: #000; white-space: nowrap; }

/* Accessible-but-hidden heading (own class, not theme-dependent) */
.axstv-cf-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* On single city pages, the banner is the header: hide the theme's post-title
   bar so the banner sits at the top (matching /watch). The <h1> lives on as
   screen-reader text for SEO. */
.single-axs_cf_location .fl-post-header,
.single-axs_cf_location .fl-post-title { display: none; }

/* City page content matches the archive: centered 820px column, same padding.
   The banner stays full-bleed (it's outside this inner). */
.axstv-cf-location__inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 1rem 4rem;
}

/* City page: visible keyword H1 */
.axstv-cf-location__h1 {
    font-size: 1.95rem;
    line-height: 1.2;
    margin: 1.25rem 0 .5rem;
}

/* FAQ block (visible, mirrors the FAQPage schema) */
.axstv-cf-faq { margin: 2.25rem 0 1rem; }
.axstv-cf-faq > h2 { font-size: 1.4rem; margin: 0 0 .75rem; }
.axstv-cf-faq__q { font-size: 1.08rem; margin: 1.1rem 0 .3rem; }
.axstv-cf-faq__a { margin: 0 0 .5rem; }

/* Match the main where-to-watch page: white content background with dark text.
   The theme makes .fl-page-content white on the archive but black on single
   posts — force it white here so city pages match. The theme's own text color
   is already #333, and the default finder colors above work on white, so no
   light-text overrides are needed. */
.single-axs_cf_location .fl-page-content { background-color: #fff; }
/* Remove the theme's 20px top margin on single-post content so the banner sits
   flush under the header, exactly like the archive (no gap). */
.single-axs_cf_location .fl-content { margin-top: 0; }
.single-axs_cf_location .axstv-cf-location__h1 { color: #111; }
.single-axs_cf_location .axstv-cf-location__nearby a { color: #d81f26; }

/* "Where to Watch" banner header (mirrors /watch), full-bleed within any column */
.axstv-cf-wtw {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: #000;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    line-height: 0;
}
.axstv-cf-wtw__title {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    max-width: 1285px;
    height: auto;
}
.axstv-cf-wtw__title--mobile { display: none; }
@media (max-width: 600px) {
    .axstv-cf-wtw__title--desktop { display: none; }
    .axstv-cf-wtw__title--mobile { display: inline-block; max-width: 300px; }
}

/* Finder landing / archive page */
.axstv-cf-archive__inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 1rem 4rem;
}
.axstv-cf-archive__title { margin: 0 0 .5rem; text-align: center; font-size: 1.95rem; line-height: 1.2; color: #111; }
.axstv-cf-archive__lead { color: #555; margin: 0 auto 1.5rem; font-size: 1.05rem; text-align: center; max-width: 42rem; }
.axstv-cf-archive__city { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #eee; }
.axstv-cf-archive__city h2 { text-align: center; }

/* City autocomplete */
.axstv-cf-city__wrap { position: relative; }
.axstv-cf-city__input { width: 100%; box-sizing: border-box; }
.axstv-cf-city__list {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    max-height: 18rem;
    overflow-y: auto;
}
.axstv-cf-city__opt {
    padding: .55rem .75rem;
    cursor: pointer;
    color: #222;
}
.axstv-cf-city__opt.is-active,
.axstv-cf-city__opt:hover { background: #f3f3f3; }
