.accreditations-hero,
.accreditations-directory {
    position: relative;
    overflow: hidden;
    color: #d8d8d8;
    background: #000000;
}

.accreditations-hero {
    min-height: calc(82vh - var(--site-header-height, 0px));
    display: flex;
    align-items: center;
    isolation: isolate;
}

.accreditations-hero__image {
    position: absolute;
    inset: 0;
    z-index: -4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.68) saturate(0.9) contrast(1.08);
}

.accreditations-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(18, 0, 0, 0.78) 35%, rgba(0, 0, 0, 0.22) 76%),
        linear-gradient(to top, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.08) 58%);
}

.accreditations-hero__content {
    max-width: 880px;
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.accreditations-kicker {
    margin: 0 0 var(--heading-support-gap);
    color: var(--brand-red);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 0 16px rgba(255, 0, 24, 0.42);
}

.accreditations-hero__title,
.accreditations-directory h2 {
    margin: 0;
    color: #d8d8d8;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.6vw, 7rem) !important;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 0;
    text-transform: uppercase;
}

.accreditations-hero__title span,
.accreditations-directory h2 span {
    display: block;
    color: var(--brand-red);
    text-shadow: var(--brand-red-glow);
}

.accreditations-hero__intro {
    max-width: 72ch;
    margin: 1.2rem 0 0;
    color: rgba(230, 230, 230, 0.74);
    font-size: clamp(0.98rem, 1.08vw, 1.08rem);
    font-weight: 600;
    line-height: 1.66;
}

.accreditations-directory {
    padding: clamp(4.5rem, 6vw, 7rem) 0;
}

.accreditations-directory::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 16%, rgba(255, 0, 24, 0.12), transparent 32%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(22, 0, 3, 0.46), rgba(0, 0, 0, 0.96));
}

.accreditations-directory > .container-fluid {
    position: relative;
    z-index: 1;
}

.accreditations-directory {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 0, 24, 0.12), transparent 30%),
        linear-gradient(180deg, #070708 0%, #000000 100%);
}

.accreditations-directory__header {
    max-width: 1120px;
    margin-bottom: clamp(2rem, 4vw, 4rem);
}

.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 1.55vw, 1.65rem);
}

.accreditation-card {
    min-height: 100%;
    display: grid;
    grid-template-columns: clamp(104px, 10vw, 150px) minmax(0, 1fr);
    gap: clamp(1rem, 1.6vw, 1.55rem);
    align-items: center;
    padding: clamp(1.1rem, 1.7vw, 1.85rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 30, 45, 0.035), rgba(255, 30, 45, 0)),
        rgba(7, 8, 9, 0.86);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        0 18px 42px rgba(0, 0, 0, 0.25);
}

.accreditation-card__logo {
    min-height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
}

.accreditation-card__logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.accreditation-card__logo--red img {
    filter: brightness(0) saturate(100%) invert(19%) sepia(99%) saturate(6328%) hue-rotate(346deg) brightness(103%) contrast(108%);
}

.accreditation-card h3 {
    margin: 0;
    color: #d8d8d8;
    font-family: var(--font-heading);
    font-size: clamp(1.18rem, 1.42vw, 1.65rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
}

.accreditation-card p {
    margin: 0.8rem 0 0;
    color: rgba(230, 230, 230, 0.72);
    font-size: clamp(0.9rem, 0.95vw, 1rem);
    font-weight: 600;
    line-height: 1.58;
}

@media (max-width: 991.98px) {
    .accreditations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .accreditations-hero {
        min-height: 74vh;
    }

    .accreditation-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .accreditation-card__logo {
        min-height: 96px;
        justify-content: center;
    }

    .accreditation-card__logo img {
        max-width: 160px;
    }

    .accreditation-card__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
