/* ============================================================
   BLINDAGEM CONTRA O TEMA (resolve ícones gigantes / grade quebrada)
   Forçamos dimensões de SVG e grid dentro de .slc-wrap para que
   nenhum CSS global do tema (ex.: svg{width:100%}) vença.
   ============================================================ */
.slc-wrap svg { max-width: 100% !important; height: auto; box-sizing: border-box; }
.slc-wrap .slc-icon { display: inline-flex !important; line-height: 0; vertical-align: middle; }
.slc-wrap .slc-icon > svg {
  width: 1em !important; height: 1em !important;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}
.slc-wrap .slc-icon > svg.fill { fill: currentColor !important; stroke: none !important; }
.slc-wrap .slc-doodle > svg { width: 50px !important; height: 50px !important; }

/* Garante o grid do calendário mesmo se o tema mexer em display */
.slc-wrap .slc-weekdays,
.slc-wrap .slc-days { display: grid !important; grid-template-columns: repeat(7, 1fr) !important; }
.slc-wrap .slc-main { display: block !important; }
.slc-wrap .slc-main--stacked { display: flex !important; flex-direction: column !important; gap: 24px !important; }
.slc-wrap .slc-panel { min-width: 0 !important; width: auto !important; }
.slc-wrap .slc-cal { width: 100% !important; }
.slc-wrap .slc-features { display: flex !important; }

/* Botões do plugin não devem herdar width:100% / display:block de temas */
.slc-wrap button { width: auto !important; display: inline-flex !important; align-items: center; justify-content: center; max-width: none !important; float: none !important; }
.slc-wrap .evcal-tabs { display: flex !important; flex-wrap: wrap !important; justify-content: flex-start !important; text-align: left !important; }
.slc-wrap .evcal-tab { width: auto !important; display: inline-flex !important; }
.slc-wrap .slc-toggle { display: flex !important; margin-left: auto !important; }
.slc-wrap .slc-cal-toolbar { display: flex !important; align-items: center !important; flex-wrap: wrap; gap: 12px; }

/* Neutraliza heranças comuns de tema que estouram o layout */
.slc-wrap * { box-sizing: border-box; }
.slc-wrap img, .slc-wrap svg { vertical-align: middle; }
.slc-wrap a { box-shadow: none; }

/* =========================================================
   Smile Like Yours — Events Calendar
   Frontend structure (static). Prefixed .slc- for WordPress.
   ========================================================= */

