.banner {
    margin-bottom: 2rem;
}
.banner + div {
    clear: both;
}
.banner .image {
    height: 360px;
}
.id-homepage .banner .image {
    height: 550px;
}
.banner .container:not(.description-wrapper),
.banner .inner-container:not(.description-wrapper) {
    position: relative;
}
.banner img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}
.text-box {
    position: absolute;
    background-color: var(--color-white);
    bottom: 20px;
}
.tag-label {
    font-family: var(--secondary-font-family);
    background-color: var(--color-primary-2);
    color: white;
    text-transform: uppercase;
    font-size: var(--font-size-14);
    padding: 0.25rem 1rem;
    line-height: var(--line-height-56);
    width: max-content;
    height: fit-content;
    display: block;
}
.banner .image-description {
    padding: 0.65rem 1rem;
    width: 34.3%;
}
.banner .description-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}
.text-box .text {
    padding: 10px;
}
.text-box h1,
.banner-title {
    font-size: var(--font-size-24);
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
}
.text-box h1 a,
.text-box h1 {
    color: var(--color-primary-1);
}
.banner a::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: '';
}
.banner a::after {
    background-color: var(--color-primary-1);
    width: 13px;
    height: 18px;
    left: 0.3em;
}

/* For Desktop */

@media (min-width: 992px) {
    .id-homepage .banner {
        margin-bottom: 5rem;
    }
    .banner .image {
        height: 420px;
    }
    .id-homepage .banner .image {
        height: 600px;
    }
    .container .text-box {
        width: 650px;
    }
    .inner-container .text-box {
        width: 550px;
    }
    .banner .description-wrapper.container .image-description {
        position: absolute;
        right: 0;
    }
    .id-homepage .banner .image-description {
        width: 400px;
    }
    .banner .image-description {
        float: right;
    }
    .text-box h1,
    .banner-title {
        font-size: var(--font-size-40);
    }
    .banner a::after {
        width: 18px;
        height: 27px;
    }
    .description-wrapper {
        justify-content: space-between;
    }
    .tag-label {
        font-size: var(--font-size-18);
        padding: 0.5rem 1rem;
    }
}

/* Especially for mobile */

@media (max-width: 991px) {
    .text-box {
        left: 0;
        right: 0;
        width: auto;
        margin: 0 1rem;
    }
    .banner .description-wrapper {
        flex-direction: column-reverse;
    }
    .banner .description-wrapper.container {
        max-width: 100%;
        padding: 0;
    }
    .banner.container {
        padding: 0;
    }
    .banner .image-description {
        width: 100%;
    }
    .id-homepage .banner .image-description {
        background: transparent;
        border-bottom: 1px solid var(--color-secondary-40);
        text-align: right;
    }
    .text-box .tag-label {
        font-size: var(--font-size-18);
    }
}
