/* Event landing and protected contact list, using the shared Adsage palette. */
.ih-welcome { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; margin-top: 26px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: #edf1e7; }
.ih-welcome img { width: 220px; height: auto; padding: 22px 18px; background: var(--ink); border-radius: 6px; }
.ih-welcome > div { flex: 1 1 300px; min-height: 68px; display: flex; align-items: center; }
.ih-welcome p { font-size: 14px; color: var(--muted); }
.ih-welcome a { text-decoration: underline; text-underline-offset: 3px; }
.event-hero .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.event-hero h1 { font-size: clamp(40px, 4.4vw, 62px); }
.event-hero .hero-note { font-size: 12px; }
.event-motion-space { min-height: 40px; }
.event-hero .hero-sub { margin-top: 16px; }
.event-contact { min-width: 0; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.event-contact h2 { font-size: clamp(25px, 2.6vw, 32px); letter-spacing: -.035em; line-height: 1.15; }
.event-contact > p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.event-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.event-form > :not(.event-field), .event-form .event-field-wide { grid-column: 1 / -1; }
.event-field { display: grid; gap: 8px; min-width: 0; }
.event-field label { font-size: 14px; font-weight: 600; }
.event-field label span { font-weight: 400; }
.event-field input, .event-field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #8a9b87; border-radius: 7px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.event-field textarea { resize: vertical; }
.event-field input::placeholder, .event-field textarea::placeholder { color: #667463; opacity: 1; }
.event-field small, .event-access-help { font-size: 12px; color: var(--muted); line-height: 1.5; }
.event-confirm { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.6; cursor: pointer; }
.event-confirm input { flex: 0 0 24px; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--green); }
.event-form .btn { width: 100%; white-space: normal; text-align: center; }
.event-privacy { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.event-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.event-access-help { margin: 0; }
.event-contact .event-feedback { padding: 18px; border: 1px solid var(--green); border-radius: 8px; color: var(--ink); background: white; }
.event-contact .event-feedback-error { border-color: #a63b20; color: #852a13; }
.tamas-heading { display: flex; align-items: center; gap: 24px; margin-top: 22px; }
.tamas-portrait { display: block; flex: 0 0 128px; width: 128px; height: 160px; object-fit: cover; border: 1px solid var(--line); border-radius: 12px; }
.tamas-heading h2 { min-width: 0; margin-top: 0; font-size: clamp(32px, 3.2vw, 46px); }
.tamas-recommendation { margin-top: 30px; padding: 24px 0 0 22px; border-top: 1px solid #c6d1ba; border-left: 3px solid var(--green); }
.tamas-recommendation p { font-size: 20px; line-height: 1.5; letter-spacing: -.025em; }
.tamas-recommendation figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.event-leads { padding-block: 48px; }
.event-leads h1 { margin-top: 20px; font-size: clamp(36px, 5vw, 54px); }
.event-leads > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); }
.event-lead-list { display: grid; gap: 18px; padding: 0; margin: 32px 0 0; list-style: none; }
.event-lead { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; min-width: 0; overflow-wrap: anywhere; }
.event-lead h2 { font-size: 22px; letter-spacing: -.025em; }
.event-lead-number { color: var(--muted); }
.event-lead a { text-decoration: underline; text-underline-offset: 3px; }
.event-lead dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0 0; }
.event-lead dt { font-size: 12px; color: var(--muted); }
.event-lead dd { margin: 6px 0 0; font-size: 16px; }
.event-lead dd a { display: inline-block; padding-block: 6px; }
.event-lead-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.event-lead-note h3 { font-size: 14px; }
.event-lead-note p { margin-top: 8px; white-space: pre-wrap; }
.event-lead-access { margin-top: 18px; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
    .event-hero .hero-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
    [data-site-page="katotamas"] .brand strong { font-size: 22px; }
    .nav-actions .event-contact-cta { padding-inline: 10px; }
    .event-contact-cta span { display: none; }
    .event-form { grid-template-columns: 1fr; }
    .event-hero h1 { font-size: clamp(36px, 10vw, 54px); }
    .tamas-heading { gap: 18px; }
    .tamas-portrait { flex-basis: clamp(88px, 24vw, 112px); width: clamp(88px, 24vw, 112px); height: auto; }
    .tamas-heading h2 { font-size: 30px; }
    .event-lead { padding: 20px; }
    .event-lead dl { grid-template-columns: 1fr; gap: 16px; }
}

/* Monthly calendar and a focused time-then-contact appointment flow. */
.booking-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.event-hero .hero-details .hero-sub { max-width: 520px; margin-top: 0; }
.event-hero .hero-bridge { max-width: 520px; }
.event-booking { padding: 36px 0 64px; scroll-margin-top: 98px; }
.booking-widget { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 18px 54px -38px #182d2759; }
.booking-host { min-width: 0; padding: 36px 38px; background: var(--ink); color: white; }
.booking-host-intro { text-align: center; }
.booking-portrait { position: relative; display: block; width: 112px; height: 112px; margin: 0 auto 20px; border: 3px solid #e2eadb; border-radius: 50%; }
.booking-portrait-frame { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; }
.booking-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(1.6); transform-origin: 50% 12%; }
.booking-portrait:hover { border-color: var(--lime); }
.booking-portrait-zoom { position: absolute; right: -3px; bottom: 1px; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 19px; }
.booking-host-kicker { color: #d8ef91; font-size: 11px; letter-spacing: .06em; }
.booking-host h2 { margin-top: 10px; font-size: 30px; line-height: 1.17; letter-spacing: -.035em; }
.booking-host-duration { margin-top: 12px; color: #c9d6c7; font-size: 13px; }
.booking-month-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 20px; }
.booking-month-nav button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #62715f; border-radius: 50%; background: transparent; color: white; font-size: 30px; line-height: 1; }
.booking-month-nav button:disabled { opacity: .35; cursor: default; }
.booking-month-nav button:not(:disabled):hover { background: #304538; }
.booking-month-nav h3, .booking-month-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.booking-month-title { margin: 28px 0 20px; text-align: center; }
.booking-months { min-width: 0; margin: 0; padding: 0; border: 0; }
.booking-weekdays, .booking-date-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.booking-weekdays { margin-bottom: 12px; text-align: center; color: #c9d6c7; font-size: 12px; font-weight: 600; }
.booking-weekdays abbr { text-decoration: none; }
.booking-date-grid { row-gap: 7px; }
.booking-date { position: relative; display: flex; justify-content: center; min-width: 0; cursor: pointer; }
.booking-date input, .booking-slot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.booking-date > span, .booking-date-off, .booking-date-empty { display: grid; place-items: center; width: 100%; max-width: 44px; aspect-ratio: 1; justify-self: center; border-radius: 50%; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.booking-date input:checked + span { background: white; color: var(--ink); font-weight: 600; }
.booking-date input:not(:checked) + span { color: white; background: #304638; }
.booking-date:hover input:not(:checked) + span { background: #436044; }
.booking-date input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.booking-date-off { color: #9daa9b; }
#booking-filter-submit { width: 100%; margin-top: 20px; }
.booking-date-key { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: #c9d6c7; font-size: 12px; }
.booking-date-key > span { width: 8px; height: 8px; border-radius: 50%; background: white; }
.booking-host-hours { display: grid; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #52664e; color: #c9d6c7; font-size: 12px; text-align: center; }
.booking-host-hours strong { display: block; margin-top: 2px; color: white; font-size: 14px; font-weight: 500; }
.booking-main { min-width: 0; padding: 38px 42px; scroll-margin-top: 98px; }
.booking-time-intro { position: relative; padding-right: 78px; }
.booking-time-intro .eyebrow { font-size: 10px; }
.booking-time-intro h3 { margin-top: 15px; font-size: 28px; line-height: 1.2; letter-spacing: -.035em; }
.booking-duration { position: absolute; top: 0; right: 0; padding: 7px 12px; border: 1px solid #ccd7c4; border-radius: 24px; background: #f2f6ed; font-size: 13px; font-weight: 500; }
.booking-location { margin-top: 18px; font-size: 15px; color: var(--muted); }
.event-timezone { margin-top: 10px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.booking-calendar-note { margin-top: 3px; font-size: 12px; color: var(--muted); }
.booking-list-heading { display: flex; justify-content: space-between; margin-top: 28px; font-size: 12px; color: var(--muted); }
.booking-slot-list { max-height: 432px; margin-top: 12px; overflow-y: auto; padding: 3px 9px 3px 3px; scrollbar-width: thin; scrollbar-color: #a9b7a1 #f0f3eb; }
.booking-slot-list::-webkit-scrollbar { width: 6px; }
.booking-slot-list::-webkit-scrollbar-thumb { border-radius: 4px; background: #a9b7a1; }
.booking-time-list { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.booking-slot { position: relative; min-width: 0; cursor: pointer; }
.booking-slot > span { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 15px 18px; border: 1px solid #cbd5c6; border-radius: 8px; background: white; }
.booking-slot strong { font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.booking-slot-end { font-size: 13px; font-weight: 400; color: var(--muted); }
.booking-slot small { flex-shrink: 0; font-size: 12px; color: var(--muted); }
.booking-slot--free:hover > span { border-color: var(--green); background: #f4f8ef; }
.booking-slot input:checked + span { border-color: var(--ink); background: #edf4e6; box-shadow: inset 0 0 0 1px var(--ink); }
.booking-slot input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.booking-slot--booked, .booking-slot--past { cursor: default; }
.booking-slot--booked > span { background: #f4ebe4; border-color: #d6bfae; color: #76462c; }
.booking-slot--booked small, .booking-slot--booked .booking-slot-end { color: #76462c; }
.booking-slot--past > span { background: #f4f5f2; border-color: #dce1d8; color: #697561; }
.booking-slot--past small, .booking-slot--past .booking-slot-end { color: #697561; }
.booking-refresh { min-height: 38px; margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.booking-main[data-stage="contact"] .event-contact { margin-top: 0; padding-top: 0; border-top: 0; }
.booking-back { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0; margin-bottom: 24px; border: 0; background: transparent; font-size: 13px; color: var(--muted); }
.booking-back:hover { color: var(--ink); }
.booking-selection { padding: 14px 16px; border-left: 3px solid var(--green); border-radius: 5px; background: #f0f5e9; font-size: 14px; line-height: 1.6; }
.booking-selection strong { display: block; }
.booking-direct { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 24px; padding: 24px 30px; border: 1px solid var(--line); border-radius: 12px; background: #edf1e7; }
.booking-direct h3 { font-size: 19px; letter-spacing: -.02em; }
.booking-direct p { max-width: 440px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.booking-direct-links { display: grid; gap: 4px; }
.booking-direct-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.booking-direct-links span { flex-shrink: 0; }
.event-lead-booking { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding: 14px 18px; border-radius: 7px; background: #edf4e6; font-size: 14px; }
.event-lead-booking span { color: var(--muted); }
.booking-photo-dialog { width: min(660px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 12px; overflow: auto; background: var(--ink); color: white; }
.booking-photo-dialog::backdrop { background: #0a1610d9; }
.booking-photo-dialog > img { display: block; width: 100%; max-height: calc(100dvh - 94px); object-fit: contain; }
.booking-photo-dialog > p { padding: 14px 24px; text-align: center; font-size: 14px; }
.booking-photo-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #b8c6b2; border-radius: 50%; background: var(--ink); color: white; font-size: 30px; line-height: 1; }
.event-progress .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.event-progress .steps li { padding: 52px 0 0; }
.event-progress .steps li:not(:last-child)::after { left: 48px; right: -20px; top: 17px; bottom: auto; width: auto; height: 1px; }
@media (max-width: 800px) {
    .booking-widget { grid-template-columns: 1fr; }
    .booking-host { padding: 28px; }
    .booking-host-intro, #booking-filters, .booking-date-key, .booking-host-hours { max-width: 440px; margin-inline: auto; }
    .booking-host-intro { display: flex; align-items: center; gap: 20px; text-align: left; }
    .booking-portrait { flex: 0 0 90px; width: 90px; height: 90px; margin: 0; }
    .booking-host h2 { font-size: 27px; }
    .booking-host-duration { font-size: 12px; }
    .booking-host-hours { display: flex; justify-content: center; gap: 30px; }
    .booking-main { padding: 32px; }
    .booking-slot-list { max-height: 360px; }
    .event-progress .steps { grid-template-columns: 1fr; gap: 0; }
    .event-progress .steps li { padding: 0 0 29px 55px; }
    .event-progress .steps li:not(:last-child)::after { left: 17px; right: auto; top: 39px; bottom: 7px; width: 1px; height: auto; }
}
@media (max-width: 600px) {
    .event-booking { padding-top: 16px; scroll-margin-top: 84px; }
    .booking-widget { border-radius: 14px; }
    .booking-host { padding: 24px 18px; }
    .booking-host-intro { gap: 14px; }
    .booking-portrait { flex-basis: 72px; width: 72px; height: 72px; border-width: 2px; }
    .booking-portrait-zoom { width: 24px; height: 24px; font-size: 16px; }
    .booking-host-kicker { font-size: 10px; letter-spacing: 0; }
    .booking-host h2 { font-size: 23px; }
    .booking-host-duration { margin-top: 8px; font-size: 11px; }
    .booking-month-nav { margin-top: 24px; margin-bottom: 16px; }
    .booking-month-nav h3, .booking-month-title { font-size: 21px; }
    .booking-weekdays, .booking-date-grid { gap: 3px; }
    .booking-date-grid { row-gap: 5px; }
    .booking-date > span, .booking-date-off, .booking-date-empty { font-size: 16px; }
    .booking-host-hours { gap: 20px; font-size: 11px; }
    .booking-date-key { font-size: 11px; }
    .booking-main { padding: 26px 20px; }
    .booking-time-intro h3 { font-size: 25px; }
    .booking-time-intro { padding-right: 60px; }
    .booking-duration { padding: 6px 9px; font-size: 12px; }
    .booking-slot > span { padding: 14px; min-height: 58px; gap: 8px; }
    .booking-slot strong { font-size: 18px; }
    .booking-slot-action-label { display: none; }
    .booking-direct { padding: 24px 20px; }
    .booking-direct-links { width: 100%; }
}
