:root{
  --byc-teal:#668f91;
  --byc-aqua:#9fd6d5;
  --byc-paper:#f5f2ed;
  --byc-black:#050505;
  --byc-text:#171717;
}

/* Base */
.byc-shell{font-family:Montserrat,Arial,sans-serif;background:var(--byc-paper);color:var(--byc-text);box-sizing:border-box;overflow:visible;position:relative}
.byc-shell *{box-sizing:border-box}
.byc-shell.byc-container{width:100%;max-width:var(--byc-max);margin:0 auto}
.byc-shell.byc-full{position:relative;left:50%;width:100vw!important;max-width:100vw!important;margin-left:-50vw!important;margin-right:-50vw!important}
.byc-inner{width:min(calc(100% - 48px),var(--byc-max));margin:0 auto;padding:48px 0 0}
.byc-hide-theme-title .page-title-block,.byc-hide-theme-title .page-title-block-wrapper{display:none!important}

/* Full-width real dentro de TheGem */
body.byc-layout-full .entry-content.post-content{overflow:visible!important}
body.byc-layout-full .entry-content.post-content>.fullwidth-content{width:100%!important;max-width:none!important;overflow:visible!important}
body.byc-layout-full .byc-shell.byc-full{left:50%;width:100vw!important;max-width:100vw!important;margin-left:-50vw!important;margin-right:-50vw!important}

