
/* Masharos Enterprise V72.0.16 - mejoras discretas para artículo público */
body.single-post .entry-content p,
body.single-post .post-content p,
body.single-post article p {
    line-height: 1.72;
}

body.single-post h1,
body.single-post .entry-title,
body.single-post .post-title {
    letter-spacing: -0.02em;
}

body.single-post figcaption,
body.single-post .wp-caption-text,
body.single-post .masharos-photo-caption {
    color: #666666;
    font-size: 13px;
    font-style: italic;
    line-height: 1.45;
    margin-top: 10px;
}

body.single-post article img,
body.single-post .entry-content img,
body.single-post .post-content img {
    border-radius: 14px;
}

.masharos-social-embeds {
    margin: 42px 0 28px;
    padding: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.masharos-social-embeds h3 {
    margin: 0 0 18px;
    color: #414140;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.masharos-social-embed-item {
    margin: 0 0 22px;
    padding: 14px;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    background: #fafafa;
    overflow: hidden;
}

.masharos-social-embed-item:last-child {
    margin-bottom: 0;
}

.masharos-social-embed-item iframe,
.masharos-social-embed-item blockquote {
    display: block !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.masharos-social-embed-facebook {
    max-width: 100%;
    min-height: 520px;
}

.masharos-social-embed-video {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
}

.masharos-social-embed-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.masharos-social-embed-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: #d2651d;
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none !important;
}

.masharos-social-embed-button:hover {
    background: #b95617;
}

@media (max-width: 782px) {
    .masharos-social-embeds {
        padding: 16px;
        border-radius: 16px;
    }

    .masharos-social-embeds h3 {
        font-size: 21px;
    }
}

/* Documentos PDF embebidos */
.masharos-documents {
    margin: 34px 0;
    padding: 24px;
    border: 1px solid #e6e6e6;
    border-left: 5px solid #d2651d;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.masharos-documents h3 {
    margin: 0 0 18px;
    color: #414140;
    font-size: clamp(1.35rem, 2vw, 2rem);
}
.masharos-document-card + .masharos-document-card {
    margin-top: 24px;
}
.masharos-document-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.masharos-document-header > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.masharos-document-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 28px;
    padding: 0 8px;
    border-radius: 7px;
    background: #d2651d;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}
.masharos-document-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.masharos-document-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 8px;
    background: #414140;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}
.masharos-document-actions a:first-child {
    background: #d2651d;
}
.masharos-document-viewer {
    width: 100%;
    height: min(78vh, 860px);
    min-height: 520px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f4f4f4;
}
.masharos-document-viewer object,
.masharos-document-viewer iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 700px) {
    .masharos-documents { padding: 16px; border-radius: 14px; }
    .masharos-document-header { align-items: flex-start; flex-direction: column; }
    .masharos-document-viewer { min-height: 480px; height: 70vh; }
}
