/* Approach Section Styles */
.approach-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 120px;
}

.approach-intro {
    text-align: center;
    margin: 0 auto;
}

.approach-title {
    font-family: 'IvyOra Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 32px;
    color: #ed6a59;
    margin-bottom: 16px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.approach-title span {
    font-weight: bold;
}

.approach-description {
    font-family: 'IBM Plex Sans', sans-serif;
    color: #403936;
    font-size: 16px;
    margin: 0 auto;
    max-width: 700px;
    line-height: 1.6;
}

.approach-card-description p {
    color: #fff;
}

/* Title styling for Figma spec */
.approach-title-italic {
    font-style: italic;
    font-weight: 500;
    color: #ed6a59;
}

.approach-title-support {
    font-weight: bold;
    font-style: normal;
    color: #ed6a59;
}

.approach-title-rest {
    font-weight: bold;
    font-style: normal;
    color: #ed6a59;
}

/* Approach Cards Layout */

.approach-cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

/* Remove row layout for desktop, always column */

.approach-card {
    background: #005b68;
    border-radius: 20px;
    display: flex;
    padding: 32px;
    gap: 32px;
    color: #fff;
    width: 100%;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.approach-card-image-wrapper {
    flex-shrink: 0;
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.approach-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    display: block;
}

.approach-card-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 32px;
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.approach-card-text {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.approach-card-number {
    font-family: 'IvyOra Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 32px;
    color: #ed6a59;
    flex-shrink: 0;
    width: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.approach-card-text-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.approach-card-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: normal;
    color: #fff;
}

.approach-card-title-desc {
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: #fff;
}

.approach-card-title-italic {
    font-style: italic;
    line-height: normal;
}

.approach-card-description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.approach-card-description p {
    margin: 0 0 16px 0;
}

.approach-card-description p:last-child {
    margin-bottom: 0;
}

/* Read More functionality for mobile */
.approach-card-read-more {
    display: none;
    color: #fff;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
}

.approach-card-read-less {
    display: none;
    color: #fff;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
}

.approach-card-actions {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    /* left align */
    gap: 12px;
    margin-top: 8px;
}

.approach-card-arrow {
    background: #fff;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.approach-card-arrow img {
    width: 18px;
    height: 18px;
    display: block;
}

/* Tablet view styles */
@media (max-width: 1199px) {
    .approach-section {
        padding: 0 60px;
    }
}

/* Mobile view styles */
@media (max-width: 767px) {
    .approach-section {
        padding: 0 16px;
    }

    .approach-title {
        font-size: 24px;
    }

    .approach-cards {
        gap: 24px;
        margin-top: 40px;
    }

    .approach-card {
        flex-direction: column;
        padding: 24px 16px;
        gap: 24px;
        border-radius: 16px;
        align-items: stretch;
    }

    .approach-card-image-wrapper {
        width: 100%;
        height: 176px;
        border-radius: 16px;
    }

    .approach-card-content {
        flex-direction: column;
        min-width: 0;
        width: 100%;
        gap: 24px;
    }

    .approach-card-text {
        min-width: 0;
        width: 100%;
        gap: 8px;
    }

    .approach-card-number {
        font-size: 24px;
    }

    .approach-card-title {
        font-size: 20px;
    }

    /* Hide extra paragraphs by default on mobile */
    .approach-card-description p:nth-child(n + 2) {
        display: none;
    }

    /* Show all paragraphs when expanded */
    .approach-card.expanded .approach-card-description p {
        display: block;
    }

    /* Show Read More button on mobile */
    .approach-card-read-more {
        display: inline-block;
    }

    /* Hide Read More when expanded */
    .approach-card.expanded .approach-card-read-more {
        display: none;
    }

    /* Show Read Less when expanded */
    .approach-card.expanded .approach-card-read-less {
        display: inline-block;
    }

    .approach-card-arrow {
        align-self: flex-end;
    }

    .approach-card-actions {
        justify-content: flex-start;
    }
}
