.home-carousel-section {
    padding: 32px 0 40px;
    background: #f3f7fa;
}

.home-carousel-section > .container {
    width: 100%;
    max-width: none;
    padding-right: 24px;
    padding-left: 24px;
}

.home-carousel-shell {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(20, 55, 84, .09);
}

#box-slide .item {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    position: relative;
    width: 100%;
    height: auto;
    min-height: 490px;
    background: #fff;
}

#box-slide .home-carousel-copy {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 40px 36px;
}

#box-slide .box-slider-content {
    position: static;
    top: auto;
    width: 100%;
    padding: 0;
    transform: none;
}

#box-slide .box-slider-text {
    display: block;
    max-width: none;
    max-height: none;
    padding: 0;
    overflow-wrap: anywhere;
    background: transparent;
}

#box-slide .box-slide-title,
#box-slide .box-slide-sub-title {
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    hyphens: none;
}

#box-slide .box-slide-title {
    font-size: clamp(28px, 2vw, 36px);
    line-height: 1.3;
    color: #0063ac;
    margin-bottom: 12px;
}

#box-slide .box-slide-sub-title {
    font-size: clamp(30px, 2.3vw, 42px);
    line-height: 1.25;
    color: #193247;
    margin-bottom: 20px;
}

#box-slide .box-slide-description {
    max-height: 280px;
    overflow-y: auto;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 0;
    color: #66788a;
}

#box-slide .home-carousel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

#box-slide .home-carousel-actions:empty { display: none; }

#box-slide .home-carousel-actions .btn {
    margin: 0;
    border-radius: 9px;
}

#box-slide .home-carousel-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 24px;
    background: #edf4f8;
}

#box-slide .home-carousel-image {
    display: block;
    position: static;
    width: 100%;
    height: 442px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

.home-carousel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 32px;
    border-top: 1px solid #e8eef3;
}

.home-carousel-footer[hidden] { display: none; }

.home-carousel-footer .owl-dots,
.home-carousel-footer .owl-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.home-carousel-footer .owl-dots {
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
}

.home-carousel-footer .owl-nav { flex-shrink: 0; }

.home-carousel-footer .owl-dots.disabled,
.home-carousel-footer .owl-nav.disabled { display: none; }

.home-carousel-footer .owl-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
}

.home-carousel-footer .owl-dot span {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 10px;
    background: #cbd8e2;
}

.home-carousel-footer .owl-dot.active span {
    width: 26px;
    background: #0063ac;
}

.home-carousel-footer .owl-nav button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d9e3ea;
    border-radius: 50%;
    background: #fff;
    color: #0063ac;
}

.home-carousel-footer .owl-nav .owl-next {
    border-color: #0063ac;
    background: #0063ac;
    color: #fff;
}

.home-carousel-footer .owl-nav button:hover {
    border-color: #004a82;
    background: #004a82;
    color: #fff;
}

.home-carousel-footer button:focus-visible {
    outline: 3px solid #fce329;
    outline-offset: 3px;
}

@media (max-width: 991px) {
    #box-slide .home-carousel-copy { padding: 30px 24px; }
    #box-slide .home-carousel-media { padding: 20px; }
    #box-slide .home-carousel-image { height: 450px; }
}

@media (max-width: 767px) {
    .home-carousel-section { padding: 20px 0 28px; }
    .home-carousel-section > .container { padding-right: 12px; padding-left: 12px; }
    .home-carousel-shell { border-radius: 16px; }
    #box-slide .item { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    #box-slide .home-carousel-copy { padding: 28px 24px; }
    #box-slide .box-slide-title { font-size: 24px; }
    #box-slide .box-slide-sub-title { font-size: 28px; }
    #box-slide .box-slide-description { font-size: 18px; }
    #box-slide .home-carousel-media { padding: 18px; }
    #box-slide .home-carousel-image { height: 300px; }
    .home-carousel-footer { gap: 12px; padding: 16px 22px; }
    .home-carousel-footer .owl-dots { gap: 0; flex-wrap: wrap; justify-content: center; }
    .home-carousel-footer .owl-nav { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
    #box-slide .animated { animation: none; }
}
