/* --- Global styles --- */
.leerpad__container,
.sg__container {
    position: relative;
    width: 100%;
}

.leerpad__wrap,
.sg__wrap {
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
}

.leerpad__inner,
.sg__inner {
    padding: 0 16px;
}

.leerpad__container.in-grid .leerpad__wrap,
.sg__container.in-grid .sg__wrap {
    max-width: 1200px;
    max-width: var(--sg-grid);
}

.leerpad__block {
    margin: 32px 0;
}
.sg__block {
    padding: 32px 0;
}

.leerpad__container.block-padding-sm-top-bottom .leerpad__block,
.sg__container.block-padding-sm-top-bottom .sg__block {
    padding-top: 0;
    padding-bottom: 0;
}
.leerpad__container.block-padding-sm-top .leerpad__block,
.sg__container.block-padding-sm-top .sg__block {
    padding-top: 0;
}
.leerpad__container.block-padding-sm-bottom .leerpad__block,
.sg__container.block-padding-sm-bottom .sg__block {
    padding-bottom: 0;
}
.sg__image > a {
    display: block;
    opacity: 1;
}

.sg__image img {
    max-width: 100%;
}

.align-left {
    text-align: left;
}
.align-center {
    text-align: center;
}
.align-right {
    text-align: right;
}

.align-center .button-order-side,
.align-center .button-order-below {
    align-items: center;
}

/* Title */
h1.sg__title {
    font-size: 40px;
    font-size: var(--sg-font-h1-min);
}
h2.sg__title {
    font-size: 32px;
    font-size: var(--sg-font-h2-min);
}
h3.sg__title {
    font-size: 24px;
    font-size: var(--sg-font-h3-min);
}
h4.sg__title {
    font-size: 18px;
    font-size: var(--sg-font-h4-min);
}
h5.sg__title {
    font-size: 17px;
    font-size: var(--sg-font-h5-min);
}
h6.sg__title {
    font-size: 16px;
    font-size: var(--sg-font-h6-min);
}

h1.sg__title,
h2.sg__title,
h3.sg__title,
h4.sg__title,
h5.sg__title,
h6.sg__title {
    margin-bottom: 20px;
}

.sg__block.block-content-extended .sg__title,
.sg__block.block-hero .sg__title,
.block-cta .cta__wrap .sg__title {
    margin-bottom: 0;
}

.sg__tagline {
    font-size: 18px;
}

.weight-300 {
    font-weight: 300;
}
.weight-400 {
    font-weight: 400;
}
.weight-500 {
    font-weight: 500;
}
.weight-600 {
    font-weight: 600;
}
.weight-700 {
    font-weight: 700;
}

/* Buttons */
.sg__buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 24px;
    margin-left: -10px;
    margin-right: -10px;
}

.sg__buttons .button__wrap {
    margin: 0 10px;
}

.sg__knop .sg__button {
    display: inline-block;
    transition: all 0.2s ease;
    opacity: 1;
}

.sg__buttons .sg__button {
    display: block;
    transition: all 0.2s ease;
    opacity: 1;
}

.sg__button.button-sm {
    font-size: 15px;
    padding: 10px 28px;
}
.sg__button.button-md {
    padding: 12px 32px;
}
.sg__button.button-lg {
    padding: 12px 48px;
    font-size: 18px;
}

.button-normal .sg__button {
    padding: 0;
    text-decoration: underline;
    background-color: transparent;
    color: #e84b3b;
    color: var(--sg-title-brand);
}
.button-normal .sg__button:hover {
    background-color: transparent;
}
.button-normal.button-light .sg__button {
    color: #ffffff;
    color: var(--sg-title-light);
}
.button-normal.button-dark .sg__button {
    color: #2c3e50;
    color: var(--sg-title-dark);
}

.button-rounded .sg__button {
    border-radius: 32px;
}

.sg__button {
    color: #ffffff;
    color: var(--sg-button-text);
    background-color: #e84b3b;
    background-color: var(--sg-button-background);
}
.sg__button:hover {
    color: #e84b3b;
    color: var(--sg-button-text-hover);
    background-color: #ffebeb;
    background-color: var(--sg-button-background-hover);
}

