/* A readable agenda first; the month grid is an optional date picker. */
body .difi-agenda {
  --agenda-ink: #092f3d;
  --agenda-muted: #536969;
  --agenda-line: #dddcd2;
  --agenda-paper: #f6f2e9;
  --agenda-action: #cb461d;
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid var(--agenda-line);
  border-top: 4px solid var(--agenda-action);
  border-radius: 18px;
  color: var(--agenda-ink);
  background: #fffdf8;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 12px 35px rgb(9 47 61 / 4%);
}
body .difi-agenda *, body .difi-agenda *::before, body .difi-agenda *::after { box-sizing: border-box; }
body .difi-agenda [hidden] { display: none !important; }
body .difi-agenda a { color: var(--agenda-ink); text-decoration: none; }
body .difi-agenda :is(a, button, select, summary):focus-visible {
  outline: 3px solid #087c9a;
  outline-offset: 4px;
  border-radius: 5px;
}
body .difi-agenda .difi-agenda__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: 0;
}
body .difi-agenda .difi-agenda__header small {
  display: block;
  margin: 0 0 4px;
  color: #a63a1b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}
body .difi-agenda .difi-agenda__header h2 {
  margin: 0;
  padding: 0;
  color: var(--agenda-ink);
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(28px, 3.1vw, 36px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em;
  text-transform: none;
}
body .difi-agenda .difi-agenda__months { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
body .difi-agenda .difi-agenda__months a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--agenda-line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
body .difi-agenda .difi-agenda__months a:hover { border-color: #8eaba8; background: #edf3ef; }
body .difi-agenda .difi-agenda__tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
}
body .difi-agenda [data-agenda-filter] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0;
  color: var(--agenda-muted);
  font-size: 13px;
  font-weight: 600;
}
body .difi-agenda select[data-agenda-sport] {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 30px 8px 12px;
  border: 1px solid var(--agenda-line);
  border-radius: 8px;
  background-color: #fff;
  color: var(--agenda-ink);
  font: inherit;
  font-size: 14px;
}
body .difi-agenda [data-agenda-reset] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #a63a1b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body .difi-agenda [data-agenda-count] {
  margin: 12px 0;
  padding: 0;
  color: var(--agenda-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
body .difi-agenda .difi-agenda__calendar {
  width: min(100%, 420px);
  margin: 10px 0 16px;
  padding: 0;
  border: 1px solid var(--agenda-line);
  border-radius: 10px;
  background: #fff;
  overflow: visible;
}
body .difi-agenda .difi-agenda__calendar > summary {
  min-height: 44px;
  padding: 11px 14px;
  color: var(--agenda-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}
body .difi-agenda .difi-agenda__calendar[open] > summary { border-bottom: 1px solid var(--agenda-line); }
body .difi-agenda .difi-agenda__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  margin: 0;
  padding: 8px;
}
body .difi-agenda .difi-agenda__grid > span {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 4px 0;
  color: var(--agenda-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
body .difi-agenda .difi-agenda__grid [data-agenda-day] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 6px 2px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--agenda-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
body .difi-agenda .difi-agenda__grid [data-agenda-day].is-outside { color: #697d7a; background: #faf9f5; }
body .difi-agenda .difi-agenda__grid [data-agenda-day].is-today { border-color: var(--agenda-action); }
body .difi-agenda .difi-agenda__grid [data-agenda-day].has-events { font-weight: 800; }
body .difi-agenda .difi-agenda__grid [data-agenda-day] > i {
  position: absolute;
  bottom: 5px;
  left: calc(50% - 2px);
  display: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--agenda-action);
}
body .difi-agenda .difi-agenda__grid [data-agenda-day].has-events > i { display: block; }
body .difi-agenda .difi-agenda__grid [data-agenda-day]:hover { background: #edf3ef; border-color: #bed1c8; }
body .difi-agenda .difi-agenda__grid [data-agenda-day].is-selected { background: var(--agenda-ink); color: #fff; border-color: var(--agenda-ink); }
body .difi-agenda .difi-agenda__grid [data-agenda-day].is-selected > i { background: #ffa486; }
body .difi-agenda .difi-agenda__list { display: grid; gap: 8px; width: 100%; margin: 0; padding: 0; }
body .difi-agenda .difi-agenda__event {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid var(--agenda-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}
body .difi-agenda .difi-agenda__event:hover,
body .difi-agenda .difi-agenda__event:focus-within { border-color: #92b0a9; background: #fcfdfb; }
body .difi-agenda .difi-agenda__date {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  align-self: start;
  min-height: 66px;
  padding: 9px 4px;
  border-radius: 8px;
  color: var(--agenda-ink);
  background: #edf3ef;
  text-align: center;
  line-height: 1.1;
}
body .difi-agenda .difi-agenda__date time { display: flex; flex-direction: column; gap: 2px; }
body .difi-agenda .difi-agenda__date b { display: block; color: var(--agenda-action); font-size: 28px; font-weight: 800; line-height: 1; }
body .difi-agenda .difi-agenda__date span { display: block; color: var(--agenda-ink); font-size: 11px; font-weight: 800; line-height: 1.4; text-transform: uppercase; }
body .difi-agenda .difi-agenda__date small { font-size: 10px; line-height: 1.3; }
body .difi-agenda .difi-agenda__info { min-width: 0; }
body .difi-agenda .difi-agenda__labels { display: flex; flex-wrap: wrap; gap: 5px 8px; margin: 0 0 2px; color: #4c6563; font-size: 10px; font-weight: 800; letter-spacing: .05em; line-height: 1.4; text-transform: uppercase; }
body .difi-agenda .difi-agenda__labels > :is(span, small) { margin: 0; padding: 0; font: inherit; }
body .difi-agenda .difi-agenda__labels :is(.is-cancelled, .is-canceled, [data-status='cancelado']) { color: #a73224; }
body .difi-agenda .difi-agenda__labels .is-ongoing { color: #246246; }
body .difi-agenda .difi-agenda__info h3 { margin: 0; padding: 0; color: var(--agenda-ink); font-family: inherit; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; text-transform: none; overflow-wrap: anywhere; }
body .difi-agenda .difi-agenda__info h3 a { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 44px; color: inherit; line-height: inherit; }
body .difi-agenda .difi-agenda__info h3 a:hover { color: #a63a1b; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body .difi-agenda .difi-agenda__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 1px 0 0; padding: 0; color: var(--agenda-muted); font-size: 13px; font-weight: 400; line-height: 1.45; overflow-wrap: anywhere; }
body .difi-agenda .difi-agenda__meta > span { min-width: 0; }
body .difi-agenda .difi-agenda__meta > span + span::before { content: '·'; display: inline-block; margin-right: 10px; color: #80918a; font-weight: 700; }
body .difi-agenda .difi-agenda__open { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid #e6d4c4; border-radius: 50%; background: #fff5eb; color: #a63a1b; font-size: 23px; font-weight: 500; line-height: 1; }
body .difi-agenda .difi-agenda__open:hover { background: var(--agenda-action); color: #fff; border-color: var(--agenda-action); }
body .difi-agenda .difi-agenda__past { margin: 16px 0 0; padding: 0; border: 0; background: transparent; }
body .difi-agenda .difi-agenda__past > summary { min-height: 44px; padding: 10px 0; color: var(--agenda-muted); font-size: 13px; font-weight: 700; line-height: 1.5; cursor: pointer; }
body .difi-agenda .difi-agenda__past[open] > summary { margin-bottom: 6px; }
body .difi-agenda .difi-agenda__past .difi-agenda__date { background: #f2f1eb; }
body .difi-agenda .difi-agenda__past .difi-agenda__date b { color: #617570; }
body .difi-agenda .difi-agenda__empty { margin: 10px 0; padding: 20px; border: 1px dashed #c2cec4; border-radius: 10px; color: var(--agenda-muted); background: #fafaf4; font-size: 14px; line-height: 1.5; }
@media (max-width: 600px) {
  body .difi-agenda { padding: 16px 12px; border-radius: 13px; }
  body .difi-agenda .difi-agenda__header { gap: 12px; margin-bottom: 10px; }
  body .difi-agenda .difi-agenda__header > div { width: 100%; }
  body .difi-agenda .difi-agenda__months { width: 100%; }
  body .difi-agenda .difi-agenda__months a { flex: 1 1 auto; padding: 8px 9px; font-size: 12px; }
  body .difi-agenda .difi-agenda__tools { gap: 2px 12px; }
  body .difi-agenda [data-agenda-filter] { flex: 1 1 170px; }
  body .difi-agenda select[data-agenda-sport] { flex: 1; width: 0; min-width: 0; font-size: 16px; }
  body .difi-agenda .difi-agenda__event { grid-template-columns: 50px minmax(0, 1fr); gap: 10px; padding: 12px 10px; }
  body .difi-agenda .difi-agenda__date { min-height: 60px; padding: 9px 3px; }
  body .difi-agenda .difi-agenda__date b { font-size: 25px; }
  body .difi-agenda .difi-agenda__date span { font-size: 10px; }
  body .difi-agenda .difi-agenda__info h3 { font-size: 17px; line-height: 1.35; }
  body .difi-agenda .difi-agenda__info h3 a { min-height: 44px; }
  body .difi-agenda .difi-agenda__meta { gap: 3px 10px; font-size: 12px; }
  body .difi-agenda .difi-agenda__meta > span + span::before { margin-right: 8px; }
  body .difi-agenda .difi-agenda__open { display: none; }
  body .difi-agenda .difi-agenda__grid { padding: 6px; gap: 1px; }
  body .difi-agenda .difi-agenda__grid [data-agenda-day] { min-height: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  body .difi-agenda :is(.difi-agenda__event, .difi-agenda__months a, .difi-agenda__open) { transition: background-color .15s ease, border-color .15s ease; }
}

body.difi-agenda-page .di-page-hero{min-height:0!important;padding:28px max(20px,calc((100vw - 1120px)/2))!important}body.difi-agenda-page .di-page-hero h1{font-size:clamp(32px,4vw,48px)!important;margin:0 0 10px!important;padding:0!important}body.difi-agenda-page .di-page-hero p{margin:0!important;padding:0!important;font-size:15px!important}body.difi-agenda-page .di-page-hero .di-hero-cta{margin-top:14px!important;padding:10px 16px!important;min-height:44px!important}body.difi-agenda-page .di-calendar-section{padding:24px 16px!important}body .difi-agenda-ads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1120px;margin:24px auto}body .difi-agenda-ads .di-ad-slot{position:static!important;min-height:0!important;width:auto!important;margin:0!important}body .difi-agenda-ads .di-ad-slot img{max-height:180px!important;width:100%!important;object-fit:contain!important}body .difi-agenda-ads .di-ad-empty{display:none!important}@media(max-width:600px){body.difi-agenda-page .di-page-hero{padding:22px 18px!important}body .difi-agenda-ads{grid-template-columns:1fr}}
