/* The clean mode hides YouTube controls, never the thumbnail that loads a video. */
.pbhost-youtube h2.pbhost-youtube__section-title{margin:0 0 22px;font-size:1.4rem;line-height:1.2;font-weight:700;display:flex;align-items:center;justify-content:flex-start;gap:20px;color:inherit}
.pbhost-youtube__section-title:before,.pbhost-youtube__section-title:after{content:"";display:block;height:1px;flex:1 1 auto;background:#dfe4e8}
.pbhost-youtube__section-title:before{display:none}
.pbhost-youtube__section-title span{display:block;flex:0 0 auto}
.pbhost-youtube__section-title{--pbhost-youtube-title-line-color:#dfe4e8;--pbhost-youtube-title-line-detail:transparent}
.pbhost-youtube__section-title:before,.pbhost-youtube__section-title:after{background:var(--pbhost-youtube-title-line-color);box-shadow:0 1px 0 var(--pbhost-youtube-title-line-detail)}
.pbhost-youtube-title-lines-sides .pbhost-youtube__section-title:before{display:block}
.pbhost-youtube-title-lines-left .pbhost-youtube__section-title:before{display:block}.pbhost-youtube-title-lines-left .pbhost-youtube__section-title:after{display:none}
.pbhost-youtube-title-lines-none .pbhost-youtube__section-title:before,.pbhost-youtube-title-lines-none .pbhost-youtube__section-title:after{display:none}
.pbhost-youtube-title-lines-top .pbhost-youtube__section-title,.pbhost-youtube-title-lines-bottom .pbhost-youtube__section-title,.pbhost-youtube-title-lines-top-bottom .pbhost-youtube__section-title{display:grid!important;gap:9px!important;grid-template-columns:minmax(0,1fr);justify-content:stretch!important}
.pbhost-youtube-title-lines-top .pbhost-youtube__section-title:before,.pbhost-youtube-title-lines-bottom .pbhost-youtube__section-title:after,.pbhost-youtube-title-lines-top-bottom .pbhost-youtube__section-title:before,.pbhost-youtube-title-lines-top-bottom .pbhost-youtube__section-title:after{display:block!important;grid-column:1;width:100%}
.pbhost-youtube-title-lines-top .pbhost-youtube__section-title:before,.pbhost-youtube-title-lines-top-bottom .pbhost-youtube__section-title:before{grid-row:1}
.pbhost-youtube-title-lines-top .pbhost-youtube__section-title span,.pbhost-youtube-title-lines-top-bottom .pbhost-youtube__section-title span{grid-column:1;grid-row:2}
.pbhost-youtube-title-lines-top .pbhost-youtube__section-title:after,.pbhost-youtube-title-lines-bottom .pbhost-youtube__section-title:before{display:none!important}
.pbhost-youtube-title-lines-bottom .pbhost-youtube__section-title span{grid-column:1;grid-row:1}
.pbhost-youtube-title-lines-bottom .pbhost-youtube__section-title:after{grid-row:2}
.pbhost-youtube-title-lines-top-bottom .pbhost-youtube__section-title:after{grid-row:3}
.pbhost-youtube-title-lines-top .pbhost-youtube__section-title span,.pbhost-youtube-title-lines-bottom .pbhost-youtube__section-title span,.pbhost-youtube-title-lines-top-bottom .pbhost-youtube__section-title span{display:block!important;max-width:100%!important;text-align:left!important}
/* O título do YouTube já começa na mesma régua do título de notícias. O
 * espaço extra necessário existe somente entre a linha e a mídia, porque a
 * seção de notícias mantém esse respiro antes das imagens. */
.pbhost-youtube-elementor{padding-top:0!important}
.pbhost-youtube-elementor .pbhost-youtube{margin:0!important}
.pbhost-youtube-elementor .pbhost-youtube__featured,.pbhost-youtube-elementor .pbhost-youtube__list,.pbhost-youtube-elementor .pbhost-youtube__live{margin-top:0!important;padding-top:18px!important}
.pbhost-youtube--clean .pbhost-youtube__thumbnail{display:block!important}
.pbhost-youtube__player iframe{z-index:1}.pbhost-youtube__thumbnail{z-index:2}.pbhost-youtube__fullscreen{display:block!important;z-index:3!important;right:9px!important;bottom:9px!important}.pbhost-youtube__player.is-loading .pbhost-youtube__thumbnail-play{animation:pbhost-youtube-loading .8s ease-in-out infinite}@keyframes pbhost-youtube-loading{50%{transform:translate(-50%,-50%) scale(.88);opacity:.72}}

/* Grades configuráveis: 2, 3 ou 4 vídeos lado a lado em desktop. */
.pbhost-youtube--grid-2 .pbhost-youtube__list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px}
.pbhost-youtube--grid-3 .pbhost-youtube__list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px}
.pbhost-youtube--grid-4 .pbhost-youtube__list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px}
@media(max-width:760px){.pbhost-youtube--grid-3 .pbhost-youtube__list,.pbhost-youtube--grid-4 .pbhost-youtube__list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.pbhost-youtube--grid-2 .pbhost-youtube__list,.pbhost-youtube--grid-3 .pbhost-youtube__list,.pbhost-youtube--grid-4 .pbhost-youtube__list{grid-template-columns:1fr!important}}

/* Carrossel exclusivo das grades de 2, 3 e 4 vídeos. */
.pbhost-youtube__carousel{display:block;position:relative}
.pbhost-youtube__carousel-viewport{overflow:hidden}
.pbhost-youtube__carousel-track{display:flex;gap:14px;transition:transform .32s ease}
.pbhost-youtube__carousel-track .pbhost-youtube__card{flex:0 0 100%;min-width:0}
.pbhost-youtube__carousel-track--2 .pbhost-youtube__card{flex-basis:calc((100% - 14px)/2)}
.pbhost-youtube__carousel-track--3 .pbhost-youtube__card{flex-basis:calc((100% - 28px)/3)}
.pbhost-youtube__carousel-track--4 .pbhost-youtube__card{flex-basis:calc((100% - 42px)/4)}
.pbhost-youtube__carousel-button{position:absolute;top:50%;z-index:2;width:34px;height:34px;border:0;border-radius:50%;background:#172033;color:#fff;cursor:pointer;font:400 28px/30px Arial,sans-serif;transform:translateY(-50%)}
.pbhost-youtube__carousel-button.is-previous{left:-44px}.pbhost-youtube__carousel-button.is-next{right:-44px}
.pbhost-youtube__carousel-button:hover:not(:disabled),.pbhost-youtube__carousel-button:focus-visible{background:#d21f16}
.pbhost-youtube__carousel-button:disabled{visibility:hidden}
@media(max-width:760px){.pbhost-youtube__carousel-track--3 .pbhost-youtube__card,.pbhost-youtube__carousel-track--4 .pbhost-youtube__card{flex-basis:calc((100% - 14px)/2)}}
@media(max-width:600px){.pbhost-youtube__carousel-button{width:28px;height:28px;font-size:24px;line-height:24px}.pbhost-youtube__carousel-button.is-previous{left:8px}.pbhost-youtube__carousel-button.is-next{right:8px}.pbhost-youtube__carousel-track--2 .pbhost-youtube__card,.pbhost-youtube__carousel-track--3 .pbhost-youtube__card,.pbhost-youtube__carousel-track--4 .pbhost-youtube__card{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.pbhost-youtube__carousel-track{transition:none}}
