/* ATG Events: scoped extension of the existing AlfaTraining visual system. */
.atg-events,
.atg-event,
.atg-event-home {
    --atg-event-radius: 22px;
    --atg-event-radius-sm: 12px;
    --atg-event-radius-pill: 500px;
    --atg-space-1: 4px;
    --atg-space-2: 8px;
    --atg-space-3: 16px;
    --atg-space-4: 24px;
    --atg-space-5: 32px;
    --atg-space-6: 48px;
    --atg-space-7: 64px;
    --atg-interactive: #1a6f87;
    --atg-accent: #238ca9;
    --atg-surface: #f5f9fa;
    --atg-text: #263141;
    --atg-text-secondary: #3e3e3e;
    --atg-border: #c8d6de;
    color: var(--atg-text);
    font-family: var(--font-family, "Rubik", sans-serif);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    min-width: 0;
    overflow-wrap: anywhere;
}

.atg-events *,
.atg-events *::before,
.atg-events *::after,
.atg-event *,
.atg-event *::before,
.atg-event *::after,
.atg-event-home *,
.atg-event-home *::before,
.atg-event-home *::after {
    box-sizing: border-box;
}

.atg-events .container,
.atg-event .container,
.atg-event-home .container {
    width: 100%;
    max-width: 1140px;
    min-width: 0;
}

.atg-events h1,
.atg-event h1 {
    color: var(--atg-text);
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2;
}

.atg-events h2,
.atg-events h3,
.atg-event h2,
.atg-event h3,
.atg-event-home h2,
.atg-event-home h3 {
    color: var(--atg-text);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.atg-events p,
.atg-event p,
.atg-event-home p {
    color: var(--atg-text-secondary);
}

.atg-events img,
.atg-events picture,
.atg-events iframe,
.atg-event img,
.atg-event picture,
.atg-event iframe,
.atg-event-home img,
.atg-event-home picture {
    display: block;
    max-width: 100%;
}

.atg-events img,
.atg-event img,
.atg-event-home img {
    height: auto;
}

.atg-event-skip-link {
    position: fixed;
    top: 8px;
    left: 16px;
    z-index: 100;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 12px;
    color: #fff;
    background: #1a6f87;
    transform: translateY(-150%);
}

.atg-event-skip-link:focus-visible {
    outline: 3px solid #1a6f87;
    outline-offset: 3px;
    transform: translateY(0);
}

.atg-events a:focus-visible,
.atg-events button:focus-visible,
.atg-events input:focus-visible,
.atg-events textarea:focus-visible,
.atg-events select:focus-visible,
.atg-event a:focus-visible,
.atg-event button:focus-visible,
.atg-event input:focus-visible,
.atg-event textarea:focus-visible,
.atg-event select:focus-visible,
.atg-event iframe:focus-visible,
.atg-event-home a:focus-visible {
    outline: 3px solid #1a6f87;
    outline-offset: 3px;
}

.atg-events-index__intro,
.atg-event-hero {
    padding-top: var(--atg-space-5);
}

.atg-events-index__intro-grid,
.atg-event-hero__layout,
.atg-event-form-section__layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
    gap: var(--atg-space-5);
    align-items: start;
    margin-top: var(--atg-space-4);
}

.atg-events-index__intro-grid {
    align-items: stretch;
}

.atg-event-hero__layout {
    align-items: stretch;
}

.atg-events-index__intro-content,
.atg-events-index__intro-copy,
.atg-events-index__subscribe,
.atg-event-hero__content,
.atg-event-hero__aside,
.atg-event-form-section__copy {
    min-width: 0;
}

.atg-events-index__intro-content h1 {
    margin-bottom: var(--atg-space-4);
}

.atg-events-index__intro-content {
    display: flex;
    flex-direction: column;
}

.atg-events-index__intro-copy > * + * {
    margin-top: var(--atg-space-3);
}

.atg-events-index__benefits {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: atg-index-benefit;
}

.atg-events-index__benefits li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    min-width: 0;
    min-height: 82px;
    padding: 15px 18px;
    border: 1px solid #d9e6ea;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #f6fafb 100%);
    box-shadow: 0 8px 24px rgba(38, 49, 65, 0.05);
    counter-increment: atg-index-benefit;
}

.atg-events-index__benefits li::before {
    display: inline-flex;
    grid-row: 1 / span 2;
    grid-column: 1;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #c8e3e9;
    border-radius: 15px;
    color: var(--atg-interactive);
    background: #eaf5f7;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    content: counter(atg-index-benefit, decimal-leading-zero);
}

.atg-events-index__benefits strong,
.atg-events-index__benefits span {
    display: block;
    grid-column: 2;
}

.atg-events-index__benefits strong {
    color: var(--atg-text);
    font-size: 16px;
    line-height: 1.35;
}

