.is-registration :is(input, textarea, select),
:is(.registration-name, .registration-organization, .registration-email, .registration-phone) :is(input, textarea, select) {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    color: #111;
    font-size: 15px;
}

:is(.registration-name, .registration-organization, .registration-email, .registration-phone) :is(input, textarea, select):focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 171, 158, 0.12);
    background-color: #fff !important;
}

:is(.registration-name, .registration-organization, .registration-email, .registration-phone) :is(input, textarea, select):-webkit-autofill,
:is(.registration-name, .registration-organization, .registration-email, .registration-phone) :is(input, textarea, select):-webkit-autofill:hover,
:is(.registration-name, .registration-organization, .registration-email, .registration-phone) :is(input, textarea, select):autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #111 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
}

.events-list__section {
    box-sizing: border-box;
    padding-left: 48px;
    padding-right: 48px;
}

.events-list__section + .events-list__section {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #d8d8d8;
}

.events-filter {
    margin-bottom: 22px;
}

.events-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    box-sizing: border-box;
}

.event-card,
.event-single__panel,
.event-single__program-item,
.event-single__signup {
    border-radius: 8px;
}

.event-card {
    border: 1px solid #d8d8d8;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.event-card__badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    flex: 0 0 auto;
}

.event-card__category {
    display: inline-block;
    margin: 0;
    padding: 6px 10px;
    background: rgba(0, 216, 125, 1);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

.event-card__content {
    padding: 18px;
}

.event-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.event-card__summary {
    flex: 1 1 300px;
    min-width: 0;
}

.event-card__title {
    margin: 0 0 8px;
    font-size: 42px;
    line-height: 1.2;
    font-weight: bold;
    font-family: "Times New Roman", serif;
}

.event-card__meta-item,
.event-card__speaker-name,
.event-card__speaker-work-title,
.event-card__speaker-information {
    margin: 0;
}

.event-card__footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #d8d8d8;
}

.event-card__speaker-name {
    font-weight: 700;
}

.event-card__speaker-work-title {
    color: #666;
    font-size: 14px;
}

.event-card__speakers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    margin-top: 12px;
}

.event-card__speaker-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.event-card__speaker-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.event-card__speaker-info .event-card__speaker-name {
    font-weight: 700;
}

.event-card__speaker-info .event-card__speaker-work-title {
    font-size: 13px;
    color: #666;
}

.event-card__button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
    padding: 12px 16px;
    background: #111;
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    border-radius: 999px;
}

.event-card__button:hover,
.event-card__button:focus {
    background: #000000;
}

.event-card__button.button.button-secondary {
    background: #111;
    color: #fff !important;
}

.event-card__button, .event-card__button * {
    color: #fff !important;
}

.event-single {
    background: rgba(108, 171, 158, 0.06);
}

.event-single__hero {
    position: relative;
    min-height: clamp(360px, 52vw, 620px);
    display: flex;
    align-items: flex-end;
    background-color: #6cab9e;
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 56px max(24px, calc((100vw - 1180px) / 2)) 150px;
}

.event-single__badges {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: -12px;
    margin-bottom: -14px;
    z-index: 3;
}

.event-single__category {
    position: static;
    padding: 6px 10px;
    background: rgba(0, 216, 125, 1);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
}

.event-single__date {
    margin-top: 8px;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}

.event-single__speakers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px 18px;
}

.event-single__speaker-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    background: #f8f7f3;
    padding: 12px;
    border: 1px solid #ebe7de;
    border-radius: 8px;
}

.event-single__speaker-top {
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: center;
}

.event-single__speaker-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-single__speaker-bottom {
    width: 100%;
}

.event-single__speaker-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.event-single__speaker-name {
    font-weight: 700;
}

.event-single__speaker-work-title {
    margin-top: 4px;
    color: #666;
    font-size: 14px;
}

.event-single__speaker-event-title {
    color: #666;
}

.event-single__speaker-information {
    margin-top: 8px;
}

.event-single__hero::before {
    z-index: 0;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.64));
}

.event-single__hero-inner {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
}

.event-single__title {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(42px, 7vw, 92px);
    line-height: 0.95;
}

.event-single__wrap {
    position: relative;
    z-index: 2;
    width: min(1400px, calc(100% - 48px));
    margin: -96px auto 0;
    padding-bottom: 72px;
}

.event-single__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
    gap: 32px;
    padding: clamp(24px, 4vw, 48px);
    background: #fff;
    border: 1px solid #e4e0d6;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
}

.event-single__main {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 36px;
}

.event-single__section {
    padding-top: 28px;
    border-top: 1px solid #e6e2da;
}

.event-single__main > .event-single__section:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.event-single__section-title {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.08;
}

.event-single__program {
    display: grid;
    gap: 18px;
}

.event-single__program-item {
    padding: 18px;
    background: #f8f7f3;
    border: 1px solid #ebe7de;
}

.event-single__program-title,
.event-single__speaker-name {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.event-single__speaker-text {
    margin-top: 10px;
}

.event-single__signup {
    position: sticky;
    top: 45px;
    z-index: 1;
    padding: 24px;
    background: #f8f7f3;
    color: #111;
    align-self: start;
    max-height: calc(100vh - 160px);
    overflow: auto;
}


.event-single__signup-placeholder {
    display: grid;
    place-items: center;
    min-height: 220px;
    border: 1px dashed #e4e0d6;
    border-radius: 8px;
    color: #111;
    text-align: center;
    background: transparent;
}

.event-single__signup .gform_wrapper,
.event-single__signup .gform_wrapper form {
    width: 100%;
}

.event-single__signup .gform_wrapper label {
    color: #111;
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.event-single__signup .gform_wrapper input[type="text"],
.event-single__signup .gform_wrapper input[type="email"],
.event-single__signup .gform_wrapper input[type="tel"],
.event-single__signup .gform_wrapper textarea,
.event-single__signup .gform_wrapper select,
.event-single__signup .gform_wrapper .gfield input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    color: #111;
}
.event-single__speaker-information,
.event-single__speaker-information p,
.event-single__speaker-information li,
.event-single__speaker-information span {
    font-size: 1.2rem !important;
}

.event-single__signup .gform_wrapper .gform_footer input[type="submit"],
.event-single__signup .gform_wrapper .gform_footer button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}

@media (max-width: 980px) {
    .events-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .events-list__section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .events-list {
        grid-template-columns: 1fr;
    }

    .event-single__hero {
        padding: 40px 24px 120px;
    }

    .event-single__wrap {
        width: min(100% - 28px, 1180px);
        margin-top: -72px;
    }

    .event-single__panel {
        grid-template-columns: 1fr;
    }

    .event-single__signup {
        top: 32px;
        max-height: calc(100vh - 64px);
    }
}