.button-outline .sg__button {
    border: 1px solid;
    border-color: #e84b3b;
    border-color: var(--sg-button-background);
    color: #e84b3b;
    color: var(--sg-button-background);
    background-color: transparent;
}
.button-outline .sg__button:hover {
    color: #ffffff;
    color: var(--sg-button-text);
    background-color: #e84b3b;
    background-color: var(--sg-button-background);
}

.button-inversed .sg__button {
    color: #e84b3b;
    color: var(--sg-button-text-hover);
    background-color: #ffebeb;
    background-color: var(--sg-button-background-hover);
}
.button-inversed .sg__button:hover {
    color: #ffffff;
    color: var(--sg-button-text);
    background-color: #e84b3b;
    background-color: var(--sg-button-background);
}

/* Colors */
.color-title-brand {
    color: #e84b3b;
    color: var(--sg-brand);
}
.color-title-dark {
    color: #2c3e50;
    color: var(--sg-title-dark);
}
.color-title-light {
    color: #ffffff;
    color: var(--sg-title-light);
}
.color-paragraph {
    color: #78849e;
    color: var(--sg-paragraph);
}
.color-extra-1 {
    color: var(--sg-extra-1);
}
.color-extra-2 {
    color: var(--sg-extra-2);
}
.color-extra-3 {
    color: var(--sg-extra-3);
}

.color-link-paragraph a {
    color: #78849e;
    color: var(--sg-paragraph);
}
.color-link-paragraph a:hover {
    color: #78849e;
    color: var(--sg-paragraph);
}

.color-link-title-brand a {
    color: #e84b3b;
    color: var(--sg-brand);
}
.color-link-title-brand a:hover {
    color: #e84b3b;
    color: var(--sg-brand);
}
.color-link-title-dark a {
    color: #2c3e50;
    color: var(--sg-title-dark);
}
.color-link-title-dark a:hover {
    color: #2c3e50;
    color: var(--sg-title-dark);
}

/* Background colors */
.bg-brand,
.bg-before-brand:before,
.bg-after-brand:after {
    background-color: #e84b3b;
    background-color: var(--sg-brand);
}
.bg-background,
.bg-before-background:before,
.bg-after-background:after {
    background-color: #ffffff;
    background-color: var(--sg-background);
}
.bg-background-reversed,
.bg-before-background-reversed:before,
.bg-after-background-reversed:after {
    background-color: #ffebeb;
    background-color: var(--sg-background-reversed);
}
.bg-extra-1,
.bg-before-extra-1:before,
.bg-after-extra-1:after {
    background-color: #e84b3b;
    background-color: var(--sg-extra-1);
}
.bg-extra-2,
.bg-before-extra-2:before,
.bg-after-extra-2:after {
    background-color: #e84b3b;
    background-color: var(--sg-extra-2);
}
.bg-extra-3,
.bg-before-extra-3:before,
.bg-after-extra-3:after {
    background-color: #e84b3b;
    background-color: var(--sg-extra-3);
}

/* Mix blend modes */
.before-mix-multiply:before {
    mix-blend-mode: multiply;
}
.before-mix-screen:before {
    mix-blend-mode: screen;
}
.before-mix-overlay:before {
    mix-blend-mode: overlay;
}
.before-mix-darken:before {
    mix-blend-mode: darken;
}
.before-mix-lighten:before {
    mix-blend-mode: lighten;
}

/* Borders */
.border-straight {
    border-radius: 0;
}
.border-rounded-sm {
    border-radius: 4px;
}
.border-rounded-md {
    border-radius: 8px;
}
.border-rounded-lg {
    border-radius: 16px;
}
.border-rounded-xl {
    border-radius: 32px;
}

