/* =========================================================
   SOUTHWEST COAST REALTY - IDX LISTING DETAILS
   ========================================================= */





:root {

    /* Tropical turquoise - primary color */
    --gold: #07888c;

    /* Dark tropical turquoise */
    --gold-dark: #05656a;

    /* Original Southwest Coast Realty brown/gold */
    --brown: #aa8453;

    /* Darker brown */
    --brown-dark: #8f6d42;

    /* Brighter tropical turquoise */
    --turquoise-light: #0baeb2;

    /* Light gold accent */
    --tropical-gold: #d5ad67;

    /* Existing neutrals */
    --charcoal: #242424;
    --dark: #171717;
    --gray: #6f6f6f;
    --light-gray: #f5f5f3;
    --border: #e2e2de;
    --white: #ffffff;

    /* Tropical gradients */
    --tropical-gradient:
        linear-gradient(
            135deg,
            #05656a 0%,
            #07888c 48%,
            #0baeb2 100%
        );

    --tropical-gradient-dark:
        linear-gradient(
            135deg,
            #034f53 0%,
            #056d71 50%,
            #07888c 100%
        );

    --max-width: 1380px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--charcoal);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.idx-container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.idx-hero {
    position: relative;
    width: 100%;
    height: min(72vh, 760px);
    min-height: 500px;
    overflow: hidden;
    background: #111;
}

/* =========================================================
   HERO LOGO
   ========================================================= */

.idx-hero-logo {
    position: absolute;
    top: 22px;
    left: 25px;

    z-index: 5;

    padding: 10px 14px;

   

   

    
}

.idx-hero-logo img {
    display: block;

    width: 190px;
    max-width: 100%;

    height: auto;
}

.idx-hero-image {
    position: absolute;
    inset: -3%;
    width: 106%;
    height: 106%;
    object-fit: cover;

    animation: idxKenBurns 18s ease-in-out infinite alternate;
}

@keyframes idxKenBurns {
    0% {
        transform: scale(1.02) translate(0, 0);
    }

    100% {
        transform: scale(1.11) translate(-1%, -1%);
    }
}

.idx-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.28) 48%,
            rgba(0,0,0,.05) 100%
        );
}

.idx-hero-content {
    position: absolute;
    left: 50%;
    bottom: 55px;
    transform: translateX(-50%);
    width: min(92%, var(--max-width));
    color: white;
}

.idx-hero-status {
    display: inline-block;
    padding: 7px 13px;
    margin-bottom: 14px;
    background: var(--gold);
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.idx-hero h1 {
    margin: 0 0 5px;
    max-width: 950px;
    font-size: clamp(30px, 4vw, 55px);
    line-height: 1.08;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.idx-hero-location {
    margin: 0;
    font-size: clamp(17px, 2vw, 23px);
}

.idx-hero-price {
    margin-top: 13px;
    font-size: clamp(28px, 3vw, 43px);
    font-weight: 700;
}


/* =========================================================
   TOP PROPERTY BAR
   ========================================================= */

.idx-property-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
}

.idx-property-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 105px;
}

.idx-quick-facts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.idx-quick-fact {
    min-width: 120px;
    padding: 0 25px;
    border-right: 1px solid var(--border);
}

.idx-quick-fact:first-child {
    padding-left: 0;
}

.idx-quick-fact:last-child {
    border-right: 0;
}

.idx-quick-number {
    display: block;
    color: var(--charcoal);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
}

.idx-quick-label {
    display: block;
    margin-top: 3px;
    color: var(--gray);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .8px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.idx-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.idx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid var(--gold);
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}

.idx-btn-primary {
    background: var(--gold);
    color: white;
}

.idx-btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.idx-btn-outline {
    background: white;
    color: var(--gold);
}

.idx-btn-outline:hover {
    background: var(--gold);
    color: white;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.idx-main {
    padding: 55px 0 75px;
}

.idx-section {
    margin-bottom: 65px;
}

.idx-section-title {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 14px;
    color: var(--charcoal);
    font-size: 29px;
    font-weight: 500;
}

.idx-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    background: var(--gold);
}


