:root {
    --color-primary: #003b95;
    --color-primary-light: #0057b8;
    --color-link: #005fa3;
    --color-accent: #ffb700;
    --color-accent-hover: #e9a800;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-border: #d1d5db;
    --color-page: #f5f7fb;
    --color-white: #ffffff;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
    /* Fixed search bar sits directly below the Campsy header. */
    --site-header-sticky-offset: 76px;
}

/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Arial, sans-serif;
    background: var(--color-page);
    color: var(--color-text);
}

body {
    line-height: 1.5;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: var(--color-link);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

code {
    color: #c02d76;
}

/* Blazor validation and errors */
.valid.modified:not([type="checkbox"]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    padding: 0.6rem 1.25rem 0.7rem;
    background: lightyellow;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
}

    #blazor-error-ui .dismiss {
        position: absolute;
        top: 0.5rem;
        right: 0.75rem;
        cursor: pointer;
    }

.blazor-error-boundary {
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSI+PHBhdGggZmlsbD0iI0ZGRDUwMCIgZD0iTTI4IDBDMTIuNTQgMCAwIDEyLjU0IDAgMjhzMTIuNTQgMjggMjggMjggMjgtMTIuNTQgMjgtMjhTMzMuNDYgMCAyOCAwem0zIDE4djE1aC02VjE4aDZ6bTAgMjF2NmgtNnYtNmg2eiIvPjwvc3ZnPg==) no-repeat 1rem center / 1.8rem, #b32121;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform: rotate(-90deg);
        transform-origin: 50% 50%;
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
    font-weight: bold;
    text-align: center;
}

    .loading-progress-text::after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/* Header and page shell */
.site-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    padding: 0.8rem 1.5rem;
    color: white;
    background: var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.site-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    min-height: 50px;
    margin: 0 auto;
    gap: 1rem;
}

.site-brand-wrapper {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.site-brand {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
}

    .site-brand:hover {
        color: white;
        text-decoration: none;
    }

.site-brand-categories {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.site-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

    .site-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.18);
    }

    .site-menu-toggle:focus-visible {
        outline: 3px solid rgba(255, 255, 255, 0.45);
        outline-offset: 2px;
    }

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
}

    .site-nav a {
        color: white;
        font-weight: 600;
        white-space: nowrap;
    }

        .site-nav a:hover {
            color: white;
        }

.site-user {
    max-width: 220px;
    overflow: hidden;
    padding: 0.45rem 0.7rem;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Desktop navigation refinements */
@media (min-width: 1101px) {
    .site-nav {
        gap: 0.6rem;
        font-size: 0.8rem;
    }

        .site-nav a {
            font-size: 0.8rem;
            font-weight: 600;
        }

    .site-user {
        max-width: 185px;
        padding: 0.3rem 0.55rem;
        font-size: 0.76rem;
    }

    /* Logged-in desktop:
       use the lower line where the category strapline normally sits. */
    .site-header-logged-in {
        padding-top: 0.55rem;
        padding-bottom: 0.45rem;
    }

        .site-header-logged-in .site-header-inner {
            display: block;
            min-height: 58px;
        }

        .site-header-logged-in .site-brand-wrapper {
            display: block;
        }

        .site-header-logged-in .site-brand {
            display: inline-block;
            margin-bottom: 0.15rem;
        }

        .site-header-logged-in .site-nav {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            flex-wrap: nowrap;
            gap: 0.55rem;
            white-space: nowrap;
        }

    /* Logged-out desktop keeps the existing layout. */
    .site-header-logged-out .site-nav {
        font-size: 0.8rem;
    }
}

.site-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem;
}

/* Hero */
.hero {
    margin-bottom: 1.5rem;
    padding: 2rem;
    overflow: visible;
    color: white;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 18px;
}

    .hero h1 {
        margin: 0 0 0.5rem;
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        line-height: 1.15;
    }

    .hero p {
        max-width: 760px;
        margin: 0 0 1.25rem;
    }

