/* Bonança TCMS 1.3.9 | ajustes cumulativos de layout.
   Este arquivo carrega DEPOIS dos CSS do site. Não substitui os arquivos existentes. */

/* Banners de curso: links vazados, como os da Home. */
.page-hero .hero-content .hero-actions {
 display:flex!important; justify-content:center!important; align-items:center!important;
 flex-wrap:wrap!important; gap:12px!important; margin:28px auto 0!important;
}
.page-hero .hero-content .hero-actions a.btn,
.page-hero .hero-content .hero-actions a.btn.btn-light {
 display:inline-flex!important; width:auto!important; max-width:100%!important;
 flex:0 1 auto!important; min-width:0!important; min-height:0!important;
 background:rgba(0,0,0,.20)!important; color:#fff!important;
 border:1px solid rgba(255,255,255,.9)!important; border-radius:2px!important;
 padding:12px 18px!important; font:700 12px/1.45 Arial,sans-serif!important;
 letter-spacing:.015em!important; text-align:center!important;
 text-transform:uppercase!important; text-decoration:none!important; box-shadow:none!important;
}
.page-hero .hero-content .hero-actions a.btn:hover,
.page-hero .hero-content .hero-actions a.btn:focus-visible {
 background:#fff!important; color:#24211e!important;
}

/* Fotos destacadas dos cursos: ocupa toda a largura útil da tela no desktop. */
.page-gallery-section {
 display:block!important; width:100%!important; max-width:none!important;
 padding:12px 0 24px!important; margin:0!important; background:#fff!important;
}
.page-gallery-section > .container {
 width:calc(100% - 24px)!important; max-width:1906px!important;
 margin-inline:auto!important; padding:0!important;
}
.page-gallery-section .page-gallery-strip {
 display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important;
 width:100%!important; max-width:none!important; gap:14px!important;
}
.page-gallery-section .page-gallery-card {width:100%!important;max-width:none!important;min-width:0!important;overflow:hidden!important}
.page-gallery-section .page-gallery-card img {
 display:block!important; width:100%!important; height:auto!important; max-width:none!important;
 aspect-ratio:1/1!important; object-fit:cover!important;
}

/* Cabresto: um vídeo por coluna, três na mesma linha no computador. */
section#videos.dark-section > .container {
 width:calc(100% - 24px)!important; max-width:1906px!important; margin-inline:auto!important;
}
section#videos .videos-grid.original-video-grid {
 display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important;
 width:100%!important; gap:14px!important; align-items:start!important;
}
section#videos .original-video-grid > .video-card {
 display:block!important; width:100%!important; max-width:none!important; min-width:0!important;
}
section#videos .original-video-grid .video-frame {
 display:block!important; width:100%!important; aspect-ratio:16/9!important; overflow:hidden!important;
}
section#videos .original-video-grid iframe {display:block!important; width:100%!important; height:100%!important; border:0!important}

/* Home: mantém seis players, duas linhas de três colunas. */
.home-video-list {padding:16px 0 55px!important; background:#fff}
.home-video-list .home-video-row {
 display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important;
 width:calc(100% - 24px)!important; max-width:1906px!important;
 gap:14px!important; margin:0 auto!important;
}
.home-video-list .home-video-row > .video-card {width:100%!important;max-width:none!important;min-width:0!important}
.home-video-list .home-video-row .video-frame {width:100%!important;aspect-ratio:16/9!important}
.home-video-list .home-video-row iframe {display:block!important;width:100%!important;height:100%!important}
.home-video-list .home-cabresto-link {text-align:center!important;margin:24px auto!important}

/* Distância entre vídeo/banner e arte da Certificação na Home. */
.home-hero + .home-cert {padding:75px 0 40px!important;margin-top:0!important}
.home-cert .container {display:flex;justify-content:center}
.home-cert a {display:block;max-width:min(720px,100%)}
.home-cert img {display:block;width:100%;height:auto;object-fit:contain}
/* Distância entre últimos players e logotipo da apresentação. */
.home-video-list + .section {padding-top:105px!important}

@media(max-width:900px) and (min-width:641px){
 .page-gallery-section .page-gallery-strip,
 section#videos .videos-grid.original-video-grid,
 .home-video-list .home-video-row {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .home-hero + .home-cert {padding-top:50px!important}
}
@media(max-width:640px){
 .page-gallery-section > .container,
 section#videos.dark-section > .container,
 .home-video-list .home-video-row {width:calc(100% - 20px)!important}
 .page-gallery-section .page-gallery-strip,
 section#videos .videos-grid.original-video-grid,
 .home-video-list .home-video-row {grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .page-hero .hero-content .hero-actions {gap:9px!important;margin-top:18px!important}
 .page-hero .hero-content .hero-actions a.btn {font-size:11px!important;padding:10px 13px!important}
 .home-hero + .home-cert {padding:42px 0 26px!important}
 .home-video-list + .section {padding-top:65px!important}
}