/* =========================================================
   PHOTO TEASER GRID
   ========================================================= */

.idx-photo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 8px;
    overflow: hidden;
}

.idx-photo-item {
    position: relative;
    overflow: hidden;
    background: #eee;
    cursor: pointer;
}

.idx-photo-item:first-child {
    grid-row: span 2;
}

.idx-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.idx-photo-item:hover img {
    transform: scale(1.035);
}

.idx-view-all {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 11px 17px;
    background: rgba(255,255,255,.94);
    color: #222;
    border: 0;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   PROPERTY DETAILS
   ========================================================= */

.idx-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.idx-detail {
    min-height: 90px;
    padding: 18px 20px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.idx-detail-label {
    display: block;
    margin-bottom: 5px;
    color: var(--gray);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.idx-detail-value {
    display: block;
    color: var(--charcoal);
    font-size: 17px;
    font-weight: 600;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.idx-description {
    max-width: 1050px;
    color: #444;
    font-size: 17px;
    line-height: 1.85;
}


/* =========================================================
   VIRTUAL TOUR
   ========================================================= */

.idx-tour {
    padding: 38px;
    background: var(--dark);
    color: white;
}

.idx-tour-title {
    margin: 0 0 10px;
    font-size: 29px;
    font-weight: 500;
}

.idx-tour p {
    margin-top: 0;
    color: #d0d0d0;
}

.idx-tour .idx-btn {
    margin-top: 8px;
}


/* =========================================================
   MAP
   ========================================================= */

.idx-map {
    width: 100%;
    height: 480px;
    background: var(--light-gray);
    overflow: hidden;
}

.idx-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   CONTACT / CTA
   ========================================================= */

.idx-contact-box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 45px;
    padding: 45px;
    background: var(--light-gray);
    border-left: 4px solid var(--gold);
}

.idx-contact-box h2 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 500;
}

.idx-contact-box p {
    margin: 0;
    color: var(--gray);
}

.idx-contact-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}


/* =========================================================
   MLS / ATTRIBUTION
   ========================================================= */

.idx-attribution {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    color: #777;
    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   PHOTO MODAL
   ========================================================= */

.idx-gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.96);
}

.idx-gallery-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.idx-gallery-image {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
}

.idx-gallery-close {
    position: absolute;
    top: 20px;
    right: 25px;
    border: 0;
    background: transparent;
    color: white;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.idx-gallery-prev,
.idx-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(0,0,0,.35);
    color: white;
    width: 55px;
    height: 70px;
    font-size: 34px;
    cursor: pointer;
}

.idx-gallery-prev {
    left: 15px;
}

.idx-gallery-next {
    right: 15px;
}

.idx-gallery-counter {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .idx-property-bar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 0;
    }

    .idx-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .idx-contact-box {
        grid-template-columns: 1fr;
    }

    .idx-contact-actions {
        justify-content: flex-start;
    }
}


@media (max-width: 760px) {

    .idx-hero {
        height: 65vh;
        min-height: 430px;
    }

    .idx-hero-content {
        bottom: 30px;
    }

    .idx-photo-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 150px;
    }

    .idx-photo-item:first-child {
        grid-column: span 2;
        grid-row: auto;
    }

    .idx-photo-item:nth-child(n+4) {
        display: none;
    }

    .idx-quick-fact {
        min-width: auto;
        padding: 8px 16px;
    }

    .idx-quick-fact:first-child {
        padding-left: 0;
    }

    .idx-details-grid {
        grid-template-columns: 1fr 1fr;
    }

    .idx-map {
        height: 380px;
    }

    .idx-contact-box {
        padding: 30px 25px;
    }

    .idx-actions {
        width: 100%;
    }

    .idx-actions .idx-btn {
        flex: 1;
    }
}


