.as360-team-section,
.as360-team-section *,
.as360-speakers-list,
.as360-speakers-list * {
  box-sizing: border-box;
}

.as360-team-section {
  display: block !important;
  position: relative !important;
  float: none !important;
  clear: both !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  --as360-green-dark: #001f12;
  --as360-green: #063b27;
  --as360-green-soft: #0b3b27;
  --as360-gold: #D9A441;
  --as360-gold-light: #D9A441;
  --as360-text: #111111;
  --as360-muted: #363636;
  --as360-card-width: 270px;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 164, 65, .10), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(217, 164, 65, .08), transparent 32%),
    linear-gradient(135deg, #063b27 0%, #001f12 55%, #00170d 100%);
  padding: 80px 24px;
  font-family: inherit;
  width: 100%;
}

.as360-team-section--no-bg {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}


.as360-speakers-list {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: 1480px !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  clear: none !important;
  --as360-green-dark: #001f12;
  --as360-green: #063b27;
  --as360-green-soft: #0b3b27;
  --as360-gold: #D9A441;
  --as360-gold-light: #D9A441;
  --as360-text: #111111;
  --as360-muted: #363636;
  --as360-card-width: 270px;
}

.as360-speakers-list .as360-team-filters {
  margin-top: 0 !important;
}

.as360-team-container {
  display: block !important;
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  max-width: 1480px;
  margin: 0 auto;
}

.as360-team-header {
  text-align: center;
  margin: 0 auto 34px;
  max-width: 930px;
}

.as360-team-kicker {
  display: inline-block;
  color: var(--as360-header-kicker-color, #D9A441);
  font-family: var(--as360-header-font-family, "Bree Serif"), Georgia, serif;
  font-size: var(--as360-header-kicker-size, 20px);
  line-height: 1.15;
  font-weight: var(--as360-header-kicker-weight, 400);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.as360-team-header h2 {
  color: var(--as360-header-title-color, #FFFFFF);
  font-family: var(--as360-header-font-family, "Bree Serif"), Georgia, serif;
  font-size: var(--as360-header-title-size, 40px);
  line-height: 1.1;
  font-weight: var(--as360-header-title-weight, 300);
  margin: 0 0 14px;
  text-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.as360-team-header p {
  color: var(--as360-header-subtitle-color, #FFFFFF);
  font-family: var(--as360-header-font-family, "Bree Serif"), Georgia, serif;
  font-size: var(--as360-header-subtitle-size, 20px);
  line-height: 1.45;
  font-weight: var(--as360-header-subtitle-weight, 400);
  margin: 0;
}

.as360-team-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 42px;
}

.as360-team-filter {
  appearance: none;
  border: 1px solid rgba(217, 164, 65, .68);
  background: rgba(0, 31, 18, .22);
  color: #ffffff;
  padding: 11px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.as360-team-filter:hover,
.as360-team-filter.is-active {
  background: linear-gradient(135deg, var(--as360-gold), var(--as360-gold-light));
  color: #071c10;
  border-color: transparent;
  box-shadow: 0 12px 25px rgba(217, 164, 65, .24);
  transform: translateY(-2px);
}

.as360-team-grid {
  display: grid;
  grid-template-columns: repeat(5, var(--as360-card-width));
  gap: 26px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.as360-team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid var(--as360-gold);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
  transition: transform .24s ease, box-shadow .24s ease, opacity .18s ease;
  min-width: 0;
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.as360-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .30);
}

.as360-team-card.is-hidden {
  display: none;
}

.as360-team-photo-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(216,174,85,.24), transparent 42%),
    linear-gradient(135deg, #0b3b27 0%, #001f12 100%);
  border-bottom: 1px solid rgba(217, 164, 65, .45);
}

.as360-team-photo {
  display: block;
  width: 100%;
  height: 318px;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: auto;
}

.as360-team-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  min-height: 250px;
  font-weight: 900;
  letter-spacing: 1px;
}

.as360-team-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
  padding: 22px 22px 20px;
}

.as360-team-card-category {
  display: inline-flex;
  align-self: center;
  justify-content: center;
  color: #b8862e;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .55px;
  margin-bottom: 8px;
}

.as360-team-card h3 {
  color: var(--as360-text);
  font-size: 19px;
  line-height: 1.12;
  font-weight: 900;
  margin: 0 0 7px;
}

.as360-team-card h4 {
  color: var(--as360-text);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 10px;
}

.as360-team-card p {
  color: var(--as360-muted);
  font-size: 13.5px;
  line-height: 1.52;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.as360-team-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.as360-team-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--as360-gold), var(--as360-gold-light));
  border: 1px solid #0d1c11;
  color: #071c10;
  text-decoration: none !important;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 6px 12px rgba(0,0,0,.18);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.as360-team-social-link svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.as360-team-social-link:hover {
  transform: translateY(-2px);
  background: #001f12;
  color: var(--as360-gold-light);
}