/* Opacity */
.before-opacity-10:before,
.after-opacity-10:after,
.opacity-10 {
    opacity: 0.1;
}
.before-opacity-20:before,
.after-opacity-20:after,
.opacity-20 {
    opacity: 0.2;
}
.before-opacity-30:before,
.after-opacity-30:after,
.opacity-30 {
    opacity: 0.3;
}
.before-opacity-40:before,
.after-opacity-40:after,
.opacity-40 {
    opacity: 0.4;
}
.before-opacity-50:before,
.after-opacity-50:after,
.opacity-50 {
    opacity: 0.5;
}
.before-opacity-60:before,
.after-opacity-60:after,
.opacity-60 {
    opacity: 0.6;
}
.before-opacity-70:before,
.after-opacity-70:after,
.opacity-70 {
    opacity: 0.7;
}
.before-opacity-80:before,
.after-opacity-80:after,
.opacity-80 {
    opacity: 0.8;
}
.before-opacity-90:before,
.after-opacity-90:after,
.opacity-90 {
    opacity: 0.9;
}
.before-opacity-100:before,
.after-opacity-100:after,
.opacity-100 {
    opacity: 1;
}

/* Overgangen */
.bgi {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.leerpad__container.tr:after,
.sg__container.tr:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    z-index: 1;
}

.leerpad__container.tr.tr-convex:after,
.sg__container.tr.tr-convex:after {
    width: 120%;
    left: -10%;
}

.tr-diagonal:after {
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.tr-diagonal-reversed:after {
    clip-path: polygon(100% 100%, 0 0, 0 100%);
}

.tr-convex:after {
    clip-path: ellipse(50% 40% at 50% 50%);
}

.leerpad__container.tr-xs,
.sg__container.tr-xs {
    padding-bottom: 20px;
}
.leerpad__container.tr-sm,
.sg__container.tr-sm {
    padding-bottom: 50px;
}
.leerpad__container.tr-md,
.sg__container.tr-md {
    padding-bottom: 80px;
}
.leerpad__container.tr-lg,
.sg__container.tr-lg {
    padding-bottom: 110px;
}
.leerpad__container.tr-xl,
.sg__container.tr-xl {
    padding-bottom: 140px;
}

.leerpad__container.tr-convex.tr-xs:after,
.sg__container.tr-convex.tr-xs:after {
    bottom: -10px;
}
.leerpad__container.tr-convex.tr-sm:after,
.sg__container.tr-convex.tr-sm:after {
    bottom: -25px;
}
.leerpad__container.tr-convex.tr-md:after,
.sg__container.tr-convex.tr-md:after {
    bottom: -40px;
}
.leerpad__container.tr-convex.tr-lg:after,
.sg__container.tr-convex.tr-lg:after {
    bottom: -55px;
}
.leerpad__container.tr-convex.tr-xl:after,
.sg__container.tr-convex.tr-xl:after {
    bottom: -70px;
}

.tr-xs:after {
    height: 20px;
}
.tr-sm:after {
    height: 50px;
}
.tr-md:after {
    height: 80px;
}
.tr-lg:after {
    height: 110px;
}
.tr-xl:after {
    height: 140px;
}

.leerpad__container.tr-convex.tr-xs,
.sg__container.tr-convex.tr-xs {
    padding-bottom: 10px;
}
.leerpad__container.tr-convex.tr-sm,
.sg__container.tr-convex.tr-sm {
    padding-bottom: 25px;
}
.leerpad__container.tr-convex.tr-md,
.sg__container.tr-convex.tr-md {
    padding-bottom: 40px;
}
.leerpad__container.tr-convex.tr-lg,
.sg__container.tr-convex.tr-lg {
    padding-bottom: 55px;
}
.leerpad__container.tr-convex.tr-xl,
.sg__container.tr-convex.tr-xl {
    padding-bottom: 70px;
}

.sg__container.bgo:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: block;
}

/* --- BLOCK: Hero --- */
.block-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__wrap {
    padding: 16px 24px;
}