@media (max-width: 500px) {

    .idx-container {
        width: 94%;
    }

    .idx-hero {
        min-height: 400px;
    }

    .idx-hero h1 {
        font-size: 31px;
    }

    .idx-hero-price {
        font-size: 30px;
    }

    .idx-quick-facts {
        width: 100%;
    }

    .idx-quick-fact {
        width: 50%;
        padding: 10px 8px;
        border-right: 0;
    }

    .idx-details-grid {
        grid-template-columns: 1fr;
    }

    .idx-photo-grid {
        grid-template-rows: 220px 125px;
    }

    .idx-section {
        margin-bottom: 45px;
    }

    .idx-main {
        padding-top: 35px;
    }

    .idx-btn {
        width: 100%;
    }

    .idx-gallery-prev,
    .idx-gallery-next {
        width: 42px;
        height: 58px;
    }
	/* =========================================================
   PROPERTY MAP + 3D FLY AROUND
   ========================================================= */

.idx-map-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;
    background: #e9e9e9;
}

.idx-map-view {
    position: relative;
    width: 100%;
    height: 100%;
}

#idxGoogleMap,
#idx3DMap {
    width: 100%;
    height: 100%;
}

.idx-map-button {
    position: absolute;
    z-index: 20;
    right: 100px;
    bottom: 20px;

    padding: 12px 20px;

    /* Tropical turquoise gradient */
  background: linear-gradient(
    135deg,
    #05656a 0%,
    #07888c 55%,
    #0baeb2 100%
);

    /* Gold border like the property pin */
    border: 2px solid #d6a72a;
    border-radius: 7px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    box-shadow:
        0 3px 10px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.25);

    text-shadow: 0 1px 2px rgba(0,0,0,.35);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.idx-map-button:hover {
    background: linear-gradient(
        135deg,
        #0a9295 0%,
        #13bec1 45%,
        #09878b 100%
    );

    border-color: #e5bd48;

    box-shadow:
        0 4px 12px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.30);

    transform: translateY(-1px);
}

.idx-fly-controls {
    position: absolute;
    z-index: 20;
    right: 500px;
    bottom: 20px;

    display: flex;
    gap: 10px;
}

.idx-fly-controls .idx-map-button {
    position: static;
}

@media (max-width: 760px) {

    .idx-map-wrapper {
        height: 450px;
    }

    .idx-map-button {
        right: 12px;
        bottom: 12px;
    }

    .idx-fly-controls {
        right: 12px;
        bottom: 12px;
    }
}
}
/* =========================================================
   PROPERTY MAP + 3D FLY AROUND
   ========================================================= */

.idx-map-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;
    background: #e9e9e9;
}

.idx-map-view {
    position: relative;
    width: 100%;
    height: 100%;
}

#idxGoogleMap,
#idx3DMap {
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.idx-map-button {
    position: absolute;
    z-index: 20;
    right: 100px;
    bottom: 20px;

    padding: 12px 20px;

    /* Tropical turquoise gradient */
    background: linear-gradient(
        135deg,
        #087f82 0%,
        #09a8ad 45%,
        #08777c 100%
    );

    /* Gold border like the property pin */
    border: 2px solid #d6a72a;
    border-radius: 7px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    box-shadow:
        0 3px 10px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.25);

    text-shadow: 0 1px 2px rgba(0,0,0,.35);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.idx-map-button:hover {
    background: linear-gradient(
        135deg,
        #0a9295 0%,
        #13bec1 45%,
        #09878b 100%
    );

    border-color: #e5bd48;

    box-shadow:
        0 4px 12px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.30);

    transform: translateY(-1px);
}

.idx-fly-controls {
    position: absolute;
    z-index: 20;
    right: 500px;
    bottom: 20px;
    display: flex;
    gap: 10px;
}

.idx-fly-controls .idx-map-button {
    position: static;
}