.as360-team-empty {
  grid-column: 1 / -1;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(217, 164, 65, .55);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  color: #001f12;
}

@media (max-width: 1500px) {
  .as360-team-section,
  .as360-speakers-list {
    --as360-card-width: 258px;
  }
}

@media (max-width: 1300px) {
  .as360-team-grid {
    grid-template-columns: repeat(4, var(--as360-card-width));
  }
}

@media (max-width: 1024px) {
  .as360-team-section {
    padding: 68px 20px;
  }

  .as360-speakers-list {
    padding: 0 !important;
  }

  .as360-team-section--no-bg {
    padding: 0;
  }

  .as360-team-section,
  .as360-speakers-list {
    --as360-card-width: 260px;
  }

  .as360-team-grid {
    grid-template-columns: repeat(3, var(--as360-card-width));
  }

  .as360-team-photo {
    height: 305px;
  }
}

@media (max-width: 767px) {
  .as360-team-section,
  .as360-speakers-list {
    --as360-card-width: min(270px, calc((100vw - 58px) / 2));
  }

  .as360-team-grid {
    grid-template-columns: repeat(2, var(--as360-card-width));
    gap: 18px;
  }

  .as360-team-photo {
    height: 300px;
  }


  .as360-team-filter {
    padding: 10px 14px;
    font-size: 12px;
  }

  .as360-team-card-body {
    padding: 20px 16px 20px;
  }

  .as360-team-card h3 {
    font-size: 18px;
  }

  .as360-team-card h4,
  .as360-team-card p {
    font-size: 13.5px;
  }
}

@media (max-width: 560px) {
  .as360-team-section,
  .as360-speakers-list {
    --as360-card-width: min(330px, 100%);
  }

  .as360-team-grid {
    grid-template-columns: var(--as360-card-width);
  }

  .as360-team-photo {
    height: 360px;
  }

  .as360-team-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .as360-team-filter {
    flex: 0 0 auto;
  }
}


