/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    --primary-blue: #3D61A3;
    /* Header/Footer/Sponsors text */
    --secondary-blue: #2A446C;
    /* Darker blue for speakers */
    --accent-red: #EC1C24;
    /* Main red */
    --accent-red-hover: #f04950;
    --light-blue: #E8F1F8;
    /* Intro and Tourism bg */
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-gray: #434445;

    --font-text: 'Lato', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.ahc-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: content-box;
}

.ahc-text-center {
    text-align: center;
}

.ahc-text-left {
    text-align: left;
}

.ahc-mt-3 {
    margin-top: 30px;
}

/* ==========================================
   Buttons
   ========================================== */
.ahc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    border-radius: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ahc-btn-sm {
    padding: 10px 23px;
    font-size: 12px;
}

.ahc-btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.ahc-btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.ahc-btn-danger {
    background-color: var(--accent-red);
    color: var(--white);
    border-color: var(--accent-red);
}

.ahc-btn-danger:hover {
    background-color: var(--accent-red-hover);
    border-color: var(--accent-red-hover);
}

.ahc-btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.ahc-btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.ahc-btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.ahc-btn-outline-white:hover {
    border-color: #6481b5;
}

.ahc-btn-round {
    border-radius: 50px;
}

.ahc-btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================
   Header
   ========================================== */
.ahc-main-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ahc-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 121px;
}

.ahc-logo img {
    height: 57px;
}

.ahc-main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 16px;
}

.ahc-nav-links {
    display: flex;
    gap: 16px;
}

.ahc-nav-links a {
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.02em;
}

.ahc-nav-links a:hover,
.ahc-nav-links a.ahc-active {
    color: var(--accent-red);
    font-weight: 700;
}

.ahc-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.ahc-mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: 0.3s;
}

.ahc-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1004;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ahc-nav-overlay.ahc-active {
    opacity: 1;
    pointer-events: auto;
}

.ahc-mobile-nav-footer {
    display: none;
}

/* ------------------------------------------
   Media Query: 768px
   ------------------------------------------ */
@media (max-width: 768px) {

    /* --- Header --- */
    .ahc-main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 85%;
        height: 100vh;
        height: 100dvh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 60px 40px;
        box-sizing: border-box;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
        z-index: 1005;
        border-radius: 0 0 0 32px;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        margin: 0;
    }

    .ahc-main-nav.ahc-active {
        transform: translateX(0);
    }

    .ahc-nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
        margin-bottom: 0;
    }

    .ahc-nav-links li {
        width: 100%;
    }

    .ahc-nav-links a {
        font-family: var(--font-heading);
        font-size: 18px;
        font-weight: 600;
        color: #333333;
        display: block;
        padding: 6px 0;
        transition: color 0.3s ease;
    }

    .ahc-nav-links a.ahc-active {
        color: var(--accent-red);
        font-weight: 700;
    }

    .ahc-mobile-menu-btn {
        display: flex;
        margin-left: auto;
        margin-right: 20px;
        position: relative;
        z-index: 1010;
        /* Keep it above backdrop and drawer */
    }

    .ahc-mobile-menu-btn.ahc-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .ahc-mobile-menu-btn.ahc-active span:nth-child(2) {
        opacity: 0;
    }

    .ahc-mobile-menu-btn.ahc-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .ahc-mobile-nav-footer {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: auto;
        padding-top: 30px;
    }

    .ahc-mobile-enroll-btn {
        width: 100%;
        padding: 14px 28px;
        font-size: 16px;
        border-radius: 50px;
        background-color: var(--primary-blue);
        color: var(--white);
        border: none;
        box-shadow: 0 4px 12px rgba(61, 97, 163, 0.25);
        text-align: center;
        font-family: var(--font-heading);
        font-weight: 700;
        transition: all 0.3s ease;
    }

    .ahc-mobile-enroll-btn:hover {
        background-color: var(--secondary-blue);
    }

    .ahc-btn-header {
        display: none;
    }
}




body.congreso-conferencistas-page {
    --ahc-blue-500: #3d61a3;
    --ahc-blue-400: #6481b5;
    --ahc-light-blue-500: #5da8dc;
    --ahc-red-500: #ec1c24;
    --ahc-text: #434445;
    --ahc-white: #ffffff;
    --ahc-shadow: 0 8px 14px rgba(61, 97, 163, 0.35);

    margin: 0;
    background: #ffffff;
    font-family: "Lato", Arial, Helvetica, sans-serif;
    color: var(--ahc-text);
}

.ahc-speakers-page {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    font-family: "Lato", Arial, Helvetica, sans-serif;
    color: var(--ahc-text);

    * {
        box-sizing: border-box;
    }

    & button,
    & input,
    & select {
        font: inherit;
    }
}

