
.amt-category-page {
    color: #17324d;
}

.amt-category-hero {
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.amt-category-eyebrow {
    color: #087f8c;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: .8rem;
}

.amt-category-hero h1 {
    color: #123553;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.amt-category-hero > p:last-child {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
}

.amt-category-card {
    background: #fff;
    border: 1px solid #e5edf4;
    border-radius: 1rem;
    box-shadow: 0 8px 26px rgb(19 53 83 / 7%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.amt-category-card:hover {
    box-shadow: 0 14px 34px rgb(19 53 83 / 13%);
    transform: translateY(-4px);
}

.amt-category-image-link {
    background: #edf3f7;
    display: block;
    overflow: hidden;
}

.amt-category-image-link img {
    aspect-ratio: 640 / 420;
    display: block;
    height: auto;
    object-fit: cover;
    transition: transform .3s ease;
    width: 100%;
}

.amt-category-card:hover .amt-category-image-link img {
    transform: scale(1.035);
}

.amt-category-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.35rem;
}

.amt-category-card-body h2,
.amt-category-card-body h3 {
    font-size: 1.2rem;
    font-weight: 750;
    line-height: 1.4;
    margin-bottom: .75rem;
}

.amt-category-card-body h2 a,
.amt-category-card-body h3 a {
    color: #173d60;
    text-decoration: none;
}

.amt-category-card-body h2 a:hover,
.amt-category-card-body h3 a:hover {
    color: #087f8c;
}

.amt-category-card-body > p:not(.amt-category-count) {
    color: #64748b;
    line-height: 1.7;
}

.amt-category-count {
    color: #087f8c;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .55rem;
}

.amt-category-card-body .btn {
    border-radius: .6rem;
    font-weight: 650;
    margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
    .amt-category-card,
    .amt-category-image-link img {
        transition: none;
    }

    .amt-category-card:hover,
    .amt-category-card:hover .amt-category-image-link img {
        transform: none;
    }
}
