.home-banner,
.home-banner__slider {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.home-banner { background: #f2f8ff; }
.home-banner__slider {
    height: clamp(260px, 24vw, 360px);
    max-height: 360px;
}
.home-banner .swiper-wrapper { height: 100%; align-items: stretch; }
.home-banner .swiper-slide { height: 100%; min-height: 0; padding: 0; }
.home-banner__image,
.home-banner__image img { display: block; width: 100%; height: 100%; }
.home-banner__image { display: flex; align-items: center; justify-content: center; background: linear-gradient(100deg, #f2f8ff, #d7efff 55%, #b3e5fc); }
.home-banner__image img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.home-banner__slide--caption .home-banner__image { justify-content: flex-end; }
.home-banner__slide--caption .home-banner__image img {
    margin-inline-end: max(0px, calc((100% - 1140px) / 2));
    mask-image: linear-gradient(90deg, transparent, #000 24%, #000 88%, rgb(0 0 0 / 85%) 92%, rgb(0 0 0 / 35%) 96%, transparent), linear-gradient(transparent, #000 8%, #000 92%, transparent);
    mask-composite: intersect;
}
.home-banner__caption {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.home-banner__caption .container { width: 100%; }
.home-banner__copy { width: 55%; max-width: 650px; color: #071d4d; }
.home-banner__title {
    margin: 0 0 8px;
    color: #071d4d;
    font-size: clamp(24px, 2.6vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: uppercase;
}
.home-banner__subtitle {
    margin: 0 0 14px;
    color: #005bff;
    font-size: clamp(22px, 2.6vw, 38px);
    font-weight: 800;
    line-height: 1.25;
}
.home-banner__description { font-size: clamp(13px, 1.2vw, 18px); font-weight: 600; line-height: 1.6; }
.home-banner__description > :last-child { margin-bottom: 0; }
.home-banner__caption a { pointer-events: auto; }
.home-banner .slide-button-prev,
.home-banner .slide-button-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 60%);
    border-radius: 50%;
    color: #fff;
    background: rgb(15 23 42 / 36%);
    font-size: 24px;
    transform: translateY(-50%);
    cursor: pointer;
}
.home-banner .slide-button-prev { left: 20px; }
.home-banner .slide-button-next { right: 20px; }
.home-banner .swiper-pagination { bottom: 14px; }
.home-banner .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #fff;
    opacity: .6;
    box-shadow: 0 1px 4px rgb(15 23 42 / 25%);
}
.home-banner .swiper-pagination-bullet-active { opacity: 1; }
.home-banner button:focus-visible,
.home-banner__image:focus-visible,
.home-news a:focus-visible { outline: 3px solid #fb923c; outline-offset: -3px; }

.home-news { padding: 28px 0 32px; background: #f4f6fa; }
.home-news__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.home-news__heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}
.home-news__heading h2 i { color: inherit; font-size: 21px; }
.home-news__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    color: #005bff;
    font-size: 14px;
    font-weight: 600;
}
.home-news__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-news__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0e4eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 12px rgb(15 23 42 / 4%);
}
.home-news__image { display: block; overflow: hidden; background: #eef2f7; }
.home-news__image img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.home-news__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
.home-news__category {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 5px;
    color: #fff;
    background: #005bff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}
.home-news__category--promotion { background: #ff8000; }
.home-news__body h3 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.home-news__body h3 a { color: #000; }
.home-news__body h3 a:hover,
.home-news__more:hover { color: #005bff; }
.home-news__body time { margin-top: auto; color: #718096; font-size: 12px; line-height: 1.4; }
@media (max-width: 991.98px) {
    .home-banner__slider { height: 240px; }
    .home-banner__slider,
    .home-banner__image img { max-height: 240px; }
    .home-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .home-banner__slider { height: 180px; }
    .home-banner__slider,
    .home-banner__image img { max-height: 180px; }
    .home-banner__slide--caption::after {
        position: absolute;
        inset: 0;
        content: "";
        background: linear-gradient(90deg, rgb(242 248 255 / 98%), rgb(242 248 255 / 85%) 38%, transparent 78%);
        pointer-events: none;
    }
    .home-banner__copy { width: 65%; }
    .home-banner__title { margin-bottom: 6px; font-size: 20px; }
    .home-banner__subtitle { margin-bottom: 8px; font-size: 18px; }
    .home-banner__description { font-size: 11px; line-height: 1.5; }
    .home-banner .slide-button-prev,
    .home-banner .slide-button-next { width: 30px; height: 30px; font-size: 18px; }
    .home-banner .slide-button-prev { left: 8px; }
    .home-banner .slide-button-next { right: 8px; }
    .home-banner .swiper-pagination { bottom: 6px; }
    .home-news { padding: 24px 0; }
    .home-news__heading { gap: 10px; margin-bottom: 12px; }
    .home-news__heading h2 { gap: 7px; font-size: 19px; }
    .home-news__more { font-size: 12px; }
    .home-news__grid { gap: 12px; }
    .home-news__card { border-radius: 12px; }
    .home-news__body { gap: 6px; padding: 10px; }
    .home-news__body h3 { font-size: 13px; }
}

.home-recharge a:focus-visible {
    outline: 3px solid #fb923c;
    outline-offset: 4px;
}
.home-recharge-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 16px;
}
.home-recharge-title {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}
.home-recharge-more {
    color: #ea580c;
    font-size: 13px;
    font-weight: 600;
}
.home-recharge .recharge-service-card__title {
    min-height: 38px;
}
/* Keep three rows at the same breakpoints as the shared recharge card grid. */
.home-recharge .recharge-service-card:nth-child(n+22) {
    display: none;
}
@media (max-width: 1199.98px) {
    .home-recharge .recharge-service-card:nth-child(n+16) {
        display: none;
    }
}
@media (max-width: 991.98px) {
    .home-recharge .recharge-service-card:nth-child(n+13) {
        display: none;
    }
}
@media (max-width: 767.98px) {
    .home-recharge .recharge-service-card:nth-child(n+10) {
        display: none;
    }
}
@media (max-width: 575.98px) {
    .home-recharge .recharge-service-card:nth-child(n+7) {
        display: none;
    }
}
