.single-post {
}

.single-post__hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;

    /* height: calc(100 dvh - 145 px); */
    height: calc(100dvh - 500px);
    min-height: 550px;
    max-height: 900px;
}

.single-post__hero:has(.header__bar-link) {
    margin-bottom: 40px;
}

.single-post__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.single-post__hero-wrapper {
    width: max-content;
    margin-inline: auto;
}

.single-post__hero-wrapper > .post__title {
    font-size: 60px;
    line-height: 60px;
}

.single-post__subtitle {
    color: var(--color-white);
    font-family: var(--second-font);
    font-size: 19px;
    line-height: 26px;
    font-weight: 400;
}

.single-post__container {
    width: 100%;
    margin-bottom: 40px;

    background-color: var(--color-white);
}

.single-post__wrapper {
    display: grid;
    grid-template-columns: 1fr;

    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 15px 150px 40px 150px;
}

.single-post__wrapper.full-width-content {
    grid-template-columns: 1fr;
}

.single-fashion .single-post__wrapper,
.single-eat .single-post__wrapper {
    grid-template-columns: 363px 1fr;
    padding-top: 60px;
}

.single-saving .single-post__wrapper {
    grid-template-columns: 1fr;
    padding-top: 60px;
}


.single-post__related > .category-posts__title {
    margin-bottom: 20px;
}

