.single-entry {
    background: var(--primary-off-white);
}

.entry-header {
    background-size: cover;
    background-position: center center;
}

.entry-header .rank-math-breadcrumb p > span.last,
.entry-header .rank-math-breadcrumb p > span.separator:nth-last-of-type(2) {
    display: none;
}

.entry-header .rank-math-breadcrumb a:nth-last-of-type(1) {
    opacity: 0.7;
}

.entry-header-background {
    min-height: 680px;
    background-size: cover;
    background-position: center top;
}

.header-wrapper {
    background: var(--primary-beige);
    height: 100%;
    margin-top: -212px;
}

.header-wrapper p {
    margin: 0;
    padding: 0;
}

.header-wrapper .heading {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 40px 20px 40px;
}

.header-wrapper .heading .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-bottom: 1px solid var(--secondary-sand);
    padding: 20px 0;
}

.header-wrapper .heading .meta-back {
    display: flex;
    align-items: center;
}

.header-wrapper .heading .button-link span {
    font-size: 16px;
    font-weight: 700;
}

.header-wrapper .heading .button-link img {
    position: relative;
    left: 0;
    transition: all 250ms ease-out 0s;
}

.header-wrapper .heading .button-link:hover img {
    margin-left: 0;
    left: -4px;
}

.header-wrapper .heading .button-link:hover {
    text-decoration: underline;
}

.header-wrapper .heading .meta-categories {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-wrapper .heading .meta-categories a {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.285
}

.header-wrapper .heading .meta-categories .separator {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-sun);
}

.header-wrapper .heading .title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: normal;
    text-align: center;
    max-width: 865px;
    margin: 0 auto;
}

.header-wrapper .description {
    max-width: 1020px;
    padding: 20px 40px 40px 40px;
    margin: 0 auto;
}

.header-wrapper .description p {
    margin: 0;
    padding: 0;
}

.entry-sections {
    padding-top: 40px;
    padding-bottom: 40px;
}

.entry-sections .entry-empty {
    margin: 0;
    padding: 0;
    text-align: center;
}

.entry-sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.entry-author {
    padding-bottom: 80px;
}

.entry-author .author-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--secondary-sand);
}

.entry-author p {
    margin: 0;
    padding: 0;
}

.entry-author .author-name {
    display: flex;
    align-items: center;
    gap: 20px;
}

.entry-author .author-name .name {
    font-weight: 800;
}

.entry-author .author-name .description {
    font-size: 12px;
    font-weight: 400;
    margin-top: 4px;
    line-height: normal;
}

.entry-author .author-name img {
    min-width: 60px;
    border: 4px solid var(--primary-beige);
    border-radius: 50%;
}

.entry-author .author-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.entry-author .author-contact .question {
    display: flex;
    align-items: center;
    gap: 16px;
}

.entry-author .author-contact .question p {
    font-weight: 800;
}

.entry-author .author-contact .question a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-author .author-contact .question a strong {
    font-weight: 800;
}

.entry-author .author-contact .opens p {
    font-size: 12px;
}

.entry-author .author-contact .opens span {
    font-weight: 700;
}

.entry-related {
    background: var(--primary-beige);
    overflow-x: hidden;
}

.entry-related .entry-related-header {
    padding-bottom: 40px;
}

.entry-related .entry-related-header .title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    line-height: normal;
    margin: 0;
    padding: 0;
}

.entry-related .post-content h3 {
    font-size: 18px;
}

@media (max-width: 1440px) {
    .entry-header-background {
        min-height: 500px;
    }
}

@media (max-width: 1280px) {
    .header-wrapper .heading .title {
        font-size: 32px;
    }
}
@media (max-width: 992px) {
    .entry-related .swiper-slide  {
        max-width: 320px;
    }

    .entry-header-background {
        min-height: 240px;
    }

    .header-wrapper {
        margin-top: -85px;
    }
}
@media (max-width: 768px) {
    .header-wrapper .heading {
        padding: 0 24px 20px 24px;
        gap: 20px;
    }

    .header-wrapper .heading .meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .header-wrapper .heading .button-link span {
        font-size: 14px;
    }

    .header-wrapper .heading .meta-categories .separator {
        font-size: 14px;
    }

    .header-wrapper .heading .meta-categories a {
        font-size: 12px;
    }

    .header-wrapper .heading .title {
        font-size: 24px;
        max-width: 100%;
    }

    .header-wrapper .description {
        max-width: 1020px;
        padding: 0 24px 20px 24px;
        margin: 0 auto;
    }

    .header-wrapper .description p {
        font-size: 18px;
    }

    .entry-author {
        font-size: 18px;
        padding-bottom: 40px;
    }

    .entry-author .author-wrapper {
        flex-direction: column;
    }

    .entry-author .author-contact .question {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 8px;
    }

    .entry-related .swiper-slide-next {
        opacity: 0.5;
    }
}
@media (max-width: 576px) {
    .entry-related .posts {
        overflow: visible;
    }

    .entry-related .swiper-slide {
        transition: opacity 0.3s ease-in-out;
    }

    .entry-related .swiper-slide-prev {
        opacity: 0;
    }

    .entry-related .swiper-slide-next,
    .entry-related .swiper-slide-prev:nth-last-child(2) {
        opacity: 0.5;
    }
}