.edr2-visit-us-container {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    --bg-color: var(--wp--preset--color--background, #ffffff);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.left-column {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.right-column {
    flex: 2 1 450px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.left-column button {
    /* Use WordPress theme button style */
    /* Apply .wp-block-button__link for theme submit button styling */
}

.left-column button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#map {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
}

#map iframe {
    width: 100%;
    height: 100%;
}

details {
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

summary {
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
    outline: none;
}

summary::marker {
    content: "> ";
}

details[open] summary::marker {
    content: "v ";
}

.edr2-visitor-counter {
    text-align: center;
    margin-top: 20px;
    font-size: 1.2em;
}

.edr2-visit-us-banner {
    width: 50%;
    margin: 0 auto 20px auto;
    max-height: 200px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edr2-visit-us-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#address-info a {
    text-decoration: none;
    font-size: 1.5em;
}

.left-column {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#instructions {
    margin-top: auto;
    margin-bottom: auto;
    padding: 20px 0;
}

.social-links-container {
    margin-top: auto;
    padding-top: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    font-size: 2em;
}

.social-icons a {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

details summary {
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
    .edr2-visit-us-banner {
        width: 100%;
        max-height: 250px;
    }
    
    .edr2-visit-us-banner img {
        height: auto;
        max-height: 250px;
        object-fit: contain;
    }
    
    .edr2-visit-us-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .left-column {
        order: 1;
    }
    
    .right-column {
        order: 2;
    }
    
    #map {
        height: 350px;
    }
    
    .social-links-container {
        margin-top: 20px;
    }
}