@media (max-width: 760px) {

    .idx-map-wrapper {
        height: 450px;
    }

    #idxGoogleMap,
    #idx3DMap {
        min-height: 450px;
    }

    /* Fly Around button - top of normal map */
    .idx-map-button {
        right: 12px;
        top: 12px;
        bottom: auto;
    }

    /* Back To Map + Pause/Resume - top of 3D map */
    .idx-fly-controls {
        right: 12px;
        top: 12px;
        bottom: auto;
    }

    /* Buttons inside the fly controls */
    .idx-fly-controls .idx-map-button {
        position: static;
    }
}
/* =========================================================
   ALL PROPERTY PHOTO GRID
   ========================================================= */

.idx-all-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.idx-grid-photo {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;

    border: 0;
    background: none;

    aspect-ratio: 4 / 3;
    overflow: hidden;

    cursor: pointer;
}

.idx-grid-photo img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition:
        transform .3s ease,
        opacity .3s ease;
}

.idx-grid-photo:hover img {
    transform: scale(1.035);
    opacity: .92;
}


/* TABLET */

@media (max-width: 1000px) {

    .idx-all-photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* MOBILE */

@media (max-width: 700px) {

    .idx-all-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

}
.idx-slideshow-button {
    position: absolute;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 10005;

    padding: 11px 20px;

    background: var(--tropical-gradient);

    border: 2px solid var(--brown);

    border-radius: 6px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 3px 12px rgba(0,0,0,.45);
}

.idx-slideshow-button:hover {
    filter: brightness(1.1);
}

/* =========================================================
   PROPERTY DETAILS
   ========================================================= */

.idx-detail-group {
    margin-top: 32px;
}

.idx-detail-group-title {
    margin: 0 0 16px;

    color: var(--gold-dark);

    font-size: 20px;
    font-weight: 700;

    border-bottom: 2px solid var(--brown);

    padding-bottom: 9px;
}

.idx-detail-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px 30px;
}

.idx-detail-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 12px 0;

    border-bottom:
        1px solid var(--border);
}

.idx-detail-item span {
    color: var(--gold-dark);
    font-weight: 700;
}

.idx-detail-item strong {
    color: var(--charcoal);
    font-weight: 400;
    text-align: right;
}

.idx-detail-wide {
    grid-column: 1 / -1;
}


/* AMENITIES */

.idx-amenity-list {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;
}

.idx-amenity-pill {
    display: inline-block;

    padding: 7px 12px;

    background: #edf8f7;

    border:
        1px solid var(--gold);

    border-radius: 20px;

    color: var(--gold-dark);

    font-size: 14px;
    font-weight: 600;
}


/* MOBILE */

@media (max-width: 700px) {

    .idx-detail-grid {
        grid-template-columns: 1fr;
    }

    .idx-detail-wide {
        grid-column: auto;
    }

    .idx-detail-item {
        display: block;
    }

    .idx-detail-item span {
        display: block;
        margin-bottom: 4px;
    }

    .idx-detail-item strong {
        display: block;
        text-align: left;
    }
}
.idx-detail-stack {
    display: flex;
    flex-direction: column;
}
/* =========================================================
   HERO - DOM / NEW LISTING BADGES
   ========================================================= */

.idx-hero-listing-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.idx-dom-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    background: rgba(0, 0, 0, .58);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    backdrop-filter: blur(3px);
	
	
}

.idx-original-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 13px;

    background: rgba(0, 0, 0, .58);

    border:
        1px solid rgba(255, 255, 255, .65);

    border-radius: 5px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 400;

    letter-spacing: .2px;

    backdrop-filter: blur(3px);
}

.idx-original-price-badge strong {
    color: #ffffff;
    font-weight: 700;
}



.idx-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;

    background: linear-gradient(
        135deg,
        #05656a 0%,
        #07888c 50%,
        #0baeb2 100%
    );

    border: 2px solid var(--brown);
    border-radius: 5px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.2px;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .30);

    text-shadow:
        0 1px 2px rgba(0, 0, 0, .30);
}

.idx-development-snapshot {
    overflow: hidden;
    border: 1px solid #d9d9d4;
    border-radius: 10px;
    background: #ffffff;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, .08);
}

