/* Side widgets */
.gsv2-quick,.gsv2-upcoming{display:grid;gap:10px}
.gsv2-quick a,.gsv2-event-line,.gsv2-upcoming-card,.gsv2-alert{border:1px solid rgba(255,255,255,.08);border-radius:18px;background:var(--fived-ink);padding:14px;text-decoration:none!important;color:var(--gsv2-body)!important}
.gsv2-quick a{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center}
.gsv2-quick svg{width:22px;height:22px;color:var(--gsv2-gold-light);stroke:currentColor;fill:none}
.gsv2-quick strong{display:block;color:#fff;font-size:14px}
.gsv2-quick span,.gsv2-event-time{display:block;color:var(--gsv2-muted);font-size:12px;margin-top:3px}
.gsv2-event-line{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center}
.gsv2-event-date{height:54px;border-radius:15px;border:1px solid var(--gsv2-gold-border);display:grid;place-items:center;color:var(--gsv2-gold-light);font-weight:900}
.gsv2-alerts{display:grid;gap:10px}
.gsv2-alert{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center}
.gsv2-alert-num{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(201,168,76,.09);color:var(--gsv2-gold-light);font-weight:900}

.gsv2-section-toggle{appearance:none;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;line-height:inherit;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;cursor:pointer}
.gsv2-section-toggle i{flex:0 0 10px;width:10px;height:10px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(2px) rotate(225deg);transition:transform .2s ease}
.gsv2-section-toggle[aria-expanded="false"] i{transform:translateY(-2px) rotate(45deg)}
.gsv2-collapsible-content[hidden]{display:none!important}
.gsv2-side-card.is-collapsed h2{margin-bottom:0!important}



/* 5D fix: Próximos eventos mais limpo e com carregamento progressivo */
.gsv2-upcoming-card h2 {
  color: var(--gsv2-gold-light, var(--fived-gold-light)) !important;
}

.gsv2-upcoming-card > p {
  display: none !important;
}

.gsv2-upcoming-card .gsv2-upcoming {
  margin-top: 14px;
}

.gsv2-upcoming-card .gsv2-event-line {
  grid-template-columns: 54px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  padding: 13px;
}

.gsv2-upcoming-card .gsv2-event-line.is-hidden {
  display: none !important;
}

.gsv2-upcoming-card .gsv2-event-info {
  min-width: 0;
}

.gsv2-upcoming-card .gsv2-event-info strong,
.gsv2-upcoming-card .gsv2-event-info span,
.gsv2-upcoming-card .gsv2-event-info em {
  display: block;
}

.gsv2-upcoming-card .gsv2-event-info strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 2px;
}

.gsv2-upcoming-card .gsv2-event-info span {
  color: var(--gsv2-body, #EFE7DC);
  font-size: 13px;
  line-height: 1.35;
}

.gsv2-upcoming-card .gsv2-event-info em {
  color: var(--gsv2-amber, #f59e0b);
  font-size: 12px;
  font-style: italic;
  line-height: 1.25;
  margin-top: 2px;
}

.gsv2-upcoming-card .gsv2-event-time {
  justify-self: end;
  align-self: center;
  min-width: 44px;
  margin-top: 0;
  padding-top: 0;
  text-align: right;
  color: var(--gsv2-muted, var(--fived-muted));
  font-size: 12px;
  line-height: 1;
}

.gsv2-upcoming-card .gsv2-upcoming-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid var(--gsv2-gold-border, rgba(201,168,76,.35));
  border-radius: 999px;
  background: rgba(201,168,76,.08);
  color: var(--gsv2-gold-light, var(--fived-gold-light));
  font-family: var(--gsv2-sans, "DM Sans"), sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.gsv2-upcoming-card .gsv2-upcoming-more:hover {
  background: rgba(201,168,76,.16);
}

@media (max-width: 768px) {
  .gsv2-upcoming-card .gsv2-event-line {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .gsv2-upcoming-card .gsv2-event-time {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    margin-top: 4px;
  }
}

/* 5D fix: Alertas com visual mais limpo e legível */
.ge-staff-v2 .gsv2-alert-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-color: rgba(201,168,76,.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(201,168,76,.10), rgba(0,0,0,0) 34%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    var(--fived-input);
}

.ge-staff-v2 .gsv2-alert-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(201,168,76,0), rgba(201,168,76,.85), rgba(201,168,76,0));
}

.ge-staff-v2 .gsv2-alert-card h2,
.ge-staff-v2 .gsv2-side-card h2 {
  font-family: var(--gsv2-serif, "Cormorant Garamond"), serif;
  font-weight: 500;
  line-height: 1.05;
}

.ge-staff-v2 .gsv2-alert-card h2 {
  color: var(--gsv2-gold-light, var(--fived-gold-light));
  margin: 0 0 10px;
}

.ge-staff-v2 .gsv2-alert-card > p {
  max-width: 260px;
  margin: 0 0 16px;
  color: rgba(239,231,220,.78);
  line-height: 1.55;
  font-size: 13px;
}

.ge-staff-v2 .gsv2-alert-card .gsv2-alerts {
  gap: 12px;
}

.ge-staff-v2 .gsv2-alert-card .gsv2-alert {
  grid-template-columns: 52px minmax(0,1fr);
  gap: 14px;
  padding: 13px 14px;
  border-color: rgba(201,168,76,.16);
  border-radius: 18px;
  background: rgba(0,0,0,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.ge-staff-v2 .gsv2-alert-card .gsv2-alert-num {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  border: 1px solid rgba(201,168,76,.22);
  background: rgba(201,168,76,.08);
  color: var(--gsv2-gold-light, var(--fived-gold-light));
  font-size: 15px;
}

.ge-staff-v2 .gsv2-alert-card .gsv2-alert strong,
.ge-staff-v2 .gsv2-alert-card .gsv2-alert span {
  display: block;
}

.ge-staff-v2 .gsv2-alert-card .gsv2-alert strong {
  color: var(--gsv2-amber, #f59e0b);
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 0;
}

.ge-staff-v2 .gsv2-alert-card .gsv2-alert span {
  color: rgba(239,231,220,.72);
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .ge-staff-v2 .gsv2-upcoming-card {
    margin-bottom: 16px;
  }

  .ge-staff-v2 .gsv2-alert-card {
    padding: 16px;
  }

  .ge-staff-v2 .gsv2-alert-card .gsv2-alert {
    grid-template-columns: 46px minmax(0,1fr);
    padding: 12px;
  }

  .ge-staff-v2 .gsv2-alert-card .gsv2-alert-num {
    width: 40px;
    height: 40px;
  }
}

/* 5D ajuste: Alertas sem container externo e sem cards internos */
.ge-staff-v2 .gsv2-alert-card {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.ge-staff-v2 .gsv2-alert-card::before,
.ge-staff-v2 .gsv2-alert-card > p {
  display: none !important;
}

.ge-staff-v2 .gsv2-alert-card h2 {
  margin: 0 0 16px !important;
}

.ge-staff-v2 .gsv2-alert-card .gsv2-alerts {
  gap: 14px !important;
}

.ge-staff-v2 .gsv2-alert-card .gsv2-alert {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  grid-template-columns: 46px minmax(0,1fr) !important;
  gap: 12px !important;
}

.ge-staff-v2 .gsv2-alert-card .gsv2-alert-num {
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
}
