/* Página 1008 (Customer Experience): reproduz regras do js_composer 4.12 + LARX que o markup em blocos não traz */
body.page-id-1008 #th_onepage_wrapper .wp-block-group > *,
body.page-id-1008 #th_onepage_wrapper .wp-block-group { margin-block-start:0; margin-block-end:0; }
body.page-id-1008 #th_onepage_wrapper p { margin:0; }
body.page-id-1008 #th_onepage_wrapper .wp-block-spacer { margin:0; }
body.page-id-1008 #th_onepage_wrapper .wpb_content_element { margin-bottom:35px; text-align:left; }
body.page-id-1008 #th_onepage_wrapper .wpb_content_element h4 { font-family:"Open Sans",sans-serif; font-size:18px; font-weight:500; line-height:19.8px; color:#4c4c4c; margin:10px 0 0; }
body.page-id-1008 #th_onepage_wrapper .el-intro p { font-weight:400; }
/* botões vc_btn3 grey/modern/square/md */
body.page-id-1008 #th_onepage_wrapper .el-btn { display:flex; margin-bottom:21.74px; gap:0; }
body.page-id-1008 #th_onepage_wrapper .el-btn-left { justify-content:flex-start; }
body.page-id-1008 #th_onepage_wrapper .el-btn-center { justify-content:center; }
body.page-id-1008 #th_onepage_wrapper .el-btn .wp-block-button { margin:0; }
body.page-id-1008 #th_onepage_wrapper .el-btn .wp-block-button__link {
  display:inline-block; font-family:"Open Sans",sans-serif; font-size:14px; font-weight:300; line-height:normal;
  padding:14px 20px; border:1px solid transparent; border-radius:0; color:#666; background-color:#ebebeb; border-color:#ebebeb;
  background-image:linear-gradient(to bottom,rgba(255,255,255,.2) 0,rgba(255,255,255,.01) 100%); text-decoration:none; text-transform:none; letter-spacing:normal; box-shadow:none; }
body.page-id-1008 #th_onepage_wrapper .el-btn .wp-block-button__link:hover { color:#5e5e5e; background-color:#dcdcdc; border-color:#dcdcdc; }
body.page-id-1008 #th_onepage_wrapper .el-eye .wp-block-button__link { position:relative; padding-left:48px; }
body.page-id-1008 #th_onepage_wrapper .el-eye .wp-block-button__link::before { content:"\f06e"; font-family:FontAwesome; font-size:16px; line-height:14px; position:absolute; left:21px; top:16.5px; }
/* Speaker Deck */
body.page-id-1008 #th_onepage_wrapper .el-deck { margin-bottom:40px; }
body.page-id-1008 #th_onepage_wrapper .el-deck figure { margin:0; }
body.page-id-1008 #th_onepage_wrapper .el-deck iframe { display:block; width:100% !important; height:312px !important; border:0; margin:0; padding:0; background:padding-box rgba(0,0,0,.1); border-radius:6px; box-shadow:rgba(0,0,0,.2) 0 5px 40px; }
/* CTA vc_cta3 flat peacoc */
body.page-id-1008 #th_onepage_wrapper .vc_cta3-container { margin-bottom:35px; }
body.page-id-1008 #th_onepage_wrapper .el-cta { background-color:#4cadc9; color:#d0edf5; padding:28px; border:1px solid transparent; text-align:center; }
body.page-id-1008 #th_onepage_wrapper .el-cta h2 { font-family:"Open Sans",sans-serif; font-size:30px; font-weight:500; line-height:33px; letter-spacing:normal; text-transform:none; color:#fff; margin:0 0 10px; }
body.page-id-1008 #th_onepage_wrapper .el-cta p { color:#d0edf5; }

/* ===== Rodada 3: telas menores (o 1440 acima não muda) ===== */
/* .container aninhado do LARX (750/970px) transborda 6px como no tema antigo: corta só o excesso invisível */
@media (min-width:768px) and (max-width:1199px){
  body.page-id-1008 #th_onepage_wrapper .el-sec{overflow:clip;overflow-clip-margin:9px}
}
/* o embed.js do Speaker Deck dá ao iframe altura = round(largura/1,7778) */
@media (min-width:992px) and (max-width:1199px){
  body.page-id-1008 #th_onepage_wrapper .el-deck iframe{height:256px!important}
}
@media (min-width:768px) and (max-width:991px){
  body.page-id-1008 #th_onepage_wrapper .el-deck iframe{height:194px!important}
}
@media (max-width:767px){
  body.page-id-1008 #th_onepage_wrapper .el-deck iframe{height:calc((100vw - 60px) * 186 / 330)!important}
  /* colunas empilhadas: o tema dá 20px abaixo de cada .about-caption */
  body.page-id-1008 #th_onepage_wrapper .about-caption{margin-bottom:20px}
}
