html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

/* Remove the template’s “margin-bottom: 60px” behavior */
body {
    margin: 0;
    background: #f3f6fb;
    color: #0b1220;
}

/* Keep Bootstrap focus ring but slightly softer */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.22rem rgba(37, 140, 251, 0.45);
}

:root {
    --hfr-bg: #f3f6fb;
    --hfr-card: #ffffff;
    --hfr-text: #0b1220;
    --hfr-muted: #5c667a;
    --hfr-brand: #2b6fff;
    --hfr-brand2: #25d3a5;
    --hfr-border: rgba(16, 24, 40, 0.10);
    --hfr-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    --hfr-shadow2: 0 14px 40px rgba(16, 24, 40, 0.12);
}

/* Top bar */
.hfr-topbar {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.hfr-brand {
    color: #0b1220;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

.hfr-brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--hfr-brand), var(--hfr-brand2));
    display: inline-block;
}

.hfr-brand-pill {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 999px;
    color: #0b1220;
    background: rgba(37, 211, 165, 0.18);
    border: 1px solid rgba(37, 211, 165, 0.35);
}

/* Menu button */
.hfr-menu-btn {
    width: 44px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--hfr-border);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(16,24,40,0.06);
}

    .hfr-menu-btn:hover {
        background: rgba(43, 111, 255, 0.06);
    }

.hfr-menu-icon {
    width: 18px;
    height: 2px;
    background: #0b1220;
    display: inline-block;
    position: relative;
    border-radius: 2px;
}

    .hfr-menu-icon:before,
    .hfr-menu-icon:after {
        content: "";
        width: 18px;
        height: 2px;
        background: #0b1220;
        position: absolute;
        left: 0;
        border-radius: 2px;
    }

    .hfr-menu-icon:before {
        top: -6px;
    }

    .hfr-menu-icon:after {
        top: 6px;
    }

/* Offcanvas */
.hfr-offcanvas {
    width: 360px;
}

@media (max-width: 420px) {
    .hfr-offcanvas {
        width: 100%;
    }
}

.hfr-nav-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(11, 18, 32, 0.55);
    margin-bottom: 8px;
}

.hfr-nav-link {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #0b1220;
    border: 1px solid transparent;
}

    .hfr-nav-link:hover {
        background: rgba(43, 111, 255, 0.06);
        border-color: rgba(43, 111, 255, 0.14);
    }

/* Pro banner */
.hfr-pro-banner {
    background: radial-gradient(1200px 500px at 20% 0%, rgba(43,111,255,0.22), transparent 60%), radial-gradient(900px 400px at 85% 30%, rgba(37,211,165,0.18), transparent 55%), linear-gradient(135deg, #0b1220, #0f1a30);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
    box-shadow: var(--hfr-shadow);
}

.hfr-pro-banner-inner {
    padding: 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.hfr-pro-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hfr-pro-badge {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.hfr-pro-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.2;
}

.hfr-pro-sub {
    color: rgba(255,255,255,0.72);
    margin-top: 4px;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .hfr-pro-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .hfr-pro-right {
        display: flex;
        justify-content: flex-start;
    }
}

/* Give cards a stronger lift (VM-ish) */
.card {
    border: 1px solid rgba(16,24,40,0.08);
    box-shadow: var(--hfr-shadow);
    border-radius: 16px;
}

    .card:hover {
        box-shadow: var(--hfr-shadow2);
        transform: translateY(-1px);
        transition: box-shadow 140ms ease, transform 140ms ease;
    }

    .card .card-body {
        padding: 16px;
    }

/* Hero card helper for your homepage hero div */
.hfr-hero-card {
    border-radius: 18px;
    box-shadow: var(--hfr-shadow);
    border: 1px solid rgba(16,24,40,0.08);
}
/* VM-ish search pill */
.hfr-search-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(16,24,40,0.10);
    background: #ffffff;
    box-shadow: var(--hfr-shadow);
    max-width: 560px;
    width: 100%;
}

.hfr-search-icon {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(43,111,255,0.14);
    display: inline-block;
    position: relative;
}

.hfr-search-input {
    border: 0;
    outline: none;
    flex: 1;
    font-size: 1rem;
    color: #0b1220;
    padding: 6px 2px;
}

    .hfr-search-input::placeholder {
        color: rgba(11,18,32,0.55);
    }

.hfr-search-btn {
    border-radius: 999px;
    padding-left: 18px;
    padding-right: 18px;
}

/* Make the top city cards feel less like default Bootstrap cards */
.hfr-city-tile {
    border-radius: 18px;
    border: 1px solid rgba(16,24,40,0.08);
    background: #ffffff;
    box-shadow: var(--hfr-shadow);
}

    .hfr-city-tile:hover {
        box-shadow: var(--hfr-shadow2);
        transform: translateY(-1px);
        transition: box-shadow 140ms ease, transform 140ms ease;
    }
.hfr-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background: #eef2f8;
}

.hfr-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hfr-thumb-ph {
    width: 100%;
    height: 100%;
    background: line;
    /* Thumb wrapper controls size */
}

.hfr-thumb {
    height: 85px;
}
/* try 70px if still soft */
    /* Smaller thumbs for SMALL blob images */
    .hfr-thumb.hfr-thumb-sm {
        height: 125px; /* was 80px */
        overflow: hidden;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        background: #eef2f8;
    }

.hfr-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.08) saturate(1.05);
}

footer.footer .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    footer.footer .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
/* Fix footer overlaying page content */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main[role="main"] {
    flex: 1 0 auto;
}

footer.footer {
    flex-shrink: 0;
    position: static !important;
    width: 100%;
}
/* City typeahead dropdown */

.hfr-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid rgba(16,24,40,0.12);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(16,24,40,0.14);
    overflow: hidden;
    z-index: 2000;
}

.hfr-suggest-item {
    display: block;
    padding: 10px 12px;
    cursor: pointer;
    text-decoration: none;
    color: #0b1220;
}

    .hfr-suggest-item + .hfr-suggest-item {
        border-top: 1px solid rgba(16,24,40,0.08);
    }

    .hfr-suggest-item:hover,
    .hfr-suggest-item.is-active {
        background: rgba(43,111,255,0.06);
    }

.hfr-suggest-title {
    font-weight: 700;
}

.hfr-suggest-sub {
    font-size: 0.85rem;
    color: rgba(11,18,32,0.60);
    margin-top: 2px;
}
/* Header search sizing + centering */
.hfr-search-wrap {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    padding: 0 12px;
    min-width: 0; /* prevents flex overflow weirdness */
}

/* Search box under nav on homepage */
.hfr-page-search .hfr-search-pill {
    max-width: 720px;
    width: 100%;
}