.atg-events-index__benefits span {
    margin-top: 3px;
    color: var(--atg-text-secondary);
    font-size: 14px;
    line-height: 1.45;
}

.atg-events-index__subscribe {
    display: flex;
    height: 100%;
    padding: var(--atg-space-4);
    border: 1px solid var(--atg-accent);
    border-radius: var(--atg-event-radius);
    background: var(--atg-accent);
    box-shadow: 0 14px 34px rgba(38, 49, 65, 0.08);
}

.atg-events-index__subscribe .atg-event-form--subscription {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
}

.atg-events-index__subscribe .atg-event-form--subscription h2 {
    margin-bottom: var(--atg-space-4);
    font-size: 28px;
    line-height: 1.25;
}

.atg-events-index__subscribe .atg-event-form--subscription .atg-event-form__grid {
    flex: 1;
    align-content: space-between;
    gap: 18px;
}

.atg-events-index__subscribe .atg-event-form--subscription .atg-event-form__label {
    margin-bottom: 9px;
    font-size: 15px;
}

.atg-events-index__subscribe .atg-event-form--subscription .atg-event-form__input {
    min-height: 58px;
    font-size: 16px;
}

.atg-events-index__subscribe .atg-event-form--subscription .atg-event-form__consent {
    font-size: 14.5px;
    line-height: 1.5;
}

.atg-events-index__subscribe .atg-event-form--subscription .atg-event-form__submit {
    min-height: 54px;
    font-size: 15px;
}

.atg-events-index__subscribe-action,
.atg-event-hero__action,
.atg-event-card__action-link,
.atg-event-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 24px;
    border: 0;
    border-radius: var(--atg-event-radius-pill);
    color: #fff;
    background: var(--atg-accent);
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.atg-events-index__subscribe-action {
    margin-bottom: var(--atg-space-4);
}

.atg-events-index__subscribe-action:hover,
.atg-event-hero__action:hover,
.atg-event-card__action-link:hover,
.atg-event-form__submit:hover {
    color: #fff;
    box-shadow: 0 8px 20px rgba(26, 111, 135, 0.2);
    transform: translateY(-2px);
}

.atg-events-index__subscribe-action:active,
.atg-event-hero__action:active,
.atg-event-card__action-link:active,
.atg-event-form__submit:active {
    transform: none;
}

.atg-events-index__list,
.atg-event-nav,
.atg-event-form-section,
.atg-event-social,
.atg-event-shared,
.atg-event-home {
    margin-top: var(--atg-space-7);
}

.atg-events-index__list > .container > h2 {
    margin-bottom: var(--atg-space-5);
}

.atg-events-index__list .atg-event-card + .atg-event-card {
    margin-top: var(--atg-space-4);
}

.atg-events-index__empty {
    padding: var(--atg-space-5);
    border: 1px solid var(--atg-border);
    border-radius: var(--atg-event-radius);
    background: var(--atg-surface);
}

.atg-events-index__empty p {
    margin-top: var(--atg-space-2);
}

.atg-event-card {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr) minmax(160px, auto);
    gap: var(--atg-space-4);
    min-height: 220px;
    min-width: 0;
    padding: var(--atg-space-4);
    border-radius: var(--atg-event-radius);
    background: var(--atg-surface);
    box-shadow: 0 4px 12px rgba(38, 49, 65, 0.06);
    transition: box-shadow 150ms ease, transform 150ms ease;
}

.atg-event-card:hover {
    box-shadow: 0 12px 28px rgba(35, 140, 169, 0.12);
    transform: translateY(-2px);
}

.atg-event-card__media,
.atg-event-card__body,
.atg-event-card__action {
    min-width: 0;
}

.atg-event-card__media {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--atg-event-radius);
}

.atg-event-card__media a {
    display: block;
    width: 100%;
    height: 100%;
}

.atg-event-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atg-event-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--atg-space-2);
}

.atg-event-card__state,
.atg-event-state {
    width: fit-content;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: var(--atg-event-radius-pill);
    color: #fff;
    background: var(--atg-accent);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.atg-events .atg-event-card__state,
.atg-event .atg-event-state {
    color: #fff;
}

.atg-event-state--recording {
    color: #fff;
    background: var(--atg-accent);
}

.atg-event-state--invalid,
.atg-event-card__status {
    color: #5f6b76;
    background: #edf1f3;
}

.atg-event .atg-event-state--invalid {
    color: #5f6b76;
}

.atg-event-card__title a {
    color: var(--atg-text);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
}

.atg-event-card__title a:hover {
    color: var(--atg-interactive);
    text-decoration-color: currentColor;
}

.atg-event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--atg-space-1) var(--atg-space-3);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.atg-event-card__description {
    margin-top: var(--atg-space-1);
}

