.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;
    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: 363px 1fr 40px;
    column-gap: 30px;

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

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

.single-fashion .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, var(--color-olive-green), var(--color-olive-green));
    background-size: 100% 40%;
    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__social {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    margin: 0;
    padding: 0;
}

.single-post__social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    border: 1px solid #ccc;

    color: #5A5A5A;
    font-size: 18px;
}

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

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

    padding-bottom: 30px;
    margin-bottom: 30px;

    border-bottom: 4px 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 {
    margin-top: 15px;
    padding: 3px 10px;
    background: var(--color-green);
    color: var(--color-white);
    font-family: var(--primary-font);
    font-size: 19px;
    line-height: 2;
}

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

.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;
}

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

    font-family: var(--primary-font);
    padding: 12px 18px;
    text-align: center;
    background-color: var(--color-olive-green);
    color: var(--color-dark-green);
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
}

.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: 12px 18px;
    text-align: center;
    background-color: var(--color-olive-green);
    border-radius: 30px;

    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: inside;
}


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

.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 */
.single-saving__image {
    display: flex;
    flex-direction: column;
}

.single-fashion__title, .single-saving__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 {
    max-width: 100%;
}

.single-fashion__image-text, .single-saving__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 {
    display: flex;
    align-items: center;
    column-gap: 15px;
    margin-block: 10px 30px;
}

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

.single-fashion__author-name, .single-saving__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 {
        height: 500px;
    }

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

    .single-post__wrapper, .single-fashion .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__social {
        display: none;
    }

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

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