/* ADHS Banner Styles - Matching Screenshot Design */
.adhs-banner {
    margin: 0 auto 0px auto;
    padding: 0;
    max-width: 960px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;

    &:hover {
        .adhs-banner-link {
            border: 1px solid #E2E8F0;
        }

        * {
            text-decoration: none !important;
        }

        .adhs-banner-button {
            background: #ea580c;
        }

        .adhs-banner-image img {
            transform: scale(1.05);
        }
    }

    @media (min-width: 1200px) {
        max-width: 1000px;
    }
}

.adhs-banner-link {
    display: grid;
    grid-template-columns: 1fr;
    text-decoration: none;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    border: 1px solid #F2F5F8;
    background: #F2F5F8;

    /* Desktop: two columns with 1/3 and 2/3 ratio */
    @media (min-width: 769px) {
        grid-template-columns: 1fr 2fr;
        align-items: center;
    }

    @media (max-width: 768px) {
        max-height: 200px;
    }

    @media (min-width: 1200px) {
        margin: 0 24px;
    }


    :hover {
        text-decoration: none !important;
    }

    /* Left side - Image */
    .adhs-banner-image {
        overflow: hidden;
        width: 100%;
        height: 100%;
        max-width: 356px;

        img {
            transition: all 0.3s ease;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    /* Desktop: constrain image to grid cell */
    @media (min-width: 769px) {
        .adhs-banner-image {
            width: 100%;
            max-width: none;
        }
    }

    /* Right side content */
    .adhs-banner-content {
        padding: 20px 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Desktop: content takes up the second grid column */
    @media (min-width: 769px) {
        .adhs-banner-content {
            grid-column: 2;
        }

        .adhs-banner-image {
            grid-column: 1;
        }
    }

    .adhs-banner-logo img {
        display: none;
        margin-bottom: 8px;
        height: 40px;
        width: auto;

        @media (min-width: 768px) {
            display: block;
        }
    }

    .adhs-banner-title {
        margin: 0;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.1;
        color: #1E4F89;
    }

    .adhs-banner-subtitle {
        margin: 0 0 8px 0;
        font-weight: 300;
        font-size: 14px;
        color: #212429;
        line-height: 1.5;
    }

    /* CTA Button */
    .adhs-banner-cta {
        display: flex;
        align-items: center;
        width: fit-content;
    }

    .adhs-banner-button {
        background: #FFA500;
        color: white;
        font-size: 14px;
        font-weight: 500;
        padding: 8px 12px;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
    }

    /* Hide arrow and icon from new design */
    .adhs-banner-arrow,
    .adhs-banner-icon {
        display: none;
    }

    /* Responsive Design */
    @media (max-width: 1000px) {
        .adhs-banner {
            margin-left: 1em;
            margin-right: 1em;
            padding-left: 0.5em;
            padding-right: 0.5em;
        }
    }

    @media (max-width: 768px) {
        .adhs-banner {
            margin-left: 0.5em;
            margin-right: 0.5em;
            padding-left: 0;
            padding-right: 0;
        }

        .adhs-banner-link {
            grid-template-columns: 1fr;
            /* Single column on mobile */
            min-height: auto;
        }

        .adhs-banner-image {
            width: 100%;
            height: 48px;
            order: 1;
            max-width: none;
        }

        .adhs-banner-content {
            padding: 24px 16px;
            order: 2;
        }

        .adhs-banner-title {
            font-size: 18px;
        }

        .adhs-banner-subtitle {
            font-size: 13px;
        }

        .adhs-banner-cta {
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .adhs-banner-image {
            height: 80px;
        }

        .adhs-banner-content {
            padding: 12px 16px 16px 16px;
        }

        .adhs-banner-title {
            font-size: 16px;
        }

        .adhs-banner-subtitle {
            font-size: 12px;
            margin-bottom: 12px;
        }

        .adhs-banner-button {
            font-size: 13px;
            padding: 8px 16px;
        }
    }

    /* Reduced motion support */
    @media (prefers-reduced-motion: reduce) {

        .adhs-banner-link,
        .adhs-banner-button {
            transition: none;
        }

        .adhs-banner-link:hover,
        .adhs-banner-link:hover .adhs-banner-button {
            transform: none;
        }
    }
}