/* ==========================================================================
   Blog Interna (Single Post) - Estilos B2B
   ========================================================================== */

.blog-single-header {
    grid-area: header;
    margin-bottom: 32px;
}

.blog-single-meta-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.blog-single-tag {
    display: flex;
    padding: 6px 12px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 9999px;
    background: #459CD6;
    color: #FFF;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-single-date {
    color: #707975;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.blog-single-title {
    color: #0B4460;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 60px;
    text-transform: uppercase;
    margin: 0;
}

.blog-single-grid {
    display: grid;
    grid-template-columns: 750px 272px;
    column-gap: 120px;
    grid-template-areas: 
        "header sidebar"
        "content sidebar";
}

.blog-sidebar {
    grid-area: sidebar;
}

.blog-single-content {
    grid-area: content;
    max-width: 750px;
    display: flex;
    flex-direction: column;
}

.blog-single-main-img {
    width: 750px;
    max-width: 100%;
    height: 400px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 16px;
}

.blog-single-caption {
    color: #707975;
    text-align: center;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    margin: 0 0 32px 0;
}

.blog-single-text p {
    color: #343737;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; /* 166.667% */
    margin: 0 0 32px 0;
}

.blog-single-quote {
    display: flex;
    width: 750px;
    max-width: 100%;
    padding: 48px 42px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border-left: 4px solid #459CD6;
    background: #F3F3F3;
    color: #459CD6;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
    line-height: 32px; /* 133.333% */
    margin: 0 0 32px 0;
    box-sizing: border-box;
}

.blog-single-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px; /* 40px desde el parrafo anterior que tiene 32px de margin-bottom */
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-label {
    color: #1A1C1A;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 142.857% */
}

.author-name {
    color: #707975;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
}

/* ==========================================================================
   Responsive Mobile
   ========================================================================== */
@media (max-width: 1023px) {
    .blog-single-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "header"
            "sidebar"
            "content";
        gap: 40px;
    }

    .blog-single-title {
        font-size: 32px;
        line-height: 40px;
    }

    .blog-single-content {
        align-items: center;
    }

    .blog-single-text p {
        text-align: left;
        width: 100%;
    }

    .blog-single-main-img {
        width: 327px;
        height: 327px;
        border-radius: 8px;
        margin: 0 auto 16px auto;
    }

    .blog-single-quote {
        display: flex;
        width: 327px;
        padding: 48px 42px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto 32px auto;
        font-size: 20px; /* Ajuste tipico para mobile */
        line-height: 28px;
    }
    
    .blog-single-author {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Integración WordPress */
.blog-single-text blockquote,
.blog-single-text .wp-block-quote {
    display: flex;
    width: 750px;
    max-width: 100%;
    padding: 48px 42px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border-left: 4px solid #459CD6;
    background: #F3F3F3;
    color: #459CD6;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
    line-height: 32px;
    margin: 0 0 32px 0;
    box-sizing: border-box;
}

.blog-single-text blockquote p,
.blog-single-text .wp-block-quote p {
    color: inherit;
    font: inherit;
    margin: 0;
}

.blog-single-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-single-text a {
    color: #459CD6;
    font-weight: 700;
}

.blog-single-text ul,
.blog-single-text ol {
    color: #343737;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 18px;
    line-height: 30px;
    margin: 0 0 32px 24px;
}

@media (max-width: 1023px) {
    .blog-single-text blockquote,
    .blog-single-text .wp-block-quote {
        width: 327px;
        padding: 48px 42px;
        margin: 0 auto 32px auto;
        font-size: 20px;
        line-height: 28px;
    }
}
