.banner-slide img {
    width: 100%;
}

/* SC 2.2.2 — pause control for auto-rotating carousels */
.slider-pause-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.slider-pause-btn:hover,
.slider-pause-btn:focus-visible {
    background: rgba(0,0,0,0.85);
    outline: 3px solid #fff;
    outline-offset: 2px;
}
@media (min-width: 1280px) {
    .banner {
        max-height: 420px;
        overflow: hidden;
    }

}
@media (min-width: 1450px) {
    .banner {
        max-height: 590px;
        overflow: hidden;
    }

}
#product_lead_div {
    border-radius: 8px;
	background-color: rgb(255 255 255 / 61%);
    margin-top: 15px;
    box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.18);
}
#product_lead_div h5 span {
    color: #cd171f;
}
@media(min-width:1024px) {
    #product_lead_div {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        max-width: 550px;
        margin: 0 auto 0 auto;
    }
}

.home-service-row .col-left, .home-service-row .col-right {
    width: 100%;
}

.home-service-section .card.bg-danger {
    background-color: #cd171f !important;
}

/* 14pt bold = WCAG "large text" → AAA requires 4.5:1 (current 5.6:1 passes) */
.login-detail h6 {
    font-size: 1.167rem;
    font-weight: 700;
}

.login-detail .dropdown-toggle {
    font-size: 15px;
    text-align: left;
}

.home-service-row .dropdown-toggle::after {
    content: '\f107';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    border: none;
    vertical-align: middle;
    float: right;
}

.service-slide .slick-track .slick-slide:not(:last-child) {
    border-right: 1px solid #ccc;
}

.service-slide a:hover {
    color: #cd171f !important;
}
.service-slide img {
    max-width: 50px;
}
@media (min-width: 1024px) {
    .home-service-row .col-left {
        width: 500px;
    }
    .home-service-row .col-right {
        width: calc(100% - 530px);
    }
}

/* news css start */

.home-feature-section .rate-btn, .home-feature-section .news-slider {
    width: 100%;
}

.home-feature-section .view-more {
    flex-shrink: 0;
}

.home-feature-section .view-more a {
    white-space: nowrap;
}

/* Mobile: news/notice row — label + link on top, slider full-width below */
@media (max-width: 767px) {
    .home-feature-section .d-flex.align-items-center {
        flex-wrap: wrap;
    }
    .home-feature-section .d-flex.align-items-center .rate-btn {
        width: auto;
        flex-shrink: 0;
    }
    .home-feature-section .d-flex.align-items-center .news-slider {
        width: 100%;
        order: 3;
    }
    .home-feature-section .d-flex.align-items-center .view-more {
        margin-left: auto;
    }
}

.news-slide .slick-track .slick-slide:not(:last-child) {
    border-right: 1px solid #ccc;
}
@media (min-width: 768px) {
    .home-feature-section .rate-btn {
        width: 162px;
    }

    .home-feature-section .news-slider {
        width: calc(100% - 310px);
    }
}
/* news css end */

.user-profile {
    border-radius: 6px;
    overflow: hidden;
}

.user-profile img {
    width: 110px;
}

.cta-card .media-body>div {
    width: calc(100% - 20px);
}

.cta-card span {
    width: 18px;
    height: 18px;
    text-align: center;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}
.cta-card img {
    max-width: 70px;
}
/* product css start */

.product-card {
    transition: all 600ms ease;
    border-radius: 8px;
}

.product-card:hover {
    color: #ce181e;
}

.product-card img {
    border-radius: 8px;
}

.product-card a {
    top: 0;
    left: 0;
}

/* product css end */

/* offer css start */

.offer-slide .slick-track {
    display: flex;
}

.offer-slide .slick-track .slick-slide {
    display: flex;
    height: auto;
}

.offer-card h4 span {
    color: #cd171f;
}

/* offer css end */

/* static links (cta-card) background image refactor */
.cta-card {
    position: relative;
    overflow: hidden;
}
.cta-card .bg-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.cta-card .card-body {
    position: relative;
    z-index: 1;
}
.cta-card > a.h-100.position-absolute.w-100 {
    top: 0;
    left: 0;
    z-index: 2;
}
