﻿/* =====================================================
   BUSINESS DETAILS PAGE — STYLESHEET
   Extracted from BusinessDetails.aspx
   ===================================================== */

/* =====================================================
   PAGE TOKENS
   ===================================================== */
.bd-page {
    --bd-paper: #eef2f6;
    --bd-surface: #ffffff;
    --bd-ink: #0e1b2c;
    --bd-body: #26364a;
    --bd-muted: #5b6b7f;
    --bd-line: #dfe6ee;
    --bd-soft: #f5f8fb;
    --bd-brand: #0a7ea4;
    --bd-brand-dark: #076583;
    --bd-brand-tint: #e3f3f9;
    --bd-go: #2f9e44;
    --bd-go-dark: #257f36;
    --bd-alert: #d9363e;
    --bd-r-lg: 16px;
    --bd-r-sm: 8px;
    --bd-shadow: 0 1px 2px rgba(14,27,44,.06), 0 10px 30px -12px rgba(14,27,44,.18);
    padding: 20px 0 56px;
    font-family: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    color: var(--bd-ink);
    line-height: 1.6;
}

    .bd-page *, .bd-page *::before, .bd-page *::after {
        box-sizing: border-box;
    }

.bd-wrap {
    width: min(1440px, 95%);
    margin: 0 auto;
}

#local, #slb-content {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.bd-page a {
    color: var(--bd-brand);
    text-decoration: none;
}

    .bd-page a:hover {
        color: var(--bd-brand-dark);
        text-decoration: underline;
    }

.bd-page img {
    max-width: 100%;
}

#pano img {
    max-width: none;
}

.autosuggest1, .autosuggest {
    background: #fff url("../images/search-icon.png") no-repeat left;
}

.validation-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #f8d7da;
    border-radius: 4px;
    display: none;
    border: 1px solid #f5c6cb;
}

    .validation-message.show {
        display: block;
    }

.bd-search {
    margin-bottom: 14px;
}

.bd-crumbs {
    clear: both;
    float: none;
    width: auto;
}

.bd-crumbs-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    float: none;
    width: auto;
    font-size: 13px;
}

    .bd-crumbs-list li {
        margin: 0;
        padding: 0;
        float: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--bd-muted);
    }

        .bd-crumbs-list li + li::before {
            content: "/";
            color: #a3b0c0;
        }

/* =====================================================
   PAGE GRID
   ===================================================== */
.bd-grid {
    clear: both;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    grid-template-areas:
        "hero map"
        "main side"
        "reviews side";
    gap: 24px;
    align-items: start;
}

    .bd-grid > * {
        min-width: 0;
        float: none;
    }

.bd-hero {
    grid-area: hero;
    align-self: stretch;
}

.bd-map {
    grid-area: map;
    align-self: stretch;
}

.bd-main {
    grid-area: main;
}

.bd-side {
    grid-area: side;
    position: sticky;
    top: 16px;
}

.bd-reviews {
    grid-area: reviews;
}

.bd-surface {
    background: var(--bd-surface);
    border-radius: var(--bd-r-lg);
    box-shadow: var(--bd-shadow);
}

/* =====================================================
   HERO
   ===================================================== */
.bd-hero {
    position: relative;
    z-index: 3;
    padding: 28px 32px 24px;
    display: flex;
    flex-direction: column;
}

    .bd-hero::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 6px;
        border-radius: var(--bd-r-lg) 0 0 var(--bd-r-lg);
        background: linear-gradient(180deg, var(--bd-brand), var(--bd-go));
    }

.bd-badge-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
}

.bd-head {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.bd-logo {
    margin: 0;
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    padding: 8px;
    border: 1px solid var(--bd-line);
    border-radius: var(--bd-r-lg);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .bd-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        font-size: 11px;
        color: var(--bd-muted);
    }

.bd-titleblock {
    min-width: 0;
    flex: 1 1 auto;
}

.bd-page .bd-hero h1 {
    margin: 0 0 8px;
    padding: 0;
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.15;
    color: var(--bd-ink);
    text-transform: none;
}

    .bd-page .bd-hero h1 span {
        font: inherit;
    }

.bd-hero-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
}

.bd-claimed-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e8f5e9;
    color: var(--bd-go-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #c8e6c9;
}

    .bd-claimed-hero-badge svg {
        width: 14px;
        height: 14px;
        fill: var(--bd-go);
    }

.bd-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--bd-brand), var(--bd-brand-dark));
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(10,126,164,.3);
}

