.hero-slide-widget {
    position: relative;
    margin-bottom: 34px;
    background: #0f2237;
}

.hero-slide-widget__carousel {
    margin: 0;
}

.hero-slide-widget__item {
    position: relative;
    overflow: hidden;
    min-height: 580px;
}

.hero-slide-widget__link,
.hero-slide-widget__media {
    position: relative;
    display: block;
    min-height: 580px;
    background: linear-gradient(135deg, #12304b 0%, #1d5070 55%, #277aa1 100%);
}

.hero-slide-widget__image {
    display: block;
    width: 100%;
    height: 580px;
    object-fit: cover;
}

.hero-slide-widget__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 20, 33, .76) 0%, rgba(8, 20, 33, .34) 48%, rgba(8, 20, 33, .18) 100%),
        linear-gradient(180deg, rgba(8, 20, 33, .16) 0%, rgba(8, 20, 33, .6) 100%);
}

.hero-slide-widget__slide-copy {
    position: absolute;
    right: 0;
    bottom: 118px;
    left: 0;
    z-index: 2;
}

.hero-slide-widget__slide-copy-inner {
    width: min(1180px, calc(100% - 30px));
    margin: 0 auto;
}

.hero-slide-widget__slide-title {
    display: inline-flex;
    align-items: center;
    max-width: 540px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .01em;
    backdrop-filter: blur(10px);
}

.hero-slide-widget__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-slide-widget__overlay .container {
    width: 100%;
}

.hero-slide-widget__panel {
    max-width: 650px;
    padding: 28px 28px 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 30px;
    background: rgba(10, 28, 45, .64);
    box-shadow: 0 26px 60px rgba(8, 20, 33, .28);
    color: #fff;
    backdrop-filter: blur(16px);
    pointer-events: auto;
}

.hero-slide-widget__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(229, 241, 252, .82);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-slide-widget__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 40px;
    line-height: 1.18;
    font-weight: 700;
}

.hero-slide-widget__desc {
    margin: 0 0 20px;
    color: rgba(236, 244, 251, .88);
    font-size: 15px;
    line-height: 1.85;
}

.hero-search-form {
    margin: 0;
}

.hero-search-form__types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hero-search-form__type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-search-form__type i.fa,
.hero-search-form__route i.fa,
.hero-search-form__submit i.fa {
    width: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 1;
}

.hero-search-form__type:hover,
.hero-search-form__type:focus {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.hero-search-form__type.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #2e8ae6 0%, #5bc1ff 100%);
    box-shadow: 0 10px 22px rgba(52, 148, 255, .26);
}

.hero-search-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.hero-search-form__field {
    position: relative;
}

.hero-search-form__input {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    color: #17324d;
    font-size: 15px;
    font-weight: 500;
    box-shadow: none;
}

.hero-search-form__input:focus {
    border-color: #5bc1ff;
    box-shadow: 0 0 0 4px rgba(83, 177, 255, .18);
    outline: none;
}

.hero-search-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 170px;
    height: 56px;
    padding: 0 24px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #f17f33 0%, #ff9b4b 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 18px 30px rgba(241, 127, 51, .26);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hero-search-form__submit:hover,
.hero-search-form__submit:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(241, 127, 51, .32);
}

.hero-search-form .error_search {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    display: none;
    color: #ffd8d8;
    font-size: 12px;
    font-weight: 700;
}