:root {
  --slc-bg:          #FDEFE3;
  --slc-card:        #FFFFFF;
  --slc-help-bg:     #FBE7D6;

  --slc-ink:         #2B2724;
  --slc-ink-soft:    #5B544E;
  --slc-muted:       #908981;
  --slc-line:        #ECE1D6;

  --slc-orange:      #ED6A2C;
  --slc-orange-2:    #E2591C;
  --slc-grad:        linear-gradient(115deg, #F08A45 0%, #EC6E2C 46%, #E45E22 100%);
  --slc-coral:       #EE5A3D;
  --slc-coral-soft:  #F8D9D0;

  --slc-radius:      22px;
  --slc-radius-sm:   16px;
  --slc-shadow:      0 22px 46px -26px rgba(120,60,20,.32);
}

/* Escopado em .slc-wrap para NÃO afetar o resto da página do WordPress */
.slc-wrap { box-sizing: border-box; }
.slc-wrap {
  margin: 0 auto;
  background: var(--slc-bg);
  color: var(--slc-ink);
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.slc-wrap h1, .slc-wrap h2, .slc-wrap h3, .slc-wrap h4 { font-family: "Poppins", system-ui, sans-serif; margin: 0; line-height: 1.1; }
.slc-wrap p { margin: 0; }
.slc-wrap button { font-family: inherit; cursor: pointer; }

.slc-icon { display: inline-flex; }
.slc-icon svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slc-icon svg.fill { fill: currentColor; stroke: none; }

/* image slots — warm empty-state background shows through translucent frame */
.slc-wrap image-slot { display: block; }
.slc-slot-soft { background: linear-gradient(135deg, #efc7a3 0%, #e0a07f 60%, #d68c6b 100%); }

/* CSS photo placeholders (small spots / backend-driven images) */
.slc-ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 9px, rgba(0,0,0,.04) 9px 18px),
    linear-gradient(135deg, #efc7a3, #e0a07f 58%, #d2855f);
  overflow: hidden;
}

/* =========================== Shell =========================== */
.slc-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 30px 30px;
  position: relative;
}
.slc-blob {
  position: absolute;
  top: -30px; left: -70px;
  width: 540px; height: 210px;
  background: radial-gradient(58% 80% at 30% 40%, #FBDBBE 0%, rgba(251,219,190,0) 70%);
  z-index: 0; pointer-events: none;
}

/* =========================== Header band =========================== */
.slc-header {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  gap: 36px; padding: 8px 0 26px;
}
.slc-title { flex: 0 0 auto; }
.slc-title h1 { font-size: 52px; font-weight: 800; letter-spacing: -1.5px; color: var(--slc-ink); white-space: nowrap; }
.slc-title p { margin-top: 8px; font-size: 19px; color: var(--slc-ink-soft); }

.slc-features { display: flex; gap: 20px; align-items: flex-start; }
.slc-feature { display: flex; gap: 11px; max-width: 162px; }
.slc-feature__ic {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--slc-orange);
  display: grid; place-items: center;
  box-shadow: 0 10px 22px -12px rgba(150,80,30,.55);
}
.slc-feature__ic .slc-icon { font-size: 22px; }
.slc-feature h4 { font-family: "Nunito", sans-serif; font-size: 14.5px; font-weight: 800; color: var(--slc-ink); line-height: 1.2; }
.slc-feature p { margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--slc-muted); }

.slc-doodle { flex: 0 0 auto; color: var(--slc-coral); align-self: center; }
.slc-doodle svg { width: 50px; height: 50px; }

/* =========================== Main grid =========================== */
.slc-main {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.62fr 1fr; gap: 24px; align-items: start;
}
.slc-panel { background: var(--slc-card); border-radius: var(--slc-radius); box-shadow: var(--slc-shadow); padding: 16px; }

/* ---------- Featured banner ---------- */
.slc-featured {
  position: relative; display: flex; justify-content: space-between;
  border-radius: var(--slc-radius-sm); overflow: hidden;
  min-height: 168px; color: #fff; background: var(--slc-grad);
}
.slc-featured__photo {
  position: absolute; top: 0; bottom: 0; left: 26%; right: 15%; z-index: 0;
  background: linear-gradient(135deg, #e9b083, #d98a63);
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 20%, #000 82%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0%, #000 20%, #000 82%, transparent 100%);
}
.slc-featured__photo image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.slc-featured__body, .slc-featured__meta { position: relative; z-index: 1; padding: 22px 26px; }
.slc-featured__body { width: 44%; }
.slc-featured__meta { width: 33%; display: grid; gap: 13px; align-content: center; }

.slc-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.slc-featured__body h2 { font-size: 33px; font-weight: 800; margin: 7px 0 7px; }
.slc-featured__body > p { font-size: 16px; color: rgba(255,255,255,.95); }

.slc-btn-white {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  margin-top: 16px; background: #fff; color: var(--slc-ink); border: none;
  font-size: 14px; font-weight: 800; padding: 11px 20px; border-radius: 999px;
}
.slc-btn-white .slc-icon { font-size: 15px; color: var(--slc-orange); }

.slc-meta-row { display: flex; gap: 11px; font-size: 14px; line-height: 1.35; }
.slc-meta-row .slc-icon { font-size: 18px; flex: 0 0 auto; margin-top: 1px; color: #fff; }
.slc-meta-row span b { font-weight: 800; }

/* ---------- Calendar toolbar ---------- */
.slc-cal-toolbar { display: flex; align-items: center; gap: 12px; padding: 18px 4px 16px; }
.slc-sqbtn {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--slc-line); background: #fff; color: var(--slc-coral);
  display: grid; place-items: center;
}
.slc-sqbtn .slc-icon { font-size: 20px; }
.slc-cal-toolbar h3 { font-size: 27px; font-weight: 800; color: var(--slc-ink); margin: 0 6px; }
.slc-toggle { margin-left: auto; display: flex; gap: 8px; }
.slc-toggle button {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--slc-line); background: #fff; color: var(--slc-ink-soft);
  font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 11px;
}
.slc-toggle button .slc-icon { font-size: 16px; color: var(--slc-muted); }
.slc-toggle button[aria-pressed="true"] {
  background: var(--slc-coral); color: #fff; border-color: var(--slc-coral);
  box-shadow: 0 8px 16px -8px rgba(238,90,61,.75);
}
.slc-toggle button[aria-pressed="true"] .slc-icon { color: #fff; }

/* ---------- Calendar grid ---------- */
.slc-cal { border: 1px solid var(--slc-line); border-radius: var(--slc-radius-sm); overflow: hidden; }
.slc-weekdays, .slc-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.slc-weekdays { background: #fff; border-bottom: 1px solid var(--slc-line); }
.slc-weekdays div { padding: 12px 14px; font-size: 13px; font-weight: 700; color: var(--slc-muted); }
.slc-cell {
  position: relative; min-height: 96px; padding: 9px 11px;
  border-top: 1px solid var(--slc-line); border-left: 1px solid var(--slc-line);
}
.slc-cell:nth-child(7n+1) { border-left: none; }
.slc-days > .slc-cell:nth-child(-n+7) { border-top: none; }
.slc-cell__num { font-size: 14.5px; font-weight: 700; color: var(--slc-ink); }
.slc-cell--muted .slc-cell__num { color: #C8BFB5; font-weight: 600; }

.slc-today {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  margin: -4px 0 0 -5px; border-radius: 50%;
  background: var(--slc-coral); color: #fff; font-size: 14px; font-weight: 800;
}

/* event chip filling a calendar cell */
.slc-cell--event { padding: 0; }
.slc-event-chip { position: absolute; inset: 7px; border-radius: 11px; overflow: hidden; color: #fff; text-decoration: none; display: block; }
.slc-event-chip .slc-ph { position: absolute; inset: 0; z-index: 0; }
.slc-event-chip::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(50,18,0,.28) 0%, rgba(50,18,0,0) 36%, rgba(50,18,0,.20) 54%, rgba(40,12,0,.88) 100%);
}
.slc-event-chip__num { position: absolute; top: 7px; left: 10px; z-index: 2; font-family: "Nunito", sans-serif; font-size: 14px; font-weight: 800; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.slc-event-chip__info { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 2; }
.slc-event-chip__info b { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slc-event-chip__info span { font-size: 10.5px; opacity: .95; white-space: nowrap; }

/* =========================== This week =========================== */
.slc-week-head { display: flex; align-items: center; gap: 11px; padding: 4px 4px 16px; }
.slc-week-head .slc-icon { font-size: 23px; color: var(--slc-coral); }
.slc-week-head h2 { font-size: 25px; font-weight: 800; }
.slc-link { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--slc-coral); font-weight: 800; font-size: 14.5px; text-decoration: none; }
.slc-link .slc-icon { font-size: 15px; }

/* featured this-week card */
.slc-week-feature { position: relative; display: flex; border-radius: var(--slc-radius-sm); overflow: hidden; background: var(--slc-grad); color: #fff; min-height: 210px; }
.slc-week-feature__media { flex: 0 0 42%; position: relative; padding: 12px 0 12px 12px; }
.slc-week-feature__media image-slot {
  position: absolute; inset: 12px 0 12px 12px; width: auto; height: auto;
  border: 2px solid rgba(255,255,255,.55); border-radius: 13px;
}
.slc-week-feature__body { flex: 1; padding: 18px 18px 66px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 9px; align-content: start; }
.slc-date-badge { text-align: left; line-height: 1; }
.slc-date-badge .dow { font-size: 12.5px; font-weight: 800; letter-spacing: .07em; opacity: .92; }
.slc-date-badge .dnum { font-size: 30px; font-weight: 800; }
.slc-wf-title { align-self: center; }
.slc-wf-title h3 { font-size: 25px; font-weight: 800; }
.slc-wf-pin { font-size: 19px; justify-self: center; padding-top: 3px; }
.slc-wf-text b { font-weight: 800; font-size: 15px; }
.slc-wf-text { font-size: 14px; line-height: 1.4; }
.slc-wf-desc { grid-column: 2; font-size: 14px; opacity: .95; }

.slc-wf-actions { position: absolute; left: 32%; right: 16px; bottom: 16px; display: flex; gap: 11px; justify-content: flex-end; }
.slc-btn { display: inline-flex; align-items: center; gap: 9px; border: none; font-size: 14px; font-weight: 800; padding: 12px 18px; border-radius: 12px; white-space: nowrap; }
.slc-btn .slc-icon { font-size: 16px; }
.slc-btn--coral { background: var(--slc-coral); color: #fff; box-shadow: 0 10px 20px -10px rgba(190,45,25,.85); }
.slc-btn--white { background: #fff; color: var(--slc-coral); }

/* upcoming list */
.slc-week-list { display: grid; gap: 12px; margin-top: 14px; }
.slc-event-row { display: flex; align-items: center; gap: 15px; padding: 11px 14px; border: 1px solid var(--slc-line); border-radius: var(--slc-radius-sm); text-decoration: none; color: inherit; background: #fff; transition: box-shadow .15s ease, transform .15s ease; }
.slc-event-row:hover { box-shadow: var(--slc-shadow); transform: translateY(-1px); }
.slc-event-row__thumb { flex: 0 0 auto; width: 62px; height: 56px; border-radius: 12px; }
.slc-event-row__date { flex: 0 0 auto; text-align: center; line-height: 1.05; width: 36px; }
.slc-event-row__date .dow { display: block; font-size: 11px; font-weight: 800; color: var(--slc-muted); letter-spacing: .05em; }
.slc-event-row__date .dnum { font-size: 22px; font-weight: 800; color: var(--slc-ink); }
.slc-event-row__info { flex: 1; min-width: 0; }
.slc-event-row__info b { display: block; font-size: 17px; font-weight: 800; color: var(--slc-ink); }
.slc-event-row__info span { font-size: 13.5px; color: var(--slc-muted); }
.slc-event-row__chev { color: var(--slc-coral); font-size: 21px; flex: 0 0 auto; }

/* =========================== Help footer =========================== */
.slc-help { position: relative; z-index: 1; margin-top: 24px; background: var(--slc-help-bg); border-radius: var(--slc-radius); padding: 22px 24px; display: flex; align-items: stretch; gap: 20px; }
.slc-help__intro { display: flex; gap: 15px; flex: 1.6; align-items: center; }
.slc-help__illo { flex: 0 0 auto; width: 104px; height: 90px; border-radius: 14px; }
.slc-help__intro h3 { font-size: 21px; font-weight: 800; color: var(--slc-ink); white-space: nowrap; }
.slc-help__intro p { margin-top: 5px; font-size: 13.5px; color: var(--slc-ink-soft); max-width: 240px; }

.slc-help__col { flex: 1; display: flex; gap: 12px; padding-left: 20px; border-left: 1px solid #F1D9C7; align-items: flex-start; }
.slc-help__ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #FFF4EB; color: var(--slc-orange); display: grid; place-items: center; box-shadow: 0 8px 18px -10px rgba(150,80,30,.5); }
.slc-help__ic .slc-icon { font-size: 20px; }
.slc-help__col h4 { font-family: "Nunito", sans-serif; font-size: 15px; font-weight: 800; color: var(--slc-ink); }
.slc-help__col .val { font-size: 15px; font-weight: 800; color: var(--slc-orange-2); margin: 3px 0; }
.slc-help__col .sub { font-size: 12.5px; color: var(--slc-ink-soft); line-height: 1.4; }

.slc-alone { flex: 1.05; background: #fff; border: 1.5px solid var(--slc-coral-soft); border-radius: var(--slc-radius-sm); padding: 16px 18px; display: flex; gap: 13px; align-items: flex-start; }
.slc-alone .slc-icon { font-size: 25px; color: var(--slc-coral); flex: 0 0 auto; margin-top: 2px; }
.slc-alone h4 { font-family: "Nunito", sans-serif; font-size: 16px; font-weight: 800; color: var(--slc-coral); }
.slc-alone p { font-size: 13px; color: var(--slc-ink-soft); margin-top: 4px; line-height: 1.4; }

/* =========================== Responsive =========================== */
@media (max-width: 1180px) {
  .slc-header { flex-direction: column; align-items: flex-start; }
  .slc-features { flex-wrap: wrap; }
  .slc-main { grid-template-columns: 1fr; }
  .slc-help { flex-wrap: wrap; }
  .slc-help__col, .slc-alone { flex: 1 1 240px; }
}
@media (max-width: 720px) {
  .slc-wrap { padding: 16px; }
  .slc-title h1 { font-size: 40px; }
  .slc-featured { flex-direction: column; min-height: 0; }
  .slc-featured__body, .slc-featured__meta { width: 100%; }
  .slc-featured__photo { position: relative; left: 0; right: 0; height: 150px; order: 2; }
  .slc-featured__photo image-slot { -webkit-mask: none; mask: none; }
  .slc-help__col { border-left: none; padding-left: 0; }
}

/* ===== Ajustes do plugin WordPress (adicionados ao design original) ===== */
.slc-wrap .evcal-localidade-wrap { display:flex; align-items:center; gap:10px; margin-left:auto; }
.slc-wrap .evcal-localidade-wrap label { font-family:"Nunito",sans-serif; font-weight:800; font-size:14px; color:var(--slc-ink-soft); }
.slc-wrap select.evcal-localidade {
  font-family:"Nunito",sans-serif; font-size:14px; font-weight:700; color:var(--slc-ink);
  border:1.5px solid var(--slc-line); background:#fff; padding:9px 14px; border-radius:11px; cursor:pointer;
}
.slc-wrap select.evcal-localidade:focus { outline:2px solid var(--slc-orange); outline-offset:1px; }
.slc-cal.evcal-loading { opacity:.55; pointer-events:none; transition:opacity .15s ease; }
/* chip sem foto: usa gradiente coral em vez de placeholder */
.slc-event-chip--nophoto .slc-ph { background: var(--slc-grad) !important; }

/* ===== Abas de localidade ===== */
.slc-wrap .evcal-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 4px 4px 16px;
}
.slc-wrap .evcal-tab {
  font-family: "Nunito", sans-serif; font-size: 14.5px; font-weight: 800;
  color: var(--slc-ink-soft); background: #fff;
  border: 1.5px solid var(--slc-line); border-radius: 11px;
  padding: 10px 18px; cursor: pointer; transition: all .15s ease;
}
.slc-wrap .evcal-tab:hover { border-color: var(--slc-coral); color: var(--slc-coral); }
.slc-wrap .evcal-tab.is-active {
  background: var(--slc-coral); color: #fff; border-color: var(--slc-coral);
  box-shadow: 0 8px 16px -8px rgba(238,90,61,.75);
}

/* ===== Bloco "Location Contact Details" ===== */
.slc-wrap .evcal-contato { margin: 0 4px 16px; }
.slc-wrap .evcal-contato__titulo {
  font-family: "Poppins", sans-serif; font-size: 15px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--slc-orange-2); margin-bottom: 8px;
}
.slc-wrap .evcal-contato__box {
  background: var(--slc-help-bg); border-radius: var(--slc-radius-sm);
  padding: 16px 18px;
}
.slc-wrap .evcal-contato__linha {
  font-family: "Nunito", sans-serif; font-size: 14.5px; line-height: 1.55;
  color: var(--slc-ink); font-weight: 600;
}

/* ===== Fotos de fundo (banner / week-feature) ===== */
.slc-wrap .slc-featured__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 20%, #000 82%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0%, #000 20%, #000 82%, transparent 100%);
}
.slc-wrap .slc-week-feature__img {
  position: absolute; inset: 12px 0 12px 12px;
  background-size: cover; background-position: center;
  border: 2px solid rgba(255,255,255,.55); border-radius: 13px;
}

/* ===== List / Week view ===== */
.slc-wrap .evcal-listview { display: grid; gap: 12px; padding: 4px; }
.slc-wrap .evcal-vazio { font-family: "Nunito", sans-serif; color: var(--slc-muted); padding: 18px 6px; }

/* ===== Abas de localidade ===== */
.slc-wrap .evcal-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 4px 16px; }
.slc-wrap .evcal-tab {
  font-family: "Nunito", sans-serif; font-size: 14.5px; font-weight: 800;
  color: var(--slc-ink-soft); background: #fff;
  border: 1.5px solid var(--slc-line); border-radius: 11px;
  padding: 10px 18px; cursor: pointer; transition: all .15s ease;
}
.slc-wrap .evcal-tab:hover { border-color: var(--slc-coral); color: var(--slc-coral); }
.slc-wrap .evcal-tab.is-active {
  background: var(--slc-coral); color: #fff; border-color: var(--slc-coral);
  box-shadow: 0 8px 16px -8px rgba(238,90,61,.75);
}

/* ===== Estado de loading ===== */
.slc-wrap .evcal-corpo.evcal-loading { opacity: .55; pointer-events: none; transition: opacity .15s ease; }

/* ===== Reforço de grade larga (corrige chips finos) ===== */
.slc-wrap .slc-weekdays,
.slc-wrap .slc-days { width: 100%; }
.slc-wrap .slc-cell { min-height: 92px; }
.slc-wrap .slc-event-chip__info b { font-size: 12.5px; line-height: 1.15; }
/* Em telas estreitas o calendário vira 1 coluna (já tratado no @media), mas garantimos largura */
@media (max-width: 1180px) {
  .slc-wrap .slc-main { grid-template-columns: 1fr !important; }
}

/* ============================================================
   CORREÇÕES DEFINITIVAS DE LAYOUT + RESPONSIVIDADE (v2)
   Especificidade dobrada (.slc-wrap.slc-wrap) para vencer o tema.
   ============================================================ */

/* Abas sempre em linha, à esquerda */
.slc-wrap.evcal-wrapper .evcal-tabs {
  display: flex !important; flex-direction: row !important;
  flex-wrap: wrap !important; justify-content: flex-start !important;
  align-items: center !important; text-align: left !important;
  gap: 8px !important; width: 100% !important;
}
.slc-wrap.evcal-wrapper .evcal-tabs .evcal-tab {
  display: inline-flex !important; width: auto !important;
  flex: 0 0 auto !important; float: none !important; margin: 0 !important;
}

/* Painel esquerdo e calendário ocupam toda a largura disponível */
.slc-wrap.evcal-wrapper .slc-main { width: 100% !important; }
.slc-wrap.evcal-wrapper .slc-panel { width: auto !important; min-width: 0 !important; max-width: none !important; }
.slc-wrap.evcal-wrapper .evcal-corpo { width: 100% !important; }
.slc-wrap.evcal-wrapper .slc-cal { width: 100% !important; display: block !important; }
.slc-wrap.evcal-wrapper .slc-weekdays,
.slc-wrap.evcal-wrapper .slc-days {
  display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; width: 100% !important;
}

/* Paginação da lista */
.slc-wrap .evcal-paginacao {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 16px 4px 4px;
}
.slc-wrap .evcal-page {
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: 14px;
  background: #fff; color: var(--slc-coral);
  border: 1.5px solid var(--slc-line); border-radius: 10px;
  padding: 9px 16px; cursor: pointer;
}
.slc-wrap .evcal-page:hover:not([disabled]) { border-color: var(--slc-coral); }
.slc-wrap .evcal-page[disabled] { opacity: .4; cursor: default; }
.slc-wrap .evcal-page-info { font-family: "Nunito", sans-serif; font-size: 14px; color: var(--slc-ink-soft); font-weight: 700; }

/* ===================== RESPONSIVIDADE ===================== */
@media (max-width: 1180px) {
  .slc-wrap.evcal-wrapper .slc-main { grid-template-columns: 1fr !important; }
  .slc-wrap .slc-features { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 820px) {
  .slc-wrap .slc-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .slc-wrap .slc-features { width: 100%; }
  .slc-wrap .slc-feature { max-width: 47%; }
  .slc-wrap .slc-featured { flex-direction: column; min-height: 0; }
  .slc-wrap .slc-featured__photo { position: relative; left: 0; right: 0; height: 140px; order: -1; }
  .slc-wrap .slc-featured__img { -webkit-mask: none !important; mask: none !important; }
  .slc-wrap .slc-featured__body, .slc-wrap .slc-featured__meta { width: 100%; }
  .slc-wrap .slc-cal-toolbar { gap: 8px; }
  .slc-wrap .slc-toggle { margin-left: 0 !important; width: 100%; }
}
@media (max-width: 600px) {
  .slc-wrap .slc-title h1 { font-size: 34px; }
  .slc-wrap .slc-cell { min-height: 58px; padding: 4px; }
  .slc-wrap .slc-cell__num { font-size: 12px; }
  .slc-wrap .slc-event-chip__info b { font-size: 9px; }
  .slc-wrap .slc-event-chip__info span { font-size: 8px; }
  .slc-wrap .slc-event-chip__num { font-size: 11px; }
  .slc-wrap .slc-weekdays div { padding: 8px 2px; font-size: 11px; }
  /* chips menores: esconde a hora, mantém título */
  .slc-wrap .slc-feature { max-width: 100%; }
  .slc-wrap .slc-help { flex-direction: column; }
}
@media (max-width: 420px) {
  .slc-wrap .slc-event-chip__info span { display: none; }
}

/* Abas empilhadas no mobile: uma embaixo da outra, todas visíveis, sem scroll lateral */
@media (max-width: 600px) {
  .slc-wrap.evcal-wrapper .evcal-tabs {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow-x: visible !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .slc-wrap.evcal-wrapper .evcal-tabs .evcal-tab {
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ============================================================
   LAYOUT v3: calendário full width, This Week embaixo,
   grade no desktop / lista no mobile (sem scroll lateral)
   ============================================================ */

/* Container nunca estoura a largura (mata o scroll lateral) */
.slc-wrap, .slc-wrap * { max-width: 100%; }
.slc-wrap { overflow-x: hidden; }

/* Calendário ocupa toda a largura do painel */
.slc-wrap.evcal-wrapper .slc-main--stacked > .slc-panel { width: 100% !important; }

/* Células com altura confortável no desktop para caber o título */
.slc-wrap .slc-cell { min-height: 104px; }
.slc-wrap .slc-event-chip__info b {
  white-space: normal !important;          /* permite quebrar em 2 linhas */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.15; font-size: 12.5px;
}

/* This Week embaixo: card e lista em linha quando há espaço */
.slc-wrap .slc-panel--week .evcal-thisweek { display: block; }

/* Lista mobile do mês: escondida no desktop */
.slc-wrap .evcal-mes-mobile { display: none; }

/* ---------- MOBILE: grade vira lista ---------- */
@media (max-width: 720px) {
  .slc-wrap.evcal-wrapper .slc-cal { display: none !important; }          /* esconde a grade */
  .slc-wrap.evcal-wrapper .evcal-mes-mobile {
    display: grid !important; gap: 10px; padding: 4px 2px;
  }
  /* toolbar mais compacta e centralizada */
  .slc-wrap .slc-cal-toolbar { justify-content: center; }
  .slc-wrap .slc-toggle { width: 100%; justify-content: center; margin-left: 0 !important; }
}

/* ============================================================
   LAYOUT v4: banner/toolbar/views sempre 100% de largura
   + estilos da nova Week view + fallback bonito sem foto
   ============================================================ */

/* Tudo dentro do corpo ocupa a largura toda (mata o vazio à direita) */
.slc-wrap.evcal-wrapper .evcal-corpo > * { width: 100% !important; box-sizing: border-box; }
.slc-wrap.evcal-wrapper .slc-featured { width: 100% !important; display: flex !important; }
.slc-wrap.evcal-wrapper .slc-cal-toolbar { width: 100% !important; }
.slc-wrap.evcal-wrapper .evcal-listview,
.slc-wrap.evcal-wrapper .evcal-weekview { width: 100% !important; }

/* Banner: corpo e meta com mais respiro agora que há largura total */
.slc-wrap .slc-featured { min-height: 180px; }
.slc-wrap .slc-featured__body { width: 50%; }
.slc-wrap .slc-featured__meta { width: 38%; }

/* ---------- Week view ---------- */
.slc-wrap .evcal-weekview { display: grid; gap: 10px; padding: 6px 2px; }
.slc-wrap .evcal-week-range {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 16px;
  color: var(--slc-ink); margin: 4px 2px 8px;
}
.slc-wrap .evcal-weekday {
  border: 1px solid var(--slc-line); border-radius: var(--slc-radius-sm);
  overflow: hidden; background: #fff;
}
.slc-wrap .evcal-weekday__head {
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 14px; background: var(--slc-help-bg);
  font-family: "Nunito", sans-serif;
}
.slc-wrap .evcal-weekday__head strong { font-size: 14.5px; color: var(--slc-ink); }
.slc-wrap .evcal-weekday__head span { font-size: 13px; color: var(--slc-muted); font-weight: 700; }
.slc-wrap .evcal-weekday__events { display: grid; gap: 8px; padding: 10px; }
.slc-wrap .evcal-weekday__empty {
  padding: 10px 14px; font-family: "Nunito", sans-serif;
  color: var(--slc-muted); font-size: 13px;
}

/* ---------- Fallback bonito quando não há NENHUMA foto na galeria ---------- */
/* Em vez do listrado, usa gradientes variados por posição */
.slc-wrap .slc-event-chip--nophoto .slc-ph,
.slc-wrap .slc-event-row__thumb.slc-ph,
.slc-wrap .slc-week-feature__img.slc-slot-soft,
.slc-wrap .slc-featured__img.slc-slot-soft {
  background: var(--slc-grad) !important;
}
/* variações sutis para não ficar tudo igual */
.slc-wrap .slc-days .slc-cell:nth-child(7n+1) .slc-event-chip--nophoto .slc-ph { background: linear-gradient(135deg,#F08A45,#E45E22) !important; }
.slc-wrap .slc-days .slc-cell:nth-child(7n+3) .slc-event-chip--nophoto .slc-ph { background: linear-gradient(135deg,#EE7A4D,#D8521C) !important; }
.slc-wrap .slc-days .slc-cell:nth-child(7n+5) .slc-event-chip--nophoto .slc-ph { background: linear-gradient(135deg,#F2994A,#E2591C) !important; }

/* ============================================================
   v5: caixinha colorida atrás do número e título (legibilidade)
   + toolbar repensada
   ============================================================ */

/* Número: badge coral sólido no topo */
.slc-wrap .slc-event-chip__num {
  background: var(--slc-coral);
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  text-shadow: none;
  display: inline-block;
  line-height: 1.3;
}

/* Título + hora: faixa coral translúcida com leve blur ao fundo */
.slc-wrap .slc-event-chip__info {
  background: rgba(232, 90, 61, .92);   /* coral */
  border-radius: 10px;
  padding: 6px 9px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 3px 10px rgba(0,0,0,.22);
}
.slc-wrap .slc-event-chip__info b {
  color: #fff;
  text-shadow: none;
  white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.slc-wrap .slc-event-chip__info span { color: rgba(255,255,255,.95); }

/* Remove o gradiente escuro antigo do rodapé (agora a faixa coral cobre) */
.slc-wrap .slc-event-chip::after { display: none; }

/* ---------- Toolbar repensada ---------- */
/* Setas redondas, discretas; sem o ícone de calendário do meio.
   (o botão de calendário é ocultado via CSS para não exigir mudar o HTML) */
.slc-wrap .slc-cal-toolbar .slc-sqbtn[aria-label="Hoje"],
.slc-wrap .slc-cal-toolbar .slc-sqbtn[aria-label="Today"] { display: none !important; }

.slc-wrap .slc-cal-toolbar .slc-sqbtn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--slc-line); background: #fff; color: var(--slc-coral);
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  transition: all .15s ease;
}
.slc-wrap .slc-cal-toolbar .slc-sqbtn:hover {
  background: var(--slc-coral); color: #fff; border-color: var(--slc-coral);
}
.slc-wrap .slc-cal-toolbar h3 { font-size: 26px; }

/* Toggle Month/Week/List: mais arredondado e coeso */
.slc-wrap .slc-toggle button { border-radius: 10px; }

/* ============================================================
   v6: FULL-BLEED — força largura total da tela, estourando o
   padding lateral do tema (Bricks/automatic.css) na section pai.
   ============================================================ */
.slc-wrap.evcal-wrapper {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  /* Anula o padding vertical (padding-block) que o tema aplica na section pai.
     Usa a própria variável do tema; se não existir, cai em 0 (sem efeito). */
  margin-top: calc( -1 * var(--section-padding-block, 0px) ) !important;
  margin-bottom: calc( -1 * var(--section-padding-block, 0px) ) !important;
  box-sizing: border-box !important;
  /* respiro interno mínimo para o conteúdo não colar 100% na borda */
  padding-left: clamp(12px, 3vw, 48px) !important;
  padding-right: clamp(12px, 3vw, 48px) !important;
}

/* Evita o micro-scroll horizontal causado pela barra de rolagem com 100vw */
html, body { overflow-x: hidden; }

/* ============================================================
   v10: anula o padding VERTICAL (padding-block) da section pai
   que contém o calendário, sem depender de saber o valor.
   Abordagem principal: :has() zera o padding na raiz.
   (A margem negativa acima continua como respaldo p/ browsers sem :has.)
   ============================================================ */
section:has(> .slc-wrap.evcal-wrapper),
section:has(.slc-wrap.evcal-wrapper),
.brxe-container:has(.slc-wrap.evcal-wrapper),
[class*="brxe-"]:has(> .slc-wrap.evcal-wrapper) {
  padding-block: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  /* remove também o gap (espaço entre filhos) da section que contém o calendário */
  gap: 0 !important;
  row-gap: 0 !important;
  column-gap: 0 !important;
}

/* Quando o navegador suporta :has(), o padding da section já é zerado na
   raiz — então neutralizamos a margem negativa vertical para não puxar
   o calendário em dobro sobre o conteúdo vizinho. */
@supports selector(:has(*)) {
  .slc-wrap.evcal-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* ============================================================
   v7: banner (título branco + caixa coral na meta),
   list view compacta, e RESPONSIVIDADE mobile reescrita
   ============================================================ */

/* --- Banner desktop --- */
.slc-wrap .slc-featured__body h2 { color: #fff !important; }
.slc-wrap .slc-eyebrow { color: rgba(255,255,255,.92); }

/* Caixa coral sólida atrás da meta (data/hora/local) */
.slc-wrap .slc-featured__meta {
  background: var(--slc-coral);
  border-radius: 14px;
  padding: 16px 18px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  align-self: center;
}
.slc-wrap .slc-featured__meta .slc-meta-row,
.slc-wrap .slc-featured__meta .slc-meta-row span,
.slc-wrap .slc-featured__meta .slc-meta-row span b { color: #fff !important; }
.slc-wrap .slc-featured__meta .slc-icon { color: #fff !important; }

/* --- List view: linha não estica demais, conteúdo respira --- */
.slc-wrap .evcal-listview { max-width: 920px; margin: 0 auto; }
.slc-wrap .evcal-listview .slc-event-row { width: 100%; }
.slc-wrap .evcal-weekview { max-width: 920px; margin: 0 auto; }

/* ============================================================
   RESPONSIVIDADE — reescrita (banner, This Week, footer)
   ============================================================ */
@media (max-width: 900px) {
  /* Banner empilha: foto em cima, corpo, depois meta */
  .slc-wrap .slc-featured { flex-direction: column !important; min-height: 0 !important; }
  .slc-wrap .slc-featured__photo {
    position: relative !important; inset: auto !important;
    left: 0 !important; right: 0 !important; height: 150px !important; width: 100% !important; order: -1;
  }
  .slc-wrap .slc-featured__img { -webkit-mask: none !important; mask: none !important; }
  .slc-wrap .slc-featured__body { width: 100% !important; }
  .slc-wrap .slc-featured__body h2 { font-size: 26px !important; }
  .slc-wrap .slc-featured__meta { width: 100% !important; margin: 0 18px 18px; box-sizing: border-box; }

  /* This Week: card destacado empilha (foto, texto, ações) */
  .slc-wrap .slc-week-feature { display: flex !important; flex-direction: column !important; height: auto !important; }
  .slc-wrap .slc-week-feature__media { position: relative !important; inset: auto !important; height: 160px !important; width: 100% !important; }
  .slc-wrap .slc-week-feature__img { position: relative !important; inset: auto !important; width: 100% !important; height: 100% !important; border: 0 !important; border-radius: 12px 12px 0 0 !important; }
  .slc-wrap .slc-week-feature__body {
    position: relative !important; padding: 16px !important;
    display: block !important; grid-template-columns: none !important;
  }
  .slc-wrap .slc-week-feature__body .slc-date-badge { display: inline-block; margin-bottom: 4px; }
  .slc-wrap .slc-wf-title h3 { font-size: 20px !important; line-height: 1.2 !important; }
  .slc-wrap .slc-wf-pin { display: none !important; }
  .slc-wrap .slc-wf-actions {
    position: relative !important; left: auto !important; right: auto !important; bottom: auto !important;
    flex-direction: row !important; flex-wrap: wrap;
    gap: 8px !important; padding: 0 16px 16px !important; justify-content: stretch !important;
  }
  .slc-wrap .slc-wf-actions .slc-btn { flex: 1 1 auto; justify-content: center; min-width: 0; }

  /* Footer "We're here to help": empilha em coluna única, sem buracos */
  .slc-wrap .slc-help {
    display: grid !important; grid-template-columns: 1fr !important;
    gap: 18px !important; padding: 20px !important;
  }
  .slc-wrap .slc-help__intro, .slc-wrap .slc-help__col, .slc-wrap .slc-alone {
    width: 100% !important; min-height: 0 !important;
  }
  .slc-wrap .slc-help__illo { width: 64px !important; height: 64px !important; }
}

@media (max-width: 600px) {
  .slc-wrap .slc-featured__body h2 { font-size: 23px !important; }
  /* garante que o título do banner não quebre palavra-a-palavra */
  .slc-wrap .slc-featured__body h2 { word-break: normal !important; overflow-wrap: break-word !important; }
}

/* ============================================================
   v9: imagens do Featured e This Week mostradas INTEIRAS (contain)
   ============================================================ */
.slc-wrap .slc-featured__img {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  /* remove o fade/máscara para não cortar visualmente a imagem inteira */
  -webkit-mask: none !important; mask: none !important;
}
.slc-wrap .slc-week-feature__img {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
/* fundo neutro atrás da imagem 'contain' para as faixas que sobram */
.slc-wrap .slc-featured__photo { background: rgba(0,0,0,.06) !important; }
.slc-wrap .slc-week-feature__media { background: rgba(255,255,255,.12) !important; }

/* ============================================================
   v11: logo no bloco "We're here to help"
   ============================================================ */
.slc-wrap .slc-help__logo {
  flex: 0 0 auto;
  width: 120px;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  display: block;
}
@media (max-width: 900px) {
  .slc-wrap .slc-help__logo { width: 100px; max-height: 72px; }
}

/* ============================================================
   v12: Featured e This Week SEM imagem — body ocupa tudo
   ============================================================ */

/* Banner Featured sem foto: corpo e meta dividem a largura toda */
.slc-wrap .slc-featured--noimg { min-height: 150px; }
.slc-wrap .slc-featured--noimg .slc-featured__body { width: 56% !important; }
.slc-wrap .slc-featured--noimg .slc-featured__meta { width: 40% !important; }

/* Card grande do This Week sem foto */
.slc-wrap .slc-week-feature--noimg .slc-week-feature__body {
  padding: 20px 20px 64px !important;
}
/* actions agora alinham a partir da esquerda do card (sem a foto) */
.slc-wrap .slc-week-feature--noimg .slc-wf-actions {
  left: 20px !important;
  right: 20px !important;
  justify-content: flex-end !important;
}

@media (max-width: 900px) {
  .slc-wrap .slc-featured--noimg .slc-featured__body,
  .slc-wrap .slc-featured--noimg .slc-featured__meta { width: 100% !important; }
  .slc-wrap .slc-week-feature--noimg .slc-wf-actions {
    position: relative !important; left: auto !important; right: auto !important;
    padding: 0 16px 16px !important;
  }
}

/* ============================================================
   v13: dias mais "quadrados" + imagens P&B que ganham cor no hover
   ============================================================ */

/* Células mais altas (menos retangulares) */
.slc-wrap.evcal-wrapper .slc-cell { min-height: 150px !important; }

/* Imagem do chip em preto e branco por padrão, com transição suave */
.slc-wrap .slc-event-chip .slc-ph {
  filter: grayscale(1) contrast(.95) brightness(.95);
  transition: filter .35s ease, transform .35s ease;
}
/* Ao passar o mouse / focar o chip, a imagem ganha cor de volta */
.slc-wrap .slc-event-chip:hover .slc-ph,
.slc-wrap .slc-event-chip:focus .slc-ph,
.slc-wrap .slc-event-chip:focus-within .slc-ph {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.04);
}
/* chips sem foto (gradiente) não recebem grayscale */
.slc-wrap .slc-event-chip--nophoto .slc-ph { filter: none !important; transform: none !important; }

/* Ajuste de altura proporcional no mobile (lista não é afetada) */
@media (max-width: 720px) {
  .slc-wrap.evcal-wrapper .slc-cell { min-height: 0 !important; }
}

/* ============================================================
   v13: dias mais "quadrados" + imagens P&B que ganham cor no hover
   ============================================================ */

/* Células mais altas (menos retangulares, mais próximas de quadrado) */
.slc-wrap.evcal-wrapper .slc-cell { min-height: 150px !important; }

/* Imagem do chip levemente dessaturada por padrão (cor visível, só apagada) */
.slc-wrap .slc-event-chip .slc-ph {
  filter: grayscale(0.5);
  transition: filter .35s ease, transform .35s ease;
}

/* Ao passar o mouse no dia/chip: imagem ganha cor + leve zoom */
.slc-wrap .slc-event-chip:hover .slc-ph,
.slc-wrap .slc-cell:hover .slc-event-chip .slc-ph {
  filter: grayscale(0);
  transform: scale(1.04);
}

/* O chip já recorta o overflow do zoom (tem overflow:hidden), mas garantimos */
.slc-wrap .slc-event-chip { overflow: hidden; }

/* Em telas de toque (sem hover), mostra colorido direto — P&B sem cor seria ruim no mobile */
@media (hover: none) {
  .slc-wrap .slc-event-chip .slc-ph { filter: grayscale(0); }
}

/* ============================================================
   v15: CTA "Schedule a Tour" ao lado das abas + links clicáveis
   ============================================================ */

/* Topbar: abas à esquerda, CTA à direita preenchendo o espaço */
.slc-wrap.evcal-wrapper .evcal-topbar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
  margin-bottom: 4px !important;
  width: 100% !important;
}
.slc-wrap.evcal-wrapper .evcal-topbar .evcal-tabs {
  margin-bottom: 0 !important;
  flex: 0 1 auto !important;
  flex-wrap: wrap !important;
}
.slc-wrap.evcal-wrapper .evcal-topbar .evcal-cta {
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

.slc-wrap .evcal-cta {
  display: flex; align-items: center; gap: 16px;
  background: var(--slc-help-bg, #FDEFE3);
  border: 1.5px solid var(--slc-line, #f0d9c8);
  border-radius: 16px; padding: 12px 16px;
  margin-left: auto;
}
.slc-wrap .evcal-cta__text { display: flex; flex-direction: column; line-height: 1.25; }
.slc-wrap .evcal-cta__text strong {
  font-family: "Poppins", sans-serif; font-size: 15px; color: var(--slc-ink, #2b2b2b);
}
.slc-wrap .evcal-cta__text span {
  font-family: "Nunito", sans-serif; font-size: 13px; color: var(--slc-ink-soft, #6b5e56);
}
.slc-wrap .evcal-cta__btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--slc-coral, #E85A3D); color: #fff !important;
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: 14px;
  text-decoration: none; padding: 11px 18px; border-radius: 12px;
  transition: filter .15s ease, transform .15s ease;
}
.slc-wrap .evcal-cta__btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.slc-wrap .evcal-cta__btn .slc-icon { width: 18px; height: 18px; }
.slc-wrap .evcal-cta__btn .slc-icon svg { stroke: #fff; fill: none; }

/* Links de telefone/email no footer herdam a cor (sem azul sublinhado) */
.slc-wrap .slc-help__col .val a { color: inherit; text-decoration: none; }
.slc-wrap .slc-help__col .val a:hover { text-decoration: underline; }

/* Mobile: CTA ocupa a largura toda abaixo das abas */
@media (max-width: 820px) {
  .slc-wrap .evcal-topbar { flex-direction: column; align-items: stretch; }
  .slc-wrap .evcal-cta { margin-left: 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .slc-wrap .evcal-cta__btn { width: 100%; justify-content: center; }
}

/* ============================================================
   v16: cards individuais para a HOME [evento_destaque pos="N"]
   (escopo próprio, fora de .slc-wrap, pois vão na home)
   ============================================================ */
.evcal-home-card {
  position: relative; display: block; overflow: hidden;
  border-radius: 16px; min-height: 150px;
  padding: 0; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #F08A45, #E2591C);
  background-size: cover; background-position: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  font-family: "Nunito", sans-serif;
  transition: transform .2s ease, box-shadow .2s ease;
}
.evcal-home-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.16); }

/* Overlay para legibilidade quando há imagem ao fundo */
.evcal-home-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
  opacity: 0; transition: opacity .2s ease;
}
.evcal-home-card--img .evcal-home-card__overlay { opacity: 1; }

.evcal-home-card__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px; height: 100%;
}
.evcal-home-card__badge {
  align-self: flex-start;
  background: #fff; color: #E2591C;
  font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 4px;
}
.evcal-home-card--img .evcal-home-card__badge { background: #E2591C; color: #fff; }
.evcal-home-card__date { font-size: 13px; opacity: .95; }
.evcal-home-card__title {
  font-family: "Poppins", sans-serif; font-weight: 800; font-size: 22px; line-height: 1.15;
}
.evcal-home-card__loc { font-size: 13.5px; opacity: .92; }

/* ============================================================
   v18: bloco da HOME [programas_home] — board flat
   (foto no topo + lista de eventos + botão)
   ============================================================ */
.sly-cal,.sly-cal *,.sly-cal *::before,.sly-cal *::after{
  box-sizing:border-box !important;
  font-family:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif !important;
}
.sly-cal{
  --c-cream:#f8f3ee;--c-ink:#2a2b3d;--c-body:#60606a;
  --c-orange:#f47a21;--c-orange-deep:#ef6a1c;--c-peach:#fdeede;
  --c-border:#ece3d6;--c-red:#e5414b;
  background:var(--c-cream) !important;color:var(--c-ink) !important;
  overflow:hidden !important;width:100vw !important;max-width:100vw !important;
  margin:0 calc(50% - 50vw) !important;padding:0 !important;
}
.sly-cal h2,.sly-cal h3,.sly-cal p,.sly-cal a,.sly-cal figure,.sly-cal span,.sly-cal b{margin:0;padding:0;border:0;background:none;}
.sly-cal__inner{
  max-width:1280px !important;margin:0 auto !important;
  display:grid !important;grid-template-columns:1fr 1fr !important;
  align-items:center !important;gap:56px !important;padding:56px 40px !important;
}
.sly-cal__media{order:1 !important;position:relative !important;}
.sly-cal__content{order:2 !important;position:relative !important;}

.sly-cal__board{
  background:#fff !important;border:1px solid var(--c-border) !important;
  border-radius:26px !important;overflow:hidden !important;
  box-shadow:0 18px 44px -28px rgba(42,43,61,.35) !important;
}
.sly-cal__photo{
  position:relative !important;width:100% !important;aspect-ratio:16/8 !important;
  background:var(--c-peach) !important;overflow:hidden !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
}
.sly-cal__photo img{width:100% !important;height:100% !important;object-fit:cover !important;display:block !important;}
/* Quando há imagem do evento, ela vence o fundo bege */
.sly-cal__photo--img{
  background-image:var(--sly-photo) !important;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}
.sly-cal__photo-note{font:600 12px/1.4 "Poppins",sans-serif !important;letter-spacing:.08em !important;color:#c39a72 !important;text-transform:uppercase !important;text-align:center !important;}

.sly-cal__board-body{padding:22px 24px 24px !important;}
.sly-cal__board-head{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:12px !important;margin-bottom:16px !important;}
.sly-cal__board-title{display:flex !important;align-items:center !important;gap:9px !important;font-size:15px !important;font-weight:700 !important;color:var(--c-ink) !important;}
.sly-cal__board-title svg{width:18px !important;height:18px !important;color:var(--c-orange) !important;flex:none !important;}
.sly-cal__board-badge{font-size:10.5px !important;font-weight:700 !important;letter-spacing:.08em !important;text-transform:uppercase !important;color:var(--c-orange-deep) !important;background:var(--c-peach) !important;padding:6px 12px !important;border-radius:999px !important;white-space:nowrap !important;}

.sly-cal__events{display:flex !important;flex-direction:column !important;}
.sly-cal__event{display:flex !important;align-items:center !important;gap:14px !important;padding:14px 2px !important;border-top:1px solid var(--c-border) !important;}
.sly-cal__event:first-child{border-top:0 !important;}
.sly-cal__event-date{
  flex:none !important;width:50px !important;height:50px !important;border-radius:14px !important;
  background:var(--c-peach) !important;display:flex !important;flex-direction:column !important;
  align-items:center !important;justify-content:center !important;line-height:1 !important;
}
.sly-cal__event-date b{font-size:19px !important;font-weight:700 !important;color:var(--c-orange-deep) !important;}
.sly-cal__event-date span{font-size:10px !important;font-weight:700 !important;letter-spacing:.08em !important;text-transform:uppercase !important;color:var(--c-orange) !important;margin-top:2px !important;}
.sly-cal__event-info{flex:1 !important;min-width:0 !important;}
.sly-cal__event-info b{display:block !important;font-size:14.5px !important;font-weight:600 !important;color:var(--c-ink) !important;line-height:1.3 !important;}
.sly-cal__event-info span{display:block !important;font-size:12.5px !important;color:var(--c-body) !important;margin-top:2px !important;}
.sly-cal__event-tag{flex:none !important;align-self:flex-start !important;font-size:9.5px !important;font-weight:700 !important;letter-spacing:.08em !important;text-transform:uppercase !important;padding:5px 10px !important;border-radius:999px !important;}
.sly-cal__event-tag--today{background:var(--c-orange) !important;color:#fff !important;}
.sly-cal__event-tag--upcoming{background:#eef0f3 !important;color:#5c6470 !important;}

.sly-cal__board-btn{
  display:flex !important;align-items:center !important;justify-content:center !important;gap:9px !important;
  margin-top:18px !important;width:100% !important;
  background:var(--c-orange-deep) !important;color:#fff !important;
  font-size:12px !important;font-weight:700 !important;letter-spacing:.07em !important;text-transform:uppercase !important;
  text-decoration:none !important;padding:14px 18px !important;border-radius:12px !important;
  transition:background .15s ease !important;
}
.sly-cal__board-btn svg{width:15px !important;height:15px !important;flex:none !important;}
.sly-cal__board-btn:hover{background:#e05f14 !important;}

.sly-cal__eyebrow{display:inline-flex !important;align-items:center !important;font-size:13px !important;font-weight:700 !important;letter-spacing:.13em !important;text-transform:uppercase !important;color:var(--c-orange) !important;margin-bottom:14px !important;}
.sly-cal .sly-cal__title{font-size:clamp(32px,2.9vw,50px) !important;line-height:1.12 !important;font-weight:700 !important;letter-spacing:-0.01em !important;color:var(--c-ink) !important;margin:0 0 18px !important;text-transform:none !important;}
.sly-cal .sly-cal__title .c-accent{color:var(--c-orange) !important;}
.sly-cal .sly-cal__lead{font-size:clamp(16px,1.15vw,18px) !important;line-height:1.7 !important;color:var(--c-body) !important;font-weight:400 !important;margin:0 0 24px !important;max-width:520px !important;}
.sly-cal__cta{display:flex !important;flex-wrap:wrap !important;gap:14px !important;margin-bottom:28px !important;}
.sly-cal .sly-cal__btn{display:inline-flex !important;align-items:center !important;gap:10px !important;font-size:13px !important;font-weight:700 !important;line-height:1 !important;letter-spacing:.07em !important;text-transform:uppercase !important;text-decoration:none !important;padding:16px 26px !important;border-radius:12px !important;cursor:pointer !important;transition:transform .15s ease,background .15s ease,border-color .15s ease !important;}
.sly-cal .sly-cal__btn svg{width:15px !important;height:15px !important;flex:none !important;}
.sly-cal .sly-cal__btn--primary{background:var(--c-orange-deep) !important;color:#fff !important;}
.sly-cal .sly-cal__btn--primary:hover{transform:translateY(-2px) !important;background:#e05f14 !important;}
.sly-cal .sly-cal__btn--ghost{background:#fff !important;color:var(--c-ink) !important;border:1.5px solid var(--c-border) !important;}
.sly-cal .sly-cal__btn--ghost svg{color:var(--c-orange) !important;}
.sly-cal .sly-cal__btn--ghost:hover{transform:translateY(-2px) !important;border-color:var(--c-orange) !important;}
.sly-cal__serving{display:flex !important;align-items:flex-start !important;gap:10px !important;font-size:14px !important;line-height:1.55 !important;color:var(--c-body) !important;max-width:520px !important;}
.sly-cal__serving svg{width:18px !important;height:18px !important;flex:none !important;color:var(--c-orange) !important;margin-top:2px !important;}
.sly-cal__serving strong{color:var(--c-ink) !important;font-weight:700 !important;}

@media (max-width:900px){
  .sly-cal__inner{grid-template-columns:1fr !important;gap:40px !important;padding:48px 22px !important;}
  .sly-cal__content{order:1 !important;}
  .sly-cal__media{order:2 !important;}
}
@media (max-width:560px){
  .sly-cal__cta{flex-direction:column !important;align-items:stretch !important;}
  .sly-cal .sly-cal__btn{justify-content:center !important;}
  .sly-cal__event-tag{display:none !important;}
}