.idx-development-header {
    padding: 20px 22px;

    background: linear-gradient(
        135deg,
        #05656a 0%,
        #07888c 55%,
        #0baeb2 100%
    );

    border-bottom: 3px solid var(--brown);
}

.idx-development-name {
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
}

.idx-development-subtitle {
    margin-top: 5px;
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    letter-spacing: .4px;
}

.idx-development-body {
    padding: 5px 20px;
}

.idx-development-row {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.idx-development-row:last-child {
    border-bottom: 0;
}

.idx-development-type {
    margin-bottom: 7px;
    color: var(--gold-dark);
    font-size: 15px;
    font-weight: 700;
}

.idx-development-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.idx-development-count {
    color: var(--charcoal);
    font-size: 14px;
}

.idx-development-price {
    color: var(--charcoal);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}
/* =========================================================
   FORCE ABOUT PROPERTY INTO TWO COLUMNS
   ========================================================= */

.idx-about-two-column {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: none !important;

    gap: 40px !important;

    align-items: flex-start !important;
}


/* LEFT - PROPERTY DESCRIPTION */

.idx-about-two-column > .idx-about-left {
    display: block !important;

    flex: 0 0 calc(68% - 20px) !important;

    width: calc(68% - 20px) !important;
    max-width: calc(68% - 20px) !important;

    min-width: 0 !important;
}


/* RIGHT - DEVELOPMENT */

.idx-about-two-column > .idx-about-right {
    display: block !important;

    flex: 0 0 calc(32% - 20px) !important;

    width: calc(32% - 20px) !important;
    max-width: calc(32% - 20px) !important;

    min-width: 0 !important;
}


/* DEVELOPMENT BOX */

.idx-about-two-column
.idx-development-snapshot {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;

    box-sizing: border-box !important;
}


/* DESCRIPTION */

.idx-about-two-column
.idx-description {
    width: 100% !important;
    max-width: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .idx-about-two-column {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 30px !important;
    }


    .idx-about-two-column > .idx-about-left,
    .idx-about-two-column > .idx-about-right {
        flex: 0 0 100% !important;

        width: 100% !important;
        max-width: 100% !important;
    }

}

/* =========================================================
   BROKER RECIPROCITY DISCLOSURE
   ========================================================= */

.idx-br-disclosure {
    margin-top: 25px;
    padding-top: 22px;

    border-top: 1px solid var(--border);
}

.idx-br-logo {
    margin-bottom: 14px;
}

.idx-br-logo img {
    display: block;

    width: auto;
    max-width: 90px;
    height: auto;
}

.idx-br-text {
    max-width: 1200px;

    color: var(--gray);

    font-size: 12px;
    line-height: 1.65;
}

.idx-br-text p {
    margin: 0 0 10px;
}

.idx-br-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 760px) {

    .idx-hero-logo {
        top: 14px;
        left: 14px;

        padding: 7px 10px;
    }

    .idx-hero-logo img {
        width: 135px;
    }

}

/* =========================================================
   LISTING SECTION NAVIGATION
   ========================================================= */

.idx-listing-nav {
    display: flex;
    align-items: stretch;

    width: 100%;

    margin: 30px 0 38px;

    background: #ffffff;

    border: 1px solid rgba(5, 101, 106, .20);
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 6px 22px rgba(0, 0, 0, .07);
}

.idx-listing-nav-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;

    gap: 9px;

    padding: 17px 16px;

    color: var(--charcoal);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    border-right: 1px solid var(--border);

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.idx-listing-nav-link:last-child {
    border-right: 0;
}

.idx-listing-nav-link:hover {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #05656a 0%,
            #07888c 55%,
            #0baeb2 100%
        );
}

.idx-nav-icon {
    color: var(--brown);

    font-size: 19px;
    line-height: 1;
}

.idx-listing-nav-link:hover .idx-nav-icon {
    color: #ffffff;
}

.idx-listing-nav-link small {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 23px;
    height: 23px;

    margin-left: 4px;
    padding: 0 6px;

    color: #ffffff;
    background: var(--gold);

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
}