.hero-search-form__routes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.hero-search-form__routes-label {
    color: rgba(229, 241, 252, .74);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-search-form__route {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    transition: background .2s ease, transform .2s ease;
}

.hero-search-form__route:hover,
.hero-search-form__route:focus {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.hero-slide-widget .owl-pagination {
    position: absolute;
    right: 0;
    bottom: 26px;
    left: 0;
    z-index: 4;
}

.hero-slide-widget .owl-theme .owl-controls .owl-page span {
    width: 10px;
    height: 10px;
    margin: 5px 6px;
    background: rgba(255, 255, 255, .44);
    opacity: 1;
}

.hero-slide-widget .owl-theme .owl-controls .owl-page.active span,
.hero-slide-widget .owl-theme .owl-controls.clickable .owl-page:hover span {
    background: #fff;
}

@media (max-width: 1199px) {
    .hero-slide-widget__item,
    .hero-slide-widget__link,
    .hero-slide-widget__media {
        min-height: 540px;
    }

    .hero-slide-widget__image {
        height: 540px;
    }

    .hero-slide-widget__title {
        font-size: 34px;
    }
}

@media (max-width: 991px) {
    .hero-slide-widget {
        margin-bottom: 26px;
    }

    .hero-slide-widget__item,
    .hero-slide-widget__link,
    .hero-slide-widget__media {
        min-height: 520px;
    }

    .hero-slide-widget__image {
        height: 520px;
    }

    .hero-slide-widget__overlay {
        align-items: flex-end;
    }

    .hero-slide-widget__panel {
        max-width: none;
        margin: 0 0 26px;
        padding: 22px 20px 18px;
        border-radius: 24px;
    }

    .hero-slide-widget__title {
        font-size: 30px;
    }

    .hero-slide-widget__slide-copy {
        bottom: 212px;
    }
}

@media (max-width: 767px) {
    .hero-slide-widget__item,
    .hero-slide-widget__link,
    .hero-slide-widget__media {
        min-height: 500px;
    }

    .hero-slide-widget__image {
        height: 500px;
    }

    .hero-slide-widget__panel {
        margin-bottom: 18px;
        padding: 20px 16px 16px;
    }

    .hero-slide-widget__title {
        font-size: 26px;
    }

    .hero-slide-widget__desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-search-form__row {
        grid-template-columns: 1fr;
    }

    .hero-search-form__submit {
        width: 100%;
    }

    .hero-slide-widget__slide-copy {
        bottom: 190px;
    }

    .hero-slide-widget__slide-title {
        max-width: calc(100% - 30px);
        font-size: 12px;
    }
}

/* Wider, calmer hero to match the broader site shell. */
.hero-slide-widget {
    margin-bottom: 40px;
}

.hero-slide-widget__item,
.hero-slide-widget__link,
.hero-slide-widget__media {
    min-height: 600px;
}

.hero-slide-widget__image {
    height: 600px;
}

.hero-slide-widget__slide-copy {
    bottom: 132px;
}

.hero-slide-widget__slide-copy-inner {
    width: min(1300px, calc(100% - 40px));
}

.hero-slide-widget__panel {
    max-width: 700px;
    padding: 34px 32px 28px;
    border-radius: 32px;
    background: rgba(10, 28, 45, .58);
}

.hero-slide-widget__title {
    max-width: 12ch;
    font-size: 42px;
    line-height: 1.22;
}

.hero-slide-widget__desc {
    max-width: 58ch;
    font-size: 16px;
    line-height: 1.9;
}

.hero-search-form__row {
    gap: 14px;
}

.hero-search-form__input,
.hero-search-form__submit {
    height: 58px;
    border-radius: 20px;
}

.hero-search-form__routes {
    margin-top: 18px;
}

@media (max-width: 1199px) {
    .hero-slide-widget__item,
    .hero-slide-widget__link,
    .hero-slide-widget__media {
        min-height: 540px;
    }

    .hero-slide-widget__image {
        height: 540px;
    }

    .hero-slide-widget__panel {
        max-width: 640px;
        padding: 30px 28px 24px;
    }

    .hero-slide-widget__title {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .hero-slide-widget {
        margin-bottom: 28px;
    }

    .hero-slide-widget__slide-copy {
        bottom: 220px;
    }
}

@media (max-width: 767px) {
    .hero-slide-widget {
        margin-bottom: 30px;
    }

    .hero-slide-widget__slide-copy-inner {
        width: calc(100% - 24px);
    }

    .hero-slide-widget__panel {
        border-radius: 24px;
    }
}
