/* Shared article carousel */
.news-carousel-section { padding: 72px 0; }
.news-carousel-shell { position: relative; border-radius: 28px; padding: 28px; background: radial-gradient(circle at top right, rgba(245,196,92,.18), transparent 30%), radial-gradient(circle at bottom left, rgba(74,144,226,.14), transparent 28%), linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92)); border: 1px solid rgba(15,23,42,.08); box-shadow: 0 18px 50px rgba(15,23,42,.08); }
.news-carousel-head { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:24px; }
.news-carousel-eyebrow { display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border-radius:999px; background:rgba(15,23,42,.05); color:#334155; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin-bottom:14px; }
.news-carousel-title { margin:0 0 10px; font-size:clamp(28px,4vw,42px); line-height:1.06; }
.news-carousel-subtitle { margin:0; max-width:780px; color:#5b6475; font-size:16px; line-height:1.65; }
.news-carousel-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.news-carousel-all { display:inline-flex; align-items:center; gap:10px; padding:13px 18px; border-radius:999px; text-decoration:none; font-weight:700; color:#0f172a; border:1px solid rgba(15,23,42,.1); background:rgba(255,255,255,.8); transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.news-carousel-all:hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(15,23,42,.08); border-color:rgba(15,23,42,.18); }
.news-carousel-nav { display:inline-flex; gap:10px; }
.news-carousel-btn { width:48px; height:48px; border:0; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#0f172a; color:#fff; box-shadow:0 14px 30px rgba(15,23,42,.14); transition:transform .2s ease, opacity .2s ease; }
.news-carousel-btn:hover { transform:translateY(-2px); }
.news-carousel-btn.swiper-button-disabled { opacity:.35; transform:none; cursor:default; box-shadow:none; }
.news-carousel { overflow:hidden; padding-bottom:44px; }
.news-carousel .swiper-slide { height:auto; }
.news-carousel-card { height:100%; display:flex; flex-direction:column; overflow:hidden; border-radius:24px; background:#fff; border:1px solid rgba(15,23,42,.08); box-shadow:0 16px 38px rgba(15,23,42,.08); transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.news-carousel-card:hover { transform:translateY(-6px); box-shadow:0 24px 52px rgba(15,23,42,.12); border-color:rgba(15,23,42,.14); }
.news-carousel-media { position:relative; display:block; aspect-ratio:16/10; overflow:hidden; background:#eef2f7; }
.news-carousel-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent, rgba(15,23,42,.04)); }
.news-carousel-media img { width:100%; height:100%; object-fit:cover; transition:transform .55s ease; }
.news-carousel-card:hover .news-carousel-media img { transform:scale(1.05); }
.news-carousel-body { display:flex; flex:1; flex-direction:column; padding:20px 20px 22px; }
.news-carousel-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
.news-carousel-tag { display:inline-flex; align-items:center; min-height:32px; padding:6px 12px; border-radius:999px; background:rgba(15,23,42,.06); color:#334155; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.news-carousel-date { color:#64748b; font-size:14px; white-space:nowrap; }
.news-carousel-card h3 { font-size:22px; line-height:1.22; margin:0 0 12px; }
.news-carousel-card h3 a { color:#0f172a; text-decoration:none; }
.news-carousel-excerpt { margin:0 0 18px; color:#475569; line-height:1.6; font-size:15px; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.news-carousel-link { margin-top:auto; display:inline-flex; align-items:center; gap:8px; color:#0f172a; font-weight:700; text-decoration:none; }
.news-carousel-link i { font-size:18px; }
.news-carousel-pagination { position:absolute; inset:auto 0 0; text-align:center; }
.news-carousel-pagination .swiper-pagination-bullet { width:9px; height:9px; opacity:.35; background:#0f172a; }
.news-carousel-pagination .swiper-pagination-bullet-active { opacity:1; transform:scale(1.12); }
@media (max-width:991.98px) { .news-carousel-section{padding:60px 0}.news-carousel-shell{padding:22px;border-radius:24px}.news-carousel-head{flex-direction:column;align-items:flex-start} }
@media (max-width:767.98px) { .news-carousel-shell{padding:18px;border-radius:22px}.news-carousel-title{font-size:28px}.news-carousel-subtitle{font-size:15px}.news-carousel-card h3{font-size:20px}.news-carousel-meta{flex-wrap:wrap}.news-carousel-actions{width:100%;justify-content:space-between}.news-carousel-all{flex:1 1 auto;justify-content:center} }

/* Pagination sits below the cards, outside the Swiper viewport. */
.news-carousel { padding-bottom: 0; }
.news-carousel-pagination { position: static !important; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px; width: 100%; min-height: 30px; margin-top: 22px; padding: 0 12px; }
.news-carousel-pagination .swiper-pagination-bullet { flex: 0 0 9px; margin: 0 !important; }
@media (max-width: 767.98px) { .news-carousel-pagination { gap: 7px; margin-top: 18px; } }

/* Show complete 16:9 article covers in the carousel. */
.news-carousel-media { aspect-ratio: 16 / 9; }
.news-carousel-media img { object-fit: contain; }
.news-carousel-card:hover .news-carousel-media img { transform: none; }
