
.xleche-single-layout{width:calc(100% - 40px)!important;max-width:1240px!important;padding-left:0!important;padding-right:0!important}
.xleche-single-main{float:none;width:100%;padding:0}
.xleche-single-article{margin-top:18px}
.xleche-single-player{overflow:hidden;background:#050505;border:1px solid rgba(255,255,255,.08);border-radius:16px 16px 0 0;box-shadow:0 12px 32px rgba(0,0,0,.28)}
.xleche-single-player .body-content{margin:0;padding:0;background:#050505}
.xleche-single-player .body-content>p:first-child{margin-top:0}
.xleche-single-player iframe,.xleche-single-player video,.xleche-single-player .video-js,.xleche-single-player .kgvid_wrapper,.xleche-single-player .kgvid_video_wrapper{max-width:100%}

/* El reproductor principal ocupa su espacio real desde el HTML inicial. */
body.single-post #xleche-primary-video,
body.single-post #xleche-primary-video .body-content,
body.single-post #xleche-primary-video .kgvid_wrapper,
body.single-post #xleche-primary-video .kgvid_videodiv,
body.single-post #xleche-primary-video .kgvid_video_wrapper,
body.single-post #xleche-primary-video .video-js,
body.single-post #xleche-primary-video video,
body.single-post #xleche-primary-video iframe{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box;
}
.xleche-single-info{position:relative;margin-top:0!important;padding:18px 20px 16px!important;background:#1b1e21!important;border:1px solid #2b2f33;border-top:0;border-radius:0 0 10px 10px;box-shadow:0 10px 30px rgba(0,0,0,.2)!important}
.xleche-single-info:before{content:"";position:absolute;top:0;left:20px;width:54px;height:3px;background:var(--xl-accent,#f5c400)}
.xleche-single-title{margin:0 0 12px!important;padding-top:3px;color:#f7f7f7!important;font-size:clamp(22px,2vw,30px)!important;font-weight:750;line-height:1.2;letter-spacing:-.015em}
.xleche-single-details{display:flex;flex-wrap:wrap;gap:8px 16px;padding:0!important;list-style:none!important}
.xleche-single-details li{margin:0!important;color:#b8bdc2!important;line-height:1.6}
.xleche-single-details strong{color:#e9e9e9;font-weight:650}
.xleche-single-details .glyphicon{margin-right:4px;color:#8c9298}
.xleche-single-meta-row{flex:0 0 100%;display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:13px!important}
.xleche-single-tax-row{flex:1 1 100%;font-size:13px!important}
.xleche-single-tax-row a{display:inline-flex;align-items:center;margin:2px 3px 2px 0;padding:4px 8px;border:1px solid #373c40;border-radius:999px;background:#25292d;color:#e5e5e5!important;font-size:12px!important;font-weight:650!important;line-height:1.25;text-decoration:none;transition:border-color .15s ease,background .15s ease,color .15s ease}
.xleche-single-tax-row a:hover{background:#2c3135;border-color:var(--xl-accent,#f5c400);color:#fff!important}
.xleche-single-tags .report{margin-left:auto}
.xleche-single-tags .report .btn{padding:3px 6px;color:#9ca2a8}
.xleche-single-tags .report .btn:hover{color:var(--xl-accent,#f5c400)}
.xleche-heart-rating-single{display:inline-flex;align-items:center;margin-left:5px!important}
#report .wrapper-report{margin-top:10px;padding:18px;background:#1b1e21;border:1px solid #2b2f33;border-radius:10px;box-shadow:none}
#report .wrapper-report h2{margin-top:0;color:#f5f5f5;font-size:19px}
#report .form-control{background:#111416;border-color:#353a3e;color:#eee}
#report .form-control:focus{border-color:var(--xl-accent,#f5c400);box-shadow:none}
.xleche-related-section{margin-top:38px!important;padding-top:4px;border-top:1px solid #292d30}
.xleche-related-section .sectionTitle{position:relative;margin:20px 0 16px;padding-left:12px;color:#f2f2f2;font-size:23px;font-weight:700}
.xleche-related-section .sectionTitle:before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:3px;border-radius:3px;background:var(--xl-accent,#f5c400)}
.comment-content{margin-top:16px!important;padding:18px!important;background:#1a1d20;border:1px solid #292d30;border-radius:10px}
@media(max-width:991px){
  .xleche-single-layout{width:100%!important;max-width:100%!important;padding-left:14px!important;padding-right:14px!important}
  .xleche-single-main{float:none;width:100%;padding-left:0;padding-right:0}
  .xleche-single-empty-column{display:none!important}
  .xleche-single-article{margin-top:12px}
  .xleche-single-info{padding:15px 14px 13px!important}
  .xleche-single-info:before{left:14px}
  .xleche-single-title{font-size:22px!important}
  .xleche-related-section{margin-top:30px!important}
}
@media(max-width:520px){
  .xleche-single-layout{padding-left:8px!important;padding-right:8px!important}
  .xleche-single-main{padding-left:0;padding-right:0}
  .xleche-single-player{border-radius:7px 7px 0 0}
  .xleche-single-info{border-radius:0 0 7px 7px}
  .xleche-single-details{gap:7px}
  .xleche-single-tax-row a{padding:4px 7px;font-size:11px!important}
  .comment-content{padding:12px!important}
}

/* XLECHE single-video responsive refinement: tablet + mobile */
@media (max-width: 991px) {
  body.single-post .xleche-site-shell,
  body.single-post #main-content { width:100%; }
  body.single-post #main-content > .container,
  body.single-post .xleche-related-section,
  body.single-post #main-content > .container:last-of-type {
    width:100%!important;
    max-width:100%!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  body.single-post .xleche-single-main {
    float:none!important;
    width:100%!important;
    padding:0!important;
  }
  body.single-post .xleche-single-article {
    margin:12px 0 0!important;
    background:transparent!important;
  }
  body.single-post .xleche-single-player {
    width:100%!important;
    border:0!important;
    border-radius:14px 14px 0 0!important;
    box-shadow:0 12px 28px rgba(0,0,0,.28)!important;
  }
  body.single-post .xleche-single-player .body-content,
  body.single-post .xleche-single-player .body-content > * {
    max-width:100%!important;
  }
  body.single-post .xleche-single-player iframe,
  body.single-post .xleche-single-player video,
  body.single-post .xleche-single-player .video-js,
  body.single-post .xleche-single-player .kgvid_wrapper,
  body.single-post .xleche-single-player .kgvid_videodiv,
  body.single-post .xleche-single-player .kgvid_video_wrapper {
    width:100%!important;
    max-width:100%!important;
  }
  body.single-post .xleche-single-info {
    margin:0!important;
    padding:18px 16px 16px!important;
    background:#171a1d!important;
    border:1px solid #2c3034!important;
    border-top:0!important;
    border-radius:0 0 12px 12px!important;
    box-shadow:0 12px 28px rgba(0,0,0,.22)!important;
  }
  body.single-post .xleche-single-info:before {
    left:16px!important;
    width:48px!important;
    height:3px!important;
  }
  body.single-post .xleche-single-title {
    margin:0 0 14px!important;
    padding-top:4px!important;
    font-size:24px!important;
    line-height:1.22!important;
    font-weight:750!important;
    letter-spacing:-.018em!important;
  }
  body.single-post .xleche-single-details {
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    margin:0!important;
    padding:0!important;
  }
  body.single-post .xleche-single-details > li {
    width:100%!important;
    margin:0!important;
  }
  body.single-post .xleche-single-meta-row {
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    padding:9px 11px!important;
    border:1px solid #2e3337!important;
    border-radius:9px!important;
    background:#202428!important;
    color:#bfc4c8!important;
    font-size:13px!important;
  }
  body.single-post .xleche-single-tax-row {
    padding-top:2px!important;
    line-height:1.9!important;
  }
  body.single-post .xleche-single-tax-row > strong {
    display:block!important;
    margin-bottom:5px!important;
    color:#f0f0f0!important;
    font-size:12px!important;
    letter-spacing:.02em!important;
  }
  body.single-post .xleche-single-tax-row a {
    margin:2px 4px 2px 0!important;
    padding:6px 10px!important;
    border:1px solid #3a4045!important;
    border-radius:999px!important;
    background:#24292d!important;
    color:#ececec!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  body.single-post .xleche-single-tags .report {
    float:none!important;
    margin-left:4px!important;
  }
  body.single-post #report .wrapper-report {
    margin:12px 0 0!important;
    padding:16px!important;
    border-radius:10px!important;
  }
  body.single-post .xleche-related-section {
    margin-top:28px!important;
    padding-top:0!important;
    border-top:0!important;
  }
  body.single-post .xleche-related-section .sectionTitle {
    margin:0 0 14px!important;
    padding:0 0 10px 12px!important;
    border-bottom:1px solid #2b2f33!important;
    font-size:22px!important;
  }
  body.single-post .xleche-related-section .sectionTitle:before {
    top:1px!important;
    bottom:11px!important;
  }
  body.single-post .xleche-related-grid {
    gap:14px 10px!important;
  }
  body.single-post .comment-content {
    margin-top:26px!important;
    padding:16px!important;
    border-radius:10px!important;
  }
}

@media (max-width: 600px) {
  body.single-post #main-content > .container,
  body.single-post .xleche-related-section,
  body.single-post #main-content > .container:last-of-type {
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.single-post .xleche-single-article { margin-top:8px!important; }
  body.single-post .xleche-single-player {
    border-radius:12px 12px 0 0!important;
  }
  body.single-post .xleche-single-info {
    padding:16px 12px 14px!important;
    border-radius:0 0 9px 9px!important;
  }
  body.single-post .xleche-single-info:before { left:12px!important; width:42px!important; }
  body.single-post .xleche-single-title {
    margin-bottom:12px!important;
    font-size:20px!important;
    line-height:1.25!important;
  }
  body.single-post .xleche-single-meta-row {
    padding:8px 9px!important;
    font-size:12px!important;
  }
  body.single-post .xleche-single-tax-row a {
    padding:5px 8px!important;
    font-size:11px!important;
  }
  body.single-post .xleche-related-section { margin-top:24px!important; }
  body.single-post .xleche-related-section .sectionTitle { font-size:20px!important; }
  body.single-post .xleche-related-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px 8px!important;
  }
  body.single-post .xleche-related-card .xleche-card-title {
    font-size:13px!important;
    line-height:1.3!important;
  }
  body.single-post .xleche-related-card .xleche-card-meta { font-size:11px!important; }
  body.single-post .comment-content { padding:12px!important; }
}

@media (max-width: 360px) {
  body.single-post .xleche-related-grid { grid-template-columns:1fr!important; }
}
/* =========================================================
   XLECHE - ANUNCIOS MÓVILES EN PÁGINAS DE VIDEO
   ========================================================= */

/* Los espacios existen en el HTML, pero no ocupan lugar hasta que se cargan. */
.xleche-player-ad {
    display: none;
}

@media (max-width: 767px) {

    .xleche-single-layout,
    .xleche-single-main,
    .xleche-single-article {
        width: 100%;
        max-width: 100%;
    }

    .xleche-single-player,
    .xleche-player-ad {
        width: calc(100vw - 16px);
        max-width: none;
        margin-left: calc(50% - 50vw + 8px);
        margin-right: calc(50% - 50vw + 8px);
        box-sizing: border-box;
    }

    .xleche-player-ad {
        display: block;
        min-width: 0;
        padding: 0;
        overflow: hidden;
        text-align: center;
    }

    .xleche-player-ad-top {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .xleche-player-ad-bottom {
        margin-top: 10px;
    }

    .xleche-player-ad > div,
    .xleche-player-ad > span,
    .xleche-player-ad iframe,
    .xleche-player-ad video,
    .xleche-player-ad img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        box-sizing: border-box !important;
    }
}

/* =========================================================
   XLECHE 3.0.70 - PUBLICACIÓN INDIVIDUAL COMPACTA Y MODERNA
   Escritorio: reproductor contenido a la izquierda y cuatro
   videos relacionados a la derecha en dos columnas.
   ========================================================= */

body.single-post .xleche-single-stage,
body.single-post .xleche-single-stage > *,
body.single-post .xleche-single-main,
body.single-post .xleche-single-article {
    min-width: 0;
}

body.single-post .xleche-single-player {
    border-color: #30353a;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

body.single-post .xleche-single-info {
    padding: 16px 18px 14px!important;
    border-color: #30353a;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg,#1d2125 0%,#181b1f 100%)!important;
    box-shadow: 0 14px 34px rgba(0,0,0,.22)!important;
}

body.single-post .xleche-single-info::before {
    left: 18px;
    width: 48px;
    height: 3px;
    border-radius: 999px;
}

body.single-post .xleche-single-title {
    margin-bottom: 10px!important;
    font-size: clamp(21px,1.65vw,26px)!important;
    line-height: 1.22;
}

body.single-post .xleche-related-sidebar {
    min-width: 0;
    margin-top: 18px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid #30353a;
    border-radius: 14px;
    background: linear-gradient(180deg,#191d21 0%,#14171a 100%);
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

body.single-post .xleche-related-sidebar-title {
    position: relative;
    margin: 0 0 13px;
    padding: 0 0 10px 12px;
    border-bottom: 1px solid #2d3236;
    color: #f4f4f4;
    font-size: 18px;
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: -.01em;
}

body.single-post .xleche-related-sidebar-title::before {
    content: "";
    position: absolute;
    top: 1px;
    bottom: 11px;
    left: 0;
    width: 3px;
    border-radius: 999px;
    background: var(--xl-accent,#f5c400);
}

body.single-post .xleche-related-sidebar-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px 10px;
}

body.single-post .xleche-related-sidebar .xleche-related-card {
    min-width: 0;
    margin: 0;
    content-visibility: visible;
    contain: none;
}

body.single-post .xleche-related-sidebar .xleche-card-media {
    overflow: hidden;
    border: 1px solid #2d3236;
    border-radius: 9px;
    background: #0b0c0d;
    box-shadow: 0 5px 14px rgba(0,0,0,.18);
    transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

body.single-post .xleche-related-sidebar .xleche-card-media:hover,
body.single-post .xleche-related-sidebar .xleche-card-media:focus-visible {
    border-color: rgba(245,196,0,.70);
    box-shadow: 0 8px 20px rgba(0,0,0,.30);
    transform: translateY(-2px);
    outline: 0;
}

body.single-post .xleche-related-sidebar .xleche-card-content {
    padding: 6px 2px 0;
}

body.single-post .xleche-related-sidebar .xleche-card-title {
    display: -webkit-box;
    min-height: 32px;
    margin: 0 0 3px!important;
    overflow: hidden;
    font-size: 12px!important;
    font-weight: 650;
    line-height: 1.32!important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.single-post .xleche-related-sidebar .xleche-card-meta {
    min-height: 18px;
    gap: 4px;
    overflow: hidden;
    color: #9da3a8;
    font-size: 10px;
    white-space: nowrap;
}

body.single-post .xleche-related-sidebar .xleche-card-meta .xleche-heart-rating {
    min-height: 18px;
    margin: 0;
}

body.single-post .xleche-related-sidebar .xleche-card-meta .xleche-heart-button {
    min-width: auto;
    min-height: 18px;
    padding: 0 2px;
    gap: 3px;
}

body.single-post .xleche-related-sidebar .xleche-card-meta .xleche-heart-icon {
    width: 14px;
    height: 14px;
}

body.single-post .xleche-related-more-section,
body.single-post #main-content > .container:last-of-type {
    width: calc(100% - 40px)!important;
    max-width: 1400px!important;
}

body.single-post .xleche-related-more-section {
    margin-top: 28px!important;
}

@media (min-width: 992px) {
    body.single-post .xleche-single-layout {
        width: calc(100% - 40px)!important;
        max-width: 1400px!important;
    }

    /* Reproductor centrado y de tamaño intermedio en escritorio */
    body.single-post .xleche-single-player,
    body.single-post #xleche-primary-video {
        width: 100%!important;
        max-width: 1124px!important;
        margin-right: auto!important;
        margin-left: auto!important;
        box-sizing: border-box!important;
    }

    body.single-post #xleche-primary-video .body-content,
    body.single-post #xleche-primary-video .kgvid_wrapper,
    body.single-post #xleche-primary-video .kgvid_videodiv,
    body.single-post #xleche-primary-video .kgvid_video_wrapper,
    body.single-post #xleche-primary-video .video-js,
    body.single-post #xleche-primary-video video,
    body.single-post #xleche-primary-video iframe {
        width: 100%!important;
        max-width: 100%!important;
        margin-right: 0!important;
        margin-left: 0!important;
    }
}

@media (min-width: 992px) and (max-width: 1179px) {
    body.single-post .xleche-single-layout {
        width: calc(100% - 36px)!important;
        max-width: 1000px!important;
    }

    body.single-post .xleche-single-player,
    body.single-post #xleche-primary-video {
        width: 100%!important;
        max-width: 100%!important;
    }

    body.single-post .xleche-related-sidebar {
        margin-top: 24px;
    }

    body.single-post .xleche-related-sidebar-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
}

@media (max-width: 991px) {
    body.single-post .xleche-related-sidebar {
        width: 100%;
        max-width: 100%;
        margin: 26px 0 0;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    body.single-post .xleche-related-sidebar-title {
        margin-bottom: 14px;
        font-size: 22px;
    }

    body.single-post .xleche-related-sidebar-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 14px 10px;
    }

    body.single-post .xleche-related-sidebar .xleche-card-title {
        min-height: 36px;
        font-size: 13px!important;
    }

    body.single-post .xleche-related-sidebar .xleche-card-meta {
        font-size: 11px;
    }

    body.single-post .xleche-related-more-section,
    body.single-post #main-content > .container:last-of-type {
        width: 100%!important;
        max-width: 100%!important;
    }
}

@media (max-width: 360px) {
    body.single-post .xleche-related-sidebar-grid {
        grid-template-columns: 1fr;
    }
}
