/* Virtual Tour Section */
body.template-block-builder .virtual-tour-section, .editor-styles-wrapper .virtual-tour-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #3d807124 0%, #fff 7.5rem);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

body.template-block-builder .virtual-tour-section::before, .editor-styles-wrapper .virtual-tour-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: -2px;
    width: 0%;
    height: 2px;
    background: #2c5a4f;
    transition: width 1.5s ease-out;
    z-index: 1;
}

body.template-block-builder .virtual-tour-section.animate::before, .editor-styles-wrapper .virtual-tour-section.animate::before {
    width: 100%;
}

body.template-block-builder .virtual-tour-section::after, .editor-styles-wrapper .virtual-tour-section::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 0px;
    background: #2c5a4f;
    transition: height 1s ease-out 0.5s;
    z-index: 1;
}

body.template-block-builder .virtual-tour-section.animate::after, .editor-styles-wrapper .virtual-tour-section.animate::after {
    height: 60px;
}

body.template-block-builder .virtual-tour-content, .editor-styles-wrapper .virtual-tour-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

body.template-block-builder .virtual-tour-section.animate .virtual-tour-content, .editor-styles-wrapper .virtual-tour-section.animate .virtual-tour-content {
    opacity: 1;
    transform: translateY(0);
}

body.template-block-builder .tour-container, .editor-styles-wrapper .tour-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

body.template-block-builder .tour-video, .editor-styles-wrapper .tour-video {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

body.template-block-builder .tour-video iframe, .editor-styles-wrapper .tour-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

body.template-block-builder .tour-features, .editor-styles-wrapper .tour-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

body.template-block-builder .feature-item, .editor-styles-wrapper .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

body.template-block-builder .feature-content, .editor-styles-wrapper .feature-content {
    flex: 1;
}

body.template-block-builder .feature-item:hover, .editor-styles-wrapper .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #2c5a4f;
}

body.template-block-builder .feature-item.active, .editor-styles-wrapper .feature-item.active {
    border-color: #2c5a4f;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    box-shadow: 0 12px 35px rgba(44, 90, 79, 0.15);
}

body.template-block-builder .feature-item.active .feature-icon, .editor-styles-wrapper .feature-item.active .feature-icon {
    background: #2c5a4f;
    transform: scale(1.05);
}

body.template-block-builder .feature-item.active h4, .editor-styles-wrapper .feature-item.active h4 {
    color: #2c5a4f;
}

body.template-block-builder .feature-icon, .editor-styles-wrapper .feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #2c5a4f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

body.template-block-builder .feature-item:hover .feature-icon, .editor-styles-wrapper .feature-item:hover .feature-icon {
    background: #DCB96F;
    transform: scale(1.1);
}

/* Location Icon (for Canaan and Wilton) */
body.template-block-builder .location-icon::before, .editor-styles-wrapper .location-icon::before {
    content: '';
    width: 16px;
    height: 20px;
    background: white;
    border-radius: 8px 8px 8px 0;
    position: relative;
    transform: rotate(-45deg);
}

body.template-block-builder .location-icon::after, .editor-styles-wrapper .location-icon::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* City Icon (for NYC) */
body.template-block-builder .city-icon::before, .editor-styles-wrapper .city-icon::before {
    content: '';
    width: 4px;
    height: 16px;
    background: white;
    position: absolute;
    top: 6px;
    left: 8px;
    box-shadow: 4px 0 0 white, 8px 0 0 white, 12px 0 0 white;
}

body.template-block-builder .city-icon::after, .editor-styles-wrapper .city-icon::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 12px;
    background: white;
    top: 10px;
    left: 6px;
    box-shadow: 4px 0 0 white, 8px 0 0 white, 12px 0 0 white;
}

body.template-block-builder .feature-item h4, .editor-styles-wrapper .feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c5a4f;
    margin-bottom: 0.5rem;
}

body.template-block-builder .feature-item p, .editor-styles-wrapper .feature-item p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

body.template-block-builder .feature-item p strong, .editor-styles-wrapper .feature-item p strong {
    color: #2c5a4f;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body.template-block-builder .tour-container, .editor-styles-wrapper .tour-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    body.template-block-builder .tour-video video, .editor-styles-wrapper .tour-video video {
        height: 250px;
    }
    
    body.template-block-builder .tour-features, .editor-styles-wrapper .tour-features {
        gap: 1.5rem;
    }
}

