/* Local homepage review: light image top, readable softly shaded copy below. */
.home-services7 .home-services7-card[data-card-media]:not(.home-services7-card--education)::before {
    background: linear-gradient(180deg,
        rgba(255,255,255,.32) 0%,
        rgba(255,255,255,.08) 23%,
        rgba(16,27,37,.64) 43%,
        rgba(16,27,37,.82) 68%,
        rgba(16,27,37,.88) 100%);
}
.home-services7 .home-services7-card[data-card-media]:not(.home-services7-card--education) {
    --service-card-muted: #f0f3f5;
}

/* Academy stays static in every pointer state; keep keyboard focus outline. */
.home-services7 a.home-services7-card--education:focus-visible {
    outline: 3px solid #c6a66a;
    outline-offset: 4px;
}
.home-services7 a.home-services7-card--education,
.home-services7 a.home-services7-card--education:hover,
.home-services7 a.home-services7-card--education:focus-visible {
    background: #08243d;
    color: #fff;
    border: 0;
    box-shadow: 0 20px 46px rgba(4,25,43,.16);
}
.home-services7 a.home-services7-card--education,
.home-services7 a.home-services7-card--education *,
.home-services7 a.home-services7-card--education::before,
.home-services7 a.home-services7-card--education::after,
.home-services7 a.home-services7-card--education *::before,
.home-services7 a.home-services7-card--education *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
}
.home-services7 a.home-services7-card--education > .home-services7-card__title {
    color: #fff;
}
.home-services7 a.home-services7-card--education .home-services7-card__desc {
    color: var(--service-card-muted);
}

/* Static Academy state is shared by hover and keyboard focus: never reveal or shift copy. */
.home-services7 a.home-services7-card--education,
.home-services7 a.home-services7-card--education:is(:hover, :focus-visible) {
    scale: none !important;
    rotate: none !important;
    translate: none !important;
}
.home-services7 a.home-services7-card--education *,
.home-services7 a.home-services7-card--education *::before,
.home-services7 a.home-services7-card--education *::after {
    scale: none !important;
    rotate: none !important;
    translate: none !important;
}

/* Course results use compact text cards, not repeated full-height photo covers. */
.home-services7 a.home-services7-card--course,
.home-services7 a.home-services7-card--course:is(:hover, :focus-visible) {
    min-height: 0;
    padding: 28px;
    border: 1px solid #ccd9e1;
    border-radius: 14px;
    background: #f5f8fa;
    color: #14364b;
    box-shadow: none;
    transform: none;
    transition: none;
    animation: none;
}
.home-services7 .home-services7-card--course::before,
.home-services7 .home-services7-card--course::after,
.home-services7 .home-services7-card--course .home-services7-card__visual {
    display: none !important;
}
.home-services7 a.home-services7-card--course > .home-services7-card__title,
.home-services7 a.home-services7-card--course:is(:hover, :focus-visible) > .home-services7-card__title {
    margin: 0;
    padding: 0;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.25;
    color: #14364b;
    text-shadow: none;
}
.home-services7 a.home-services7-card--course .home-services7-card__desc,
.home-services7 a.home-services7-card--course:is(:hover, :focus-visible) .home-services7-card__desc {
    margin: 16px 0 22px;
    padding: 0;
    color: #426079;
    text-shadow: none;
}
.home-services7 .home-services7-card--course .home-services7-card__footer { display: none; }
.home-academy-course-action { margin-top: auto; color: #14364b; font-size: 14px; font-weight: 600; }
