:root {
  --tine-events-green: #1b4332;
  --tine-events-lime: #c1e283;
  --tine-events-cream: #f7f5ee;
  --tine-events-orange: #ff9600;
  --tine-events-ink: #343b29;
}

.tine-events-listing,
.tine-event-page {
  color: var(--tine-events-ink);
  font-family: Montserrat, Arial, sans-serif;
}

.tine-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

.tine-event-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(27, 67, 50, .14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(27, 67, 50, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.tine-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(27, 67, 50, .14);
}

.tine-event-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tine-events-green);
}

.tine-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.tine-event-card:hover .tine-event-card__media img { transform: scale(1.035); }

.tine-event-card__placeholder,
.tine-event-hero__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--tine-events-green);
  background: radial-gradient(circle at 70% 25%, #fff 0 3%, transparent 3.5%), linear-gradient(145deg, var(--tine-events-lime), #edf3d9);
  font-size: clamp(60px, 10vw, 130px);
  font-weight: 800;
}

.tine-event-card__date {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  min-width: 68px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #fff;
  background: var(--tine-events-green);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .2);
}

.tine-event-card__date strong { font-size: 26px; }
.tine-event-card__date span { margin-top: 5px; font-size: 12px; letter-spacing: .12em; }
.tine-event-card__body { padding: 24px; }
.tine-events-kicker { margin: 0 0 8px; color: var(--tine-events-green); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.tine-event-card h3 { margin: 0; color: var(--tine-events-green); font-family: Montserrat, Arial, sans-serif; font-size: clamp(21px, 2vw, 29px); line-height: 1.12; }
.tine-event-card h3 a { color: inherit; text-decoration: none; }
.tine-event-card__meta { min-height: 3em; margin: 16px 0 22px; color: #526258; font-size: 14px; line-height: 1.55; }
.tine-event-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(27, 67, 50, .12); }
.tine-event-card__footer > span { color: var(--tine-events-green); font-weight: 700; }
.tine-event-card__footer a { color: var(--tine-events-green); font-size: 13px; font-weight: 700; text-decoration: none; }

.tine-events-empty { padding: clamp(38px, 7vw, 88px); border-radius: 24px; background: var(--tine-events-cream); text-align: center; }
.tine-events-empty h2 { margin: 0 0 12px; color: var(--tine-events-green); }

.tine-event-page { background: #fff; }
.tine-event-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); min-height: 76vh; background: var(--tine-events-cream); }
.tine-event-hero__media { min-height: 640px; }
.tine-event-hero__media > img { width: 100%; height: 100%; object-fit: cover; }
.tine-event-hero__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(52px, 7vw, 112px); }
.tine-event-back { align-self: flex-start; margin-bottom: clamp(38px, 6vw, 78px); color: var(--tine-events-green); font-size: 13px; font-weight: 700; text-decoration: none; }
.tine-event-hero h1 { max-width: 780px; margin: 0 0 22px; color: var(--tine-events-green); font-family: Montserrat, Arial, sans-serif; font-size: clamp(42px, 5.4vw, 82px); line-height: .98; letter-spacing: -.035em; }
.tine-event-lead { max-width: 640px; color: #526258; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.65; }
.tine-event-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 34px 0 0; border-top: 1px solid rgba(27, 67, 50, .18); }
.tine-event-facts > div { padding: 18px 0; border-bottom: 1px solid rgba(27, 67, 50, .18); }
.tine-event-facts dt { margin-bottom: 5px; color: #748179; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tine-event-facts dd { margin: 0; color: var(--tine-events-green); font-size: 15px; font-weight: 650; line-height: 1.45; }
.tine-event-facts a { color: inherit; }
.tine-event-purchase { margin-top: 32px; }
.tine-event-purchase form.cart { display: flex; gap: 12px; }
.tine-event-purchase .quantity input { width: 76px; min-height: 52px; border: 1px solid rgba(27, 67, 50, .3); border-radius: 999px; text-align: center; }
.tine-event-purchase button.single_add_to_cart_button,
.tine-refund-request button.button { min-height: 52px; padding: 0 28px !important; border: 0 !important; border-radius: 999px !important; color: var(--tine-events-ink) !important; background: var(--tine-events-orange) !important; font-weight: 750 !important; }
.tine-event-purchase__note { max-width: 550px; margin: 14px 0 0; color: #68766e; font-size: 12px; line-height: 1.55; }
.tine-event-status { display: inline-flex; padding: 14px 22px; border-radius: 999px; color: #fff; background: var(--tine-events-green); font-weight: 750; }
.tine-event-content { max-width: 1120px; margin: 0 auto; padding: clamp(72px, 10vw, 140px) 24px; }
.tine-event-content h2,
.tine-event-contact h2 { margin: 0 0 28px; color: var(--tine-events-green); font-family: Montserrat, Arial, sans-serif; font-size: clamp(34px, 4vw, 58px); line-height: 1.03; }
.tine-event-prose { max-width: 800px; color: #435149; font-size: 17px; line-height: 1.85; }
.tine-event-prose h2, .tine-event-prose h3 { margin-top: 2em; color: var(--tine-events-green); font-size: 1.45em; }
.tine-event-contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; padding: clamp(52px, 7vw, 90px) max(24px, calc((100vw - 1120px) / 2)); color: #fff; background: var(--tine-events-green); }
.tine-event-contact .tine-events-kicker { color: var(--tine-events-lime); }
.tine-event-contact h2 { color: #fff; }
.tine-event-contact p { max-width: 650px; line-height: 1.65; }
.tine-event-contact > div:last-child { display: grid; gap: 8px; justify-items: end; }
.tine-event-contact a { color: var(--tine-events-lime); font-size: clamp(16px, 1.5vw, 21px); font-weight: 700; }

.tine-attendees { margin: 30px 0; padding: 26px; border: 1px solid rgba(27, 67, 50, .16); border-radius: 18px; background: #f7f5ee; }
.tine-attendees h3 { margin-top: 0; color: var(--tine-events-green); }
.tine-attendees__event { margin: 22px 0 0; padding: 20px; border: 1px solid rgba(27, 67, 50, .18); border-radius: 14px; background: #fff; }
.tine-attendees__event legend { padding: 0 8px; color: var(--tine-events-green); font-weight: 750; }
.tine-refund-request, .tine-refund-status { margin-top: 30px; padding: 26px; border-radius: 16px; background: var(--tine-events-cream); }

@media (max-width: 1024px) {
  .tine-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tine-event-hero { grid-template-columns: 1fr; }
  .tine-event-hero__media { min-height: 0; aspect-ratio: 16 / 10; }
  .tine-event-hero__content { padding: 54px 28px 72px; }
  .tine-event-back { margin-bottom: 36px; }
}

@media (max-width: 680px) {
  .tine-events-grid { grid-template-columns: 1fr; }
  .tine-event-card__body { padding: 21px; }
  .tine-event-card__footer { align-items: flex-start; flex-direction: column; }
  .tine-event-hero__media { aspect-ratio: 4 / 3; }
  .tine-event-facts { grid-template-columns: 1fr; }
  .tine-event-purchase form.cart { align-items: stretch; flex-direction: column; }
  .tine-event-purchase .quantity input { width: 100%; }
  .tine-event-contact { grid-template-columns: 1fr; }
  .tine-event-contact > div:last-child { justify-items: start; }
}

