/* Home "Quick Check" section (template-parts/home/quick-check.php). Fonts and --amh-* colours: home-hero.css. */

.amq-section {
    --amq-navy: #01216a;
    --amq-blue: #0381f8;
    --amq-text: #2f4a70;
    --amq-line: #dfebf9;
    position: relative;
    padding: clamp(72px, 8.6vw, 160px) 0;
    background: #fff;
    color: var(--amq-text);
    scroll-margin-top: 24px;
}

.amq-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 3.4vw, 64px);
    width: min(100% - 64px, 1510px);
    margin-inline: auto;
}

.amq-eyebrow {
    margin: 0 0 clamp(14px, 1.3vw, 22px);
    color: var(--amq-blue);
    font-size: clamp(14px, 1.1vw, 20px);
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.amq-title {
    margin: 0;
    padding: 0;
    color: var(--amq-navy);
    font-family: inherit;
    font-size: clamp(32px, 2.95vw, 58px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.amq-title span {
    display: block;
}

.amq-title .amq-title-accent {
    color: var(--amq-blue);
}

.amq-description {
    max-width: 700px;
    margin: clamp(18px, 1.8vw, 30px) 0 0;
    color: var(--amq-text);
    font-size: clamp(16px, 1.25vw, 22px);
    line-height: 1.5;
}

.amq-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 0;
    margin: clamp(26px, 2.6vw, 44px) 0 0;
    padding: 0;
    list-style: none;
}

.amq-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0 clamp(12px, 1.2vw, 22px);
    color: var(--amq-text);
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.amq-feature:first-child {
    padding-left: 0;
}

.amq-feature + .amq-feature {
    border-left: 1px solid var(--amq-line);
}

.amq-feature svg {
    width: clamp(26px, 1.9vw, 34px);
    height: clamp(26px, 1.9vw, 34px);
    flex: 0 0 auto;
}

.amq-button {
    min-height: clamp(56px, 4.3vw, 72px);
    margin-top: clamp(28px, 2.8vw, 46px);
    padding-inline: clamp(30px, 3.5vw, 60px);
    font-size: clamp(16px, 1.3vw, 22px);
}

/* Video card */
.amq-video {
    overflow: hidden;
    border-radius: 14px;
    background: #001d44;
    box-shadow: 0 26px 60px rgba(1, 33, 106, .18);
}

.amq-video-frame {
    line-height: 0;
}

.amq-video-play {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #0b2c5c;
    cursor: pointer;
    aspect-ratio: 735 / 354;
}

.amq-video-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.amq-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: clamp(68px, 6.4vw, 108px);
    height: clamp(68px, 6.4vw, 108px);
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 17, 48, .28);
    color: var(--amh-pink);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.amq-play-icon svg {
    width: 44%;
    height: 44%;
    margin-left: 8%;
}

.amq-video-play:hover .amq-play-icon,
.amq-video-play:focus-visible .amq-play-icon {
    transform: translate(-50%, -50%) scale(1.07);
}

.amq-video-play:hover .amq-video-image,
.amq-video-play:focus-visible .amq-video-image {
    transform: scale(1.03);
}

.amq-video-play:focus-visible {
    outline: 3px solid var(--amq-blue);
    outline-offset: -3px;
}

.amq-video-caption {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.2vw, 20px);
    margin: 0;
    padding: clamp(18px, 1.7vw, 30px) clamp(20px, 1.9vw, 34px);
    color: #fff;
    font-size: clamp(12px, 1vw, 18px);
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.3;
    text-transform: uppercase;
}

.amq-video-caption-icon {
    display: flex;
    flex: 0 0 auto;
    padding-right: clamp(14px, 1.2vw, 20px);
    border-right: 1px solid rgba(255, 255, 255, .35);
    line-height: 0;
}

.amq-video-caption-icon svg {
    width: clamp(30px, 2.4vw, 40px);
    height: auto;
}

@media (max-width: 1080px) {
    .amq-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .amq-copy {
        max-width: 760px;
    }

    .amq-video {
        width: 100%;
        max-width: 760px;
    }
}

@media (max-width: 780px) {
    .amq-inner {
        width: min(100% - 36px, 660px);
    }
}

@media (max-width: 520px) {
    .amq-features {
        display: grid;
        gap: 12px;
    }

    .amq-feature,
    .amq-feature:first-child {
        padding: 0;
    }

    .amq-feature + .amq-feature {
        border-left: 0;
    }

    .amq-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .amq-video-image,
    .amq-play-icon {
        transition: none;
    }
}

/* Phones: both parts of the heading flow as one text instead of two blocks ("See Your U.S. / College"), balanced. */
@media (max-width: 520px) {
    .amq-title {
        text-wrap: balance;
    }

    .amq-title span {
        display: inline;
    }
}
