/**
 * CSS Base - Reset Global
 * Remove qualquer CSS residual de temas anteriores
 *
 * @package Tarifário 3BTOUR
 * @author Chagas Web
 */

/* Prevenir overflow horizontal */
html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* Reset global de containers */
.site-content,
#content,
#primary,
main {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Container padrão centralizado */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Hero sections full-width */
.hero-section,
.destino-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Hero editorial usa approach diferente (definido em home-editorial.css) */

/* Garantir que main ocupe espaço correto */
.site-main {
  min-height: 50vh;
}

/* Reset para home page - full width */
body.home .site-content,
body.home #content,
body.home #primary,
body.home main.site-main {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Reset para taxonomias (destinos) */
body.tax-destino .site-content,
body.tax-destino #content,
body.tax-destino #primary,
body.tax-destino main.site-main,
body.tax-destino .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Reset para single programa */
body.single-programa .site-content,
body.single-programa #content,
body.single-programa #primary {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Reset para archive programa */
body.post-type-archive-programa .site-content,
body.post-type-archive-programa #content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Garantir visibilidade do conteúdo */
.site-content {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