.bd-review-link {
    font-size: 14px;
    font-weight: 600;
}

    .bd-review-link a {
        color: var(--bd-brand);
        text-decoration: none;
    }

        .bd-review-link a:hover {
            text-decoration: underline;
        }

.bd-facts-list {
    margin: 24px 0 0;
    display: grid;
    gap: 14px;
}

.bd-line {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--bd-ink);
}

    .bd-line.hidden {
        display: none !important;
    }

.bd-ico {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--bd-brand-tint);
    color: var(--bd-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .bd-ico svg {
        width: 18px;
        height: 18px;
    }

.bd-text {
    display: block;
    padding-top: 5px;
    min-width: 0;
    overflow-wrap: anywhere;
}

    .bd-text .flagstyle {
        width: 18px;
        height: auto;
        vertical-align: -2px;
        border-radius: 2px;
    }

    .bd-text .phone-row {
        display: block;
        font-weight: 600;
    }

    .bd-text .web-link1 {
        display: block;
        font-weight: 600;
        word-break: break-all;
        color: var(--bd-brand);
    }

.bd-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 26px 0 18px;
}

.bd-web {
    display: inline-flex;
}

.bd-page a.bd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border: 1.5px solid var(--bd-line);
    background: #fff;
    color: var(--bd-ink);
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

.bd-btn svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.bd-page a.bd-btn:hover {
    border-color: var(--bd-brand);
    color: var(--bd-brand);
    text-decoration: none;
}

.bd-page a.bd-btn.bd-primary {
    background: var(--bd-go);
    border-color: var(--bd-go);
    color: #fff;
}

    .bd-page a.bd-btn.bd-primary:hover {
        background: var(--bd-go-dark);
        border-color: var(--bd-go-dark);
        color: #fff;
    }

.bd-page a:focus-visible, .bd-page button:focus-visible {
    outline: 3px solid rgba(10,126,164,.45);
    outline-offset: 2px;
}

.bd-today-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin: 0 0 4px;
    background: var(--bd-soft);
    border: 1px solid var(--bd-line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bd-go-dark);
}

    .bd-today-label::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--bd-go);
        box-shadow: 0 0 0 3px rgba(47,158,68,.18);
    }

    .bd-today-label.bd-closed {
        color: var(--bd-alert);
    }

        .bd-today-label.bd-closed::before {
            background: var(--bd-alert);
            box-shadow: 0 0 0 3px rgba(217,54,62,.18);
        }

/* =====================================================
   MAP
   ===================================================== */
.bd-map {
    position: relative;
    min-height: 380px;
    border-radius: var(--bd-r-lg);
    overflow: hidden;
    box-shadow: var(--bd-shadow);
    background: #e5e3df;
}

.bd-map-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#dvMap.Map {
    width: 100%;
    height: 100%;
    min-height: 380px;
    position: relative;
    z-index: 1;
    background: #e5e3df;
    overflow: hidden;
}

.leaflet-popup-content-wrapper {
    border-radius: 6px;
}

.leaflet-popup-content {
    margin: 8px 12px;
    font-family: inherit;
}

.leaflet-container a {
    color: #EA450D;
}

.leaflet-container {
    font-family: inherit;
}

.leaflet-popup.hover-popup .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    border: 1px solid #e0e0e0;
    transition: border .2s ease, box-shadow .2s ease;
}

