/* Dynamic property reels */
.reels-outer {
    padding: 4px 0 2px;
}

.reels-track {
    gap: 16px;
    padding: 4px 2px 18px;
}

.reel-card {
    width: 210px;
    border: 1px solid rgba(216,228,225,.9);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(16,37,45,.1);
}

.reel-card:hover {
    box-shadow: 0 18px 38px rgba(16,37,45,.18);
}

.reel-thumb-wrap {
    background: linear-gradient(160deg, #123b52, #1b6070);
}

.reel-thumb-img {
    transition: transform .35s ease, opacity .28s;
}

.reel-card:hover .reel-thumb-img {
    transform: scale(1.045);
}

.reel-top-meta {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.reel-channel,
.reel-duration {
    max-width: 68%;
    padding: 4px 8px;
    overflow: hidden;
    color: #fff;
    background: rgba(9,37,54,.72);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 5px;
    backdrop-filter: blur(8px);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.reel-duration {
    max-width: none;
    color: #fff;
    background: rgba(229,107,69,.9);
    border-color: transparent;
}

.reel-play-btn {
    width: 54px;
    height: 54px;
    color: #123b52;
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    font-size: .92rem;
}

.reel-card:hover .reel-play-btn {
    background: #e56b45;
    color: #fff;
}

.reel-caption {
    padding: 12px 13px 14px;
}

.reel-caption-name {
    font-size: .82rem;
    line-height: 1.35;
}

.reel-caption-loc {
    margin-top: 4px;
    font-size: .64rem;
    color: rgba(255,255,255,.78);
}

.reels-empty {
    width: 100%;
    padding: 40px 20px;
    color: var(--tx3);
    background: #fff;
    border: 1px dashed var(--br2);
    border-radius: 10px;
    font-size: .84rem;
    text-align: center;
}

.reels-arrow {
    right: -4px;
    width: 42px;
    height: 42px;
    color: #123b52;
    border-color: var(--br2);
    font-weight: 800;
}

.reels-arrow:hover {
    background: var(--teal);
    border-color: var(--teal);
}

@media(max-width:640px) {
    .reel-card {
        width: 174px;
        border-radius: 10px;
    }

    .reel-caption {
        padding: 10px 10px 12px;
    }

    .reel-caption-name {
        font-size: .72rem;
    }

    .reel-caption-loc {
        font-size: .58rem;
    }

    .reel-play-btn {
        width: 46px;
        height: 46px;
    }
}


/* ════════════════════════════════════
   WATCH REELS — homepage section
════════════════════════════════════ */
.reels-outer {
    position: relative;
    overflow: hidden
}

.reels-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 0 12px;
    -ms-overflow-style: none;
    scrollbar-width: none
}

    .reels-track::-webkit-scrollbar {
        display: none
    }

.reel-card {
    flex-shrink: 0;
    width: 180px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 4px 18px rgba(0,0,0,.10);
    transition: transform .22s,box-shadow .22s;
    scroll-snap-align: start
}

    .reel-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 40px rgba(0,0,0,.18)
    }

.reel-thumb-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;
    background: #111;
    overflow: hidden
}

.reel-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .28s
}

.reel-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
    pointer-events: none
}

.reel-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(0,0,0,.72) 0%,rgba(0,0,0,.08) 55%,transparent 80%);
    pointer-events: none
}

.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-58%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #111;
    transition: all .2s;
    pointer-events: none;
    backdrop-filter: blur(4px)
}

.reel-card:hover .reel-play-btn {
    background: var(--or);
    color: #fff;
    transform: translate(-50%,-58%) scale(1.12)
}

.reel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px 12px;
    color: #fff;
    pointer-events: none
}

.reel-caption-name {
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.reel-caption-loc {
    font-size: .66rem;
    opacity: .82;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.reels-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    color: #111827;
}

    .reels-arrow:hover {
        background: #E8572A;
        color: #ffffff;
        border-color: #E8572A;
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 6px 20px rgba(232, 87, 42, 0.4);
    }

.reels-arrow-prev {
    left: -12px;
}

.reels-arrow-next {
    right: -12px;
}

@media(max-width: 640px) {
    .reels-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .reels-arrow-prev { left: 4px; }
    .reels-arrow-next { right: 4px; }
}
/* Reel fullscreen popup */
.reel-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,.94);
    align-items: center;
    justify-content: center;
    flex-direction: column
}

    .reel-popup.open {
        display: flex
    }

.reel-popup-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    padding: 0
}

.reel-popup-title {
    color: rgba(255,255,255,.85);
    font-size: .84rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    max-width: 88%;
    padding: 0 16px
}

.reel-popup-box {
    width: min(360px,86vw);
    position: relative;
    padding-bottom: min(640px,152vw);
    height: 0;
    overflow: hidden;
    border-radius: 14px
}

    .reel-popup-box iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 14px
    }


/* Original final card radius, followed by homepage container integration. */
.reel-card { border-radius: 8px; }
.hp-reels { --teal: #0A4B6E; }
.hp-reels .sh { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.hp-reels .eyebrow { color:#E8921A; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:2px; margin-bottom:5px; }
.hp-reels .sh-title { font-size:26px; font-weight:800; color:#0A4B6E; line-height:1.2; }
.hp-reels .sh-sub { font-size:13px; color:#5A7184; margin-top:5px; }
.hp-reels .sh-link { color:#0A4B6E; font-size:13px; font-weight:700; white-space:nowrap; }
.hp-reels .reels-arrow { border:1.5px solid #e5e7eb; }
@media(max-width:640px) { .hp-reels .sh-title { font-size:22px; } }
