/* Webinar hub and single pages. Loaded on its own so it is not tied to the main stylesheet cache. */

body.post-type-archive-webinar,
body.single-webinar {
    background: #ffffff;
}

.webinar-hero {
    position: relative;
    overflow: hidden;
    background: #000D33;
    color: #ffffff;
}

.webinar-hero--archive {
    min-height: 460px;
}

.webinar-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
}

.webinar-hero__media .background-video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center bottom;
}

.webinar-hero__inner {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 40px 96px;
}

.webinar-hero--single {
    min-height: 0;
}

.webinar-hero--single .webinar-hero__inner {
    padding: 56px 40px 48px;
}

.webinar-hero__kicker {
    margin: 0 0 18px;
}

.webinar-hero__dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
}

body .webinar-hero h1 {
    max-width: 14em;
    margin: 0;
    color: #ffffff;
    font-family: "acumin-pro", Arial, sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.02em;
}

body .webinar-hero--single h1 {
    max-width: 18em;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}

.webinar-hero__intro,
.webinar-hero__meta {
    max-width: 38em;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.45;
}

.webinar-hero__edge {
    display: flex;
    background: #ffffff;
}

.webinar-hero__edge-navy {
    width: 18%;
    height: 40px;
    background: #000D33;
    border-bottom-right-radius: 10px;
}

.webinar-hero__edge-white {
    flex: 1;
    height: 40px;
    background: #ffffff;
    border-top-left-radius: 10px;
}

body.post-type-archive-webinar .site-content,
body.single-webinar .site-content,
body.post-type-archive-webinar .site-main,
body.single-webinar .site-main,
body.separate-containers.post-type-archive-webinar .site-main > .webinar-archive,
body.separate-containers.single-webinar .site-main > .webinar {
    margin-top: 0;
    margin-bottom: 0;
    background: transparent;
}

.webinar-wrap {
    box-sizing: border-box;
    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 8px 72px;
}

.webinar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 40px;
}

.webinar-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
}

.webinar-card__media {
    display: block;
    margin-bottom: 8px;
}

.webinar-card__media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 1px solid #ffb600;
    border-radius: 8px;
}

.webinar-card__date,
.webinar-back {
    margin: 16px 0 8px;
    color: #000D33;
    font-size: 16px;
    font-weight: 300;
}

.webinar-back {
    margin-top: 0;
}

body .webinar-back a,
body .webinar-card__title a,
body .webinar-downloads a {
    color: #000D33;
    text-decoration: none;
}

body .webinar-back a:hover,
body .webinar-back a:focus,
body .webinar-card__title a:hover,
body .webinar-card__title a:focus {
    color: #1D2B55;
}

.webinar-card__title {
    margin: 0 0 12px;
    color: #000D33;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    text-transform: none;
}

.webinar-card__text {
    margin: 0;
    color: #051c2c;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}

.webinar-button {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    column-gap: 0.5em;
    margin-top: auto;
    padding: 15px 20px;
    border-radius: 8px;
    background: #DADCE3;
    color: #000D33;
    font-weight: 400;
    text-decoration: none;
}

.webinar-card .webinar-button {
    margin-top: 20px;
}

body .webinar-button,
body .webinar-button:visited {
    color: #000D33;
}

body .webinar-button:hover,
body .webinar-button:focus {
    background: #1D2B55;
    color: #ffffff;
}

.webinar-button__icon {
    display: inline-flex;
}

.webinar-button__icon svg {
    width: 22px;
    height: 16px;
}

.webinar-frame {
    margin: 8px 0 28px;
}

.webinar-frame img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border: 1px solid #ffb600;
    border-radius: 8px;
}

.webinar-overview {
    max-width: 72ch;
    color: #051c2c;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
}

.webinar-overview > *:first-child {
    margin-top: 0;
}

.webinar-speakers-block {
    margin-top: 36px;
}

.webinar-speakers-block h2,
.webinar-recording h2,
.webinar-downloads h2,
.webinar-panel h2 {
    margin: 0 0 14px;
    color: #000D33;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
}

.webinar-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.webinar-speakers li {
    width: 180px;
}

.webinar-speakers img {
    display: block;
    width: 96px;
    height: 96px;
    margin-bottom: 12px;
    object-fit: cover;
    border: 1px solid #ffb600;
    border-radius: 50%;
}

.webinar-speakers strong,
.webinar-speakers span {
    display: block;
}

.webinar-speakers strong {
    color: #000D33;
    font-size: 18px;
    font-weight: 500;
}

