/* Start custom CSS *//* =========================================================
   DOMUS MUNDI - BLOG INDIVIDUAL
   Diseño editorial integrado con la web
   ========================================================= */


/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */

body.single-post #main,
body.single-post .page-wrapper,
body.single-post .main-container {
    background: #ffffff;
}


/* =========================================================
   ARTÍCULO
   ========================================================= */

body.single-post article {
    max-width: 1400px;
    margin: 0 auto;
}


/* =========================================================
   CABECERA DEL ARTÍCULO
   ========================================================= */

body.single-post article > header,
body.single-post .post-header,
body.single-post header.single {
    max-width: 1400px;
    margin: 0 auto 35px;
}


/* Categoría */

body.single-post .post-meta,
body.single-post .post-category,
body.single-post .cat-links {
    margin-bottom: 16px;
}


body.single-post .post-meta a,
body.single-post .post-category a,
body.single-post .cat-links a {
    display: inline-block;

    color: #174775;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.7px;

    text-decoration: none;
}


/* =========================================================
   H1
   ========================================================= */

body.single-post h1 {
    max-width: 1255px;

    margin: 55px auto 20px;

    color: #111111;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.04;
    font-weight: 700;

    letter-spacing: -2.2px;
}


/* Línea amarilla bajo el H1 */

body.single-post h1::after {
    content: "";

    display: block;

    width: 72px;
    height: 5px;

    margin-top: 24px;

    background: #ffed00;
}


/* =========================================================
   IMAGEN DESTACADA
   ========================================================= */

body.single-post .post-media,
body.single-post .post-thumbnail,
body.single-post .entry-thumbnail {
    width: 100%;
    max-width: 1255px;

    margin: 35px auto 55px;

    overflow: hidden;
}


body.single-post .post-media img,
body.single-post .post-thumbnail img,
body.single-post .entry-thumbnail img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 620px;

    object-fit: cover;
}


/* =========================================================
   CUERPO DEL ARTÍCULO
   ========================================================= */

body.single-post .post-content,
body.single-post .entry-content,
body.single-post .post-article {
    max-width: 1400px;

    margin-left: auto;
    margin-right: auto;
}


/* Párrafos */

body.single-post .post-content p,
body.single-post .entry-content p,
body.single-post .post-article p {
    margin: 0 0 24px;

    color: #4f4f4f;

    font-size: 18px;
    line-height: 1.75;
    font-weight: 400;
}


/* Primer párrafo ligeramente destacado */

body.single-post .post-content > p:first-of-type,
body.single-post .entry-content > p:first-of-type {
    color: #222222;

    font-size: 20px;
    line-height: 1.7;
    font-weight: 500;
}


/* =========================================================
   H2
   ========================================================= */

body.single-post .post-content h2,
body.single-post .entry-content h2,
body.single-post .post-article h2 {
    position: relative;

    margin: 58px 0 22px;

    padding-top: 18px;

    color: #111111;

    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 700;

    letter-spacing: -1px;
}


/* Detalle amarillo pequeño sobre cada H2 */

body.single-post .post-content h2::before,
body.single-post .entry-content h2::before,
body.single-post .post-article h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 42px;
    height: 4px;

    background: #ffed00;
}


/* =========================================================
   H3
   ========================================================= */

body.single-post .post-content h3,
body.single-post .entry-content h3,
body.single-post .post-article h3 {
    margin: 38px 0 16px;

    color: #111111;

    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}


/* =========================================================
   ENLACES
   ========================================================= */

body.single-post .post-content a,
body.single-post .entry-content a,
body.single-post .post-article a {
    color: #174775;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: color .2s ease;
}


body.single-post .post-content a:hover,
body.single-post .entry-content a:hover,
body.single-post .post-article a:hover {
    color: #111111;
}


/* =========================================================
   LISTAS
   ========================================================= */

body.single-post .post-content ul,
body.single-post .entry-content ul,
body.single-post .post-article ul {
    margin: 25px 0 32px;
    padding: 0;

    list-style: none;
}


body.single-post .post-content ul li,
body.single-post .entry-content ul li,
body.single-post .post-article ul li {
    position: relative;

    margin-bottom: 13px;
    padding-left: 25px;

    color: #4f4f4f;

    font-size: 17px;
    line-height: 1.65;
}


body.single-post .post-content ul li::before,
body.single-post .entry-content ul li::before,
body.single-post .post-article ul li::before {
    content: "";

    position: absolute;

    left: 0;
    top: .65em;

    width: 8px;
    height: 8px;

    background: #ffed00;
}


