/**
 * Taxonomy Location Styles
 * Styles specific to condo/location archive pages
 */

/* Sticky Condo Name Section - sticks at top */
.condo-name-section {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: linear-gradient(135deg, rgb(52 152 219 / 95%) 50%, rgb(41 128 185 / 95%) 100%);
    padding: 20px 0;
    margin-bottom: 40px;
    animation: heroGlow 12s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% {
        box-shadow: inset 0 0 30px rgb(255 255 255 / 8%);
    }

    50% {
        box-shadow: inset 0 0 40px rgb(255 255 255 / 12%);
    }
}

.condo-name-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgb(255 255 255 / 5%) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgb(255 255 255 / 5%) 0%, transparent 50%);
    pointer-events: none;
}

/* Override condo-menu-info from property-archive.css to stack below condo-name-section */
.condo-menu-info {
    top: 140px;
}

.condo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Left Column - Condo Project Info */
.hp-sticky-hero-col-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-sticky-hero-project-title {
    font-size: 42px;
    font-weight: 700;
    margin: 10px 0 5px;
    line-height: 1.2;
    color: #fff;
}

.hp-sticky-hero-address-subtitle {
    font-size: 14px;
    color: rgb(255 255 255 / 90%);
    margin-top: 0.5rem;
    text-align: left;
}

.hp-sticky-hero-location-description {
    color: rgb(255 255 255 / 90%);
    font-size: 14px;
    margin-top: 0.5rem;
}

.hp-sticky-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.hp-sticky-hero-coming-soon {
    background: #F4A261;
    color: #fff;
}

/* Right Column - Sticky Hero Content (Agent Info) */
.hp-sticky-hero-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
}

/* Left side wrapper - stacks info and CTAs */
.the-left-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-sticky-hero-image {
    flex-shrink: 0;
}

.hp-sticky-hero-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgb(255 255 255 / 100%);
    box-shadow: 0 4px 15px rgb(0 0 0 / 20%);
}

.hp-sticky-hero-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    text-align: center;
}

.hp-sticky-hero-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #fff;
}

.hp-sticky-realtor-name {
    color: rgb(255 255 255 / 85%);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.hp-sticky-hero-ctas {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-left: auto;
}

.hp-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.3s ease;
    border: 2px solid;
    text-align: center;
    white-space: nowrap;
}

.hp-sticky-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgb(255 255 255 / 80%);
}

.hp-sticky-btn-secondary:hover {
    background: rgb(255 255 255 / 10%);
    color: #fff;
    border-color: rgb(255 255 255 / 100%);
}

.hp-sticky-btn-warning {
    background: #F4A261;
    color: #fff;
    border-color: white;
}

.hp-sticky-btn-warning:hover {
    background: #F4A261;
    border-color: white;
}

/* Responsive - Hide/Show Contact Buttons */
.hp-sticky-contact-desktop {
    display: inline-flex;
}

.hp-sticky-contact-mobile {
    display: none;
}

/* ===================================
   HEADER VISIBILITY CONTROL
   Show/hide desktop vs mobile headers based on breakpoint
   =================================== */

/* Desktop: Show condo-header, hide mobile-condo-header */
.condo-header {
    display: flex;
}

.mobile-condo-header {
    display: none;
}

/* Mobile: Hide condo-header, show mobile-condo-header */
@media (width <= 768px) {
    .condo-header {
        display: none;
    }

    .mobile-condo-header {
        display: block;
    }

    .condo-name-section {
        padding: 10px 0;
        margin-bottom: 20px;
    }

    .condo-menu-info {
        display: none;
    }
}

/* ===================================
   MOBILE HERO STYLES
   Styles for hp-sticky-mobile-hero-* classes
   Match mobile version of hp-sticky-hero from front-page.php
   =================================== */

.hp-sticky-mobile-hero-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
}

.hp-sticky-mobile-hero-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.hp-sticky-mobile-hero-image img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgb(255 255 255 / 100%);
    box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
    display: block;
}

