@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap);

.btn-primary {
    background-color: #ffe500;
    border-color: #ffe500;
    color: #152d34
}

.btn-primary:hover {
    border-color: #ffe500
}

.btn-primary:hover,
.btn-secondary {
    background-color: #152d34;
    color: #ffe500
}

.btn-secondary:hover {
    background-color: rgba(21, 45, 52, .92)
}

.box-post-related {
    padding: 6rem 0 2rem
}

.box-post-related hr {
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    height: .1rem;
    margin-top: 2.6rem
}

@media(max-width:1199.98px) {
    .box-post-related {
        padding: 4rem 0
    }
}

@media(max-width:767.98px) {
    .box-post-related {
        padding: 3rem 0
    }
}

.box-post-related .box-post-heading {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 8rem
}

@media(max-width:991.98px) {
    .box-post-related .box-post-heading {
        padding-bottom: 5rem
    }
}

.box-post-related .box-post-heading h3 {
    margin: 0
}

@media(max-width:991.98px) {
    .box-post-related .box-post-heading h3 {
        font-size: 2.8rem;
        line-height: 3.5rem
    }
}

@media(max-width:767.98px) {
    .box-post-related .box-post-heading h3 {
        font-size: 2.4rem;
        line-height: 3.2rem
    }
}

.box-post-related .row>div:nth-child(2n+2):hover .box-post-single-thumb {
    transform: scale(1.05) rotate(-1deg)
}

.box-post-related .box-post-single {
    align-items: center;
    display: flex;
    gap: 9.7rem;
    margin-bottom: 1.4rem;
    position: relative
}

.box-post-related .box-post-single:hover .box-post-single-title {
    background-color: #152d34
}

.box-post-related .box-post-single:hover .box-post-single-title h4 {
    color: #ffe500
}

.box-post-related .box-post-single>* {
    z-index: 1
}

@media(max-width:1199.98px) {
    .box-post-related .box-post-single {
        gap: 4rem;
        margin-bottom: 3rem
    }
}

@media(max-width:991.98px) {
    .box-post-related .box-post-single {
        flex-direction: column
    }
}

@media(max-width:767.98px) {
    .box-post-related .box-post-single {
        gap: 2rem;
        margin-bottom: 2rem
    }
}

.box-post-related .box-post-single h3 {
    font-weight: 600;
    margin: 0;
    font-size: 3rem;
    padding: 4.3rem 0 2rem
}

@media(max-width:991.98px) {
    .box-post-related .box-post-single h3 {
        padding: 1rem 0
    }
}

@media(max-width:767.98px) {
    .box-post-related .box-post-single h3 {
        font-size: 2.4rem;
        line-height: 3.5rem;
        padding: 2rem 0
    }
}

.box-post-related .box-post-single .box-post-single-thumb {
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 40%;
    padding-top: 25%;
    transition: transform .3s ease;
    width: 100%
}

@media(max-width:991.98px) {
    .box-post-related .box-post-single .box-post-single-thumb {
        max-width: 100%;
        padding-top: 69%
    }
}

.box-post-related .box-post-single .box-post-single-thumb~div {
    width: 100%
}

.box-post-related .box-post-single .box-post-single-title {
    background-color: #ffe500;
    border: .2rem solid #ffe500;
    display: inline-block;
    margin-top: 4rem;
    max-width: -moz-fit-content;
    max-width: fit-content;
    padding: 1.5rem 4rem;
    text-align: center;
    transition: background .3s ease
}

@media(max-width:1199.98px) {
    .box-post-related .box-post-single .box-post-single-title {
        margin-bottom: 5rem;
        padding: 1rem
    }
}

@media(max-width:991.98px) {
    .box-post-related .box-post-single .box-post-single-title {
        margin-top: 2rem;
        max-width: 100%
    }
}

@media(max-width:767.98px) {
    .box-post-related .box-post-single .box-post-single-title {
        margin-bottom: 4rem;
        padding: 1rem
    }
}

.box-post-related .box-post-single .box-post-single-title h4 {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 2.5rem;
    margin: 0;
    transition: color .3s ease
}