.ahc-speakers {
    width: 100%;
    padding: 86px 0 90px;

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

    & .ahc-speakers__intro {
        max-width: 1171px;

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

        & p {
            margin: 0;
            max-width: 1171px;
            color: var(--ahc-text);
            font-size: 20px;
            font-weight: 400;
            line-height: 28px;
            letter-spacing: -0.02em;
        }
    }

    & .ahc-speakers__filters {
        margin-top: 46px;

        & .ahc-speakers__filters-title {
            margin: 0 0 10px;
            color: var(--ahc-red-500);
            font-family: "Montserrat", Arial, Helvetica, sans-serif;
            font-size: 16px;
            font-weight: 700;
            line-height: 22px;
            letter-spacing: -0.02em;
        }

        & .ahc-speakers__filters-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 32px;
        }
    }

    & .ahc-speakers__search {
        position: relative;
        display: block;
        width: 628px;
        max-width: 100%;

        & input {
            width: 100%;
            height: 48px;
            padding: 0 52px 0 22px;
            border: 1px solid rgba(67, 68, 69, 0.75);
            border-radius: 3px;
            background: var(--ahc-white);
            color: var(--ahc-blue-400);
            font-size: 12px;
            font-weight: 400;
            line-height: 20px;
            outline: none;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;

            &::placeholder {
                color: var(--ahc-blue-400);
                opacity: 1;
            }

            &:focus {
                border-color: var(--ahc-light-blue-500);
                box-shadow: 0 0 0 3px rgba(93, 168, 220, 0.18);
            }
        }

        & .ahc-speakers__search-icon {
            position: absolute;
            top: 50%;
            right: 18px;
            display: inline-flex;
            color: var(--ahc-blue-400);
            transform: translateY(-50%);
            pointer-events: none;
        }
    }

    & .ahc-speakers__selects {
        display: flex;
        align-items: center;
        gap: 24px;

        & label {
            display: block;
        }

        & select {
            width: 180px;
            height: 48px;
            padding: 0 42px 0 20px;
            border: 1px solid rgba(67, 68, 69, 0.75);
            border-radius: 3px;
            background-color: var(--ahc-white);
            color: var(--ahc-blue-400);
            font-size: 12px;
            font-weight: 400;
            line-height: 20px;
            outline: none;
            appearance: none;
            background-image:
                linear-gradient(45deg, transparent 50%, var(--ahc-blue-400) 50%),
                linear-gradient(135deg, var(--ahc-blue-400) 50%, transparent 50%);
            background-position:
                calc(100% - 22px) 50%,
                calc(100% - 16px) 50%;
            background-size: 6px 6px, 6px 6px;
            background-repeat: no-repeat;
            cursor: pointer;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;

            &:focus {
                border-color: var(--ahc-light-blue-500);
                box-shadow: 0 0 0 3px rgba(93, 168, 220, 0.18);
            }
        }
    }

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

    & .ahc-speakers__empty {
        margin: 40px 0 0;
        color: var(--ahc-blue-500);
        font-size: 18px;
        line-height: 26px;
    }
}

.ahc-speaker-card {
    --card-img-h: 192px;
    --card-img-h-md: 288px;
    position: relative;
    display: flex;
    min-height: 436px;
    padding: 0;
    border: 1px solid var(--ahc-light-blue-500);
    border-radius: 12px;
    background: var(--ahc-white);
    box-shadow: var(--ahc-shadow);
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    appearance: none;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

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

    &:focus-visible {
        outline: 3px solid rgba(93, 168, 220, 0.55);
        outline-offset: 3px;
    }


    & .ahc-speaker-card__image-wrap {
        position: relative;
        display: block;
        width: 100%;
        height: var(--card-img-h);
        background: #f2f2f2;
        flex: 0 0 var(--card-img-h);

        &>img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        @media (max-width: 768px) {
            height: var(--card-img-h-md);
            flex: 0 0 var(--card-img-h-md);
        }
    }

    & .ahc-speaker-card__flag {
        position: absolute;
        right: 24px;
        bottom: -28px;
        display: grid;
        width: 56px;
        height: 56px;
        border-radius: 999px;
        background: var(--ahc-white);
        overflow: hidden;
        place-items: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);

        & img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit;
        }

        & span {
            display: grid;
            width: 100%;
            height: 100%;
            font-size: 34px;
            line-height: 1;
            place-items: center;
        }
    }

    & .ahc-speaker-card__content {
        display: flex;
        flex: 1;
        padding: 24px 16px;
        flex-direction: column;
    }

    & .ahc-speaker-card__name {
        display: block;
        min-height: 64px;
        color: var(--ahc-blue-500);
        font-family: "Montserrat", Arial, Helvetica, sans-serif;
        font-size: 24px;
        font-weight: 700;
        line-height: 32px;
        letter-spacing: -0.02em;
    }

    & .ahc-speaker-card__specialty {
        display: block;
        margin-top: 26px;
        color: var(--ahc-light-blue-500);
        font-family: "Montserrat", Arial, Helvetica, sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 22px;
        letter-spacing: -0.02em;
        margin-bottom: 20px;
    }

    & .ahc-speaker-card__cta {
        display: inline-flex;
        width: 100%;
        min-height: 56px;
        margin-top: auto;
        padding: 14px 24px;
        border-radius: 32px;
        background: var(--ahc-red-500);
        color: var(--ahc-white);
        font-family: "Montserrat", Arial, Helvetica, sans-serif;
        font-size: 20px;
        font-weight: 600;
        line-height: 28px;
        letter-spacing: -0.02em;
        align-items: center;
        justify-content: center;
    }
}

