/* =========================================
   Understanding Sleep — Article-specific overrides
   Shared base styles: ../shared/blog-article.css
   ========================================= */

/* Part 2: Orange CTA (this article uses orange instead of blue) */
.part2 {
    background-color: #FF952A;
}

/* Part 1: Hero image (below quote card) */
.part1-img-wrap {
    width: 100%;
    margin-top: 100px;
}

.part1-img {
    width: 92%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    cursor: pointer;
}

/* Section images */
.part3-img {
    width: 92%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 8px auto 0;
    cursor: pointer;
}

.part4-img {
    width: 92%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 8px auto 0;
    cursor: pointer;
}

.part6-img {
    width: 92%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

/* Sub-section headings */
.part4-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.4;
    width: 100%;
    text-align: left;
}

.part4-desc {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #DCDCDC;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    text-align: left;
}

.part5-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.4;
    width: 100%;
    text-align: left;
}

.part7-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.4;
    width: 100%;
    text-align: left;
}

.part7-desc {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #DCDCDC;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    text-align: left;
}

/* More Articles section (uses part9 in this article) */
.part9 {
    background-color: transparent;
    border: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.part9-title {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 32px;
    color: #FFFFFF;
    margin: 0 0 28px 0;
    line-height: 1.3;
    width: 100%;
    text-align: left;
}

.part9-cards {
    display: flex;
    gap: 32px;
    width: 100%;
}

/* =========================================
   Mobile overrides — article-specific
   ========================================= */
@media (max-width: 768px) {

    .part1-img-wrap {
        margin-top: 60px;
    }

    .part1-img {
        width: 100%;
        border-radius: 12px;
    }

    .part3-img,
    .part4-img,
    .part6-img {
        width: 100%;
    }

    .part9-title {
        font-size: 26px;
    }

    .part9-cards {
        flex-direction: column;
        gap: 12px;
    }
}