.hp-sticky-mobile-hero-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    align-items: flex-end;
    text-align: right;
}

.hp-sticky-mobile-hero-name {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-sticky-mobile-realtor-name {
    color: rgb(255 255 255 / 85%);
    font-size: 11px;
    font-weight: 500;
    margin: 0;
}

.hp-sticky-mobile-hero-ctas {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.hp-sticky-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    white-space: nowrap;
}

.hp-sticky-mobile-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgb(255 255 255 / 100%);
}

.hp-sticky-mobile-btn-secondary:hover {
    background: rgb(255 255 255 / 15%);
    border-color: rgb(255 255 255 / 100%);
}

.hp-sticky-mobile-btn-warning {
    background: #F4A261;
    color: #fff;
    border-color: white;
}

.hp-sticky-mobile-btn-warning:hover {
    background: #e89553;
    border-color: white;
}

.hp-sticky-mobile-contact-desktop {
    display: none;
}

.hp-sticky-mobile-contact-mobile {
    display: inline-flex;
}

/* Mobile Hero Col Left - Project Info */
.hp-sticky-mobile-hero-col-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    width: 100%;
    border-top: 1px solid rgb(255 255 255 / 30%);
    padding-top: 10px;
}

.hp-sticky-mobile-hero-project-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #fff;
}

.hp-sticky-mobile-hero-address-subtitle {
    font-size: 12px;
    color: rgb(255 255 255 / 90%);
    margin-top: 0.5rem;
    text-align: center;
}

.hp-sticky-mobile-hero-property-links {
    font-size: 12px;
    color: rgb(255 255 255 / 90%);
}