.atg-event-card__action {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.atg-event-card__status {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: var(--atg-event-radius-sm);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.atg-event-hero__card {
    position: relative;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    padding: 30px;
    border: 2px solid var(--atg-accent);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(38, 49, 65, 0.08);
}

.atg-event-hero__visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.atg-event-hero__visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(108deg, #fff 14%, rgba(255, 255, 255, 0.94) 58%, rgba(255, 255, 255, 0.84) 100%);
    content: "";
}

.atg-event-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
}

.atg-event-hero__brand,
.atg-event-hero__card-grid {
    position: relative;
    z-index: 1;
}

.atg-event-hero__brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    min-height: 44px;
}

.atg-event-hero__eyebrow {
    color: var(--atg-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.atg-event-hero__company {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding-left: 14px;
    border-left: 1px solid var(--atg-border);
}

.atg-event-hero__company img {
    width: 124px;
    height: auto;
    object-fit: contain;
}

.atg-event-hero__card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 390px;
    margin-top: 22px;
}

.atg-event-hero__card-grid > .atg-event-hero__content:only-child {
    grid-column: 1 / -1;
    max-width: 760px;
}

.atg-event-hero__content {
    min-width: 0;
    align-self: center;
}

.atg-event-hero__content h1 {
    max-width: 760px;
    margin-top: 20px;
    font-size: 44px;
    line-height: 1.12;
    text-wrap: balance;
}

.atg-event-hero__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    margin: 30px 0 0;
}

.atg-event-hero__meta > div {
    width: fit-content;
    min-width: 190px;
    padding: 14px 16px;
    border: 1px solid #cfe2e7;
    border-radius: 14px;
    background: rgba(246, 250, 251, 0.92);
}

.atg-event-hero__meta dt {
    color: var(--atg-text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
}

.atg-event-hero__meta dd {
    display: grid;
    gap: 2px;
    margin: 5px 0 0;
    color: var(--atg-text);
    font-weight: 650;
    line-height: 1.25;
}

.atg-event-hero__date {
    font-size: 20px;
}

.atg-event-hero__time {
    font-size: 22px;
}

.atg-event-hero__speaker {
    display: grid;
    gap: 14px;
    align-self: end;
    justify-items: center;
    min-width: 0;
    margin-top: 12px;
    text-align: center;
}

.atg-event-hero__speaker > img {
    width: 184px;
    height: 230px;
    border: 1px solid #d7e5e9;
    border-radius: 20px;
    background: #565354;
    box-shadow: 0 10px 26px rgba(38, 49, 65, 0.14);
    object-fit: cover;
    object-position: center -6%;
}

.atg-event-hero__speaker-copy {
    min-width: 0;
}

.atg-event-hero__speaker-copy > span {
    display: inline-block;
    margin-bottom: 5px;
    padding: 4px 10px;
    border-radius: var(--atg-event-radius-pill);
    color: var(--atg-interactive);
    background: #e8f4f6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
}

.atg-event-hero__speaker-copy h3 {
    font-size: 18px;
    line-height: 1.3;
}

.atg-event-hero__speaker-copy p {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.45;
}

.atg-event-hero__aside {
    display: flex;
    min-width: 0;
}

.atg-event-hero__aside > .atg-event-form {
    width: 100%;
    height: 100%;
    border: 1px solid var(--atg-accent);
    background: var(--atg-accent);
    box-shadow: 0 16px 38px rgba(38, 49, 65, 0.08);
}

.atg-event-hero__aside > .atg-event-state {
    width: 100%;
    padding: var(--atg-space-4);
    border-radius: var(--atg-event-radius-sm);
}

.atg-event-hero__aside > .atg-event-state h2,
.atg-event-hero__aside > .atg-event-state p {
    color: inherit;
}

.atg-event-hero__aside > .atg-event-state p {
    margin-top: var(--atg-space-2);
}

.atg-event-nav {
    background: #fff;
    margin-top: var(--atg-space-5);
}

.atg-event-nav__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: var(--atg-space-4) 0;
    list-style: none;
}

.atg-event-nav__item {
    min-width: 0;
}

.atg-event-nav__link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    height: 100%;
    padding: 10px 18px;
    border: 1px solid var(--atg-surface);
    border-radius: 12px;
    background: var(--atg-surface);
    color: var(--atg-text);
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.atg-event-nav__link:hover,
.atg-event-nav__link:focus-visible {
    border-color: #e1ecef;
    color: var(--atg-interactive);
    background: #eef5f7;
    box-shadow: 0 6px 18px rgba(38, 49, 65, 0.08);
}

.atg-event-section {
    margin-top: var(--atg-space-6);
    scroll-margin-top: 100px;
}

