/* ==========================================================
   Grief Seminar RSVP Page — Las Vegas, November 2026
   ========================================================== */

:root {
  /* Text */
  --ink: #0D1B13;          /* headline, labels */
  --body: #303C34;         /* body copy */
  --gold: #8C6329;         /* accent headline, divider lines */

  /* Green card (Nov 4) */
  --green: #3D5731;
  --green-bg: #E7E7DA;
  --green-border: #CCCBB4;

  /* Blue card (Nov 5) */
  --navy: #1D3552;
  --blue-bg: #E7E9EB;
  --blue-border: #C7D1DA;

  /* Presenter card */
  --tan-bg: #F5E8D5;
  --tan-border: #DBC093;

  /* Fonts (Google Fonts only) */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-text: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-text);
  color: var(--body);
  background-color: #F6F2E6;
  background-image: url("https://irp.cdn-website.com/2a53f823/dms3rep/multi/Grief-Landing-Page-Background.jpg");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

/* ---------- Page container ---------- */

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 32px 36px;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.hero-text {
  padding: 18px 0 0 72px;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 70px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero-title-accent {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: 64px;
  white-space: nowrap;
  color: var(--gold);
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 280px;
  margin: 22px 0 24px 122px;
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #A9AC98;
}

.hero-divider img {
  width: 30px;
  height: auto;
  display: block;
}

.hero-intro {
  max-width: 500px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--body);
}

/* ---------- Presenter photo + card ---------- */

.presenter {
  position: relative;
  padding-bottom: 70px;   /* room for the overlapping card */
}

.presenter-photo {
  display: block;
  width: 100%;
  height: auto;
}

.presenter-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
  padding: 12px 16px 14px;
  text-align: center;
  background: var(--tan-bg);
  border: 1px solid var(--tan-border);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(13, 27, 19, 0.08);
}

.presenter-label {
  font-size: 13px;
  color: var(--ink);
}

.presenter-name {
  margin: 2px 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink);
}

.presenter-role {
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink);
}

/* ---------- Event cards ---------- */

.event {
  --accent: var(--green);
  --card-bg: var(--green-bg);
  --card-border: var(--green-border);

  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  margin-bottom: 16px;
  padding: 24px 40px 22px 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}

.event--blue {
  --accent: var(--navy);
  --card-bg: var(--blue-bg);
  --card-border: var(--blue-border);
}

/* Left column */

.event-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 20px;
  text-align: center;
  border-right: 1px solid var(--card-border);
}

.event-icon {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 14px;
}

.event-audience {
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.event-aside-rule {
  width: 100%;
  margin: 16px 0 16px;
  border: 0;
  border-top: 1px solid var(--card-border);
}

.event-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 10px 16px;
  font-family: var(--font-text);
  font-size: 19px;
  line-height: 1.2;
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  background: var(--accent);
  border-radius: 7px;
  transition: filter 150ms ease, transform 150ms ease;
}

.event-button:hover,
.event-button:focus-visible {
  filter: brightness(1.15);
}

.event-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.event-button-arrow {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Right column */

.event-main {
  padding-left: 44px;
}

.event-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 37px;
  line-height: 1.12;
  color: var(--accent);
}

.event-detail {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 34px;
  align-items: start;
  margin-bottom: 16px;
}

.event-detail-icon {
  display: block;
  width: 34px;
  height: auto;
  margin-top: 2px;
}

.event-detail-primary {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--accent);   /* green on Nov 4, navy on Nov 5 */
}

.event-detail-secondary {
  display: block;
  font-size: 16px;
  line-height: 1.45;
  color: var(--body);
}

.event-detail-perk {
  color: var(--accent);   /* green on Nov 4, navy on Nov 5 */
}

.event-venue {
  display: block;
  text-decoration: none;
  color: inherit;
}

