.hrmg-event,
.hrmg-event * {
    box-sizing: border-box;
}

.hrmg-event {
    --navy-950: #03111f;
    --navy-900: #061729;
    --navy-800: #0b2440;
    --cyan: #49c9ee;
    --mint: #50dfb5;
    --orange: #ff9f61;
    --ink: #10263a;
    position: relative;
    width: min(1440px, 100vw);
    max-width: none;
    margin: clamp(24px, 5vw, 70px) 50%;
    transform: translateX(-50%);
    padding: clamp(18px, 4vw, 58px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 91% 5%, rgba(42, 101, 178, .32), transparent 30%),
        radial-gradient(circle at 65% 100%, rgba(38, 208, 186, .13), transparent 26%),
        linear-gradient(145deg, var(--navy-950), var(--navy-900) 58%, #091c35);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    isolation: isolate;
}

.hrmg-event::before,
.hrmg-event::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(73, 201, 238, .15);
    border-radius: 50%;
}

.hrmg-event::before {
    width: 520px;
    height: 520px;
    right: -260px;
    top: -290px;
    box-shadow: 0 0 0 80px rgba(73, 201, 238, .025), 0 0 0 160px rgba(73, 201, 238, .02);
}

.hrmg-event::after {
    width: 250px;
    height: 250px;
    left: -165px;
    bottom: -145px;
}

.hrmg-event__glow {
    position: absolute;
    left: 47%;
    top: 18%;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(73, 201, 238, .18);
    filter: blur(100px);
    pointer-events: none;
}

.hrmg-event__shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(300px, .82fr) minmax(440px, 1.18fr);
    border: 1px solid rgba(130, 210, 238, .23);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(3, 17, 31, .72);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
    backdrop-filter: blur(12px);
}

.hrmg-event__art {
    position: relative;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 25%, rgba(43, 141, 202, .18), transparent 35%),
        var(--navy-950);
}

.hrmg-event__poster {
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(73, 201, 238, .24);
    border-radius: 16px;
    background: #041525;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

.hrmg-event__poster img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: contain;
    object-position: center;
}

.hrmg-event__speaker-photo {
    position: relative;
    flex: 1 1 320px;
    min-height: 270px;
    max-height: 420px;
    overflow: hidden;
    border: 1px solid rgba(73, 201, 238, .24);
    border-radius: 16px;
    background: #081c30;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.hrmg-event__speaker-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(2, 13, 24, .94));
    pointer-events: none;
}

.hrmg-event__speaker-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.hrmg-event__speaker-copy {
    position: absolute;
    z-index: 1;
    left: 22px;
    right: 22px;
    bottom: 20px;
}

.hrmg-event__speaker-copy span,
.hrmg-event__speaker-copy strong,
.hrmg-event__speaker-copy small {
    display: block;
}