.atg-event .atg-event-section__heading {
    margin-bottom: var(--atg-space-4);
    font-size: clamp(34px, 3.1vw, 44px);
    line-height: 1.18;
}

.atg-event-section__content,
.atg-event-section__body,
.atg-event-section__media,
.atg-event-speaker__bio {
    min-width: 0;
}

.atg-event-section--about .atg-event-section__content,
.atg-event-speaker .atg-event-section__content {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
    gap: var(--atg-space-5);
    align-items: start;
}

.atg-event-section--about .atg-event-section__content {
    display: block;
}

.atg-event-section--about .atg-event-section__body {
    width: 100%;
    max-width: none;
}

.atg-event-section__body {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.75;
}

.atg-event-section__media,
.atg-event-speaker__portrait {
    overflow: hidden;
    border-radius: var(--atg-event-radius);
}

.atg-event-section__media img,
.atg-event-speaker__portrait img {
    width: 100%;
    object-fit: cover;
}

.atg-event-speaker .atg-event-section__content {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: var(--atg-space-5);
    align-items: center;
    width: 100%;
    max-width: none;
    padding: var(--atg-space-4);
    border: 1px solid #dce8eb;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff 0%, #f7fafb 100%);
    box-shadow: 0 10px 30px rgba(38, 49, 65, 0.06);
}

.atg-event-speaker__portrait {
    width: 168px;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    background: #565354;
    box-shadow: 0 8px 20px rgba(38, 49, 65, 0.12);
}

.atg-event-speaker__portrait img {
    width: 100%;
    height: 100%;
    object-position: center -6%;
}

.atg-event-speaker--without-portrait .atg-event-section__content {
    grid-template-columns: minmax(0, 1fr);
}

.atg-event-speaker__bio h3 {
    font-size: 24px;
}

