body.kcare-area {margin:0;background:#fffefa;}
.kcare-area .number-card__figure strong {font-size:clamp(3rem,4.5vw,4.2rem);}
.kcare-area .number-card > div > p + p {margin-top:.65em;}
.kcare-entry .wpcf7 {width:100%;}
.kcare-entry input:not([type=checkbox]):not([type=radio]),.kcare-entry textarea,.kcare-entry select {max-width:100%;padding:12px;border:1px solid #b7d6d6;border-radius:6px;font:inherit;}
.kcare-entry input[type=submit] {background:#1599ad;color:white;cursor:pointer;}
.kcare-entry .entry-content table {width:100%;}
@media(max-width:600px){.kcare-entry .entry-content table,.kcare-entry .entry-content tbody,.kcare-entry .entry-content tr,.kcare-entry .entry-content th,.kcare-entry .entry-content td {display:block;width:100%;}}

/* Each identical group covers at least one viewport for a seamless loop. */
body.kcare-area { overflow-x: clip; }
.career-motion-line > .career-motion-track {
    display: flex;
    width: max-content;
    min-width: 0;
    animation: career-marquee 22s linear infinite;
}
.career-motion-line .career-motion-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    min-width: 100vw;
    padding-inline: 20px;
    animation: none;
}
.career-motion-line .career-motion-phrase {
    flex: 0 0 auto;
    margin: 0;
    color: inherit;
}
.career-motion-line .career-motion-dot {
    flex: 0 0 auto;
    margin: 0;
}
@media (prefers-reduced-motion: reduce) {
    .career-motion-line > .career-motion-track { animation: none; }
}

/* Responsive 4:3 photo frames, filled without letterboxing. */
.career-hero__gallery .home-slideshow__slides {
    aspect-ratio: 4 / 3;
}
.career-photo-band figure {
    aspect-ratio: 4 / 3;
    min-width: 0;
    min-height: 0;
}
.career-photo-band figure:nth-child(even) {
    transform: none;
}
.career-photo-band img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
