/* Hero Section Container */

.headline .row {
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    padding: 0 24px;
}

.headline .container {
    display: flex;
    flex-grow: 1;
    align-items: flex-end;
}
.headline .top-fade {
    height: 30vh;
    width: 100%;
    background: linear-gradient(0deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 50%) 100%);
}

/* Hero Background Video/Image */
#video {
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 350px;
    height: 95vh;
    background-image: url(../images/top-background.jpg), url(../images/top-background_low.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

/* Hero Title */
.headline__row {
    font-size: 62px;
    font-weight: 700;
    line-height: 1.1em;
    display: inline-block;
    margin: 0;
    color: #fff;
    padding: 0px;
    margin-bottom: 160px;
}
.headline__title {
    margin: 0;
    font-size: 62px;
}

/* Hero Price Display */
.price__text {
}

.price__text::after {
    position: absolute;
    top: 0;
    right: -12px;
    width: 20px;
    height: 25px;
    background: url(../images/ribbon.png) center no-repeat;
}

/* Form Wrapper */
.headline .form__wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: end;
    align-items: flex-end;
    color: #ffffff;
    padding: 0 16px;
}

.form__wrapper_inner {
    background-color: #ffffffee;
    backdrop-filter: blur(10px);
    color: #000;
    width: 30vw;
    min-width: 300px;
    padding: 32px;
    border-radius: 24px;
}

/* Form Elements */
.form {
    height: 44px;
    cursor: pointer;
    color: #000;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    width: 100%;
}

input.form {
    padding:0 10px;
    text-align:left;
    border:1px solid #c8c8c8;
    border-radius:8px;
    background-color:transparent
}

.form:hover {
    border: 1px solid #000000;
}

.main-form__take, .main-form__return, .form__car_class {
  padding-left: 14px;
  font-size: 16px;
}

/* Form Groups */
.take-return__wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.form__submit_wrapper {
  width: 100%;
}

.take-return__row {
    flex-grow: 1;
}

.form-input-wrapper {
    display: flex;
    gap: 8px;
}





/* Responsive Styles */
@media (max-width: 970px) {
    .form__wrapper {
        margin-top: 20px !important;
        width: 90vw;
    }
    
    .text-article__subtitle {
        margin-top: 0 !important;
    }
}

@media (max-width: 767px) {
    #about .col-xs-12.text__wrapper h2.smart-text__headline {
        margin-top: 85px;
    }
    
    #about.smart-text .rating_wrapper_div {
        padding-right: 15px !important;
    }
    .headline {
        margin: 0 !important;
    }
    #video {
        height: 40vh !important;
        background-position: left;
        padding-bottom: 114px;
    }
    .headline__row, .headline__row h1 {
        font-size: 24px;
        margin-bottom: 0px;
        margin-top: 60px;
    }
    .headline .container {
        flex-direction: row;
        align-items: flex-end;
    }
    .form__wrapper_inner {
        width: auto;
        padding: 4px 18px 24px 18px;
    }
    .form__data, .form__time {
        background: none;
    }
    .form-input-wrapper {
        gap: 4px;
    }
    .form__tel {
        text-align: left !important;
    }
    input.form {
        padding: 0 6px;
        text-align: center;
    }
    .headline .row {
    padding: 0;
    }
}
@media only screen and (min-width: 1180px) and (max-width: 1380px) {
    .headline__row, .headline__row h1 {
        font-size: 54px !important;
    }
    #video {
        background-position-y: 70%;
    }
}

.headline {
    margin-top: 0;
}

#video {
    height: 65vh;
}

.form__wrapper {
    width: 80vw;
    margin: 0;
}