.hero-50 {
    min-height: 50vh;
}
.hero-60 {
    min-height: 60vh;
}
.hero-70 {
    min-height: 70vh;
}
.hero-80 {
    min-height: 80vh;
}
.hero-90 {
    min-height: 90vh;
}
.hero-100 {
    min-height: 100vh;
}

/* --- BLOCK: Content --- */
.subtitle-paragraph a,
.sg__paragraph a {
    text-decoration: underline;
}

.footer p,
.subtitle-paragraph p,
.sg__paragraph p {
    color: inherit;
    margin-bottom: 12px;
}

.sg__paragraph h1,
.sg__paragraph h2,
.sg__paragraph h3,
.sg__paragraph h4,
.sg__paragraph h5,
.sg__paragraph h6 {
    margin-bottom: 16px;
}

.subtitle-paragraph p:last-of-type,
.sg__paragraph p:last-of-type {
    margin-bottom: 0;
}

.sg__paragraph > :last-child {
    margin-bottom: 0;
}

/* --- BLOCK: Content+image --- */
.block-content-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 0 -16px;
}

.block-content-image .block__element {
    padding: 0 16px;
}

.block-content-image .block__element:first-of-type {
    flex: 1 1 60%;
}
.block-content-image .block__element:last-of-type {
    flex: 1 1 40%;
    margin-top: 32px;
}

.block-content-image .block__element > .sg__title {
    margin-bottom: 20px;
    margin-top: 0;
}

.content__image {
    position: relative;
}

.shape {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 240px;
    height: 240px;
    margin: 0 auto;
}

.shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shape-none img {
    max-height: 400px;
    width: auto;
}

.order-normal .shape-none img {
    margin-left: auto;
}

.order-reversed .shape-none img {
    margin-right: auto;
}

.image-shadow.shape-circle,
.shape.shape-circle {
    border-radius: 50%;
}
.image-shadow.shape-circle-1,
.shape.shape-circle-1 {
    border-radius: 36% 64% 70% 30% / 30% 47% 53% 70%;
}
.image-shadow.shape-square-1,
.shape.shape-square-1 {
    border-radius: 5% 95% 5% 95% / 95% 5% 95% 5%;
}

.image-shadow {
    position: absolute;
    top: -10px;
    left: 80px;
    display: block;
    height: 260px;
    width: 260px;
}

.order-reversed .image-shadow {
    left: initial;
    right: 80px;
}

/* --- BLOCK: Call to action --- */
.cta__wrap {
    display: flex;
    flex-direction: column;
    padding: 24px 32px;
}

.variation-1 .sg__buttons {
    margin-top: 0;
}

.variation-2 .sg__buttons {
    margin-top: 24px;
}

.cta__elem:first-of-type {
    margin-bottom: 24px;
}

.cta__wrap > .cta__elem > .sg__subtitle {
    margin-top: 20px;
}

.cta__elem img {
    max-height: 100px;
}

/* --- BLOCK: Lesmateriaal extended --- */
.block-lesmateriaal-extended .lesmateriaal__item .sg__title {
    margin-bottom: 8px;
}

.block-lesmateriaal-extended ul,
.block-lesmateriaal-extended ol {
    margin: 0 0 24px 0;
}

/* --- BLOCK: Content (extended) --- */
.sg__block.block-content-extended > :first-child {
    margin-top: 0;
}

.sg__block.block-content-extended > :last-child > :last-child {
    margin-bottom: 0;
}

.block-content-extended .sg__title,
.block-content-extended .sg__subtitle {
    margin-top: 32px;
}

.block-content-extended .sg__oembed,
.block-content-extended .sg__image,
.block-content-extended .sg__image__text {
    margin-top: 24px;
}

.block-content-extended .sg__knop,
.block-content-extended .sg__paragraph {
    margin-top: 15px;
}

.block-content-extended .subtitle-paragraph p {
    margin-bottom: 8px;
}

.block-content-extended .subtitle-paragraph p:last-of-type {
    margin-bottom: 0;
}

.block-content-extended .sg__image__text .image__text__wrap > * {
    margin-top: 0;
    margin-bottom: 0;
}