/* v1.2.2: evita que o shortcode herde altura/min-height de sections/containers do tema ou do Elementor */
.elementor-widget-shortcode .as360-team-section,
.elementor-widget-html .as360-team-section,
.elementor-widget-container .as360-team-section {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.elementor-widget-shortcode .as360-team-section--no-bg,
.elementor-widget-html .as360-team-section--no-bg,
.elementor-widget-container .as360-team-section--no-bg {
  background: transparent !important;
}

.elementor-widget-shortcode:has(.as360-team-section),
.elementor-widget-html:has(.as360-team-section) {
  min-height: 0 !important;
  height: auto !important;
}

.as360-team-section::before,
.as360-team-section::after {
  content: none !important;
}


/* v1.2.3: modo simples/bare. O shortcode/widget padrão não cria mais uma área/section gigante. */
.elementor-widget-shortcode .as360-speakers-list,
.elementor-widget-html .as360-speakers-list,
.elementor-widget-container .as360-speakers-list,
.elementor-shortcode .as360-speakers-list {
  display: block !important;
  width: 100% !important;
  max-width: 1480px !important;
  min-height: 0 !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.as360-speakers-list::before,
.as360-speakers-list::after {
  content: none !important;
  display: none !important;
}

/* v1.2.4: bloco único para Elementor/BeTheme. Título + filtros + cards ficam dentro do mesmo widget. */
.elementor-widget-as360_equipe_categorias,
.elementor-widget-as360_equipe_categorias > .elementor-widget-container,
.elementor-widget-shortcode .elementor-widget-container:has(.as360-palestrantes-block),
.elementor-widget-html .elementor-widget-container:has(.as360-palestrantes-block) {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  align-self: auto !important;
  flex: 0 1 auto !important;
  overflow: visible !important;
}

.as360-palestrantes-block,
.as360-palestrantes-block * {
  box-sizing: border-box;
}

.as360-palestrantes-block {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  clear: none !important;
  float: none !important;
  transform: none !important;
  --as360-green-dark: #001f12;
  --as360-green: #063b27;
  --as360-green-soft: #0b3b27;
  --as360-gold: #D9A441;
  --as360-gold-light: #D9A441;
  --as360-text: #111111;
  --as360-muted: #363636;
  --as360-card-width: 270px;
}

.as360-palestrantes-block::before,
.as360-palestrantes-block::after {
  content: none !important;
  display: none !important;
}

.as360-palestrantes-block--with-bg {
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 164, 65, .10), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(217, 164, 65, .08), transparent 32%),
    linear-gradient(135deg, #063b27 0%, #001f12 55%, #00170d 100%) !important;
  padding: 80px 24px !important;
}

.as360-palestrantes-inner {
  display: block !important;
  width: 100% !important;
  max-width: 1480px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.as360-palestrantes-header {
  display: block !important;
  width: 100% !important;
  max-width: 1120px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 auto 36px !important;
  padding: 0 !important;
  text-align: center !important;
  background: transparent !important;
}

.as360-palestrantes-kicker {
  display: inline-block !important;
  color: var(--as360-header-kicker-color, #D9A441) !important;
  font-family: var(--as360-header-font-family, "Bree Serif"), Georgia, serif !important;
  font-size: var(--as360-header-kicker-size, 20px) !important;
  line-height: 1.15 !important;
  font-weight: var(--as360-header-kicker-weight, 400) !important;
  letter-spacing: 1.7px !important;
  text-transform: uppercase !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.as360-palestrantes-header h2 {
  color: var(--as360-header-title-color, #FFFFFF) !important;
  font-family: var(--as360-header-font-family, "Bree Serif"), Georgia, serif !important;
  font-size: var(--as360-header-title-size, 40px) !important;
  line-height: 1.1 !important;
  font-weight: var(--as360-header-title-weight, 300) !important;
  letter-spacing: -.8px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  text-transform: none !important;
  text-shadow: 0 12px 28px rgba(0,0,0,.22) !important;
}

.as360-palestrantes-header p {
  color: var(--as360-header-subtitle-color, #FFFFFF) !important;
  font-family: var(--as360-header-font-family, "Bree Serif"), Georgia, serif !important;
  font-size: var(--as360-header-subtitle-size, 20px) !important;
  line-height: 1.45 !important;
  font-weight: var(--as360-header-subtitle-weight, 400) !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.as360-palestrantes-block .as360-team-filters {
  margin: 0 auto 38px !important;
}

.as360-palestrantes-block .as360-team-grid {
  margin: 0 auto !important;
}

@media (max-width: 767px) {
  .as360-palestrantes-block--with-bg {
    padding: 62px 16px !important;
  }

  .as360-palestrantes-header {
    margin-bottom: 28px !important;
  }

  .as360-palestrantes-kicker {
    letter-spacing: 1.4px !important;
  }
}


/* v1.2.5: modo oficial para usar títulos do Elementor.
   O plugin deve ocupar somente a altura dos filtros + cards, sem criar bloco de título. */
.as360-palestrantes-block--no-header,
.as360-palestrantes-block--no-header .as360-palestrantes-inner {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: 1480px !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  transform: none !important;
}

.as360-palestrantes-block--no-header .as360-palestrantes-header {
  display: none !important;
}

.as360-palestrantes-block--no-header .as360-team-filters {
  margin-top: 0 !important;
  margin-bottom: 36px !important;
}

.elementor-widget-as360_equipe_categorias,
.elementor-widget-as360_equipe_categorias > .elementor-widget-container,
.elementor-widget-shortcode,
.elementor-widget-shortcode > .elementor-widget-container,
.elementor-shortcode {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
}

/* Evita que regras globais de containers do BeTheme/Elementor estiquem widgets irmãos. */
.elementor-element:has(.as360-palestrantes-block--no-header) {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  align-self: auto !important;
  flex-grow: 0 !important;
}
