/**
 * About Us Page Specific Styles
 *
 * 13-Section Layout overrides.
 * Uses site standards: Montserrat font, 22px line-height base.
 * All wrappers use the same pattern as single-image-text-content-wrapper:
 * max-width: 1440px, padding: 60px 40px, box-sizing: border-box
 */

/* ===================================
   About Us Header Section
   =================================== */
@media (min-width: 1025px) {

    .aboutus-header-section .aboutus-header-heading,
    .aboutus-header-section .aboutus-header-body {
        padding-left: 200px;
    }
}

/* ===================================
   Intro Flexible Section
   Uses same wrapper pattern as single-image-text-content-wrapper
   =================================== */
/* Intro section inherits from section-container */

.intro-flexible-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 60px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Header uses slider-section-header class for site-wide consistency */
.intro-flexible-header {
    margin-bottom: 20px;
}

.intro-flexible-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.intro-flexible-item {
    flex: 1;
    min-width: 180px;
    max-width: 280px;
    text-align: left;
}

.intro-flexible-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.intro-flexible-item-header {
    font-size: var(--font-h4-size);
    font-weight: 600;
    color: #186AA5;
    line-height: 24px;
    margin-bottom: 8px;
}

.intro-flexible-item-subtitle {
    font-size: var(--font-ui-size);
    color: #666;
    line-height: 20px;
    margin-bottom: 8px;
}

.intro-flexible-item-body {
    font-size: var(--font-ui-size);
    line-height: 22px;
    color: #333;
}

.intro-flexible-divider {
    width: 1px;
    background: #e0e0e0;
    min-height: 100px;
}

.intro-flexible-cta {
    text-align: left;
    margin-top: 20px;
}

/* @media (max-width: 1244px) {
    .intro-flexible-wrapper {
        padding: 50px 20px;
    }
} */

@media (max-width: 768px) {
    .intro-flexible-grid {
        flex-direction: column;
        align-items: center;
    }

    .intro-flexible-divider {
        display: none;
    }

    .intro-flexible-item {
        max-width: 100%;
    }
}

/* ===================================
   SIT 1 Bottom Text (Blue Montserrat)
   =================================== */
.single-image-text-bottom-text {
    margin-top: 30px;
    padding-top: 20px;
}

.single-image-text-bottom-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-h4-size);
    font-weight: 500;
    color: #186AA5;
    line-height: 28px;
}

/* ===================================
   Single Image Paragraph Section
   Header styling is in styles.css (40px)
   Only override layout-specific styles here
   =================================== */
.single-image-paragraph-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 60px 40px;
    box-sizing: border-box;
}

/* Layout: image top-aligned with paragraphs, not header */
.single-image-paragraph-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.single-image-paragraph-left {
    flex: 1;
}

.single-image-paragraph-right {
    flex: 0 0 40%;
}

.single-image-paragraph-image {
    width: 100%;
    height: auto;
}

/* Tablet 1244px media query - wrapper padding only - REMOVED */
/* @media (max-width: 1244px) {
    .single-image-paragraph-wrapper {
        padding: 50px 20px;
    }
} */

@media (max-width: 768px) {
    .single-image-paragraph-layout {
        flex-direction: column;
    }

    .single-image-paragraph-right {
        flex: none;
        width: 100%;
    }
}

/* ===================================
   SIP 2 Large Header Variation
   "What Makes SMARTBUILD Different"
   =================================== */
.sip-large-header-variation .single-image-paragraph-header {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-h1-size);
    line-height: var(--font-h1-height);
    color: #07B1E2;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .sip-large-header-variation .single-image-paragraph-header {
        font-size: var(--font-h1-size);
        line-height: var(--font-h1-height);
    }
}

/* ===================================
   Team Repeater Section
   Uses same wrapper pattern as single-image-text-content-wrapper
   =================================== */
/* Team section inherits from section-container */

.team-repeater-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 60px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header uses slider-section-header class for site-wide consistency (left-aligned) */
.team-repeater-header.slider-section-header {
    text-align: left;
    margin-bottom: 30px;
}

.team-repeater-rows {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.team-repeater-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    /* Top-align text with image */
}

/* All images on RIGHT - no alternating */
.team-repeater-row.team-row--photo-right {
    flex-direction: row;
}

.team-row-text {
    flex: 1;
    align-self: flex-start;
    /* Ensure text starts at top */
}

.team-row-photo {
    flex: 0 0 280px;
    align-self: flex-start;
    /* Ensure photo starts at top */
}

.team-member-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    /* No rounded corners per user request */
}

/* Team member name/role: Montserrat 700, 26px, line-height 34px, color #006997 */
.team-member-name {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-h3-size);
    font-weight: 700;
    color: #006997;
    line-height: 34px;
    margin: 0 0 8px 0;
}

.team-member-role {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-lead-size);
    font-weight: 600;
    color: #006997;
    line-height: 24px;
    margin: 0 0 15px 0;
}

.team-member-bio {
    font-size: var(--font-ui-size);
    line-height: 22px;
    color: #333;
    margin: 0;
}

/* @media (max-width: 1244px) {
    .team-repeater-wrapper {
        padding: 50px 20px;
    }
} */

@media (max-width: 768px) {

    .team-repeater-row,
    .team-repeater-row.team-row--photo-right {
        flex-direction: column;
    }

    .team-row-photo {
        flex: none;
        width: 100%;
        max-width: 280px;
    }

    .team-member-name {
        font-size: var(--font-h4-size);
        line-height: 28px;
    }

    .team-member-role {
        font-size: var(--font-body-size);
        line-height: 22px;
    }
}

/* ===================================
   Slider With Arrows Between
   Uses user-provided gradient arrow SVG
   =================================== */
.slider-arrows-section .slider-arrows-between {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 15px;
}

.slider-arrows-section .slider-arrows-between-svg {
    width: 48px;
    height: auto;
}

/* Ensure cards don't shrink when arrows added */
.slider-arrows-track .slider-section-card {
    flex-shrink: 0;
}

/* ===================================
   Feature Grid Bottom Paragraph
   Styled same as single-image-text bottom text
   NO dotted line - inherits width from parent wrapper
   =================================== */
.feature-grid-bottom-paragraph {
    margin-top: 30px;
    text-align: left;
    /* No border/dotted line */
}

.feature-grid-bottom-paragraph p {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-h4-size);
    font-weight: 500;
    color: #186AA5;
    line-height: 28px;
}

@media (max-width: 768px) {
    .feature-grid-bottom-paragraph p {
        font-size: var(--font-body-size);
        line-height: 24px;
    }
}