/* HERO */

.hero {
    position: relative;
    width: 100%;
}

.hero-swiper {
    width: 100%;
    height: 100vh;
    height: 100dvh;
}

.hero-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-slide > picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.1) 100% );
    pointer-events: none;
}

.hero-slide__container {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-slide__content {
    width: 100%;
    padding-bottom: 80px;
}

.hero-heading {
    max-width: 600px;
    font-size: 72px;
    line-height: 1;
    font-weight: 700;
    text-wrap: balance;
}

.hero-paragraph {
    max-width: 400px;
    margin-top: 16px;
}

.hero-slide__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 148px;
    height: 44px;
    margin-top: 24px;
    background: var(--clr-red);
    border-radius: 16px;
    transition: background-color 0.25s ease;
}

.hero-slide__button:hover {
    background: #b82323;
}

.hero-slide__button:focus-visible {
    outline: 2px solid var(--clr-white);
    outline-offset: 4px;
}

/* THUMBNAIL BAR */

.hero-thumbnails {
    --thumb-width: 212px;
    --thumb-ratio: 212 / 264;
    --thumb-gap: 24px;
    --thumb-scale: 1.10;
    --thumb-padding: 24px;
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 10;
    transform: translate(-50%, 20%);
    width: calc(100% - 24px);
    max-width: 1440px;
    padding: var(--thumb-padding);
    border-radius: 24px;
    background: var(--clr-slider-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

/* Viewport skriva postere izvan sive trake.
  Swiper dobija prostor za uvecani poster,
  bez menjanja visine spoljasnjeg omotaca. */

.hero-thumbnails__viewport {
    overflow: hidden;
    margin: calc(-1 * var(--thumb-padding));
    border-radius: inherit;
}

.thumbs-swiper {
    width: 100%;
    padding: var(--thumb-padding);
    box-sizing: border-box;
    overflow: hidden;
}

.thumbs-swiper .swiper-wrapper {
    align-items: center;
}

.thumbs-swiper .swiper-slide {
    position: relative;
    width: var(--thumb-width);
    height: auto;
    aspect-ratio: var(--thumb-ratio);
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 16px;
}

.thumbs-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.35s ease, outline-color 0.35s ease;
}

.thumbs-swiper .swiper-slide-thumb-active {
    z-index: 2;
}

.thumbs-swiper .swiper-slide-thumb-active img {
    transform: scale(var(--thumb-scale));
    outline: 2px solid var(--clr-red);
    outline-offset: -2px;
}

/* TABLET AND MOBILE */

@media (max-width: 991px) {
    .hero-heading {
        font-size: 60px;
        line-height: 60px;
    }

    .hero-slide__content {
        padding-bottom: 60px;
    }

    .hero-thumbnails {
        --thumb-width: 157px;
        --thumb-scale: 1.12;
        --thumb-padding: 16px;
    }
}

/* MOBILE */

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

    .hero-heading {
        font-size: 48px;
        line-height: 48px;
    }

    .hero-slide__content {
        padding-bottom: 40px;
    }

    .hero-slide__container {
        transform: translateY(60px);
    }

    .hero-slide::before {
        background: linear-gradient( 180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.85) 100% );
    }

    .hero-thumbnails {
        --thumb-width: 151px;
        --thumb-scale: 1.10;
        --thumb-padding: 12px;
        bottom: -60px;
    }
}

/* MOBILE LANDSCAPE */

@media (max-width: 767px) and (orientation: landscape) {
    .hero-swiper {
        height: max(100dvh, 650px);
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .hero-slide__button,
    .thumbs-swiper .swiper-slide img {
        transition: none;
    }
}


/* SEARCH SECTION */

.search-section {
    padding-block: 120px;
}

.search-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.search-heading {
    font-size: 60px;
    line-height: 1.1;
}

.search-description {
    max-width: 520px;
    margin-top: 32px;
}

/* SEARCH CONTROLS */

.search-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
}

.search-input {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 250px;
    height: 32px;
    flex-shrink: 0;
}

.search-input img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.search-input input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background-color: var(--clr-search);
    border-radius: 16px;
    padding: 8px;
    color: #fff;
    font: inherit;
    font-size: 15px;
}

.search-input input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input input::-webkit-search-cancel-button {
    cursor: pointer;
}

.search-types {
    display: flex;
    align-items: center;
    gap: 48px;
}

.search-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.25s ease;
}

.search-type img {
    display: block;
    width: 24px;
    height: 24px;
}

