/* ---MAIN STYLES--- */

@media (max-width: 996px) {
    .main_section .info_box {
        padding: 10% 10% 5% 10%;
    }
}


/* ---BLOG STYLES--- */

.blog_section {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    padding: 10%;
}

.blog_section .blog_box {
    display: flex;
    justify-content: space-evenly;
}

.blog_section .blog_item {
    width: 25vw;
    border-radius: 1vw;
    background: white;
    box-shadow: .5vw .5vw 1.5vw #00000030;
    overflow: hidden;
    cursor: pointer;
    transition: .5s;
}

.blog_section .blog_item:hover {
    transform: translateY(-.5vw);
}

.blog_section .media_box {
    display: flex;
}

.blog_section .info_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
    padding: 2vw;
    background: #efefef;
}

.blog_section .info_box h2 {
    color: var(--dark-blue);
    font-size: 1.5vw;
    text-align: center;
}

.blog_section .info_box p {
    text-align-last: center;
}

@media (max-width: 996px) {
    .blog_section {
        gap: 10vw;
        padding: 0 10% 20% 10%;
    }
    .blog_section .blog_box {
        flex-direction: column;
        gap: 10vw;
    }
    .blog_section .blog_item {
        width: 100%;
    }
    .blog_section .info_box {
        gap: 5vw;
        padding: 5vw;
    }
    .blog_section .info_box h2 {
        font-size: 5vw;
    }
}


/* ---POST STYLES--- */

.post_section {
    padding: 5% 10%;
}

.post_section .post_box,
.post_section .post_box>div {
    display: flex;
    flex-direction: column;
    gap: .5vw;
}

.post_section h2 {
    color: var(--dark-blue);
    font-size: 1.5vw;
}

.post_section .subtitle {
    color: var(--dark-blue);
    font-size: 1.2vw;
    font-weight: 500;
}

.post_section ul,
.post_section ol {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    color: var(--dark-blue);
    font-weight: 700;
}

.post_section ::marker {
    color: var(--dark-blue);
    font-weight: 700;
}

.post_section li span {
    color: var(--dark-blue);
    font-weight: 700;
}

.post_section a {
    color: var(--dark-blue);
}

.post_section a:hover {
    color: var(--blue);
}

@media (max-width: 996px) {
    .post_section {
        padding: 0 10% 10% 10%;
    }
    .post_section .post_box {
        gap: 5vw;
    }
    .post_section h2 {
        font-size: 5vw;
    }
    .post_section ul,
    .post_section ol {
        gap: 3vw;
    }
}


/* ---APPOINTMENT STYLES--- */

.appointment_section {
    position: relative;
    padding: 15% 10%;
    background: var(--dark-blue);
    overflow: hidden;
}

.appointment_section .bg_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: soft-light;
    transition: .5s;
}

.active_appointment .bg_img {
    transform: scale(1.1);
}

.appointment_section .appointment_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    position: relative;
    z-index: 1;
}

.appointment_section h2 {
    color: white;
    font-size: 3vw;
    text-align: center;
}

.appointment_section p {
    color: white;
    width: 50%;
    text-align: center;
}

.appointment_section .second_button {
    color: white;
    border: .12vw solid white;
}

.appointment_section .second_button:hover {
    border: .12vw solid var(--blue);
}

@media (max-width: 996px) {
    .appointment_section {
        padding: 20% 10%;
    }
    .appointment_section .appointment_box {
        gap: 5vw;
    }
    .appointment_section h2 {
        font-size: 8vw;
        text-align: center;
    }
    .appointment_section p {
        width: 100%;
        text-align: justify;
        text-align-last: center;
    }
    .appointment_section .second_button {
        border: .5vw solid white;
    }
    .appointment_section .second_button:hover {
        border: .5vw solid var(--blue);
    }
}