.membership-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: clamp(360px, 58svh, 560px);
    display: flex;
    align-items: center;
    align-self: center;
    padding: clamp(24px, 7vw, 72px);
    border-radius: 12px;
    background-color: var(--color-ocean-950);
}

.membership-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgb(8 47 73 / 92%) 0%, rgb(8 47 73 / 76%) 48%, rgb(8 47 73 / 25%) 100%),
        linear-gradient(0deg, rgb(8 47 73 / 35%), transparent 55%);
    content: "";
}

.membership-hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.membership-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
}

.membership-hero .page-heading {
    width: min(100%, 720px);
    color: var(--color-white);
}

.membership-hero .page-heading span {
    color: var(--color-sky-200);
}

.membership-hero .page-heading h1 {
    color: var(--color-white);
    font-size: clamp(1.4rem, 6vw, 4.5rem);
    line-height: 1.08;
}

@media (min-width: 900px) {
    .membership-hero::before {
        background:
            linear-gradient(90deg, rgb(8 47 73 / 94%) 0%, rgb(8 47 73 / 78%) 42%, rgb(8 47 73 / 12%) 100%),
            linear-gradient(0deg, rgb(8 47 73 / 30%), transparent 60%);
    }
}

@media (max-width: 600px) {
    .membership-hero {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }

    .membership-hero::before {
        display: none;
    }

    .membership-hero-image {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 2048 / 888;
    }

    .membership-hero-image img {
        height: 100%;
        object-fit: cover;
    }

    .membership-hero .page-heading {
        width: 100%;
        max-width: none;
        padding: 20px;
        background-color: var(--color-ocean-950);
    }
}

.membership-options {
    display: grid;
    width: min(100%, 1100px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-self: center;
}

.membership-option {
    display: flex;
    min-height: 120px;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--color-sky-200);
    border-radius: 12px;
    background-color: var(--color-white);
    box-shadow: 0 4px 14px rgb(8 47 73 / 7%);
}

.membership-option img {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    object-fit: contain;
}

.membership-option a {
    color: var(--color-ocean-950);
    font-weight: 700;
    text-decoration: none;
}

.membership-option a:hover {
    color: var(--color-ocean-700);
    text-decoration: underline;
}

.documents-list {
    display: grid;
    width: min(100%, 760px);
    gap: 10px;
    align-self: center;
}

.documents-list h2 {
    grid-column: 1 / -1;
}

.documents-list a {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 8px;
    color: var(--color-ocean-800);
    font-weight: 700;
    text-decoration: none;
}

.documents-list a:hover {
    background-color: var(--color-sky-50);
    text-decoration: underline;
}

.documents-list img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .membership-options {
        grid-template-columns: 1fr;
    }

    .membership-option {
        min-height: 96px;
    }
}

@media (min-width: 900px) {
    .documents-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .documents-list h2 {
        grid-column: 1 / -1;
    }
}
