﻿/*Global Section Paddding*/
.sm-widget-padding-5{
    padding:2.5rem 0;
    display:flex;
    flex-direction:column;
    gap:1.5rem;
}

.sm-widget-padding-3 {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/*Form Section Styles*/
.invalid-feedback {
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: var(--primary-brand-70);
}
.required-field::after {
    content: "*";
    color: var(--primary-brand-70);
}
.sm-form-instruction-text.invalid-feedback {
    font-size: 1.125rem;
    font-weight: var(--font-semibold);
    line-height: var(--line-height-130);
    margin-bottom: 0;
    font-style: normal;
}
.sm-form-root-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.sm-widget-padding-3 .sm-form-root-section {
    padding-top: 0;
    padding-bottom: 0;
}
.sm-widget-padding-5 .sm-form-root-section {
    padding-top: 0;
    padding-bottom: 0;
}

/* Footer form section */
.sm-footer-form{
  background: var(--secondary-brand-90);
  color: var(--primary-neutral-white);
  border-radius: 0.5rem;
  padding: 3rem 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.sm-footer-form > :first-child{
  padding-bottom: 1rem;
}

.sm-footer-form > :last-child{
  padding-top: 1rem;
}

.sm-footer-form > :first-child .sm-rich-text h1{
    margin: 0;
    padding-bottom: 0.62rem;
}

.sm-footer-form > :last-child form button{
    width: 100%;
}


@media (min-width: 768px) {
    /*Form Section Styles*/
    .sm-form-instruction-text.invalid-feedback {
        font-size: 1.375rem;
    }

    /* Footer form section */
    .sm-footer-form > :first-child{
        padding-right: 1.5rem;
        padding-bottom: 0;
    }

    .sm-footer-form > :last-child{
        padding-left: 1.5rem;
        padding-top: 0;
    }
}

@media (min-width: 1024px) {
    /*Global Section Paddding*/
    .sm-widget-padding-5 {
        padding: 5rem 0;
        gap: 3rem;
    }

    .sm-widget-padding-3 {
        padding: 3rem 0;
        gap: 3rem;
    }
    /*Form Section Styles*/
    .sm-form-instruction-text {
        font-size: 1.25rem;
        line-height: var(--line-height-120);
    }
    .sm-form-root-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Footer form section */
    .sm-footer-form{
        padding: 5rem;
    }

    .sm-footer-form > :first-child{
        padding-right: 2.5rem;
    }

    .sm-footer-form > :last-child{
        padding-left: 2.5rem;
    }

    .sm-footer-form > :first-child .sm-rich-text h1{
        letter-spacing: -0.05rem;
    }
}

@media (min-width: 1440px){
    /* Footer form section */
    .sm-footer-form{
        margin-top: 5rem;
        margin-bottom: 5rem;
    }
    .sm-footer-form > :first-child {
        padding-right: 5rem;
    }

    .sm-footer-form > :last-child {
        padding-left: 5rem;
    }

    .sm-footer-form > :first-child .sm-rich-text h1{
        letter-spacing: -0.05rem;
    }
}