.hp-sticky-mobile-hero-property-links a {
    color: rgb(255 255 255 / 100%);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 2px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hp-sticky-mobile-hero-property-links a:hover,
.hp-sticky-mobile-hero-property-links a:active {
    color: #F4A261;
    text-decoration-style: solid;
}

.hp-sticky-mobile-hero-location-description {
    color: rgb(255 255 255 / 90%);
    font-size: 12px;
    margin-top: 0.5rem;
    text-align: center;
}

.hp-sticky-mobile-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.hp-sticky-mobile-hero-coming-soon {
    background: #F4A261;
    color: #fff;
}

/* Extra small screens - even more compact */
@media (width <= 480px) {
    .hp-sticky-mobile-hero-content {
        padding:8px;
        gap: 8px
    }

    .hp-sticky-mobile-hero-image img {
        width: 45px;
        height: 45px;
    }

    .hp-sticky-mobile-hero-name {
        font-size: 14px;
    }

    .hp-sticky-mobile-realtor-name {
        font-size: 10px;
    }

    .hp-sticky-mobile-hero-ctas {
        gap: 6px;
    }

    .hp-sticky-mobile-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Responsive Design */
@media (width >= 769px) and (width <= 1024px) {
    .hp-sticky-hero-content {
        flex-direction: column;
        gap: 15px;
    }

    .hp-sticky-hero-ctas {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

@media (width <= 768px) {
    .condo-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .hp-sticky-hero-col-left {
        width: 100%;
        order: 2;
    }

    .hp-sticky-hero-content {
        order: 1;
        flex-direction: row-reverse;
        gap: 10px;
        width: 100%;
        justify-content: flex-start;
    }

    .hp-sticky-hero-project-title {
        font-size: 20px;
        margin: 0;
    }

    .hp-sticky-hero-address-subtitle {
        margin-top: 4px;
    }

    .hp-sticky-hero-location-description,
    .hp-sticky-hero-badge {
        display: none;
    }

    .the-left-side {
        flex: 0 0 auto;
        max-width: 60%;
    }

    .hp-sticky-hero-image {
        flex: 1;
        padding-right: 10px;
        display: flex;
        justify-content: flex-end;
    }

    .hp-sticky-hero-image img {
        width: 90px;
        height: 90px;
        border-width: 4px;
    }

    .hp-sticky-hero-ctas {
        margin-left: 0;
        flex-direction: row;
        gap: 4px;
        justify-content: center;
    }

    .hp-sticky-btn {
        padding: 6px 10px;
        font-size: 10px;
        white-space: nowrap;
    }

    .hp-sticky-contact-desktop {
        display: none;
    }

    .hp-sticky-contact-mobile {
        display: inline-flex;
    }
}

@media (width <= 480px) {
    .hp-sticky-hero-project-title {
        font-size: 18px;
    }

    .hp-sticky-hero-image img {
        width: 75px;
        height: 75px;
        border-width: 3px;
    }

    .hp-sticky-hero-ctas {
        flex-direction: row;
        gap: 4px;
    }

    .hp-sticky-btn {
        flex: 1;
        padding: 6px 8px;
        font-size: 10px;
    }
}

/* ===================================
   CONDO LAYOUT STYLES (from property-archive.css)
   Moved to taxonomy-location.css for proper specificity
   =================================== */

/* Condo Gallery Section - First Image Dominant Layout */
.condo-gallery-section {
    background: #f8f9fa;
    margin-bottom: 20px;
    position: relative;
}

.condo-gallery-grid {
    display: grid;
    grid-template-columns: calc(70% - 20px) 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 6px;
    width: 100%;
    height: 600px;
    max-width: 1400px;
    margin: 0 auto;
}

.condo-gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgb(0 0 0 / 10%);
    cursor: pointer;
    background: #fff;
}

/* First image takes 70% width, spans all 3 rows */
.condo-gallery-item:first-child {
    grid-column: 1;
    grid-row: 1 / 4;
}

.condo-gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.condo-gallery-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.condo-gallery-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.condo-gallery-item:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

.condo-gallery-item:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
}

.condo-gallery-item:nth-child(7) {
    grid-column: 3;
    grid-row: 3;
    position: relative;
}

.condo-gallery-item:nth-child(n+8) {
    display: none;
}

.condo-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.condo-gallery-item:hover {
    filter: brightness(1.1);
}

/* Image overlay for better visual hierarchy */
.condo-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(0 0 0 / 10%) 0%, rgb(0 0 0 / 30%) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.condo-gallery-item .video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgb(255 255 255 / 90%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgb(0 0 0 / 30%);
}

.condo-gallery-item:hover .video-play-button {
    background: rgb(255 255 255 / 100%);
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-counter {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgb(0 0 0 / 80%);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 4;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 30%);
}

.gallery-counter:hover {
    background: rgb(0 0 0 / 90%);
}

/* Hide old gallery elements */
.condo-gallery-main,
.gallery-main-image,
.gallery-thumbnail-scroll,
.gallery-thumbnail {
    display: none;
}

/* Video Thumbnails */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid transparent;
}

.video-thumbnail:hover {
    transform: scale(1.02);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgb(102 126 234 / 30%);
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgb(0 0 0 / 40%), rgb(0 0 0 / 60%));
    opacity: 0.8;
}

.video-thumbnail:hover .video-overlay-bg {
    opacity: 1;
}

.video-play-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgb(0 0 0 / 30%);
    transition: all 0.3s ease;
    border: 3px solid rgb(255 255 255 / 90%);
}

.video-thumbnail:hover .video-play-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgb(0 0 0 / 40%);
}

.video-play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 3px;
}

/* Add a subtle video badge */
.video-play-overlay::after {
    content: 'VIDEO';
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgb(0 0 0 / 80%);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Main Video Container */
.main-video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.main-video-container iframe,
.main-video-container video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Condo Menu Info Section - Sticky Navigation */
.condo-menu-info {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgb(0 0 0 / 5%);
    position: sticky;
    z-index: 99;
    margin-bottom: 30px;
}

.condo-menu-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.condo-menu-nav::-webkit-scrollbar {
    display: none;
}

.condo-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    white-space: nowrap;
    width: 100%;
    justify-content: space-between;
}