/* =========================================================
   NEGRITAS
   ========================================================= */

body.single-post strong {
    color: #111111;
    font-weight: 700;
}


/* =========================================================
   BLOQUES DESTACADOS / CITAS
   ========================================================= */

body.single-post blockquote {
    margin: 40px 0;

    padding: 28px 32px;

    background: #f5f7f9;

    border-left: 5px solid #ffed00;
}


body.single-post blockquote p {
    margin: 0 !important;

    color: #174775 !important;

    font-size: 20px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
}


/* =========================================================
   SEPARADORES
   ========================================================= */

body.single-post hr {
    margin: 48px 0;

    border: 0;
    border-top: 1px solid #e5e5e5;
}


/* =========================================================
   FINAL DEL ARTÍCULO
   ========================================================= */

body.single-post .post-content,
body.single-post .entry-content {
    padding-bottom: 55px;
}


/* =========================================================
   COMENTARIOS
   ========================================================= */

body.single-post #comments,
body.single-post .comments-wrapper,
body.single-post .comment-respond {
    max-width: 1300px;

    margin: 40px auto 80px;

    padding-top: 45px;

    border-top: 1px solid #e5e5e5;
}


/* Título comentarios */

body.single-post #comments h2,
body.single-post #comments h3,
body.single-post .comment-reply-title {
    margin-bottom: 25px;

    color: #111111;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}


/* Labels */

body.single-post #comments label {
    display: block;

    margin-bottom: 8px;

    color: #222222;

    font-size: 13px;
    font-weight: 600;
}


/* Inputs */

body.single-post #comments input[type="text"],
body.single-post #comments input[type="email"],
body.single-post #comments input[type="url"],
body.single-post #comments textarea {
    width: 100%;

    padding: 14px 16px;

    background: #ffffff;

    border: 1px solid #d8d8d8;

    color: #111111;

    font: inherit;

    transition: border-color .2s ease;
}


body.single-post #comments input:focus,
body.single-post #comments textarea:focus {
    outline: none;

    border-color: #174775;
}


/* Botón */

body.single-post #comments input[type="submit"],
body.single-post #comments button[type="submit"] {
    padding: 14px 24px;

    background: #174775;

    border: 0;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}


body.single-post #comments input[type="submit"]:hover,
body.single-post #comments button[type="submit"]:hover {
    background: #ffed00;

    color: #111111;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    body.single-post article,
    body.single-post .post-media,
    body.single-post .post-thumbnail,
    body.single-post .entry-thumbnail {
        width: calc(100% - 30px);
    }


    body.single-post h1,
    body.single-post article > header,
    body.single-post .post-header,
    body.single-post header.single {
        width: calc(100% - 50px);
    }


    body.single-post .post-content,
    body.single-post .entry-content,
    body.single-post .post-article,
    body.single-post #comments,
    body.single-post .comments-wrapper,
    body.single-post .comment-respond {
        width: calc(100% + 0px);
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    body.single-post h1 {
        width: calc(100% - 20px);

        margin-top: 35px;

        font-size: 30px;
        line-height: 1.08;

        letter-spacing: -1.3px;
    }


    body.single-post article > header,
    body.single-post .post-header,
    body.single-post header.single {
        width: calc(100% - 36px);
    }


    body.single-post .post-media,
    body.single-post .post-thumbnail,
    body.single-post .entry-thumbnail {
        width: calc(100% - 20px);

        margin-top: 28px;
        margin-bottom: 38px;
    }


    body.single-post .post-media img,
    body.single-post .post-thumbnail img,
    body.single-post .entry-thumbnail img {
        max-height: none;
    }


    body.single-post .post-content,
    body.single-post .entry-content,
    body.single-post .post-article,
    body.single-post #comments,
    body.single-post .comments-wrapper,
    body.single-post .comment-respond {
        width: calc(100% + 0px);
    }


    body.single-post .post-content p,
    body.single-post .entry-content p,
    body.single-post .post-article p {
        font-size: 16px;
        line-height: 1.7;
    }


    body.single-post .post-content > p:first-of-type,
    body.single-post .entry-content > p:first-of-type {
        font-size: 17px;
    }


    body.single-post .post-content h2,
    body.single-post .entry-content h2,
    body.single-post .post-article h2 {
        margin-top: 45px;

        font-size: 28px;
    }


    body.single-post .post-content ul li,
    body.single-post .entry-content ul li,
    body.single-post .post-article ul li {
        font-size: 16px;
    }

}/* End custom CSS */