.atg-event-speaker__position {
    margin-top: 8px;
    color: var(--atg-interactive);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.atg-event-speaker__description {
    max-width: 760px;
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.75;
}

.atg-event-speaker__points {
    display: grid;
    gap: 10px;
    max-width: 760px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.atg-event-speaker__points li {
    position: relative;
    padding-left: 34px;
    line-height: 1.55;
}

.atg-event-speaker__points li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    background: var(--atg-accent);
    font-size: 14px;
    font-weight: 700;
    content: "✓";
}

.atg-event-speaker-point__title,
.atg-event-speaker-point__description {
    display: block;
}

.atg-event-speaker-point__title {
    font-weight: 600;
}

.atg-event-speaker-point__description {
    margin-top: 4px;
    font-size: 14px;
}

.atg-event-key-topics__grid,
.atg-event-benefits__grid,
.atg-event-audience__grid {
    display: grid;
    gap: var(--atg-space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.atg-event-key-topics__grid {
    counter-reset: atg-event-topic;
}

.atg-event-key-topics__grid {
    grid-template-columns: minmax(0, 1fr);
}

.atg-event-benefits__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    counter-reset: atg-event-benefit;
}

.atg-event-audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    padding: 1px;
    border: 1px solid #d5e4e8;
    border-radius: 22px;
    background: #d5e4e8;
    box-shadow: 0 12px 30px rgba(38, 49, 65, 0.07);
}

.atg-event-key-topics__card,
.atg-event-benefits__card,
.atg-event-audience__card {
    min-width: 0;
    padding: var(--atg-space-4);
    border-radius: var(--atg-event-radius);
    background: var(--atg-surface);
}

.atg-event-key-topics__card {
    position: relative;
    padding-left: 72px;
    border: 1px solid #dfebee;
    background: #fff;
    box-shadow: 0 8px 24px rgba(38, 49, 65, 0.05);
    counter-increment: atg-event-topic;
}

.atg-event-key-topics__card > * {
    max-width: 760px;
}

.atg-event-key-topics__card::before {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: var(--atg-accent);
    font-weight: 600;
    content: counter(atg-event-topic);
}

.atg-event-key-topics__title,
.atg-event-benefits__title,
.atg-event-audience__title,
.atg-event-key-topics__description,
.atg-event-benefits__description,
.atg-event-audience__description {
    display: block;
}

.atg-event-key-topics__title,
.atg-event-benefits__title,
.atg-event-audience__title {
    font-size: inherit;
    font-weight: 650;
    line-height: 1.42;
}

.atg-event-key-topics__description,
.atg-event-benefits__description,
.atg-event-audience__description {
    margin-top: 7px;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.55;
}

.atg-event-benefits__card,
.atg-event-audience__card {
    position: relative;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.atg-event-benefits__card {
    display: block;
    min-height: 190px;
    overflow: hidden;
    padding: 28px 24px;
    border: 0;
    border-radius: var(--atg-event-radius);
    color: var(--atg-text);
    background: var(--atg-surface);
    box-shadow: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    counter-increment: atg-event-benefit;
}

.atg-event-benefits__card::before {
    position: absolute;
    top: 15px;
    right: 24px;
    color: #e5f1f4;
    background: transparent;
    font-size: 88px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    content: counter(atg-event-benefit, decimal-leading-zero);
}

.atg-event-benefits__card > * {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 88%;
}

.atg-event-key-topics__card:last-child:nth-child(odd),
.atg-event-audience__card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.atg-event-audience__card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 108px;
    padding: 22px;
    color: var(--atg-text);
    background: #fff;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.42;
}

.atg-event-audience__card::before {
    width: 48px;
    height: 48px;
    border: 1px solid #bfdee5;
    border-radius: 15px;
    background-color: #e8f4f6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231a6f87' stroke-width='3.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 33v-3c0-9.2 5.8-16.7 14-19.5V23h12V10.5C46.2 13.3 52 21 52 30v3'/%3E%3Cpath d='M15.5 44c1 11.5 8 18.5 16.5 18.5S47.5 55.5 48.5 44' stroke-width='3'/%3E%3Cpath d='M25 49h.1M39 49h.1'/%3E%3Cpath d='M26 54c1.7 2 3.7 3 6 3s4.3-1 6-3'/%3E%3Cpath d='M7 33h50v9H7z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 36px 36px;
    content: "";
}

.atg-event-question .atg-event-section__content {
    padding: var(--atg-space-5);
    border-radius: var(--atg-event-radius);
    background: linear-gradient(135deg, #edf8fa 0%, #f8fbfc 100%);
}

.atg-event-question__intro {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.7;
}

.atg-event-question__placeholder {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: var(--atg-space-4);
    padding: 18px 20px;
    border: 1px dashed var(--atg-accent);
    border-radius: var(--atg-event-radius-sm);
    background: #fff;
}

.atg-event-question__placeholder strong,
.atg-event-question__placeholder span {
    display: block;
}

.atg-event-question__placeholder strong {
    color: var(--atg-text);
}

.atg-event-question__placeholder span {
    color: var(--atg-text-secondary);
}

.atg-event-question__frame {
    width: 100%;
    margin-top: var(--atg-space-4);
    min-height: 640px;
    border: 1px solid var(--atg-border);
    border-radius: var(--atg-event-radius);
    background: #fff;
}

.atg-event-question__fallback,
.atg-event-social__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: var(--atg-space-3);
    color: var(--atg-interactive);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.atg-event-form-section {
    padding: var(--atg-space-6) 0;
    background: linear-gradient(135deg, #eaf6f8 0%, #f5f9fa 100%);
}

.atg-event-form-section__layout {
    margin-top: 0;
    align-items: center;
}

.atg-event-form-section__copy {
    max-width: 470px;
}

.atg-event-form-section__copy h2 {
    margin-top: 10px;
    font-size: clamp(34px, 3.1vw, 44px);
    line-height: 1.18;
}

.atg-event-form-section__copy > p:last-child {
    margin-top: var(--atg-space-3);
    font-size: 17px;
    line-height: 1.7;
}

.atg-event-form-section__eyebrow {
    color: var(--atg-interactive) !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.atg-event-form,
.atg-event-form--hero,
.atg-event-form--repeat,
.atg-event-form--subscription {
    min-width: 0;
    padding: var(--atg-space-4);
    border-radius: var(--atg-event-radius);
    background: var(--atg-surface);
}

.atg-event-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--atg-space-3);
}

.atg-event-form--hero .atg-event-form__grid,
.atg-event-form--repeat .atg-event-form__grid {
    margin-top: var(--atg-space-3);
}

.atg-event-form--hero .atg-event-form__grid,
.atg-event-form--subscription .atg-event-form__grid {
    grid-template-columns: minmax(0, 1fr);
}

.atg-event-form--subscription .atg-event-form__field--optional {
    display: none;
}

.atg-event-form__field,
.atg-event-form__consent,
.atg-event-form__summary,
.atg-event-form__status,
.atg-event-form__submit {
    min-width: 0;
}

.atg-event-form--repeat .atg-event-form__field--position,
.atg-event-form--repeat .atg-event-form__help,
.atg-event-form--repeat .atg-event-form__consent,
.atg-event-form--repeat .atg-event-form__summary,
.atg-event-form--repeat .atg-event-form__status,
.atg-event-form--repeat .atg-event-form__submit {
    grid-column: 1 / -1;
}

.atg-event-form__label {
    display: block;
    margin-bottom: var(--atg-space-2);
    color: var(--atg-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.atg-event-form__input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid var(--atg-border);
    border-radius: var(--atg-event-radius-sm);
    color: var(--atg-text);
    background: #fff;
    line-height: 1.4;
}

.atg-event-form--hero h2,
.atg-event-form--hero .atg-event-form__label,
.atg-event-form--hero .atg-event-form__consent,
.atg-event-form--subscription h2,
.atg-event-form--subscription .atg-event-form__label,
.atg-event-form--subscription .atg-event-form__consent {
    color: #fff;
}

.atg-event-form--hero .atg-event-form__consent span,
.atg-event-form--subscription .atg-event-form__consent span {
    color: #fff;
}

.atg-event-form--hero .atg-event-form__input,
.atg-event-form--subscription .atg-event-form__input {
    border-color: rgba(255, 255, 255, 0.9);
    color: #fff;
    background: transparent;
}

.atg-event-form--hero .atg-event-form__input:focus,
.atg-event-form--subscription .atg-event-form__input:focus {
    background: rgba(255, 255, 255, 0.08);
}

.atg-event-form--hero .atg-event-form__consent a,
.atg-event-form--subscription .atg-event-form__consent a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.8);
}

.atg-event-form--hero .atg-event-form__consent input,
.atg-event-form--subscription .atg-event-form__consent input {
    background: #fff;
    accent-color: #04364c;
}

.atg-event-form--hero .atg-event-form__submit,
.atg-event-form--subscription .atg-event-form__submit {
    color: var(--atg-accent);
    background: #fff;
}

.atg-event-form--hero .atg-event-form__submit:hover,
.atg-event-form--hero .atg-event-form__submit:focus-visible,
.atg-event-form--subscription .atg-event-form__submit:hover,
.atg-event-form--subscription .atg-event-form__submit:focus-visible {
    color: var(--atg-interactive);
    background: var(--atg-surface);
}

.atg-event-form__input[aria-invalid="true"] {
    border-color: #b42318;
    background: #fef3f2;
}

.atg-event-form__help,
.atg-event-form__error {
    display: block;
    margin-top: var(--atg-space-1);
    font-size: 14px;
    line-height: 1.4;
}

.atg-event-form__help {
    grid-column: 1 / -1;
    margin: 0;
    color: #5f6b76;
}

.atg-event-form__error {
    color: #b42318;
    font-weight: 600;
}

.atg-event-form__consent {
    display: flex;
    align-items: center;
    gap: var(--atg-space-2);
    min-height: 44px;
    cursor: pointer;
}

.atg-event-form__consent input {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    accent-color: var(--atg-interactive);
}

.atg-event-form__consent:focus-within {
    outline: 3px solid #1a6f87;
    outline-offset: 3px;
}

.atg-event-form__summary,
.atg-event-form__status {
    padding: var(--atg-space-3);
    border: 1px solid currentColor;
    border-radius: var(--atg-event-radius-sm);
}

.atg-event-form__summary,
.atg-event-form__feedback[data-status="error"] {
    color: #b42318;
    background: #fef3f2;
}

.atg-event-form__status,
.atg-event-form__feedback[data-status="success"],
.atg-event-form__feedback[data-status="duplicate"] {
    color: #146c43;
    background: #e8f5ee;
}

.atg-event-form__submit {
    min-height: 48px;
    cursor: pointer;
}

.atg-event-form__submit:disabled,
.atg-event-form__submit[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

.atg-event-social__layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(520px, 7fr);
    gap: var(--atg-space-5);
    align-items: center;
}

.atg-event-social__copy h2 {
    font-size: clamp(34px, 3.1vw, 44px);
    line-height: 1.18;
}

.atg-event-social__copy ul {
    display: grid;
    gap: 12px;
    margin: var(--atg-space-4) 0 0;
    padding: 0;
    list-style: none;
}

.atg-event-social__copy li {
    position: relative;
    padding-left: 28px;
}

.atg-event-social__copy li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--atg-accent);
    font-weight: 700;
    content: "✓";
}

