
/* ORBIT-GLOBAL-THEME-26-27B
   Public pages only. No Filament selectors.
*/

:root {
    --orbit-burgundy: #681337;
    --orbit-burgundy-dark: #4b1029;
    --orbit-rose-gold: #d8b49c;
    --orbit-ivory: #FFF7EF;
    --orbit-text: #371326;
    --orbit-muted: #67545d;
    --orbit-border: #e8dcd9;
}

/* Shared public directory typography */
.public-main {
    color: var(--orbit-text);
}

.public-main .eyebrow {
    color: var(--orbit-burgundy);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.public-main h1,
.public-main h2,
.public-main h3 {
    color: var(--orbit-burgundy-dark);
}

/* Search results page */
.search-page {
    background: #fffdfb;
    padding: clamp(1.75rem, 3.5vw, 3rem) 0;
}

.search-page__header {
    margin-bottom: 1.5rem;
}

.search-page__header h1 {
    margin: .35rem 0 .6rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.search-page__header > p:last-child {
    color: var(--orbit-muted);
}

/* Search controls */
.search-page .hero-search {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    margin-bottom: 1.75rem;
    border: 1px solid var(--orbit-border);
    border-radius: 1rem;
    background: var(--orbit-ivory);
}

.search-page .hero-search > input[type="search"],
.search-page .hero-search > input[type="text"] {
    min-height: 46px;
    border: 1px solid var(--orbit-border);
    border-radius: .65rem;
    background: white;
    color: var(--orbit-text);
}

.search-page .hero-search > button[type="submit"] {
    min-height: 46px;
    padding: .65rem 1.3rem;
    border: 0;
    border-radius: .65rem;
    background: var(--orbit-burgundy);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.search-page .hero-search > button[type="submit"]:hover {
    background: var(--orbit-burgundy-dark);
}

.search-page .search-city-label,
.search-page .orbit-search-scope {
    color: var(--orbit-muted);
}

.search-page .orbit-search-scope input[type="checkbox"] {
    accent-color: var(--orbit-burgundy);
}

/* Results and cards */
.search-page .section-heading {
    align-items: center;
}

.search-page .section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 2.7vw, 2.15rem);
    line-height: 1.2;
}

.search-page .business-card {
    border-color: var(--orbit-border);
    border-radius: .85rem;
    background: white;
}

.search-page .business-card p {
    color: var(--orbit-muted);
}

.search-page .business-card a,
.search-page .empty-state a,
.search-page .orbit-search-return-city {
    color: var(--orbit-burgundy);
}

.search-page .empty-state {
    border-color: var(--orbit-border);
    border-radius: .85rem;
    background: var(--orbit-ivory);
}

.search-page .search-pagination a {
    border-color: var(--orbit-border);
    color: var(--orbit-burgundy);
    border-radius: .65rem;
}

.search-page .search-pagination a:hover {
    background: var(--orbit-ivory);
}

/* Keyboard accessibility */
.search-page .hero-search input:focus-visible,
.search-page .hero-search button:focus-visible,
.search-page .hero-search a:focus-visible,
.search-page .orbit-search-scope input:focus-visible,
.search-page .business-card a:focus-visible,
.search-page .search-pagination a:focus-visible {
    outline: 3px solid var(--orbit-burgundy) !important;
    outline-offset: 3px;
}

/* Other public directory pages */
.public-main .orbit-directory-detail.page-shell {
    color: var(--orbit-text);
}

.public-main .orbit-directory-detail a {
    text-underline-offset: .2em;
}

/* Responsive search layout */
@media (max-width: 900px) {
    .search-page .hero-search {
        flex-wrap: wrap;
    }

    .search-page .hero-search > input[type="search"],
    .search-page .hero-search > input[type="text"] {
        flex: 1 1 220px;
    }
}

@media (max-width: 600px) {
    .search-page .hero-search {
        padding: .85rem;
        gap: .65rem;
    }

    .search-page .hero-search > input[type="search"],
    .search-page .hero-search > input[type="text"],
    .search-page .hero-search > button[type="submit"] {
        flex: none;
        width: 100%;
        box-sizing: border-box;
    }

    .search-page .search-city-label,
    .search-page .orbit-search-scope {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .search-page *,
    .search-page *::before,
    .search-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* DISCOVER-BUSINESSES-BRAND-REFINEMENT-2026 */

:root {
    --orbit-brand-primary: #0B0648;
    --orbit-brand-secondary: #29217A;
    --orbit-brand-accent: #FF7900;
    --orbit-brand-accent-hover: #E66D00;
    --orbit-brand-soft: #FFF3E6;
    --orbit-brand-surface: #FFFFFF;
    --orbit-brand-page: #F8FAFC;
    --orbit-brand-border: #E5E7EB;
}

/* Preserve readable primary actions */
.orbit-result-card .orbit-result-card__action,
.orbit-result-card .orbit-result-card__action:link,
.orbit-result-card .orbit-result-card__action:visited {
    background: #FF7900;
    border-color: #FF7900;
    color: #0B0648;
    font-weight: 750;
    text-decoration: none;
}

.orbit-result-card .orbit-result-card__action:hover {
    background: #E66D00;
    border-color: #E66D00;
    color: #0B0648;
}

/* Secondary claim action remains distinct */
.orbit-result-card .orbit-result-card__claim,
.orbit-result-card .orbit-result-card__claim:link,
.orbit-result-card .orbit-result-card__claim:visited {
    background: #FFF3E6;
    color: #0B0648;
    border-color: #FF7900;
    text-decoration: none;
}

.orbit-result-card .orbit-result-card__claim:hover {
    background: #FF7900;
    color: #0B0648;
}

/* Directory result identities */
.orbit-search-directory-main .orbit-result-card h3,
.orbit-search-directory-main .orbit-result-card h3 a {
    color: #0B0648;
}

.orbit-result-card__media {
    background: linear-gradient(145deg, #FFFFFF, #FFF3E6);
    border-color: #FFE1BE;
}

.orbit-result-card__monogram {
    color: #0B0648;
}

/* Manage listing sidebar */
.orbit-search-claim-panel h2,
.orbit-search-help-panel h2 {
    color: #0B0648;
}

.orbit-search-claim-panel h2 span {
    text-decoration-color: #FF7900;
}

.orbit-search-claim-panel__button,
.orbit-search-claim-panel__button:link,
.orbit-search-claim-panel__button:visited {
    background: #FF7900;
    color: #0B0648;
}

.orbit-search-claim-panel__button:hover {
    background: #E66D00;
    color: #0B0648;
}

.orbit-search-claim-panel__pending {
    background: #FFF3E6;
    border-color: #FFE1BE;
}

/* Focus accessibility */
.orbit-result-card a:focus-visible,
.orbit-search-claim-panel a:focus-visible {
    outline: 3px solid #FF7900;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .orbit-result-card,
    .orbit-search-claim-panel__button {
        transition: none;
    }
}

/* DISCOVER-HERO-NO-BACKGROUND-2026 */
.orbit-hero-background-removed {
    background: #FFF9F4 !important;
    background-image: none !important;
    color: #0B0648 !important;
}

.orbit-hero-background-removed::before,
.orbit-hero-background-removed::after {
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.orbit-hero-background-removed h1,
.orbit-hero-background-removed h2,
.orbit-hero-background-removed .lead {
    color: #0B0648 !important;
    text-shadow: none !important;
}

.orbit-hero-background-removed > div {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .orbit-hero-background-removed {
        background: #FFF9F4 !important;
        background-image: none !important;
    }
}


/* DISCOVER-HOMEPAGE-FINAL-CORRECTION-2026 */

/* Keep the hero plain, readable and image-free */
.orbit-hero-background-removed {
    background: #FFF9F4 !important;
    background-image: none !important;
}
.orbit-hero-background-removed::before,
.orbit-hero-background-removed::after {
    background-image: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.orbit-hero-background-removed h1 {
    color: #0B0648 !important;
    text-shadow: none !important;
}
.orbit-hero-background-removed p {
    color: #30334C !important;
    text-shadow: none !important;
}

/* Navy headings, orange category icons */
.discover-home-categories h2 {
    color: #0B0648 !important;
}
.discover-home-categories a svg,
.discover-home-categories a i {
    color: #FF7900 !important;
    stroke: currentColor;
}
.discover-home-categories
:is(.category-icon,
    .category-card__icon,
    .icon-circle,
    [class*="category-icon"]) {
    color: #FF7900 !important;
    background: #FFF3E6 !important;
    border-color: #FFE1BE !important;
}
.discover-home-categories a:hover {
    border-color: #FF7900;
}
.discover-home-categories a:focus-visible {
    outline: 3px solid #FF7900;
    outline-offset: 3px;
}

/* Business-owner promotional section */
.discover-home-owners {
    background-color: #FFF3E6 !important;
    background-image: none !important;
}
.discover-home-owners::before,
.discover-home-owners::after {
    background-image: none !important;
}
.discover-home-owners h2,
.discover-home-owners h3 {
    color: #0B0648 !important;
}
.discover-home-owners p {
    color: #30334C !important;
}
.discover-home-owners .eyebrow {
    color: #B95200 !important;
}
.discover-home-owners img[alt=""],
.discover-home-owners [aria-hidden="true"] img {
    display: none !important;
}

@media (max-width: 767px) {
    .orbit-hero-background-removed {
        background-color: #FFF9F4 !important;
    }
    .discover-home-owners {
        background-color: #FFF3E6 !important;
    }
}


/* DISCOVER-WHITE-BLUE-CATEGORY-TAGS-2026 */

.discover-home-categories {
    background-color: #F8FAFC;
}

/* Category cards only; other homepage links are unaffected */
.discover-home-categories a[href] {
    background: #FFFFFF !important;
    background-image: none !important;
    border: 1px solid #C9DDF2 !important;
    border-radius: 12px;
    color: #0B0648 !important;
    box-shadow: 0 2px 7px rgba(11, 6, 72, .035);
    text-decoration: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

/* Orange icons without the previous colored circles */
.discover-home-categories a[href] svg,
.discover-home-categories a[href] i {
    color: #FF7900 !important;
}

.discover-home-categories a[href] svg {
    stroke: currentColor;
}

.discover-home-categories :is(
    .category-icon,
    .category-card__icon,
    .category-icon-wrap,
    .icon-circle,
    [class*="category-icon"]
) {
    background: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #FF7900 !important;
}

.discover-home-categories a[href]:hover {
    border-color: #FF7900 !important;
    box-shadow: 0 4px 12px rgba(11, 6, 72, .08);
}

.discover-home-categories a[href]:focus-visible {
    outline: 3px solid #FF7900;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .discover-home-categories a[href] {
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .discover-home-categories a[href] {
        transition: none;
    }
}


/* DISCOVER-CATEGORY-EXACT-SELECTORS-2026 */

/* Entire homepage category section */
#categories.discover-home-categories {
    background: #FFFFFF !important;
    background-image: none !important;
}

/* Actual category article elements */
#categories .card-grid > article.discovery-card {
    background: #FFFFFF !important;
    background-image: none !important;
    border: 1px solid #C9DDF2 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 7px rgba(11, 6, 72, .035) !important;
    color: #0B0648 !important;
}

/* Actual icon-circle element */
#categories .card-grid > article.discovery-card
    > span.of-category-icon {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #FF7900 !important;
}

/* Actual SVG inside icon element */
#categories .card-grid > article.discovery-card
    > span.of-category-icon svg {
    color: #FF7900 !important;
    stroke: #FF7900 !important;
    background: transparent !important;
}

/* Category headings and links */
#categories .card-grid > article.discovery-card h3,
#categories .card-grid > article.discovery-card h3 a {
    color: #0B0648 !important;
}

#categories .card-grid > article.discovery-card h3 a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none;
}

/* Interactive state only; don't change existing sizing */
#categories .card-grid > article.discovery-card:hover,
#categories .card-grid > article.discovery-card:focus-within {
    border-color: #FF7900 !important;
    box-shadow: 0 4px 12px rgba(11, 6, 72, .08) !important;
}

/* Retain accessible keyboard focus */
#categories .card-grid > article.discovery-card a:focus-visible {
    outline: 3px solid #FF7900 !important;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    #categories .card-grid > article.discovery-card {
        transition: none !important;
    }
}

