﻿div.qna {
}

    div.qna.question {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    div.qna.answer {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

div.chat {
}

    div.chat.message {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

/*---*/

html, body {
    min-height: 100% !important;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.streamingbox-content {
    padding-bottom: 40px;
}

.streamingbox-container {
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.streamingbox-message {
    position: absolute;
    z-index: 1;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

.streamingbox-header {
    padding-top: 3em;
}

.footer {
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    margin-top: -60px;
}

#wrapper {
    width: 100px;
    margin: 0 auto;
    border-radius: 15px;
    background-clip: padding-box;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 200ms;
}

    .overlay.light {
        background: rgba(255, 255, 255, 0.5);
    }

    .overlay .cancel {
        position: absolute;
        width: 100%;
        height: 100%;
        cursor: default;
    }

    .overlay:target {
        visibility: visible;
        opacity: 1;
    }

.popup {
    border-radius: 5px;
    margin: 75px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #666;
    width: 500px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.light .popup {
    border-color: #aaa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.popup h2 {
    margin-top: 0;
    color: #666;
    font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
}

.popup .close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 20px;
    right: 20px;
    opacity: 0.8;
    transition: all 200ms;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #666;
}

    .popup .close:hover {
        opacity: 1;
    }

.popup .content {
    max-height: 400px;
    overflow: auto;
}

.popup p {
    margin: 0 0 1em;
}

    .popup p:last-child {
        margin: 0;
    }

/* Event landing page */
.event-site { background: #eef2f3 !important; color: #172c34; font-family: Arial, Helvetica, sans-serif; }
.event-site .streamingbox-container { min-height: 100dvh; }
.event-site .sp_footer { display: none; }
.event-site .streamingbox-message { position: fixed; top: 1rem; width: min(92vw, 740px); }
.event-landing { min-height: 100dvh; padding: clamp(18px, 3vh, 36px) clamp(18px, 4vw, 72px); display: grid; place-items: center; background: radial-gradient(circle at 12% 5%, #f9fcfc 0, #edf3f3 39%, #dbe5e6 100%); }
.event-shell { width: min(1180px, 100%); }
.event-header { height: 42px; margin-bottom: clamp(14px, 2.3vh, 26px); display: flex; align-items: center; justify-content: space-between; }
.event-brand img { display: block; max-width: 170px; max-height: 38px; object-fit: contain; object-position: left center; }
.event-brand, .event-brand:hover { color: #102f38; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.event-header-label, .event-eyebrow { color: #53747a; font-size: .67rem; font-weight: 700; letter-spacing: .18em; }
.event-card { display: grid; grid-template-columns: minmax(360px, .92fr) minmax(440px, 1.08fr); overflow: hidden; background: #fff; border-radius: 20px; box-shadow: 0 22px 54px rgba(30, 62, 70, .16); }
.event-profile { position: relative; min-height: min(670px, calc(100dvh - 130px)); overflow: hidden; background: #bfd0d3; }
.event-profile > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 48% center; }
.event-profile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 42, 49, .03) 45%, rgba(10, 42, 48, .78) 100%); }
.event-profile-overlay { position: absolute; z-index: 1; left: clamp(24px, 3vw, 42px); right: 24px; bottom: clamp(25px, 4vh, 42px); color: #fff; }
.event-profile-overlay p { margin: 0 0 8px; font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.event-profile-overlay h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
.event-form-panel { padding: clamp(32px, 5.1vh, 58px) clamp(32px, 5vw, 70px); align-self: center; }
.event-eyebrow { margin: 0 0 10px; }
.event-form-panel h1 { margin: 0; color: #153a43; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.05; }
.event-intro { max-width: 470px; margin: 14px 0 26px; color: #5f7278; font-size: .94rem; line-height: 1.55; }
.event-form { display: grid; gap: 14px; }
.event-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.event-field { display: grid; gap: 6px; }
.event-field label { color: #264951; font-size: .76rem; font-weight: 700; }
.event-field input, .event-field select { min-width: 0; height: 43px; padding: 0 12px; border: 1px solid #c9d6d8; border-radius: 5px; background: #fff; color: #173c45; font: inherit; font-size: .91rem; outline: none; }
.event-field input:focus, .event-field select:focus { border-color: #176b73; box-shadow: 0 0 0 3px rgba(23, 107, 115, .13); }
.event-consent { display: flex; gap: 9px; align-items: flex-start; margin: 2px 0 4px; color: #61777c; font-size: .72rem; line-height: 1.45; }
.event-consent input { width: 15px; height: 15px; margin-top: 2px; accent-color: #176b73; }
.event-consent a { color: #176b73; }
.event-submit { height: 48px; border: 0; border-radius: 5px; background: #176b73; color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; transition: background .15s ease, transform .15s ease; }
.event-submit:hover, .event-submit:focus { background: #0d555d; transform: translateY(-1px); }
.event-submit span { margin-left: 10px; font-size: 1.15rem; vertical-align: -1px; }
.event-stream-page { padding-top: 1rem; }
.event-stream-page iframe { border: 0; border-radius: 12px; box-shadow: 0 16px 40px rgba(17, 51, 59, .2); }

/* Legal modals on the Merz-branded entry, stream and post-event pages. */
.merz-event .merz-modal .modal-content { overflow: hidden; border: 0; border-radius: 0; background: #e5a91d; box-shadow: 0 24px 64px rgba(24, 35, 56, .38); }
.merz-event .merz-modal .modal-header { min-height: 0; padding: 12px 16px 0; border: 0; }
.merz-event .merz-modal .modal-header .btn-close { margin: 0 0 0 auto; filter: brightness(0) invert(1); opacity: .9; }
.merz-event .merz-modal .modal-body { max-height: calc(100svh - 128px); overflow: auto; margin: 0 12px 12px; padding: clamp(20px, 3vw, 38px); color: #fffdf8; background: rgba(146, 80, 0, .35); font-size: 15px; line-height: 1.55; }
.merz-event .merz-modal .modal-body h1, .merz-event .merz-modal .modal-body h2, .merz-event .merz-modal .modal-body h3 { color: #ffd74d; font-weight: 800; }
.merz-event .merz-modal .modal-body h1 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; text-transform: uppercase; }
.merz-event .merz-modal .modal-body h3 { margin-top: 24px; font-size: 20px; }
.merz-event .merz-modal .modal-body a { color: #ffd74d; font-weight: 700; }
.merz-event .merz-modal .modal-footer { padding: 0 24px 18px; border: 0; }
.merz-event .merz-modal .modal-footer .btn { border: 0; border-radius: 8px; padding: 8px 18px; color: #fffdf8; background: #925000; font-weight: 800; }
.merz-event .merz-modal .modal-footer .btn:hover { background: #714000; }

@media (max-width: 767px) {
    .event-landing { padding: 18px; place-items: start center; }
    .event-header-label { display: none; }
    .event-card { grid-template-columns: 1fr; }
    .event-profile { min-height: 230px; }
    .event-profile-overlay { left: 24px; bottom: 22px; }
    .event-form-panel { padding: 32px 25px; }
    .merz-event .merz-modal .modal-dialog { margin: 10px; }
    .merz-event .merz-modal .modal-body { margin: 0 8px 8px; padding: 20px; }
    .merz-event .merz-modal .modal-footer { padding: 0 16px 14px; }
}

@media (max-width: 440px) { .event-form-grid { grid-template-columns: 1fr; } }