.atg-event-social__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--atg-space-4);
}

.atg-event-social__card {
    min-width: 0;
    padding: var(--atg-space-4);
    border-radius: var(--atg-event-radius);
    background: var(--atg-surface);
    text-align: center;
}

.atg-event-social__qr {
    display: block;
    width: 180px;
    min-height: 180px;
    margin: var(--atg-space-3) auto 0;
}

.atg-event-social__qr img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.atg-event-social__link {
    justify-content: center;
    min-width: 150px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--atg-event-radius-pill);
    color: #fff;
    background: var(--atg-accent);
    box-shadow: 0 6px 16px rgba(35, 140, 169, 0.18);
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.atg-event-social__link:hover,
.atg-event-social__link:focus-visible {
    color: #fff;
    background: var(--atg-interactive);
    box-shadow: 0 10px 22px rgba(35, 140, 169, 0.24);
    transform: translateY(-2px);
}

.atg-event .atg-event-shared .about .title {
    font-size: 44px;
    font-weight: 500;
    line-height: 1.15;
}

/* The shared company chunk must render exactly like it does on the homepage.
   Event typography and generic image rules otherwise enlarge this whole block. */
.atg-event .atg-event-shared .about {
    color: var(--font-color);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.15;
    overflow-wrap: normal;
}

