/**
 * BUSCOS Estudios Styles
 * Layout and reading experience for studies pages.
 */

.estudios-post-page {
    max-width: 1320px;
}

.estudios-main-column {
    min-width: 0;
}

.estudios-post-title {
    font-size: clamp(2.15rem, 3.4vw, 3.35rem);
    line-height: 1.08;
    color: var(--bs-secondary, #34495e);
}

.estudios-post-excerpt {
    font-size: 1.35rem;
    line-height: 1.65;
}

.estudios-source-box {
    background: linear-gradient(180deg, rgba(82, 168, 106, 0.06) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.estudios-featured-image img {
    max-height: 560px;
    object-fit: cover;
}

.estudios-content-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
}

.estudios-content-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--bs-secondary, #34495e);
    font-weight: 700;
    line-height: 1.25;
}

.estudios-content-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    color: var(--bs-secondary, #34495e);
    font-weight: 700;
    line-height: 1.3;
}

.estudios-content-body p {
    margin-bottom: 1.25rem;
}

.estudios-content-body .lead {
    font-size: 1.26rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 1.8rem;
}

.estudios-content-body ul,
.estudios-content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.estudios-content-body li {
    margin-bottom: 0.55rem;
}

.estudios-content-body blockquote {
    border-left: 4px solid var(--buscos-primary, #52A86A);
    padding: 1rem 1.25rem;
    margin: 2rem 0;
    background: #f8fafc;
    border-radius: 0 0.75rem 0.75rem 0;
    color: #475569;
}

.estudios-sidebar-stack {
    display: grid;
    gap: 1.5rem;
}

.estudios-sidebar-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.estudios-founder-note {
    background: linear-gradient(180deg, rgba(82, 168, 106, 0.14) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(82, 168, 106, 0.24);
}

.estudios-founder-note .small {
    color: var(--buscos-primary, #52A86A);
    letter-spacing: 0.03em;
}

.estudios-founder-note-body {
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
}

.estudios-founder-note-body strong {
    color: #1e293b;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.estudios-share-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.estudios-share-icon:hover,
.estudios-share-icon:focus-visible {
    transform: translateY(-2px);
    opacity: 0.85;
    color: #fff;
}

.estudios-share-icon.is-x {
    background-color: #000000;
}

.estudios-share-icon.is-linkedin {
    background-color: #0077B5;
}

.estudios-share-icon.is-whatsapp {
    background-color: #25D366;
}

.estudios-share-icon.is-copy {
    background-color: #64748b;
}

.estudios-comments-slot:empty {
    display: none;
}

.estudios-comments-slot .editorial-comments {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

.estudios-comments-slot .editorial-comments .editorial-comments-form,
.estudios-comments-slot .editorial-comments .editorial-comment-card,
.estudios-comments-slot .editorial-comments .editorial-comments-empty {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.estudios-related {
    margin-top: 4rem;
}

.estudios-back-wrap {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 991.98px) {
    .estudios-post-title {
        font-size: 2.35rem;
    }

    .estudios-post-excerpt {
        max-width: none;
        font-size: 1.2rem;
    }

}

@media (max-width: 575.98px) {
    .estudios-post-title {
        font-size: 1.95rem;
    }

    .estudios-content-body {
        font-size: 1rem;
    }
}
