.single {
    background-color: transparent !important;
    padding: 30px 0 !important;
    padding-bottom: 0 !important;
}

.single .site-content {
    padding: 30px 20px !important;
}

.single .ast-container {
    width: 100% !important;
    max-width: none !important;
    justify-content: center;
    padding: 0 !important;
}

.single-post-container {
    width: 100%;
}

.single-post-container__wrapper {
    margin-bottom: 40px;
}

@media screen and (min-width: 1024px) {
    .single .site-content {
        padding: 40px 0 !important;
    }

    .single-post-container__wrapper {
        max-width: 750px;
        margin: 0 auto;
        margin-bottom: 50px;
    }

}

@media screen and (min-width: 1280px) {
    .single .site-content {
        padding: 60px 0 !important;
    }

    .single-post-container__wrapper {
        max-width: 850px;
        margin: 0 auto;
        margin-bottom: 60px;
    }

}

/* Fecha y autor */
.single-post__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2F6BEB;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 30px;
}

.single-post__date {
    color: #2F6BEB;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

@media screen and (min-width: 1024px) {
    .single-post__date,
    .single-post__meta {
        font-size: 16px;
    }
}

@media screen and (min-width: 1280px) {
    .single-post__date,
    .single-post__meta {
        font-size: 18px;
    }
}

.single-post__author {
    color: #2F6BEB;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

/* Titulo */
.single-post__title {
    color: #2F6BEB;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

@media screen and (min-width: 1024px) {
    .single-post__title {
        font-size: 28px;
    }
}

@media screen and (min-width: 1280px) {
    .single-post__title {
        font-size: 32px;
    }
}

/* Extracto */
.single-post__excerpt {
    color: #848484;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
}

@media screen and (min-width: 1024px) {
    .single-post__excerpt {
        font-size: 18px;
    }
}

@media screen and (min-width: 1280px) {
    .single-post__excerpt {
        font-size: 22px;
    }
}

/* Imagen */
.single-post__featured-image {
    border-radius: 40px;
    overflow: hidden;
    font-size: 0;
    line-height: 1;
    margin-bottom: 30px;

}

.single-post__featured-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Contenido */
.single-post__content {
    color: #848484;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
}

.single-post__content b,
.single-post__content strong {
    font-weight: 700;
}

.single-post__content a {
    text-decoration: underline;
}

.single-post__content p {
    margin-bottom: 20px;
}

.single-post__content h1,
.single-post__content h2,
.single-post__content h3,
.single-post__content h4,
.single-post__content h5,
.single-post__content h6 {
     color: #848484 !important;
    margin-bottom: 20px;
}

@media screen and (min-width: 1024px) {
    .single-post__content {
        font-size: 16px;
    }
}

@media screen and (min-width: 1280px) {
    .single-post__content {
        font-size: 18px;
    }
}

/* Tags and next news*/
.single-post__wrapper-tags-and-next-news {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.single-post__tags {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

@media screen and (min-width: 1024px) {
    .single-post__tags {
        flex-direction: row;
        gap: 0;
    }
}

.single-post__tags-title-icon {
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-post__tags-title-icon strong {
    font-family: 'Montserrat', sans-serif;
    color: #848484;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.single-post__tags-title {
    color: #848484;
    font-family: "Montserrat", Sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 18px;
    margin: 0 !important;
}

@media screen and (min-width: 1024px) {
    .single-post__tags-title {
        font-size: 16px;
    }
}

@media screen and (min-width: 1280px) {
    .single-post__tags-title {
        font-size: 18px;
    }
}

.single-post__tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media screen and (min-width: 1024px) {
    .single-post__tags-list {
         justify-content: flex-start;
    }
}

.single-post__tags-list a {
    display: inline-block;
    padding: 6px 16px;
    background-color: #E8E8E8;
    color: #848484;
    border-radius: 10px;
    text-decoration: none;
    font-family: "Montserrat", Sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.single-post__tags-list a:hover {
    color: #ffffff;
    background-color: #2F6BEB;
}

/* Related posts */
.single-post-container__wrapper-related-posts {
    background-color: #F0F0F0;
    padding: 60px 20px;
    border-radius: 30px 30px 0 0;
    margin-left: -20px;
    margin-right: -20px;
}

.single-post__related {
    margin: 0 auto;
    margin-bottom: 40px;
}

.single-post__related-title {
    color: #2F6BEB;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
}

.single-post__related-title-span {
    color: #848484;
    font-weight: 400;
}

.single-post__inner-related-posts {
    display: grid;
    gap: 24px;
}

@media screen and (min-width: 1024px) {

    .single-post-container__wrapper-related-posts {
        padding: 60px 0;
        border-radius: 80px 80px 0 0;
        margin-left: 0;
        margin-right: 0;
    }

    .single-post__related {
        max-width: 8fr;
    }

    .single-post__related-title {
        font-size: 32px;
        margin-bottom: 36px;
    }

    .single-post__inner-related-posts {
        grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
    }

}


@media screen and (min-width: 1280px) {
    .single-post__related {
        max-width: 950px;
    }
}

@media screen and (min-width: 1440px) {
    .single-post__related {
        max-width: 1170px;
    }
}

.single-post__back {
    display: flex;
    justify-content: center;
}

.btn-back-blog,
.btn-next-post  {
    display: inline-block;
    padding: 10px 20px;
    background: #2F6BEB;
    background: linear-gradient(143deg,rgba(47, 107, 235, 1) 0%, rgba(0, 165, 255, 1) 100%);
    color: #ffffff !important;
    border-radius: 10px;
    text-decoration: none;
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-back-blog:hover,
.btn-next-post:hover  {
    background: #1a4f9d;
    background: linear-gradient(143deg,rgba(26, 79, 157, 1) 0%, rgba(0, 115, 204, 1) 100%);
}