.search-type:hover,
.search-type.is-active {
    color: var(--clr-red);
}

/* GENRE FILTERS */

.search-genres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.genre-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 44px;
    padding: 0 12px;
    border: none;
    border-radius: 16px;
    background: var(--clr-buttons);
    color: inherit;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.genre-button.is-active {
    background-color: var(--clr-red);
}

@media (hover: hover) and (pointer: fine) {
    .genre-button:hover {
        background-color: var(--clr-red);
    }
}

/* MOVIE GRID */

.search-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 48px;
    margin-top: 64px;
}

/* MOVIE CARD */

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--clr-white);
    text-decoration: none;
}

.movie-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 240 / 306;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 250ms ease;
}

.movie-card__title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 12px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.movie-card__details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    font-size: 16px;
}

.movie-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.movie-card__rating img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* LOAD MORE */

.search-load-more {
    display: flex;
    justify-content: center;
    margin-top: 64px;
}

.search-load-more__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 44px;
    padding: 0 24px;
    border: none;
    border-radius: 16px;
    background: var(--clr-buttons);
    color: inherit;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.search-load-more__button:hover {
    background: var(--clr-red);
}

.search-load-more__button[hidden] {
    display: none;
}

/* HOVER EFFECTS */

@media (hover: hover) {
    .movie-card:hover .movie-card__image {
        transform: scale(1.04);
    }
}

/* TABLET */

@media (min-width: 768px) and (max-width: 991px) {
    .search-controls,
    .search-types {
        gap: 32px;
    }

    .search-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 40px;
    }

    .movie-card__details {
        font-size: 14px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .search-section {
        padding-block: 140px 80px;
    }

    .search-heading {
        font-size: 40px;
    }

    .search-controls {
        flex-direction: column;
        gap: 24px;
    }

    .search-input {
        width: 250px;
    }

    .search-types {
        gap: 24px;
    }

    .search-type {
        gap: 8px;
        font-size: 16px;
    }

    .search-genres {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 132px));
        gap: 16px;
    }

    .genre-button {
        width: 100%;
    }

    .search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 32px;
    }

    .movie-card__details {
        font-size: 14px;
    }
}

/* MOBILE LANDSCAPE */

@media (max-width: 767px) and (orientation: landscape) {
    .search-genres {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 576px;
        margin-inline: auto;
    }

    .genre-button {
        width: 132px;
    }

    .search-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .search-type,
    .genre-button,
    .search-load-more__button,
    .movie-card__image {
        transition: none;
    }
}


/* TOP 10 SECTION */

.top-ten-section {
    padding-block: 48px;
}

.top-ten-group + .top-ten-group {
    margin-top: 80px;
}

.top-ten-heading {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 40px;
}

/* SLIDER */

.top-ten-slider {
    position: relative;
}

.top-ten-slider .swiper {
    width: 100%;
}

.top-ten-slider .swiper-slide {
    width: auto;
    min-width: 0;
}

/* TOP 10 CARDS */

.top-ten-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    color: var(--clr-white);
    text-decoration: none;
}

.top-ten-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 240 / 306;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 250ms ease;
}

.top-ten-card__title {
    margin-top: 12px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.top-ten-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    font-size: 16px;
}

.top-ten-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.top-ten-card__rating img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* NAVIGATION */

