/* ARCA Eventos — landing (single) e agenda (/eventos). Cores e fonte vêm de variáveis da série. */

.ae {
  --ae-c1: #5F0FB4; --ae-c2: #3D059A; --ae-c3: #F28844; --ae-bg: #0B0A3F;
  --ae-g1: #F28844; --ae-g2: #DC6577; --ae-g3: #7A1FE0;
  --ae-font: 'Grift Regular', 'Grift', Helvetica, Arial, sans-serif;
  --ae-font-bold: 'Grift Extra Bold', 'Grift', Helvetica, Arial, sans-serif;
  --ae-font-semi: 'Grift Semi Bold', 'Grift', Helvetica, Arial, sans-serif;
  --ae-ink: #14122E; --ae-muted: #5C5878; --ae-line: #E6E2F2; --ae-soft: #F6F4FB;
  --ae-grad: linear-gradient(90deg, var(--ae-g1), var(--ae-g2) 45%, var(--ae-g3));
  --ae-radius: 18px;
  font-family: var(--ae-font);
  color: var(--ae-ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}
.ae *, .ae *::before, .ae *::after { box-sizing: border-box; }
.ae h1, .ae h2, .ae h3 { font-family: var(--ae-font-bold); font-weight: 800; color: inherit; padding: 0; margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
.ae p { padding: 0; margin: 0; }
.ae img { max-width: 100%; height: auto; display: block; }
.ae a { color: inherit; }
.ae-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.ae-narrow { max-width: 860px; }
.ae-kicker { font-family: var(--ae-font-semi); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ae-c1); margin-bottom: 14px !important; }
.ae-grad-text { background: var(--ae-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ae-tag { display: inline-block; font-family: var(--ae-font-semi); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ae-c1); background: color-mix(in srgb, var(--ae-c1) 10%, #fff); border-radius: 999px; padding: 4px 12px; margin-bottom: 8px; }
.ae-tag:empty { display: none; }
.ae-link { font-family: var(--ae-font-semi); color: var(--ae-c1) !important; text-decoration: none; }
.ae-link:hover { text-decoration: underline; }

/* botões */
.ae-btn, .ae .wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ae-font-bold); font-size: 16px; line-height: 1; letter-spacing: .01em;
  color: #fff !important; text-decoration: none; cursor: pointer;
  padding: 17px 30px; border: 0; border-radius: 999px;
  background: var(--ae-grad); background-size: 140% 100%; background-position: 0 0;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--ae-g3) 70%, transparent);
  transition: background-position .4s ease, transform .2s ease;
}
.ae-btn:hover, .ae .wpcf7-submit:hover { background-position: 100% 0; transform: translateY(-1px); }
.ae-btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.ae-btn--ghost:hover { background: rgba(255,255,255,.1); }
.ae-badge { display: inline-block; font-family: var(--ae-font-semi); font-size: 15px; padding: 14px 22px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

/* ---------- HERO ---------- */
.ae-hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff; padding: 28px 0 72px;
  background:
    radial-gradient(1100px 600px at 85% -10%, color-mix(in srgb, var(--ae-g3) 70%, transparent), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, color-mix(in srgb, var(--ae-c2) 80%, transparent), transparent 60%),
    var(--ae-bg-img, none) center / cover no-repeat,
    var(--ae-bg);
}
.ae-hero::after { /* linhas finas do grafismo */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background:
    radial-gradient(circle at 100% 0, transparent 54%, color-mix(in srgb, var(--ae-g3) 70%, transparent) 54.2%, transparent 54.5%),
    radial-gradient(circle at 0 100%, transparent 44%, color-mix(in srgb, var(--ae-g3) 60%, transparent) 44.2%, transparent 44.5%);
}
.ae-hero__graf { position: absolute; z-index: -1; right: -6%; bottom: -8%; width: min(760px, 75vw); opacity: .9; pointer-events: none; }
.ae-hero__in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ae-hero__top { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
.ae-hero__logo { display: block; text-decoration: none; }
.ae-hero__logo img { height: 64px; width: auto; }
.ae-hero__logo span { font-family: var(--ae-font-bold); font-size: 26px; color: #fff; }
.ae-hero__selo { font-family: var(--ae-font); font-size: 24px; line-height: 1.05; text-align: right; color: #fff; }
.ae-hero__selo em { font-family: var(--ae-font-semi); font-style: italic; }

.ae-hero__people { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 900px; }
.ae-hero__people.ae-n1 { grid-template-columns: minmax(0, 300px); justify-content: center; }
.ae-hero__people.ae-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ae-hero__people li { display: flex; flex-direction: column; align-items: center; }
.ae-hero__people strong { font-family: var(--ae-font-bold); font-size: 18px; line-height: 1.1; margin-top: 12px; }
.ae-hero__people small { font-size: 13px; line-height: 1.35; opacity: .85; margin-top: 4px; white-space: pre-line; }
.ae-avatar { position: relative; display: block; width: 100%; max-width: 190px; aspect-ratio: 1; border-radius: 50%; padding: 4px; background: var(--ae-grad); }
.ae-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--ae-c2); }
.ae-avatar__ini { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ae-c2); color: #fff; font-family: var(--ae-font-bold); font-size: 48px; }

.ae-hero__title { font-size: clamp(34px, 7.4vw, 72px); text-transform: uppercase; max-width: 20ch; color: #fff; text-wrap: balance; }
.ae-previa { font-size: 13px; background: #FFF4D6; color: #7A5300; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px !important; }
.ae-hero__sub { font-size: clamp(17px, 2.2vw, 22px); line-height: 1.4; margin-top: 16px !important; max-width: 40ch; color: rgba(255,255,255,.86); }
.ae-chips { display: inline-flex; margin-top: 28px; border-radius: 4px; overflow: hidden; }
.ae-chip { font-size: clamp(22px, 3.4vw, 34px); line-height: 1; padding: 16px 28px; color: #fff; }
.ae-chip b { font-family: var(--ae-font-bold); }
.ae-chip--a { background: color-mix(in srgb, var(--ae-c2) 85%, #000); }
.ae-chip--b { background: var(--ae-c1); }
.ae-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.ae-hero__where { margin-top: 18px !important; font-size: 15px; color: rgba(255,255,255,.7); }

/* ---------- SEÇÕES ---------- */
.ae-sec { padding: 80px 0; }
.ae-sec:nth-of-type(even) { background: var(--ae-soft); }
.ae-prose { font-size: 19px; line-height: 1.7; color: #2B2845; }
.ae-prose p + p { margin-top: 1em !important; }

.ae-people__grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.ae-person { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); padding: 22px; }
.ae-person .ae-avatar { max-width: 96px; padding: 3px; }
.ae-person h3 { font-size: 22px; }
.ae-person__role { font-family: var(--ae-font-semi); font-size: 15px; color: var(--ae-muted); margin-top: 4px !important; }
.ae-person__bio { font-size: 15px; line-height: 1.6; color: #3B3858; margin-top: 10px !important; }

.ae-prog__list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ae-line); }
.ae-prog__item { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 0 0 30px 24px; }
.ae-prog__item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ae-grad); box-shadow: 0 0 0 4px #fff; }
.ae-sec:nth-of-type(even) .ae-prog__item::before { box-shadow: 0 0 0 4px var(--ae-soft); }
.ae-prog__time { font-family: var(--ae-font-bold); font-size: 18px; color: var(--ae-c1); line-height: 1.2; }
.ae-prog__time small { display: block; font-family: var(--ae-font); font-size: 13px; color: var(--ae-muted); }
.ae-prog__body h3 { font-size: 20px; line-height: 1.25; }
.ae-prog__body p { font-size: 15px; color: var(--ae-muted); margin-top: 6px !important; }

.ae-local__card { display: grid; gap: 28px; padding: 36px; border-radius: 24px; background: #fff; border: 1px solid var(--ae-line); }
.ae-local__card h2 { font-size: clamp(24px, 3vw, 34px); }
.ae-local__time { font-size: 20px; color: var(--ae-muted); margin-top: 6px !important; }
.ae-local__card h3 { font-size: 22px; margin-bottom: 6px; }
.ae-local__card p { color: #3B3858; margin-bottom: 12px !important; }

/* inscrição */
.ae-insc { color: #fff; background: radial-gradient(800px 500px at 100% 0, color-mix(in srgb, var(--ae-g3) 55%, transparent), transparent 60%), var(--ae-bg) !important; }
.ae-insc .ae-kicker { color: var(--ae-g1); }
.ae-insc__in { display: grid; gap: 36px; align-items: start; }
.ae-insc__txt h2 { font-size: clamp(30px, 4.4vw, 48px); }
.ae-insc__facts { list-style: none; margin: 22px 0 0; padding: 0; }
.ae-insc__facts li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px; color: rgba(255,255,255,.88); }
.ae-insc__vagas { display: inline-block; margin-top: 18px !important; font-family: var(--ae-font-semi); color: var(--ae-g1); }
.ae-insc__box { background: #fff; color: var(--ae-ink); border-radius: 24px; padding: 30px 26px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); }
.ae-insc__box h3 { font-size: 24px; }
.ae-insc__box > p { margin-top: 8px !important; color: var(--ae-muted); }
.ae-insc__box .ae-btn { margin-top: 18px; }
.ae-insc__hint { font-size: 14px; color: var(--ae-muted); margin: 6px 0 18px !important; }

/* formulário CF7 */
.ae-form__row { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
.ae-form__field { margin-bottom: 16px; }
.ae-form label { display: block; font-family: var(--ae-font-semi); font-size: 14px; color: var(--ae-ink); }
.ae-req { color: var(--ae-g2); }
.ae .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.ae .ae-form input[type=text], .ae .ae-form input[type=email], .ae .ae-form input[type=tel], .ae .ae-form select {
  width: 100%; font-family: var(--ae-font); font-size: 16px; color: var(--ae-ink);
  padding: 14px 16px; border: 1.5px solid var(--ae-line); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.ae .ae-form select { background-image: linear-gradient(45deg, transparent 50%, var(--ae-muted) 50%), linear-gradient(135deg, var(--ae-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.ae .ae-form input:focus, .ae .ae-form select:focus { outline: 0; border-color: var(--ae-c1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ae-c1) 15%, transparent); }
.ae .wpcf7-not-valid { border-color: #D93A5B !important; }
.ae .wpcf7-not-valid-tip { font-size: 13px; color: #D93A5B; margin-top: 6px; }
.ae-form__consent { margin: 4px 0 20px; font-size: 15px; }
.ae-form__consent .wpcf7-list-item { margin: 0; }
.ae-form__consent label { display: flex; gap: 10px; align-items: flex-start; font-family: var(--ae-font); font-size: 15px; cursor: pointer; }
.ae-form__consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ae-c1); flex: none; }
.ae .wpcf7-submit { width: 100%; }
.ae .wpcf7-spinner { display: block; margin: 12px auto 0; }
.ae .wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; font-size: 15px; border-width: 1.5px; }
.ae .wpcf7 form.sent .wpcf7-response-output { border-color: #1E9E6A; background: #EAF8F1; color: #0F5C3D; }
.ae .wpcf7 form.sent .ae-form { display: none; }

/* patrocínio e galeria */
.ae-spons__group + .ae-spons__group { margin-top: 40px; }
.ae-spons__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; }
.ae-spons__list img { max-height: 56px; width: auto; }
.ae-spons__list span { font-family: var(--ae-font-bold); font-size: 20px; }
.ae-gal__grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.ae-gal__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* rodapé da landing */
.ae-foot { background: var(--ae-bg); color: rgba(255,255,255,.75); padding: 28px 0; font-size: 14px; }
.ae-foot__in { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.ae-foot a { color: #fff; text-decoration: none; }
.ae-foot__brand { font-family: var(--ae-font-semi); }
.ae-foot__nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* layout "claro" */
.ae-layout-claro .ae-hero { color: var(--ae-ink); background: linear-gradient(180deg, color-mix(in srgb, var(--ae-c1) 8%, #fff), #fff); }
.ae-layout-claro .ae-hero::after { opacity: .12; }
.ae-layout-claro .ae-hero__title, .ae-layout-claro .ae-hero__logo span, .ae-layout-claro .ae-hero__selo { color: var(--ae-ink); }
.ae-layout-claro .ae-hero__sub, .ae-layout-claro .ae-hero__where { color: var(--ae-muted); }
.ae-layout-claro .ae-btn--ghost { color: var(--ae-c1) !important; box-shadow: inset 0 0 0 2px var(--ae-c1); }
.ae-layout-claro .ae-badge { color: var(--ae-c1); background: color-mix(in srgb, var(--ae-c1) 10%, #fff); box-shadow: none; }

/* landing sem menu do site: some com cabeçalho/rodapé do Divi caso o tema injete */
body.ae-standalone #main-header, body.ae-standalone #top-header, body.ae-standalone #main-footer { display: none !important; }
body.ae-standalone #page-container { padding-top: 0 !important; }

@media (min-width: 640px) {
  .ae-hero__people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ae-hero__people.ae-n2 { grid-template-columns: repeat(2, minmax(0, 240px)); justify-content: center; }
  .ae-hero__people.ae-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ae-hero__people.ae-n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ae-form__row { grid-template-columns: 1fr 1fr; }
  .ae-gal__grid { grid-template-columns: repeat(3, 1fr); }
  .ae-insc__box { padding: 40px; }
}
@media (min-width: 900px) {
  .ae-hero { padding: 40px 0 110px; }
  .ae-hero__top { margin-bottom: 56px; }
  .ae-hero__logo img { height: 86px; }
  .ae-hero__selo { font-size: 38px; }
  .ae-people__grid { grid-template-columns: 1fr 1fr; }
  .ae-local__card { grid-template-columns: 1fr 1fr; padding: 48px; }
  .ae-insc__in { grid-template-columns: 5fr 7fr; gap: 64px; }
  .ae-insc__txt { position: sticky; top: 40px; }
  .ae-sec { padding: 110px 0; }
  .ae-prog__item { grid-template-columns: 96px 1fr; }
}
@media (max-width: 480px) {
  .ae-hero__people.ae-n3 { gap: 14px 8px; }
  .ae-hero__people.ae-n3 strong { font-size: 15px; }
  .ae-hero__people.ae-n3 small { font-size: 11px; }
  .ae-chip { padding: 13px 20px; }
  .ae-hero__cta .ae-btn { width: 100%; }
  .ae-person { grid-template-columns: 72px 1fr; padding: 18px; gap: 14px; }
  .ae-person .ae-avatar { max-width: 72px; }
}

/* ---------- AGENDA /eventos ---------- */
.ae-arch { background: #fff; }
.ae-arch__hero { color: #fff; padding: 150px 0 56px; background: radial-gradient(900px 500px at 90% -20%, color-mix(in srgb, var(--ae-g3) 70%, transparent), transparent 60%), var(--ae-bg); }
.ae-arch__hero .ae-kicker { color: var(--ae-g1); }
.ae-arch__hero h1 { font-size: clamp(40px, 7vw, 76px); color: #fff; }
.ae-arch__lead { font-size: 19px; color: rgba(255,255,255,.8); margin-top: 10px !important; max-width: 46ch; }
.ae-search { display: block; margin-top: 28px; max-width: 560px; }
.ae-search input { width: 100%; font-family: var(--ae-font); font-size: 17px; padding: 17px 20px 17px 50px; border-radius: 999px; border: 0; color: var(--ae-ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%235C5878' stroke-width='2'%3E%3Ccircle cx='9' cy='9' r='6.5'/%3E%3Cpath d='m14 14 4.5 4.5'/%3E%3C/svg%3E") 20px 50% no-repeat; }
.ae-search input:focus { outline: 3px solid color-mix(in srgb, var(--ae-g1) 70%, transparent); }
.ae-arch__bar { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid var(--ae-line); }
.ae-arch__bar-in { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.ae-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ae-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ae-pills button, .ae-views button { font-family: var(--ae-font-semi); font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--ae-line); background: #fff; color: var(--ae-ink); cursor: pointer; }
.ae-pills button[aria-pressed=true] { background: var(--ae-ink); border-color: var(--ae-ink); color: #fff; }
.ae-filters select { font-family: var(--ae-font-semi); font-size: 14px; padding: 9px 34px 9px 14px; border-radius: 999px; border: 1.5px solid var(--ae-line); background: #fff; color: var(--ae-ink); }
.ae-filters select:disabled { opacity: .45; }
.ae-views { display: inline-flex; background: var(--ae-soft); border-radius: 999px; padding: 4px; }
.ae-views button { border: 0; background: transparent; }
.ae-views button[aria-selected=true] { background: #fff; box-shadow: 0 2px 8px rgba(20,18,46,.12); color: var(--ae-c1); }
.ae-arch__body { padding-top: 36px; padding-bottom: 90px; }
.ae-arch__h { font-size: 26px; margin: 18px 0 18px !important; }
.ae-arch__h ~ .ae-arch__h { margin-top: 56px !important; }
.ae-empty { color: var(--ae-muted); padding: 30px 0; }

.ae-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.ae-card { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 20px; border-radius: var(--ae-radius); border: 1px solid var(--ae-line); background: #fff; text-decoration: none; color: var(--ae-ink) !important; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ae-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ae-c1) 40%, #fff); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--ae-c1) 60%, transparent); }
.ae-card__date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 14px; color: #fff; text-align: center; font-size: 14px; line-height: 1.1; padding: 12px 6px; align-self: start;
  background: linear-gradient(160deg, var(--ae-c1), color-mix(in srgb, var(--ae-c1) 70%, #000)); }
.ae-card__date b { font-family: var(--ae-font-bold); font-size: 30px; line-height: 1; }
.ae-card__date small { font-size: 11px; opacity: .75; margin-top: 3px; }
.ae-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ae-card__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--ae-font-semi); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.ae-card__serie { color: var(--ae-c1); }
.ae-card__status { color: var(--ae-muted); }
.ae-card.is-open .ae-card__status { color: #1E9E6A; }
.ae-card__title { font-family: var(--ae-font-bold); font-size: 21px; line-height: 1.2; }
.ae-card__sum { font-size: 15px; color: var(--ae-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ae-card__foot { font-size: 14px; color: #3B3858; }
.ae-card__people { display: block; color: var(--ae-muted); }
.ae-card__go { grid-column: 2; font-family: var(--ae-font-semi); font-size: 14px; color: var(--ae-c1); }
.ae-cards--past .ae-card__date { background: linear-gradient(160deg, #8D89A6, #5C5878); }

.ae-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ae-cal__head h2 { font-size: 28px; }
.ae-cal__head h2 span { color: var(--ae-muted); font-family: var(--ae-font); }
.ae-cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ae-line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ae-ink); }
.ae-cal__nav:hover { border-color: var(--ae-c1); color: var(--ae-c1); }
.ae-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--ae-line); border-left: 1px solid var(--ae-line); border-radius: 14px; overflow: hidden; }
.ae-cal__dow { font-family: var(--ae-font-semi); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ae-muted); padding: 10px 8px; background: var(--ae-soft); border-right: 1px solid var(--ae-line); border-bottom: 1px solid var(--ae-line); }
.ae-cal__cell { min-height: 110px; padding: 8px; border-right: 1px solid var(--ae-line); border-bottom: 1px solid var(--ae-line); display: flex; flex-direction: column; gap: 4px; }
.ae-cal__cell.is-empty { background: #FBFAFE; }
.ae-cal__n { font-family: var(--ae-font-semi); font-size: 14px; color: var(--ae-muted); }
.ae-cal__cell.is-today .ae-cal__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ae-ink); color: #fff; }
.ae-cal__ev { display: block; font-family: var(--ae-font-semi); font-size: 12.5px; line-height: 1.25; padding: 6px 8px; border-radius: 8px; color: #fff !important; text-decoration: none; background: var(--ae-c1); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.ae-cal__ev.is-past { background: #8D89A6; }
.ae-cal__list { margin-top: 28px; }

@media (min-width: 760px) {
  .ae-cards { grid-template-columns: 1fr 1fr; }
  .ae-card { grid-template-columns: 88px 1fr; padding: 24px; }
  .ae-cal__list { display: none; }
}
@media (max-width: 759px) {
  .ae-cal__cell { min-height: 54px; padding: 6px 4px; align-items: center; }
  .ae-cal__ev { width: 8px; height: 8px; padding: 0; border-radius: 50%; font-size: 0; -webkit-line-clamp: unset; }
  .ae-cal__dow { text-align: center; padding: 8px 2px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .ae * { transition: none !important; } }
