/* =================BREADCRUMB SECTION==================== */
.breadcrumb-section {
    padding: 30px 0;
    background: #cecdcd4d;
}

.breadcrumb-wrapper {
    display: flex;
    justify-content: space-between;
}

.breadcrumb-option a {
    display: inline-block;
    color: rgb(179, 179, 179);
    margin-right: 24px;
    position: relative;
}

.breadcrumb-option a::after {
    position: absolute;
    right: -15px;
    top: 12px;
    width: 6px;
    height: 6px;
    content: "";
    background: rgb(92, 92, 92);
    border-radius: 50%;
}

.breadcrumb-option a span {
    color: rgb(179, 179, 179);
}

/* =================BLOG SECTION==================== */
.blog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 50px 0;
}

.blog__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    padding-left: 0;
    padding-right: 0;
}

.blog__inner hr {
    border: 1px slolid #cecdcd4d;
    width: 95%;
}

.blog__title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog__title {
    font-size: 35px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.blog__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;

    width: 100%;
    background: #cecdcd4d;
    padding: 20px 0;
}

ul,
ol {
    list-style: none;
}

.blog__item {
    width: fit-content;
    max-width: 370px;
    max-height: 650px;
    padding: 20px;
    background: var(--white);
    transition: var(--transition);
}

.blog__item:hover {
    transform: translateY(-5px);
}

.blog__item-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blog__item-image {
    width: 350px;
    height: 350px;
    overflow: hidden;

    position: relative;
}

.blog__item-image img {
    display: block;
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.blog__item-title-wrapper {
    padding: 20px;
}

.blog__item-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.blog__item-date {
    color: var(--text-muted);
    font-size: 14px;
}

.blog__item-description {
    white-space: nowrap;
    width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog__btn {
    display: flex;
    align-self: center;

    text-decoration: underline;
    text-underline-offset: 4px;

    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

/*==================RESPONSIVE=========================*/
@media (max-width: 1200px) {
    .blog__title {
        font-size: 25px;
    }
}

@media (max-width: 800px) {
    .blog__list {
        gap: 2px;
        padding: 2px;
    }

    .blog__item {
        display: flex;

        max-width: unset;
        max-height: unset;
        padding: 10px;
    }

    .blog__item-title-wrapper {
        padding: 0 0 0 10px;
    }

    .blog__item-link {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .blog__item-title {
        margin-bottom: 5px;
    }

    .blog__item-description {
        max-width: 500px;
    }

    .blog__item-image {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 600px) {
    .blog__item-title-wrapper {
        max-width: 320px;
    }

    .blog__item-title {
        font-size: 16px;
    }

    .blog__item-description {
        white-space: nowrap;
        width: 250px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 540px) {
    .blog__item-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 450px) {
    .blog__title {
        text-align: center;
    }
}

@media (max-width: 400px) {
    .blog__item-image {
        display: none;
    }
}