.top-ten-next {
    position: absolute;
    top: 50%;
    right: -72px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.top-ten-next img {
    display: block;
    width: 56px;
    height: 56px;
}

.top-ten-next.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

/* HOVER EFFECTS */

@media (hover: hover) {
    .top-ten-card:hover .top-ten-card__image {
        transform: scale(1.04);
    }
}

/* TABLET */

@media (min-width: 768px) and (max-width: 991px) {
    .top-ten-heading {
        font-size: 32px;
    }

    .top-ten-card__meta {
        font-size: 14px;
    }

    .top-ten-next {
        display: none;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .top-ten-section {
        padding-block: 32px;
    }

    .top-ten-group + .top-ten-group {
        margin-top: 64px;
    }

    .top-ten-heading {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .top-ten-card__meta {
        font-size: 14px;
    }

    .top-ten-next {
        display: none;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .top-ten-card__image {
        transition: none;
    }
}


/* HOT SECTION */

.hot-section {
    padding-block: 120px;
}

.hot-swiper {
    width: 100%;
}

.hot-card {
    position: relative;
    width: 100%;
}

.hot-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1280 / 720;
    overflow: hidden;
    border-radius: 16px;
}

.hot-card__image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-card__overlay {
    position: absolute;
    inset: 0;
    background-color: var(--clr-black);
    opacity: 0.3;
    pointer-events: none;
}

/* CONTENT */

.hot-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    color: #fff;
    pointer-events: none;
}

.hot-card__content a {
    pointer-events: auto;
}

/* METADATA */

.hot-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: flex-start;
    justify-content: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 1.5;
}

/* DETAILS */

.hot-card__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hot-card__title {
    font-size: 36px;
    line-height: 1;
}

.hot-card__summary {
    max-width: 490px;
    margin-top: 32px;
}

.hot-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 12px 32px;
    border-radius: 16px;
    background-color: var(--clr-red);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

/* TABLET */

@media (min-width: 768px) and (max-width: 991px) {
    .hot-card__content {
        padding: 32px;
    }

    .hot-card__meta {
        font-size: 14px;
    }

    .hot-card__title {
        font-size: 24px;
    }

    .hot-card__summary {
        margin-top: 24px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .hot-section {
        padding-block: 80px;
    }

    .hot-card__content {
        position: static;
        padding: 0;
        margin-top: 24px;
        pointer-events: auto;
    }

    .hot-card__meta {
        gap: 10px;
        font-size: 14px;
    }

    .hot-card__details {
        margin-top: 24px;
    }

    .hot-card__title {
        font-size: 24px;
    }

    .hot-card__summary {
        max-width: 490px;
        margin-top: 24px;
    }

    .hot-card__button {
        margin-top: 24px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .hot-card__button {
        transition: none;
    }
}


/* BLOG SLIDER SECTION */

.blog-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.blog-heading {
    max-width: 850px;
    font-size: 60px;
    line-height: 1.1;
}

.blog-description {
    max-width: 720px;
    margin-top: 32px;
}

.blog-slider {
    position: relative;
    max-width: 1040px;
    margin: 72px auto 0;
}

.blog-slide__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
}

.blog-swiper {
    width: 100%;
    overflow: hidden;
}

.blog-swiper .swiper-wrapper {
    align-items: center;
}

.blog-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
    min-width: 0;
    transition: none;
}

.blog-swiper .swiper-slide img {
    display: block;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.6s ease;
}

.blog-swiper .swiper-slide-active {
    z-index: 3;
}

.blog-swiper .swiper-slide-active img {
    transform: scale(1.3125);
}

.blog-swiper .swiper-slide-prev,
.blog-swiper .swiper-slide-next {
    z-index: 1;
}

/* NAVIGATION */

.blog-slider__prev,
.blog-slider__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 5;
}

.blog-slider__prev {
    left: -80px;
}

.blog-slider__next {
    right: -80px;
}

.blog-slider__prev img,
.blog-slider__next img {
    display: block;
    width: 56px;
    height: 56px;
}

/* ACTIVE BLOG CONTENT */

.blog-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 48px;
}

.blog-content__title {
    font-size: 36px;
    line-height: 1.2;
}

.blog-content__summary {
    max-width: 650px;
    margin-top: 32px;
}

.blog-content__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 156px;
    height: 48px;
    margin-top: 32px;
    border-radius: 16px;
    background-color: var(--clr-white);
    color: var(--clr-black);
    text-decoration: none;
    font: inherit;
    font-size: 16px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.blog-content__button:hover {
    background-color: var(--clr-red);
    color: var(--clr-white);
}

/* TABLET */

