/* Event-space websites (Sala Chicago). Loaded after site.css when a site uses the event-space template.
   Theme variables: --sage is the gold accent, --green the deep sage, --cream2 the pale sage panel. */
.t-event { --gold: var(--sage); --line: #ddd2c2; --on-dark: #ded5c8; font-weight: 300; }
.t-event strong, .t-event b { font-weight: 500; }
.t-event button, .t-event select, .t-event input, .t-event textarea { font-family: inherit; }
.t-event :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.t-event .ev-band-dark :focus-visible, .t-event .site-header :focus-visible, .t-event .site-footer :focus-visible, .t-event .ev-hero :focus-visible { outline-color: var(--gold); }
.t-event h1, .t-event h2, .t-event h3 { font-weight: 400; letter-spacing: 0; }
.t-event .btn { font-weight: 500; letter-spacing: 0.06em; border-radius: 0; }
.t-event .btn-sage:hover { background: var(--cream); color: var(--ink); }

/* Header: dark, gold logo */
.t-event .site-header { background: var(--ink); border-bottom-color: #3a3027; }
.t-event .logo img { height: 56px; width: auto; }
.t-event .nav-desktop { font-weight: 400; font-size: 14px; letter-spacing: 0.04em; }
.t-event .nav-desktop a, .t-event .nav-mobile nav a { color: var(--cream); }
.t-event .nav-desktop a:hover { color: var(--gold); }
.t-event .header-actions .btn-line, .t-event .nav-mobile-actions .btn-line { border-color: var(--gold); color: var(--gold); }
.t-event .header-actions .btn-line:hover, .t-event .nav-mobile-actions .btn-line:hover { background: var(--gold); color: var(--ink); }
.t-event .nav-mobile summary { color: var(--cream); border-color: #5a4d3f; }
.t-event .nav-mobile nav { background: var(--ink); border-bottom-color: #3a3027; }
.t-event .nav-mobile nav a { border-bottom-color: #3a3027; }
.t-event .announce { background: var(--green); color: var(--cream); }
.t-event .announce a { color: var(--gold); }

/* Shared pieces */
.ev-block { padding-block: 104px; }
.ev-block-tight { padding-top: 0; }
.ev-eyebrow { color: var(--accent); margin-bottom: 14px; letter-spacing: 0.24em; }
.ev-eyebrow-dark { color: var(--gold); margin-bottom: 14px; letter-spacing: 0.24em; }
.ev-h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; max-width: 22ch; color: var(--ink); }
.ev-h2-sm { font-size: clamp(30px, 3.4vw, 42px); }
.ev-lead { font-size: 18px; line-height: 1.7; max-width: 56ch; margin-top: 20px; color: #5a4d3f; }
.ev-way-link { display: inline-block; font-size: 14px; letter-spacing: 0.06em; padding: 10px 0; }
.ev-band-panel { background: var(--cream2); }
.ev-band-dark { background: var(--green); color: var(--on-dark); }
.ev-band-dark .ev-h2, .ev-band-dark h1 { color: var(--cream); }
.ev-band-dark .ev-lead { color: var(--on-dark); }
.ev-band-dark a:not(.btn):not(.ev-day) { color: var(--gold); }

/* Hero */
.ev-hero { background: var(--ink); color: var(--on-dark); padding-top: 88px; }
.ev-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.ev-hero-text { flex: 1 1 420px; min-width: 0; }
.ev-hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.06; color: var(--cream); max-width: 12ch; }
.ev-hero h1 em { color: var(--gold); }
.ev-hero-intro { margin: 28px 0 36px; max-width: 46ch; font-size: 18px; line-height: 1.7; color: var(--on-dark); }
.ev-hero .btn { min-height: 52px; padding: 0 28px; }
.ev-hero-photo { flex: 1 1 440px; min-width: 0; position: relative; padding: 0 0 24px 24px; }
.ev-frame { position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border: 1px solid var(--gold); }
.ev-hero-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ev-facts { margin: 80px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 45%), 1fr)); border-top: 1px solid #3a3027; }
.ev-facts > div { padding: 28px 24px 34px 0; }
.ev-facts dt { font-family: var(--display); font-size: 40px; line-height: 1.1; color: var(--gold); }
.ev-facts dd { margin: 6px 0 0; font-size: 14px; color: var(--on-dark); }

/* Two ways to host */
.ev-ways { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.ev-way { background: var(--cream2); padding: 44px 40px; display: flex; flex-direction: column; gap: 16px; }
.ev-way h3 { font-size: 32px; color: var(--ink); }
.ev-way-dark { background: var(--green); color: var(--on-dark); }
.ev-way-dark h3 { color: var(--cream); }
.ev-way-dark .ev-way-link { color: var(--gold); }
.ev-badge { align-self: flex-start; padding: 4px 12px; border: 1px solid #9aa58c; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #4a5442; }
.ev-way-dark .ev-badge { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.ev-way-price { margin-top: 8px; font-family: var(--display); font-size: 22px; color: var(--accent); }
.ev-way-dark .ev-way-price { color: var(--gold); }
.ev-way .ev-way-link { margin-top: auto; }

/* Gallery */
.ev-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 45%), 1fr)); gap: 12px; padding-bottom: 104px; }
.ev-gallery img { width: 100%; height: 340px; object-fit: cover; }

/* Layouts */
.ev-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.ev-head-note { max-width: 420px; }
.ev-layouts { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.ev-layout { border: 1px solid var(--line); background: #fffdf9; padding: 28px; display: flex; flex-direction: column; }
.ev-layout img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 24px; }
.ev-layout h3 { font-size: 26px; margin-bottom: 4px; color: var(--ink); }
.ev-layout .muted { font-size: 15px; }
.ev-cap { margin-top: auto; padding-top: 16px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* Pricing */
.ev-prices { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px; }
.ev-price-card { background: var(--cream); padding: 40px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ev-price-card h3 { font-size: 28px; color: var(--ink); }
.ev-price-card > .muted { font-size: 15px; margin-bottom: 18px; }
.ev-price-card > .small { margin-top: 18px; font-size: 14px; }
.ev-price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ev-price-table tr { border-top: 1px solid var(--line); }
.ev-price-table tr:last-child { border-bottom: 1px solid var(--line); }
.ev-price-table th { text-align: left; font-weight: 400; padding: 14px 16px 14px 0; }
.ev-price-table td { text-align: right; font-family: var(--display); font-size: 20px; color: var(--ink); white-space: nowrap; vertical-align: top; padding-top: 14px; }
.ev-price-sub { display: block; font-size: 13px; color: var(--muted); }
.ev-price-foot { margin-top: 32px; max-width: 860px; font-size: 15px; color: #4a4239; }

/* Food and drink */
.ev-food-head { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.ev-food-text { flex: 1 1 420px; min-width: 0; }
.ev-food-photo { flex: 1 1 420px; min-width: 0; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ev-kitchens { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.ev-kitchen { border-top: 2px solid var(--accent); padding-top: 28px; }
.ev-kitchen h3 { font-size: 28px; color: var(--ink); margin-bottom: 8px; }

/* Availability */
.ev-dates { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 80px; }
.ev-dates-text { flex: 1 1 340px; min-width: 0; }
.ev-dates > .ev-cal { flex: 1 1 440px; }
.ev-more { display: inline-block; margin-top: 20px; font-size: 14px; letter-spacing: 0.06em; padding: 8px 0; }
.ev-pick { margin-top: 32px; padding: 28px; border: 1px solid #5f6c55; background: #46523f; color: var(--on-dark); }
.ev-pick-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #c9cfbd; }
.ev-pick-date { margin-top: 6px; font-family: var(--display); font-size: 28px; line-height: 1.2; color: var(--cream); }
.ev-pick-status { margin-top: 6px; color: var(--gold); }
.ev-pick-status:empty { display: none; }
.ev-pick-min { margin-top: 4px; font-size: 15px; }
.ev-pick .btn { margin-top: 20px; }

.ev-cal { background: var(--cream); color: var(--ink); padding: 32px; min-width: 0; }
.ev-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.ev-cal-title { font-family: var(--display); font-size: 24px; text-align: center; flex: 1; }
.ev-cal-nav { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.ev-cal-nav:disabled { opacity: 0.35; cursor: default; }
.ev-months { display: flex; flex-direction: column; gap: 36px; }
.ev-month-name { font-size: 22px; margin-bottom: 14px; }
.ev-cal.is-js .ev-month-name { display: none; }
.ev-cal:not(.is-js) .ev-cal-head { display: none; }
.ev-dow, .ev-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ev-dow { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 8px; }
.ev-day { min-height: 48px; display: flex; align-items: center; justify-content: center; font: inherit; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.ev-blank { border: 0; }
.ev-cal .ev-day { color: var(--ink); }
.ev-cal .ev-past { color: #8f8476; }
.ev-open { background: #fffdf9; border-color: var(--line); }
.ev-limited { background: #f4e3bf; border-color: #c9a35a; }
.ev-cal .ev-booked { background: #d9d1c6; border-color: #d9d1c6; color: #4a4239; text-decoration: line-through; cursor: pointer; }
.ev-cal a.ev-day:hover, .ev-cal .ev-booked:hover { border-color: var(--ink); color: var(--ink); }
.ev-cal .ev-day.is-picked { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.ev-legend { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: #5a4d3f; }
.ev-legend span { display: inline-flex; align-items: center; gap: 8px; }
.ev-key { width: 14px; height: 14px; display: inline-block; }
.ev-key-open { background: #fffdf9; border: 1px solid #c9b89c; }
.ev-key-limited { background: #f4e3bf; border: 1px solid #c9a35a; }
.ev-key-booked { background: #d9d1c6; }
@media (max-width: 520px) {
  .ev-cal { padding: 18px 12px; margin-inline: -12px; }
  .ev-dow, .ev-grid { gap: 4px; }
  .ev-day { min-height: 44px; font-size: 14px; }
}

/* Plan your event */
.ev-steps { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 32px 28px; }
.ev-steps li { border-top: 1px solid #c9b89c; padding-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.ev-step-n { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--accent); }
.ev-steps h3 { font-family: var(--body); font-size: 17px; font-weight: 500; color: var(--ink); }
.ev-steps .muted { font-size: 15px; }

/* FAQ */
.ev-faq { display: flex; flex-wrap: wrap; gap: 40px 80px; padding-top: 48px; }
.ev-faq-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ev-faq-list { flex: 2 1 540px; min-width: 0; border-bottom: 1px solid var(--line); }
.ev-faq-item { border-top: 1px solid var(--line); }
.ev-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-size: 18px; color: var(--ink); }
.ev-faq-item summary::-webkit-details-marker { display: none; }
.ev-plus { font-family: var(--display); font-size: 26px; line-height: 1; color: var(--accent); transition: transform 0.2s; }
.ev-faq-item[open] .ev-plus { transform: rotate(45deg); }
.ev-faq-item p { padding: 0 0 22px; max-width: 64ch; color: #4a4239; }

/* Book a tour */
.ev-tour { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 80px; }
.ev-tour-text { flex: 1 1 300px; min-width: 0; }
.ev-address { margin-top: 28px; color: var(--ink); }
.ev-tour-form { flex: 2 1 560px; min-width: 0; background: var(--cream); padding: 40px; }
.ev-tour-alt { margin-top: 18px; }
.t-event .form-field label { color: #4a4239; letter-spacing: 0.06em; }
.t-event .site-form input, .t-event .site-form select, .t-event .site-form textarea { border-color: #b9a88f; border-radius: 0; background: #fffdf9; }
.t-event .site-form input:focus, .t-event .site-form select:focus, .t-event .site-form textarea:focus { outline-color: var(--accent); border-color: var(--accent); }
.t-event .form-done { border-left-color: var(--accent); background: #f4e3bf; }
.t-event .form-error { color: #8a2a1f; }

/* Inner pages */
.ev-page-head { padding-block: 72px 64px; }
.ev-page-head h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.08; }
.ev-avail { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.ev-avail > .ev-cal { flex: 2 1 520px; border: 1px solid var(--line); }
.ev-avail-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.ev-avail-side .ev-pick { margin-top: 0; background: var(--green); border-color: var(--green); }
.ev-avail-min .label { color: var(--accent); margin-bottom: 4px; }
.ev-avail-min .row-line span:last-child { font-family: var(--display); font-size: 18px; }

/* Footer */
.ev-footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-block: 72px 48px; font-size: 15px; }
.ev-footer-logo { width: 114px; height: auto; }
.ev-footer-col { display: flex; flex-direction: column; gap: 10px; color: var(--on-dark); }
.ev-footer-col a { color: var(--cream); }
.ev-footer-col a:hover { color: var(--gold); }
.ev-footer-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

@media (max-width: 720px) {
  .ev-block { padding-block: 72px; }
  .ev-block-tight { padding-top: 0; }
  .ev-hero { padding-top: 56px; }
  .ev-facts { margin-top: 48px; }
  .ev-way, .ev-price-card, .ev-tour-form { padding: 28px 22px; }
  .ev-gallery { padding-bottom: 72px; }
  .ev-gallery img { height: 220px; }
  .ev-facts dt { font-size: 32px; }
  .ev-facts > div { padding: 22px 12px 24px 0; }
}