.condo-menu-item {
    flex-shrink: 0;
    flex: 1;
    text-align: center;
}

.condo-menu-link {
    display: block;
    padding: 16px 24px;
    color: var(--color-gray-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.condo-menu-link:hover,
.condo-menu-link.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: rgb(59 130 246 / 5%);
}

.condo-menu-link:hover {
    transform: translateY(-1px);
}

.condo-menu-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(59 130 246 / 50%);
}

/* Main Content Layout: Full Width */
.condo-main-layout {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0;
    padding: 0;
    align-items: flex-start;
    box-sizing: border-box;
}

.condo-content-area {
    flex: 1;
    min-width: 0;
    width: 100%;
    margin-bottom:20px;
}

.condo-content-area h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.condo-sidebar {
    display: none;
}

.agent-cta-area {
    display: none;
}

/* Property Details Grid - Strata.ca Style */
.property-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 32px;
    margin-bottom: 20px;
    padding: 0;
}

.property-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
    margin-bottom: 8px;
    min-height: 36px;
}

.property-detail-item:last-child {
    border-bottom: 1px solid #e5e7eb;
}

.detail-icon-label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.detail-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon-svg {
    width: 18px;
    height: 18px;
    color: #4b5563;
    opacity: 1;
}

.detail-label-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.detail-label {
    font-weight: 400;
    color: var(--color-gray-text);
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
}

.detail-value-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.detail-value {
    color: #374151;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
}

.property-detail-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 4px;
    margin: -4px;
}

.property-detail-clickable:hover {
    background-color: rgb(59 130 246 / 4%);
    border-color: rgb(59 130 246 / 20%);
}

.property-detail-clickable:focus {
    outline: 2px solid rgb(59 130 246 / 50%);
    outline-offset: 2px;
}

.property-detail-clickable .detail-value {
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.property-detail-clickable:hover .detail-value,
.property-detail-clickable:active .detail-value {
    color: #3b82f6;
    text-decoration-style: solid;
}

/* Condo Amenities Area */
.condo-amenities-area {
    background: none;
    border-radius: 0;
    padding: 0;
    margin: 30px 0 0;
    box-shadow: none;
    border: none;
}

.condo-amenities-area h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.condo-amenities-area .property-details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.condo-amenities-area .property-detail-item {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 14px;
    margin: 0;
    min-height: auto;
    transition: all 0.3s ease;
}

.condo-amenities-area .property-detail-item:hover {
    background: #e5e7eb;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

.condo-amenities-area .detail-value-container {
    display: none;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 90%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: none;
    border: none;
    padding: 10px;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
    color: #3b82f6;
    transform: scale(1.1);
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 80%);
    transition: transform 0.3s ease;
    transform-origin: center center;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

#lightbox-image:active {
    cursor: grabbing;
}

.lightbox-video-container {
    max-width: 90vw;
    max-height: 90vh;
    display: none;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 80%);
}

