.event {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}

.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 120%;
}

.event-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center center;
    border-radius: var(--block-border-radius);
    box-shadow: var(--block-shadow);
    transition: all 0.2s ease;
}

.event-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -2px rgba(9, 30, 66, .35), 0 0 0 1px rgba(9, 30, 66, .18);
}

.event-managers {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.event-managers-title {
    font-weight: 500;
    padding-bottom: 10px;
}

.event-managers a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-contact {
    margin-top: 20px;
    font-weight: 500;
}

.event-contact a {
    text-decoration: underline;
}

.event-main {
    min-width: 100px;
}

.event-title {
    font-size: 250%;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.event-title-sidebar {
    font-size: 150%;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 0 60px;
    font-size: 130%;
    font-weight: 500;
}

.event-location a {
    text-decoration: underline;
}

.ticket-types {
    margin-top: 48px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-type {
    display: grid;
    grid-template-columns: 30px auto auto;
    gap: 15px;
    text-decoration: none;
    margin: 0;
}

.ticket-type-checkbox {
    width: 28px;
    height: 28px;
    cursor: pointer;
    outline: none;
    font-size: 28px;
}

.ticket-type-soldout {
    opacity: 0.7;
}

.ticket-type-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-type-name {
    font-size: 140%;
    font-weight: 600;
}

.ticket-type-description {
    opacity: 0.7;
}

.ticket-type-leftovers {
    padding-top: 10px;
    font-weight: 500;
}

.ticket-type-selectable {
    cursor: pointer;
    position: relative;
}

.ticket-type-selectable:has(.ticket-type-checkbox:checked),
.ticket-type-selectable.ticket-type-selected {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -2px rgba(9, 30, 66, .35), 0 0 0 1px rgba(9, 30, 66, .18);
}

.ticket-type-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.ticket-type-price {
    font-size: 150%;
    text-align: right;
    max-width: 150px;
    font-weight: 700;
}

.ticket-type-amount {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ticket-type-amount input {
    font-size: 110%;
    font-weight: 600;
    width: 40px;
    margin: 0;
    padding: 6px;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    border-radius: var(--input-border-radius);
}

.ticket-type-amount input::-webkit-outer-spin-button,
.ticket-type-amount input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ticket-type-amount .button {
    padding: 6px 9px;
}

.ticket-types-buy {
    display: flex;
    justify-content: center;
}

.countdown-timer {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 140%;
    justify-content: center;
    align-items: flex-end;
}

.countdown-value {
    font-size: 120%;
    font-weight: 500;
}

.event-waitlist {
    text-align: center;
}

.event-unauthenticated {}

.event-banned {
    font-size: 120%;
}

.event-intro {
    font-size: 120%;
}

.event-intro a {
    text-decoration: underline;
}

.event-subscription-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.event-subscription-form input,
.event-subscription-form button {
    padding: 10px 15px;
    font-size: 100%;
    font-weight: 600;
}

.event-participants {
    margin-top: 60px;
}

.event-participants-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.event-participant {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-size: 120%;
    font-weight: 500;
    text-decoration: none;
}

.event-participant .avatar {
    width: 40px;
    height: 40px;
}

.event-edit-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.event-edit-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    border-radius: var(--block-border-radius);
    background-color: var(--block-bg-color);
    box-shadow: var(--block-shadow);
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 110%;
}

.event-edit-menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -2px rgba(9, 30, 66, .35), 0 0 0 1px rgba(9, 30, 66, .18);
}

.event-edit-menu-item.active {
    font-weight: 600;
}

.event-edit-form {
    margin-top: 48px;
}

.ticket-type-price-display {
    font-size: 130%;
    font-weight: 700;
}

.ticket-type-price-free {
    font-size: 130%;
    font-weight: 700;
    opacity: 0.7;
}

.ticket-type-limits {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 90%;
    opacity: 0.8;
}

.ticket-type-limit-empty {
    opacity: 0.5;
}