.event-venue:hover .event-detail-primary,
.event-venue:focus-visible .event-detail-primary {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-main-rule {
  max-width: 610px;
  margin: 4px 0 14px;
  border: 0;
  border-top: 1px solid #B9B8A6;
}

.event-description {
  max-width: 600px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--body);
}

/* ---------- Footer ---------- */

.footer {
  padding-top: 14px;
  text-align: center;
}

.footer-free {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  font-style: italic;
  color: var(--ink);
}

.footer-note {
  margin-top: 2px;
  font-size: 14px;
  font-style: italic;
  color: var(--ink);
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 22px;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 76px;
  object-fit: contain;
}

.footer-logo-divider {
  width: 1px;
  height: 76px;
  background: #B9B8A6;
}

/* ==========================================================
   Mobile (767px and below)
   ========================================================== */

@media (max-width: 767px) {
  body {
    background-image: url("https://irp.cdn-website.com/2a53f823/dms3rep/multi/MOBILE-Grief-Landing-Page-Background.jpg");
  }

  .page {
    padding: 28px 14px 28px;
  }

  /* ---- Hero: stays two columns, photo shrinks to fit ---- */

  .hero {
    grid-template-columns: minmax(0, 1fr) clamp(112px, 37vw, 250px);
    gap: 8px;
    align-items: start;
    margin-bottom: 18px;
  }

  .hero-text {
    padding: 4px 0 0;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(20px, calc(7.3vw - 4.5px), 46px);   /* keeps line 1 on one line */
    line-height: 1.05;
  }

  .hero-title-accent {
    font-size: clamp(20px, calc(7vw - 4px), 44px);
    white-space: normal;
  }

  .hero-divider {
    display: none;
  }

  .hero-intro {
    max-width: none;
    margin-top: 12px;
    font-size: clamp(11.5px, 3.4vw, 17px);
    line-height: 1.4;
  }

  .presenter {
    padding-bottom: 0;
  }

  .presenter-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -10px;
    padding: 6px 6px 8px;
    border-radius: 6px;
  }

  .presenter-label,
  .presenter-role {
    font-size: clamp(9px, 2.5vw, 12px);
  }

  .presenter-name {
    margin: 1px 0 2px;
    font-size: clamp(14px, 4.2vw, 22px);
  }

  /* ---- Event cards: single column, button at the bottom ---- */

  .event {
    display: flex;
    flex-direction: column;
    padding: 18px 16px 16px;
    margin-bottom: 14px;
  }

  .event-aside {
    display: contents;   /* lets the label and button be placed individually */
  }

  .event-icon,
  .event-aside-rule {
    display: none;
  }

  .event-audience {
    order: 1;
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.2;
    text-align: left;
    color: var(--accent);
  }

  .event-audience br,
  .event-button br,
  .event-title br {
    display: none;
  }

  .event-main {
    order: 2;
    padding: 0;
  }

  .event-button {
    order: 3;
    margin-top: 14px;
    padding: 10px 14px;
    font-size: 17px;
    gap: 10px;
  }

  .event-button-arrow {
    width: 20px;
    height: 20px;
  }

  .event-title {
    margin-bottom: 14px;
    font-size: 27px;
    line-height: 1.1;
  }

  .event-detail {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 16px;
    margin-bottom: 12px;
  }

  .event-detail-icon {
    width: 28px;
  }

  .event-detail-primary {
    font-size: 15px;
  }

  .event-detail-secondary {
    font-size: 14px;
  }

  .event-main-rule {
    max-width: none;
    margin: 2px 0 10px;
  }

  .event-description {
    max-width: none;
    font-size: 14px;
  }

  /* ---- Footer ---- */

  .footer {
    padding-top: 4px;
  }

  .footer-free {
    font-size: 25px;
  }

  .footer-note {
    font-size: 11.5px;
  }

  .footer-logos {
    gap: 16px;
    margin-top: 16px;
  }

  .footer-logo {
    max-width: 140px;
    max-height: 54px;
  }

  .footer-logo-divider {
    height: 54px;
  }
}