.sg__image__text {
    display: flex;
    flex-direction: column;
    margin: 0 -16px;
}

.sg__image__text.image-text-auto-width {
    justify-content: flex-start;
}

.sg__image__text.image-text-reversed.image-text-auto-width {
    justify-content: flex-end;
}

.sg__image__text.image-text-full-width .image__text__wrap {
    flex: 1 1 50%;
}

.image__text__wrap {
    padding: 0 16px;
}

.image__text__wrap:first-of-type {
    margin-bottom: 24px;
}

.image__text__wrap img {
    max-height: 400px;
    width: auto;
}

.align-center .sg__oembed {
    margin-left: auto;
    margin-right: auto;
}

.sg__oembed__wrap {
    position: relative;
    overflow: hidden;
}

.sg__oembed--full .sg__oembed__wrap {
    height: calc(100vh - 70px);
}

.sg__oembed--lg .sg__oembed__wrap {
    height: calc(75vh - 70px);
}

.sg__oembed--md .sg__oembed__wrap {
    height: calc(50vh - 70px);
}

.sg__oembed--width-full .sg__oembed__wrap {
    width: 100vw;
    left: calc(0px - (((100vw - var(--sg-grid)) / 2) + 48px));
}

.sg__oembed--width-grid .sg__oembed__wrap {
    width: 100%;
    max-width: 100%;
}

.sg__oembed.sg-oembed-soundcloud .sg__oembed__wrap {
    height: 100%;
    min-height: 320px;
    width: 100%;
    left: initial;
}

.is-preview .sg__oembed__wrap {
    width: 100%;
    left: initial;
}

.sg__oembed__wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
}

/* --- BLOCK: Gallery --- */
.block-content-gallery > p {
    font-style: italic;
    font-size: 16px;
}

.gallery-no-text > p {
    display: none;
}

.gallery__items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.gallery__item {
    padding: 8px;
}