@media (min-width: 768px) and (max-width: 991px) {
    .blog-heading {
        font-size: 60px;
    }

    .blog-description {
        margin-top: 24px;
    }

    .blog-slider {
        max-width: 760px;
        margin-top: 48px;
    }

    .blog-swiper .swiper-slide {
        height: 320px;
    }

    .blog-swiper .swiper-slide img {
        width: 240px;
    }

    .blog-swiper .swiper-slide-active img {
        transform: scale(1.3333);
    }

    .blog-slider__prev,
    .blog-slider__next {
        display: none;
    }

    .blog-content {
        margin-top: 40px;
    }

    .blog-content__title {
        font-size: 28px;
    }

    .blog-content__summary {
        margin-top: 24px;
    }

    .blog-content__button {
        margin-top: 24px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .blog-heading {
        font-size: 40px;
    }

    .blog-description {
        margin-top: 24px;
    }

    .blog-slider {
        max-width: 100%;
        margin-top: 32px;
    }

    .blog-swiper .swiper-slide {
        height: auto;
    }

    .blog-swiper .swiper-slide img,
    .blog-swiper .swiper-slide-active img {
        width: 100%;
        max-width: none;
        transform: none;
    }

    .blog-slider__prev,
    .blog-slider__next {
        display: none;
    }

    .blog-content {
        margin-top: 32px;
    }

    .blog-content__title {
        font-size: 24px;
    }

    .blog-content__summary {
        margin-top: 24px;
    }

    .blog-content__button {
        margin-top: 24px;
    }
}

/* MOBILE LANDSCAPE */

@media (orientation: landscape) and (max-height: 500px) {
    .blog-swiper .swiper-slide {
        height: auto;
    }

    .blog-swiper .swiper-slide img {
        width: 100%;
        max-width: 500px;
        transform: none;
    }

    .blog-slider__prev,
    .blog-slider__next {
        display: none;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .blog-swiper .swiper-slide,
    .blog-swiper .swiper-slide img,
    .blog-content__button {
        transition: none;
    }
}


/* NEWSLETTER SECTION */

.newsletter-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 1024px;
    overflow: hidden;
    background-color: var(--clr-black);
}

/* BACKGROUND */

.newsletter-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.newsletter-background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* GRADIENT OVERLAY */

.newsletter-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, #000000 0%, #000000 30%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0) 65% );
    pointer-events: none;
}

/* CONTENT */

.newsletter-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 540px;
}

.newsletter-heading {
    font-size: 60px;
    line-height: 1.1;
}

.newsletter-description {
    max-width: 480px;
    margin-top: 32px;
}

/* FORM */

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-top: 40px;
}

.newsletter-form__fields {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.newsletter-input {
    width: 366px;
    min-width: 0;
    height: 56px;
    padding: 0 16px;
    border: none;
    border-radius: 16px;
    outline: none;
    background-color: var(--clr-white);
    color: var(--clr-black);
    font: inherit;
    font-size: 16px;
}

.newsletter-input::placeholder {
    color: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.newsletter-input:focus-visible {
    outline: 2px solid var(--clr-red);
    outline-offset: 2px;
}

.newsletter-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 151px;
    height: 56px;
    flex-shrink: 0;
    padding: 0 16px;
    border: none;
    border-radius: 16px;
    background-color: var(--clr-red);
    color: var(--clr-white);
    font: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.newsletter-submit:hover {
    opacity: 0.85;
}

.newsletter-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* CONSENT CHECKBOX */

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 530px;
    margin-top: 6px;
    color: var(--clr-white);
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
}

.newsletter-consent input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 1px 0 0;
    accent-color: var(--clr-red);
    cursor: pointer;
}

.newsletter-consent span {
    flex: 1;
}

/* MESSAGE */

.newsletter-message {
    margin-top: 12px;
    font-size: 14px;
}

.newsletter-message:empty {
    display: none;
}

/* TABLET */

@media (min-width: 768px) and (max-width: 991px) {
    .newsletter-section {
        min-height: 900px;
        align-items: flex-end;
    }

    .newsletter-background img {
        object-position: center top;
    }

    .newsletter-overlay {
        background: linear-gradient( 180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.5) 50%, #000000 75%, #000000 100% );
    }

    .newsletter-container {
        display: flex;
        justify-content: center;
    }

    .newsletter-content {
        max-width: 540px;
        width: 100%;
    }

    .newsletter-heading {
        font-size: 60px;
    }

    .newsletter-description {
        margin-top: 24px;
    }

    .newsletter-form {
        margin-top: 32px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .newsletter-section {
        min-height: 760px;
        align-items: flex-end;
    }

    .newsletter-background img {
        object-position: center top;
    }

    .newsletter-overlay {
        background: linear-gradient( 180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.5) 45%, #000000 70%, #000000 100% );
    }

    .newsletter-heading {
        font-size: 40px;
    }

    .newsletter-description {
        margin-top: 24px;
    }

    .newsletter-form {
        margin-top: 24px;
    }

    .newsletter-input,
    .newsletter-submit {
        height: 48px;
    }

    .newsletter-input {
        width: 100%;
        flex: 1;
    }

    .newsletter-submit {
        width: 125px;
    }
}

/* SMALL MOBILE */

@media (max-width: 375px) {
    .newsletter-submit {
        width: 105px;
    }

    .newsletter-input,
    .newsletter-submit {
        font-size: 14px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .newsletter-submit {
        transition: none;
    }
}