/* Make virtual tour stand out */

.idx-listing-nav-link.idx-nav-tour {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #05656a 0%,
            #07888c 55%,
            #0baeb2 100%
        );
}

.idx-listing-nav-link.idx-nav-tour .idx-nav-icon {
    color: #ffffff;
}

.idx-listing-nav-link.idx-nav-tour:hover {
    background:
        linear-gradient(
            135deg,
            #034f53 0%,
            #056d71 55%,
            #07888c 100%
        );
}

.idx-tour-embed {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #111;

    border-radius: 10px;

    box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

.idx-tour-embed iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}
.idx-tour-embed.idx-tour-zillow {
    aspect-ratio: auto;
    height: 700px;
}

.idx-tour-embed.idx-tour-zillow iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 760px) {

    .idx-tour-embed.idx-tour-zillow {
        height: 520px;
    }

}

/* =========================================================
   MOBILE LISTING NAVIGATION
   ========================================================= */

@media (max-width: 760px) {

    .idx-listing-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        width: 100% !important;

        border-radius: 10px;
        overflow: hidden;
    }

    .idx-listing-nav-link {
        width: 100% !important;
        min-width: 0 !important;

        flex: none !important;

        min-height: 64px;

        padding: 12px 10px !important;

        justify-content: flex-start;

        font-size: 13px;
        line-height: 1.25;

        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .idx-listing-nav-link:nth-child(even) {
        border-right: 0;
    }

    .idx-nav-icon {
        flex: 0 0 auto;
        font-size: 17px;
    }

    .idx-listing-nav-link small {
        flex: 0 0 auto;
    }

}

/* =========================================================
   SCROLL TO TOP BUTTON
   ========================================================= */

.idx-scroll-top {
    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid var(--tropical-gold);
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #05656a 0%,
            #07888c 55%,
            #0baeb2 100%
        );

    color: #ffffff;

    font-size: 25px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 5px 18px rgba(0, 0, 0, .22);

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease,
        box-shadow .2s ease;
}

.idx-scroll-top.idx-scroll-top-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.idx-scroll-top:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}

@media (max-width: 760px) {

    .idx-scroll-top {
        right: 16px;
        bottom: 16px;

        width: 46px;
        height: 46px;

        font-size: 22px;
    }

}

/* =========================================================
   SOUTHWEST COAST REALTY FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    background: #1e2423;
    color: #d8dddc;
    padding: 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.65;
}

.footer-accent {
    height: 5px;
    background:
        linear-gradient(
            90deg,
            var(--brown),
            var(--gold),
            var(--gold-dark)
        );
}

.footer-inner {
    width: min(var(--max-width), 94%);
    margin: auto;

    display: grid;
    grid-template-columns: 1.55fr .8fr .8fr 1fr;

    gap: 54px;

    padding: 56px 0 46px;
}


/* LOGO / COMPANY */

.footer-logo-wrap {
    display: inline-block;

    background: #ffffff;

    padding: 13px 16px 11px;

    border-bottom: 3px solid var(--brown);
}

.footer-logo-wrap img {
    display: block;

    width: 280px;
    max-width: 100%;
    height: auto;
}

.footer-brand p {
    max-width: 390px;

    margin: 20px 0 17px;

    color: #bcc5c3;
}

.footer-phone {
    color: #ffffff;

    font-size: 22px;
    font-weight: 700;

    text-decoration: none;
}

.footer-phone:hover {
    color: #d7b27e;
}


/* FOOTER COLUMNS */

.footer-column h3 {
    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;

    margin: 3px 0 17px;

    padding-bottom: 10px;

    border-bottom:
        1px solid rgba(255,255,255,.12);
}

.footer-column a,
.footer-column span {
    display: block;

    color: #c8d0ce;

    text-decoration: none;

    padding: 4px 0;
}

.footer-column a:hover {
    color: #d7b27e;
}

.footer-company {
    color: #aeb8b6;

    margin-top: 14px;
}


/* COPYRIGHT */

