/* Diers Webinar — signup section and bottom bar. Fonts are inherited from the
   Elementor kit; the accent is the site's #CA9582 (as ic_booking_cta). */

.ic-webinar {
    --icw-accent: #CA9582;
    --icw-accent-dark: #B07B68;
    --icw-soft: #F8F1EE;
    --icw-line: #E9DCD6;
    --icw-text: #2B2B2B;
    --icw-muted: #6B6461;
    margin: 40px 0 16px;
    color: var(--icw-text);
}

.ic-webinar__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 28px;
    border: 1px solid var(--icw-line);
    border-radius: 16px;
    background: var(--icw-line);
    overflow: hidden;
}
.ic-webinar__facts > div {
    padding: 18px 22px;
    background: #fff;
}
.ic-webinar__facts dt {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--icw-accent-dark);
}
.ic-webinar__facts dd {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
}

.ic-webinar__card {
    padding: 32px;
    border-radius: 16px;
    background: var(--icw-soft);
}
.ic-webinar__title {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.2;
}

.ic-webinar__form {
    margin: 0;
}
.ic-webinar__field {
    margin: 0 0 16px;
}
.ic-webinar .ic-webinar__field label {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
}
.ic-webinar .ic-webinar__field input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--icw-line);
    border-radius: 8px;
    background: #fff;
    color: var(--icw-text);
    font: inherit;
    font-size: 16px; /* no iOS zoom on focus */
}
.ic-webinar .ic-webinar__field input:focus {
    border-color: var(--icw-accent);
    outline: 3px solid rgba(202, 149, 130, .3);
    outline-offset: 0;
}

.ic-webinar button.ic-webinar__submit,
.ic-webinar button.ic-webinar__submit:focus {
    display: inline-block;
    padding: 14px 30px;
    border: 0;
    border-radius: 999px;
    background: var(--icw-accent);
    color: #fff;
    line-height: 1.2;
    text-transform: none;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .18s ease;
}
.ic-webinar button.ic-webinar__submit:hover,
.ic-webinar button.ic-webinar__submit:focus-visible {
    background: var(--icw-accent-dark);
    color: #fff;
}

.ic-webinar__privacy {
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--icw-muted);
}
.ic-webinar__privacy a {
    color: inherit;
    text-decoration: underline;
}

.ic-webinar__errors {
    margin: 0 0 18px;
    padding: 12px 16px;
    border-left: 4px solid #B3261E;
    border-radius: 4px;
    background: #fff;
    color: #8C1D18;
    font-size: 15px;
}
.ic-webinar__errors p {
    margin: 0;
}

.ic-webinar__done-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 600;
}
.ic-webinar__done p:last-child,
.ic-webinar__closed {
    margin: 0;
}

.ic-webinar__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 700px) {
    .ic-webinar__facts {
        grid-template-columns: 1fr;
    }
    .ic-webinar__facts > div {
        padding: 14px 18px;
    }
    .ic-webinar__card {
        padding: 22px 18px;
    }
    .ic-webinar__title {
        font-size: 24px;
    }
    .ic-webinar button.ic-webinar__submit {
        width: 100%;
    }
}

/* ---- The signup page itself (block content around the shortcode) ---- */

.ic-webinar-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 0 24px;
}
.ic-webinar-page h1 {
    margin: 0 0 28px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}
.ic-webinar-page ul {
    margin: 0 0 1.2em;
}
.ic-webinar-page .ic-webinar {
    margin-top: 36px;
}
.ic-webinar-page .ic-webinar-intro {
    gap: 48px;
    margin: 0 0 12px;
}
.ic-webinar-host {
    margin: 0;
}
@media (min-width: 782px) {
    /* Side by side: a modest portrait, right-aligned in its column. */
    .ic-webinar-host {
        max-width: 290px;
        margin-left: auto;
    }
}
.ic-webinar-host img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 7 / 8;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 20px;
}
.ic-webinar-host figcaption {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: #6B6461;
    text-align: left;
}
@media (max-width: 781px) {
    /* Core stacks columns below 782px; keep the portrait from taking a whole screen. */
    .ic-webinar-page .ic-webinar-intro {
        gap: 20px;
    }
    .ic-webinar-host img {
        aspect-ratio: 4 / 3;
    }
}
@media (max-width: 700px) {
    .ic-webinar-page {
        padding: 28px 8px 16px;
    }
}

/* ---- Bottom bar ------------------------------------------------------ */

.ic-webinar-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998; /* under the booking button (9999) and the consent dialog */
    border-top: 1px solid #E9DCD6;
    background: #F8F1EE;
    box-shadow: 0 -6px 22px rgba(0, 0, 0, .08);
    color: #2B2B2B;
}
.ic-webinar-bar[hidden] {
    display: none;
}
.ic-webinar-bar__inner {
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 12px 20px;
}
.ic-webinar-bar__icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    color: #B07B68;
}
.ic-webinar-bar__text {
    flex: 1 1 auto;
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
}
.ic-webinar-bar__button,
.ic-webinar-bar__button:visited {
    flex: 0 0 auto;
    padding: 10px 20px;
    border-radius: 999px;
    background: #CA9582;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .18s ease;
}
.ic-webinar-bar__button:hover,
.ic-webinar-bar__button:focus-visible {
    background: #B07B68;
}
.ic-webinar-bar .ic-webinar-bar__close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    box-shadow: none;
    color: #6B6461 !important;
    cursor: pointer;
}
.ic-webinar-bar .ic-webinar-bar__close:hover,
.ic-webinar-bar .ic-webinar-bar__close:focus-visible {
    background: rgba(0, 0, 0, .06) !important;
    color: #2B2B2B !important;
}
.ic-webinar-bar__close svg {
    width: 18px;
    height: 18px;
}

/* Keep the page end and the booking button clear of the bar. */
html.ic-webinar-bar-open body {
    padding-bottom: var(--ic-webinar-bar-h, 64px);
}
html.ic-webinar-bar-open .ic-booking-cta {
    bottom: calc(var(--ic-webinar-bar-h, 64px) + 16px) !important;
}

@media (max-width: 700px) {
    .ic-webinar-bar__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 8px;
        padding: 10px 10px 12px 14px;
    }
    .ic-webinar-bar__icon {
        display: none;
    }
    .ic-webinar-bar__text {
        grid-column: 1;
        grid-row: 1;
        font-size: 14px;
    }
    .ic-webinar-bar .ic-webinar-bar__close {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }
    .ic-webinar-bar__button {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-right: 4px;
        padding: 9px 16px;
        text-align: center;
    }
    html.ic-webinar-bar-open .ic-booking-cta {
        bottom: calc(var(--ic-webinar-bar-h, 120px) + 12px) !important;
    }
}
