/* Event-specific sponsors and donors. */
.nofcc-event-sponsors {
    margin: clamp(48px, 7vw, 88px) 0;
    padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
    overflow: hidden;
    background:
        radial-gradient(circle at 0 0, rgba(239, 35, 60, 0.07), transparent 29rem),
        radial-gradient(circle at 100% 45%, rgba(193, 151, 62, 0.16), transparent 31rem),
        var(--color-ivory);
    border-top: 1px solid rgba(23, 35, 49, 0.1);
    border-bottom: 1px solid rgba(23, 35, 49, 0.1);
}

.nofcc-event-sponsors__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.nofcc-event-sponsors__eyebrow {
    margin-bottom: 10px;
    color: #a4782e;
    text-align: center;
}

.nofcc-event-sponsors h2 {
    max-width: 12ch;
    margin: 0 auto clamp(42px, 6vw, 72px);
    color: var(--color-charcoal);
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    letter-spacing: -0.06em;
    text-align: center;
}

.nofcc-event-sponsors__group + .nofcc-event-sponsors__group {
    margin-top: clamp(44px, 6vw, 76px);
}

.nofcc-event-sponsors__group {
    position: relative;
    padding: clamp(34px, 5vw, 54px) clamp(20px, 5vw, 56px) clamp(28px, 4vw, 46px);
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(23, 35, 49, 0.1);
    box-shadow: var(--shadow-soft);
}

.nofcc-event-sponsors__group::after {
    position: absolute;
    inset: auto 18px 14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(193, 151, 62, 0.42), transparent);
    content: '';
}

.nofcc-event-sponsors__group-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    max-width: calc(100% + 80px);
    min-height: 52px;
    margin: calc(clamp(34px, 5vw, 54px) * -1) 0 clamp(28px, 4vw, 42px) calc(clamp(20px, 5vw, 56px) * -1);
    padding: 10px 28px 10px 16px;
    color: var(--color-white);
    background: var(--color-charcoal);
    box-shadow: 10px 10px 0 rgba(193, 151, 62, 0.25);
}

.nofcc-event-sponsors__group--right .nofcc-event-sponsors__group-heading {
    flex-direction: row-reverse;
    margin-right: calc(clamp(20px, 5vw, 56px) * -1);
    margin-left: auto;
    padding: 10px 16px 10px 28px;
    background: #a4782e;
    box-shadow: -10px 10px 0 rgba(23, 35, 49, 0.18);
}

.nofcc-event-sponsors__group-count {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #a4782e;
    background: var(--color-white);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.nofcc-event-sponsors__group--right .nofcc-event-sponsors__group-count {
    color: var(--color-charcoal);
}

.nofcc-event-sponsors__group h3 {
    margin: 0;
    color: inherit;
    font-size: clamp(0.88rem, 1.8vw, 1.08rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.nofcc-event-sponsors__logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: clamp(14px, 2.4vw, 28px);
    align-items: center;
}

.nofcc-event-sponsors__logo,
.nofcc-event-sponsors__logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 124px;
}

.nofcc-event-sponsors__logo {
    padding: 16px;
    background: var(--color-white);
    border: 1px solid rgba(23, 35, 49, 0.09);
    box-shadow: 0 12px 28px rgba(23, 35, 49, 0.06);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.nofcc-event-sponsors__logo--dark {
    background: #172331;
    border-color: #172331;
}

.nofcc-event-sponsors__logo--dark .nofcc-event-sponsors__name {
    color: var(--color-white);
}

.nofcc-event-sponsors__logo a {
    width: 100%;
    border-radius: 12px;
}

.nofcc-event-sponsors__logo:hover {
    box-shadow: 0 18px 36px rgba(23, 35, 49, 0.12);
    transform: translateY(-4px);
}

.nofcc-event-sponsors__logo a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 6px;
}

.nofcc-event-sponsors__logo img {
    display: block;
    max-width: min(100%, 220px);
    max-height: 88px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: filter 180ms ease, transform 180ms ease;
}

.nofcc-event-sponsors__logo a:hover img,
.nofcc-event-sponsors__logo a:focus-visible img {
    filter: saturate(1.08) drop-shadow(0 7px 12px rgba(31, 41, 55, 0.12));
    transform: scale(1.025);
}

.nofcc-event-sponsors__name {
    padding: 18px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .nofcc-event-sponsors__logo img {
        transition: none;
    }

    .nofcc-event-sponsors__logo,
    .nofcc-event-sponsors__logo a:hover img,
    .nofcc-event-sponsors__logo a:focus-visible img {
        transform: none;
    }
}

@media (max-width: 560px) {
    .nofcc-event-sponsors__logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nofcc-event-sponsors__group {
        padding-right: 16px;
        padding-left: 16px;
    }

    .nofcc-event-sponsors__group-heading,
    .nofcc-event-sponsors__group--right .nofcc-event-sponsors__group-heading {
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .nofcc-event-sponsors__logo,
    .nofcc-event-sponsors__logo a {
        min-height: 96px;
    }

    .nofcc-event-sponsors__logo img {
        max-height: 76px;
    }
}

/* Event-specific auction catalogue. */
.nofcc-event-auction {
    margin: clamp(48px, 7vw, 88px) 0;
    padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
    color: var(--color-white);
    background:
        radial-gradient(circle at 7% 10%, rgba(193, 151, 62, 0.32), transparent 26rem),
        radial-gradient(circle at 98% 96%, rgba(239, 35, 60, 0.2), transparent 31rem),
        #172331;
}

.nofcc-event-auction__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.nofcc-event-auction__eyebrow {
    color: #f2cf79;
    text-align: center;
}

.nofcc-event-auction h2 {
    margin: 8px auto clamp(42px, 6vw, 72px);
    color: var(--color-white);
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    letter-spacing: -0.06em;
    text-align: center;
}

.nofcc-event-auction__group + .nofcc-event-auction__group {
    margin-top: clamp(44px, 6vw, 72px);
}

.nofcc-event-auction__group > h3 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
    color: #f2cf79;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nofcc-event-auction__group > h3::after {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(242, 207, 121, 0.58), transparent);
    content: '';
}

.nofcc-event-auction__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 22px;
}

.nofcc-event-auction__item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.97);
    color: var(--color-charcoal);
    box-shadow: 10px 10px 0 rgba(193, 151, 62, 0.2);
}

.nofcc-event-auction__image {
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    background: #e8e5df;
}

.nofcc-event-auction__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nofcc-event-auction__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.nofcc-event-auction__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.nofcc-event-auction__meta span {
    padding: 5px 9px;
    color: var(--color-white);
    background: #a4782e;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nofcc-event-auction h4 {
    margin: 0 0 12px;
    color: var(--color-charcoal);
    font-size: 1.35rem;
    line-height: 1.15;
}

.nofcc-event-auction__content > p {
    margin: 0 0 14px;
}

.nofcc-event-auction__value {
    color: #805c1f;
    font-weight: 800;
}

.nofcc-event-auction__donor {
    margin-top: auto !important;
    padding-top: 16px;
    border-top: 1px solid rgba(23, 35, 49, 0.13);
    font-size: 0.9rem;
    font-weight: 700;
}

.nofcc-event-auction__donor a {
    color: inherit;
    text-decoration-color: #a4782e;
}
