/* Homepage blog carousel */
.home-blog { padding: 78px 24px; background: #f7f9fc; color: #263c51; text-align: left; }
.home-blog-inner { max-width: 1180px; margin: auto; }
.home-blog-heading { display: flex; align-items: center; justify-content: center; text-align: center; gap: 32px; margin-bottom: 30px; }
.home-blog-eyebrow { display: block; color: #1264d6; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 10px; }
.home-blog-heading h2 { color: #263c51; font-size: clamp(28px,3vw,38px); line-height: 1.2; letter-spacing: 1px; margin: 0; text-transform: uppercase; }
.home-blog-heading p { color: #607285; font-size: 15px; line-height: 1.7; margin: 0; max-width: 650px; }
.home-blog-all { display: inline-flex; align-items: center; gap: 8px; color: #1264d6; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.home-blog-all:hover { text-decoration: underline; }
.home-blog-carousel { position: relative; }
.home-blog-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px)/3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; }
.home-blog-track::-webkit-scrollbar { display: none; }
.home-blog-track:focus-visible { outline: 3px solid #91c5ff; outline-offset: 5px; border-radius: 14px; }
.home-blog-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; scroll-snap-align: start; background: #fff; border: 1px solid #dee6ef; border-radius: 14px; box-shadow: 0 6px 20px #1d385508; }
.home-blog-image-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; background: #e9f0f8; }
.home-blog-image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.home-blog-card:hover .home-blog-image-wrap img { transform: scale(1.025); }
.home-blog-image-fallback { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/9; background: linear-gradient(135deg,#e9f2ff,#d6e6fa); color: #225b9e; font-size: 15px; font-weight: 700; }
.home-blog-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.home-blog-category { align-self: flex-start; padding: 5px 9px; border-radius: 5px; background: #edf5ff; color: #185ba8; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.home-blog-card h3 { color: #263c51; font-size: 19px; line-height: 1.4; letter-spacing: -.35px; margin: 14px 0 10px; }
.home-blog-card p { color: #617285; font-size: 13.5px; line-height: 1.75; margin: 0 0 18px; }
.home-blog-read { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; margin-top: auto; padding-top: 14px; border-top: 1px solid #edf1f5; color: #1264d6; font-size: 13px; font-weight: 700; text-decoration: none; }
.home-blog-read:hover { text-decoration: underline; }
.home-blog-control { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #cbd7e4; border-radius: 50%; background: white; color: #263c51; font-size: 19px; box-shadow: 0 5px 18px #1d385518; cursor: pointer; transform: translateY(-50%); }
.home-blog-control:hover:not(:disabled) { background: #1264d6; color: white; border-color: #1264d6; }
.home-blog-control:disabled { opacity: .35; cursor: default; }
.home-blog-prev { left: -22px; }
.home-blog-next { right: -22px; }
.home-blog-status { height: 18px; margin: 14px 0 0; color: #607285; font-size: 12px; text-align: center; }
.home-blog-loading { min-height: 390px; }
.home-blog-loading .home-blog-image { aspect-ratio: 16/9; background: #e6ebf1; }
.home-blog-loading span,.home-blog-loading h3,.home-blog-loading p { display: block; border-radius: 4px; background: #e9edf2; animation: home-blog-pulse 1.3s ease-in-out infinite; }
.home-blog-loading span { width: 80px; height: 22px; }.home-blog-loading h3 { width: 90%; height: 48px; }.home-blog-loading p { width: 100%; height: 62px; }
@keyframes home-blog-pulse { 50% { opacity: .48; } }
@media (max-width: 900px) { .home-blog-track { grid-auto-columns: calc((100% - 18px)/2); gap: 18px; } }
@media (max-width: 620px) { .home-blog { padding: 56px 18px; } .home-blog-heading { display: block; margin-bottom: 22px; } .home-blog-heading p { font-size: 14px; } .home-blog-all { margin-top: 12px; } .home-blog-track { grid-auto-columns: 88%; gap: 14px; padding-right: 12%; } .home-blog-control { display: none; } .home-blog-card h3 { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .home-blog-track { scroll-behavior: auto; } .home-blog-image-wrap img { transition: none; } .home-blog-loading span,.home-blog-loading h3,.home-blog-loading p { animation: none; } }
