/* Shared blog carousel. Independent of article, product and form layouts. */
.latest-articles { padding: 56px 0 44px; background: #f3f7fd; border-top: 1px solid #dce7f5; color: #123c70; }
.latest-articles *, .latest-articles *::before, .latest-articles *::after { box-sizing: border-box; }
.latest-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.latest-articles .latest-heading h2 { margin: 0; font-size: clamp(25px, 2.7vw, 35px); line-height: 1.2; letter-spacing: -.03em; color: #083f89; }
.latest-articles .latest-all { color: #074994; font-size: 14px; font-weight: 700; text-decoration: none; flex-shrink: 0; padding-bottom: 3px; }
.latest-all span { display: inline-block; margin-left: 7px; transition: transform .2s; }
.latest-all:hover span { transform: translateX(4px); }
.latest-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 6px 0 14px; scrollbar-width: thin; scrollbar-color: #a3b9d8 transparent; }
.latest-track.is-looping { scroll-snap-type: none; scroll-behavior: auto; scrollbar-width: none; overflow-anchor: none; }
.latest-track.is-looping::-webkit-scrollbar { display: none; }
.latest-articles .latest-card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; display: flex; flex-direction: column; position: relative; scroll-snap-align: start; border: 1px solid #d5e3f4; border-radius: 11px; background: white; transition: border-color .2s, box-shadow .2s, transform .2s; }
.latest-image { height: auto; aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 10px 10px 0 0; background: #e6edf7; }
.latest-image img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.latest-image-contain img { object-fit: contain; }
.latest-image span { position: absolute; bottom: 12px; left: 14px; right: 14px; width: fit-content; max-width: calc(100% - 28px); padding: 5px 9px; border-radius: 4px; font-size: 10px; font-weight: 750; line-height: 1.5; color: white; background: #07458f; }
.latest-card-copy { padding: 20px 22px 40px; flex: 1; }
.latest-card time { font-size: 11px; color: #546e8b; }
.latest-articles .latest-card h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.025em; margin: 10px 0 12px; color: #083f89; }
.latest-card h3 a { color: inherit; text-decoration: none; }
.latest-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 11px; }
.latest-articles .latest-card p { color: #526880; font-size: 13px; line-height: 1.7; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.latest-card-arrow { position: absolute; bottom: 14px; right: 20px; font-size: 21px; color: #086cf4; transition: transform .2s; }
.latest-card:hover, .latest-card:focus-within { transform: translateY(-3px); border-color: #82b3f6; box-shadow: 0 8px 20px #16457712; }
.latest-card:hover .latest-card-arrow { transform: translate(2px,-2px); }
.latest-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 12px; }
.latest-controls[hidden] { display: none; }
.latest-controls button { display: grid; place-items: center; padding: 0; font: inherit; font-size: 18px; line-height: 1; color: #074994; background: white; border: 1px solid #c5d7ee; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.latest-controls button[hidden], .latest-controls svg[hidden] { display: none; }
.latest-controls svg { width: 18px; height: 18px; fill: currentColor; }
.latest-controls button:hover { color: #086cf4; border-color: #086cf4; }
.latest-articles a:focus-visible, .latest-articles button:focus-visible, .latest-track:focus-visible { outline: 3px solid #f5a623; outline-offset: 3px; }
.latest-card h3 a:focus-visible { outline: none; }
.latest-card h3 a:focus-visible::after { outline: 3px solid #f5a623; outline-offset: -3px; }
@media (max-width: 1000px) { .latest-articles .latest-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .latest-articles { padding: 36px 0 30px; } .latest-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 18px; } .latest-track { gap: 16px; } .latest-articles .latest-card { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .latest-articles * { transition: none !important; } }