.lightbox-video-container iframe,
.lightbox-video-container video {
    width: 100%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 8px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(0 0 0 / 70%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgb(0 0 0 / 90%);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: fixed;
    top: 80px;
    right: 20px;
    color: white;
    font-size: 0.9rem;
    background: rgb(0 0 0 / 70%);
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ===================================
   MOBILE RESPONSIVE STYLES
   =================================== */

/* Tablet Breakpoint - 1024px and below */
@media (width <= 1024px) {
    .condo-gallery-grid {
        grid-template-columns: calc(60% - 10px) 1fr 1fr;
        height: 500px;
    }
}

/* Mobile Breakpoint - 768px and below */
@media (width <= 768px) {
    /* Condo Menu Navigation */
    .condo-menu-nav {
        justify-content: flex-start;
        padding: 0 15px;
    }

    .condo-menu-list {
        justify-content: flex-start;
        gap: 10px;
    }

    .condo-menu-item {
        flex: none;
        text-align: left;
    }

    .condo-menu-link {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    /* Mobile Gallery - Horizontal Scroll */
    .condo-gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        height: 400px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: relative;
    }

    .condo-gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .condo-gallery-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
        height: 100%;
    }

    .condo-gallery-item:nth-child(n+2) {
        grid-column: unset;
        grid-row: unset;
        display: flex;
    }

    /* Hide original counter badge on mobile */
    .gallery-counter {
        display: none;
    }

    /* Mobile gallery counter - Fixed on section, not on scrolling grid */
    .condo-gallery-section::after {
        content: attr(data-total-images) ' PICS';
        position: absolute;
        top: 12px;
        right: 12px;
        background: rgb(0 0 0 / 80%);
        color: white;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 600;
        z-index: 10;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 8px rgb(0 0 0 / 30%);
        pointer-events: none;
    }

    .condo-gallery-item .video-play-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Property Details Grid - Single Column */
    .property-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .property-detail-item {
        min-height: 48px;
    }

    /* Amenities - Keep flex wrap on mobile */
    .condo-amenities-area .property-details-grid {
        gap: 8px;
    }

    .condo-amenities-area .property-detail-item {
        padding: 6px 12px;
    }

    /* Mobile Lightbox Optimizations */
    .lightbox-nav {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    /* Hide close button and counter on mobile */
    .lightbox-close {
        display: none !important;
    }

    .lightbox-counter {
        display: none !important;
    }

    /* Larger touch targets for mobile */
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-container {
        max-width: 95vw;
        max-height: 95vh;
    }

    .lightbox-video-container {
        max-width: 95vw;
        max-height: 95vh;
    }

    .lightbox-video-container iframe,
    .lightbox-video-container video {
        max-width: 100%;
    }
}

/* Small Mobile - 480px and below */
@media (width <= 480px) {
    .condo-menu-link {
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    .condo-menu-info {
        top: 0;
    }

    .condo-gallery-grid {
        height: 300px;
    }

    .property-detail-item {
        min-height: 44px;
        font-size: 0.9rem;
    }

    .detail-label,
    .detail-value {
        font-size: 0.85rem;
    }

    .condo-content-area h3,
    .condo-amenities-area h3 {
        font-size: 1.2rem;
    }

    /* Smaller badges on very small screens */
    .condo-amenities-area .property-detail-item {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        background-color: rgb(0 0 0 / 70%);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    .video-play-icon {
        width: 40px;
        height: 40px;
    }

    .video-play-icon::before {
        border-left: 14px solid white;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        margin-left: 2px;
    }
}

/* Mobile Landscape Orientation - Hide lightbox close and counter */
@media (height <= 768px) and (orientation: landscape) {
    .lightbox-close {
        display: none !important;
    }

    .lightbox-counter {
        display: none !important;
    }
}

/* ===================================
   TAXONOMY-SPECIFIC STYLES
   Moved from property-archive.css for taxonomy-location.php
   =================================== */

/* Property Filters */
.property-filters {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    position: relative;
}

/* Filter Toggle Button - Hidden on Desktop */
.filter-toggle-mobile {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.filter-toggle-mobile:hover {
    background: #4b5563;
}

.filter-toggle-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.filter-toggle-mobile[aria-expanded="true"] .filter-toggle-icon {
    transform: rotate(180deg);
}

.filter-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 120px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    margin-left: 10px;
}

.filter-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.filter-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(var(--primary-color-rgb), 0.1);
}

.filter-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.filter-button:hover {
    background: #0069d9;
}

.reset-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.reset-button:hover {
    background: #5a6268;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* Property Section */
.property-section {
    margin-bottom: 50px;
}

.property-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px;
}

/* No Properties State */
.no-properties,
.error {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    grid-column: 1 / -1;
}

.error {
    color: #dc3545;
}

/* Load More Button */
.load-more {
    display: block;
    margin: 0 auto;
    padding: 12px 25px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.load-more:hover {
    background: #5a6268;
}

/* About Condo Section */
.about-condo-section {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
}

.about-condo-content {
    max-width: 100%;
}

.about-condo-text {
    color: #374151;
    line-height: 1.8;
}

.about-condo-preview {
    margin-bottom: 20px;
}

.about-condo-more {
    margin-top: 20px;
}

.about-condo-toggle {
    display: block;
    margin: 20px auto 0;
    padding: 12px 24px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s;
}

.about-condo-toggle:hover {
    background: #0056b3;
}

/* Value Property Section */
.value-property-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #f9fafb 100%);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgb(209 213 219 / 40%);
    box-shadow: 0 4px 20px rgb(107 114 128 / 12%);
}

.value-property-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgb(156 163 175 / 5%) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgb(107 114 128 / 5%) 0%, transparent 50%);
    pointer-events: none;
}

.value-property-container {
    position: relative;
    z-index: 1;
}

.value-property-container {
    max-width: 800px;
    margin: 0 auto;
}

.value-property-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 24px;
    text-align: center;
}

