@font-face {
    font-family: "Merriweather-normal";
    src: url("../fonts/Merriweather/Merriweather-Regular.ttf");
}
@font-face {
    font-family: "Merriweather-bold";
    src: url("../fonts/Merriweather/Merriweather-bold.ttf");
}
@font-face {
    font-family: "Merriweather-black";
    src: url("../fonts/Merriweather/Merriweather-Black.ttf");
}

:root {
    --sls-navy: #071f3a;
    --sls-teal: #0b4c5f;
    --sls-teal-dark: #063d4d;
    --sls-gold: #e7bd3e;
    --sls-light: #eef5f8;
    --sls-white: #ffffff;
    --sls-shadow: 0 24px 60px rgba(7, 31, 58, .16);
}

* {
    box-sizing: border-box;
}

body.sls-withdrawal-page {
    margin: 0;
    background: var(--sls-light);
    color: var(--sls-navy);
    font-family: "Merriweather-normal", Georgia, serif;
}

.sls-withdrawal-main {
    overflow: hidden;
}

.sls-withdrawal-hero {
    position: relative;
    padding: clamp(135px, 13vw, 180px) clamp(18px, 4vw, 54px) clamp(78px, 9vw, 118px);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7,31,58,.92), rgba(11,76,95,.66)),
        url("../images/learn-german-in-germany1.jpg") center / cover no-repeat;
}

.sls-withdrawal-hero-inner,
.sls-withdrawal-info {
    width: min(1180px, calc(100% - 36px));
    margin-left: auto;
    margin-right: auto;
}

.sls-withdrawal-copy {
    max-width: 880px;
}

.sls-withdrawal-copy h1,
.sls-section-heading h2,
.sls-withdrawal-card h3 {
    font-family: "Merriweather-black", Georgia, serif;
    letter-spacing: -.035em;
}

.sls-withdrawal-copy h1 {
    margin: 0;
    font-size: clamp(46px, 7vw, 86px);
    line-height: .98;
}

.sls-withdrawal-copy p {
    max-width: 760px;
    margin: 28px 0 0;
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.55;
}

.sls-gold-line {
    width: 92px;
    height: 4px;
    margin: 24px 0 0;
    border-radius: 999px;
    background: var(--sls-gold);
}

.sls-withdrawal-info {
    padding: clamp(56px, 7vw, 90px) 0 clamp(70px, 8vw, 110px);
}

.sls-section-heading {
    max-width: 820px;
    margin: 0 auto clamp(34px, 5vw, 54px);
    text-align: center;
}

.sls-section-heading h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
}

.sls-section-heading .sls-gold-line {
    margin-left: auto;
    margin-right: auto;
}

.sls-section-heading p {
    margin: 22px auto 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.6;
}

.sls-withdrawal-grid {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.sls-withdrawal-card,
.sls-withdrawal-form-card {
    background: rgba(255,255,255,.98);
    border-radius: 28px;
    box-shadow: var(--sls-shadow);
}

.sls-withdrawal-card {
    padding: clamp(24px, 3vw, 34px);
    border-top: 8px solid var(--sls-gold);
}

.sls-withdrawal-card h3 {
    margin: 0 0 20px;
    color: var(--sls-teal);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.1;
}

.sls-withdrawal-card p {
    margin: 16px 0 0;
    line-height: 1.65;
}

.sls-note {
    padding-top: 18px;
    border-top: 1px solid rgba(7,31,58,.12);
    color: rgba(7,31,58,.78);
}

.sls-withdrawal-form-card {
    padding: clamp(18px, 3vw, 34px);
}

/* Knack withdrawal form */
#knack-dist_59 {
    width: 100%;
}

#knack-dist_59 .kn-content {
    background: transparent !important;
}

#knack-dist_59 .kn-info-bar,
#knack-dist_59 .view-header {
    display: none !important;
}

#knack-dist_59 input,
#knack-dist_59 textarea,
#knack-dist_59 select {
    border-radius: 14px !important;
    border: 1px solid rgba(7,31,58,.18) !important;
    padding: 13px 15px !important;
    font-size: 16px !important;
}

#knack-dist_59 .kn-button,
#knack-dist_59 button {
    border-radius: 999px !important;
    background: var(--sls-teal) !important;
    border: 0 !important;
    color: #fff !important;
    padding: 14px 28px !important;
    font-weight: 700 !important;
}

#knack-dist_59 .kn-button:hover,
#knack-dist_59 button:hover {
    background: var(--sls-teal-dark) !important;
}

@media (max-width: 900px) {
    .sls-withdrawal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .sls-withdrawal-hero {
        padding-top: 120px;
    }
}


/* Withdrawal page optimisation */
.sls-withdrawal-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid rgba(7,31,58,.12);
}

.sls-withdrawal-step:first-of-type {
    margin-top: 6px;
}

.sls-withdrawal-step span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sls-teal);
    color: #fff;
    font-family: "Merriweather-bold", Georgia, serif;
    font-size: 16px;
}

.sls-withdrawal-step p {
    margin: 0;
    line-height: 1.55;
}

.sls-withdrawal-links {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(7,31,58,.12);
}

.sls-withdrawal-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(11,76,95,.10);
    color: var(--sls-teal);
    font-family: "Merriweather-bold", Georgia, serif;
    text-decoration: none;
    text-align: center;
}

.sls-withdrawal-links a:hover {
    background: rgba(11,76,95,.16);
}

.sls-form-legal-note {
    margin: 22px 0 0;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(231,189,62,.16);
    color: rgba(7,31,58,.82);
    line-height: 1.55;
}

#knack-dist_59 .kn-submit input[type="submit"],
#knack-dist_59 .kn-submit button,
#knack-dist_59 button[type="submit"],
#knack-dist_59 .kn-button {
    min-width: 210px !important;
}

@media (max-width: 520px) {
    .sls-withdrawal-step {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 12px;
    }

    .sls-withdrawal-step span {
        width: 32px;
        height: 32px;
    }
}