.footer-bottom {
    width: min(var(--max-width), 94%);

    margin: auto;

    border-top:
        1px solid rgba(255,255,255,.10);

    padding: 18px 0 22px;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    color: #9eaaa7;

    font-size: 12px;
}


/* =========================================================
   FOOTER TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .footer-inner {
        grid-template-columns:
            1.4fr 1fr 1fr;

        gap: 38px;
    }

    .footer-inner .footer-column:last-child {
        grid-column: 2 / 4;
    }

}


/* =========================================================
   FOOTER MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 42px 0 34px;
    }

    .footer-inner .footer-column:last-child {
        grid-column: auto;
    }

    .footer-logo-wrap img {
        width: 250px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 3px;
    }

}

/* =========================================================
   IDX SCROLLING HEADER
   ========================================================= */

.idx-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 92px;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        height 0.35s ease;
}

.idx-site-logo {
    display: block;
}

.idx-site-logo img {
    display: block;
    width: auto;
    max-width: 280px;
    max-height: 72px;
    transition: max-height 0.35s ease;
}


/* AFTER SCROLL */

.idx-site-header.idx-header-scrolled {
    height: 76px;

    background: linear-gradient(
        135deg,
        #087f7a 0%,
        #10a69b 100%
    );

    border-bottom: 2px solid #aa8453;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.18);
}

.idx-site-header.idx-header-scrolled .idx-site-logo img {
    max-height: 58px;
}


/* MOBILE */

@media (max-width: 767px) {

    .idx-site-header {
        height: 74px;
    }

    .idx-site-logo img {
        max-width: 220px;
        max-height: 58px;
    }

    .idx-site-header.idx-header-scrolled {
        height: 66px;
    }

    .idx-site-header.idx-header-scrolled .idx-site-logo img {
        max-height: 50px;
    }
}

/* =========================================================
   FULL SITE NAVIGATION - IDX
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 14px 0;

    background: linear-gradient(
        135deg,
        #086f70 0%,
        #108889 100%
    );

    border-bottom: 2px solid #aa8453;

    transition: all 0.35s ease;
}

.navbar .container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
}

.navbar .logo-wrapper {
    flex-shrink: 0;
}

.navbar .logo img {
    display: block;
    width: 270px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
}

.navbar-collapse {
    margin-left: auto;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar .nav-item {
    position: relative;
    list-style: none;
}

.navbar .nav-link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.25s ease;
}

.navbar .nav-link:hover {
    color: #d7b078;
}


/* SCROLLED HEADER - MATCH NEW HOMES */

.navbar.nav-scroll {
    padding: 12px 0;
    min-height: 87px;

    background: linear-gradient(
    135deg,
    #05656a 0%,
    #07888c 55%,
    #0baeb2 100%
);

    border-bottom: 2px solid #aa8453;

    box-shadow:
        0 4px 16px rgba(0,0,0,.15);
}

.navbar.nav-scroll .container {
    min-height: 61px;
}

.navbar.nav-scroll .logo img {
    width: 270px;
    max-height: 65px;
    object-fit: contain;
}

/* SEARCH DROPDOWN */

.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 230px;
    margin: 0;
    padding: 10px 0;
    background: #fff;
    border: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.16);
    list-style: none;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown-item {
    list-style: none;
}

.navbar .dropdown-item a {
    display: block;
    padding: 8px 18px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.navbar .dropdown-item a:hover {
    color: #087f7a;
    background: #f6f6f6;
}


/* MOBILE BUTTON */

.navbar-toggler {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}


/* MOBILE */

@media (max-width: 1024px) {

    .navbar {
        padding: 10px 0;
    }

    .navbar .container {
        padding: 0 18px;
        flex-wrap: wrap;
    }

    .navbar .logo img {
        width: 165px;
    }

    .navbar-toggler {
        display: block;
    }

    .navbar-collapse {
        display: none;
        width: 100%;
        margin: 10px 0 0;
    }

    .navbar-collapse.show {
        display: block;
    }

    .navbar-nav {
        display: block;
        width: 100%;
        padding: 12px 18px;
        background: #087f7a;
    }

    .navbar .nav-item {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .navbar .nav-link {
        display: block;
        padding: 10px 0;
    }

    .navbar .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,.12);
    }

    .navbar .dropdown-item a {
        color: #fff;
        white-space: normal;
    }
}