.value-property-content {
    margin-top: 24px;
}

/* Loading States */
.properties-grid.loading {
    position: relative;
    min-height: 200px;
    opacity: 0.7;
}

.properties-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgb(0 0 0 / 10%);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Property Card Blur Overlay for Non-Active Properties */
.property-card-blurred {
    position: relative;
}

.property-card-blurred .modern-card-link,
.property-card-blurred .property-action-buttons {
    pointer-events: none;
}

.property-card-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(255 255 255 / 5%);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
}

.blur-overlay-content {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 6px;
}

.blur-overlay-message {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px;
}

.blur-overlay-content a {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.blur-overlay-content a:hover {
    background: #0056b3;
}

/* Sold Properties Collapsed State */
.sold-properties-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sold-properties-header h2 {
    margin: 0;
}

.sold-properties-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sold-properties-toggle:hover {
    background: #4b5563;
}

.sold-properties-toggle:focus {
    outline: 2px solid #4b5563;
    outline-offset: 2px;
    background: #6b7280;
}

.sold-properties-toggle:active {
    background: #6b7280;
}

.sold-properties-toggle .toggle-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.sold-properties-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.sold-properties-content {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.sold-properties-login-prompt {
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.sold-properties-login-prompt .login-message {
    font-size: 1.1rem;
    color: #374151;
    margin: 0 0 20px;
    font-weight: 500;
}

.sold-properties-login-prompt a {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.sold-properties-login-prompt a:hover {
    background: #0056b3;
}

/* Responsive Design for Taxonomy Filters & Grids */
@media (width <= 768px) {
    /* Show toggle button on mobile */
    .filter-toggle-mobile {
        display: flex;
    }

    /* Sold Properties Header - Stack on Mobile */
    .sold-properties-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .sold-properties-toggle {
        width: 100%;
        justify-content: space-between;
    }

    /* Collapse filter row by default on mobile */
    .filter-row {
        flex-direction: column;
        gap: 10px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
        margin-top: 0;
    }

    /* Expanded state */
    .property-filters.expanded .filter-row {
        max-height: 1000px;
        opacity: 1;
        margin-top: 15px;
    }

    .filter-group {
        min-width: 100%;
    }

    .filter-buttons {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .filter-button,
    .reset-button {
        width: 100%;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-condo-section,
    .value-property-section {
        padding: 30px 20px;
    }
}

@media (width <= 480px) {
    .property-section h2 {
        font-size: 1.5rem;
    }

    .value-property-title {
        font-size: 1.5rem;
    }

    .about-condo-section,
    .value-property-section {
        padding: 25px 15px;
    }
}

/* ===================================
   REAL ESTATE CTA BANNER
   Full-width call to action banner section
   Moved from property-archive.css
   =================================== */

.realestate-cta-banner {
    width: 100%;
    max-width: 1280px;
    margin: 60px auto;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding: 80px 40px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.realestate-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-grid)"/></svg>');
    opacity: 0.3;
}

.cta-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

.cta-banner-subtitle {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin: 0 0 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-primary-btn {
    display: inline-block;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(0 123 255 / 30%);
    border: none;
    cursor: pointer;
}

.cta-primary-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(0 123 255 / 40%);
    color: #fff;
    text-decoration: none;
}

.cta-secondary-btn {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 18px 36px;
    border: 2px solid #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-secondary-btn:hover {
    background: #fff;
    color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(255 255 255 / 20%);
    text-decoration: none;
}

.cta-banner-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgb(255 255 255 / 20%);
}

.cta-stat-item {
    text-align: center;
}

.cta-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

.cta-stat-label {
    font-size: 0.95rem;
    color: #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Responsive design for CTA banner */
@media (width <= 768px) {
    .realestate-cta-banner {
        padding: 60px 0;
        margin: 40px 0;
    }

    .cta-banner-container {
        padding: 0 15px;
    }

    .cta-banner-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }

    .cta-banner-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .cta-banner-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }

    .cta-primary-btn,
    .cta-secondary-btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .cta-banner-stats {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
        padding-top: 30px;
    }

    .cta-stat-number {
        font-size: 2rem;
    }

    .cta-stat-label {
        font-size: 0.9rem;
    }
}

@media (width <= 480px) {
    .realestate-cta-banner {
        padding: 50px 0;
    }

    .cta-banner-title {
        font-size: 1.8rem;
    }

    .cta-banner-subtitle {
        font-size: 1rem;
    }

    .cta-primary-btn,
    .cta-secondary-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .cta-stat-number {
        font-size: 1.8rem;
    }
}

/* ===================================
   SECONDARY CTA BANNER
   Lighter themed banner with different design
   Moved from property-archive.css
   =================================== */

.realestate-cta-banner-secondary {
    width: 100%;
    max-width: 1280px;
    margin: 80px auto 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    padding: 60px 40px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgb(0 0 0 / 8%);
}

.realestate-cta-banner-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="secondary-dots" width="16" height="16" patternUnits="userSpaceOnUse"><circle cx="8" cy="8" r="1.5" fill="%23007bff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23secondary-dots)"/></svg>');
    opacity: 0.6;
}

.cta-banner-secondary-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-banner-secondary-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner-secondary-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    line-height: 1.2;
}

.cta-banner-secondary-subtitle {
    font-size: 1.1rem;
    color: #475569;
    margin: 0 0 32px;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-banner-secondary-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.cta-secondary-primary-btn {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(16 185 129 / 30%);
    border: none;
    cursor: pointer;
}

.cta-secondary-primary-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(16 185 129 / 40%);
    color: #fff;
    text-decoration: none;
}

.cta-secondary-secondary-btn {
    display: inline-block;
    background: #fff;
    color: #1e293b;
    padding: 16px 32px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-secondary-secondary-btn:hover {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(30 41 59 / 20%);
    text-decoration: none;
}

.cta-banner-secondary-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    padding-top: 32px;
    border-top: 1px solid rgb(203 213 225 / 60%);
}

.cta-secondary-stat-item {
    text-align: center;
}

.cta-secondary-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 6px;
}

