/* ==========================================================================
   NACS Show 2026 - Attend & Exhibit Card Component
   Image card with frosted glass overlay containing title, description, CTA
   Tokens: NACSShow2026Tokens.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section Container
   -------------------------------------------------------------------------- */
.aec {
    padding: 80px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Card Wrapper
   -------------------------------------------------------------------------- */
.aec__wrapper {
    position: relative;
    width: 100%;
}

/* --------------------------------------------------------------------------
   Background Image
   -------------------------------------------------------------------------- */
.aec__image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.aec__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1280 / 560;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Frosted Glass Content Overlay
   -------------------------------------------------------------------------- */
.aec__overlay {
    position: relative;
    margin-top: -128px;
    margin-left: 66px;
    max-width: 672px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Text Content
   -------------------------------------------------------------------------- */
.aec__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.aec__title {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0;
    text-transform: capitalize;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    margin: 0;
}

.aec__desc {
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    margin: 0;
}

/* --------------------------------------------------------------------------
   CTA Button
   -------------------------------------------------------------------------- */
.aec__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    border-radius: 360px;
    background: var(--nacs-color-yellow, #FAE100);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.aec__btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.aec__btn span {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nacs-color-navy, #00205B);
    white-space: nowrap;
}

.aec__btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Mobile Styles (max-width: 768px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .aec {
        padding: 20px;
    }

    .aec__image img {
        aspect-ratio: 353 / 228;
    }

    .aec__overlay {
        margin-top: -93px;
        margin-left: 22px;
        margin-right: 22px;
        max-width: none;
        width: calc(100% - 44px);
    }

    .aec__btn {
        padding: 16px 32px;
        height: auto;
        gap: 16px;
    }

    .aec__btn span {
        font-size: 16px;
        line-height: normal;
    }
}

@media screen and (max-width: 480px) {
    .aec__title {
        font-size: 28px;
        line-height: 36px;
    }

    .aec__overlay {
        margin-left: 16px;
        margin-right: 16px;
        width: calc(100% - 32px);
        padding: 20px;
        gap: 32px;
    }
}