/* =========================================================
   IDX MOBILE HAMBURGER - FORCE VISIBLE
   ========================================================= */

@media (max-width: 1024px) {

    .navbar .navbar-toggler {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;

        width: 44px !important;
        height: 40px !important;
        padding: 6px !important;

        background: transparent !important;
        border: 1px solid rgba(255,255,255,.65) !important;
        border-radius: 3px !important;

        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10001 !important;
        cursor: pointer !important;
    }

    .navbar .navbar-toggler-icon {
        display: block !important;
        position: relative !important;
        width: 24px !important;
        height: 2px !important;
        background: #ffffff !important;
    }

    .navbar .navbar-toggler-icon::before,
    .navbar .navbar-toggler-icon::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        width: 24px !important;
        height: 2px !important;
        background: #ffffff !important;
    }

    .navbar .navbar-toggler-icon::before {
        top: -7px !important;
    }

    .navbar .navbar-toggler-icon::after {
        top: 7px !important;
    }
}

/* =========================================================
   FINAL IDX NAVIGATION FIX
   Desktop dropdown + mobile menu + Search arrow
   ========================================================= */


/* ---------------------------------------------------------
   SEARCH GOLD TRIANGLE
   --------------------------------------------------------- */

.navbar .dropdown > .nav-link::after {
    content: "▼";
    display: inline-block;
    margin-left: 7px;

    color: #d5ad67;

    font-size: 11px;
    line-height: 1;

    vertical-align: 1px;
}


/* ---------------------------------------------------------
   DESKTOP SEARCH DROPDOWN
   Center directly underneath SEARCH
   --------------------------------------------------------- */

@media (min-width: 1025px) {

    .navbar .dropdown-menu {
        left: 50% !important;
        right: auto !important;

        transform: translateX(-50%) !important;

        min-width: 270px !important;

        background: #ffffff !important;

        border-top: 2px solid #aa8453 !important;
        border-radius: 0 0 7px 7px !important;

        box-shadow: 0 10px 30px rgba(0,0,0,.18) !important;
    }

}


/* ---------------------------------------------------------
   MOBILE / TABLET NAVIGATION
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    /*
       Keep the opened main menu tropical,
       but make its position/layout clean.
    */

    .navbar-collapse {
        width: 100% !important;
    }

    .navbar-collapse.show {
        display: block !important;
    }

    .navbar-nav {
        width: 100% !important;

        margin: 10px 0 0 !important;
        padding: 12px 18px !important;

        background: #07888c !important;
    }


    /* -----------------------------------------
       MOBILE SEARCH SUBMENU
       White like desktop
       ----------------------------------------- */

    .navbar .dropdown-menu {
        position: static !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 5px 0 8px !important;

        transform: none !important;

        background: #ffffff !important;

        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;
    }


    .navbar .dropdown-item {
        background: #ffffff !important;
        border: 0 !important;
    }


    .navbar .dropdown-item a {
        display: block !important;

        padding: 9px 15px !important;

        color: #333333 !important;
        background: #ffffff !important;

        font-size: 13px !important;

        white-space: normal !important;
    }


    .navbar .dropdown-item a:hover {
        color: #05656a !important;
        background: #f5f5f3 !important;
    }


    /*
       Gold triangle remains visible on mobile
    */

    .navbar .dropdown > .nav-link::after {
        color: #d5ad67 !important;
    }

}

/* =========================================================
   KEEP MOBILE HAMBURGER AT TOP WHEN MENU OPENS
   ========================================================= */

@media (max-width: 1024px) {

    .navbar .navbar-toggler {
        top: 18px !important;
        right: 20px !important;
        transform: none !important;
    }

}