.cta-secondary-stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Responsive design for secondary CTA banner */
@media (width <= 768px) {
    .realestate-cta-banner-secondary {
        padding: 50px 30px;
        margin: 60px auto 30px;
    }

    .cta-banner-secondary-container {
        padding: 0 15px;
    }

    .cta-banner-secondary-title {
        font-size: 2rem;
        margin-bottom: 14px;
    }

    .cta-banner-secondary-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .cta-banner-secondary-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 28px;
    }

    .cta-secondary-primary-btn,
    .cta-secondary-secondary-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .cta-banner-secondary-stats {
        flex-direction: column;
        gap: 25px;
        margin-top: 35px;
        padding-top: 25px;
    }

    .cta-secondary-stat-number {
        font-size: 1.9rem;
    }

    .cta-secondary-stat-label {
        font-size: 0.85rem;
    }
}

@media (width <= 480px) {
    .realestate-cta-banner-secondary {
        padding: 40px 20px;
        border-radius: 12px;
    }

    .cta-banner-secondary-title {
        font-size: 1.7rem;
    }

    .cta-banner-secondary-subtitle {
        font-size: 0.95rem;
    }

    .cta-secondary-primary-btn,
    .cta-secondary-secondary-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .cta-secondary-stat-number {
        font-size: 1.6rem;
    }
}

