﻿.site-footer__newsletter-form {
    margin-top: 0;
    max-width: 50%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.site-footer__newsletter-title {
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 25px;
    margin-top: 0;
}

.site-footer__newsletter-form #rmOrganism,
.site-footer__newsletter-form #rmOrganism * {
    box-sizing: border-box;
}

.site-footer__newsletter-form #rmOrganism .hidden {
    display: none !important;
}

.site-footer__newsletter-form #rmOrganism .rmBase,
.site-footer__newsletter-form #rmOrganism .rmSubscription,
.site-footer__newsletter-form #rmOrganism .rmSubscription .rmBase__content {
    background: transparent;
    color: #ffffff;
    margin: 0;
}

.site-footer__newsletter-form #rmOrganism .rmSubscription .rmBase__container {
    padding: 0;
}

.site-footer__newsletter-form #rmOrganism .rmSubscription .rmBase__section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-footer__newsletter-form #rmOrganism .rmSubscription .rmBase__el {
    margin: 0;
}

.site-footer__newsletter-form #rmOrganism .rmSubscription .rmBase__compLabel {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

.site-footer__newsletter-form #rmOrganism .rmBase__el .comp__input {
    appearance: none;
    background: #f5f5f5;
    border: 0;
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2);
    color: #515151;
    font-family: inherit;
    font-size: 26px;
    line-height: 30px;
    height: 80px;
    outline: none;
    padding: 25px 0 25px 60px;
    width: 100%;
}

.site-footer__newsletter-form #rmOrganism .rmBase__el .comp__input::placeholder {
    color: #676767;
    opacity: 1;
    font-size: 26px;
    line-height: 30px !important;
}

.site-footer__newsletter-form #rmOrganism .rmBase__el .comp__input:focus {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2), 0 0 0 2px rgba(0, 149, 168, .35);
}

.site-footer__newsletter-form #rmOrganism .rmBase__compError {
    background-color: #b90303;
    border-radius: 4px;
    color: #ffffff;
    display: none;
    font-size: .85rem;
    font-weight: 700;
    margin-top: .35rem;
    padding: .2rem .45rem;
}

.site-footer__newsletter-form #rmOrganism .rmBase__el.rmBase__el--has-error .rmBase__compError {
    display: inline-block;
}

.site-footer__newsletter-form #rmOrganism .rmBase__inlineSuccess {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.site-footer__newsletter-form #rmOrganism .rmBase__inlineSuccess.is-visible {
    display: block !important;
}

.site-footer__newsletter-form #rmOrganism .rmBase__content.is-submitted .rmBase__el--input,
.site-footer__newsletter-form #rmOrganism .rmBase__content.is-submitted .rmBase__el--cta,
.site-footer__newsletter-form #rmOrganism .rmBase__content.is-submitted .info {
    display: none;
}

.site-footer__newsletter-form #rmOrganism .rmBase__el--cta {
    display: flex;
    justify-content: flex-start;
}

.site-footer__newsletter-form #rmOrganism .rmSubscription .rmBase__comp--cta {
    align-items: center;
    background: transparent;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 30px;
    font-weight: 700;
    line-height: 35px;
    text-align: left;
    padding-left: 40px;
    transition: 0.3s ease-in-out;
}

.site-footer__newsletter-form #rmOrganism .rmSubscription .rmBase__comp--cta::before {
    background-image: url(../images/arrow-link.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    content: '';
    left: -20px;
    display: inline-block;
    flex: 0 0 auto;
    height: 25px;
    transform: translateY(0);
    width: 60px;
    position: absolute;
    justify-content: left;
    background-position: left;
}

.site-footer__newsletter-form #rmOrganism .rmSubscription .rmBase__comp--cta:hover,
.site-footer__newsletter-form #rmOrganism .rmSubscription .rmBase__comp--cta:focus-visible {
    color: #2496A8;
    outline: none;
}

.site-footer__newsletter-form #rmOrganism .rmBase__comp--heading {
    color: #ffffff;
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    line-height: 1.2;
}

.site-footer__newsletter-form #rmOrganism .rmBase__comp--text {
    color: #ffffff;
    font-size: clamp(1.1rem, 1.9vw, 1.35rem);
    line-height: 1.4;
}