.ahc-speaker-modal {
    width: min(994px, calc(100% - 48px));
    max-height: calc(100vh - 48px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: var(--ahc-white);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    color: var(--ahc-text);
    overflow: auto;

    &::backdrop {
        background: rgba(255, 255, 255, 0.72);
    }

    & .ahc-speaker-modal__box {
        position: relative;
        display: grid;
        grid-template-columns: 339px minmax(0, 1fr);
        gap: 34px;
        min-height: 546px;
        padding: 36px 64px 30px 32px;
    }

    & .ahc-speaker-modal__close {
        position: absolute;
        top: 28px;
        right: 28px;
        z-index: 2;
        display: grid;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        place-items: center;

        & span {
            position: absolute;
            width: 28px;
            height: 2px;
            border-radius: 999px;
            background: #000000;

            &:first-child {
                transform: rotate(45deg);
            }

            &:last-child {
                transform: rotate(-45deg);
            }
        }
    }

    & .ahc-speaker-modal__image-col {
        display: flex;
        min-width: 0;
        flex-direction: column;
    }

    & .ahc-speaker-modal__image {
        display: block;
        width: 339px;
        height: 482px;
        max-width: 100%;
        border-radius: 8px;
        object-fit: cover;
        object-position: center top;
    }

    & .ahc-speaker-modal__socials {
        display: flex;
        gap: 18px;
        margin-top: 18px;
        align-items: center;

        & a {
            display: inline-flex;
            width: 18px;
            height: 18px;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        & img {
            display: block;
            width: 18px;
            height: 18px;
            object-fit: contain;
        }
    }

    & .ahc-speaker-modal__content {
        min-width: 0;
        padding-top: 4px;
    }

    & .ahc-speaker-modal__flag {
        display: grid;
        width: 56px;
        height: 56px;
        margin-bottom: 24px;
        border-radius: 999px;
        overflow: hidden;
        place-items: center;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit;
        }
    }

    & h2 {
        margin: 0 0 14px;
        color: var(--ahc-blue-500);
        font-family: "Montserrat", Arial, Helvetica, sans-serif;
        font-size: 40px;
        font-weight: 700;
        line-height: 45px;
        letter-spacing: -0.02em;
    }

    & ul {
        margin: 0;
        padding-left: 26px;
        color: var(--ahc-text);
        font-size: 20px;
        font-weight: 400;
        line-height: 28px;
        letter-spacing: -0.02em;

        & li {
            margin: 0;
        }
    }
}

body:has(.ahc-speaker-modal[open]) {
    overflow: hidden;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .ahc-speakers {
        & .ahc-speakers__container {
            width: min(100% - 64px, 1000px);
        }

        & .ahc-speakers__grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        & .ahc-speakers__filters {

            & .ahc-speakers__filters-row {
                align-items: stretch;
                flex-direction: column;
                gap: 13px;
            }
        }

        & .ahc-speakers__search {
            width: 100%;
        }

        & .ahc-speakers__selects {
            width: 100%;

            & label {
                flex: 1 1 50%;
            }

            & select {
                width: 100%;
            }
        }
    }
}

@media (max-width: 820px) {
    .ahc-speakers {
        padding: 56px 0 70px;

        & .ahc-speakers__container {
            width: min(100% - 40px, 680px);
        }

        & .ahc-speakers__intro {
            & h1 {
                font-size: 34px;
                line-height: 40px;
            }

            & p {
                font-size: 18px;
                line-height: 26px;
            }
        }

        & .ahc-speakers__grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    .ahc-speaker-modal {
        width: min(100% - 32px, 620px);

        & .ahc-speaker-modal__box {
            grid-template-columns: 1fr;
            gap: 24px;
            padding: 58px 24px 30px;
        }

        & .ahc-speaker-modal__image {
            width: 100%;
            height: auto;
            max-height: 440px;
        }

        & h2 {
            font-size: 32px;
            line-height: 38px;
        }

        & ul {
            font-size: 18px;
            line-height: 26px;
            max-height: 110px;
            overflow-y: scroll;
        }
    }
}

@media (max-width: 560px) {
    .ahc-speakers {
        & .ahc-speakers__container {
            width: min(100% - 28px, 420px);
        }

        & .ahc-speakers__selects {
            flex-direction: row;
            gap: 14px;
        }

        & .ahc-speakers__grid {
            grid-template-columns: 1fr;
        }
    }

    .ahc-speaker-card {
        min-height: 420px;
    }
}


/* ==========================================
   Footer
   ========================================== */
.ahc-main-footer {
    background-color: transparent;
    padding: 0;
}

.ahc-main-footer .ahc-container {
    max-width: 100%;
    padding: 0;
    background-color: #8C1318;
    background-image: url('../assets/img/footer-background.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    border-radius: 32px;
    padding: 60px 0 180px 0;
}

.ahc-footer-card {
    color: var(--white);
    position: relative;
    max-width: 1280px;
    margin: auto;
}

.ahc-footer-main-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.ahc-footer-logo-col {
    flex: 0 0 260px;
}

.ahc-footer-logo {
    max-width: 100%;
    height: auto;
}

.ahc-footer-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 30px;
}

.ahc-footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.ahc-footer-col ul li {
    margin-bottom: 10px;
}

.ahc-footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: 0.3s;
}

.ahc-footer-col ul li a:hover {
    color: var(--white);
}

.ahc-footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 5px;
}