/* Hero */
.byc-hero{position:relative;min-height:315px;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;text-align:center;padding:42px 24px}
.byc-hero__shade{position:absolute;inset:0;background:rgba(0,0,0,.34)}
.byc-hero__title{position:relative;z-index:2;color:#fff!important;font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(34px,4vw,58px)!important;line-height:1.08!important;font-weight:400!important;text-transform:uppercase;max-width:900px;margin:0!important;text-shadow:0 2px 10px rgba(0,0,0,.35)}

/* Intro */
.byc-intro{background:var(--byc-teal);color:#fff;border-radius:14px;padding:25px 48px;margin:0 0 34px;text-align:center}
.byc-intro h2{font-family:Georgia,'Times New Roman',serif!important;color:#fff!important;font-weight:400!important;font-size:clamp(24px,2.7vw,38px)!important;line-height:1.08!important;margin:0 0 14px!important;text-transform:uppercase}
.byc-intro p{margin:0;font-size:14px;line-height:1.45}
.byc-section-title{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(29px,3vw,42px)!important;line-height:1.1!important;font-weight:400!important;color:var(--byc-aqua)!important;margin:38px 0 24px!important;text-transform:uppercase}

/* PDFs */
.byc-pdfs{position:relative;padding:0 0 38px}
.byc-accent-line{height:42px;background:var(--byc-aqua);position:absolute;left:50%;width:100vw;transform:translateX(-50%);top:43%;z-index:0}
.byc-container .byc-accent-line{width:100%}
.byc-pdf-grid{position:relative;z-index:1;display:flex;justify-content:center;gap:clamp(70px,16vw,190px);flex-wrap:wrap}
.byc-pdf-card{text-align:center;max-width:280px}
.byc-pdf-card img{display:block;width:auto;max-width:100%;height:365px;object-fit:cover;margin:0 auto;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.byc-pill{display:inline-flex;align-items:center;justify-content:center;background:var(--byc-aqua);color:#fff!important;text-decoration:none!important;border-radius:999px;padding:10px 26px;font-size:12px;line-height:1;margin-top:16px;transition:.2s}
.byc-pill:hover{transform:translateY(-1px);filter:brightness(.96)}

/* Audio */
.byc-audio-card{border:1px solid var(--byc-aqua);border-radius:12px;padding:10px 16px;display:flex;align-items:center;gap:14px;margin:22px auto 38px;max-width:980px;background:rgba(255,255,255,.25)}
.byc-audio-thumb{width:92px;height:72px;object-fit:cover;border-radius:8px;flex:0 0 92px}
.byc-audio-content{flex:1;min-width:0}
.byc-audio-content h3{font-family:Georgia,'Times New Roman',serif!important;font-weight:400!important;font-size:20px!important;line-height:1.1!important;margin:0 0 3px!important;color:#111!important}
.byc-audio-content p{margin:0 0 8px;font-size:12px;line-height:1.35}
.byc-audio-button{border:0;background:var(--byc-aqua);color:#fff;border-radius:999px;padding:8px 18px;font-size:11px;cursor:pointer}
.byc-audio-content audio{display:none}

/* Video */
.byc-video-section{margin:24px 0 30px}
.byc-video-wrap{position:relative;max-width:1100px;margin:0 auto;border-radius:10px;overflow:hidden;background:#000;aspect-ratio:16/9}
.byc-video-media,.byc-video-media iframe,.byc-video-media video{width:100%!important;height:100%!important;display:block;border:0}
.byc-video-media{position:absolute;inset:0}
.byc-video-poster{position:absolute;inset:0;width:100%;height:100%;border:0;background-size:cover;background-position:center;cursor:pointer;z-index:2}
.byc-video-poster:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.08)}
.byc-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;width:70px;height:70px;border:6px solid #fff;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:31px;line-height:1;padding-left:4px}
.byc-video-poster.is-hidden,.byc-video-media.is-hidden{display:none!important}

/* Copy */
.byc-program-copy,.byc-copy,.byc-recipe-notes{font-size:14px;line-height:1.48}
.byc-copy{padding:4px 0 34px}

/* Program */
.byc-days-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 12px;margin:28px auto 42px;max-width:1080px}
.byc-day-card a{display:block;text-decoration:none!important}
.byc-day-card img,.byc-day-placeholder{width:100%;aspect-ratio:1.55/1;object-fit:cover;display:block;background:#ddd}
.byc-day-card span{display:block;background:var(--byc-aqua);color:#fff;text-align:center;border-radius:999px;padding:6px 9px;font-size:11px;line-height:1.2;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Cooking */
.byc-recipe-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--byc-aqua);margin:20px 0 28px}
.byc-recipe-meta>div{background:var(--byc-teal);color:#fff;padding:18px;text-align:center;display:flex;flex-direction:column;gap:6px}
.byc-recipe-meta strong{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:17px}
.byc-recipe-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:28px}
.byc-recipe-panel{background:#fff;padding:24px;border-top:6px solid var(--byc-aqua)}
.byc-recipe-panel h3{font-family:Georgia,'Times New Roman',serif!important;font-weight:400!important;font-size:26px!important;margin:0 0 16px!important}
.byc-recipe-panel li{margin-bottom:9px}

/* Benefits */
.byc-benefits{margin-top:22px}
.byc-benefits-heading{text-align:center;padding:26px 20px;background:var(--byc-paper)}
.byc-benefits-heading h2{font-family:Georgia,'Times New Roman',serif!important;font-weight:400!important;font-size:clamp(28px,3vw,42px)!important;line-height:1.1!important;margin:0!important;color:#111!important;text-transform:uppercase}
.byc-benefits--obtendras .byc-benefits-heading{background:var(--byc-teal)}
.byc-benefits--obtendras .byc-benefits-heading h2{color:#fff!important}
.byc-benefit-grid{background:#000;color:#fff;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:28px max(24px,calc((100% - var(--byc-max))/2))}
.byc-benefit-item{text-align:center;padding:8px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100px;font-family:Georgia,'Times New Roman',serif;font-size:12px;line-height:1.18;text-transform:uppercase;border-right:1px solid var(--byc-aqua)}
.byc-benefit-item:last-child{border-right:0}
.byc-benefit-item img{width:62px;height:62px;object-fit:contain;margin:0 0 10px;filter:none}

/* ==========================================================
   ANCHO INDEPENDIENTE DE FRANJAS / BENEFICIOS / RELACIONADOS
   ========================================================== */
body.byc-sections-full .byc-benefits{position:relative;left:50%;width:100vw!important;max-width:100vw!important;margin-left:-50vw!important;margin-right:-50vw!important}
body.byc-sections-full .byc-benefits-heading{width:100%!important}
body.byc-sections-full .byc-benefit-grid{width:100%!important;max-width:none!important}
body.byc-sections-full .byc-accent-line{width:100vw!important}
body.byc-sections-container .byc-benefits{width:100%;max-width:100%;margin-left:0;margin-right:0}

/* ==========================================================
   THEGEM - bloque nativo de CONTENIDO/CURSOS RELACIONADOS
   ========================================================== */
body.byc-active .post-related-posts{position:relative;width:100%;max-width:none;margin:0!important;padding:0!important;background:transparent;overflow:visible!important;font-family:Montserrat,Arial,sans-serif}
body.byc-sections-full .post-related-posts{position:relative;left:50%;width:100vw!important;max-width:100vw!important;margin-left:-50vw!important;margin-right:-50vw!important}
body.byc-active .post-related-posts>h2{margin:0!important;padding:26px max(24px,calc((100% - var(--byc-max,1200px))/2))!important;background:#fff;color:#171717!important;font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(28px,3vw,42px)!important;line-height:1.08!important;font-weight:400!important;text-transform:uppercase;text-align:left}
body.byc-active .post-related-posts-block{position:relative;margin:0!important;padding:38px max(54px,calc((100% - var(--byc-max,1200px))/2)) 52px!important;background:var(--byc-teal);overflow:hidden!important;text-align:center}
body.byc-active .post-related-posts .related-posts-carousel,body.byc-active .post-related-posts .related-posts-carousel-wrap{position:relative!important;width:100%!important;max-width:100%!important;margin:0!important}
body.byc-active .post-related-posts .caroufredsel_wrapper{width:100%!important;max-width:100%!important;min-height:220px!important;height:220px!important;overflow:hidden!important}
body.byc-active .post-related-posts .related-posts-carousel-carousel{min-height:220px!important;height:220px!important}
body.byc-active .post-related-posts .related-element{box-sizing:border-box!important;padding:0 8px!important;margin:0!important;background:transparent!important;border:0!important}
body.byc-active .post-related-posts .related-element>a{display:block!important;width:100%!important;overflow:hidden;background:#d8d8d8;text-decoration:none!important}
body.byc-active .post-related-posts .related-element>a img{display:block!important;width:100%!important;height:145px!important;max-width:none!important;object-fit:cover!important;object-position:center!important;margin:0!important}
body.byc-active .post-related-posts .related-element-info{padding:0!important;margin:7px 0 0!important;background:transparent!important;border:0!important;min-height:0!important}
body.byc-active .post-related-posts .related-element-info-conteiner{padding:0!important;margin:0!important}
body.byc-active .post-related-posts .related-element-info-conteiner>a{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;width:100%!important;min-height:34px;margin:0!important;padding:5px 10px!important;border-radius:999px;background:var(--byc-aqua);color:#fff!important;font-family:Montserrat,Arial,sans-serif!important;font-size:11px!important;line-height:12px!important;font-weight:500!important;text-align:center;text-transform:none;text-decoration:none!important;white-space:normal!important}
body.byc-active .post-related-posts .related-element-info-excerpt,body.byc-active .post-related-posts .related-element .post-meta{display:none!important}
body.byc-active .post-related-posts .related-posts-navigation{position:static!important;margin:0!important}
body.byc-active .post-related-posts .related-posts-prev,body.byc-active .post-related-posts .related-posts-next{position:absolute!important;top:47%!important;z-index:20!important;display:flex!important;align-items:center;justify-content:center;width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#000!important;color:#fff!important;transform:translateY(-50%);box-shadow:none!important}
body.byc-active .post-related-posts .related-posts-prev{left:18px!important}
body.byc-active .post-related-posts .related-posts-next{right:18px!important}
body.byc-active .post-related-posts .related-posts-prev i,body.byc-active .post-related-posts .related-posts-next i{color:#fff!important}
body.byc-active .byc-theme-related-more{display:inline-flex;align-items:center;justify-content:center;margin:25px auto 0!important;padding:8px 31px!important;border-radius:999px;background:#000;color:#fff!important;font-size:12px;line-height:1;text-decoration:none!important;text-transform:uppercase}

@media(max-width:900px){
  .byc-hero{min-height:300px}.byc-inner{width:min(calc(100% - 30px),var(--byc-max));padding-top:34px}.byc-intro{padding:24px 28px}.byc-pdf-card img{height:330px}.byc-days-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.byc-recipe-grid{grid-template-columns:1fr}.byc-benefit-grid{grid-template-columns:repeat(2,1fr);padding:24px 18px}.byc-benefit-item:nth-child(2n){border-right:0}.byc-benefit-item:nth-child(-n+2){border-bottom:1px solid var(--byc-aqua)}
  body.byc-active .post-related-posts-block{padding:34px 44px 46px!important}body.byc-active .post-related-posts .related-element>a img{height:170px!important}body.byc-active .post-related-posts .caroufredsel_wrapper,body.byc-active .post-related-posts .related-posts-carousel-carousel{height:245px!important;min-height:245px!important}
}

@media(max-width:600px){
  .byc-hero{min-height:250px;padding:28px 18px}.byc-inner{width:calc(100% - 24px);padding-top:24px}.byc-intro{border-radius:10px;padding:20px 16px;margin-bottom:28px}.byc-pdf-grid{gap:28px}.byc-pdf-card{width:100%}.byc-pdf-card img{height:auto;max-height:360px}.byc-audio-card{align-items:flex-start;padding:10px}.byc-audio-thumb{width:70px;height:70px;flex-basis:70px}.byc-audio-content h3{font-size:17px!important}.byc-audio-content p{font-size:11px}.byc-play{width:58px;height:58px;border-width:5px;font-size:25px}.byc-days-grid{grid-template-columns:1fr;gap:14px}.byc-recipe-meta{grid-template-columns:1fr}.byc-benefit-grid{grid-template-columns:1fr;padding:18px}.byc-benefit-item{border-right:0!important;border-bottom:1px solid var(--byc-aqua)!important}.byc-benefit-item:last-child{border-bottom:0!important}.byc-section-title{text-align:left}.byc-copy{font-size:13px}
  body.byc-active .post-related-posts>h2{padding:22px 18px!important;text-align:center}body.byc-active .post-related-posts-block{padding:28px 42px 40px!important}body.byc-active .post-related-posts .related-element{padding:0!important}body.byc-active .post-related-posts .related-element>a img{height:190px!important}body.byc-active .post-related-posts .caroufredsel_wrapper,body.byc-active .post-related-posts .related-posts-carousel-carousel{height:265px!important;min-height:265px!important}body.byc-active .post-related-posts .related-posts-prev{left:7px!important}body.byc-active .post-related-posts .related-posts-next{right:7px!important}
}


/* TheGem: elementos temporalmente desactivados en entradas BetterYou */
body.byc-active .post-tags-list,
body.byc-active .socials-sharing,
body.byc-active .post-author-block {
    display:none !important;
}

/* ==========================================================
   v1.3.3 - Limpieza TheGem + carrusel según diseño BetterYou
   ========================================================== */

/* Meta superior del post: likes, navegación, autor, categorías y fecha */
body.byc-active .entry-content.post-content > .container > .post-meta,
body.byc-active .entry-content.post-content .entry-meta.single-post-meta {
    display: none !important;
}

/* Carrusel nativo de TheGem: composición visual de referencia */
body.byc-active .post-related-posts {
    clear: both;
    background: transparent !important;
}

body.byc-active .post-related-posts > h2 {
    box-sizing: border-box;
    min-height: 88px;
    display: flex;
    align-items: center;
    background: #fff !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    letter-spacing: .02em;
}

body.byc-active .post-related-posts-block {
    background: var(--byc-teal) !important;
    padding-top: 36px !important;
    padding-bottom: 42px !important;
}

body.byc-active .post-related-posts .related-posts-carousel {
    max-width: var(--byc-max, 1200px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.byc-active .post-related-posts .caroufredsel_wrapper {
    min-height: 190px !important;
    height: 190px !important;
}

body.byc-active .post-related-posts .related-posts-carousel-carousel {
    min-height: 190px !important;
    height: 190px !important;
}

body.byc-active .post-related-posts .related-element {
    padding-left: 7px !important;
    padding-right: 7px !important;
}

body.byc-active .post-related-posts .related-element > a {
    border-radius: 0 !important;
    aspect-ratio: 1.42 / 1;
    overflow: hidden !important;
}

body.byc-active .post-related-posts .related-element > a img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1.42 / 1;
    object-fit: cover !important;
    object-position: center !important;
}

body.byc-active .post-related-posts .related-element-info {
    margin-top: 7px !important;
}

body.byc-active .post-related-posts .related-element-info-conteiner > a {
    min-height: 36px !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    background: var(--byc-aqua) !important;
    color: #fff !important;
    font-size: 11px !important;
    line-height: 13px !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

body.byc-active .post-related-posts .related-posts-prev,
body.byc-active .post-related-posts .related-posts-next {
    top: 46% !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    background: #000 !important;
}

body.byc-active .byc-theme-related-more {
    min-width: 134px;
    min-height: 29px;
    padding: 7px 26px !important;
    margin-top: 24px !important;
    background: #000 !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

@media (max-width: 900px) {
    body.byc-active .post-related-posts > h2 {
        min-height: 74px;
    }
    body.byc-active .post-related-posts .caroufredsel_wrapper,
    body.byc-active .post-related-posts .related-posts-carousel-carousel {
        min-height: 220px !important;
        height: 220px !important;
    }
}

@media (max-width: 600px) {
    body.byc-active .post-related-posts > h2 {
        min-height: 68px;
        justify-content: center;
        text-align: center !important;
    }
    body.byc-active .post-related-posts-block {
        padding-top: 26px !important;
        padding-bottom: 34px !important;
    }
    body.byc-active .post-related-posts .caroufredsel_wrapper,
    body.byc-active .post-related-posts .related-posts-carousel-carousel {
        min-height: 250px !important;
        height: 250px !important;
    }
}


/* ==========================================================
   v1.3.4 - CONTENIDO RELACIONADO EXACTO BETTERYOU
   Se reconstruye visualmente el carrusel de TheGem para evitar
   anchos/altos inline de carouFredSel y conservar sus entradas.
   ========================================================== */
body.byc-active .post-related-posts .byc-theme-related-original {
    display: none !important;
}

body.byc-active .post-related-posts {
    overflow: visible !important;
}

body.byc-active .post-related-posts > h2 {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    min-height: 92px !important;
    margin: 0 !important;
    padding: 22px max(56px, calc((100% - var(--byc-max, 1200px))/2)) !important;
    background: #fff !important;
    color: #171717 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(27px, 2.7vw, 40px) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
    text-align: left !important;
}

body.byc-active .post-related-posts-block {
    box-sizing: border-box !important;
    position: relative !important;
    margin: 0 !important;
    padding: 34px 0 45px !important;
    background: #668f91 !important;
    overflow: visible !important;
}

body.byc-active .byc-related-custom {
    box-sizing: border-box;
    position: relative;
    width: min(var(--byc-max, 1200px), calc(100% - 110px));
    margin: 0 auto;
    padding: 0 0 55px;
    text-align: center;
}

body.byc-active .byc-related-viewport {
    width: 100%;
    overflow: hidden;
}

body.byc-active .byc-related-track-custom {
    display: flex;
    align-items: flex-start;
    width: 100%;
    transition: transform .32s ease;
    will-change: transform;
}

body.byc-active .byc-related-card-custom {
    box-sizing: border-box;
    padding: 0 7px;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

body.byc-active .byc-related-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 1.44 / 1;
    overflow: hidden;
    background: #d8d8d8;
    text-decoration: none !important;
}

body.byc-active .byc-related-image-link img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
}

body.byc-active .byc-related-pill {
    box-sizing: border-box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    width: 100%;
    min-height: 38px;
    margin: 8px 0 0 !important;
    padding: 5px 11px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 999px !important;
    background: #9dcecc !important;
    color: #fff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.byc-active .byc-related-arrow {
    position: absolute;
    z-index: 20;
    top: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 27px;
    line-height: 26px;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: none;
}

body.byc-active .byc-related-arrow-prev { left: -37px; }
body.byc-active .byc-related-arrow-next { right: -37px; }
body.byc-active .byc-related-arrow.is-disabled { opacity: .28; cursor: default; }

body.byc-active .byc-related-custom .byc-theme-related-more {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    min-height: 31px;
    margin: 0 !important;
    padding: 7px 27px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #000 !important;
    color: #fff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

@media (max-width: 900px) {
    body.byc-active .post-related-posts > h2 {
        min-height: 78px !important;
        padding: 20px 32px !important;
        font-size: clamp(25px, 4vw, 34px) !important;
    }
    body.byc-active .byc-related-custom {
        width: calc(100% - 92px);
    }
    body.byc-active .byc-related-card-custom { padding: 0 8px; }
    body.byc-active .byc-related-arrow-prev { left: -33px; }
    body.byc-active .byc-related-arrow-next { right: -33px; }
}

@media (max-width: 600px) {
    body.byc-active .post-related-posts > h2 {
        min-height: 70px !important;
        justify-content: center !important;
        padding: 18px 16px !important;
        font-size: 25px !important;
        text-align: center !important;
    }
    body.byc-active .post-related-posts-block {
        padding-top: 28px !important;
        padding-bottom: 38px !important;
    }
    body.byc-active .byc-related-custom {
        width: calc(100% - 72px);
        padding-bottom: 52px;
    }
    body.byc-active .byc-related-card-custom { padding: 0 4px; }
    body.byc-active .byc-related-image-link { aspect-ratio: 1.45 / 1; }
    body.byc-active .byc-related-pill {
        min-height: 40px;
        font-size: 11px !important;
        line-height: 13px !important;
    }
    body.byc-active .byc-related-arrow {
        width: 27px;
        height: 27px;
        font-size: 26px;
    }
    body.byc-active .byc-related-arrow-prev { left: -31px; }
    body.byc-active .byc-related-arrow-next { right: -31px; }
}


/* ==========================================================
   v1.3.5 - SOLO PDF: CONTENIDO RELACIONADO SEGÚN MOCKUP BYM
   La cuadrícula se reconstruye con 4 tarjetas reales por vista.
   ========================================================== */
body.byc-active.byc-pdf-only .post-related-posts > h2 {
    min-height: 78px !important;
    padding: 20px max(56px, calc((100% - var(--byc-max, 1200px))/2)) !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    color: #171717 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(27px, 2.35vw, 38px) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;
    letter-spacing: .025em !important;
    text-align: left !important;
}

body.byc-active.byc-pdf-only .post-related-posts-block {
    background: #668f91 !important;
    padding: 34px 0 42px !important;
    overflow: visible !important;
}

body.byc-active.byc-pdf-only .byc-related-custom {
    width: min(1080px, calc(100% - 112px)) !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 0 48px !important;
}

body.byc-active.byc-pdf-only .byc-related-viewport {
    width: 100% !important;
    overflow: hidden !important;
}

body.byc-active.byc-pdf-only .byc-related-track-custom {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
}

body.byc-active.byc-pdf-only .byc-related-card-custom {
    padding: 0 7px !important;
}

body.byc-active.byc-pdf-only .byc-related-image-link {
    width: 100% !important;
    aspect-ratio: 1.43 / 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #d7d7d7 !important;
}

body.byc-active.byc-pdf-only .byc-related-image-link img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

body.byc-active.byc-pdf-only .byc-related-pill {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    width: 100% !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 8px 0 0 !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: #9dcecc !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-transform: none !important;
}

body.byc-active.byc-pdf-only .byc-related-arrow {
    top: 38% !important;
    width: 28px !important;
    height: 28px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 26px !important;
}
body.byc-active.byc-pdf-only .byc-related-arrow-prev { left: -38px !important; }
body.byc-active.byc-pdf-only .byc-related-arrow-next { right: -38px !important; }

body.byc-active.byc-pdf-only .byc-related-custom .byc-theme-related-more {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 126px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 30px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

@media (max-width: 900px) {
    body.byc-active.byc-pdf-only .post-related-posts > h2 {
        min-height: 70px !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
    }
    body.byc-active.byc-pdf-only .byc-related-custom {
        width: calc(100% - 88px) !important;
    }
    body.byc-active.byc-pdf-only .byc-related-arrow-prev { left: -34px !important; }
    body.byc-active.byc-pdf-only .byc-related-arrow-next { right: -34px !important; }
}

@media (max-width: 600px) {
    body.byc-active.byc-pdf-only .post-related-posts > h2 {
        min-height: 64px !important;
        padding: 18px 16px !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 25px !important;
    }
    body.byc-active.byc-pdf-only .post-related-posts-block {
        padding: 26px 0 34px !important;
    }
    body.byc-active.byc-pdf-only .byc-related-custom {
        width: calc(100% - 72px) !important;
        padding-bottom: 46px !important;
    }
    body.byc-active.byc-pdf-only .byc-related-card-custom { padding: 0 3px !important; }
    body.byc-active.byc-pdf-only .byc-related-arrow-prev { left: -29px !important; }
    body.byc-active.byc-pdf-only .byc-related-arrow-next { right: -29px !important; }
}

/* ==========================================================
   v1.3.6 - UNION BENEFICIOS + CONTENIDO RELACIONADO
   Franja turquesa pegada al bloque negro y título sin iconos.
   ========================================================== */
body.byc-active .post-related-posts {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Franja verde/turquesa justo antes del encabezado blanco */
body.byc-active .post-related-posts::before {
    content: "" !important;
    display: block !important;
    width: 100% !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--byc-teal, #668f91) !important;
    border: 0 !important;
}

/* Sin separación entre la franja verde y el título */
body.byc-active .post-related-posts > h2 {
    margin: 0 !important;
    border: 0 !important;
}

/* Quitar iconos/pseudoiconos que TheGem pueda añadir al título */
body.byc-active .post-related-posts > h2::before,
body.byc-active .post-related-posts > h2::after {
    content: none !important;
    display: none !important;
    background: none !important;
}
body.byc-active .post-related-posts > h2 > i,
body.byc-active .post-related-posts > h2 > svg,
body.byc-active .post-related-posts > h2 .gem-icon,
body.byc-active .post-related-posts > h2 .gem-print-icon,
body.byc-active .post-related-posts > h2 .post-related-posts-icon {
    display: none !important;
}

/* En modo full-width la franja también ocupa todo el viewport */
body.byc-sections-full .post-related-posts::before {
    width: 100% !important;
}

@media (max-width: 600px) {
    body.byc-active .post-related-posts::before {
        height: 20px !important;
    }
}


/* ==========================================================
   v1.3.7 - BLOQUE ¿POR QUÉ ELEGIRNOS? + PRATA
   Se asegura la composición completa antes de relacionados.
   ========================================================== */
body.byc-active .byc-benefits--elegirnos {
    margin: 0 !important;
    padding: 0 !important;
}

body.byc-active .byc-benefits--elegirnos .byc-benefits-heading {
    min-height: 92px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 22px 20px !important;
    margin: 0 !important;
    background: var(--byc-paper, #f7f5f1) !important;
}

body.byc-active .byc-benefits--elegirnos .byc-benefits-heading h2,
body.byc-active .post-related-posts > h2 {
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

body.byc-active .byc-benefits--elegirnos .byc-benefits-heading h2 {
    font-size: clamp(25px, 2.5vw, 36px) !important;
    line-height: 1.15 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    color: #111 !important;
    margin: 0 !important;
}

body.byc-active .byc-benefits--elegirnos .byc-benefit-grid {
    margin: 0 !important;
    padding-top: 26px !important;
    padding-bottom: 26px !important;
    background: #000 !important;
}

body.byc-active .byc-benefits--elegirnos + .post-related-posts {
    margin-top: 0 !important;
}

/* La franja turquesa debe quedar pegada inmediatamente al bloque negro. */
body.byc-active .byc-benefits--elegirnos + .post-related-posts::before {
    margin-top: 0 !important;
}

body.byc-active .post-related-posts > h2 {
    font-size: clamp(25px, 2.5vw, 36px) !important;
    line-height: 1.15 !important;
}

@media (max-width: 900px) {
    body.byc-active .byc-benefits--elegirnos .byc-benefits-heading {
        min-height: 78px !important;
        padding: 18px 16px !important;
    }
    body.byc-active .byc-benefits--elegirnos .byc-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 20px 18px !important;
    }
    body.byc-active .byc-benefits--elegirnos .byc-benefit-item {
        min-height: 90px !important;
    }
}

@media (max-width: 600px) {
    body.byc-active .byc-benefits--elegirnos .byc-benefits-heading {
        min-height: 68px !important;
        padding: 16px 14px !important;
    }
    body.byc-active .byc-benefits--elegirnos .byc-benefits-heading h2,
    body.byc-active .post-related-posts > h2 {
        font-size: 24px !important;
    }
    body.byc-active .byc-benefits--elegirnos .byc-benefit-grid {
        grid-template-columns: 1fr !important;
        padding: 14px 18px !important;
    }
    body.byc-active .byc-benefits--elegirnos .byc-benefit-item {
        min-height: 76px !important;
        padding: 14px 10px !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--byc-aqua, #9dcecc) !important;
    }
    body.byc-active .byc-benefits--elegirnos .byc-benefit-item:last-child {
        border-bottom: 0 !important;
    }
}

/* ==========================================================
   v1.3.8 - SOLO PDF: SECUENCIA FORZADA ANTES DE RELACIONADOS
   ¿POR QUÉ ELEGIRNOS? -> NEGRO -> FRANJA -> TÍTULO -> CARRUSEL
   ========================================================== */
body.byc-active.byc-pdf-only .byc-pdf-only-benefits,
body.byc-active.byc-pdf-only .byc-benefits--elegirnos {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

body.byc-sections-full.byc-pdf-only .byc-pdf-only-benefits,
body.byc-sections-full.byc-pdf-only .byc-benefits--elegirnos {
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefits-heading,
body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefits-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 95px !important;
    margin: 0 !important;
    padding: 20px 18px !important;
    background: var(--byc-paper, #f5f2ed) !important;
}

body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefits-heading h2,
body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefits-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #111 !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: clamp(26px, 2.45vw, 36px) !important;
    line-height: 1.12 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-grid,
body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 26px max(24px, calc((100% - var(--byc-max, 1200px))/2)) !important;
    background: #000 !important;
    color: #fff !important;
}

body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-item,
body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-item {
    min-height: 92px !important;
    margin: 0 !important;
    padding: 8px 18px !important;
    border-right: 1px solid var(--byc-aqua, #9fd6d5) !important;
    border-bottom: 0 !important;
    color: #fff !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 12px !important;
    line-height: 1.16 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}
body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-item:last-child,
body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-item:last-child {
    border-right: 0 !important;
}

/* Al ser hermanos directos, no puede existir espacio entre negro y franja. */
body.byc-active.byc-pdf-only .byc-pdf-only-benefits + .post-related-posts,
body.byc-active.byc-pdf-only .byc-benefits--elegirnos + .post-related-posts {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.byc-active.byc-pdf-only .byc-pdf-only-benefits + .post-related-posts::before,
body.byc-active.byc-pdf-only .byc-benefits--elegirnos + .post-related-posts::before {
    display: block !important;
    height: 28px !important;
    margin: 0 !important;
    background: var(--byc-teal, #668f91) !important;
}

@media (max-width: 900px) {
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-grid,
    body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 18px !important;
    }
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-item,
    body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-item {
        min-height: 88px !important;
    }
}

@media (max-width: 600px) {
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefits-heading,
    body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefits-heading {
        min-height: 70px !important;
        padding: 15px 14px !important;
    }
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefits-heading h2,
    body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefits-heading h2 {
        font-size: 24px !important;
    }
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-grid,
    body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-grid {
        grid-template-columns: 1fr !important;
        padding: 10px 18px !important;
    }
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-item,
    body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-item {
        min-height: 74px !important;
        padding: 12px 8px !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--byc-aqua, #9fd6d5) !important;
    }
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-item:last-child,
    body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-item:last-child {
        border-bottom: 0 !important;
    }
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits + .post-related-posts::before,
    body.byc-active.byc-pdf-only .byc-benefits--elegirnos + .post-related-posts::before {
        height: 20px !important;
    }
}


/* ==========================================================
   v1.3.9 - PDF puro: usar post-author-block como ancla real
   ========================================================== */
body.byc-active.byc-pdf-only .byc-pdf-only-benefits {
    display: block !important;
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 0 -50vw !important;
    padding: 0 !important;
    clear: both !important;
    float: none !important;
    background: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.byc-active.byc-pdf-only .byc-pdf-only-benefits + .post-related-posts {
    clear: both !important;
    margin-top: 0 !important;
}

/* Franja turquesa exacta entre beneficios y relacionados */
body.byc-active.byc-pdf-only .byc-pdf-only-benefits + .post-related-posts::before {
    content: "" !important;
    display: block !important;
    width: 100% !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--byc-teal, #668f91) !important;
}

/* Prata sin iconos en ambos títulos */
body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefits-heading h2,
body.byc-active.byc-pdf-only .post-related-posts > h2 {
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-weight: 400 !important;
}
body.byc-active.byc-pdf-only .post-related-posts > h2::before,
body.byc-active.byc-pdf-only .post-related-posts > h2::after,
body.byc-active.byc-pdf-only .byc-benefits-heading h2::before,
body.byc-active.byc-pdf-only .byc-benefits-heading h2::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 600px) {
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits + .post-related-posts::before {
        height: 20px !important;
    }
}


/* ==========================================================
   v1.4.0 - Ajuste de legibilidad beneficios y relacionados
   ========================================================== */

/* Texto del bloque negro un poco más grande */
body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-item,
body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-item {
    font-size: 14px !important;
    line-height: 1.22 !important;
}

/* Títulos de relacionados: una sola línea + ... */
body.byc-active.byc-pdf-only .byc-related-pill {
    display: block !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 9px 12px 7px !important;
    font-size: 12.5px !important;
    line-height: 18px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
}

/* Tablet */
@media (max-width: 900px) {
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-item,
    body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-item {
        font-size: 13.5px !important;
        line-height: 1.22 !important;
    }

    body.byc-active.byc-pdf-only .byc-related-pill {
        font-size: 12px !important;
    }
}

/* Móvil */
@media (max-width: 600px) {
    body.byc-active.byc-pdf-only .byc-pdf-only-benefits .byc-benefit-item,
    body.byc-active.byc-pdf-only .byc-benefits--elegirnos .byc-benefit-item {
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    body.byc-active.byc-pdf-only .byc-related-pill {
        min-height: 36px !important;
        height: 36px !important;
        padding: 9px 11px !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }
}


/* ==========================================================
   v1.4.1 - Footer interno BetterYou para formato SOLO PDF
   ========================================================== */
body.byc-active.byc-pdf-only .byc-pdf-contact-footer {
    box-sizing: border-box !important;
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 0 -50vw !important;
    padding: 0 !important;
    clear: both !important;
    float: none !important;
    background: #f8f6f1 !important;
    color: #111 !important;
    overflow: hidden !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__inner {
    box-sizing: border-box !important;
    width: min(100%, 980px) !important;
    margin: 0 auto !important;
    padding: 52px 34px 58px !important;
    text-align: center !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__badge {
    box-sizing: border-box !important;
    width: 260px !important;
    max-width: 78vw !important;
    margin: 0 auto 24px !important;
    padding: 13px 20px 12px !important;
    background: #9dcecc !important;
    color: #111 !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__logo-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 72px !important;
    margin: 0 auto 42px !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__logo {
    display: block !important;
    width: 150px !important;
    max-width: 42vw !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 90px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__col {
    min-width: 0 !important;
    text-align: center !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__title {
    position: relative !important;
    margin: 0 0 22px !important;
    padding: 0 0 11px !important;
    color: #111 !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__title::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    width: 82% !important;
    height: 1px !important;
    transform: translateX(-50%) !important;
    background: rgba(93, 144, 146, .32) !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__email {
    color: #252525 !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    min-height: 31px !important;
    margin-top: 3px !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__social-icon img {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tablet */
@media (max-width: 900px) {
    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__inner {
        padding: 46px 28px 50px !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__columns {
        gap: 44px !important;
        max-width: 680px !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__title {
        font-size: 20px !important;
    }
}

/* Móvil */
@media (max-width: 600px) {
    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__inner {
        padding: 38px 22px 44px !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__badge {
        width: 220px !important;
        margin-bottom: 22px !important;
        padding: 12px 16px 11px !important;
        font-size: 20px !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__logo-wrap {
        margin-bottom: 34px !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__logo {
        width: 135px !important;
        max-width: 55vw !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__columns {
        grid-template-columns: 1fr !important;
        gap: 38px !important;
        max-width: 360px !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__title {
        margin-bottom: 18px !important;
        font-size: 19px !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__title::after {
        width: 74% !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__email {
        font-size: 12px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__social-icons {
        gap: 16px !important;
        flex-wrap: wrap !important;
    }

    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__social-icon,
    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__social-icon img {
        width: 27px !important;
        height: 27px !important;
        max-width: 27px !important;
        max-height: 27px !important;
        flex-basis: 27px !important;
    }
}


/* ==========================================================
   v1.4.2 - Footer interno SOLO PDF sin separación blanca
   ========================================================== */

/* El bloque de contacto debe tocar directamente al footer de TheGem */
body.byc-active.byc-pdf-only .byc-pdf-contact-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ajustamos el padding dentro del footer interno para que el fondo claro
   termine justo donde comienza el footer real, sin una banda blanca extra. */
body.byc-active.byc-pdf-only .byc-pdf-contact-footer__inner {
    padding-bottom: 44px !important;
}

/* Quitar cualquier separación que TheGem introduzca antes del footer */
body.byc-active.byc-pdf-only .byc-pdf-contact-footer + *,
body.byc-active.byc-pdf-only .byc-pdf-contact-footer ~ footer,
body.byc-active.byc-pdf-only #footer,
body.byc-active.byc-pdf-only footer {
    margin-top: 0 !important;
}

/* TheGem suele dejar contenedores vacíos o separadores antes del footer */
body.byc-active.byc-pdf-only .byc-pdf-contact-footer + .container:empty,
body.byc-active.byc-pdf-only .byc-pdf-contact-footer + .fullwidth-block:empty,
body.byc-active.byc-pdf-only .byc-pdf-contact-footer + .vc_row:empty,
body.byc-active.byc-pdf-only .byc-pdf-contact-footer + .wpb-content-wrapper:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Evitar bordes/separadores blancos residuales */
body.byc-active.byc-pdf-only .byc-pdf-contact-footer,
body.byc-active.byc-pdf-only .byc-pdf-contact-footer * {
    border-bottom-width: 0 !important;
}

/* Móvil: mantener unión directa con el footer */
@media (max-width: 600px) {
    body.byc-active.byc-pdf-only .byc-pdf-contact-footer__inner {
        padding-bottom: 38px !important;
    }
}


/* ==========================================================
   v1.4.3 - Columna de lectura centrada y texto justificado
   para contenido principal en modo FULL WIDTH
   ========================================================== */

/*
 * El fondo/estructura general puede seguir siendo full width,
 * pero el cuerpo editorial se limita a una columna cómoda de lectura.
 */
body.byc-active.byc-layout-full .byc-copy {
    box-sizing: border-box !important;
    width: min(calc(100% - 96px), 1080px) !important;
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Párrafos principales justificados y con mejor respiración */
body.byc-active.byc-layout-full .byc-copy p {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 18px !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    line-height: 1.68 !important;
    letter-spacing: 0 !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

/* Los títulos conservan presencia centrada */
body.byc-active.byc-layout-full .byc-copy h1,
body.byc-active.byc-layout-full .byc-copy h2,
body.byc-active.byc-layout-full .byc-copy h3,
body.byc-active.byc-layout-full .byc-copy h4 {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Imágenes, figures y botones siguen centrados dentro de la columna */
body.byc-active.byc-layout-full .byc-copy figure,
body.byc-active.byc-layout-full .byc-copy .wp-block-image,
body.byc-active.byc-layout-full .byc-copy .wp-block-buttons {
    margin-left: auto !important;
    margin-right: auto !important;
}

body.byc-active.byc-layout-full .byc-copy .wp-block-image img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Evita que columnas editoriales de Gutenberg vuelvan a estirarse al viewport */
body.byc-active.byc-layout-full .byc-copy > .wp-block-columns,
body.byc-active.byc-layout-full .byc-copy > .wp-block-group,
body.byc-active.byc-layout-full .byc-copy > .wp-block-cover {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Tablet */
@media (max-width: 1024px) {
    body.byc-active.byc-layout-full .byc-copy {
        width: min(calc(100% - 56px), 920px) !important;
    }

    body.byc-active.byc-layout-full .byc-copy p {
        line-height: 1.62 !important;
        margin-bottom: 16px !important;
    }
}

/* Móvil */
@media (max-width: 600px) {
    body.byc-active.byc-layout-full .byc-copy {
        width: calc(100% - 32px) !important;
        max-width: none !important;
    }

    body.byc-active.byc-layout-full .byc-copy p {
        font-size: 14px !important;
        line-height: 1.58 !important;
        margin-bottom: 15px !important;
        text-align: justify !important;
        text-justify: inter-word !important;
        hyphens: auto !important;
    }

    body.byc-active.byc-layout-full .byc-copy h1,
    body.byc-active.byc-layout-full .byc-copy h2,
    body.byc-active.byc-layout-full .byc-copy h3,
    body.byc-active.byc-layout-full .byc-copy h4 {
        text-align: center !important;
    }
}


/* ==========================================================
   v1.4.4 - Columna editorial centrada SIEMPRE
   No depende de byc-layout-full ni del sidebar de TheGem.
   ========================================================== */

body.byc-active .byc-shell .byc-copy {
    box-sizing: border-box !important;
    display: block !important;
    width: min(calc(100% - 120px), 1040px) !important;
    max-width: 1040px !important;
    margin: 26px auto 38px !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
}

/* Párrafos del contenido normal del post */
body.byc-active .byc-shell .byc-copy p,
body.byc-active .byc-shell .byc-copy .wp-block-paragraph {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: inherit !important;
    text-align: justify !important;
    text-align-last: auto !important;
    text-justify: inter-word !important;
    line-height: 1.72 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

/*
 * Gutenberg suele guardar "has-text-align-center".
 * Dentro del cuerpo editorial, los párrafos deben respetar
 * la nueva presentación justificada.
 */
body.byc-active .byc-shell .byc-copy p.has-text-align-center,
body.byc-active .byc-shell .byc-copy p.has-text-align-left,
body.byc-active .byc-shell .byc-copy p.has-text-align-right {
    text-align: justify !important;
}

/* Los encabezados del contenido siguen centrados */
body.byc-active .byc-shell .byc-copy h1,
body.byc-active .byc-shell .byc-copy h2,
body.byc-active .byc-shell .byc-copy h3,
body.byc-active .byc-shell .byc-copy h4,
body.byc-active .byc-shell .byc-copy h5,
body.byc-active .byc-shell .byc-copy h6 {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Separación cómoda entre título y primer párrafo */
body.byc-active .byc-shell .byc-copy h2 + p,
body.byc-active .byc-shell .byc-copy h3 + p {
    margin-top: 20px !important;
}

/* Imágenes y botones del contenido permanecen centrados */
body.byc-active .byc-shell .byc-copy figure,
body.byc-active .byc-shell .byc-copy .wp-block-image,
body.byc-active .byc-shell .byc-copy .wp-block-buttons,
body.byc-active .byc-shell .byc-copy .wp-block-button {
    margin-left: auto !important;
    margin-right: auto !important;
}

body.byc-active .byc-shell .byc-copy .wp-block-image img,
body.byc-active .byc-shell .byc-copy figure img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Los spacers de Gutenberg no deben afectar el ancho */
body.byc-active .byc-shell .byc-copy .wp-block-spacer {
    max-width: 100% !important;
}

/* Laptop / tablet */
@media (max-width: 1100px) {
    body.byc-active .byc-shell .byc-copy {
        width: min(calc(100% - 72px), 940px) !important;
        max-width: 940px !important;
        margin-top: 24px !important;
        margin-bottom: 34px !important;
    }
}

/* Tablet pequeña */
@media (max-width: 768px) {
    body.byc-active .byc-shell .byc-copy {
        width: calc(100% - 44px) !important;
        max-width: none !important;
        margin: 20px auto 30px !important;
    }

    body.byc-active .byc-shell .byc-copy p,
    body.byc-active .byc-shell .byc-copy .wp-block-paragraph {
        line-height: 1.62 !important;
        margin-bottom: 17px !important;
    }
}

/* Móvil */
@media (max-width: 480px) {
    body.byc-active .byc-shell .byc-copy {
        width: calc(100% - 30px) !important;
        margin: 18px auto 26px !important;
    }

    body.byc-active .byc-shell .byc-copy p,
    body.byc-active .byc-shell .byc-copy .wp-block-paragraph {
        font-size: 14px !important;
        line-height: 1.58 !important;
        margin-bottom: 16px !important;
        text-align: justify !important;
        hyphens: auto !important;
    }
}


/* ==========================================================
   v1.4.5 - Estandarización REAL del contenido Gutenberg
   dentro de .fullwidth-content
   Aplica a todos los formatos BetterYou.
   ========================================================== */

/*
 * TheGem imprime el contenido Gutenberg directamente dentro de
 * .fullwidth-content. Por eso estandarizamos sus hijos directos
 * sin tocar .byc-shell, hero, carrusel, beneficios ni footer interno.
 */

/* TÍTULOS EDITORIALES */
body.byc-active .entry-content > .fullwidth-content > .wp-block-heading,
body.byc-active .entry-content > .fullwidth-content > h1,
body.byc-active .entry-content > .fullwidth-content > h2,
body.byc-active .entry-content > .fullwidth-content > h3,
body.byc-active .entry-content > .fullwidth-content > h4,
body.byc-active .entry-content > .fullwidth-content > h5,
body.byc-active .entry-content > .fullwidth-content > h6 {
    box-sizing: border-box !important;
    width: min(calc(100% - 120px), 1040px) !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* PÁRRAFOS: columna centrada + texto justificado */
body.byc-active .entry-content > .fullwidth-content > p,
body.byc-active .entry-content > .fullwidth-content > .wp-block-paragraph {
    box-sizing: border-box !important;
    display: block !important;
    width: min(calc(100% - 120px), 1040px) !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

    text-align: justify !important;
    text-align-last: auto !important;
    text-justify: inter-word !important;

    line-height: 1.72 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;

    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

/*
 * Sobrescribe alineaciones antiguas de Gutenberg
 * (has-text-align-center/left/right) solamente en párrafos.
 */
body.byc-active .entry-content > .fullwidth-content > p.has-text-align-center,
body.byc-active .entry-content > .fullwidth-content > p.has-text-align-left,
body.byc-active .entry-content > .fullwidth-content > p.has-text-align-right {
    text-align: justify !important;
}

/* IMÁGENES / FIGURES */
body.byc-active .entry-content > .fullwidth-content > .wp-block-image {
    box-sizing: border-box !important;
    width: min(calc(100% - 120px), 1040px) !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

body.byc-active .entry-content > .fullwidth-content > .wp-block-image figure {
    margin-left: auto !important;
    margin-right: auto !important;
}

body.byc-active .entry-content > .fullwidth-content > .wp-block-image img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* BOTONES */
body.byc-active .entry-content > .fullwidth-content > .wp-block-buttons {
    box-sizing: border-box !important;
    width: min(calc(100% - 120px), 1040px) !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
}

/* SPACERS: mantener respiración sin alterar ancho */
body.byc-active .entry-content > .fullwidth-content > .wp-block-spacer {
    width: min(calc(100% - 120px), 1040px) !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Listas Gutenberg / contenido editorial frecuente */
body.byc-active .entry-content > .fullwidth-content > ul,
body.byc-active .entry-content > .fullwidth-content > ol,
body.byc-active .entry-content > .fullwidth-content > blockquote,
body.byc-active .entry-content > .fullwidth-content > .wp-block-list,
body.byc-active .entry-content > .fullwidth-content > .wp-block-quote {
    box-sizing: border-box !important;
    width: min(calc(100% - 120px), 1040px) !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Tablet */
@media (max-width: 1100px) {
    body.byc-active .entry-content > .fullwidth-content > .wp-block-heading,
    body.byc-active .entry-content > .fullwidth-content > h1,
    body.byc-active .entry-content > .fullwidth-content > h2,
    body.byc-active .entry-content > .fullwidth-content > h3,
    body.byc-active .entry-content > .fullwidth-content > h4,
    body.byc-active .entry-content > .fullwidth-content > h5,
    body.byc-active .entry-content > .fullwidth-content > h6,
    body.byc-active .entry-content > .fullwidth-content > p,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-paragraph,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-image,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-buttons,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-spacer,
    body.byc-active .entry-content > .fullwidth-content > ul,
    body.byc-active .entry-content > .fullwidth-content > ol,
    body.byc-active .entry-content > .fullwidth-content > blockquote,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-list,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-quote {
        width: min(calc(100% - 72px), 940px) !important;
        max-width: 940px !important;
    }
}

/* Tablet pequeña */
@media (max-width: 768px) {
    body.byc-active .entry-content > .fullwidth-content > .wp-block-heading,
    body.byc-active .entry-content > .fullwidth-content > h1,
    body.byc-active .entry-content > .fullwidth-content > h2,
    body.byc-active .entry-content > .fullwidth-content > h3,
    body.byc-active .entry-content > .fullwidth-content > h4,
    body.byc-active .entry-content > .fullwidth-content > h5,
    body.byc-active .entry-content > .fullwidth-content > h6,
    body.byc-active .entry-content > .fullwidth-content > p,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-paragraph,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-image,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-buttons,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-spacer,
    body.byc-active .entry-content > .fullwidth-content > ul,
    body.byc-active .entry-content > .fullwidth-content > ol,
    body.byc-active .entry-content > .fullwidth-content > blockquote,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-list,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-quote {
        width: calc(100% - 44px) !important;
        max-width: none !important;
    }

    body.byc-active .entry-content > .fullwidth-content > p,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-paragraph {
        line-height: 1.62 !important;
        margin-bottom: 17px !important;
    }
}

/* Móvil */
@media (max-width: 480px) {
    body.byc-active .entry-content > .fullwidth-content > .wp-block-heading,
    body.byc-active .entry-content > .fullwidth-content > h1,
    body.byc-active .entry-content > .fullwidth-content > h2,
    body.byc-active .entry-content > .fullwidth-content > h3,
    body.byc-active .entry-content > .fullwidth-content > h4,
    body.byc-active .entry-content > .fullwidth-content > h5,
    body.byc-active .entry-content > .fullwidth-content > h6,
    body.byc-active .entry-content > .fullwidth-content > p,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-paragraph,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-image,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-buttons,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-spacer,
    body.byc-active .entry-content > .fullwidth-content > ul,
    body.byc-active .entry-content > .fullwidth-content > ol,
    body.byc-active .entry-content > .fullwidth-content > blockquote,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-list,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-quote {
        width: calc(100% - 30px) !important;
    }

    body.byc-active .entry-content > .fullwidth-content > p,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-paragraph {
        font-size: 14px !important;
        line-height: 1.58 !important;
        margin-bottom: 16px !important;
        text-align: justify !important;
        hyphens: auto !important;
    }
}


/* ==========================================================
   v1.4.6 - Enlaces activos en iconos sociales del footer PDF
   ========================================================== */
body.byc-active.byc-pdf-only .byc-pdf-contact-footer__social-icon {
    text-decoration: none !important;
    cursor: pointer !important;
    transition: transform .18s ease, opacity .18s ease !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__social-icon:hover,
body.byc-active.byc-pdf-only .byc-pdf-contact-footer__social-icon:focus {
    transform: translateY(-2px) !important;
    opacity: .82 !important;
    outline: none !important;
}

body.byc-active.byc-pdf-only .byc-pdf-contact-footer__social-icon:focus-visible {
    outline: 2px solid #9dcecc !important;
    outline-offset: 4px !important;
    border-radius: 4px !important;
}


/* ==========================================================
   v1.4.7 - Players / embeds centrados globalmente
   Aplica a cualquier formato gestionado por BetterYou-Contenidos
   ========================================================== */

/*
 * Estandariza players Gutenberg (Vimeo, YouTube y otros embeds)
 * dentro del contenido real de TheGem.
 */
body.byc-active .entry-content > .fullwidth-content > .wp-block-embed,
body.byc-active .entry-content > .fullwidth-content > figure.wp-block-embed,
body.byc-active .entry-content > .fullwidth-content > .wp-block-video,
body.byc-active .entry-content > .fullwidth-content > figure.wp-block-video,
body.byc-active .entry-content > .fullwidth-content > .wp-block-audio {
    box-sizing: border-box !important;
    display: block !important;
    width: min(calc(100% - 120px), 1040px) !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    clear: both !important;
}

/* Wrapper responsive de embeds */
body.byc-active .entry-content > .fullwidth-content .wp-block-embed__wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
}

/* Vimeo / YouTube / iframe detectado */
body.byc-active .entry-content > .fullwidth-content .wp-block-embed iframe,
body.byc-active .entry-content > .fullwidth-content iframe[src*="vimeo.com"],
body.byc-active .entry-content > .fullwidth-content iframe[src*="youtube.com"],
body.byc-active .entry-content > .fullwidth-content iframe[src*="youtu.be"] {
    display: block !important;
    width: 100% !important;
    max-width: 1040px !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border: 0 !important;
}

/* Video HTML5 */
body.byc-active .entry-content > .fullwidth-content video,
body.byc-active .entry-content > .fullwidth-content .wp-block-video video {
    display: block !important;
    width: 100% !important;
    max-width: 1040px !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Audio HTML5 */
body.byc-active .entry-content > .fullwidth-content audio,
body.byc-active .entry-content > .fullwidth-content .wp-block-audio audio {
    display: block !important;
    width: 100% !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Tablet */
@media (max-width: 1100px) {
    body.byc-active .entry-content > .fullwidth-content > .wp-block-embed,
    body.byc-active .entry-content > .fullwidth-content > figure.wp-block-embed,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-video,
    body.byc-active .entry-content > .fullwidth-content > figure.wp-block-video,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-audio {
        width: min(calc(100% - 72px), 940px) !important;
        max-width: 940px !important;
    }
}

/* Tablet pequeña */
@media (max-width: 768px) {
    body.byc-active .entry-content > .fullwidth-content > .wp-block-embed,
    body.byc-active .entry-content > .fullwidth-content > figure.wp-block-embed,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-video,
    body.byc-active .entry-content > .fullwidth-content > figure.wp-block-video,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-audio {
        width: calc(100% - 44px) !important;
        max-width: none !important;
    }
}

/* Móvil */
@media (max-width: 480px) {
    body.byc-active .entry-content > .fullwidth-content > .wp-block-embed,
    body.byc-active .entry-content > .fullwidth-content > figure.wp-block-embed,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-video,
    body.byc-active .entry-content > .fullwidth-content > figure.wp-block-video,
    body.byc-active .entry-content > .fullwidth-content > .wp-block-audio {
        width: calc(100% - 30px) !important;
    }
}


/* ==========================================================
   v1.4.8 - PDF + VIDEO: bloque LO QUE OBTENDRÁS
   Encabezado turquesa + franja negra con 4 beneficios/iconos.
   También sirve como base para PDF + AUDIO + VIDEO.
   ========================================================== */

body.byc-active .byc-benefits--obtendras {
    box-sizing: border-box !important;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 34px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Encabezado turquesa */
body.byc-active .byc-benefits--obtendras .byc-benefits-heading {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 30px 20px 29px !important;
    background: #668f91 !important;
    text-align: center !important;
}

body.byc-active .byc-benefits--obtendras .byc-benefits-heading h2 {
    margin: 0 !important;
    color: #fff !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

/* Franja negra */
body.byc-active .byc-benefits--obtendras .byc-benefit-grid {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 28px max(22px, calc((100% - 1240px) / 2)) 30px !important;
    background: #000 !important;
    color: #fff !important;
    gap: 0 !important;
    align-items: stretch !important;
}

/* Cada beneficio */
body.byc-active .byc-benefits--obtendras .byc-benefit-item {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    min-height: 158px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border-right: 1px solid rgba(142, 201, 202, .72) !important;
    color: #fff !important;
    text-align: center !important;
}

body.byc-active .byc-benefits--obtendras .byc-benefit-item:last-child {
    border-right: 0 !important;
}

/* Si el usuario sube su propio icono */
body.byc-active .byc-benefits--obtendras .byc-benefit-item > img {
    display: block !important;
    width: auto !important;
    max-width: 66px !important;
    height: 66px !important;
    max-height: 66px !important;
    object-fit: contain !important;
    margin: 0 auto 14px !important;
    filter: brightness(0) invert(1) !important;
}

/* Iconos integrados */
body.byc-active .byc-benefits--obtendras .byc-benefit-builtin {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70px !important;
    height: 70px !important;
    flex: 0 0 70px !important;
    margin: 0 auto 12px !important;
    color: #fff !important;
}

body.byc-active .byc-benefits--obtendras .byc-benefit-builtin--seven {
    font-family: 'Prata', Georgia, serif !important;
    font-size: 72px !important;
    line-height: .9 !important;
    font-weight: 400 !important;
}

body.byc-active .byc-benefits--obtendras .byc-benefit-builtin--svg svg {
    display: block !important;
    width: 62px !important;
    height: 62px !important;
    overflow: visible !important;
}

/* Texto de cada beneficio */
body.byc-active .byc-benefits--obtendras .byc-benefit-text {
    width: 100% !important;
    margin-top: auto !important;
    color: #fff !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

/* Full width real si el administrador tiene activadas las franjas completas */
body.byc-sections-full .byc-benefits--obtendras {
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Tablet */
@media (max-width: 900px) {
    body.byc-active .byc-benefits--obtendras .byc-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 26px 30px 28px !important;
        row-gap: 30px !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefit-item {
        min-height: 150px !important;
        padding: 0 22px !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefit-item:nth-child(2) {
        border-right: 0 !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefit-item:nth-child(3),
    body.byc-active .byc-benefits--obtendras .byc-benefit-item:nth-child(4) {
        padding-top: 8px !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefits-heading h2 {
        font-size: 25px !important;
    }
}

/* Móvil */
@media (max-width: 600px) {
    body.byc-active .byc-benefits--obtendras {
        margin-top: 26px !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefits-heading {
        padding: 23px 18px 22px !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefits-heading h2 {
        font-size: 22px !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefit-grid {
        grid-template-columns: 1fr !important;
        padding: 26px 24px 28px !important;
        row-gap: 0 !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefit-item,
    body.byc-active .byc-benefits--obtendras .byc-benefit-item:nth-child(2),
    body.byc-active .byc-benefits--obtendras .byc-benefit-item:nth-child(3),
    body.byc-active .byc-benefits--obtendras .byc-benefit-item:nth-child(4) {
        min-height: 0 !important;
        padding: 24px 8px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(142, 201, 202, .6) !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefit-item:first-child {
        padding-top: 4px !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefit-item:last-child {
        border-bottom: 0 !important;
        padding-bottom: 4px !important;
    }

    body.byc-active .byc-benefits--obtendras .byc-benefit-text {
        max-width: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }
}


/* ==========================================================
   v1.4.9 - PDF + VIDEO: LO QUE OBTENDRÁS ocupa físicamente
   el lugar del bloque de autor de TheGem.
   ========================================================== */

body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor {
    display: block !important;
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 0 -50vw !important;
    padding: 0 !important;
    clear: both !important;
    float: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden !important;
}

/* Al ocupar el lugar del autor no debe heredar redondeos, padding o fondos TheGem. */
body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor,
body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor * {
    box-sizing: border-box !important;
}

/* Secuencia pegada con el bloque relacionado que viene después. */
body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor + .post-related-posts {
    margin-top: 0 !important;
    clear: both !important;
}

/* En este formato el encabezado debe seguir la referencia exacta. */
body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor .byc-benefits-heading {
    width: 100% !important;
    margin: 0 !important;
    padding: 30px 20px 29px !important;
    background: #668f91 !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor .byc-benefits-heading h2 {
    margin: 0 !important;
    color: #fff !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-align: center !important;
}

/* Franja negra completa, sin separación extra alrededor. */
body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor .byc-benefit-grid {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #000 !important;
}

/* Tablet */
@media (max-width: 900px) {
    body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor .byc-benefits-heading {
        padding: 26px 18px 25px !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor .byc-benefits-heading h2 {
        font-size: 25px !important;
    }
}

/* Móvil */
@media (max-width: 600px) {
    body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor .byc-benefits-heading {
        padding: 22px 16px 21px !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-video-benefits-anchor .byc-benefits-heading h2 {
        font-size: 22px !important;
    }
}


/* ==========================================================
   v1.5.1 - PDF + VIDEO: MISMO CARRUSEL DEL FORMATO PDF
   La cuadrícula se reconstruye con 4 tarjetas reales por vista.
   ========================================================== */
body.byc-active.byc-pdf-video-only .post-related-posts > h2 {
    min-height: 78px !important;
    padding: 20px max(56px, calc((100% - var(--byc-max, 1200px))/2)) !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    color: #171717 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(27px, 2.35vw, 38px) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;
    letter-spacing: .025em !important;
    text-align: left !important;
}

body.byc-active.byc-pdf-video-only .post-related-posts-block {
    background: #668f91 !important;
    padding: 34px 0 42px !important;
    overflow: visible !important;
}

body.byc-active.byc-pdf-video-only .byc-related-custom {
    width: min(1080px, calc(100% - 112px)) !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 0 48px !important;
}

body.byc-active.byc-pdf-video-only .byc-related-viewport {
    width: 100% !important;
    overflow: hidden !important;
}

body.byc-active.byc-pdf-video-only .byc-related-track-custom {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
}

body.byc-active.byc-pdf-video-only .byc-related-card-custom {
    padding: 0 7px !important;
}

body.byc-active.byc-pdf-video-only .byc-related-image-link {
    width: 100% !important;
    aspect-ratio: 1.43 / 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #d7d7d7 !important;
}

body.byc-active.byc-pdf-video-only .byc-related-image-link img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

body.byc-active.byc-pdf-video-only .byc-related-pill {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    width: 100% !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 8px 0 0 !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: #9dcecc !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-transform: none !important;
}

body.byc-active.byc-pdf-video-only .byc-related-arrow {
    top: 38% !important;
    width: 28px !important;
    height: 28px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 26px !important;
}
body.byc-active.byc-pdf-video-only .byc-related-arrow-prev { left: -38px !important; }
body.byc-active.byc-pdf-video-only .byc-related-arrow-next { right: -38px !important; }

body.byc-active.byc-pdf-video-only .byc-related-custom .byc-theme-related-more {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 126px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 30px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

@media (max-width: 900px) {
    body.byc-active.byc-pdf-video-only .post-related-posts > h2 {
        min-height: 70px !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
    }
    body.byc-active.byc-pdf-video-only .byc-related-custom {
        width: calc(100% - 88px) !important;
    }
    body.byc-active.byc-pdf-video-only .byc-related-arrow-prev { left: -34px !important; }
    body.byc-active.byc-pdf-video-only .byc-related-arrow-next { right: -34px !important; }
}

@media (max-width: 600px) {
    body.byc-active.byc-pdf-video-only .post-related-posts > h2 {
        min-height: 64px !important;
        padding: 18px 16px !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 25px !important;
    }
    body.byc-active.byc-pdf-video-only .post-related-posts-block {
        padding: 26px 0 34px !important;
    }
    body.byc-active.byc-pdf-video-only .byc-related-custom {
        width: calc(100% - 72px) !important;
        padding-bottom: 46px !important;
    }
    body.byc-active.byc-pdf-video-only .byc-related-card-custom { padding: 0 3px !important; }
    body.byc-active.byc-pdf-video-only .byc-related-arrow-prev { left: -29px !important; }
    body.byc-active.byc-pdf-video-only .byc-related-arrow-next { right: -29px !important; }
}



/* ==========================================================
   v1.5.1 - Footer interno BetterYou para PDF + VIDEO
   ========================================================== */
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer {
    box-sizing: border-box !important;
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 0 -50vw !important;
    padding: 0 !important;
    clear: both !important;
    float: none !important;
    background: #f8f6f1 !important;
    color: #111 !important;
    overflow: hidden !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__inner {
    box-sizing: border-box !important;
    width: min(100%, 980px) !important;
    margin: 0 auto !important;
    padding: 52px 34px 58px !important;
    text-align: center !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__badge {
    box-sizing: border-box !important;
    width: 260px !important;
    max-width: 78vw !important;
    margin: 0 auto 24px !important;
    padding: 13px 20px 12px !important;
    background: #9dcecc !important;
    color: #111 !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__logo-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 72px !important;
    margin: 0 auto 42px !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__logo {
    display: block !important;
    width: 150px !important;
    max-width: 42vw !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 90px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__col {
    min-width: 0 !important;
    text-align: center !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__title {
    position: relative !important;
    margin: 0 0 22px !important;
    padding: 0 0 11px !important;
    color: #111 !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__title::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    width: 82% !important;
    height: 1px !important;
    transform: translateX(-50%) !important;
    background: rgba(93, 144, 146, .32) !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__email {
    color: #252525 !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    min-height: 31px !important;
    margin-top: 3px !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__social-icon img {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tablet */
@media (max-width: 900px) {
    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__inner {
        padding: 46px 28px 50px !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__columns {
        gap: 44px !important;
        max-width: 680px !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__title {
        font-size: 20px !important;
    }
}

/* Móvil */
@media (max-width: 600px) {
    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__inner {
        padding: 38px 22px 44px !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__badge {
        width: 220px !important;
        margin-bottom: 22px !important;
        padding: 12px 16px 11px !important;
        font-size: 20px !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__logo-wrap {
        margin-bottom: 34px !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__logo {
        width: 135px !important;
        max-width: 55vw !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__columns {
        grid-template-columns: 1fr !important;
        gap: 38px !important;
        max-width: 360px !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__title {
        margin-bottom: 18px !important;
        font-size: 19px !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__title::after {
        width: 74% !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__email {
        font-size: 12px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__social-icons {
        gap: 16px !important;
        flex-wrap: wrap !important;
    }

    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__social-icon,
    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__social-icon img {
        width: 27px !important;
        height: 27px !important;
        max-width: 27px !important;
        max-height: 27px !important;
        flex-basis: 27px !important;
    }
}




/* ==========================================================
   v1.5.1 - Footer PDF + VIDEO sin separación blanca
   ========================================================== */

/* El bloque de contacto debe tocar directamente al footer de TheGem */
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ajustamos el padding dentro del footer interno para que el fondo claro
   termine justo donde comienza el footer real, sin una banda blanca extra. */
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__inner {
    padding-bottom: 44px !important;
}

/* Quitar cualquier separación que TheGem introduzca antes del footer */
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer + *,
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer ~ footer,
body.byc-active.byc-pdf-video-only #footer,
body.byc-active.byc-pdf-video-only footer {
    margin-top: 0 !important;
}

/* TheGem suele dejar contenedores vacíos o separadores antes del footer */
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer + .container:empty,
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer + .fullwidth-block:empty,
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer + .vc_row:empty,
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer + .wpb-content-wrapper:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Evitar bordes/separadores blancos residuales */
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer,
body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer * {
    border-bottom-width: 0 !important;
}

/* Móvil: mantener unión directa con el footer */
@media (max-width: 600px) {
    body.byc-active.byc-pdf-video-only .byc-pdf-contact-footer__inner {
        padding-bottom: 38px !important;
    }
}




/* ==========================================================
   v1.5.1 - Ajuste final de legibilidad PDF + VIDEO
   ========================================================== */
body.byc-active.byc-pdf-video-only
.byc-pdf-video-benefits-anchor .byc-benefit-text {
    font-size: 14px !important;
    line-height: 1.38 !important;
}

@media (max-width: 900px) {
    body.byc-active.byc-pdf-video-only
    .byc-pdf-video-benefits-anchor .byc-benefit-text {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 600px) {
    body.byc-active.byc-pdf-video-only
    .byc-pdf-video-benefits-anchor .byc-benefit-text {
        font-size: 13px !important;
        line-height: 1.42 !important;
    }
}

/* Footer inmediatamente después de CURSOS RELACIONADOS */
body.byc-active.byc-pdf-video-only
.post-related-posts + .byc-pdf-contact-footer {
    margin-top: 0 !important;
    clear: both !important;
}


/* ==========================================================
   v1.5.2 - PDF + VIDEO + AUDIO: mismo cierre visual que PDF + VIDEO
   ========================================================== */



/* ==========================================================
   v1.4.9 - PDF + VIDEO: LO QUE OBTENDRÁS ocupa físicamente
   el lugar del bloque de autor de TheGem.
   ========================================================== */

body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor {
    display: block !important;
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 0 -50vw !important;
    padding: 0 !important;
    clear: both !important;
    float: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden !important;
}


/* Al ocupar el lugar del autor no debe heredar redondeos, padding o fondos TheGem. */
body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor,
body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor * {
    box-sizing: border-box !important;
}


/* Secuencia pegada con el bloque relacionado que viene después. */
body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor + .post-related-posts {
    margin-top: 0 !important;
    clear: both !important;
}


/* En este formato el encabezado debe seguir la referencia exacta. */
body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor .byc-benefits-heading {
    width: 100% !important;
    margin: 0 !important;
    padding: 30px 20px 29px !important;
    background: #668f91 !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor .byc-benefits-heading h2 {
    margin: 0 !important;
    color: #fff !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-align: center !important;
}


/* Franja negra completa, sin separación extra alrededor. */
body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor .byc-benefit-grid {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #000 !important;
}

    body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor .byc-benefits-heading {
        padding: 26px 18px 25px !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor .byc-benefits-heading h2 {
        font-size: 25px !important;
    }

    body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor .byc-benefits-heading {
        padding: 22px 16px 21px !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor .byc-benefits-heading h2 {
        font-size: 22px !important;
    }



/* ==========================================================
   v1.5.1 - PDF + VIDEO: MISMO CARRUSEL DEL FORMATO PDF
   La cuadrícula se reconstruye con 4 tarjetas reales por vista.
   ========================================================== */
body.byc-active.byc-pdf-audio-video .post-related-posts > h2 {
    min-height: 78px !important;
    padding: 20px max(56px, calc((100% - var(--byc-max, 1200px))/2)) !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    color: #171717 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(27px, 2.35vw, 38px) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;
    letter-spacing: .025em !important;
    text-align: left !important;
}


body.byc-active.byc-pdf-audio-video .post-related-posts-block {
    background: #668f91 !important;
    padding: 34px 0 42px !important;
    overflow: visible !important;
}


body.byc-active.byc-pdf-audio-video .byc-related-custom {
    width: min(1080px, calc(100% - 112px)) !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 0 48px !important;
}


body.byc-active.byc-pdf-audio-video .byc-related-viewport {
    width: 100% !important;
    overflow: hidden !important;
}


body.byc-active.byc-pdf-audio-video .byc-related-track-custom {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
}


body.byc-active.byc-pdf-audio-video .byc-related-card-custom {
    padding: 0 7px !important;
}


body.byc-active.byc-pdf-audio-video .byc-related-image-link {
    width: 100% !important;
    aspect-ratio: 1.43 / 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #d7d7d7 !important;
}


body.byc-active.byc-pdf-audio-video .byc-related-image-link img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}


body.byc-active.byc-pdf-audio-video .byc-related-pill {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    width: 100% !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 8px 0 0 !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: #9dcecc !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-transform: none !important;
}


body.byc-active.byc-pdf-audio-video .byc-related-arrow {
    top: 38% !important;
    width: 28px !important;
    height: 28px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 26px !important;
}

body.byc-active.byc-pdf-audio-video .byc-related-arrow-prev { left: -38px !important; }

body.byc-active.byc-pdf-audio-video .byc-related-arrow-next { right: -38px !important; }


body.byc-active.byc-pdf-audio-video .byc-related-custom .byc-theme-related-more {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 126px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 30px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

    body.byc-active.byc-pdf-audio-video .post-related-posts > h2 {
        min-height: 70px !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    body.byc-active.byc-pdf-audio-video .byc-related-custom {
        width: calc(100% - 88px) !important;
    }

    body.byc-active.byc-pdf-audio-video .byc-related-arrow-prev { left: -34px !important; }

    body.byc-active.byc-pdf-audio-video .byc-related-arrow-next { right: -34px !important; }

    body.byc-active.byc-pdf-audio-video .post-related-posts > h2 {
        min-height: 64px !important;
        padding: 18px 16px !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 25px !important;
    }

    body.byc-active.byc-pdf-audio-video .post-related-posts-block {
        padding: 26px 0 34px !important;
    }

    body.byc-active.byc-pdf-audio-video .byc-related-custom {
        width: calc(100% - 72px) !important;
        padding-bottom: 46px !important;
    }

    body.byc-active.byc-pdf-audio-video .byc-related-card-custom { padding: 0 3px !important; }

    body.byc-active.byc-pdf-audio-video .byc-related-arrow-prev { left: -29px !important; }

    body.byc-active.byc-pdf-audio-video .byc-related-arrow-next { right: -29px !important; }




/* ==========================================================
   v1.5.1 - Footer interno BetterYou para PDF + VIDEO
   ========================================================== */
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer {
    box-sizing: border-box !important;
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 0 -50vw !important;
    padding: 0 !important;
    clear: both !important;
    float: none !important;
    background: #f8f6f1 !important;
    color: #111 !important;
    overflow: hidden !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__inner {
    box-sizing: border-box !important;
    width: min(100%, 980px) !important;
    margin: 0 auto !important;
    padding: 52px 34px 58px !important;
    text-align: center !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__badge {
    box-sizing: border-box !important;
    width: 260px !important;
    max-width: 78vw !important;
    margin: 0 auto 24px !important;
    padding: 13px 20px 12px !important;
    background: #9dcecc !important;
    color: #111 !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__logo-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 72px !important;
    margin: 0 auto 42px !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__logo {
    display: block !important;
    width: 150px !important;
    max-width: 42vw !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 90px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__col {
    min-width: 0 !important;
    text-align: center !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__title {
    position: relative !important;
    margin: 0 0 22px !important;
    padding: 0 0 11px !important;
    color: #111 !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__title::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    width: 82% !important;
    height: 1px !important;
    transform: translateX(-50%) !important;
    background: rgba(93, 144, 146, .32) !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__email {
    color: #252525 !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    min-height: 31px !important;
    margin-top: 3px !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}


body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__social-icon img {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
}

    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__inner {
        padding: 46px 28px 50px !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__columns {
        gap: 44px !important;
        max-width: 680px !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__title {
        font-size: 20px !important;
    }

    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__inner {
        padding: 38px 22px 44px !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__badge {
        width: 220px !important;
        margin-bottom: 22px !important;
        padding: 12px 16px 11px !important;
        font-size: 20px !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__logo-wrap {
        margin-bottom: 34px !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__logo {
        width: 135px !important;
        max-width: 55vw !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__columns {
        grid-template-columns: 1fr !important;
        gap: 38px !important;
        max-width: 360px !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__title {
        margin-bottom: 18px !important;
        font-size: 19px !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__title::after {
        width: 74% !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__email {
        font-size: 12px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__social-icons {
        gap: 16px !important;
        flex-wrap: wrap !important;
    }


    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__social-icon,
    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__social-icon img {
        width: 27px !important;
        height: 27px !important;
        max-width: 27px !important;
        max-height: 27px !important;
        flex-basis: 27px !important;
    }





/* ==========================================================
   v1.5.1 - Footer PDF + VIDEO sin separación blanca
   ========================================================== */

/* El bloque de contacto debe tocar directamente al footer de TheGem */
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* Ajustamos el padding dentro del footer interno para que el fondo claro
   termine justo donde comienza el footer real, sin una banda blanca extra. */
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__inner {
    padding-bottom: 44px !important;
}


/* Quitar cualquier separación que TheGem introduzca antes del footer */
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer + *,
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer ~ footer,
body.byc-active.byc-pdf-audio-video #footer,
body.byc-active.byc-pdf-audio-video footer {
    margin-top: 0 !important;
}


/* TheGem suele dejar contenedores vacíos o separadores antes del footer */
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer + .container:empty,
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer + .fullwidth-block:empty,
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer + .vc_row:empty,
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer + .wpb-content-wrapper:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Evitar bordes/separadores blancos residuales */
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer,
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer * {
    border-bottom-width: 0 !important;
}

    body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer__inner {
        padding-bottom: 38px !important;
    }





/* ==========================================================
   v1.5.1 - Ajuste final de legibilidad PDF + VIDEO
   ========================================================== */
body.byc-active.byc-pdf-audio-video
.byc-pdf-video-benefits-anchor .byc-benefit-text {
    font-size: 14px !important;
    line-height: 1.38 !important;
}

    body.byc-active.byc-pdf-audio-video
    .byc-pdf-video-benefits-anchor .byc-benefit-text {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }

    body.byc-active.byc-pdf-audio-video
    .byc-pdf-video-benefits-anchor .byc-benefit-text {
        font-size: 13px !important;
        line-height: 1.42 !important;
    }


/* Footer inmediatamente después de CURSOS RELACIONADOS */
body.byc-active.byc-pdf-audio-video
.post-related-posts + .byc-pdf-contact-footer {
    margin-top: 0 !important;
    clear: both !important;
}

/* Garantía final de ancho y unión de bloques */
body.byc-active.byc-pdf-audio-video .byc-pdf-video-benefits-anchor,
body.byc-active.byc-pdf-audio-video .post-related-posts,
body.byc-active.byc-pdf-audio-video .byc-pdf-contact-footer {
    position: relative;
    z-index: 1;
}

body.byc-active.byc-pdf-audio-video
.post-related-posts + .byc-pdf-contact-footer {
    margin-top: 0 !important;
    clear: both !important;
}


/* ==========================================================
   v1.5.3 - CONTACTO / SOCIAL MEDIA compacto según referencia
   Aplica al bloque compartido de PDF, PDF+VIDEO y PDF+VIDEO+AUDIO
   ========================================================== */

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer {
    background: #f7f5f2 !important;
    padding: 20px 20px 18px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__inner {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 118px !important;
    min-height: 22px !important;
    padding: 3px 12px !important;
    margin: 0 auto 8px !important;
    background: #a9d8d6 !important;
    color: #111 !important;
    font-family: "Prata", serif !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__logo-wrap {
    margin: 0 auto 18px !important;
    line-height: 0 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__logo {
    display: block !important;
    width: 78px !important;
    max-width: 78px !important;
    height: auto !important;
    margin: 0 auto !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 78px !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    align-items: start !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__col {
    position: relative !important;
    text-align: center !important;
    padding-top: 10px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__col::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    width: 118px !important;
    height: 1px !important;
    transform: translateX(-50%) !important;
    background: #d8dddd !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__title {
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #111 !important;
    font-family: "Prata", serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__email {
    color: #111 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 6px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__social-icon img {
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
    object-fit: contain !important;
    margin: 0 !important;
}

/* Tablet */
@media (max-width: 768px) {
    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer {
        padding: 20px 18px 18px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__columns {
        max-width: 440px !important;
        gap: 42px !important;
    }
}

/* Móvil: conserva las dos columnas mientras haya espacio; apila en pantallas angostas */
@media (max-width: 520px) {
    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__columns {
        max-width: 360px !important;
        gap: 24px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__col::before {
        width: 92px !important;
    }
}

@media (max-width: 380px) {
    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__columns {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        max-width: 220px !important;
    }
}


/* ==========================================================
   v1.5.4 - CONTACTO / SOCIAL MEDIA con mayor presencia visual
   ========================================================== */

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer {
    padding: 34px 24px 38px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__inner {
    max-width: 900px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__badge {
    width: 150px !important;
    min-height: 30px !important;
    padding: 5px 16px !important;
    margin-bottom: 13px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__logo-wrap {
    margin-bottom: 28px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__logo {
    width: 112px !important;
    max-width: 112px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__columns {
    max-width: 660px !important;
    gap: 120px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__col {
    padding-top: 14px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__col::before {
    width: 150px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__title {
    margin-bottom: 10px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__email {
    font-size: 9px !important;
    line-height: 1.35 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__social-icons {
    gap: 14px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__social-icon,
body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__social-icon img {
    width: 17px !important;
    height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
}

@media (max-width: 768px) {
    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer {
        padding: 30px 20px 32px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__columns {
        max-width: 560px !important;
        gap: 70px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__badge {
        width: 140px !important;
        font-size: 11.5px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__logo {
        width: 104px !important;
        max-width: 104px !important;
    }
}

@media (max-width: 520px) {
    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__columns {
        max-width: 420px !important;
        gap: 34px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__title {
        font-size: 12px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__email {
        font-size: 8px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__social-icon,
    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__social-icon img {
        width: 16px !important;
        height: 16px !important;
        max-width: 16px !important;
        max-height: 16px !important;
    }
}

@media (max-width: 380px) {
    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__columns {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        max-width: 250px !important;
    }
}


/* ==========================================================
   v1.5.5 - CONTACTO / SOCIAL MEDIA x2 + sin líneas superiores
   ========================================================== */

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer {
    padding: 58px 30px 62px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__inner {
    max-width: 1200px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__badge {
    width: 300px !important;
    min-height: 54px !important;
    padding: 9px 24px !important;
    margin-bottom: 22px !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__logo-wrap {
    margin-bottom: 46px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__logo {
    width: 220px !important;
    max-width: 220px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__columns {
    max-width: 1000px !important;
    gap: 150px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__col {
    padding-top: 0 !important;
}

/* Quitar completamente la línea que estaba arriba de CONTÁCTANOS y SOCIAL MEDIA */
body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__col::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__title {
    margin-bottom: 16px !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__email {
    font-size: 16px !important;
    line-height: 1.35 !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__social-icons {
    gap: 22px !important;
}

body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__social-icon,
body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
.byc-pdf-contact-footer__social-icon img {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
}

@media (max-width: 768px) {
    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer {
        padding: 42px 20px 46px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__badge {
        width: 220px !important;
        min-height: 44px !important;
        font-size: 18px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__logo {
        width: 170px !important;
        max-width: 170px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__columns {
        max-width: 680px !important;
        gap: 55px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__title {
        font-size: 19px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__email {
        font-size: 12px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__social-icon,
    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__social-icon img {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
    }
}

@media (max-width: 520px) {
    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__columns {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
        max-width: 340px !important;
    }

    body.byc-active:is(.byc-pdf-only,.byc-pdf-video-only,.byc-pdf-audio-video,.byc-cooking-format)
    .byc-pdf-contact-footer__logo-wrap {
        margin-bottom: 34px !important;
    }
}


/* ==========================================================
   v1.5.6 - Familia COOKING
   Prioridad absoluta si está seleccionada la categoría cooking.
   ========================================================== */

/* Oculta cualquier beneficio multimedia genérico en Cooking */
body.byc-active.byc-cooking-format .byc-benefits--obtendras,
body.byc-active.byc-cooking-format .byc-pdf-video-benefits-anchor {
    display: none !important;
}

/* Bloque completo de referencia */
body.byc-active.byc-cooking-format .byc-cooking-benefits {
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
    background: #fff !important;
    padding: 28px 32px 25px !important;
    text-align: center !important;
}

body.byc-active.byc-cooking-format .byc-cooking-benefits__title {
    margin: 0 auto 20px !important;
    padding: 0 !important;
    color: #111 !important;
    font-family: "Prata", serif !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

body.byc-active.byc-cooking-format .byc-cooking-benefits__band {
    width: min(100%, 1100px) !important;
    margin: 0 auto !important;
    padding: 28px 30px !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    background: #000 !important;
}

body.byc-active.byc-cooking-format .byc-cooking-benefits__item {
    min-height: 104px !important;
    padding: 15px 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

body.byc-active.byc-cooking-format .byc-cooking-benefits__item + .byc-cooking-benefits__item {
    border-left: 1px solid #8dbabb !important;
}

body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
    margin: 28px auto 0 !important;
    padding: 0 20px !important;
    color: #111 !important;
    font-family: "Prata", serif !important;
    font-size: 26px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    font-style: italic !important;
    text-align: center !important;
}

/* Cooking conserva la estructura completa:
   bloque especial -> relacionados -> contacto */
body.byc-active.byc-cooking-format
.byc-cooking-benefits + .post-related-posts {
    margin-top: 0 !important;
}

body.byc-active.byc-cooking-format
.post-related-posts + .byc-pdf-contact-footer {
    margin-top: 0 !important;
    clear: both !important;
}

@media (max-width: 900px) {
    body.byc-active.byc-cooking-format .byc-cooking-benefits__band {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 760px !important;
        padding: 22px !important;
    }

    body.byc-active.byc-cooking-format .byc-cooking-benefits__item:nth-child(3) {
        border-left: 0 !important;
        border-top: 1px solid #8dbabb !important;
    }

    body.byc-active.byc-cooking-format .byc-cooking-benefits__item:nth-child(4) {
        border-top: 1px solid #8dbabb !important;
    }

    body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
        font-size: 22px !important;
    }
}

@media (max-width: 600px) {
    body.byc-active.byc-cooking-format .byc-cooking-benefits {
        padding: 24px 16px 22px !important;
    }

    body.byc-active.byc-cooking-format .byc-cooking-benefits__title {
        font-size: 21px !important;
        margin-bottom: 16px !important;
    }

    body.byc-active.byc-cooking-format .byc-cooking-benefits__band {
        grid-template-columns: 1fr !important;
        max-width: 430px !important;
        padding: 14px 20px !important;
    }

    body.byc-active.byc-cooking-format .byc-cooking-benefits__item {
        min-height: auto !important;
        padding: 20px 12px !important;
        font-size: 13px !important;
    }

    body.byc-active.byc-cooking-format .byc-cooking-benefits__item + .byc-cooking-benefits__item {
        border-left: 0 !important;
        border-top: 1px solid #8dbabb !important;
    }

    body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
        margin-top: 22px !important;
        font-size: 18px !important;
        line-height: 1.45 !important;
    }
}

/* Carrusel Cooking: misma arquitectura visual aprobada */


body.byc-active.byc-cooking-format .byc-related-custom {
    width: min(1080px, calc(100% - 112px)) !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 0 48px !important;
}


body.byc-active.byc-cooking-format .byc-related-viewport {
    width: 100% !important;
    overflow: hidden !important;
}


body.byc-active.byc-cooking-format .byc-related-track-custom {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
}


body.byc-active.byc-cooking-format .byc-related-card-custom {
    padding: 0 7px !important;
}


body.byc-active.byc-cooking-format .byc-related-image-link {
    width: 100% !important;
    aspect-ratio: 1.43 / 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #d7d7d7 !important;
}


body.byc-active.byc-cooking-format .byc-related-image-link img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}


body.byc-active.byc-cooking-format .byc-related-pill {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    width: 100% !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 8px 0 0 !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: #9dcecc !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-transform: none !important;
}


body.byc-active.byc-cooking-format .byc-related-arrow {
    top: 38% !important;
    width: 28px !important;
    height: 28px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 26px !important;
}

body.byc-active.byc-cooking-format .byc-related-arrow-prev { left: -38px !important; }

body.byc-active.byc-cooking-format .byc-related-arrow-next { right: -38px !important; }


body.byc-active.byc-cooking-format .byc-related-custom .byc-theme-related-more {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 126px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 30px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

    body.byc-active.byc-cooking-format .byc-related-custom {
        width: calc(100% - 88px) !important;
    }

    body.byc-active.byc-cooking-format .byc-related-arrow-prev { left: -34px !important; }

    body.byc-active.byc-cooking-format .byc-related-arrow-next { right: -34px !important; }

    body.byc-active.byc-cooking-format .byc-related-custom {
        width: calc(100% - 72px) !important;
        padding-bottom: 46px !important;
    }

    body.byc-active.byc-cooking-format .byc-related-card-custom { padding: 0 3px !important; }

    body.byc-active.byc-cooking-format .byc-related-arrow-prev { left: -29px !important; }

    body.byc-active.byc-cooking-format .byc-related-arrow-next { right: -29px !important; }


/* Títulos de relacionados: una sola línea + ... */
body.byc-active.byc-cooking-format .byc-related-pill {
    display: block !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 9px 12px 7px !important;
    font-size: 12.5px !important;
    line-height: 18px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
}


    body.byc-active.byc-cooking-format .byc-related-pill {
        font-size: 12px !important;
    }


    body.byc-active.byc-cooking-format .byc-related-pill {
        min-height: 36px !important;
        height: 36px !important;
        padding: 9px 11px !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }

/* ==========================================================
   v1.5.7 - Ajustes visuales finales COOKING
   ========================================================== */

/* Fondo completo del bloque COME BIEN, A TU MANERA */
body.byc-active.byc-cooking-format .byc-cooking-benefits {
    background: #F6F4F1 !important;
}

/* Título más grande */
body.byc-active.byc-cooking-format .byc-cooking-benefits__title {
    font-size: 34px !important;
    line-height: 1.2 !important;
    margin-bottom: 24px !important;
}

/* Frase inferior según especificación */
body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
    font-family: "Petit Formal Script", Sans-serif !important;
    font-size: 35px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    color: #81727F !important;
    letter-spacing: 0 !important;
}

/* Responsive */
@media (max-width: 900px) {
    body.byc-active.byc-cooking-format .byc-cooking-benefits__title {
        font-size: 30px !important;
    }

    body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
        font-size: 31px !important;
    }
}

@media (max-width: 600px) {
    body.byc-active.byc-cooking-format .byc-cooking-benefits__title {
        font-size: 25px !important;
    }

    body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
        font-size: 27px !important;
        line-height: 1.4 !important;
    }
}


/* ==========================================================
   v1.5.8 - CONTACTO global según referencia aprobada
   ========================================================== */

body.byc-active .byc-pdf-contact-footer {
    background: #F6F4F1 !important;
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 44px 24px 46px !important;
    box-sizing: border-box !important;
}

body.byc-active .byc-pdf-contact-footer__inner {
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
}

body.byc-active .byc-pdf-contact-footer__badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 171px !important;
    height: 45px !important;
    min-height: 45px !important;
    padding: 0 14px !important;
    margin: 0 auto 14px !important;
    box-sizing: border-box !important;
    background: #A9D8D6 !important;
    color: #111 !important;
    font-family: "Prata", serif !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

body.byc-active .byc-pdf-contact-footer__logo-wrap {
    margin: 0 auto 20px !important;
    padding: 0 !important;
    line-height: 0 !important;
}

body.byc-active .byc-pdf-contact-footer__logo {
    display: block !important;
    width: 112px !important;
    max-width: 112px !important;
    height: auto !important;
    margin: 0 auto !important;
}

body.byc-active .byc-pdf-contact-footer__columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 235px !important;
    row-gap: 0 !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 690px !important;
    margin: 0 auto !important;
}

body.byc-active .byc-pdf-contact-footer__col {
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Sin línea arriba del título */
body.byc-active .byc-pdf-contact-footer__col::before {
    content: none !important;
    display: none !important;
}

/* Línea de referencia: debajo de CONTÁCTANOS / SOCIAL MEDIA */
body.byc-active .byc-pdf-contact-footer__title {
    position: relative !important;
    margin: 0 0 16px !important;
    padding: 0 0 12px !important;
    color: #111 !important;
    font-family: "Prata", serif !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

body.byc-active .byc-pdf-contact-footer__title::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    width: 204px !important;
    height: 1px !important;
    transform: translateX(-50%) !important;
    background: #A9D8D6 !important;
}

body.byc-active .byc-pdf-contact-footer__email {
    margin: 0 !important;
    padding: 0 !important;
    color: #71839A !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
}

body.byc-active .byc-pdf-contact-footer__social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.byc-active .byc-pdf-contact-footer__social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

body.byc-active .byc-pdf-contact-footer__social-icon img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain !important;
    margin: 0 !important;
}

/* Cooking: 40px reales arriba y abajo de la frase */
body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
    margin: 40px auto !important;
    padding: 0 20px !important;
}

/* Responsive del mismo diseño */
@media (max-width: 768px) {
    body.byc-active .byc-pdf-contact-footer {
        padding: 38px 20px 40px !important;
    }

    body.byc-active .byc-pdf-contact-footer__columns {
        max-width: 590px !important;
        column-gap: 100px !important;
    }

    body.byc-active .byc-pdf-contact-footer__title::after {
        width: 170px !important;
    }
}

@media (max-width: 560px) {
    body.byc-active .byc-pdf-contact-footer__badge {
        width: 155px !important;
        height: 42px !important;
        min-height: 42px !important;
        font-size: 18px !important;
    }

    body.byc-active .byc-pdf-contact-footer__logo {
        width: 105px !important;
        max-width: 105px !important;
    }

    body.byc-active .byc-pdf-contact-footer__columns {
        grid-template-columns: 1fr !important;
        max-width: 310px !important;
        gap: 30px !important;
    }

    body.byc-active .byc-pdf-contact-footer__title {
        font-size: 15px !important;
    }

    body.byc-active .byc-pdf-contact-footer__title::after {
        width: 200px !important;
    }

    body.byc-active .byc-pdf-contact-footer__social-icons {
        gap: 18px !important;
    }
}


/* ==========================================================
   v1.5.9 - Cooking: ancho de frase inferior al 85%
   ========================================================== */
body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
    width: 85% !important;
    max-width: 85% !important;
    box-sizing: border-box !important;
    margin: 40px auto !important;
}


/* ==========================================================
   v1.6.0 - SOLO frase inferior COOKING
   CONTACTO / SOCIAL MEDIA no se modifica.
   ========================================================== */
body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
    width: 85% !important;
    max-width: 900px !important;
    margin: 40px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-family: "Petit Formal Script", Sans-serif !important;
    font-size: 35px !important;
    line-height: 1.05 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    color: #81727F !important;
    letter-spacing: 0 !important;
}

/* Mantener una composición de dos líneas como la referencia */
@media (min-width: 769px) {
    body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
        width: 70% !important;
        max-width: 780px !important;
    }
}

@media (max-width: 768px) {
    body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
        width: 85% !important;
        max-width: 620px !important;
        font-size: 31px !important;
    }
}

@media (max-width: 600px) {
    body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
        width: 90% !important;
        max-width: 430px !important;
        font-size: 27px !important;
        line-height: 1.12 !important;
    }
}


/* ==========================================================
   v1.6.1 - SOLO frase inferior COOKING al 90%
   ========================================================== */
body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
    width: 90% !important;
    max-width: 90% !important;
    margin: 40px auto !important;
}

@media (min-width: 769px) {
    body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
        width: 90% !important;
        max-width: 90% !important;
    }
}


/* ==========================================================
   v1.6.2 - SOLO frase inferior COOKING al 85%
   ========================================================== */
body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
    width: 85% !important;
    max-width: 85% !important;
    margin: 40px auto !important;
}

@media (min-width: 769px) {
    body.byc-active.byc-cooking-format .byc-cooking-benefits__phrase {
        width: 85% !important;
        max-width: 85% !important;
    }
}


/* ==========================================================
   v1.6.3 - Familia RITUALS
   Rituals tiene prioridad sobre PDF / VIDEO / AUDIO.
   Mantiene toda la estructura; únicamente usa LO QUE OBTENDRÁS
   en lugar del bloque especial de Cooking.
   ========================================================== */

body.byc-active.byc-rituals-format .byc-cooking-benefits {
    display: none !important;
}

body.byc-active.byc-rituals-format .byc-benefits--elegirnos {
    display: none !important;
}

body.byc-active.byc-rituals-format .byc-benefits--obtendras,
body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor {
    display: block !important;
}

/* Mantener el cierre de estructura: beneficios -> relacionados -> contacto */
body.byc-active.byc-rituals-format
.byc-pdf-video-benefits-anchor + .post-related-posts {
    margin-top: 0 !important;
}

body.byc-active.byc-rituals-format
.post-related-posts + .byc-pdf-contact-footer {
    margin-top: 0 !important;
    clear: both !important;
}



/* ==========================================================
   v1.4.9 - PDF + VIDEO: LO QUE OBTENDRÁS ocupa físicamente
   el lugar del bloque de autor de TheGem.
   ========================================================== */

body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor {
    display: block !important;
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 0 -50vw !important;
    padding: 0 !important;
    clear: both !important;
    float: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden !important;
}


/* Al ocupar el lugar del autor no debe heredar redondeos, padding o fondos TheGem. */
body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor,
body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor * {
    box-sizing: border-box !important;
}


/* Secuencia pegada con el bloque relacionado que viene después. */
body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor + .post-related-posts {
    margin-top: 0 !important;
    clear: both !important;
}


/* En este formato el encabezado debe seguir la referencia exacta. */
body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor .byc-benefits-heading {
    width: 100% !important;
    margin: 0 !important;
    padding: 30px 20px 29px !important;
    background: #668f91 !important;
}


body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor .byc-benefits-heading h2 {
    margin: 0 !important;
    color: #fff !important;
    font-family: 'Prata', Georgia, 'Times New Roman', serif !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-align: center !important;
}


/* Franja negra completa, sin separación extra alrededor. */
body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor .byc-benefit-grid {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #000 !important;
}

    body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor .byc-benefits-heading {
        padding: 26px 18px 25px !important;
    }


    body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor .byc-benefits-heading h2 {
        font-size: 25px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor .byc-benefits-heading {
        padding: 22px 16px 21px !important;
    }


    body.byc-active.byc-rituals-format .byc-pdf-video-benefits-anchor .byc-benefits-heading h2 {
        font-size: 22px !important;
    }





/* ==========================================================
   v1.5.1 - Ajuste final de legibilidad PDF + VIDEO
   ========================================================== */
body.byc-active.byc-rituals-format
.byc-pdf-video-benefits-anchor .byc-benefit-text {
    font-size: 14px !important;
    line-height: 1.38 !important;
}

    body.byc-active.byc-rituals-format
    .byc-pdf-video-benefits-anchor .byc-benefit-text {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }

    body.byc-active.byc-rituals-format
    .byc-pdf-video-benefits-anchor .byc-benefit-text {
        font-size: 13px !important;
        line-height: 1.42 !important;
    }


body.byc-active.byc-rituals-format .byc-related-custom {
    width: min(1080px, calc(100% - 112px)) !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 0 48px !important;
}


body.byc-active.byc-rituals-format .byc-related-viewport {
    width: 100% !important;
    overflow: hidden !important;
}


body.byc-active.byc-rituals-format .byc-related-track-custom {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
}


body.byc-active.byc-rituals-format .byc-related-card-custom {
    padding: 0 7px !important;
}


body.byc-active.byc-rituals-format .byc-related-image-link {
    width: 100% !important;
    aspect-ratio: 1.43 / 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #d7d7d7 !important;
}


body.byc-active.byc-rituals-format .byc-related-image-link img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}


body.byc-active.byc-rituals-format .byc-related-pill {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    width: 100% !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 8px 0 0 !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: #9dcecc !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-transform: none !important;
}


body.byc-active.byc-rituals-format .byc-related-arrow {
    top: 38% !important;
    width: 28px !important;
    height: 28px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 26px !important;
}

body.byc-active.byc-rituals-format .byc-related-arrow-prev { left: -38px !important; }

body.byc-active.byc-rituals-format .byc-related-arrow-next { right: -38px !important; }


body.byc-active.byc-rituals-format .byc-related-custom .byc-theme-related-more {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 126px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 30px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

    body.byc-active.byc-rituals-format .byc-related-custom {
        width: calc(100% - 88px) !important;
    }

    body.byc-active.byc-rituals-format .byc-related-arrow-prev { left: -34px !important; }

    body.byc-active.byc-rituals-format .byc-related-arrow-next { right: -34px !important; }

    body.byc-active.byc-rituals-format .byc-related-custom {
        width: calc(100% - 72px) !important;
        padding-bottom: 46px !important;
    }

    body.byc-active.byc-rituals-format .byc-related-card-custom { padding: 0 3px !important; }

    body.byc-active.byc-rituals-format .byc-related-arrow-prev { left: -29px !important; }

    body.byc-active.byc-rituals-format .byc-related-arrow-next { right: -29px !important; }


/* Títulos de relacionados: una sola línea + ... */
body.byc-active.byc-rituals-format .byc-related-pill {
    display: block !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 9px 12px 7px !important;
    font-size: 12.5px !important;
    line-height: 18px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
}


    body.byc-active.byc-rituals-format .byc-related-pill {
        font-size: 12px !important;
    }


    body.byc-active.byc-rituals-format .byc-related-pill {
        min-height: 36px !important;
        height: 36px !important;
        padding: 9px 11px !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }

/* ==========================================================
   v1.6.4 - RITUALS: mayor escala visual
   Solo amplía LO QUE OBTENDRÁS y CONTACTO/SOCIAL MEDIA.
   ========================================================== */

/* Título superior de LO QUE OBTENDRÁS */
body.byc-active.byc-rituals-format
.byc-pdf-video-benefits-anchor .byc-benefits-title,
body.byc-active.byc-rituals-format
.byc-benefits--obtendras .byc-benefits-title,
body.byc-active.byc-rituals-format
.byc-pdf-video-benefits-anchor .byc-benefits__title,
body.byc-active.byc-rituals-format
.byc-benefits--obtendras .byc-benefits__title {
    font-size: 28px !important;
    line-height: 1.2 !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

/* CONTACTO: más grande únicamente en RITUALS */
body.byc-active.byc-rituals-format .byc-pdf-contact-footer {
    padding-top: 54px !important;
    padding-bottom: 58px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__inner {
    max-width: 1100px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__badge {
    width: 205px !important;
    height: 54px !important;
    min-height: 54px !important;
    font-size: 24px !important;
    margin-bottom: 18px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__logo-wrap {
    margin-bottom: 30px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__logo {
    width: 145px !important;
    max-width: 145px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__columns {
    max-width: 820px !important;
    column-gap: 250px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__title {
    font-size: 20px !important;
    margin-bottom: 18px !important;
    padding-bottom: 14px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__title::after {
    width: 230px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__email {
    font-size: 14px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__social-icons {
    gap: 23px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__social-icon,
body.byc-active.byc-rituals-format .byc-pdf-contact-footer__social-icon img {
    width: 25px !important;
    height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
}

@media (max-width: 768px) {
    body.byc-active.byc-rituals-format
    .byc-pdf-video-benefits-anchor .byc-benefits-title,
    body.byc-active.byc-rituals-format
    .byc-benefits--obtendras .byc-benefits-title,
    body.byc-active.byc-rituals-format
    .byc-pdf-video-benefits-anchor .byc-benefits__title,
    body.byc-active.byc-rituals-format
    .byc-benefits--obtendras .byc-benefits__title {
        font-size: 24px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__columns {
        max-width: 650px !important;
        column-gap: 100px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__badge {
        width: 185px !important;
        height: 49px !important;
        min-height: 49px !important;
        font-size: 21px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__logo {
        width: 130px !important;
        max-width: 130px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__title {
        font-size: 18px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__email {
        font-size: 12px !important;
    }
}

@media (max-width: 560px) {
    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__columns {
        grid-template-columns: 1fr !important;
        max-width: 330px !important;
        gap: 34px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__title::after {
        width: 220px !important;
    }
}


/* ==========================================================
   v1.6.5 - RITUALS: título fluido + contacto ligeramente mayor
   ========================================================== */

/* LO QUE OBTENDRÁS: especificación exacta solicitada */
body.byc-active.byc-rituals-format
.byc-pdf-video-benefits-anchor .byc-benefits-title,
body.byc-active.byc-rituals-format
.byc-benefits--obtendras .byc-benefits-title,
body.byc-active.byc-rituals-format
.byc-pdf-video-benefits-anchor .byc-benefits__title,
body.byc-active.byc-rituals-format
.byc-benefits--obtendras .byc-benefits__title {
    font-size: clamp(25px, 2.5vw, 37px) !important;
    line-height: 1.15 !important;
}

/* CONTACTO / SOCIAL MEDIA: un poco más grande que v1.6.4 */
body.byc-active.byc-rituals-format .byc-pdf-contact-footer {
    padding-top: 60px !important;
    padding-bottom: 64px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__inner {
    max-width: 1180px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__badge {
    width: 225px !important;
    height: 60px !important;
    min-height: 60px !important;
    font-size: 27px !important;
    margin-bottom: 20px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__logo-wrap {
    margin-bottom: 34px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__logo {
    width: 160px !important;
    max-width: 160px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__columns {
    max-width: 900px !important;
    column-gap: 270px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__title {
    font-size: 22px !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__title::after {
    width: 250px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__email {
    font-size: 15px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__social-icons {
    gap: 25px !important;
}

body.byc-active.byc-rituals-format .byc-pdf-contact-footer__social-icon,
body.byc-active.byc-rituals-format .byc-pdf-contact-footer__social-icon img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
}

@media (max-width: 768px) {
    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__badge {
        width: 200px !important;
        height: 53px !important;
        min-height: 53px !important;
        font-size: 23px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__logo {
        width: 142px !important;
        max-width: 142px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__columns {
        max-width: 700px !important;
        column-gap: 110px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__title {
        font-size: 19px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__email {
        font-size: 13px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__social-icon,
    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__social-icon img {
        width: 25px !important;
        height: 25px !important;
        max-width: 25px !important;
        max-height: 25px !important;
    }
}

@media (max-width: 560px) {
    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__columns {
        grid-template-columns: 1fr !important;
        max-width: 350px !important;
        gap: 36px !important;
    }

    body.byc-active.byc-rituals-format .byc-pdf-contact-footer__title::after {
        width: 235px !important;
    }
}


/* ==========================================================
   v1.6.6 - WELLNESS: PROGRAM / FITNESS / MIND & SOUL
   ========================================================== */

/* Nunca mostrar Cooking ni LO QUE OBTENDRÁS dentro de Wellness */
body.byc-active.byc-wellness-format:not(.byc-cooking-format):not(.byc-rituals-format)
.byc-cooking-benefits,
body.byc-active.byc-wellness-format:not(.byc-cooking-format):not(.byc-rituals-format)
.byc-benefits--obtendras,
body.byc-active.byc-wellness-format:not(.byc-cooking-format):not(.byc-rituals-format)
.byc-pdf-video-benefits-anchor {
    display: none !important;
}

/* Contenedor ¿POR QUÉ ELEGIRNOS? */
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos,
body.byc-active.byc-wellness-format
.byc-wellness-benefits-anchor {
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
    background: #F6F4F1 !important;
    padding: 26px 32px 30px !important;
    text-align: center !important;
}

/* Título, compatible tanto con HTML PHP como fallback JS */
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos h2,
body.byc-active.byc-wellness-format
.byc-wellness-benefits__title {
    margin: 0 auto 20px !important;
    padding: 0 !important;
    color: #111 !important;
    font-family: "Prata", serif !important;
    font-size: clamp(25px, 2.5vw, 37px) !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
}

/* Si viene del renderer existente, reutilizar su grid como la franja negra */
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos .byc-benefit-grid,
body.byc-active.byc-wellness-format
.byc-wellness-benefits__band {
    width: min(100%, 1100px) !important;
    margin: 0 auto !important;
    padding: 22px 24px !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    background: #000 !important;
}

/* Ítems del renderer y del fallback */
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos .byc-benefit-item,
body.byc-active.byc-wellness-format
.byc-wellness-benefits__item {
    min-height: 88px !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.28 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

/* Ocultar iconos: la referencia de ¿POR QUÉ ELEGIRNOS? es solo texto */
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos .byc-benefit-icon,
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos .byc-benefit-builtin,
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos svg,
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos img {
    display: none !important;
}

/* Separadores verticales turquesa */
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos .byc-benefit-item + .byc-benefit-item,
body.byc-active.byc-wellness-format
.byc-wellness-benefits__item + .byc-wellness-benefits__item {
    border-left: 1px solid #8DBABB !important;
}

/* Continuidad con relacionados y contacto */
body.byc-active.byc-wellness-format
.byc-wellness-benefits-anchor + .post-related-posts,
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos + .post-related-posts {
    margin-top: 0 !important;
}

body.byc-active.byc-wellness-format
.post-related-posts + .byc-pdf-contact-footer {
    margin-top: 0 !important;
    clear: both !important;
}

/* Responsive */
@media (max-width: 900px) {
    body.byc-active.byc-wellness-format
    .byc-benefits--elegirnos .byc-benefit-grid,
    body.byc-active.byc-wellness-format
    .byc-wellness-benefits__band {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 760px !important;
    }

    body.byc-active.byc-wellness-format
    .byc-benefits--elegirnos .byc-benefit-item:nth-child(3),
    body.byc-active.byc-wellness-format
    .byc-wellness-benefits__item:nth-child(3) {
        border-left: 0 !important;
        border-top: 1px solid #8DBABB !important;
    }

    body.byc-active.byc-wellness-format
    .byc-benefits--elegirnos .byc-benefit-item:nth-child(4),
    body.byc-active.byc-wellness-format
    .byc-wellness-benefits__item:nth-child(4) {
        border-top: 1px solid #8DBABB !important;
    }
}

@media (max-width: 600px) {
    body.byc-active.byc-wellness-format
    .byc-benefits--elegirnos,
    body.byc-active.byc-wellness-format
    .byc-wellness-benefits-anchor {
        padding: 24px 16px 26px !important;
    }

    body.byc-active.byc-wellness-format
    .byc-benefits--elegirnos .byc-benefit-grid,
    body.byc-active.byc-wellness-format
    .byc-wellness-benefits__band {
        grid-template-columns: 1fr !important;
        max-width: 430px !important;
        padding: 14px 20px !important;
    }

    body.byc-active.byc-wellness-format
    .byc-benefits--elegirnos .byc-benefit-item,
    body.byc-active.byc-wellness-format
    .byc-wellness-benefits__item {
        min-height: auto !important;
        padding: 18px 12px !important;
        font-size: 13px !important;
    }

    body.byc-active.byc-wellness-format
    .byc-benefits--elegirnos .byc-benefit-item + .byc-benefit-item,
    body.byc-active.byc-wellness-format
    .byc-wellness-benefits__item + .byc-wellness-benefits__item {
        border-left: 0 !important;
        border-top: 1px solid #8DBABB !important;
    }
}

/* Carrusel Wellness: misma arquitectura aprobada */


body.byc-active.byc-wellness-format .byc-related-custom {
    width: min(1080px, calc(100% - 112px)) !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 0 48px !important;
}


body.byc-active.byc-wellness-format .byc-related-viewport {
    width: 100% !important;
    overflow: hidden !important;
}


body.byc-active.byc-wellness-format .byc-related-track-custom {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
}


body.byc-active.byc-wellness-format .byc-related-card-custom {
    padding: 0 7px !important;
}


body.byc-active.byc-wellness-format .byc-related-image-link {
    width: 100% !important;
    aspect-ratio: 1.43 / 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #d7d7d7 !important;
}


body.byc-active.byc-wellness-format .byc-related-image-link img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}


body.byc-active.byc-wellness-format .byc-related-pill {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    width: 100% !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 8px 0 0 !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: #9dcecc !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-transform: none !important;
}


body.byc-active.byc-wellness-format .byc-related-arrow {
    top: 38% !important;
    width: 28px !important;
    height: 28px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 26px !important;
}

body.byc-active.byc-wellness-format .byc-related-arrow-prev { left: -38px !important; }

body.byc-active.byc-wellness-format .byc-related-arrow-next { right: -38px !important; }


body.byc-active.byc-wellness-format .byc-related-custom .byc-theme-related-more {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 126px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 30px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

    body.byc-active.byc-wellness-format .byc-related-custom {
        width: calc(100% - 88px) !important;
    }

    body.byc-active.byc-wellness-format .byc-related-arrow-prev { left: -34px !important; }

    body.byc-active.byc-wellness-format .byc-related-arrow-next { right: -34px !important; }

    body.byc-active.byc-wellness-format .byc-related-custom {
        width: calc(100% - 72px) !important;
        padding-bottom: 46px !important;
    }

    body.byc-active.byc-wellness-format .byc-related-card-custom { padding: 0 3px !important; }

    body.byc-active.byc-wellness-format .byc-related-arrow-prev { left: -29px !important; }

    body.byc-active.byc-wellness-format .byc-related-arrow-next { right: -29px !important; }


/* Títulos de relacionados: una sola línea + ... */
body.byc-active.byc-wellness-format .byc-related-pill {
    display: block !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 9px 12px 7px !important;
    font-size: 12.5px !important;
    line-height: 18px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
}


    body.byc-active.byc-wellness-format .byc-related-pill {
        font-size: 12px !important;
    }


    body.byc-active.byc-wellness-format .byc-related-pill {
        min-height: 36px !important;
        height: 36px !important;
        padding: 9px 11px !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }

/* ==========================================================
   v1.6.7 - WELLNESS
   1) Franja negra ¿POR QUÉ ELEGIRNOS? a todo el ancho.
   2) CONTACTO / SOCIAL MEDIA recupera escala grande aprobada.
   ========================================================== */

/* La franja negra ocupa realmente todo el viewport */
body.byc-active.byc-wellness-format
.byc-wellness-benefits__band,
body.byc-active.byc-wellness-format
.byc-benefits--elegirnos .byc-benefit-grid {
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 26px max(32px, calc((100vw - 1200px) / 2)) !important;
    box-sizing: border-box !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    background: #000 !important;
}

/* CONTACTO / SOCIAL MEDIA: misma escala grande de las versiones aprobadas */
body.byc-active.byc-wellness-format .byc-pdf-contact-footer {
    padding: 60px 30px 64px !important;
}

body.byc-active.byc-wellness-format .byc-pdf-contact-footer__inner {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
}

body.byc-active.byc-wellness-format .byc-pdf-contact-footer__badge {
    width: 225px !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 18px !important;
    margin: 0 auto 20px !important;
    font-size: 27px !important;
}

body.byc-active.byc-wellness-format .byc-pdf-contact-footer__logo-wrap {
    margin: 0 auto 34px !important;
}

body.byc-active.byc-wellness-format .byc-pdf-contact-footer__logo {
    width: 160px !important;
    max-width: 160px !important;
}

body.byc-active.byc-wellness-format .byc-pdf-contact-footer__columns {
    width: 100% !important;
    max-width: 900px !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 270px !important;
    margin: 0 auto !important;
}

body.byc-active.byc-wellness-format .byc-pdf-contact-footer__title {
    font-size: 22px !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
}

body.byc-active.byc-wellness-format .byc-pdf-contact-footer__title::after {
    width: 250px !important;
}

body.byc-active.byc-wellness-format .byc-pdf-contact-footer__email {
    font-size: 15px !important;
}

body.byc-active.byc-wellness-format .byc-pdf-contact-footer__social-icons {
    gap: 25px !important;
}

body.byc-active.byc-wellness-format .byc-pdf-contact-footer__social-icon,
body.byc-active.byc-wellness-format .byc-pdf-contact-footer__social-icon img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
}

/* Tablet: la franja sigue fullwidth pero reorganiza los 4 textos */
@media (max-width: 900px) {
    body.byc-active.byc-wellness-format
    .byc-wellness-benefits__band,
    body.byc-active.byc-wellness-format
    .byc-benefits--elegirnos .byc-benefit-grid {
        width: 100vw !important;
        max-width: none !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 24px 34px !important;
    }
}

@media (max-width: 768px) {
    body.byc-active.byc-wellness-format .byc-pdf-contact-footer__badge {
        width: 200px !important;
        height: 53px !important;
        min-height: 53px !important;
        font-size: 23px !important;
    }

    body.byc-active.byc-wellness-format .byc-pdf-contact-footer__logo {
        width: 142px !important;
        max-width: 142px !important;
    }

    body.byc-active.byc-wellness-format .byc-pdf-contact-footer__columns {
        max-width: 700px !important;
        column-gap: 110px !important;
    }

    body.byc-active.byc-wellness-format .byc-pdf-contact-footer__title {
        font-size: 19px !important;
    }

    body.byc-active.byc-wellness-format .byc-pdf-contact-footer__email {
        font-size: 13px !important;
    }

    body.byc-active.byc-wellness-format .byc-pdf-contact-footer__social-icon,
    body.byc-active.byc-wellness-format .byc-pdf-contact-footer__social-icon img {
        width: 25px !important;
        height: 25px !important;
        max-width: 25px !important;
        max-height: 25px !important;
    }
}

@media (max-width: 600px) {
    body.byc-active.byc-wellness-format
    .byc-wellness-benefits__band,
    body.byc-active.byc-wellness-format
    .byc-benefits--elegirnos .byc-benefit-grid {
        width: 100vw !important;
        max-width: none !important;
        grid-template-columns: 1fr !important;
        padding: 14px 24px !important;
    }
}

@media (max-width: 560px) {
    body.byc-active.byc-wellness-format .byc-pdf-contact-footer__columns {
        grid-template-columns: 1fr !important;
        max-width: 350px !important;
        gap: 36px !important;
    }

    body.byc-active.byc-wellness-format .byc-pdf-contact-footer__title::after {
        width: 235px !important;
    }
}


/* ==========================================================
   v2.0.0 - BLOQUES ADMINISTRABLES
   ========================================================== */
body.byc-active .byc-managed-block {
    background: var(--byc-block-section, #F6F4F1) !important;
    box-sizing: border-box !important;
}

body.byc-active .byc-managed-block.byc-managed-width-full {
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

body.byc-active .byc-managed-block.byc-managed-width-container {
    width: min(100%, var(--byc-max, 1200px)) !important;
    max-width: var(--byc-max, 1200px) !important;
    left: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.byc-active .byc-managed-block .byc-benefits-heading,
body.byc-active .byc-managed-block .byc-wellness-benefits__title {
    background: var(--byc-block-title-bg, #fff) !important;
}

body.byc-active .byc-managed-block .byc-benefits-heading h2,
body.byc-active .byc-managed-block .byc-wellness-benefits__title,
body.byc-active .byc-managed-block .byc-cooking-benefits__title {
    color: var(--byc-block-title, #111) !important;
}

body.byc-active .byc-managed-block .byc-benefit-grid,
body.byc-active .byc-managed-block .byc-wellness-benefits__band,
body.byc-active .byc-managed-block .byc-cooking-benefits__band {
    background: var(--byc-block-band, #000) !important;
}

body.byc-active .byc-managed-block .byc-benefit-text,
body.byc-active .byc-managed-block .byc-wellness-benefits__item,
body.byc-active .byc-managed-block .byc-cooking-benefits__item {
    color: var(--byc-block-text, #fff) !important;
}

body.byc-active .byc-managed-block .byc-benefit-item + .byc-benefit-item,
body.byc-active .byc-managed-block .byc-wellness-benefits__item + .byc-wellness-benefits__item,
body.byc-active .byc-managed-block .byc-cooking-benefits__item + .byc-cooking-benefits__item {
    border-color: var(--byc-block-separator, #8DBABB) !important;
}

body.byc-active .byc-managed-block .byc-managed-phrase,
body.byc-active .byc-managed-block .byc-cooking-benefits__phrase {
    color: var(--byc-block-phrase, #81727F) !important;
}

body.byc-active .byc-managed-block .byc-benefit-item img,
body.byc-active .byc-managed-block .byc-wellness-benefits__item img,
body.byc-active .byc-managed-block .byc-cooking-benefits__item img {
    display: block !important;
    width: 54px !important;
    height: 54px !important;
    object-fit: contain !important;
    margin: 0 auto 10px !important;
}

body.byc-active .byc-managed-phrase {
    width: 85% !important;
    max-width: 85% !important;
    margin: 40px auto !important;
    text-align: center !important;
    font-family: "Petit Formal Script", Sans-serif !important;
    font-size: 35px !important;
    line-height: 1.08 !important;
}
