/* Case Study Address Section Styling */
.cs-address-section {
    padding: 15px 40px; /* Reduced to match 30px total gap standard */
    background-color: var(--color-black); 
    color: var(--color-white);
}

.cs-address-header {
    max-width: 1300px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.cs-address-main-title {
    font-size: 42px; /* Standardized to match Home Page H2 titles */
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    font-family: var(--font-heading); /* Using Lexend Deca as per standard */
}

.cs-address-main-title .text-primary {
    color: var(--color-primary);
}

.cs-address-container {
    max-width: 1400px; /* Standard home page max-width */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Case Study Details Box - Mockup Match */
.cs-details-box {
    background-color: #f3faf1; /* Softer Mint Green from Mockup */
    border: 4px solid var(--color-primary); 
    border-radius: 12px;
    padding: 35px;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
}

.cs-details-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.cs-details-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 2px solid rgba(84, 178, 72, 0.2); /* Thinner, subtle lines */
    font-size: 18px;
    font-weight: 600;
}

.cs-details-row:last-child {
    border-bottom: none;
}

/* Real Map Section - Repositioned Button */
.cs-map-box {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    background: #111;
    height: 100%;
    min-height: 520px;
}

.cs-map-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.cs-map-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Maps Overlay Button - Moved to Top-Right */
.cs-map-overlay-btn {
    position: absolute;
    top: 25px;
    right: 25px; /* Moved to Right to avoid blocking Google Info */
    left: auto;
    background-color: var(--color-white);
    color: var(--color-black) !important;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 100;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.cs-map-overlay-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    transform: translateY(-2px);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .cs-address-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cs-address-main-title {
        font-size: 30px;
    }
    
    .cs-map-wrapper {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .cs-address-section {
        padding: 50px 20px;
    }
    
    .cs-address-main-title {
        font-size: 24px;
    }

    .cs-details-box {
        padding: 20px;
    }
    
    .cs-details-row {
        font-size: 15px;
        padding: 10px 0;
    }
}