.atg-event .atg-event-shared .about_logo > img {
    width: 100%;
    max-width: 139px;
}

.atg-event .atg-event-shared .about_benefit h3 {
    font-size: 16px;
    line-height: 1.15;
}

.atg-event .atg-event-shared .about_benefit p,
.atg-event .atg-event-shared .about_text p {
    font-size: 16px;
}

.atg-event-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.atg-event-home__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.atg-event-home__grid > :only-child {
    grid-column: 1 / -1;
}

.atg-event-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    min-width: 0;
    height: clamp(240px, 23vw, 280px);
    overflow: hidden;
    padding: 22px 26px;
    border-radius: var(--atg-event-radius);
    color: #fff;
    background: var(--atg-accent) url("/assets/img/events/home-banner-industrial-bg-v2.webp") center / cover no-repeat;
    box-shadow: 0 12px 30px rgba(35, 140, 169, 0.22);
    isolation: isolate;
    transition: box-shadow 150ms ease, transform 150ms ease;
}

.atg-event-banner::before,
.atg-event-banner::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
}

.atg-event-banner::before {
    background: linear-gradient(90deg, rgba(35, 140, 169, 0.68) 0%, rgba(35, 140, 169, 0.22) 48%, rgba(35, 140, 169, 0.58) 100%);
}

.atg-event-banner::after {
    background:
        radial-gradient(circle at 60% 58%, rgba(79, 184, 211, 0.18), rgba(4, 42, 54, 0.25) 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(2, 33, 43, 0.24));
}

.atg-event-banner:hover {
    box-shadow: 0 18px 38px rgba(11, 83, 104, 0.28);
    transform: translateY(-2px);
}

.atg-event-banner__kicker,
.atg-event-banner__logo,
.atg-event-banner__title,
.atg-event-banner__visual,
.atg-event-banner__date,
.atg-event-banner__action {
    position: relative;
    z-index: 2;
}