.leaflet-popup.hover-popup .leaflet-popup-tip {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.leaflet-popup.hover-popup .leaflet-popup-content {
    margin: 12px 14px;
}

.leaflet-popup.hover-popup.frozen .leaflet-popup-content-wrapper {
    border: 2px solid #0086c9;
    box-shadow: 0 6px 20px rgba(0,134,201,0.35);
}

.leaflet-marker-icon {
    transition: transform .15s ease;
}

    .leaflet-marker-icon:hover {
        transform: scale(1.15);
    }

.leaflet-pane.leaflet-popup-pane {
    z-index: 800;
}

/* =====================================================
   MAIN CONTENT — NO SECTION DIVIDERS AT ALL
   ===================================================== */
.bd-main {
    padding: 8px 32px 12px;
}

.bd-sec,
.bd-sec.bd-about,
.bd-sec:first-child,
.bd-sec:last-child {
    padding: 26px 0;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

    .bd-sec.bd-about {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .bd-sec:empty {
        display: none;
    }

.bd-page .bd-main h2 {
    margin: 0 0 12px;
    padding: 0;
    font-size: 24px;
    line-height: 1.25;
    color: var(--bd-ink);
    text-transform: none;
}

.bd-about p {
    margin: 0;
    font-size: 15.5px;
    max-width: 80ch;
    color: var(--bd-body);
}

.bd-two {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.bd-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.bd-hours .bd-table {
    border: 1px solid var(--bd-line);
    border-radius: var(--bd-r-sm);
    overflow: hidden;
}

.bd-table td {
    padding: 9px 14px;
    border: 0;
    border-top: 1px solid var(--bd-line);
    background: #fff;
    vertical-align: top;
    color: var(--bd-body);
}

.bd-table tr:first-child td {
    border-top: 0;
}

.bd-table td.bd-th {
    background: var(--bd-ink);
    color: #fff;
    font-size: 14px;
}

.bd-table td:first-child {
    white-space: nowrap;
}

.bd-hours .bd-table tr:not(:first-child) td:first-child {
    color: var(--bd-muted);
    width: 38%;
}

.bd-hoursbar .bd-table {
    font-size: 13px;
}

    .bd-hoursbar .bd-table td {
        padding: 7px 10px;
    }

.bd-cats p {
    margin: 0 0 10px;
    color: var(--bd-body);
}

    .bd-cats p b {
        color: var(--bd-ink);
    }

.bd-cats .servicetype {
    font-weight: 600;
}

.bd-cats > div {
    margin-bottom: 8px;
}

    .bd-cats > div:empty {
        display: none;
    }

.bd-cats .bd-table {
    margin-top: 8px;
    border: 1px solid var(--bd-line);
    border-radius: var(--bd-r-sm);
    overflow: hidden;
}

/* =====================================================
   FACTS (Additional Info / Product & Services / Languages / Payment)
   ===================================================== */
.bd-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 36px;
}

.bd-fact,
.bd-fact.bd-wide,
.bd-fact:first-child,
.bd-fact:first-child.bd-wide,
.bd-fact:nth-child(-n+2) {
    padding: 14px 0;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

    .bd-fact.bd-wide {
        grid-column: 1 / -1;
        padding-top: 10px;
    }

    .bd-fact p {
        margin: 0 0 6px;
    }

        .bd-fact p b {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
            font-weight: 700;
            color: var(--bd-ink);
        }

            .bd-fact p b img {
                width: 22px;
                height: 22px;
                object-fit: contain;
            }

    .bd-fact span {
        color: var(--bd-body);
        font-size: 14.5px;
    }

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.video-item {
    background: #fff;
    border: 1px solid var(--bd-line);
    border-radius: var(--bd-r-sm);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

    .video-item:hover {
        box-shadow: 0 4px 16px rgba(14,27,44,.12);
        transform: translateY(-2px);
    }

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}

    .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .video-thumb::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 48px;
        height: 48px;
        background: rgba(0,0,0,.55) url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center;
        background-size: 28px 28px;
        border-radius: 50%;
        pointer-events: none;
    }

.video-title {
    margin: 0;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bd-ink);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =====================================================
   SIDEBAR
   ===================================================== */
.bd-side {
    display: grid;
    gap: 18px;
}

    .bd-side > * {
        min-width: 0;
    }

.bd-block {
    background: var(--bd-surface);
    border-radius: var(--bd-r-lg);
    box-shadow: var(--bd-shadow);
    padding: 16px;
}

.bd-side > .bd-block:empty {
    display: none !important;
}

/* =====================================================
   IMAGE MARQUEE (1-3 static, 4+ scrolling)
   ===================================================== */
.bd-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
    border-radius: var(--bd-r-lg);
    box-shadow: var(--bd-shadow);
    background: #f8fafc;
    padding: 10px 0;
}

.bd-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 0 8px;
}

.bd-marquee-scroll .bd-marquee-track {
    animation: bd-scroll 35s linear infinite;
}

    .bd-marquee-scroll .bd-marquee-track:hover {
        animation-play-state: paused;
    }

.bd-marquee-static .bd-marquee-track {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.bd-marquee-static {
    overflow: visible;
}

.bd-marquee-item {
    flex: 0 0 auto;
    width: 280px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
}

    .bd-marquee-item img {
        width: 100%;
        height: 100%;
        display: block;
        transition: transform 0.3s ease;
        cursor: zoom-in;
    }

    .bd-marquee-item:hover img {
        transform: scale(1.05);
    }

@keyframes bd-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =====================================================
   SIDEBAR SLIDESHOW
   ===================================================== */
.bd-slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--bd-r-lg);
    box-shadow: var(--bd-shadow);
    background: #fff;
}

.bd-slideshow-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 300px;
}

.bd-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

    .bd-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        cursor: zoom-in;
    }

