.header {
    position: relative;
    background-size: cover;
    height: 500px;
    display: flex;
    color: #482F24;
    margin-top: -12px;
    padding: 30px 120px;
    background-position: 100% 0%;
    background-size: 100% 140%;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
}

.text_header {
    position: relative;
    z-index: 1;
    padding-top: 30px;
    display: grid;
}

.text_header .header_date {
    font-size: 20px;
    color: #973d16;
    opacity: 0.5;
}

.text_header .header_title {
    font-size: 55px;
    font-weight: 900;
    color: #512300;
    padding-block: 30px;
    word-spacing: -5px;
    font-family: IBMPlexSansArabic-Bold;
}

.text_header .header_teacher {
    font-size: 25px;
    font-weight: 700;
    color: #973d16;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .text_header .header_date {
        font-size: 16px;
    }

    .text_header .header_title {
        font-size: 28px;
        padding-block: 0;
    }

    .text_header .header_teacher {
        font-size: 20px;
    }

    .header {
        position: relative;
        background-size: cover;
        height: 200px;
        display: flex;
        color: #482F24;
        margin-top: -54px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .text_header .header_date {
        font-size: 14px;
    }

    .text_header .header_title {
        font-size: 24px;
        padding-block: 0;
    }

    .text_header .header_teacher {
        font-size: 18px;
    }

    .header {
        position: relative;
        background-size: cover;
        height: 200px;
        display: flex;
        color: #482F24;
        margin-top: 0px;
        padding: 30px 20px;
    }
}

.content_blog {
    width: 110%;
    max-width: 80%;
    margin: 50px auto;
    padding: 0px;
    color: black;
}

.intro {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 500;
    text-align: justify;
}

.section {
    margin-bottom: 50px;
}

.section h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: black;
}

.section p {
    font-size: 18px;
    font-weight: 500;
    text-align: justify;
}

.content_bottom {
    background: linear-gradient(to bottom, #dbe3f0, #f7fafa);
    margin-bottom: -50px;
    border-radius: 70px 70px 0 0;
    padding: 40px 70px;
}

.content_bottom .footer_title {
    font-size: 30px;
    text-align: center;
    font-weight: 600;
    color: #0030a8;
    margin-bottom: 20px;
}

.items_cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
}

.card {
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    max-width: 300px;
    margin: 20px;
}

.card img {
    width: auto;
    height: 220px;
}

.card p {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.card h3 {
    font-size: 14px;
    color: #333;
    padding: 6px 10px;
    font-weight: 700;
}

.card_information {
    display: flex;
    justify-content: space-between;
    font-size: small;
    color: rgb(158, 158, 158);
    font-weight: bold;
    padding: 10px;
}

.card_info_short {
    padding-inline: 10px;
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 70px 30px;
}

.button_footer {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #bfcde8;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.button_footer span {
    font-size: 20px;
    margin: 0 5px;
}

.button_footer:hover {
    background-color: #9eb5da;
}

.previous {
    text-align: left;
}

.next {
    text-align: right;
}

@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .button_footer {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

.anchor_hover {
    color: #482F24;
    text-decoration: none;
    transition: background-color 0.3s;
}

.anchor_hover:hover {
    color: #000000;
    text-decoration: underline;
}

.bolder_span {
    font-weight: 900 !important;
    font-size: 24px;
}