/* Magazine Article Reusable Classes */
.article-subtitle {
    font-size: 20px;
    color: #090707cc;
    font-weight: 400;
}

.article-container {
    max-width: 800px;
}

.article-content-container {
    max-width: 832px;
}

.reference-list {
    padding-left: 20px;
    font-size: 14px;
}

/* Magazine Page Styles */
.mag {
    background: #F5F3E8;
    padding: 60px;
}
.mag-lable {
    font-size: 36px;
    margin-bottom: 18px;
}
.mag p {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 15px;
}
.magazine footer {
    margin: 0 !important;
}
.hero .subheading {
    font-size: 36px;
}
.hero p {
    width: 50%;
}
.w-70 {
    width: 70%;
}
/* Responsive adjustments */

/* Make the header padding smaller on small screens */
@media (max-width: 992px) {
 .w-70 {
    width: 100%;
}  
    header img {
        width: 50px !important;
        height: auto !important;
    }

    section img {
        max-width: 100%;
        height: auto !important;
    }

    /* Make the main section text fit smaller screens */
    section.text-center div,
    section.text-center small {
        font-size: 18px !important;
    }

    small.mx-auto {
        width: 90% !important;
    }
}

/* Adjust font sizes and spacing for tablets */
@media (max-width: 768px) {
   .hero p {
    width: 100%;
}



    small.mx-auto {
        font-size: 14px !important;
        width: 95% !important;
    }

    .d-flex.flex-wrap.mx-auto {
        flex-direction: column !important;
        width: 95% !important;
    }

    .d-flex.flex-wrap.mx-auto img {
        max-width: 100%;
        height: auto !important;
        margin-bottom: 15px;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {


    section.text-center div {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    small.mx-auto {
        font-size: 12px !important;
        width: 100% !important;
        line-height: 1.4 !important;
    }

    .d-flex.flex-wrap.mx-auto {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .d-flex.flex-wrap.mx-auto > div {
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    .d-flex.flex-wrap.mx-auto img {
        max-width: 100%;
        height: auto !important;
    }
}
