/* Home page Upcoming Events (src/lib/cms/home-events.ts). */
.ue {
  --ue-gold: #c9a447;
  --ue-ink: #f2ede4;
  --ue-soft: #d9d1c4;
  --ue-muted: #b5ab9c;
  --ue-card: #1a1714;
  --ue-line: #2c261e;
  background: linear-gradient(#0f0f0fe6, #0f0f0ff2), url('/images/_1920s_prohibition_speakeasy_celebration_1.avif') 50% / cover no-repeat, #0f0f0f;
  color: var(--ue-ink);
  font-family: Josefin Sans, sans-serif;
  /* Clears the fixed side panels (70–90px each, at every width). */
  padding: 96px calc(90px + 4vw) 104px;
}
.ue__inner { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.ue__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid #3a3226; padding-bottom: 24px;
}
.ue-kicker {
  display: block; margin: 0 0 12px; font-size: 13px; line-height: 1.3; letter-spacing: 4px;
  text-transform: uppercase; color: var(--ue-gold);
}
.ue__title { margin: 0; font-family: Playfair Display, serif; font-weight: 400; font-size: 52px; line-height: 1.05; color: var(--ue-ink); }
.ue__all {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 0; color: var(--ue-gold);
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase; text-decoration: none;
}
.ue__all:hover { color: #ead08a; }

.ue__grid { display: flex; flex-wrap: wrap; gap: 32px; }

.ue-feature {
  flex: 1 1 520px; min-width: 0; position: relative; min-height: 600px; border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; background: var(--ue-card);
}
.ue-feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ue-feature:hover .ue-feature__img { transform: scale(1.03); }
.ue-feature__shade { position: absolute; inset: 0; background: linear-gradient(180deg, #0a090800 15%, #0a0908d9 50%, #0a0908f5 80%); }
.ue-date {
  position: absolute; top: 24px; left: 24px; width: 84px; padding: 12px 0; background: #0f0f0f;
  border: 1px solid var(--ue-gold); text-align: center; display: flex; flex-direction: column; gap: 4px;
}
.ue-date__m { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--ue-gold); }
.ue-date__d { font-family: Playfair Display, serif; font-size: 38px; line-height: 1; }
.ue-feature__body { position: relative; padding: 40px; display: flex; flex-direction: column; }
.ue-feature__title { margin: 0 0 16px; font-family: Playfair Display, serif; font-weight: 400; font-size: 44px; line-height: 1.1; }
.ue-feature__title a { color: var(--ue-ink); text-decoration: none; }
.ue-feature__title a:hover { color: #ead08a; }
.ue-feature__text { margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--ue-soft); max-width: 520px; }
.ue-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.ue-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px;
  background: var(--ue-gold); color: #0f0f0f; font-size: 14px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: background .2s;
}
.ue-button:hover { background: #ead08a; color: #0f0f0f; }
.ue-feature__time { font-size: 15px; letter-spacing: 1px; color: var(--ue-soft); }

.ue__list { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ue-row {
  flex: 1 1 0; display: flex; gap: 20px; min-height: 176px; text-decoration: none; color: var(--ue-ink);
  background: var(--ue-card); border: 1px solid var(--ue-line); border-radius: 4px; overflow: hidden;
  transition: border-color .2s;
}
.ue-row:hover { border-color: var(--ue-gold); color: var(--ue-ink); }
.ue-row__img { width: 160px; flex: 0 0 160px; object-fit: cover; background: #2c261e; }
.ue-row__body { padding: 22px 20px 22px 0; display: flex; flex-direction: column; justify-content: center; }
.ue-row .ue-kicker { font-size: 12px; letter-spacing: 3px; margin-bottom: 10px; }
.ue-row__title { font-family: Playfair Display, serif; font-size: 26px; line-height: 1.15; margin-bottom: 10px; }
.ue-row__meta { font-size: 15px; color: var(--ue-muted); }

@media (max-width: 767px) {
  .ue { padding: 64px calc(70px + 16px) 72px; }
  .ue__inner { gap: 32px; }
  .ue__head { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 20px; }
  .ue__title { font-size: 38px; }
  .ue__all { order: 3; }
  .ue__grid { gap: 14px; }
  .ue-feature { flex-basis: 100%; min-height: 520px; }
  .ue-date { top: 16px; left: 16px; width: 68px; padding: 10px 0; }
  .ue-date__d { font-size: 30px; }
  .ue-feature__body { padding: 24px; }
  .ue-feature__title { font-size: 30px; }
  .ue-feature__text { font-size: 15px; }
  .ue__list { gap: 14px; }
  .ue-row { min-height: 120px; gap: 16px; }
  .ue-row__img { width: 112px; flex-basis: 112px; }
  .ue-row__body { padding: 16px 16px 16px 0; }
  .ue-row .ue-kicker { font-size: 11px; margin-bottom: 8px; }
  .ue-row__title { font-size: 21px; margin-bottom: 8px; }
  .ue-row__meta { font-size: 14px; }
}