/* DISCOVER-HOME-SEARCH-WHITE-SURFACE-2026:START */
.orbit-hero-background-removed form,
.orbit-hero-background-removed .discover-home-search-card,
.orbit-hero-background-removed .hero-search-card,
.orbit-hero-background-removed .search-card,
.orbit-hero-background-removed .search-panel,
.orbit-hero-background-removed .search-shell,
.orbit-hero-background-removed .search-form-shell,
.orbit-hero-background-removed .search-box,
.orbit-hero-background-removed fieldset {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
}

.orbit-hero-background-removed form {
    border: 1px solid #F3C59A !important;
    box-shadow: 0 16px 40px rgba(11, 6, 72, 0.08) !important;
}

.orbit-hero-background-removed form :is(
    input[type="text"],
    input[type="search"],
    input:not([type]),
    select,
    textarea
) {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    box-shadow: none !important;
}

.orbit-hero-background-removed form :is(
    .field,
    .field-wrap,
    .input-wrap,
    .search-field,
    .search-input,
    .search-location,
    .search-all-locations,
    .form-control,
    .form-group,
    .control,
    .control-wrap,
    .search-grid,
    .search-row,
    .search-col
) {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
}

.orbit-hero-background-removed form label,
.orbit-hero-background-removed form small,
.orbit-hero-background-removed form p,
.orbit-hero-background-removed form span {
    background: transparent !important;
}

