.open-day-page {
    padding-bottom: 3rem;
}

.open-day-page .business-page-header h1 {
    color: #25221f;
}

.open-day-video {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: #f5f4f2;
}

.open-day-video .ratio {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #171717;
}

.open-day-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.open-day-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    align-items: start;
    gap: 1.25rem;
}

.open-day-main,
.open-day-sidebar {
    min-width: 0;
}

.open-day-events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.open-day-event-card {
    overflow: hidden;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.open-day-event-card:hover {
    transform: translateY(-2px);
    border-color: #d0d0d0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
}

.open-day-event-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.open-day-event-link:hover,
.open-day-event-link:focus {
    color: inherit;
    text-decoration: none;
}

.open-day-event-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #efedeb;
}

.open-day-event-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.open-day-event-card:hover .open-day-event-image img {
    transform: scale(1.025);
}

.open-day-event-date {
    position: absolute;
    right: .85rem;
    bottom: .85rem;
    display: flex;
    min-width: 3.75rem;
    flex-direction: column;
    align-items: center;
    padding: .45rem .6rem;
    border-radius: 6px;
    background: #e0007a;
    color: #fff;
    line-height: 1.1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.open-day-event-day {
    font-size: 1.3rem;
    font-weight: 800;
}

.open-day-event-month {
    margin-top: .15rem;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.open-day-event-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem;
}

.open-day-event-content h3 {
    margin: 0 0 .65rem;
    color: #25221f;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
}

.open-day-event-content p {
    margin: 0 0 1.1rem;
    color: #4b4743;
    line-height: 1.55;
}

.open-day-event-cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: auto;
    color: #b00060;
    font-weight: 700;
}

.open-day-event-cta::after {
    content: "→";
    color: #e0007a;
    transition: transform .2s ease;
}

.open-day-event-link:hover .open-day-event-cta::after,
.open-day-event-link:focus .open-day-event-cta::after {
    transform: translateX(3px);
}

.open-day-empty-state {
    padding: 1.5rem;
    border: 1px solid #e6e6e6;
    border-left: 4px solid #e0007a;
    border-radius: 8px;
    background: #fff;
}

.open-day-empty-state p:last-child {
    margin-bottom: 0;
}

.open-day-sidebar {
    display: grid;
    gap: 1.25rem;
}

.open-day-prospectus-image {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto 1rem;
}

.open-day-page .business-support-card ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.open-day-page .business-support-card li {
    margin-bottom: .55rem;
    color: #4b4743;
    line-height: 1.45;
}

.open-day-page .business-support-card a:not(.business-button-outline) {
    color: #b00060;
    font-weight: 600;
}

.open-day-page .business-support-card a:not(.business-button-outline):hover,
.open-day-page .business-support-card a:not(.business-button-outline):focus {
    color: #e0007a;
}

@media (max-width: 991px) {
    .open-day-content-grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(230px, 1fr);
    }

    .open-day-video {
        order: -1;
    }
}

@media (max-width: 767px) {
    .open-day-page {
        padding-bottom: 2rem;
    }

    .open-day-content-grid,
    .open-day-events-grid {
        grid-template-columns: 1fr;
    }

    .open-day-video {
        padding: 1rem;
    }
}