.webinar-speakers span {
    margin-top: 4px;
    color: #1D2B55;
    font-size: 15px;
    font-weight: 300;
}

.webinar-recording {
    margin-top: 40px;
}

.webinar-recording__frame {
    position: relative;
    height: 0;
    margin: 0 0 28px;
    padding-top: 56.25%;
    overflow: hidden;
    background: #000D33;
    border-radius: 8px;
}

.webinar-recording__frame iframe,
.webinar-recording__frame video,
.webinar-recording__frame embed,
.webinar-recording__frame object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.webinar-body {
    max-width: 72ch;
    color: #051c2c;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
}

.webinar-downloads ul {
    margin: 0;
    padding-left: 18px;
}

.webinar-access {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
    gap: 24px;
    align-items: start;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid #e5e6ea;
}

.webinar-panel {
    box-sizing: border-box;
    padding: 28px 24px 24px;
    background: #f7f8f9;
    border: 1px solid #e5e6ea;
    border-radius: 8px;
}

.webinar-panel--password {
    background: #fff8e8;
    border-color: #ffb600;
}

.webinar-panel > p {
    margin: 0 0 18px;
    color: #051c2c;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}

.webinar-staff-note {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #fff8e8;
    border-left: 4px solid #ffb600;
    color: #051c2c;
}

body .webinar-staff-note a {
    color: #1D2B55;
}

.webinar-fields__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
}

.webinar-access .wpcf7-form p {
    margin: 0 0 14px;
}

.webinar-access .wpcf7-form label,
.webinar-password label {
    display: block;
    margin-bottom: 6px;
    color: #1D2B55;
    font-size: 15px;
    font-weight: 500;
}

.webinar-req {
    color: #c89600;
}

body .webinar-access .wpcf7-form input[type="text"],
body .webinar-access .wpcf7-form input[type="email"],
body .webinar-access .wpcf7-form input[type="tel"],
body .webinar-access .wpcf7-form textarea,
body .webinar-password input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #d5d8de;
    border-radius: 0;
    background: #ffffff;
    color: #051c2c;
    font-family: "acumin-pro", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

body .webinar-access .wpcf7-form input:focus,
body .webinar-access .wpcf7-form textarea:focus,
body .webinar-password input:focus {
    outline: 2px solid #ffb600;
    outline-offset: 1px;
}

.webinar-password input[type="password"] {
    margin-bottom: 14px;
}

.webinar-access .wpcf7-list-item {
    margin: 4px 0 16px;
}

.webinar-access .wpcf7-acceptance .wpcf7-list-item label,
.webinar-access .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #051c2c;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

body .webinar-access .wpcf7-list-item-label {
    display: inline;
    margin: 0;
    color: #051c2c;
    font-size: 15px;
    line-height: 1.45;
}

body .webinar-access .wpcf7-acceptance input[type="checkbox"] {
    position: static;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
}

.webinar-access .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #8a1f11;
    font-size: 14px;
}

.webinar-access .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    color: #051c2c;
}

.webinar-password__error,
.webinar-closed,
.webinar-empty {
    color: #051c2c;
    font-size: 16px;
}

.webinar-password__error {
    margin: 0 0 12px;
    color: #8a1f11;
    font-weight: 500;
}

body .webinar-button--solid,
body .webinar-submit,
body .webinar-access .wpcf7-form input[type="submit"],
body .webinar-access .wpcf7-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 4px 0 0;
    padding: 14px 22px;
    border: 0;
    border-radius: 8px;
    background: #ffb600;
    color: #051c2c;
    font-family: "acumin-pro", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
}

body .webinar-button--solid:hover,
body .webinar-button--solid:focus,
body .webinar-submit:hover,
body .webinar-submit:focus,
body .webinar-access .wpcf7-form input[type="submit"]:hover,
body .webinar-access .wpcf7-form input[type="submit"]:focus {
    background: #1D2B55;
    color: #ffffff;
}

.webinar-paging {
    margin-top: 36px;
}

@media (max-width: 768px) {
    .webinar-hero--archive {
        min-height: 320px;
    }

    .webinar-hero__inner,
    .webinar-hero--single .webinar-hero__inner {
        padding: 40px 20px 48px;
    }

    .webinar-wrap {
        padding-right: 16px;
        padding-left: 16px;
    }

    .webinar-grid,
    .webinar-fields__row,
    .webinar-access {
        grid-template-columns: 1fr;
    }

    .webinar-frame img,
    .webinar-card__media img {
        height: 200px;
    }

    .webinar-hero__edge-navy {
        width: 28%;
    }
}