.atg-event-banner__kicker {
    align-self: start;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.atg-event-banner__logo {
    justify-self: end;
    width: 112px;
    height: 80px;
    margin-top: -9px;
    object-fit: contain;
}

.atg-event-banner__title {
    grid-column: 1 / -1;
    align-self: center;
    width: min(58%, 620px);
    margin-top: -14px;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 18px rgba(2, 33, 43, 0.7);
}

.atg-event-banner__visual {
    position: absolute;
    bottom: -112px;
    left: 61%;
    z-index: 1;
    width: 310px;
    height: 390px;
    transform: translateX(-50%);
    pointer-events: none;
}

.atg-event-banner__person {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

.atg-event-banner__date {
    align-self: end;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 12px rgba(2, 33, 43, 0.7);
}

.atg-event-banner__action {
    align-self: end;
    justify-self: end;
    min-width: 190px;
    min-height: 54px;
    padding: 14px 32px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--atg-event-radius-pill);
    color: var(--atg-interactive);
    background: #fff;
    box-shadow: 0 8px 20px rgba(2, 33, 43, 0.2);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 1200px) {
    .atg-events .container,
    .atg-event .container,
    .atg-event-home .container,
    .atg-event-nav__list {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 991.98px) {
    .atg-events-index__intro-grid,
    .atg-event-hero__layout,
    .atg-event-form-section__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .atg-event-card {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .atg-event-card__action {
        grid-column: 2;
        justify-content: flex-start;
    }

    .atg-event-section--about .atg-event-section__content {
        grid-template-columns: minmax(0, 1fr);
    }

    .atg-event-speaker .atg-event-section__content {
        grid-template-columns: 148px minmax(0, 1fr);
        gap: var(--atg-space-4);
        padding: 20px;
    }

    .atg-event-speaker__portrait {
        width: 148px;
    }

    .atg-event-benefits__grid,
    .atg-event-audience__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .atg-event-nav__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .atg-event-social__layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .atg-events,
    .atg-event,
    .atg-event-home {
        --atg-event-radius: 20px;
        --atg-space-7: 32px;
    }

    .atg-events .container,
    .atg-event .container,
    .atg-event-home .container,
    .atg-event-nav__list {
        padding-right: 16px;
        padding-left: 16px;
    }

    .atg-events h1,
    .atg-event h1 {
        font-size: 24px;
        line-height: 1.2;
    }

    .atg-events h2,
    .atg-events h3,
    .atg-event h2,
    .atg-event h3,
    .atg-event-home h2,
    .atg-event-home h3,
    .atg-event-banner__title {
        font-size: 24px;
        line-height: 1.3;
    }

    .atg-events-index__subscribe .atg-event-form--subscription h2 {
        font-size: 24px;
    }

    .atg-event-section {
        margin-top: 32px;
        scroll-margin-top: 76px;
    }

    .atg-events-index__benefits {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 24px;
    }

    .atg-event .atg-event-section__heading,
    .atg-event-social__copy h2,
    .atg-event-form-section__copy h2 {
        font-size: 24px;
    }

    .atg-event .atg-event-shared .about .title {
        font-size: 25px;
    }

    .atg-event .atg-event-shared .about .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .atg-event .atg-event-shared .about {
        font-size: 14px;
    }

    .atg-event .atg-event-shared .about_text p {
        font-size: 14px;
    }

    .atg-event .atg-event-shared .about_logo > img {
        max-width: 60px;
    }

    .atg-event .atg-event-shared .about_logo > svg {
        width: 100px;
        height: auto;
    }

    .atg-events-index__subscribe,
    .atg-event-card,
    .atg-event-form,
    .atg-event-form--hero,
    .atg-event-form--repeat,
    .atg-event-form--subscription,
    .atg-event-social__card {
        padding: 20px;
    }

    .atg-event-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .atg-event-card__media {
        aspect-ratio: 16 / 9;
    }

    .atg-event-card__action {
        grid-column: auto;
        width: 100%;
    }

    .atg-event-card__action-link,
    .atg-event-card__status,
    .atg-events-index__subscribe-action,
    .atg-event-hero__action {
        width: 100%;
        min-height: 48px;
    }

    .atg-event-hero__speaker {
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: center;
        justify-items: start;
        text-align: left;
    }

    .atg-event-hero__card {
        padding: 20px;
        border-radius: 20px;
    }

    .atg-event-hero__card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        min-height: 0;
    }

    .atg-event-hero__meta {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 24px;
    }

    .atg-event-hero__speaker > img {
        width: 96px;
        height: 120px;
        border-radius: 15px;
    }

    .atg-event-hero__speaker-copy h3 {
        font-size: 17px;
    }

    .atg-event-hero__speaker-copy {
        padding-right: 34px;
    }

    .atg-event-key-topics__grid,
    .atg-event-benefits__grid,
    .atg-event-audience__grid,
    .atg-event-social__grid,
    .atg-event-home__grid,
    .atg-event-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .atg-event-benefits__card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .atg-event-key-topics__card:last-child:nth-child(odd),
    .atg-event-audience__card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .atg-event-benefits__card {
        border-right: 0;
    }

    .atg-event-benefits__card:last-child {
        border-bottom: 0;
    }

    .atg-event-speaker .atg-event-section__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 18px;
    }

    .atg-event-speaker__portrait {
        width: 128px;
    }

    .atg-event-nav__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .atg-event-nav__link {
        min-height: 64px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .atg-event-question .atg-event-section__content {
        padding: 20px;
    }

    .atg-event-question__placeholder {
        align-items: flex-start;
        padding: 16px;
    }

    .atg-event-question__frame {
        min-height: 720px;
    }

    .atg-event-social__qr,
    .atg-event-social__qr img {
        width: 160px;
        height: 160px;
        min-height: 160px;
    }

    .atg-event-banner {
        height: 300px;
        padding: 18px;
        column-gap: 8px;
    }

    .atg-event-banner__kicker {
        font-size: 15px;
    }

    .atg-event-banner__logo {
        width: 82px;
        height: 60px;
        margin-top: -7px;
    }

    .atg-event-banner__title {
        align-self: center;
        width: 80%;
        margin-top: -8px;
        font-size: 20px;
        line-height: 1.18;
    }

    .atg-event-banner__visual {
        bottom: -78px;
        left: 89%;
        width: 220px;
        height: 290px;
        opacity: 0.94;
    }

    .atg-event-banner__date {
        max-width: 150px;
        font-size: 20px;
        line-height: 1.2;
    }

    .atg-event-banner__action {
        min-width: 130px;
        min-height: 48px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .atg-events *,
    .atg-events *::before,
    .atg-events *::after,
    .atg-event *,
    .atg-event *::before,
    .atg-event *::after,
    .atg-event-home *,
    .atg-event-home *::before,
    .atg-event-home *::after,
    .atg-event-skip-link {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

    .atg-event-card:hover,
    .atg-event-banner:hover,
    .atg-events-index__subscribe-action:hover,
    .atg-event-hero__action:hover,
    .atg-event-card__action-link:hover,
    .atg-event-form__submit:hover {
        transform: none;
    }
}
