:root {
  --tse-ink: #211d1a;
  --tse-paper: #f6f0e8;
  --tse-paper-deep: #eadfd2;
  --tse-accent: #9d2835;
  --tse-accent-dark: #761b27;
  --tse-line: rgba(33, 29, 26, .2);
  --tse-display: var(--et_headings-font-family, "Gentium Plus", Georgia, serif);
}

.tse-events,
.tse-event {
  color: var(--tse-ink);
  font: inherit;
  margin-inline: auto;
  max-width: 1240px;
  padding: clamp(2rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
}

.tse-language {
  align-items: center;
  display: flex;
  font-size: .78rem;
  font-weight: 700;
  gap: .55rem;
  justify-content: flex-end;
  letter-spacing: .14em;
  margin-bottom: 2rem;
}

.tse-language a { color: inherit; opacity: .5; text-decoration: none; }
.tse-language a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .35em; }

.tse-events__hero {
  align-items: center;
  background: var(--tse-paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr);
  margin-bottom: clamp(4rem, 9vw, 8rem);
  min-height: 25rem;
  overflow: hidden;
  position: relative;
}

.tse-events__hero::after {
  border: 1px solid rgba(255, 255, 255, .7);
  content: "";
  inset: 1rem;
  pointer-events: none;
  position: absolute;
}

.tse-events__hero-image { height: 100%; min-height: 25rem; object-fit: cover; width: 100%; }
.tse-events__intro { padding: clamp(2rem, 5vw, 5rem); position: relative; z-index: 1; }
.tse-events__intro h1,
.tse-events__intro h2 { font-family: var(--tse-display); font-size: clamp(2.7rem, 5vw, 5.4rem); font-weight: 400; letter-spacing: -.035em; line-height: .92; }
.tse-events__intro p { font-size: 1.1rem; line-height: 1.7; max-width: 34rem; }

