.congreso-patrocinadores-page {
    --ahc-sponsor-blue: #3d61a3;
    --ahc-sponsor-light-blue: #5da8dc;
    --ahc-sponsor-text: #434445;
    --ahc-sponsor-white: #ffffff;
    --ahc-sponsor-shadow: 0 8px 14px rgba(61, 97, 163, 0.28);
}

.ahc-sponsors-page {
    width: 100%;
    background: #ffffff;
}

.ahc-sponsors {
    width: 100%;
    padding: 86px 0 96px;

    & .ahc-sponsors__container {
        width: min(100% - 160px, 1280px);
        margin: 0 auto;

        @media (max-width: 820px) {
            width: min(100% - 40px, 680px);
        }

        @media (max-width: 560px) {
            width: min(100% - 28px, 420px);
        }
    }

    & .ahc-sponsors__intro {
        max-width: 1170px;

        & h1 {
            margin: 0 0 18px;
            color: var(--ahc-sponsor-blue);
            font-family: "Montserrat", Arial, Helvetica, sans-serif;
            font-size: 40px;
            font-weight: 700;
            line-height: 45px;
            text-align: left;
            letter-spacing: -0.02em;

            @media (max-width: 560px) {
                font-size: 34px;
                line-height: 40px;
            }
        }

        & p {
            margin: 0;
            max-width: 1170px;
            color: var(--ahc-sponsor-text);
            font-family: "Lato", Arial, Helvetica, sans-serif;
            font-size: 20px;
            font-weight: 400;
            line-height: 28px;
            letter-spacing: -0.02em;

            @media (max-width: 560px) {
                font-size: 18px;
                line-height: 26px;
            }
        }
    }

    & .ahc-sponsors__grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
        margin-top: 38px;

        @media (max-width: 1024px) {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        @media (max-width: 760px) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

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

.ahc-sponsor-card {
    display: flex;
    min-height: 158px;
    padding: 26px 24px 22px;
    border: 1px solid var(--ahc-sponsor-light-blue);
    border-radius: 10px;
    background: var(--ahc-sponsor-white);
    box-shadow: var(--ahc-sponsor-shadow);
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    &:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 20px rgba(61, 97, 163, 0.32);
    }

    & .ahc-sponsor-card__logo {
        display: flex;
        width: 100%;
        height: 42px;
        margin-bottom: 20px;
        align-items: center;
        justify-content: flex-start;

        & img {
            display: block;
            max-width: 168px;
            max-height: 42px;
            width: auto;
            height: auto;
            object-fit: contain;
        }

        & span {
            color: #000000;
            font-family: "Montserrat", Arial, Helvetica, sans-serif;
            font-size: 32px;
            font-weight: 400;
            line-height: 1;
        }

        @media (max-width: 560px) {
            height: 46px;

            & img {
                max-width: 180px;
                max-height: 46px;
            }
        }
    }

    & p {
        margin: 0;
        color: var(--ahc-sponsor-text);
        font-family: "Lato", Arial, Helvetica, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: -0.02em;
    }

    @media (max-width: 560px) {
        min-height: 150px;
        padding: 24px 22px 20px;
    }
}