.orbit-hero-background-removed form input::placeholder,
.orbit-hero-background-removed form textarea::placeholder {
    color: #6E6878 !important;
    opacity: 1 !important;
}
/* DISCOVER-HOME-SEARCH-WHITE-SURFACE-2026:END */


/* DISCOVER-NAVY-TEXT-FINISH-2026 */

/* Homepage search field captions and input text */
.orbit-hero-background-removed form label,
.orbit-hero-background-removed form legend {
    color: #0B0648 !important;
}

.orbit-hero-background-removed form input:not([type="checkbox"]),
.orbit-hero-background-removed form select {
    color: #0B0648 !important;
}

/* Owner-section eyebrow and supporting text */
#business-owners.discover-home-owners .eyebrow {
    color: #0B0648 !important;
}

#business-owners.discover-home-owners p {
    color: #30334C !important;
}

/* Header business CTA: consistent navy/orange styling */
.discover-business-cta,
.discover-business-cta:link,
.discover-business-cta:visited {
    color: #0B0648 !important;
    border-color: #C9DDF2 !important;
}

.discover-business-cta:hover,
.discover-business-cta:focus-visible {
    color: #0B0648 !important;
    border-color: #FF7900 !important;
}

.discover-business-cta:focus-visible {
    outline: 3px solid #FF7900;
    outline-offset: 3px;
}