.tse-events__section { margin-block: 4rem; }
.tse-events__eyebrow,
.tse-event__kicker {
  color: var(--tse-accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.tse-events__list { border-top: 1px solid var(--tse-line); }
.tse-card {
  align-items: stretch;
  border-bottom: 1px solid var(--tse-line);
  display: grid;
  gap: clamp(1.25rem, 4vw, 4rem);
  grid-template-columns: minmax(12rem, .85fr) minmax(15rem, 1.2fr) minmax(9rem, .55fr);
  min-height: 20rem;
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
  transition: opacity .25s ease, transform .25s ease;
}

.tse-card__media { background: var(--tse-paper-deep); display: block; overflow: hidden; }
.tse-card__image { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); width: 100%; }
.tse-card:hover .tse-card__image { transform: scale(1.035); }
.tse-card__copy { align-self: center; padding-block: 1rem; }
.tse-card__copy h3 { font-family: var(--tse-display); font-size: clamp(2rem, 3.5vw, 3.7rem); font-weight: 400; line-height: 1; margin: .4rem 0 1rem; }
.tse-card__copy h3 a { color: inherit; text-decoration: none; }
.tse-card__intro { line-height: 1.65; max-width: 38rem; }
.tse-card__status { color: var(--tse-accent); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tse-card__link { color: var(--tse-ink); display: inline-block; font-weight: 700; margin-top: 1rem; text-underline-offset: .25em; }
.tse-card.is-past { opacity: .78; }
.tse-date { align-self: start; display: flex; flex-direction: column; font-family: var(--tse-display); font-size: clamp(1.8rem, 3vw, 3.5rem); font-weight: 400; line-height: .95; padding-top: 1rem; text-align: right; }
.tse-date small { font-family: inherit; font-size: 1rem; margin-top: .8rem; }
.tse-events__more { margin-top: 2rem; text-align: center; }

.tse-event__header { background: var(--tse-paper); display: grid; grid-template-columns: 1.15fr .85fr; min-height: 32rem; }
.tse-event__media { min-height: 24rem; }
.tse-event__image { height: 100%; object-fit: cover; width: 100%; }
.tse-event__heading { align-self: center; padding: clamp(2rem, 6vw, 6rem); }
.tse-event__heading h1 { font-family: var(--tse-display); font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 400; letter-spacing: -.04em; line-height: .9; margin: 0 0 2rem; }
.tse-event__heading .tse-date { text-align: left; }
.tse-event__body { display: grid; gap: clamp(2rem, 7vw, 7rem); grid-template-columns: minmax(0, 1fr) minmax(15rem, .34fr); padding-block: clamp(3rem, 8vw, 7rem); }
.tse-event__content { font-size: 1.08rem; line-height: 1.75; }
.tse-event__content > :first-child { margin-top: 0; }
.tse-event__facts { border-left: 1px solid var(--tse-line); padding-left: 2rem; }
.tse-event__facts h2 { font-family: var(--tse-display); font-size: 2rem; font-weight: 400; }
.tse-event__facts .tse-date { font-size: 1.65rem; text-align: left; }
.tse-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 3rem; }
.tse-gallery img { aspect-ratio: 4 / 5; height: auto; object-fit: cover; width: 100%; }
.tse-gallery img:nth-child(3n) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.tse-register { background: var(--tse-paper); margin-top: 2rem; padding: clamp(2rem, 6vw, 5rem); }
.tse-register__header h2 { font-family: var(--tse-display); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; margin-top: 0; }
.tse-form__grid { display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tse-field { display: flex; flex-direction: column; gap: .45rem; margin: 0; }
.tse-field label,
.tse-field legend { font-size: .9rem; font-weight: 700; }
.tse-field input,
.tse-field select,
.tse-field textarea {
  background: #fff;
  border: 1px solid #776d65;
  border-radius: 0;
  color: var(--tse-ink);
  font: inherit;
  min-height: 3.1rem;
  padding: .7rem .85rem;
  width: 100%;
}
.tse-field input[readonly] { background: #eee8e0; }
fieldset.tse-field { border: 0; padding: 0; }
.tse-option,
.tse-checkbox label { align-items: flex-start; display: flex; gap: .55rem; }
.tse-option input,
.tse-checkbox input,
.tse-consent input { flex: 0 0 auto; height: 1.1rem; margin-top: .22rem; min-height: 0; padding: 0; width: 1.1rem; }
.tse-consent { margin: 1.5rem 0; }
.tse-consent label { align-items: flex-start; display: flex; gap: .65rem; }
.tse-honeypot { left: -10000px; position: absolute; }
.tse-guest-name[hidden] { display: none; }
.tse-notice,
.tse-error-summary { background: #fff; border-left: 4px solid var(--tse-accent); margin-bottom: 1.5rem; padding: 1rem 1.25rem; }
.tse-registration-card { background: #fff; border: 1px solid var(--tse-line); padding: 1.5rem; }

.tse-button {
  background: var(--tse-accent);
  border: 1px solid var(--tse-accent);
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .95rem 1.35rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.tse-button:hover { background: var(--tse-accent-dark); color: #fff; transform: translateY(-2px); }
.tse-button--ghost { background: transparent; color: var(--tse-ink); }
.tse-button--ghost:hover { color: #fff; }
.tse-button--danger { background: transparent; color: var(--tse-accent-dark); }

.tse-events :focus-visible,
.tse-event :focus-visible { outline: 3px solid #0b57d0; outline-offset: 3px; }
.tse-form [aria-invalid="true"] { border: 2px solid #a40000; }

@media (max-width: 800px) {
  .tse-events__hero,
  .tse-event__header { grid-template-columns: 1fr; }
  .tse-events__hero-image { max-height: 30rem; }
  .tse-card { grid-template-columns: 1fr; }
  .tse-card__media { aspect-ratio: 4 / 3; }
  .tse-date { text-align: left; }
  .tse-event__body { grid-template-columns: 1fr; }
  .tse-event__facts { border-left: 0; border-top: 1px solid var(--tse-line); padding: 2rem 0 0; }
  .tse-form__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .tse-events *, .tse-event * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
