.h3p-event-single {
    background: #fff;
    color: #0f3443;
    padding-block: clamp(3rem, 7vw, 6.5rem);
}

.h3p-event-single__container {
    width: min(calc(100% - 2rem), 1180px);
    margin-inline: auto;
}

.h3p-event-single__header {
    display: grid;
    grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.h3p-event-single__visual {
    width: 100%;
    margin: 0;
}

.h3p-event-single__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.h3p-event-single__summary {
    min-width: 0;
}

.h3p-event-single__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.h3p-event-single__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.3rem 0.65rem;
    background: #f0f4f5;
    color: #43515a;
    border-radius: 0.15rem;
    font-size: 0.75rem;
    line-height: 1;
}

.h3p-event-single__title {
    max-width: 850px;
    margin: 0;
    color: #0f3443;
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.h3p-event-single__meta {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.75rem;
    color: #65747b;
    font-size: 1rem;
}

.h3p-event-single__meta-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.h3p-event-single__meta-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
    color: #819197;
}

.h3p-event-single__meta-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.h3p-event-single__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.h3p-event-single__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: 0.85rem 2rem;
    border: 1px solid #0f5775;
    border-radius: 999px;
    font: inherit;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.h3p-event-single__button--primary {
    background: #0f5775;
    color: #fff;
}

.h3p-event-single__button--secondary {
    background: transparent;
    color: #0f5775;
}

.h3p-event-single__button:hover,
.h3p-event-single__button:focus-visible {
    background: #0f3443;
    border-color: #0f3443;
    color: #fff;
}

.h3p-event-single__content {
    max-width: 1050px;
    margin-top: clamp(3rem, 7vw, 6rem);
    color: #29444f;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.45;
}

.h3p-event-single__content > :first-child {
    margin-top: 0;
}

.h3p-event-single__content > :last-child {
    margin-bottom: 0;
}

.h3p-event-single__content p {
    margin-block: 0 1.4em;
}

@media (max-width: 780px) {
    .h3p-event-single {
        padding-block: 2.5rem 4rem;
    }

    .h3p-event-single__header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .h3p-event-single__visual {
        max-width: 360px;
    }

    .h3p-event-single__title {
        font-size: clamp(2.25rem, 12vw, 3.5rem);
    }

    .h3p-event-single__content {
        margin-top: 3rem;
    }
}
