/* Reusable event-detail prototype: Minneapolis Book Launch */
body.event-detail-page { background: #fffdfb; }
body.event-detail-page .main { overflow: hidden; }
.event-detail-hero { position: relative; padding: clamp(6.25rem, 7.2vw, 7.4rem) 0 clamp(2.75rem, 4.2vw, 3.75rem); background: linear-gradient(135deg, #f6fbfb 0%, #fffaf2 57%, #f1e5dc 100%); }
.event-detail-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, transparent, rgba(185,97,68,.76), transparent); }
.event-detail-back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: clamp(1rem, 1.8vw, 1.45rem); color: var(--redesign-deep); font-size: .86rem; font-weight: 800; }
.event-detail-back:hover { color: var(--redesign-clay); }
.event-detail-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.event-detail-hero h1 { max-width: 9ch; margin: 0; color: var(--redesign-deep); font-size: clamp(3.2rem, 5.9vw, 5.55rem); line-height: .93; }
.event-detail-hero h1 span { display: block; }
.event-detail-hero__lede { max-width: 37rem; margin: 1rem 0 0; color: var(--redesign-muted); font-family: var(--heading-font); font-size: clamp(1.12rem, .8vw + .9rem, 1.38rem); line-height: 1.48; }
.event-detail-hero .redesign-actions { margin-top: 1.45rem; }
.event-detail-hero__visual { position: relative; min-height: clamp(285px, 27vw, 365px); display: grid; place-items: center; isolation: isolate; }
.event-detail-hero .bookfx { position: relative; z-index: 1; width: clamp(180px, 20vw, 280px); aspect-ratio: 2 / 3; transform: translateX(-.75rem) rotate(-3deg); }
.event-detail-hero .bookfx-content { height: 100%; overflow: hidden; border-radius: 3px; box-shadow: 0 20px 35px rgba(14,35,38,.27); }
.event-detail-hero .bookfx-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .event-detail-hero { background-image: linear-gradient(90deg, rgba(12,52,59,.94) 0%, rgba(12,52,59,.78) 34%, rgba(12,52,59,.38) 57%, rgba(12,52,59,.08) 78%, rgba(12,52,59,0) 100%), url("../img/events/minneapolis/loft-atrium.webp"); background-repeat: no-repeat; background-size: cover; background-position: center 45%; }
  .event-detail-hero .event-detail-back { color: #fffaf1; }
  .event-detail-hero .event-detail-back:hover { color: #f4c08f; }
  .event-detail-hero .redesign-kicker { color: #f4c08f; }
  .event-detail-hero h1 { color: #fffaf1; }
  .event-detail-hero__lede { color: rgba(255,250,241,.86); }
  .event-detail-hero .redesign-btn:not(.is-outline) { border-color: #fffaf1; background: #fffaf1; color: var(--redesign-deep); }
  .event-detail-hero .redesign-btn:not(.is-outline):hover { border-color: #f1c2aa; background: #f1c2aa; color: var(--redesign-deep); }
  .event-detail-hero .redesign-btn.is-outline { border-color: #fffaf1; background: transparent; color: #fffaf1; }
  .event-detail-hero .redesign-btn.is-outline:hover { background: rgba(22,63,69,.45); color: #fffaf1; }
  .event-detail-hero .redesign-btn:focus-visible { outline: 3px solid #f1c2aa; outline-offset: 3px; }
}
.event-logistics { position: relative; z-index: 2; margin-top: clamp(-1.9rem, -3vw, -3.25rem); }
.event-logistics__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--redesign-line); border-radius: .75rem; background: #fffdfb; box-shadow: 0 16px 38px rgba(22,63,69,.1); }
.event-logistics__item { min-height: 136px; padding: 1.35rem 1.5rem; border-right: 1px solid var(--redesign-line); }
.event-logistics__item:last-child { border-right: 0; }
.event-logistics__item dt { margin: 0 0 .5rem; color: var(--redesign-clay); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.event-logistics__item dd { margin: 0; color: var(--redesign-deep); font-family: var(--heading-font); font-size: 1.13rem; font-weight: 700; line-height: 1.25; }
.event-logistics__item dd small { display: block; margin-top: .2rem; color: var(--redesign-muted); font-family: var(--default-font); font-size: .84rem; font-weight: 600; }
.event-rsvp-section { padding-top: clamp(2.75rem, 4.5vw, 4.25rem); background: linear-gradient(180deg, #fffdfb, var(--redesign-snow)); }
.event-rsvp-heading { max-width: 48rem; margin-bottom: 2rem; }
.event-rsvp-heading h2, .event-information h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 3.8rem); line-height: 1.04; }
.event-rsvp-heading p { margin: .9rem 0 0; color: var(--redesign-muted); font-size: 1.06rem; line-height: 1.65; }
.event-rsvp-card { display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(250px, .66fr); border: 1px solid var(--redesign-line); border-radius: .85rem; background: #fffdfa; box-shadow: 0 18px 42px rgba(22,63,69,.1); overflow: hidden; }
.event-rsvp-form { padding: clamp(1.5rem, 4vw, 3.25rem); }
.event-rsvp-form .form-label, .event-choice-group legend { color: #253236; font-size: .88rem; font-weight: 700; }
.event-rsvp-form .form-control { min-height: 48px; border: 1px solid rgba(24,54,58,.18); border-radius: .35rem; background: #fffffb; color: #253236; }
.event-rsvp-form .form-control:focus { border-color: rgba(24,54,58,.58); box-shadow: 0 0 0 .2rem rgba(24,54,58,.12); }
.event-choice-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin: 1.65rem 0 0; padding: 0; border: 0; }
.event-choice-group legend { grid-column: 1 / -1; float: none; width: auto; margin: 0 0 .1rem; }
.event-choice { position: relative; display: block; margin: 0; }
.event-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.event-choice__card { display: flex; height: 100%; align-items: flex-start; gap: .65rem; min-height: 96px; padding: .85rem .9rem; border: 1px solid rgba(22,63,69,.18); border-radius: .55rem; background: #fffffb; color: var(--redesign-ink); cursor: pointer; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.event-choice__dot { flex: 0 0 1.15rem; width: 1.15rem; height: 1.15rem; margin-top: .13rem; border: 2px solid var(--redesign-teal); border-radius: 50%; }
.event-choice__copy { display: block; font-size: .95rem; font-weight: 700; line-height: 1.35; }
.event-choice__copy small { display: block; margin-top: .2rem; color: var(--redesign-muted); font-size: .8rem; font-weight: 500; }
.event-choice input:checked + .event-choice__card { border-color: var(--redesign-deep); background: rgba(47,127,136,.08); box-shadow: 0 0 0 .16rem rgba(47,127,136,.12); }
.event-choice input:checked + .event-choice__card .event-choice__dot { border: 5px solid var(--redesign-deep); }
.event-choice input:focus-visible + .event-choice__card { outline: 3px solid rgba(185,97,68,.4); outline-offset: 2px; }
.event-purchase-fields { display: none; margin-top: 1rem; padding: 1.15rem; border-left: 3px solid var(--redesign-clay); border-radius: .35rem; background: var(--redesign-soft); }
.event-purchase-fields[hidden] { display: none; }
.event-purchase-fields.is-visible { display: block; }
.event-purchase-fields textarea.form-control { min-height: 5.5rem; resize: vertical; }
.event-field-help { margin: -.15rem 0 .5rem; color: var(--redesign-muted); font-size: .8rem; line-height: 1.45; }
.event-stay-in-touch { display: grid; grid-template-columns: 1.15rem minmax(0, 1fr); gap: .7rem; align-items: start; margin: 1.2rem 0 0; color: #253236; }
.event-stay-in-touch input { width: 1.15rem; height: 1.15rem; margin: .18rem 0 0; accent-color: var(--redesign-deep); }
.event-stay-in-touch label { display: block; margin: 0; font-size: .9rem; font-weight: 700; line-height: 1.35; cursor: pointer; }
.event-stay-in-touch p { margin: .18rem 0 0; color: var(--redesign-muted); font-size: .8rem; line-height: 1.45; }
.event-stay-in-touch input:focus-visible { outline: 3px solid rgba(185,97,68,.62); outline-offset: 3px; }
.event-form-status { min-height: 1.5rem; margin: 1rem 0 0; font-weight: 700; }
.event-form-status.is-error { color: #a62432; }
.event-form-status.is-success { color: #0b7445; }
.event-submit { display: block; width: auto; min-width: 190px; margin: 1.3rem auto 0; }
.event-submit:focus-visible { outline: 3px solid rgba(185,97,68,.62); outline-offset: 3px; }
.event-privacy { margin: .9rem 0 0; color: var(--redesign-muted); font-size: .78rem; line-height: 1.5; text-align: center; }
.event-rsvp-support { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--redesign-deep); color: #fffaf1; }
.event-rsvp-support section { color: inherit; background: transparent; padding: 0; overflow: visible; }
.event-rsvp-support h3 { margin: 0 0 .55rem; color: #fffaf1; font-size: 1.45rem; }
.event-rsvp-support p { color: rgba(255,250,241,.82); font-size: .94rem; line-height: 1.6; }
.event-rsvp-support hr { margin: 1.7rem 0; border-color: rgba(255,255,255,.18); opacity: 1; }
.event-rsvp-venue__image { height: 150px; margin: .85rem 0 1rem; overflow: hidden; border-radius: .5rem; background: rgba(255,255,255,.12); }
.event-rsvp-venue__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.event-rsvp-venue__name { margin: 0; color: #fffaf1; font-family: var(--heading-font); font-size: 1.1rem; font-weight: 700; }
.event-rsvp-venue__address { margin: .35rem 0 0 !important; color: rgba(255,250,241,.78); font-size: .84rem !important; line-height: 1.5 !important; }
.event-rsvp-support__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; color: #fffaf1; font-size: .85rem; font-weight: 800; text-decoration: underline; text-underline-offset: .18rem; }
.event-rsvp-support__link:hover { color: #f4c08f; }
.event-rsvp-support__link:focus-visible { outline: 3px solid #f4c08f; outline-offset: 3px; color: #fffaf1; }
.event-success { display: none; padding: clamp(2rem, 4vw, 3.5rem); text-align: center; }
.event-success.is-visible { display: block; }
.event-success h3 { font-size: clamp(2rem, 4vw, 3rem); }
.event-success p { max-width: 38rem; margin: .8rem auto 1.4rem; color: var(--redesign-muted); line-height: 1.6; }
.event-information { padding: clamp(4rem, 8vw, 7rem) 0; background: #fffdfb; }
.event-information__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 1.25rem; }
.event-information__grid--single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.event-info-card { overflow: hidden; border: 1px solid var(--redesign-line); border-radius: .75rem; background: #fffdfa; box-shadow: 0 12px 28px rgba(22,63,69,.06); }
.event-info-card__image { position: relative; min-height: 240px; background: linear-gradient(135deg, #d8e9e7, #f4e7dd); }
.event-info-card__image::after { position: absolute; right: 1rem; bottom: .85rem; left: 1rem; color: rgba(22,63,69,.62); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; content: "Venue image placeholder · 16:9"; }
.event-info-card__image--venue { height: 240px; min-height: 0; overflow: hidden; background: #d8e9e7; }
.event-info-card__image--venue::after { display: none; }
.event-info-card__image--venue img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.event-info-card__image--book { display: grid; min-height: 280px; place-items: center; background: linear-gradient(145deg, #f6ece5, #e4f0ef); }
.event-info-card__image--book::after { display: none; }
.event-info-card__image--book img { width: 138px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; box-shadow: 0 15px 28px rgba(22,63,69,.25); }
.event-info-card__body { padding: clamp(1.35rem, 3vw, 2rem); }
.event-info-card h3 { margin: 0; font-size: 1.7rem; }
.event-info-card p { margin: .65rem 0 1rem; color: var(--redesign-muted); line-height: 1.6; }
.event-info-card__link { color: var(--redesign-deep); font-weight: 800; }
.event-info-card__link:hover { color: var(--redesign-clay); }
@media (max-width: 991px) { .event-detail-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(235px, .7fr); gap: 2rem; } .event-rsvp-card { grid-template-columns: 1fr; } .event-rsvp-support { order: 2; } .event-choice-group { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .event-detail-hero { padding-top: 5.85rem; padding-bottom: 2.75rem; } .event-detail-hero__grid, .event-information__grid { grid-template-columns: 1fr; } .event-detail-hero__visual { min-height: 250px; max-width: 26rem; } .event-logistics { margin-top: -1.25rem; } .event-logistics__grid { grid-template-columns: repeat(2, 1fr); } .event-logistics__item:nth-child(2) { border-right: 0; } .event-logistics__item:nth-child(-n+2) { border-bottom: 1px solid var(--redesign-line); } .event-choice-group { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .event-logistics__grid { grid-template-columns: 1fr; } .event-logistics__item, .event-logistics__item:nth-child(2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--redesign-line); } .event-logistics__item:last-child { border-bottom: 0; } .event-detail-hero .redesign-btn, .event-success .redesign-btn, .event-submit { width: 100%; } .event-info-card__image { min-height: 210px; } .event-info-card__image--venue { height: 210px; min-height: 0; } }