.is-preview .card__items *,
.is-preview .grid__items *,
.is-preview .gallery__items * {
    box-sizing: border-box;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.no-spotlight.gallery__item img {
    cursor: initial;
}

.gallery__item:not(.grid-col-12) {
    max-height: 240px;
}

.grid-col-2-4,
.grid-col-3,
.grid-col-4,
.grid-col-6,
.grid-col-12 {
    flex: 0 0 100%;
}

/* --- BLOCK: Grid (cards) --- */

.card__item__wrap {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.card__content {
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card__items .sg__image {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.card__items .sg__image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__items .sg__label {
    margin-bottom: 8px;
}

.card__items .sg__subtitle {
    margin-top: 4px;
}

.card__items .sg__grid__link {
    margin-top: 16px;
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

/* --- BLOCK: Grid (normal/card) --- */
.block-content-extended .card__item__row,
.block-content-extended .grid__item__row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.block-content-extended .card__items,
.block-content-extended .grid__items {
    margin-bottom: -32px;
    margin-top: 32px;
}

.grid__item {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
}

.grid__item img {
    height: 100%;
    width: 100%;
    max-height: 100px;
    display: inline-block;
}

.grid__item .sg__image {
    max-height: 100px;
    min-height: 100px;
}

.grid__item > a {
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.align-left .grid__item .sg__image {
    align-self: flex-start;
}

.align-center .grid__item .sg__image {
    align-self: center;
}

.align-right .grid__item .sg__image {
    align-self: flex-end;
}

.grid__item .grid__content {
    margin-top: 16px;
}

.grid__item .grid__content.grid-content-no-img {
    margin-top: 0;
}

.grid__item .grid__content.grid-content-no-img > :first-child {
    margin-top: 0;
}

.grid__item .sg__grid__link {
    margin-top: 8px;
}

.grid__content > a {
    display: inline-block;
    opacity: 1;
}

.sg__block.block-content-extended .cta__wrap .sg__title,
.sg__block.block-content-extended .card__items .sg__image,
.sg__block.block-content-extended .card__items .sg__title,
.sg__block.block-content-extended .grid__items .sg__oembed,
.sg__block.block-content-extended .grid__items .sg__image,
.sg__block.block-content-extended .grid__items .sg__title {
    margin-top: 0;
}

.sg__grid__link a {
    display: inline-block;
}

.ws-sm {
    margin: 0 -12px;
}
.ws-md {
    margin: 0 -16px;
}
.ws-lg {
    margin: 0 -20px;
}

.ws-sm .grid__item,
.ws-sm .card__item {
    padding: 0 12px;
}
.ws-md .grid__item,
.ws-md .card__item {
    padding: 0 16px;
}
.ws-lg .grid__item,
.ws-lg .card__item {
    padding: 0 20px;
}

.sg__label.font-sm {
    font-size: 13px;
}
.sg__label.font-md {
    font-size: 14px;
}
.sg__label.font-lg {
    font-size: 15px;
}

/* --- BLOCK: Leerpad --- */
/*.leerpad__block {
    display: flex;
    flex-wrap: wrap;
}
*/
/*.leerpad__container .leerpad__nav {
    max-width: 320px;
    padding-right: 32px;
}*/

.leerpad__nav,
.leerpad__content {
    flex: 1 1 25%;
}

.leerpad__container .sg__block,
.leerpad__container .sg__inner {
    padding: 0;
}

.leerpad__content > .js-leerpad-child {
    display: none;
}

.leerpad__content > .js-leerpad-child:first-of-type {
    display: block;
}

.leerpad__content__nav {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.leerpad__content__nav__wrap {
    background-color: var(--sg-background);
    border-radius: 32px;
    padding: 3px 4px;
}

.js-leerpad-prev,
.js-leerpad-next {
    background-color: var(--sg-brand);
    color: var(--sg-title-light);
    border-radius: 16px;
    padding: 4px 24px;
    display: inline-block;
}

.js-leerpad-prev {
    margin-right: 8px;
}

.js-leerpad-next {
    margin-left: 8px;
}

.js-leerpad-next:hover,
.js-leerpad-prev:hover {
    color: var(--sg-title-light);
}

.leerpad__content__nav a.leerpad-nav-inactive {
    opacity: 0.25;
    pointer-events: none;
}

.leerpad__nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.leerpad__nav a.leerpad-active {
    opacity: 1;
    background-color: var(--sg-brand);
    color: var(--sg-title-light);
}

.leerpad__nav li.leerpad-was-active a {
    background-color: #d0d0d0;
    color: #fff;
}

.leerpad__nav a {
    color: var(--sg-title-light);
    font-weight: 400;
    padding: 4px 12px;
    border-radius: 16px;
}

.leerpad__nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

.leerpad__nav ul li {
    position: relative;
    padding: 0 24px;
}

.leerpad__nav ul li:first-of-type {
    padding-left: 0;
}

.leerpad__nav ul li:last-of-type {
    padding-right: 0;
}

.leerpad__nav li:after {
    content: '›';
    position: absolute;
    line-height: 1;
    font-size: 24px;
    right: -3px;
    top: 0;
    bottom: 0;
}

.leerpad__nav li:last-of-type:after {
    display: none;
}

.leerpad-nav-inactive .leerpad__link {
    pointer-events: none;
}

.leerpad__heading {
    width: 100%;
}

.leerpad__heading > h1.sg__title,
.leerpad__heading > h2.sg__title,
.leerpad__heading > h3.sg__title,
.leerpad__heading > h4.sg__title,
.leerpad__heading > h5.sg__title,
.leerpad__heading > h6.sg__title {
    margin-bottom: 8px;
}

.leerpad__heading .sg__paragraph {
    margin-bottom: 24px;
}

/* Footer */
.block-footer .footer__logo.logo--mt {
    margin-top: 24px;
}

.block-footer .footer__logo a {
    max-width: 120px;
    margin: 0 auto;
    display: block;
    opacity: 1;
}

.block-footer p {
    font-weight: 500;
    letter-spacing: 1px;
}

.block-footer .footer__info,
.block-footer .footer__address {
    margin-bottom: 10px;
}

.block-footer .footer__address p {
    text-transform: uppercase;
}

.block-footer .footer__info p a {
    font-weight: 500;
    text-decoration: underline;
}

.block-footer .footer__images {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0;
}

.block-footer .footer__images.images--no-mt {
    margin-top: 0;
}

.block-footer .footer__images .footer__images__wrap {
    max-width: 200px;
    width: 100%;
    height: 60px;
}

.block-footer .footer__images .footer__images__wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.block-footer-bottom {
    display: flex;
    padding: 0 0 24px;
    align-items: center;
    justify-content: center;
}

.block-footer-bottom p span {
    position: relative;
    top: -1px;
    padding: 0 6px;
}

.block-footer-bottom p a,
.block-footer-bottom p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.block-footer-bottom p a:hover {
    text-decoration: underline;
}

.footer-type-2 .block-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-type-2 .block-footer .footer-col:last-of-type {
    padding-left: 32px;
}

.footer-type-2 .block-footer .footer__images {
    margin: 0 0 16px;
    width: 100%;
    max-width: 320px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-type-2 .block-footer .footer__images .footer__images__wrap {
    max-width: none;
    width: 33.33%;
    margin-bottom: 16px;
    padding: 0 8px;
}

.footer-type-2 .block-footer .footer__logo a {
    margin: 0 0 0 auto;
}

.footer-type-2 .block-footer-bottom {
    justify-content: flex-start;
}

/* Media queries */
@media (min-width: 480px) {
    /* Global styles */
    .leerpad__inner,
    .sg__inner {
        padding: 0 24px;
    }
}

@media (min-width: 600px) {
    /* --- BLOCK: Grid (normal) --- */
    .block-content-extended .card__item__row,
    .block-content-extended .grid__item__row,
    .block-grid-normal .grid__items {
        flex-direction: row;
    }

    /* --- BLOCK: Gallery --- */
    .grid-col-2-4,
    .grid-col-3,
    .grid-col-4,
    .grid-col-6 {
        flex: 0 0 50%;
    }
}

@media (min-width: 768px) {
    /* Global styles */
    .leerpad__container.tr-xs,
    .sg__container.tr-xs {
        padding-bottom: 40px;
    }
    .leerpad__container.tr-sm,
    .sg__container.tr-sm {
        padding-bottom: 70px;
    }
    .leerpad__container.tr-md,
    .sg__container.tr-md {
        padding-bottom: 100px;
    }
    .leerpad__container.tr-lg,
    .sg__container.tr-lg {
        padding-bottom: 130px;
    }
    .leerpad__container.tr-xl,
    .sg__container.tr-xl {
        padding-bottom: 160px;
    }

    .leerpad__container.tr-convex.tr-xs:after,
    .sg__container.tr-convex.tr-xs:after {
        bottom: -20px;
    }
    .leerpad__container.tr-convex.tr-sm:after,
    .sg__container.tr-convex.tr-sm:after {
        bottom: -35px;
    }
    .leerpad__container.tr-convex.tr-md:after,
    .sg__container.tr-convex.tr-md:after {
        bottom: -50px;
    }
    .leerpad__container.tr-convex.tr-lg:after,
    .sg__container.tr-convex.tr-lg:after {
        bottom: -65px;
    }
    .leerpad__container.tr-convex.tr-xl:after,
    .sg__container.tr-convex.tr-xl:after {
        bottom: -80px;
    }

    .tr-xs:after {
        height: 40px;
    }
    .tr-sm:after {
        height: 70px;
    }
    .tr-md:after {
        height: 100px;
    }
    .tr-lg:after {
        height: 130px;
    }
    .tr-xl:after {
        height: 160px;
    }

    .sg__container.tr-convex.tr-xs {
        padding-bottom: 20px;
    }
    .sg__container.tr-convex.tr-sm {
        padding-bottom: 35px;
    }
    .sg__container.tr-convex.tr-md {
        padding-bottom: 50px;
    }
    .sg__container.tr-convex.tr-lg {
        padding-bottom: 65px;
    }
    .sg__container.tr-convex.tr-xl {
        padding-bottom: 80px;
    }

    /* Buttons */
    .align-center .button-order-side {
        justify-content: center;
    }

    /* --- BLOCK: Call to action --- */
    .cta__wrap {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cta__elem img {
        max-height: 200px;
        margin-top: 0;
    }

    .cta__elem:first-of-type {
        max-width: 768px;
        padding-right: 48px;
        flex: 1;
        margin-bottom: 0;
    }

    /* --- BLOCK: Content+image --- */
    .block-content-image {
        flex-direction: row;
    }

    .order-reversed .block-content-image,
    .order-reversed.block-content-image {
        flex-direction: row-reverse;
    }

    .block-content-image .block__element:last-of-type {
        margin-top: 0;
    }

    .image-shadow {
        left: 180px;
    }
    .order-reversed .image-shadow {
        left: initial;
        right: 180px;
    }

    /* --- BLOCK: Text+image --- */
    .sg__image__text {
        flex-direction: row;
        align-items: center;
    }

    .sg__image__text.image-text-reversed {
        flex-direction: row-reverse;
    }

    .image__text__wrap:first-of-type {
        margin-bottom: 0;
    }

    .image-text-normal .sg__image img {
        margin-left: auto;
    }

    .image-text-reversed .sg__image img {
        margin-right: auto;
    }
}

@media (min-width: 1025px) {
    /* Global styles */
    .leerpad__inner,
    .sg__inner {
        padding: 0 32px;
    }

    .leerpad__block {
        margin: 56px 0;
    }
    .sg__block {
        padding: 56px 0;
    }
    h1.sg__title {
        font-size: 64px;
        font-size: var(--sg-font-h1-max);
    }
    h2.sg__title {
        font-size: 48px;
        font-size: var(--sg-font-h2-max);
    }
    h3.sg__title {
        font-size: 32px;
        font-size: var(--sg-font-h3-max);
    }
    h4.sg__title {
        font-size: 24px;
        font-size: var(--sg-font-h4-max);
    }
    h5.sg__title {
        font-size: 20px;
        font-size: var(--sg-font-h5-max);
    }
    h6.sg__title {
        font-size: 18px;
        font-size: var(--sg-font-h6-max);
    }

    /* Paragraph */
    .paragraph-lg p {
        font-size: 18px;
        font-size: var(--sg-font-p-xl);
    }

    /* --- BLOCK: Hero --- */
    .hero__wrap {
        padding: 24px 32px;
        max-width: 768px;
    }

    /* --- BLOCK: Call to action --- */
    .cta__wrap {
        padding: 32px 48px;
    }

    /* --- BLOCK: Content+image --- */
    .shape {
        width: 400px;
        height: 400px;
    }

    .image-shadow {
        position: absolute;
        top: -10px;
        left: 280px;
        display: block;
        height: 420px;
        width: 420px;
    }

    .order-reversed .image-shadow {
        left: initial;
        right: 280px;
    }

    .grid__item .grid__content {
        margin-top: 24px;
    }

    /* --- BLOCK: Gallery --- */
    .grid-col-6.gallery__item {
        max-height: 280px;
    }

    .grid-col-2-4,
    .grid-col-4 {
        flex: 0 0 33.333333%;
    }
}

@media (min-width: 1200px) {
    /* Global styles */
    .leerpad__inner,
    .sg__inner {
        padding: 0 48px;
    }

    /* --- BLOCK: Gallery --- */
    .grid-col-2-4 {
        flex: 0 0 20%;
    }

    .grid-col-3 {
        flex: 0 0 25%;
    }
}

@media (min-width: 1400px) {
    /* Global styles */
    /*.leerpad__block,
    .sg__block {
        padding: 96px 0;
    }*/

    /* --- BLOCK: Call to action --- */
    .cta__wrap {
        padding: 48px 56px;
    }

    .grid-col-4.gallery__item {
        max-height: 280px;
    }
}