/* DISCOVER-NAV-CTA-EXACT-2026 */

/* Desktop For Business button */
a.nav-cta.discover-business-cta,
a.nav-cta.discover-business-cta:link,
a.nav-cta.discover-business-cta:visited {
    color: #0B0648 !important;
    border-color: #C9DDF2 !important;
    background: #FFFFFF !important;
    text-decoration: none;
}

a.nav-cta.discover-business-cta:hover {
    color: #0B0648 !important;
    border-color: #FF7900 !important;
    background: #FFF3E6 !important;
}

/* Secondary/mobile For Business link */
a.discover-business-mobile,
a.discover-business-mobile:link,
a.discover-business-mobile:visited {
    color: #0B0648 !important;
}

a.discover-business-mobile:hover {
    color: #E66D00 !important;
}

a.discover-business-cta:focus-visible,
a.discover-business-mobile:focus-visible {
    outline: 3px solid #FF7900 !important;
    outline-offset: 3px;
}


/* DISCOVER-HOME-HERO-SPACING-CLEANUP-2026 */

/* Reduce the empty space under the homepage search form */
.orbit-hero-background-removed {
    padding-bottom: 20px !important;
}

@media (max-width: 767px) {
    .orbit-hero-background-removed {
        padding-bottom: 16px !important;
    }
}


