/* ==========================================================
   IDEA.CSS
   Styling endast för idea.html
   ========================================================== */

/* ==========================================================
   TITLE
   ========================================================== */

.idea-title {
    padding: 90px 8% 80px;
    background-color: white;
    border-bottom: 1px solid #e4e8ec;
}

.idea-title-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.idea-title h1 {
    max-width: 800px;
    margin: 0 auto 25px;
    color: #152238;
    font-size: 48px;
    line-height: 1.1;
}

.idea-title h1 span {
    color: #2fa876;
}

/* ==========================================================
    SECTIONS
   ========================================================== */

.idea-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 30px;
}

.idea-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}


.idea-heading h2 {
    margin-bottom: 8px;
    color: #152238;
    font-size: 32px;
}

/* ==========================================================
    HEALTH CARDS
   ========================================================== */

.idea-health-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.idea-health-card {
    padding: 30px;
    background-color: white;
    border: 1px solid #e4e8ec;
    border-radius: 16px;

}

.idea-health-icon {
    width: 55px;
    height: 55px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 20px;

    background-color: #eaf5ef;
    color: #2fa876;

    border-radius: 50%;

    font-size: 26px;
    font-weight: bold;
}

.idea-health-card h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.idea-health-card p {
    color: #5b6573;
    font-size: 15px;
}

/* =========================
IDEA ENDING
========================= */

.idea-ending {
    max-width: 1100px;
    margin: 80px auto;
    padding: 40px;
    background-color: #eaf6ef;
    border-left: 5px solid #2eae78;
    border-radius: 12px;

}

.idea-ending h2 {
    margin-bottom: 15px;
    color: #152238;
    font-size: 25px;
}

.idea-ending p {
    margin: 0;
    color: #5b6573;
    font-size: 17px;
    line-height: 1.7;
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

    /* TITLE */

    .idea-title {
        padding: 55px 20px;
    }

    .idea-title h1 {
        font-size: 36px;
    }

    .idea-title p {
        font-size: 17px;
    }

    /* SECTIONS */

    .idea-section {
        padding: 55px 20px;
    }

    /* HEADING */

    .idea-heading {
        flex-direction: column;
        gap: 8px;
    }

    .idea-heading h2 {
        font-size: 27px;
    }

    /* HEALTH CARDS */

    .idea-health-cards {
        grid-template-columns: 1fr;
    }

    .idea-health-card {
        padding: 27px;
    }

    /* ENDING */

    .idea-ending {
        margin: 30px 20px 70px;
        padding: 27px;
    }

    .idea-ending h2 {
        font-size: 23px;
    }

    .idea-ending p {
        font-size: 16px;
    }
}