/* ============================================================
   Take a Virtual Tour page (Home/TakeTour) - redesign
   Warm green / navy design system shared with the property detail
   page. Styling only: the Plyr <video> players, #photolist and the
   Back-to-Details link keep working. Scoped to .tour-page so nothing
   leaks into the shared _Layout header/footer.
   ============================================================ */

.tour-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 20px 76px;
}

/* ---------- Header ---------- */
.tour-page > .row:first-child {
    align-items: flex-start;
    margin-bottom: 8px;
}

.tour-page .featured-address {
    font-style: normal;
    margin: 0;
}

.tour-page .tour-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #21b389;
    margin-bottom: 10px;
}

.tour-page .featured-address h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.15;
    color: #252525;
    margin: 0 0 10px;
    letter-spacing: -.01em;
    text-wrap: balance;
}

.tour-page .featured-address h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 400;
    color: #707070;
    margin: 0;
}

.tour-page .tour-pin {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: #21b389;
}

/* Back to Details button (keeps its inline CMS colour; we refine shape). */
.tour-page .btn.btn-danger {
    border-radius: 10px !important;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px;
    box-shadow: none;
    color: #fff !important;
    transition: filter .18s ease, transform .18s ease;
}

/* Drop Bootstrap's red .btn-danger focus/active glow (box-shadow ring) on
   click; keyboard users still get a visible focus outline, in green. */
.tour-page .btn.btn-danger:focus,
.tour-page .btn.btn-danger:active,
.tour-page .btn.btn-danger:active:focus,
.tour-page .btn.btn-danger:not(:disabled):not(.disabled):active,
.tour-page .btn.btn-danger:not(:disabled):not(.disabled):active:focus {
    box-shadow: none !important;
    outline: none;
}

.tour-page .btn.btn-danger:focus-visible {
    outline: 2px solid #21b389;
    outline-offset: 2px;
}

.tour-page .btn.btn-danger:hover {
    filter: brightness(.94);
    transform: translateY(-1px);
    color: #fff !important;
}

/* ---------- Video / tour area ---------- */
.tour-page #photolist {
    margin-top: 30px;
}

.tour-page #photolist > .col-md-12 {
    padding: 0;
}

.tour-page #photolist video,
.tour-page #photolist .plyr {
    width: 100% !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 44px rgba(16, 24, 40, .14);
    background: #0e1826;
}

.tour-page #photolist video {
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 22px;
}

.tour-page #photolist br {
    display: none;
}

/* ---------- Empty state (no tour video yet) ---------- */
.tour-page .tour-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 76px 24px;
    margin-top: 30px;
    background: #f3faf7;
    border: 1px solid #e8e4dc;
    border-radius: 16px;
}

.tour-page .tour-empty svg {
    width: 62px;
    height: 62px;
    color: #21b389;
    opacity: .85;
    margin-bottom: 18px;
}

.tour-page .tour-empty h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #252525;
    margin: 0 0 8px;
}

.tour-page .tour-empty p {
    font-size: .98rem;
    line-height: 1.6;
    color: #707070;
    max-width: 430px;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .tour-page {
        padding: 32px 16px 56px;
    }

    .tour-page .float-right {
        float: none !important;
        margin-top: 14px;
    }
}
