:root {
  --ink: #071536;
  --navy: #071536;
  --royal: #0b2e9e;
  --cobalt: #1747d1;
  --cyan: #18bfd1;
  --gold: #d5a51b;
  --paper: #f5f7fc;
  --white: #fff;
  --muted: #64708a;
  --line: rgba(7, 21, 54, 0.12);
  --shadow: 0 24px 70px rgba(11, 46, 158, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: white;
  color: var(--royal);
  font-weight: 800;
  padding: 12px 16px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  min-height: 118px;
  align-items: center;
  grid-template-columns: minmax(220px, 330px) 1fr auto;
  gap: clamp(20px, 3vw, 48px);
  width: min(1420px, calc(100% - 64px));
  margin: 0 auto;
}
.brand img { width: min(310px, 100%); height: auto; }
.site-header nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 48px); }
.site-header nav a {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: #16213d;
  font-size: 15px;
  font-weight: 720;
}
.site-header nav a::after {
  position: absolute;
  right: 18%;
  bottom: 3px;
  left: 18%;
  height: 3px;
  border-radius: 999px;
  background: var(--cobalt);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: 160ms ease;
}
.site-header nav a:hover, .site-header nav a.active { color: var(--cobalt); }
.site-header nav a:hover::after, .site-header nav a.active::after { opacity: 1; transform: scaleX(1); }
.header-cta, .button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 850;
  padding: 13px 20px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.header-cta {
  min-width: 190px;
  border-color: #d4a20b;
  background: linear-gradient(135deg, #e7b51c, #c68b00);
  box-shadow: 6px 6px 0 var(--cobalt);
  color: white;
}
.header-cta:hover, .button:hover { transform: translateY(-2px); }
.nav-toggle { display: none; }

.calendar-hero {
  position: relative;
  display: grid;
  min-height: 510px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.7fr);
  gap: clamp(50px, 8vw, 130px);
  width: min(1420px, calc(100% - 64px));
  margin: 16px auto 0;
  overflow: hidden;
  border-radius: 42px;
  background:
    radial-gradient(circle at 78% 30%, rgba(25, 207, 225, 0.94), transparent 26%),
    radial-gradient(circle at 98% 110%, rgba(30, 165, 236, 0.85), transparent 43%),
    linear-gradient(132deg, #082a91 0%, #0b47d4 60%, #0cbacd 100%);
  box-shadow: 0 32px 80px rgba(8, 44, 148, 0.22);
  color: white;
  padding: clamp(48px, 7vw, 96px);
}
.calendar-hero::after {
  position: absolute;
  width: 330px;
  height: 330px;
  right: -110px;
  bottom: -140px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  content: "";
}
.hero-copy, .next-event-card { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero-copy .eyebrow { color: #76f4ff; }
.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-size: clamp(46px, 5.8vw, 82px);
  letter-spacing: -.065em;
  line-height: .98;
}
.hero-copy > p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.77);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button.primary { background: white; box-shadow: 0 16px 35px rgba(0,0,0,.16); color: var(--royal); }
.button.secondary { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.1); color: white; backdrop-filter: blur(10px); }
.next-event-card {
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 29px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 26px 70px rgba(3, 21, 70, .27);
  color: var(--ink);
  padding: 26px;
  transform: rotate(1deg);
}
.next-event-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.next-event-top span { color: var(--cobalt); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.next-event-top i { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 12px; background: #edf2ff; color: var(--cobalt); font-size: 10px; font-style: normal; font-weight: 900; }
.next-event-loading, .next-event-empty { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.next-event-button { display: grid; width: 100%; grid-template-columns: 75px 1fr; gap: 18px; border: 0; background: transparent; color: inherit; padding: 0; text-align: left; }
.next-event-date { display: flex; min-height: 92px; align-items: center; justify-content: center; flex-direction: column; border-radius: 20px; background: linear-gradient(145deg, #0c49d7, #082c94); color: white; }
.next-event-date strong { font-size: 34px; line-height: 1; }
.next-event-date small { margin-top: 6px; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.next-event-copy { display: flex; min-width: 0; align-items: flex-start; flex-direction: column; }
.next-event-copy > .event-dot { position: absolute; }
.next-event-copy > small { margin-left: 17px; color: var(--muted); font-size: 11px; font-weight: 800; }
.next-event-copy > strong { margin: 9px 0; font-size: 20px; line-height: 1.25; }
.next-event-copy > i { color: var(--cobalt); font-size: 11px; font-style: normal; font-weight: 800; }
.event-dot { display: inline-block; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--event-color, var(--cobalt)); }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 430px; height: 430px; top: -210px; left: 43%; }
.orbit-two { width: 540px; height: 540px; right: -160px; top: 50px; }

.calendar-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1210px, calc(100% - 64px));
  margin: -29px auto 0;
  position: relative;
  z-index: 3;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
}
.calendar-trust article { display: flex; align-items: center; gap: 15px; padding: 22px 28px; }
.calendar-trust article + article { border-left: 1px solid var(--line); }
.calendar-trust article > span { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 14px; background: #edf3ff; color: var(--cobalt); font-size: 10px; font-weight: 900; }
.calendar-trust article div { display: flex; flex-direction: column; gap: 4px; }
.calendar-trust strong { font-size: 14px; }
.calendar-trust small { color: var(--muted); font-size: 12px; }

.calendar-section { width: min(1420px, calc(100% - 64px)); margin: 110px auto; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-intro h2, .calendar-help h2 { max-width: 740px; margin: 13px 0 0; font-size: clamp(37px, 4vw, 58px); letter-spacing: -.055em; line-height: 1.05; }
.section-intro > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.calendar-status { margin-bottom: 18px; border: 1px solid rgba(23,71,209,.18); border-radius: 15px; background: #edf3ff; color: #10348d; font-size: 14px; line-height: 1.6; padding: 14px 17px; }
.calendar-status.error { border-color: rgba(190,52,69,.22); background: #fff0f2; color: #9b2434; }
.calendar-status[hidden] { display: none; }
.calendar-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); padding: 25px 28px; }
.month-controls { display: flex; align-items: center; gap: 12px; }
.month-controls > button { display: grid; width: 44px; min-width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); font-weight: 900; }
.month-controls > div { width: 155px; padding-left: 5px; }
.month-controls span { color: var(--cobalt); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.month-controls h3 { margin: 3px 0 0; font-size: 24px; letter-spacing: -.035em; text-transform: capitalize; }
.month-controls .today-button { display: inline-flex; width: auto; padding: 0 15px; }
.toolbar-tools { display: flex; align-items: center; gap: 12px; }
.calendar-search { position: relative; display: block; }
.calendar-search input { width: min(300px, 26vw); min-height: 46px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #f8faff; color: var(--ink); font-size: 14px; padding: 11px 42px 11px 15px; }
.calendar-search input:focus { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(23,71,209,.09); }
.calendar-search i { position: absolute; top: 50%; right: 15px; color: var(--cobalt); font-size: 21px; font-style: normal; transform: translateY(-52%); }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 13px; background: #f8faff; padding: 4px; }
.view-toggle button { min-height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 850; padding: 7px 12px; }
.view-toggle button.active { background: white; box-shadow: 0 4px 12px rgba(7,21,54,.1); color: var(--cobalt); }
.category-filters { display: flex; overflow-x: auto; gap: 9px; border-bottom: 1px solid var(--line); padding: 16px 28px; scrollbar-width: thin; }
.category-filters button { display: inline-flex; min-height: 38px; flex: none; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: 12px; font-weight: 800; padding: 8px 13px; }
.category-filters button i { width: 9px; height: 9px; border-radius: 50%; background: var(--category-color); }
.category-filters button.active { border-color: rgba(23,71,209,.3); background: #edf3ff; color: var(--cobalt); }
.calendar-grid.loading, .calendar-list.loading { opacity: .48; pointer-events: none; }
.weekday-row { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line); background: #f8faff; }
.weekday-row span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; padding: 13px 14px; text-transform: uppercase; }
.month-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-day { min-width: 0; min-height: 150px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 11px; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day:nth-last-child(-n+7) { border-bottom: 0; }
.calendar-day.outside { background: #fafbfe; color: #9aa2b5; }
.calendar-day.today { background: linear-gradient(150deg, #f4f7ff, white); box-shadow: inset 0 0 0 2px rgba(23,71,209,.18); }
.day-number { display: flex; min-height: 28px; align-items: center; justify-content: space-between; }
.day-number > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 10px; font-size: 12px; font-weight: 850; }
.today .day-number > span { background: var(--cobalt); color: white; }
.day-number small { color: var(--cobalt); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.day-events { display: grid; gap: 5px; margin-top: 6px; }
.day-event { position: relative; display: flex; min-width: 0; min-height: 31px; align-items: flex-start; flex-direction: column; gap: 1px; overflow: hidden; border: 0; border-radius: 8px; background: color-mix(in srgb, var(--event-color) 11%, white); color: var(--ink); padding: 5px 7px 5px 10px; text-align: left; }
.day-event::before { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--event-color); content: ""; }
.day-event span { color: var(--muted); font-size: 8px; font-weight: 750; }
.day-event strong { max-width: 100%; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.day-event.status-cancelled { opacity: .58; text-decoration: line-through; }
.more-events { border: 0; background: transparent; color: var(--cobalt); font-size: 9px; font-weight: 850; padding: 3px 4px; text-align: left; }

.calendar-list { padding: 15px 28px 30px; }
.list-day { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 23px 0; }
.list-day + .list-day { border-top: 1px solid var(--line); }
.list-date { display: flex; align-items: center; gap: 10px; }
.list-date > strong { font-size: 38px; letter-spacing: -.055em; }
.list-date > span { display: flex; flex-direction: column; color: var(--cobalt); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.list-date small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: capitalize; }
.list-events { display: grid; gap: 9px; }
.list-event { display: grid; min-width: 0; align-items: center; grid-template-columns: 4px 1fr 32px; gap: 15px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); padding: 15px; text-align: left; }
.list-event:hover { border-color: rgba(23,71,209,.3); box-shadow: 0 10px 25px rgba(11,46,158,.08); }
.list-event.status-cancelled { opacity: .64; }
.list-event-color { width: 4px; align-self: stretch; border-radius: 999px; background: var(--event-color); }
.list-event > div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.list-event div > span { color: var(--cobalt); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.list-event div > strong { font-size: 15px; }
.list-event div > small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.list-event > i { color: var(--cobalt); font-style: normal; font-weight: 900; }
.calendar-empty { display: grid; min-height: 300px; place-items: center; align-content: center; text-align: center; }
.calendar-empty > span { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 17px; background: #edf3ff; color: var(--cobalt); font-size: 10px; font-weight: 900; }
.calendar-empty h3 { margin: 17px 0 6px; font-size: 22px; }
.calendar-empty p { margin: 0; color: var(--muted); font-size: 14px; }

.calendar-help { display: flex; min-height: 310px; align-items: center; justify-content: space-between; gap: 50px; width: min(1420px, calc(100% - 64px)); margin: 0 auto 90px; overflow: hidden; border-radius: 34px; background: var(--navy); color: white; padding: clamp(38px, 6vw, 78px); }
.calendar-help h2 { max-width: 690px; }
.calendar-help p { max-width: 650px; margin: 17px 0 0; color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.7; }
.help-actions { display: flex; min-width: 260px; align-items: center; flex-direction: column; gap: 17px; }
.button.whatsapp { width: 100%; background: #19a96b; color: white; }
.text-link { color: #7debf5; font-size: 13px; font-weight: 800; }

footer { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; width: min(1420px, calc(100% - 64px)); margin: 0 auto; border-top: 1px solid var(--line); padding: 55px 0 65px; }
footer > div { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.footer-brand img { width: 245px; height: auto; }
.footer-brand p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
footer strong { margin-bottom: 5px; color: var(--cobalt); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
footer a, footer span { color: var(--muted); font-size: 13px; line-height: 1.5; }
footer a:hover { color: var(--cobalt); }

.event-dialog { width: min(720px, calc(100% - 30px)); max-height: calc(100vh - 30px); overflow: visible; border: 0; border-radius: 28px; background: transparent; padding: 0; }
.event-dialog::backdrop { background: rgba(4,14,40,.72); backdrop-filter: blur(8px); }
.event-dialog-frame { position: relative; max-height: calc(100vh - 30px); overflow-y: auto; border-radius: 28px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.32); padding: clamp(28px, 5vw, 52px); }
.dialog-close { position: absolute; top: 18px; right: 18px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); font-size: 25px; }
.event-detail-category { display: flex; align-items: center; gap: 9px; padding-right: 60px; }
.event-detail-category > span { color: var(--cobalt); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.event-detail-category > i { border-radius: 999px; background: #edf3ff; color: var(--cobalt); font-size: 9px; font-style: normal; font-weight: 900; padding: 6px 9px; text-transform: uppercase; }
.event-detail-category > i.status-cancelled { background: #fff0f2; color: #a8293a; }
.event-detail-category > i.status-postponed { background: #fff6d8; color: #886400; }
.event-detail h2 { margin: 19px 0 11px; font-size: clamp(34px, 5vw, 50px); letter-spacing: -.055em; line-height: 1.04; }
.event-summary { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.event-detail dl { display: grid; gap: 12px; margin: 28px 0; }
.event-detail dl div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; border-radius: 14px; background: #f7f9ff; padding: 14px 16px; }
.event-detail dt { color: var(--muted); font-size: 11px; font-weight: 800; }
.event-detail dd { margin: 0; font-size: 13px; font-weight: 750; line-height: 1.55; }
.event-description { border-top: 1px solid var(--line); color: #35415c; font-size: 14px; line-height: 1.75; padding-top: 24px; }
.cancelled-note { border: 1px solid rgba(190,52,69,.2); border-radius: 14px; background: #fff0f2; color: #992638; font-size: 13px; line-height: 1.6; padding: 14px 16px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.event-actions .button.primary { background: var(--cobalt); color: white; }
.event-actions .button.secondary { border-color: var(--line); background: white; color: var(--cobalt); }
.event-actions .button.register { width: 100%; background: #eaf9f3; color: #08744d; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 230px 1fr auto; }
  .site-header nav { gap: 20px; }
  .site-header nav a { font-size: 13px; }
  .header-cta { min-width: auto; }
  .calendar-hero { grid-template-columns: 1fr .68fr; gap: 45px; padding: 60px; }
  .hero-copy h1 { font-size: clamp(48px, 6vw, 70px); }
  .calendar-toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-tools { justify-content: space-between; }
  .calendar-search { flex: 1; }
  .calendar-search input { width: 100%; }
  .calendar-day { min-height: 135px; }
}

@media (max-width: 900px) {
  .site-header { min-height: 95px; grid-template-columns: 220px 1fr auto; width: min(100% - 36px, 1420px); }
  .nav-toggle { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; justify-self: end; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font-size: 12px; font-weight: 850; padding: 10px 15px; }
  .site-header nav { position: absolute; top: 83px; right: 18px; left: 18px; display: none; align-items: stretch; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); padding: 12px; }
  .site-header nav.open { display: flex; }
  .site-header nav a { min-height: 44px; border-radius: 10px; padding: 10px 14px; }
  .site-header nav a::after { display: none; }
  .site-header nav a.active { background: #edf3ff; }
  .header-cta { display: none; }
  .calendar-hero { min-height: auto; grid-template-columns: 1fr; width: calc(100% - 36px); border-radius: 32px; padding: 60px 46px; }
  .hero-copy { max-width: 720px; }
  .next-event-card { max-width: 550px; transform: none; }
  .calendar-trust { width: calc(100% - 70px); }
  .calendar-trust article { padding: 19px; }
  .calendar-section, .calendar-help, footer { width: calc(100% - 36px); }
  .section-intro { align-items: flex-start; flex-direction: column; }
  .calendar-grid { overflow-x: auto; }
  .weekday-row, .month-days { min-width: 870px; }
  .calendar-help { align-items: flex-start; flex-direction: column; }
  .help-actions { width: min(420px, 100%); align-items: flex-start; }
  footer { grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .site-header { grid-template-columns: minmax(185px, 230px) auto; }
  .brand img { width: 220px; }
  .calendar-hero { margin-top: 6px; padding: 46px 26px; }
  .hero-copy h1 { font-size: clamp(42px, 13vw, 61px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .next-event-card { padding: 21px; }
  .next-event-button { grid-template-columns: 65px 1fr; }
  .next-event-date { min-height: 82px; }
  .next-event-copy > strong { font-size: 17px; }
  .calendar-trust { grid-template-columns: 1fr; width: calc(100% - 54px); }
  .calendar-trust article + article { border-top: 1px solid var(--line); border-left: 0; }
  .calendar-trust article { padding: 17px; }
  .calendar-section { margin: 82px auto; }
  .section-intro h2, .calendar-help h2 { font-size: 39px; }
  .section-intro > p { font-size: 15px; }
  .calendar-shell { border-radius: 22px; }
  .calendar-toolbar { padding: 20px; }
  .month-controls { display: grid; grid-template-columns: 44px 1fr 44px; width: 100%; }
  .month-controls > div { width: auto; text-align: center; }
  .month-controls .today-button { grid-column: 1 / -1; width: 100%; }
  .toolbar-tools { align-items: stretch; flex-direction: column; }
  .view-toggle { display: grid; grid-template-columns: 1fr 1fr; }
  .category-filters { padding: 14px 20px; }
  .calendar-list { padding: 7px 20px 25px; }
  .list-day { grid-template-columns: 64px 1fr; gap: 12px; padding: 20px 0; }
  .list-date { align-items: flex-start; flex-direction: column; gap: 0; }
  .list-date > strong { font-size: 34px; }
  .list-event { grid-template-columns: 4px 1fr; padding: 13px; }
  .list-event > i { display: none; }
  .list-event div > small { max-width: 55vw; }
  .calendar-help { margin-bottom: 60px; padding: 42px 26px; }
  footer { grid-template-columns: 1fr 1fr; padding: 40px 0 50px; }
  .footer-brand { grid-column: 1 / -1; }
  .event-dialog-frame { padding: 34px 22px 26px; }
  .event-detail h2 { font-size: 37px; padding-right: 25px; }
  .event-detail dl div { grid-template-columns: 1fr; gap: 5px; }
  .event-actions { align-items: stretch; flex-direction: column; }
  .event-actions .button { width: 100%; }
}

@media (max-width: 480px) {
  .site-header { width: calc(100% - 24px); }
  .brand img { width: 188px; }
  .nav-toggle { padding: 9px 12px; }
  .calendar-hero, .calendar-section, .calendar-help, footer { width: calc(100% - 24px); }
  .calendar-hero { border-radius: 26px; padding: 40px 20px; }
  .hero-copy h1 { font-size: 42px; }
  .calendar-trust { width: calc(100% - 36px); }
  .calendar-toolbar, .category-filters { padding-right: 15px; padding-left: 15px; }
  .calendar-list { padding-right: 14px; padding-left: 14px; }
  .list-day { grid-template-columns: 52px 1fr; }
  .list-event div > small { max-width: 52vw; }
  footer { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