/* Search panel */
.search-panel {
    width: 100%;
    padding: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.search-grid,
.hero-search-grid,
.compact-search-grid {
    display: grid;
    gap: 0.75rem;
    align-items: end;
}

.search-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hero-search-grid,
.compact-search-grid {
    grid-template-columns: minmax(180px, 1.1fr) minmax(250px, 1.5fr) minmax(130px, 0.75fr) minmax(130px, 0.75fr) minmax(85px, 0.45fr) minmax(110px, 0.55fr);
}

    .search-grid > div,
    .hero-search-grid > div,
    .compact-search-grid > div {
        min-width: 0;
    }

    .search-grid label,
    .hero-search-grid label,
    .compact-search-grid label {
        display: block;
        margin-bottom: 0.35rem;
        font-size: 0.88rem;
        font-weight: 700;
    }

    .search-grid input,
    .search-grid select,
    .hero-search-grid input,
    .hero-search-grid select,
    .compact-search-grid input,
    .compact-search-grid select {
        width: 100%;
        min-width: 0;
        height: 46px;
        padding: 0 0.75rem;
        color: var(--color-text);
        background: white;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
    }

        .search-grid input:focus,
        .search-grid select:focus,
        .hero-search-grid input:focus,
        .hero-search-grid select:focus,
        .compact-search-grid input:focus,
        .compact-search-grid select:focus {
            outline: 2px solid rgba(0, 95, 163, 0.25);
            outline-offset: 1px;
            border-color: var(--color-link);
        }

.search-location {
    position: relative;
}

.search-button {
    display: flex;
    align-items: flex-end;
}

.primary-button {
    min-height: 46px;
    padding: 0.75rem 1.2rem;
    color: var(--color-text);
    background: var(--color-accent);
    border: 0;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

    .primary-button:hover {
        background: var(--color-accent-hover);
        text-decoration: none;
    }

    .primary-button:active {
        transform: translateY(1px);
    }

    .primary-button:focus-visible {
        outline: 3px solid rgba(255, 183, 0, 0.4);
        outline-offset: 2px;
    }

.search-button .primary-button {
    width: 100%;
    white-space: nowrap;
}

/* Location suggestions */
.location-suggestions {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    left: 0;
    z-index: 1000;
    max-height: 260px;
    overflow-y: auto;
    padding: 0.35rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.location-suggestion {
    display: block;
    width: 100%;
    padding: 0.65rem;
    text-align: left;
    background: white;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

    .location-suggestion:hover {
        background: #f3f7ff;
    }

    .location-suggestion span {
        display: block;
        color: #666;
        font-size: 0.85rem;
    }

/* Sections and cards */
.section-title {
    margin: 0 0 0.35rem;
}

.section-subtitle {
    margin: 0 0 1rem;
    color: var(--color-muted);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.market-card {
    overflow: hidden;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

    .market-card img {
        display: block;
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

.market-card-body {
    padding: 1rem;
}

    .market-card-body h3 {
        margin: 0 0 0.5rem;
    }

.badge,
.amenity-badge,
.rating-pill,
.match-fit,
.featured-label,
.sponsored-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 700;
}

.badge {
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.65rem;
    color: var(--color-primary);
    background: #e8f1ff;
    font-size: 0.85rem;
}

.amenity-badge {
    padding: 0.4rem 0.75rem;
    color: var(--color-primary);
    background: #e8f1ff;
    font-size: 0.9rem;
    font-weight: 600;
}

.rating-pill {
    margin: 0.35rem 0;
    padding: 0.3rem 0.65rem;
    color: white;
    background: var(--color-primary);
    font-size: 0.85rem;
}

.info-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-box {
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.sponsored-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.sponsored-card {
    padding: 1rem;
    background: white;
    border: 1px solid #dbe4f0;
    border-radius: var(--radius-md);
}

.sponsored-label {
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.6rem;
    color: #92400e;
    background: #fef3c7;
    font-size: 0.8rem;
}

.featured-search-card {
    border: 2px solid #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}

.featured-label {
    margin-bottom: 0.5rem;
    padding: 0.3rem 0.7rem;
    color: white;
    background: #f59e0b;
    font-size: 0.85rem;
}

.featured-promo {
    color: #92400e;
    font-weight: 700;
}

.match-fit {
    margin: 0.4rem 0;
    padding: 0.35rem 0.65rem;
    gap: 0.4rem;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    font-size: 0.85rem;
}

    .match-fit span {
        color: #047857;
        font-weight: 600;
    }

.match-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.4rem 0 0.75rem;
}

    .match-tags span {
        padding: 0.25rem 0.55rem;
        color: #374151;
        background: #f3f4f6;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 600;
    }

/* Authentication */
.auth-page {
    display: grid;
    grid-template-columns: minmax(320px, 480px) 1fr;
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
    gap: 2rem;
    align-items: stretch;
}

.auth-card {
    padding: 2rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 53, 128, 0.12);
}

.auth-brand h1 {
    margin: 0 0 0.5rem;
    color: var(--color-primary);
    font-size: 2rem;
}

.auth-brand p {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

    .auth-form label {
        display: block;
        margin-bottom: 0.35rem;
        font-weight: 700;
    }

    .auth-form input {
        width: 100%;
        height: 44px;
        padding: 0.65rem 0.8rem;
        border: 1px solid var(--color-border);
        border-radius: 12px;
    }

.auth-submit {
    width: 100%;
    min-height: 46px;
    margin-top: 0.5rem;
}

.auth-error {
    margin-bottom: 1rem;
    padding: 0.8rem;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
}

.auth-switch {
    margin-top: 1.25rem;
    color: #4b5563;
}

    .auth-switch a {
        color: var(--color-primary);
        font-weight: 700;
    }

.auth-side {
    display: flex;
    min-height: 420px;
    padding: 2rem;
    align-items: flex-end;
    color: white;
    background: linear-gradient(rgba(0, 53, 128, 0.78), rgba(0, 53, 128, 0.78)), url("/images/camping-hero.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 24px;
}

    .auth-side h2 {
        max-width: 520px;
        margin-bottom: 0.75rem;
        font-size: 2.4rem;
    }

    .auth-side p {
        max-width: 520px;
        font-size: 1.05rem;
    }

/* Forms */
.form-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 120px minmax(0, 250px);
    gap: 10px 15px;
    align-items: center;
}

    .form-grid label {
        text-align: right;
    }

    .form-grid input,
    .form-grid select,
    .form-grid textarea {
        width: 100%;
    }

/* Advertising */
.ad-wrapper {
    display: flex;
    width: 100%;
    height: 150px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 18px;
}

    .ad-wrapper img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain !important;
        object-position: center center !important;
    }

.ad-placeholder {
    display: grid;
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    place-items: center;
    color: #374151;
    text-align: center;
    background: #f9fafb;
    border: 1px dashed #9ca3af;
    border-radius: 18px;
}

    .ad-placeholder span {
        display: block;
        margin-top: 0.35rem;
        color: #6b7280;
    }

/* Tablet / compact navigation */
@media (max-width: 1100px) {
    :root {
        --site-header-sticky-offset: 66px;
    }

    .site-header {
        padding: 0.45rem 0.9rem;
    }

    .site-header-inner {
        min-height: 56px;
        flex-wrap: nowrap;
    }

    .site-brand-categories {
        display: none;
    }

    .site-menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.45rem);
        right: 0;
        z-index: 2100;
        display: none;
        width: min(340px, calc(100vw - 1.5rem));
        max-height: calc(100vh - 82px);
        overflow-y: auto;
        padding: 0.65rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        background: var(--color-primary);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    }

        .site-nav.site-nav-open {
            display: flex;
        }

        .site-nav a,
        .site-user {
            width: 100%;
        }

        .site-nav a {
            display: block;
            padding: 0.65rem 0.75rem;
            border-radius: 8px;
        }

            .site-nav a:hover {
                background: rgba(255, 255, 255, 0.12);
                text-decoration: none;
            }

    .site-user {
        max-width: none;
        margin: 0.25rem 0;
        border-radius: 8px;
    }

    .hero-search-grid,
    .compact-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-location,
    .search-criteria {
        grid-column: span 2;
    }

    .search-button {
        grid-column: span 2;
    }

    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-side {
        min-height: 260px;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .site-shell {
        padding: 0.75rem;
    }

    .hero {
        padding: 1.25rem;
        border-radius: 14px;
    }

        .hero p {
            margin-bottom: 1rem;
        }

    .search-panel {
        padding: 0.85rem;
        border-radius: 12px;
    }

    .hero-search-grid,
    .compact-search-grid,
    .search-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .search-location,
    .search-criteria,
    .search-date,
    .search-guests,
    .search-button {
        grid-column: auto;
        width: 100%;
    }

    .search-grid input,
    .search-grid select,
    .hero-search-grid input,
    .hero-search-grid select,
    .compact-search-grid input,
    .compact-search-grid select {
        width: 100%;
        height: 48px;
        font-size: 16px;
    }

    .search-button {
        display: block;
        margin-top: 0.15rem;
    }

        .search-button .primary-button {
            width: 100%;
            min-height: 50px;
            font-size: 1rem;
        }

    .location-suggestions {
        max-height: 220px;
    }

    .market-card img {
        height: 190px;
    }

    .card-grid,
    .info-strip,
    .sponsored-grid {
        grid-template-columns: 1fr;
    }

    .auth-page {
        padding: 1rem 0;
    }

    .auth-card {
        padding: 1.25rem;
    }

    .auth-side {
        min-height: 220px;
        padding: 1.25rem;
    }

        .auth-side h2 {
            font-size: 1.8rem;
        }

    .form-grid {
        grid-template-columns: 1fr;
    }

        .form-grid label {
            text-align: left;
        }
}

/* Very small screens */
@media (max-width: 420px) {
    .hero {
        padding: 1rem;
    }

        .hero h1 {
            font-size: 1.55rem;
        }

    .search-panel {
        padding: 0.75rem;
    }

    .site-user {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
}

.campsite-location-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}


.map-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0.2rem 0.35rem;
    background: transparent;
    font-size: 1.25rem;
    cursor: pointer;
    transition: transform 0.15s ease;
}


    .map-icon-button:hover {
        transform: scale(1.1);
    }


    .map-icon-button:focus-visible {
        outline: 2px solid #005fa3;
        outline-offset: 2px;
        border-radius: 6px;
    }


.inline-campsite-map {
    position: relative;
    width: 100%;
    height: 320px;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #f3f4f6;
}


    .inline-campsite-map iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }


.inline-map-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: white;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.25 );
}


    .inline-map-close:hover {
        background: #f3f4f6;
    }


@media ( max-width: 700px ) {

    .inline-campsite-map {
        height: 260px;
    }
}

.search-filter-button {
    padding: 9px 15px;
    margin-left: 8px;
    border: 1px solid #aaa;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-weight: 600;
}

    .search-filter-button:hover {
        background: #f5f5f5;
    }

.search-summary-bar {
    position: fixed;
    top: var(--site-header-sticky-offset);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1900;
    width: min(calc(100% - 2.5rem), 1150px);
    display: flex;
    align-items: stretch;
    gap: .55rem;
    margin: 0;
    padding: .55rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: .8rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.search-summary-spacer {
    height: 72px;
}

.search-summary-main {
    min-width: 0;
    flex: 1;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .45rem .75rem;
    padding: .3rem .45rem;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

    .search-summary-main:hover {
        background: rgba(0, 0, 0, .025);
        border-radius: .55rem;
    }

.search-summary-location {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-weight: 700;
    white-space: nowrap;
}

.search-summary-details {
    white-space: nowrap;
    color: #4b5563;
}

.search-summary-dot {
    margin: 0 .15rem;
}

.search-summary-query {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-size: .92rem;
}

.search-summary-edit {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    white-space: nowrap;
}

.search-summary-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .55rem .8rem;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: .6rem;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

    .search-summary-filter-button:hover {
        background: rgba(0, 0, 0, .035);
    }

.search-edit-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 760px) {
    .search-summary-bar {
        width: calc(100% - 1.5rem);
        gap: .4rem;
        margin: 0;
        padding: .45rem;
    }

    .search-summary-spacer {
        height: 68px;
    }

    .search-summary-main {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .18rem .55rem;
        padding: .25rem .35rem;
    }

    .search-summary-location {
        grid-column: 1;
        grid-row: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .search-summary-details {
        grid-column: 1;
        grid-row: 2;
        font-size: .88rem;
    }

    .search-summary-query {
        display: none;
    }

    .search-summary-edit {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
        font-size: 1.05rem;
    }

    .search-summary-edit-text {
        display: none;
    }

    .search-summary-filter-button {
        padding: .45rem .6rem;
    }

        .search-summary-filter-button span {
            display: none;
        }
}
/* Location input + My Location button */

.location-input-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
}

    .location-input-row input {
        flex: 1;
        min-width: 0;
    }

.my-location-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #2563eb;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .my-location-icon-button:hover {
        background: #eff6ff;
        border-color: #2563eb;
    }

    .my-location-icon-button:focus-visible {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }


/* Filter button icon */

.search-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

    .search-filter-button i {
        font-size: 1rem;
    }
.site-brand-logo {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}