
/* =====================================================
   MASHAROS THEME V4 ENTERPRISE CORE
   Mantiene publicidad existente y modulariza single.php
===================================================== */

.masharos-v4-single{
    max-width:1380px;
    width:92%;
    margin:0 auto;
    padding:42px 0 70px;
}

.masharos-v4-single-wrap{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:34px;
    align-items:start;
}

.masharos-v4-main{
    background:#fff;
    border-radius:16px;
}

.masharos-v4-single-header{
    padding-bottom:18px;
    border-bottom:1px solid #eee;
    margin-bottom:22px;
}

.masharos-v4-cats{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:14px;
}

.masharos-v4-cats a{
    background:#d2651d;
    color:#fff!important;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}

.masharos-v4-single-header h1{
    color:#111;
    font-size:clamp(32px,4vw,54px);
    line-height:1.04;
    margin:0 0 14px;
    letter-spacing:-1.2px;
}

.masharos-v4-subtitle{
    font-size:20px;
    line-height:1.42;
    color:#555;
    margin:0 0 18px;
    font-weight:500;
}

.masharos-v4-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 14px;
    color:#666;
    font-size:13px;
    margin-bottom:16px;
}

.masharos-v4-meta span{
    background:#fafafa;
    border:1px solid #eee;
    border-radius:999px;
    padding:7px 10px;
}

.masharos-v4-share{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.masharos-v4-share a{
    background:#414140;
    color:#fff!important;
    border-radius:999px;
    padding:9px 13px;
    font-size:13px;
    font-weight:900;
}

.masharos-v4-share a:first-child{
    background:#d2651d;
}

.masharos-v4-featured{
    margin:0 0 24px;
}

.masharos-v4-featured img{
    width:100%;
    height:auto;
    border-radius:16px;
    display:block;
}

.masharos-v4-featured figcaption{
    font-size:12px;
    color:#777;
    margin-top:8px;
}

.masharos-v4-content{
    font-size:18px;
    line-height:1.72;
    color:#222;
}

.masharos-v4-content p{
    margin:0 0 20px;
}

.masharos-v4-content img{
    max-width:100%;
    height:auto;
    border-radius:12px;
}

.masharos-v4-pdf-viewer{
    margin:34px 0;
    padding:22px;
    background:#fafafa;
    border:1px solid #eee;
    border-left:6px solid #d2651d;
    border-radius:16px;
}

.masharos-v4-pdf-viewer h2{
    margin:0 0 14px;
    color:#414140;
}

.masharos-v4-pdf-viewer object,
.masharos-v4-pdf-viewer iframe{
    display:block;
    border:0;
    background:#f1f1f1;
    border-radius:12px;
}

.masharos-v4-pdf-button{
    display:inline-block;
    margin-top:14px;
    background:#414140;
    color:#fff!important;
    padding:10px 16px;
    border-radius:999px;
    font-weight:900;
}

.masharos-v4-sidebar{
    position:sticky;
    top:26px;
}

.masharos-v4-widget{
    background:#fff;
    border:1px solid #eee;
    border-radius:16px;
    padding:18px;
    margin-bottom:20px;
    box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.masharos-v4-widget h3{
    margin:0 0 14px;
    color:#414140;
    border-left:5px solid #d2651d;
    padding-left:10px;
}

.masharos-v4-latest{
    display:grid;
    grid-template-columns:74px 1fr;
    gap:10px;
    align-items:center;
    border-bottom:1px solid #eee;
    padding:10px 0;
    color:#222!important;
    font-weight:800;
}

.masharos-v4-latest img{
    width:74px;
    height:54px;
    object-fit:cover;
    border-radius:8px;
}

.masharos-v4-related{
    margin:42px 0;
}

.masharos-v4-related h2{
    color:#414140;
    border-left:6px solid #d2651d;
    padding-left:12px;
}

.masharos-v4-related-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.masharos-v4-related article{
    background:#fff;
    border:1px solid #eee;
    border-radius:14px;
    overflow:hidden;
}

.masharos-v4-related img{
    width:100%;
    height:135px;
    object-fit:cover;
}

.masharos-v4-related h3{
    font-size:15px;
    line-height:1.22;
    margin:10px;
    color:#222;
}

.masharos-v4-related span{
    display:block;
    margin:0 10px 12px;
    font-size:12px;
    color:#777;
}

.masharos-v4-ad-placeholder{
    min-height:90px;
    background:linear-gradient(135deg,#fafafa,#fff);
    border:1px dashed #ddd;
    border-radius:12px;
    margin:24px 0;
}

@media(max-width:1050px){
    .masharos-v4-single-wrap{
        grid-template-columns:1fr;
    }
    .masharos-v4-sidebar{
        position:static;
    }
}

@media(max-width:700px){
    .masharos-v4-single{
        width:94%;
        padding-top:26px;
    }
    .masharos-v4-related-grid{
        grid-template-columns:1fr;
    }
    .masharos-v4-single-header h1{
        font-size:32px;
    }
    .masharos-v4-content{
        font-size:17px;
    }
}