.bd-slide-nav {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.bd-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: 1px solid rgba(0,0,0,0.1);
}

    .bd-slide-dot.active {
        background: #fff;
        transform: scale(1.3);
        box-shadow: 0 0 4px rgba(0,0,0,0.3);
    }

/* =====================================================
   LIGHTBOX
   ===================================================== */
.bd-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2147483647;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: bd-fade-in 0.25s ease;
}

    .bd-lightbox.open {
        display: flex !important;
    }

.bd-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    animation: bd-zoom-in 0.3s ease;
    cursor: default;
}

.bd-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

    .bd-lightbox-close:hover {
        background: rgba(255,255,255,0.25);
        transform: scale(1.1);
    }

.bd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    padding: 0;
}

    .bd-lightbox-nav:hover {
        background: rgba(255,255,255,0.25);
    }

    .bd-lightbox-nav.prev {
        left: 20px;
    }

    .bd-lightbox-nav.next {
        right: 20px;
    }

.bd-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 600;
    background: rgba(0,0,0,0.4);
    padding: 6px 16px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

@keyframes bd-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bd-zoom-in {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =====================================================
   SOCIAL & CLAIM
   ===================================================== */
.bd-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

    .bd-social:empty {
        display: none;
    }

    .bd-social a {
        display: inline-flex;
    }

        .bd-social a img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            transition: transform .15s;
        }

        .bd-social a:hover img {
            transform: translateY(-2px);
        }

.bd-claim-wrap {
    border-top: 1px solid var(--bd-line);
    padding-top: 14px;
    margin-top: 12px;
}

.bd-claim-heading {
    font-size: 14px;
    color: var(--bd-ink);
    margin-bottom: 8px;
    display: block;
}

.bd-claim-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bd-brand);
    text-decoration: none;
}

    .bd-claim-link:hover {
        text-decoration: underline;
    }

.bd-claimed-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bd-go-dark);
    font-weight: 700;
    font-size: 14px;
}

    .bd-claimed-status svg {
        width: 18px;
        height: 18px;
        fill: var(--bd-go);
    }

.bd-claim-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.bd-coupon {
    display: grid;
    gap: 6px;
}

    .bd-coupon .ccode {
        font-weight: 700;
    }

        .bd-coupon .ccode span {
            display: inline-block;
            padding: 2px 10px;
            border: 1.5px dashed var(--bd-go);
            border-radius: 6px;
            color: var(--bd-go-dark);
            margin-left: 6px;
        }

    .bd-coupon .cvalue, .bd-coupon .exvalue {
        font-size: 13px;
        color: var(--bd-muted);
    }

.bd-side-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--bd-ink);
    display: block;
}

/* =====================================================
   RELATED BUSINESS — round logo style
   ===================================================== */
.bd-page .bd-related a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--bd-line);
    font-size: 14px;
    font-weight: 600;
    color: var(--bd-brand);
    text-decoration: none;
    min-width: 0;
}

    .bd-page .bd-related a:first-of-type {
        border-top: 0;
    }

    .bd-page .bd-related a:hover {
        color: var(--bd-brand-dark);
        text-decoration: underline;
    }

.bd-rel-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid var(--bd-line);
    background: #f0f0f0;
    display: block;
}

.bd-rel-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bd-tweets h5 {
    margin: 0 0 8px;
    font-size: 15px;
}

.bd-embed {
    overflow: hidden;
}

/* =====================================================
   REVIEWS - FULL WIDTH STACKED LAYOUT
   ===================================================== */
#socialreview {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
    box-shadow: none !important;
}

section#writereview.bd-reviews {
    background: #fff !important;
    border: 0 !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 30px 32px 34px !important;
}

.bd-reviews h2.bd-rev-title {
    margin: 0 0 20px;
    padding: 0;
    font-size: 22px;
    color: var(--bd-ink);
}

.bd-review-form {
    background: var(--bd-soft);
    border: 1px solid var(--bd-line);
    border-radius: var(--bd-r-lg);
    padding: 24px;
    margin-bottom: 28px;
    max-width: 100%;
}

.bd-form-head {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
}

    .bd-form-head span {
        color: #136583;
    }