/* ===================================
   WALKSCORE SECTION STYLES
   Location walkability and transit scores
   Moved from property-archive.css
   =================================== */

.walkscore-section {
    width: 100%;
    max-width: 1280px;
    margin: 60px auto;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 8%);
    position: relative;
    overflow: hidden;
}

.walkscore-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="walkscore-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="%2310b981" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23walkscore-pattern)"/></svg>');
    opacity: 0.8;
}

.walkscore-container {
    position: relative;
    z-index: 2;
}

.walkscore-header {
    text-align: center;
    margin-bottom: 40px;
}

.walkscore-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    line-height: 1.2;
}

.walkscore-icon {
    width: 32px;
    height: 32px;
    color: #10b981;
    flex-shrink: 0;
}

.walkscore-address {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
    font-style: italic;
}

.walkscore-content {
    margin-bottom: 40px;
}

.walkscore-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.score-item {
    text-align: center;
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgb(0 0 0 / 8%);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.score-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgb(0 0 0 / 12%);
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 8px solid;
    background: #fff;
}

.score-circle.walkscore {
    border-color: #10b981;
    color: #10b981;
}

.score-circle.transit {
    border-color: #3b82f6;
    color: #3b82f6;
}

.score-circle.bike {
    border-color: #f59e0b;
    color: #f59e0b;
}

.score-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.score-max {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.7;
    margin-top: -4px;
}

.score-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px;
}

.score-description {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.walkscore-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.walkscore-disclaimer {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

.walkscore-features h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 24px;
    text-align: center;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    background: #f8fafc;
    border-color: #10b981;
    transform: translateY(-2px);
}

.amenity-icon {
    width: 24px;
    height: 24px;
    color: #10b981;
    flex-shrink: 0;
}

.amenity-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.3;
}

/* Loading state */
.walkscore-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgb(16 185 129 / 30%);
    border-top: 3px solid #10b981;
    border-radius: 50%;
    animation: walkscore-spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes walkscore-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.walkscore-loading p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Responsive design for walkscore section */
@media (width <= 768px) {
    .walkscore-section {
        padding: 30px 20px;
        margin: 40px auto;
    }

    .walkscore-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 8px;
    }

    .walkscore-icon {
        width: 28px;
        height: 28px;
    }

    .walkscore-address {
        font-size: 1rem;
    }

    .walkscore-scores {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .score-circle {
        width: 100px;
        height: 100px;
        border-width: 6px;
    }

    .score-number {
        font-size: 2rem;
    }

    .score-title {
        font-size: 1.2rem;
    }

    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .amenity-item {
        padding: 12px 8px;
    }

    .amenity-icon {
        width: 20px;
        height: 20px;
    }

    .amenity-item span {
        font-size: 0.8rem;
    }
}

@media (width <= 480px) {
    .walkscore-section {
        padding: 25px 15px;
        border-radius: 12px;
    }

    .walkscore-title {
        font-size: 1.5rem;
    }

    .walkscore-address {
        font-size: 0.9rem;
    }

    .score-circle {
        width: 80px;
        height: 80px;
        border-width: 5px;
    }

    .score-number {
        font-size: 1.6rem;
    }

    .score-max {
        font-size: 0.9rem;
    }

    .score-title {
        font-size: 1.1rem;
    }

    .score-description {
        font-size: 0.9rem;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .amenity-item {
        padding: 10px 6px;
    }

    .amenity-icon {
        width: 18px;
        height: 18px;
    }

    .amenity-item span {
        font-size: 0.75rem;
    }
}