/* DISCOVER-EIGHT-CATEGORY-CENTER-2026 */

/* Center the eight homepage category cards */
#categories.discover-home-categories .card-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    column-gap: 8px !important;
    row-gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Keep current compact card dimensions */
#categories.discover-home-categories
.card-grid > article.discovery-card {
    flex: 0 0 90px !important;
    width: 90px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-align: center;
}

/* Mobile: centered rows with natural wrapping */
@media (max-width: 767px) {
    #categories.discover-home-categories .card-grid {
        justify-content: center !important;
        column-gap: 8px !important;
        row-gap: 10px !important;
    }
}


/* DISCOVER-CENTERED-WHITE-HERO-2026 */

/* Pure white hero: no image, gradient or beige fill */
section.orbit-hero-background-removed {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
}

/* Hide old decorative overlays */
section.orbit-hero-background-removed::before,
section.orbit-hero-background-removed::after {
    background: none !important;
    background-image: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Center headline and its supporting sentence */
.orbit-hero-background-removed
.discover-centered-hero-title {
    color: #0B0648 !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.orbit-hero-background-removed
.discover-centered-hero-subtitle {
    color: #30334C !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Preserve white search form and the orange border */
.orbit-hero-background-removed form {
    background: #FFFFFF !important;
}

/* Mobile: same centered headline, form remains responsive */
@media (max-width: 767px) {
    section.orbit-hero-background-removed {
        background: #FFFFFF !important;
        background-image: none !important;
    }

    .orbit-hero-background-removed
    .discover-centered-hero-title,
    .orbit-hero-background-removed
    .discover-centered-hero-subtitle {
        text-align: center !important;
    }
}


/* DISCOVER-HERO-HEADING-SIZE-2026 */
.orbit-hero-background-removed .discover-centered-hero-title {
    font-size: 42px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em;
}

@media (max-width: 991px) {
    .orbit-hero-background-removed .discover-centered-hero-title {
        font-size: 34px !important;
    }
}

@media (max-width: 575px) {
    .orbit-hero-background-removed .discover-centered-hero-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
}


/* DISCOVER-MOBILE-FOUR-COLUMN-2026:START */

@media (max-width: 767px) {

    /* Centered, compact, single-line hero heading */
    section.orbit-hero-background-removed
    h1.discover-centered-hero-title {
        font-size: clamp(19px, 5.8vw, 25px) !important;
        line-height: 1.2 !important;
        letter-spacing: -0.025em !important;
        text-align: center !important;
        white-space: nowrap !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    section.orbit-hero-background-removed
    p.discover-centered-hero-subtitle {
        font-size: 13px !important;
        line-height: 1.5 !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Exactly four responsive columns */
    #categories.discover-home-categories
    .card-grid {
        display: grid !important;
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Override the earlier fixed 90px cards */
    #categories.discover-home-categories
    .card-grid > article.discovery-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: none !important;
        box-sizing: border-box !important;
        padding: 11px 3px !important;
        margin: 0 !important;
        text-align: center !important;
        border-radius: 10px !important;
    }

    /* Keep orange icons centered */
    #categories.discover-home-categories
    .card-grid > article.discovery-card
    > span.of-category-icon {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background: transparent !important;
    }

    #categories.discover-home-categories
    .card-grid > article.discovery-card
    > span.of-category-icon svg {
        width: 22px !important;
        height: 22px !important;
        color: #FF7900 !important;
        stroke: #FF7900 !important;
    }

    /* Readable labels within narrow cards */
    #categories.discover-home-categories
    .card-grid > article.discovery-card h3,
    #categories.discover-home-categories
    .card-grid > article.discovery-card h3 a {
        font-size: 10.5px !important;
        line-height: 1.35 !important;
        color: #0B0648 !important;
        overflow-wrap: normal !important;
    }
}

/* Narrow phones: keep four columns */
@media (max-width: 360px) {
    #categories.discover-home-categories
    .card-grid {
        gap: 6px !important;
    }

    #categories.discover-home-categories
    .card-grid > article.discovery-card {
        padding: 10px 2px !important;
    }

    #categories.discover-home-categories
    .card-grid > article.discovery-card h3,
    #categories.discover-home-categories
    .card-grid > article.discovery-card h3 a {
        font-size: 10px !important;
    }
}

/* DISCOVER-MOBILE-FOUR-COLUMN-2026:END */

/* DISCOVER-MOBILE-HERO-FINAL-2026:START */
@media (max-width: 767px) {
    /* Center hero copy on mobile */
    .orbit-hero-background-removed,
    .orbit-hero-background-removed > .container {
        text-align: center !important;
    }

    .orbit-hero-background-removed h1 {
        font-size: 2.85rem !important;
        line-height: 1.06 !important;
        letter-spacing: -0.03em !important;
        max-width: 11ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 12px !important;
    }

    .orbit-hero-background-removed > .container > p,
    .orbit-hero-background-removed .lead {
        font-size: 1.125rem !important;
        line-height: 1.45 !important;
        max-width: 24ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 18px !important;
        color: #30334C !important;
    }

    /* Keep the form itself left-aligned */
    .orbit-hero-background-removed form {
        text-align: left !important;
    }

    /* Remove duplicated wrapper lines/backgrounds on mobile */
    .orbit-hero-background-removed form :is(
        .field,
        .field-wrap,
        .input-wrap,
        .search-field,
        .search-input,
        .search-location,
        .form-control,
        .form-group,
        .control,
        .control-wrap,
        .search-row,
        .search-col
    ) {
        background: transparent !important;
        background-color: transparent !important;
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    /* Keep only one clean underline on actual controls */
    .orbit-hero-background-removed form :is(
        input[type="text"],
        input[type="search"],
        input:not([type]),
        select
    ) {
        background: #FFFFFF !important;
        background-color: #FFFFFF !important;
        color: #0B0648 !important;
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 1px solid #D7DDEA !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        min-height: auto !important;
    }

    .orbit-hero-background-removed form input::placeholder,
    .orbit-hero-background-removed form select,
    .orbit-hero-background-removed form textarea::placeholder {
        color: #6E6878 !important;
        opacity: 1 !important;
    }

    /* Hide extra divider elements if present */
    .orbit-hero-background-removed form :is(
        hr,
        .divider,
        .separator,
        .field-divider,
        .search-divider
    ) {
        display: none !important;
    }
}
/* DISCOVER-MOBILE-HERO-FINAL-2026:END */


/* DISCOVER-MOBILE-FIELD-EXACT-2026:START */

@media (max-width: 767px) {

    /* Heading: slightly larger but single-line */
    section.orbit-hero-background-removed
    #discover-title.discover-centered-hero-title {
        font-size: clamp(21px, 6.5vw, 26px) !important;
        line-height: 1.2 !important;
        letter-spacing: -0.03em !important;
        width: 100% !important;
        max-width: none !important;
        white-space: nowrap !important;
        text-align: center !important;
        margin: 0 auto 8px !important;
    }

    /* Subtitle: undo old 24ch width restriction */
    section.orbit-hero-background-removed
    p.discover-centered-hero-subtitle {
        font-size: clamp(11px, 3.2vw, 13px) !important;
        line-height: 1.45 !important;
        width: 100% !important;
        max-width: none !important;
        white-space: nowrap !important;
        text-align: center !important;
        margin: 0 auto 18px !important;
        color: #30334C !important;
    }

    /* Actual search field wrappers: NO border */
    section.orbit-hero-background-removed
    form.of-discover__search
    .of-discover__field,
    section.orbit-hero-background-removed
    form.of-discover__search
    .of-discover__field + .of-discover__field {
        border: 0 !important;
        border-top: 0 !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
        background: #FFFFFF !important;
    }

    /* No decorative lines from wrapper pseudo-elements */
    section.orbit-hero-background-removed
    form.of-discover__search
    .of-discover__field::before,
    section.orbit-hero-background-removed
    form.of-discover__search
    .of-discover__field::after {
        content: none !important;
        display: none !important;
    }

    /* Single underline per actual input */
    section.orbit-hero-background-removed
    form.of-discover__search
    .of-discover__field #discover-query,
    section.orbit-hero-background-removed
    form.of-discover__search
    .of-discover__field #discover-location {
        border: 0 !important;
        border-bottom: 1px solid #D7DDEA !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        outline: none !important;
        background: #FFFFFF !important;
        color: #0B0648 !important;
        min-height: 35px !important;
        height: 35px !important;
        padding: 5px 2px !important;
    }

    /* One stronger underline when focused */
    section.orbit-hero-background-removed
    form.of-discover__search
    .of-discover__field
    :is(#discover-query, #discover-location):focus-visible {
        border-bottom: 2px solid #FF7900 !important;
        box-shadow: none !important;
        outline: 2px solid transparent !important;
    }

    /* No extra space from legacy field separator */
    section.orbit-hero-background-removed
    form.of-discover__search
    .of-discover__field + .of-discover__field {
        padding-top: 5px !important;
    }
}

/* DISCOVER-MOBILE-FIELD-EXACT-2026:END */


/* DISCOVER-HOME-SPACING-COLOR-2026:START */

/* 1. Home search: lighter, professional shadow */
section.orbit-hero-background-removed
form.of-discover__search {
    background-color: #FFFFFF !important;
    box-shadow:
        0 8px 24px rgba(11, 6, 72, 0.05) !important;
}

/* 2. Actual field labels: approved brand navy */
section.orbit-hero-background-removed
form.of-discover__search
.of-discover__field > label {
    color: #0B0648 !important;
}

/* 3. Actual search and city input values */
section.orbit-hero-background-removed
form.of-discover__search
:is(#discover-query, #discover-location) {
    color: #0B0648 !important;
    -webkit-text-fill-color: #0B0648 !important;
}

/* Placeholders are muted gray, not old burgundy */
section.orbit-hero-background-removed
form.of-discover__search
:is(#discover-query, #discover-location)::placeholder {
    color: #64748B !important;
    -webkit-text-fill-color: #64748B !important;
    opacity: 1 !important;
}

/* Worldwide option: consistent body text */
section.orbit-hero-background-removed
form.of-discover__search
label.orbit-search-scope {
    color: #30334C !important;
}

/* Desktop only: reduce unnecessary vertical gap */
@media (min-width: 768px) {

    section.orbit-hero-background-removed {
        padding-bottom: 12px !important;
    }

    section#categories.discover-home-categories {
        padding-top: 18px !important;
    }

    section#categories.discover-home-categories
    > .container:first-child:has(
        .orbit-premium-section-heading
    ) {
        display: none !important;
    }

    /* Empty heading wrapper left after removing heading */
    section#categories.discover-home-categories
    > .container.orbit-premium-section-heading {
        display: none !important;
    }
}

/* Mobile layout and category grid intentionally untouched */

/* DISCOVER-HOME-SPACING-COLOR-2026:END */

/* DISCOVER-DESKTOP-GRID-ALIGN-2026:START */

/*
 * Desktop: category row follows the search card width.
 * Equal 8-column grid, aligned at both outer edges.
 * Does not modify the search form itself.
 */
@media (min-width: 1024px) {

    #categories.discover-home-categories
    .card-grid {
        display: grid !important;
        grid-template-columns:
            repeat(8, minmax(0, 1fr)) !important;
        width: min(100%, 780px) !important;
        max-width: 780px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        column-gap: 8px !important;
        row-gap: 8px !important;
        justify-content: stretch !important;
        align-items: stretch !important;
        box-sizing: border-box !important;
    }

    #categories.discover-home-categories
    .card-grid > article.discovery-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Mobile/tablet grids remain unchanged. */

/* DISCOVER-DESKTOP-GRID-ALIGN-2026:END */

/* DISCOVER-SEARCH-NO-SHADOW-2026:START */

/* Very subtle shadow — homepage search box only */
section.orbit-hero-background-removed
form.of-discover__search,
.orbit-hero-background-removed
form.of-discover__search {
    box-shadow: 0 3px 12px rgba(11, 6, 72, 0.025) !important;
    -webkit-box-shadow: 0 3px 12px rgba(11, 6, 72, 0.025) !important;
    filter: none !important;
}

/* DISCOVER-SEARCH-NO-SHADOW-2026:END */

/* DISCOVER-COMPACT-FIND-2026:START */

/* Desktop: compact button, right aligned */
@media (min-width: 768px) {
    .orbit-hero-background-removed
    form.of-discover__search
    > button[type="submit"] {
        width: 105px !important;
        min-width: 105px !important;
        max-width: 105px !important;
        justify-self: end !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        gap: 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }
}

/* Mobile button remains full-width */

/* DISCOVER-COMPACT-FIND-2026:END */

/* DISCOVER-OWNER-COMPACT-2026:START */

/* Compact business-owner section without changing its content */
section#business-owners {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
}

/* Keep heading and description close together */
section#business-owners h2 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

section#business-owners p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Mobile: slightly smaller vertical padding */
@media (max-width: 767px) {
    section#business-owners {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

/* DISCOVER-OWNER-COMPACT-2026:END */

/* DISCOVER-OWNER-HEADING-REMOVAL-2026:START */

/* No extra vertical spacing on homepage owner strip */
section#business-owners {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
}

section#business-owners .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

section#business-owners p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* DISCOVER-OWNER-HEADING-REMOVAL-2026:END */

/* DISCOVER-OWNER-CTA-2026:START */

/*
 * The button is now a direct child of the full-width
 * section, NOT the narrow text wrapper.
 */
section#business-owners {
    position: relative !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
}

section#business-owners .discover-owner-row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

section#business-owners .discover-owner-copy {
    text-align: left !important;
}

section#business-owners .discover-owner-copy h2 {
    margin: 0 0 5px !important;
    color: #0B0648 !important;
    line-height: 1.25 !important;
}