.hrmg-event__speaker-copy span {
    margin-bottom: 6px;
    color: var(--cyan);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hrmg-event__speaker-copy strong {
    color: #fff;
    font-size: 23px;
    line-height: 1.2;
}

.hrmg-event__speaker-copy small {
    margin-top: 4px;
    color: #bfd0df;
    font-size: 12px;
    line-height: 1.45;
}

.hrmg-event__art-caption {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    margin-top: auto;
    padding: 18px 4px 6px;
    border-top: 2px solid var(--cyan);
}

.hrmg-event__art-caption span,
.hrmg-event__art-caption strong {
    display: block;
}

.hrmg-event__art-caption span {
    margin-bottom: 9px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hrmg-event__art-caption strong {
    max-width: 350px;
    font-size: 20px;
    line-height: 1.35;
}

.hrmg-event__panel {
    padding: clamp(32px, 5vw, 66px);
    background: #fff;
    color: var(--ink);
}

.hrmg-event__eyebrow {
    margin-bottom: 12px;
    color: #1684ad;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hrmg-event__panel h1,
.hrmg-event__panel h2 {
    margin: 0;
    color: var(--ink);
    letter-spacing: -.035em;
}

.hrmg-event__panel h1 {
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.03;
}

.hrmg-event__lede {
    max-width: 620px;
    margin: 18px 0 28px;
    color: #50657a;
    font-size: 16px;
    line-height: 1.7;
}

.hrmg-event__lede p {
    margin: 0 0 15px;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.hrmg-event__lede p:last-child,
.hrmg-event__lede ul:last-child,
.hrmg-event__lede ol:last-child {
    margin-bottom: 0;
}

.hrmg-event__lede ul,
.hrmg-event__lede ol {
    margin: 0 0 15px;
    padding-left: 1.35em;
}

.hrmg-event__lede li + li {
    margin-top: 5px;
}

.hrmg-event__lede strong {
    color: #344b60;
    font-weight: 800;
}

.hrmg-event__lede a {
    color: #1684ad;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.hrmg-event__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 28px;
}

.hrmg-event__details div {
    padding: 16px 18px;
    border: 1px solid #dce8ef;
    border-radius: 11px;
    background: #f5f9fc;
}

.hrmg-event__details dt {
    margin-bottom: 5px;
    color: #1684ad;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hrmg-event__details dd {
    margin: 0;
    color: var(--ink);
    line-height: 1.45;
}

.hrmg-event__details dd strong,
.hrmg-event__details dd span,
.hrmg-event__details dd address {
    display: block;
}

.hrmg-event__details dd strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.hrmg-event__details dd span,
.hrmg-event__details dd address {
    position: relative;
    margin: 7px 0 0;
    padding-top: 7px;
    border-top: 1px solid #d6e4ec;
    color: #617789;
    font-size: 12.5px;
    font-style: normal;
    font-weight: 650;
    line-height: 1.5;
}

.hrmg-event__map-link {
    display: inline;
    color: inherit;
    text-decoration-color: rgba(22, 132, 173, .38);
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .18s, text-decoration-color .18s;
}

.hrmg-event__map-link::after {
    content: "\2197";
    display: inline-block;
    margin-left: 5px;
    color: #1684ad;
    font-size: .88em;
    font-weight: 800;
    text-decoration: none;
}

.hrmg-event__map-link:hover,
.hrmg-event__map-link:focus-visible {
    color: #0f7399;
    text-decoration-color: currentColor;
}

.hrmg-event__map-link:focus-visible {
    border-radius: 3px;
    outline: 3px solid rgba(73, 201, 238, .25);
    outline-offset: 3px;
}

.hrmg-event__availability {
    display: inline-flex;
    margin: -8px 0 24px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e9faf4;
    color: #147a5e;
    font-size: 12px;
    font-weight: 800;
}

.hrmg-event__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.hrmg-event__grid label,
.hrmg-event__grid label span {
    display: block;
}

.hrmg-event__grid label span {
    margin: 0 0 7px;
    color: #344b60;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.hrmg-event__grid label span b {
    color: #e6562a;
}

.hrmg-event__wide {
    grid-column: 1 / -1;
}

.hrmg-event input[type="text"],
.hrmg-event input[type="email"],
.hrmg-event input[type="tel"],
.hrmg-event textarea {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #cad9e3;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
}

.hrmg-event textarea {
    min-height: 82px;
    resize: vertical;
}

.hrmg-event input:focus,
.hrmg-event textarea:focus {
    border-color: #209bc7;
    box-shadow: 0 0 0 4px rgba(73, 201, 238, .16);
}

.hrmg-event input:user-invalid,
.hrmg-event textarea:user-invalid {
    border-color: #d94d38;
}

.hrmg-event__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    color: #52677a;
    font-size: 13px;
    line-height: 1.5;
}

.hrmg-event__consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: #1684ad;
}

.hrmg-event .cf-turnstile {
    min-height: 65px;
    margin: 4px 0 14px;
}

.hrmg-event__submit {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 6px 0 0;
    padding: 14px 19px 14px 22px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #ff7a45, #f15a2a);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(241, 90, 42, .22);
    transition: transform .16s, box-shadow .16s, opacity .16s;
}

.hrmg-event__submit i {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-style: normal;
    font-size: 18px;
}

.hrmg-event__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(241, 90, 42, .28);
}

.hrmg-event__submit:disabled {
    opacity: .52;
    cursor: not-allowed;
}

.hrmg-event__privacy {
    margin: 11px 0 0;
    color: #81909e;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.hrmg-event__status:not(:empty),
.hrmg-event__config-warning {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.hrmg-event__status[data-type="error"] {
    border: 1px solid #f2c5be;
    background: #fff2f0;
    color: #a23929;
}

.hrmg-event__config-warning {
    border: 1px solid #f0d394;
    background: #fff8e7;
    color: #75510a;
}

.hrmg-event__success,
.hrmg-event__closed {
    padding: clamp(26px, 4vw, 46px) 0;
    text-align: center;
}

.hrmg-event__success[hidden] {
    display: none;
}

.hrmg-event__check,
.hrmg-event__closed > span {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e7fbf4, #caf5e7);
    color: #128760;
    font-size: 30px;
    font-weight: 900;
    box-shadow: 0 8px 28px rgba(36, 182, 133, .2);
}

.hrmg-event__success h2,
.hrmg-event__closed h2 {
    margin: 0 0 12px;
    font-size: clamp(31px, 4vw, 46px);
}

.hrmg-event__success p,
.hrmg-event__closed p {
    max-width: 470px;
    margin: 0 auto 26px;
    color: #586d80;
    font-size: 16px;
    line-height: 1.7;
}

.hrmg-event__calendar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 19px;
    border: 1px solid #bddce9;
    border-radius: 8px;
    color: #126e91;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.hrmg-event__trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .hrmg-event__shell {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .hrmg-event__art {
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
        padding: 18px;
    }

    .hrmg-event__speaker-photo {
        min-height: 0;
        max-height: none;
        aspect-ratio: 1 / 1;
    }

    .hrmg-event__art-caption {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .hrmg-event {
        margin-top: 16px;
        margin-bottom: 16px;
        padding: 10px;
    }

    .hrmg-event__shell {
        border-radius: 17px;
    }

    .hrmg-event__art {
        display: flex;
        padding: 12px;
    }

    .hrmg-event__speaker-photo {
        min-height: 250px;
        aspect-ratio: 3 / 2;
    }

    .hrmg-event__art-caption {
        display: block;
    }

    .hrmg-event__panel {
        padding: 30px 22px 34px;
    }

    .hrmg-event__panel h1 {
        font-size: 39px;
    }

    .hrmg-event__details,
    .hrmg-event__grid {
        grid-template-columns: 1fr;
    }

    .hrmg-event__wide {
        grid-column: auto;
    }
}
