/* ===========================
   M&A & STRATEGIC ADVISORY PAGE
   =========================== */

/* M&A Hero Section - Override Investment Banking Hero - MAXIMUM RESOLUTION */
.ib-hero {
    background-image: url('../images/hero-mountains-close.jpg') !important;
    background-position: center 50% !important;
    background-size: cover !important;
    filter: brightness(1.05) contrast(1.15) !important;
}

.ib-hero .hero-overlay {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.25) 0%, 
        rgba(0, 0, 0, 0.15) 50%, 
        rgba(0, 0, 0, 0.35) 100%) !important;
}

/* Reduce padding on about section (section after hero) */
.about-section {
    padding-top: 60px !important;
}

/* Capital Network Section - COMPLETE OVERRIDE OF BASE CSS */
section.sustainability-hero-section,
.sustainability-hero-section {
    background: none !important;
    background-image: none !important;
    background-color: #1a1a1a !important;
    position: relative !important;
    overflow: hidden !important;
}

section.sustainability-hero-section::before,
.sustainability-hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('../images/hero-mountains-layers.jpg') center center / cover no-repeat !important;
    z-index: 0 !important;
}

section.sustainability-hero-section::after,
.sustainability-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

/* How Can We Assist Section - Solid Color Override */
.assist-section {
    background: #0a2d2d !important;
    background-image: none !important;
}

.sustainability-hero-section .sustainability-hero-container {
    position: relative !important;
    z-index: 2 !important;
}

.sustainability-hero-section .sustainability-content {
    position: relative !important;
    z-index: 2 !important;
}

/* Narrower services container to match text width */
.services-grid-container {
    max-width: 1100px !important;
}

/* White background for about sections */
.about-section {
    background: #ffffff !important;
    background-image: none !important;
}

/* Dark text for white background */
.about-section .section-eyebrow {
    color: #1a4d4d !important;
}

.about-section .eyebrow-line {
    background: #1a4d4d !important;
}

.about-section .eyebrow-text {
    color: #1a4d4d !important;
}

.about-section .about-title {
    color: #1a1a1a !important;
}

.about-section .about-description {
    color: rgba(26, 26, 26, 0.8) !important;
}

.about-section .breadcrumb-inner a {
    color: rgba(26, 26, 26, 0.7) !important;
}

.about-section .breadcrumb-inner a:hover {
    color: #1a1a1a !important;
}

.about-section .breadcrumb-separator {
    color: rgba(26, 26, 26, 0.4) !important;
}

.about-section .breadcrumb-current {
    color: #1a1a1a !important;
}

/* About image block - solid image - MUCH SMALLER */
.about-image-block {
    flex: 0 0 250px;
    width: 250px;
    min-width: 250px;
    max-width: 250px;
}

.about-image-block img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

/* About Section 2 - Flipped */
.about-section-flipped {
    background: #ffffff !important;
    padding: 100px 80px;
}

.about-section-flipped .about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-content-wrapper-flipped {
    display: flex;
    flex-direction: row-reverse;
    gap: 60px;
    align-items: center;
}

.about-section-flipped .about-title {
    color: #1a1a1a !important;
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 32px 0;
    text-align: right;
}

.about-section-flipped .about-description {
    color: rgba(26, 26, 26, 0.8) !important;
    font-size: 16px;
    line-height: 1.8;
    text-align: right;
}

/* Dark teal gradient for services section */
.services-grid-section {
    background: linear-gradient(135deg, #0a2d2d 0%, #08252d 50%, #061e23 100%) !important;
}

.services-grid-section .section-eyebrow {
    color: rgba(255, 255, 255, 0.7) !important;
}

.services-grid-section .eyebrow-line {
    background: rgba(255, 255, 255, 0.3) !important;
}

.services-grid-section .eyebrow-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

.services-grid-section .services-grid-title {
    color: #ffffff !important;
}

.services-grid-section .services-grid-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Ultra-thin transparent cards for M&A page */
.service-large-card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.service-large-card:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.service-large-card-image {
    height: 140px !important;
}

.service-large-card-content {
    padding: 18px 16px 22px !important;
}

.service-large-card-title {
    font-size: 18px !important;
}

.service-large-card-text {
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.services-large-cards {
    gap: 28px !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-image-block {
        flex: 0 0 220px;
        width: 220px;
        min-width: 220px;
        max-width: 220px;
    }
    
    .about-image-block img {
        height: 220px;
    }
    
    .about-section-flipped {
        padding: 80px 60px;
    }
    
    .about-content-wrapper-flipped {
        gap: 50px;
    }
    
    .service-large-card-image {
        height: 120px !important;
    }
}

@media (max-width: 768px) {
    .about-image-block {
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .about-image-block img {
        height: 100%;
        aspect-ratio: 1;
    }
    
    .about-content-wrapper-flipped {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-section-flipped {
        padding: 60px 20px;
    }
    
    .about-section-flipped .about-title {
        font-size: 28px;
        text-align: left;
    }
    
    .about-section-flipped .about-description {
        font-size: 15px;
        text-align: left;
    }
    
    .service-large-card-image {
        height: 100px !important;
    }
    
    .service-large-card-content {
        padding: 16px 14px 20px !important;
    }
    
    .service-large-card-title {
        font-size: 16px !important;
    }
    
    .service-large-card-text {
        font-size: 12px !important;
    }
    
    .services-large-cards {
        gap: 20px !important;
    }
}