section#business-owners .discover-owner-copy p {
    margin: 0 !important;
    color: #30334C !important;
    line-height: 1.5 !important;
}

section#business-owners > .discover-free-listing-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    padding: 11px 14px !important;
    background: #FF7900 !important;
    color: #FFFFFF !important;
    border: 1px solid #FF7900 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    opacity: 1 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

/*
 * Desktop: 1024px centered site content width.
 * Align the button's RIGHT edge to the header boundary.
 */
@media (min-width: 768px) {
    section#business-owners > .discover-free-listing-cta {
        position: absolute !important;
        top: 50% !important;
        right: max(16px, calc((100% - 1160px) / 2)) !important;
        left: auto !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 2 !important;
    }

    section#business-owners .discover-owner-copy {
        padding-right: 145px !important;
        box-sizing: border-box !important;
    }
}

/* Mobile: button below the copy, at right edge */
@media (max-width: 767px) {
    section#business-owners > .discover-free-listing-cta {
        position: relative !important;
        display: flex !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 12px 16px 0 auto !important;
    }

    section#business-owners .discover-owner-copy {
        padding-right: 0 !important;
    }
}


section#business-owners
.discover-free-listing-cta:focus-visible {
    outline: 3px solid #0B0648 !important;
    outline-offset: 3px !important;
}

/* DISCOVER-OWNER-CTA-2026:END */