.ahc-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    font-size: 14px;
    white-space: nowrap;
}

.ahc-contact-icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
}

.ahc-footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 40px 0 20px 0;
}

.ahc-footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ahc-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.ahc-footer-legal-links {
    display: flex;
    gap: 20px;
}

.ahc-footer-legal-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
}

.ahc-footer-legal-links a:hover {
    color: var(--white);
}

@media (max-width: 1024px) {

    /* --- Footer --- */
    .ahc-footer-card {
        padding: 50px 40px 180px 40px;
    }

    .ahc-footer-main-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .ahc-footer-logo-col {
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
    }

    .ahc-footer-logo {
        max-width: 220px;
    }

    .ahc-footer-grid {
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    .ahc-footer-contact-details {
        grid-column: span 4;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        margin-top: 10px;
    }
}

/* ------------------------------------------
   Media Query: 768px
   ------------------------------------------ */
@media (max-width: 768px) {

    /* --- Footer --- */
    .ahc-footer-card {
        padding: 40px 30px 140px 30px;
        border-radius: 24px;
    }

    .ahc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ahc-footer-contact-details {
        grid-column: span 2;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .ahc-footer-bottom-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .ahc-footer-col {
        flex: 1 1 calc(50% - 30px);
    }

    .ahc-footer-bottom-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ------------------------------------------
   Media Query: 480px
   ------------------------------------------ */
@media (max-width: 480px) {

    /* --- Footer --- */
    .ahc-footer-card {
        padding: 30px 20px 100px 20px;
        border-radius: 16px;
    }

    .ahc-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ahc-footer-contact-details {
        grid-column: span 1;
    }

    .ahc-footer-legal-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .ahc-footer-col {
        flex: 1 1 100%;
    }
}

/* ------------------------------------------
   Speakers Pagination
   ------------------------------------------ */

.ahc-speakers {
    & .ahc-speakers__pagination {
        display: none;
        margin: 28px auto 0;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    & .ahc-speakers__pagination-pages {
        display: flex;
        gap: 6px;
        align-items: center;
    }

    & .ahc-speakers__pagination button {
        display: inline-flex;
        width: 28px;
        height: 28px;
        padding: 0;
        border: 1px solid var(--ahc-light-blue-500);
        border-radius: 5px;
        background: var(--ahc-white);
        color: var(--ahc-light-blue-500);
        font-family: "Montserrat", Arial, Helvetica, sans-serif;
        font-size: 13px;
        font-weight: 500;
        line-height: 1;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    & .ahc-speakers__pagination button:hover {
        background: rgba(93, 168, 220, 0.12);
    }

    & .ahc-speakers__pagination button.is-active {
        border-color: var(--ahc-red-500);
        background: var(--ahc-red-500);
        color: var(--ahc-white);
    }

    & .ahc-speakers__pagination button:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }
}

@media (max-width: 560px) {
    .ahc-speakers {
        & .ahc-speakers__pagination:not([hidden]) {
            display: flex;
        }
    }
}

.ahc-speaker-card[hidden] {
    display: none !important;
}

.ahc-speakers__pagination[hidden] {
    display: none !important;
}