.functions-events-hero {
    padding-bottom: 20px;
}

.functions-events-hero .section-sub {
    margin-bottom: 30px;
}

.functions-page {
    padding: 48px 24px 80px;
    background: #f7f5f0;
    color: #17233c;
    font-family: Arial, Helvetica, sans-serif;
}

.functions-section {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.functions-intro {
    margin: 0 auto 34px;
    text-align: center;
}

.functions-eyebrow {
    margin: 0 0 8px;
    color: #8a6c38;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.functions-intro h2 {
    margin: 0;
    color: #17233c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
}

.functions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.function-card {
    overflow: hidden;
    background: #fffdfa;
}

.function-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.function-card-content {
    padding: 22px 20px 24px;
}

.function-card-content h3 {
    margin: 0 0 10px;
    color: #17233c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
}

.function-card-capacity {
    margin: 0 0 11px;
    color: #121212;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.function-card-capacity span {
    padding: 0 2px;
    color: #92733f;
}

.function-card-description {
    min-height: 82px;
    margin: 0 0 18px;
    color: #24334d;
    font-size: 14px;
    line-height: 1.55;
}

.function-enquire-button {
    display: inline-flex;
    min-height: 36px;
    padding: 7px 17px;
    align-items: center;
    justify-content: center;
    border: 1px solid #1b1b1b;
    border-radius: 20px;
    color: #171717;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
}

.function-enquire-button:hover,
.function-enquire-button:focus-visible {
    background: #1b1b1b;
    color: #fff;
}

.function-enquire-button:focus-visible {
    outline: 3px solid #92733f;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .functions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .function-card-description {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .functions-page {
        padding: 36px 16px 56px;
    }

    .functions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