.review-rating-wrap {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .review-rating-wrap > b {
        font-size: 14px;
    }

.review-form-field {
    margin-bottom: 16px;
}

    .review-form-field b {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        color: var(--bd-ink);
    }

    .review-form-field input[type="text"], .review-form-field textarea {
        width: 100%;
        padding: 11px 14px;
        border: 1.5px solid var(--bd-line);
        border-radius: var(--bd-r-sm);
        background: #fff;
        color: var(--bd-ink);
        font: inherit;
        font-size: 14px;
        height: auto;
        box-shadow: none;
        margin: 0;
        transition: border-color .15s, box-shadow .15s;
    }

        .review-form-field input[type="text"]:focus, .review-form-field textarea:focus {
            outline: 0;
            border-color: var(--bd-brand);
            box-shadow: 0 0 0 4px rgba(10,126,164,.15);
        }

    .review-form-field textarea {
        min-height: 150px;
        resize: vertical;
    }

#btnSubmit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--bd-go) none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
    transition: background .15s;
}

    #btnSubmit:hover {
        background: var(--bd-go-dark);
        color: #fff;
    }

.error-alert {
    color: var(--bd-alert);
    font-size: 13px;
    margin-top: 5px;
    display: block;
    font-weight: 700;
}

.bd-review-form span[id$="lblerrorMessage"] {
    display: block;
    margin-bottom: 10px;
}

/* =====================================================
   CUSTOM STAR RATING — bullet-proof
   ===================================================== */
.custom-star-rating {
    display: inline-block !important;
    vertical-align: middle !important;
    font-size: 0 !important;
    line-height: 1 !important;
    position: relative !important;
    z-index: 5 !important;
    pointer-events: auto !important;
}

    .custom-star-rating .star-btn {
        display: inline-block !important;
        width: 30px !important;
        height: 30px !important;
        margin: 0 2px 0 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        outline: none !important;
        box-shadow: none !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        vertical-align: middle !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 5 !important;
        transition: transform .12s ease;
    }

        .custom-star-rating .star-btn:hover {
            transform: scale(1.15);
        }

        .custom-star-rating .star-btn:focus-visible {
            outline: 3px solid rgba(10,126,164,.45) !important;
            border-radius: 6px;
        }

        .custom-star-rating .star-btn::before {
            content: "" !important;
            display: block !important;
            width: 30px !important;
            height: 30px !important;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cbd5e1'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
            background-size: 30px 30px !important;
        }

        .custom-star-rating .star-btn.filled::before {
            background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5a524'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") !important;
        }

.userreview {
    background: #fff;
    border: 1px solid var(--bd-line);
    padding: 20px 24px;
    margin: 0 0 14px;
    border-radius: var(--bd-r-lg);
}

    .userreview b[itemprop="name"] {
        font-size: 16px;
        color: var(--bd-ink);
        display: block;
        margin-bottom: 6px;
    }

    .userreview .review-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 10px;
    }

    .userreview .rating {
        display: block;
    }

    .userreview .description {
        display: block;
        margin: 0 0 10px 0;
        color: var(--bd-body);
        line-height: 1.65;
        font-size: 14.5px;
    }

    .userreview .reviewby {
        font-size: 13px;
        color: var(--bd-muted);
        border-top: 1px solid var(--bd-line);
        padding-top: 10px;
        margin-top: 12px;
    }

        .userreview .reviewby b {
            color: var(--bd-ink);
        }

        .userreview .reviewby span {
            margin-left: 8px;
        }

/* =====================================================
   SUB-CATEGORY LIST
   ===================================================== */
.bd-cats .bd-subcat-list {
    list-style: disc;
    padding-left: 22px;
    margin: 6px 0 0;
    color: var(--bd-body);
    font-size: 14.5px;
}

    .bd-cats .bd-subcat-list li {
        margin: 0;
        padding: 2px 0;
        line-height: 1.5;
        white-space: normal;
        list-style: disc;
    }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
    .bd-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "hero" "map" "main" "side" "reviews";
    }

    .bd-side {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bd-map, #dvMap.Map {
        min-height: 320px;
    }

    .bd-two {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .bd-hero {
        padding: 22px 20px 20px;
    }

    .bd-head {
        flex-direction: column;
        gap: 14px;
    }

    .bd-titleblock {
        padding-right: 0;
    }

    .bd-main {
        padding-left: 20px;
        padding-right: 20px;
    }

    section#writereview.bd-reviews {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .bd-facts, .bd-side {
        grid-template-columns: minmax(0, 1fr);
    }

    .bd-actions a.bd-btn, .bd-web {
        flex: 1 1 100%;
        justify-content: center;
    }

    .bd-marquee-item {
        width: 220px;
        height: 140px;
    }

    .bd-lightbox {
        padding: 15px;
    }

    .bd-lightbox-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .bd-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

        .bd-lightbox-nav.prev {
            left: 8px;
        }

        .bd-lightbox-nav.next {
            right: 8px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .bd-page * {
        transition: none !important;
    }

    .bd-marquee-track {
        animation: none !important;
    }
}