.single-post__related-item {
    height: 225px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.single-post__related-item .post__content {
    margin: 0px 15px 15px;
    padding: 15px;
}

.single-post__more {
    color: #7F7F7F;
    font-family: var(--third-font);
    font-size: 16px;
    line-height: 32px;
}

.single-post__main .single-post__more {
    font-size: 19px;
}

.single-post__topic {
    margin-top: 40px;
}

.single-post__topic > .category-posts__title {
    margin-bottom: 20px;
}

.single-post__topic-content {
    color: var(--color-text);
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

.single-post__topic-content a {
    color: inherit;
}

.single-post__content a {
    color: var(--color-dark-green);
    font-weight: 600;
    background: linear-gradient(to right, #c1e699, #c1e699);
    background-size: 100% 32%;
    background-position: left bottom;
    background-repeat: no-repeat;
}

.single-post__content a.elementor-button {
    background: none;
}

.single-post__content iframe {
    width: 100%;
    max-width: 100%;
}

.single-post__content h1 a,
.single-post__content h2 a,
.single-post__content h3 a,
.single-post__content h4 a,
.single-post__content h5 a,
.single-post__content h6 a,
.single-post__content li a,
.single-post__content p a {
    color: var(--color-dark-green) !important;
    font-weight: 600 !important;
}

.single-post__content a, .single-post__content a u {
    text-decoration: none;
}


.single-post__author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 8px;

    padding-bottom: 10px;
    margin-bottom: 10px;

    border-bottom: 1px solid #ccc;
}

.single-post__author-wrapper {
    display: flex;
    align-items: flex-start;
    column-gap: 8px;
}

.single-post__author-photo {
    width: 50px;
    height: 50px;
    border-radius: 100%;

    object-position: center;
    object-fit: contain;
}

.single-post__author-name {
    display: block;
    color: var(--color-text);
    font-family: var(--primary-font);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.single-post__author-date {
    display: block;
    color: var(--color-text);
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 1.4;
    opacity: .7;
}

.single-post__sponsored {
    padding: 3px 10px;
    background-color: #eeeeee;
    font-family: var(--primary-font);
    font-size: 17px;
    line-height: 1.6;

    @media screen and (max-width: 991px) {
        font-size: 14px;
    }
}

.single-post__content p,
.single-post__content ul,
.single-post__content ol {
    font-size: 17px;
    line-height: 1.6;
    font-family: var(--primary-font);
    margin-block: 1em;

}

.single-post__content ul,
.single-post__content ol {
    padding-left: 40px;
}

.single-post__content ul {
    margin: 0 0 15px 0;
}

.single-post__content li {
    margin: 0;
}

.single-post__content img {
    max-width: 500px;
}

.single-post__content .shortcode-media {
    display: flex;
    flex-direction: column;
    align-items: center;

    img {
        max-width: 500px;
    }

    small {
        color: #9a9a9a
    }
}

.single-post__content .wp-block-image {
    text-align: center;

    margin-block: 1em;
}

.single-post__content .wp-element-button {
    background-image: none;
    margin-top: 20px;
    display: block;

    font-family: var(--primary-font);
    padding: 15px 40px;
    text-align: center;
    background-color: #c1e699;
    color: var(--color-dark-green);
    border-radius: 30px;
    transition: all 0.3s ease-in-out;

    font-size: 22px;
    box-shadow: 4px 4px 6px grey;
}

.single-post__content .wp-element-button:hover {
    background-color: var(--color-dark-green);
    color: var(--color-olive-green);
}

.single-post__content div table tbody tr td {
    padding: 15px 40px;
    text-align: center;
    background-color: #c1e699;
    border-radius: 30px;
    font-size: 22px;
    box-shadow: 4px 4px 6px grey;

    margin-top: 20px;
    display: block;
}

.single-post__content div table tbody tr td a {
    font-family: var(--third-font) !important;
    background: none;
    color: var(--color-dark-green);
}

.single-post__content div table tbody tr td:hover {
    background-color: var(--color-dark-green);
}

.single-post__content div table tbody tr td a:hover {
    color: var(--color-olive-green);
}

.single-post__content ul li {
    list-style-type: disc;
    list-style-position: outside;
}


.single-post__content ol li {
    list-style-type: auto;
    list-style-position: outside;
}

.single-post__content h2 {
    margin-bottom: 25px;
}

.single-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
    margin: 0;
    margin-top: 7px;
}

.single-post__tags-link {
    display: block;
    padding: 5px 10px;
    background-color: #F5F5F5;

    color: var(--color-text);
    font-family: var(--primary-font);
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: .34px;

    transition: all .2s ease;
}

.single-post__tags-link:hover, .single-post__tags-link:focus {
    background-color: var(--color-olive-green);
}


/* FASHION, SAVING & EAT */
.single-saving__image,
.single-eat__image {
    display: flex;
    flex-direction: column;
}

.single-fashion__title, .single-saving__title, .single-eat__title {
    color: var(--color-text);
    font-family: var(--second-font);
    font-size: 40px;
    line-height: 56px;
    font-weight: 700;

    margin-bottom: 10px;
}

.single-fashion__image-photo, .single-saving__image-photo, .single-eat__image-photo {
    max-width: 100%;
}

.single-fashion__image-text, .single-saving__image-text, .single-eat__image-text {
    color: var(--color-text);
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    text-transform: uppercase;

    margin-top: 10px;
    opacity: .5;
}

.single-saving__image-text {
    order: -1;
    margin-block: 0px 10px;
}


.single-fashion__author, .single-saving__author, .single-eat__author {
    display: flex;
    align-items: center;
    column-gap: 15px;
    margin-block: 10px 30px;
}

.single-fashion__author-photo, .single-saving__author-photo, .single-eat__author-photo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 100%;
}

.single-fashion__author-name, .single-saving__author-name, .single-eat__author-name {
    color: var(--color-text);
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;

    opacity: .7;
}

@media screen and (max-width: 991px) {
    .single-post__hero {
        min-height: 400px;
        height: auto;
    }

    .single-post__hero-wrapper > .post__title {
        font-size: 30px;
        line-height: 1.2;
    }

    .single-post__wrapper, .single-fashion .single-post__wrapper, .single-eat .single-post__wrapper {
        grid-template-columns: 100%;
        row-gap: 40px;
    }

    .single-post__content .shortcode-media {
        img {
            max-width: 100%;
        }
    }

    .single-post__content img {
        max-width: 100%;
    }


    .single-post__related {
        grid-row: 2;
        row-gap: 20px;
    }

    .single-post__related-item {
        height: 500px;
    }
}