/*  ============= WEB BROWSER RESETS ============ */
* { margin: 0; padding: 0; border: none }
*, *::before, *::after { box-sizing: border-box }
html { height: 100%; font-size: 100%; font: inherit; vertical-align: baseline;
scroll-behavior: smooth; scroll-padding-top: 20px }
body { max-width: 1920px; line-height: 1.5; margin-left: auto; margin-right: auto; 
min-height: 100vh; text-rendering: optimizeSpeed }  
img { width: 100%; height: auto; display: block }

/* HTML5 container elements full viewport width */
header, section, footer { width: 100% }
/* Last element at bottom of header or section */
header *:last-child, section *:last-child, 
footer *:last-child { margin-bottom: 0 !important }


/* ================ HERO BLOCK ================ */

header { background-color: var(--ontrend-700) }

.hero-block {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
}

@media (min-width: 1200px) { 
    .hero-block { min-height: 85vh }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .hero-block { min-height: 460px }
}

@media (max-width: 767px) { 
    .hero-block { min-height: 480px; padding: 8% 0  }
}


/* Headings */
.hero-block h1, .hero-block h2 { color: var(--white-000) }
.hero-block h1 { line-height: 1.1 }
.hero-block h2 { line-height: 1.2 }

.hero-block h1 {
    font-size: calc(48px + (94 - 48) * ((100vw - 320px) / (1600 - 320)));
    margin-bottom: 24px;
}

.hero-block h1.text-long {
    font-size: calc(28px + (64 - 28) * ((100vw - 320px) / (1600 - 320)));
    letter-spacing: 0;
    line-height: 1.3;
}

.hero-block h2 {
    font-size: calc(22px + (54 - 22) * ((100vw - 320px) / (1600 - 320)));
    font-weight: 400;
}

@media (min-width: 768px) {
    .hero-block h1 { letter-spacing: -2px }
    .hero-block h2 { letter-spacing: -1px }
}

@media (max-width: 767px) {
    .hero-block h1 { letter-spacing: -1px }
    .hero-block h2 { letter-spacing: 0 }   
}

/* Upper heading */
.hero-block .upper-label {
    width: 100%;
    font-weight: bold; display: block;
    font-size: calc(16px + (18 - 16) * ((100vw - 320px)/(1140 - 320)));
    text-transform: uppercase; 
    letter-spacing: 6px; word-spacing: 120%;
    margin-bottom: 48px;
    color: var(--white-000);
}

.hero-text-container { padding: 0 12% 2% 12%; z-index: 2 }

.hero-bg-media {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0;
}

.hero-bg-media * {
    object-fit: cover; width: 100%; height: 100%;
}

.bg-overlay {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
    background-image: linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3));    
}

/* Alignment .hero-block: desktops */
@media (min-width: 768px) {
    .hero-text-container.text-center-desktop { text-align: center }
}
 
/* Alignment: mobiles */
 @media (max-width: 767px) {
    .hero-text-container.text-center-mobile { text-align: center }
    .hero-text-container.text-left-mobile   { text-align: left  }
}
 
/* Buttons */

.hero-block .container-btn a.btn { display: inline-block }

/* Desktops */
@media (min-width: 768px) {
    .hero-block .container-btn { margin-top: 64px }
    .hero-block h1 + .container-btn { margin-top: 120px }
    .hero-block .container-btn a:first-child { margin-right: 40px }
}

/* Desktops: button(s) centre-aligned */
@media (min-width: 768px) {
    .hero-block .container-btn.text-center-desktop { justify-content: center }   
}

/* Mobiles */
@media (max-width: 767px) {
    .hero-block .container-btn.text-center-mobile .btn { align-self: center }
    .hero-block .container-btn { margin-top: 42px; flex-direction: column }
    .hero-block .container-btn .btn { align-self: flex-start }
    .hero-block .container-btn a:first-child { margin-bottom: 32px }
    .hero-block .container-btn a:last-child { margin-bottom: 0 }
    .hero-block h1 + .container-btn { margin-top: 120px }
}

/* ========== BACKGROUND IMAGE HALF =========== */

/* All viewports */
.hero-block.bg-img-left,
.hero-block.bg-img-right { padding-bottom: 0 }
.hero-block.bg-img-left  .bg-overlay, 
.hero-block.bg-img-right .bg-overlay { display: none }


/* Big desktops */
@media (min-width: 1140px) { 
    .hero-block.bg-img-right .hero-text-container,
    .hero-block.bg-img-left  .hero-text-container { padding: 0 6% 2% 6% } 
    .hero-block.bg-img-right .hero-text-container { margin-right: 50% }
    .hero-block.bg-img-right .hero-bg-media  { left: 50% }
    .hero-block.bg-img-left  .hero-text-container { margin-left: 50% }
    .hero-block.bg-img-left  .hero-bg-media  { right: 50% }
}

/* Small desktops and tablets */
@media (min-width: 768px) and (max-width: 1139px) { 
    .hero-block.bg-img-right .hero-text-container { margin-right: 40% }
    .hero-block.bg-img-right .hero-bg-media { left: 60% }
    .hero-block.bg-img-left  .hero-text-container { margin-left:  40% }
    .hero-block.bg-img-left  .hero-bg-media { right: 60% }
}

/* Not big or small desktops, or big tablets */
@media (max-width: 900px) {
    .hero-block.bg-img-right .container-btn, 
    .hero-block.bg-img-left  .container-btn {
        margin-top: 42px;
        flex-direction: column;
    }
    .hero-block .container-btn .btn { align-self: flex-start }
    .hero-block.bg-img-left  .container-btn a:first-child,
    .hero-block.bg-img-right .container-btn a:first-child { margin-bottom: 32px }
    .hero-block.bg-img-left  .container-btn a:last-child, 
    .hero-block.bg-img-right .container-btn a:last-child  { margin-bottom: 0 }
}

/* Small desktops and tablets*/
@media (min-width: 768px) and (max-width: 1139px) { 
    .hero-block.bg-img-right .hero-text-container,
    .hero-block.bg-img-left  .hero-text-container { padding: 0 5% 2% 5% }
    .hero-block.bg-img-right .hero-bg-media { overflow: visible }
}

/* All mobiles */
@media (max-width: 767px) {
    .hero-block.bg-img-right, .hero-block.bg-img-left {
        display: flex; flex-direction: column; justify-content: space-between;
    }
    .hero-block.bg-img-right div, .hero-block.bg-img-left div { position: relative }
    .hero-block.bg-img-right .hero-text-container,
    .hero-block.bg-img-left  .hero-text-container { padding: 0 12% 12% 12% } 
    .hero-block.bg-img-left  .container-btn,
    .hero-block.bg-img-right .container-btn { margin-top: 42px; flex-direction: column }
    .hero-block.bg-img-left  .container-btn .btn, 
    .hero-block.bg-img-right .container-btn .btn { align-self: flex-start }
    .hero-block.bg-img-left  .container-btn a:first-child,
    .hero-block.bg-img-right .container-btn a:first-child { margin-bottom: 32px }
    .hero-block.bg-img-left  .container-btn a:last-child, 
    .hero-block.bg-img-right .container-btn a:last-child  { margin-bottom: 0 }
    .hero-block.bg-img-right .container-btn.text-center-mobile .btn,
    .hero-block.bg-img-left  .container-btn.text-center-mobile .btn {
        text-align: center; margin-left: auto; margin-right: auto
    }
}

/* Large mobiles */
@media (min-width: 560px) and (max-width: 767px ) {
    .hero-block.bg-img-right .hero-bg-media img, 
    .hero-block.bg-img-left  .hero-bg-media img {
        width: 70%; height: auto; text-align: center;
        margin: -32px auto 32px auto;
    }
}

/* Typography */
.hero-block.bg-img-left  .hero-text-container h1,
.hero-block.bg-img-right .hero-text-container h1 {
    font-size: calc(48px + (84 - 48) * ((100vw - 320px) / (1600 - 320)));
}

.hero-block.bg-img-left  .hero-text-container h2,
.hero-block.bg-img-right .hero-text-container h2 {
    font-size: calc(22px + (42 - 22) * ((100vw - 320px) / (1600 - 320)));
} 

.hero-block.bg-img-left  .hero-text-container h1.text-long,
.hero-block.bg-img-right .hero-text-container h1.text-long {
    font-size: calc(28px + (42 - 28) * ((100vw - 320px) / (1600 - 320)));
    letter-spacing: 0;
    line-height: 1.2;
}


/* ========== HALF TEXT AND HALF IMAGE =========== */

.hero-block.hero-half { display: flex }
.hero-block.hero-half .hero-text-container,
.hero-block.hero-half .hero-bg-media { 
    position: static; flex-direction: column; justify-content: center; 
}

.hero-block.hero-half .hero-text-container h1 {
    font-size: calc(48px + (64 - 48) * ((100vw - 320px) / (1600 - 320)));
    margin-bottom: 24px; letter-spacing:-2px;
}

.hero-block.hero-half .hero-text-container h2 { 
    font-size: calc(22px + (32 - 22) * ((100vw - 320px) / (1600 - 320)));
    letter-spacing: 0;
}

.hero-block.hero-half .hero-text-container h1.text-long {
    font-size: calc(28px + (42 - 28) * ((100vw - 320px) / (1600 - 320)));
    letter-spacing: 0;
    line-height: 1.2;
}
/* Desktops */
@media (min-width: 768px) { 
    .hero-block.hero-half { flex-direction: row; justify-content: space-between; }
    .hero-block.hero-half .col-2 { 
        display: flex; flex-direction: column;
        width: 47%; justify-content: center;
    }
}

/* Mobiles */
@media (max-width: 767px) { 
    .hero-block.hero-half { flex-direction: column; padding: 8% 0 10% 0  }
    .hero-block.hero-half .col-2 { width: 100% }
}

@media (min-width: 1140px) { 
    .hero-block.hero-half.half-img-right .col-2 .hero-text-container  { padding: 4% 0 4% 16% }
    .hero-block.hero-half.half-img-right .col-2 .hero-bg-media { padding: 4% 16% 4% 0 }
    .hero-block.hero-half.half-img-left  .col-2 .hero-text-container  { padding: 4% 16% 4% 0 }
    .hero-block.hero-half.half-img-left  .col-2 .hero-bg-media { padding: 4% 0 4% 16% }
    .hero-block.hero-half .col-2 { width: 48% }
}

@media (min-width: 1025px) and (max-width: 1139px) { 
    .hero-block.hero-half.half-img-right .col-2 .hero-text-container  { padding: 3% 0 3% 12% }
    .hero-block.hero-half.half-img-right .col-2 .hero-bg-media { padding: 3% 12% 3% 0 }
    .hero-block.hero-half.half-img-left  .col-2 .hero-text-container  { padding: 3% 8% 3% 4%}
    .hero-block.hero-half.half-img-left  .col-2 .hero-bg-media { padding: 3% 0 3% 12% }
    .hero-block.hero-half .col-2 { width: 49% }
}

@media (min-width: 768px) and (max-width: 1024px) { 
    .hero-block.hero-half.half-img-right .col-2 .hero-text-container  { padding: 0 0 0 9% }
    .hero-block.hero-half.half-img-right .col-2 .hero-bg-media { padding: 0 9% 0 0 }
    .hero-block.hero-half.half-img-left  .col-2 .hero-text-container  { padding: 0 9% 0 0 }
    .hero-block.hero-half.half-img-left  .col-2 .hero-bg-media { padding: 0 0 0 9% }
    
    .hero-block.hero-half.half-img-right .col-2:first-child { width: 59% }
    .hero-block.hero-half.half-img-right .col-2:last-child  { width: 39% }
    .hero-block.hero-half.half-img-left  .col-2:first-child { width: 39% }
    .hero-block.hero-half.half-img-left  .col-2:last-child  { width: 59% }
    .hero-block.hero-half.half-img-left .col-2 .hero-text-container { padding: 0 4% 0 5% }
}

/* All mobiles */
@media (max-width: 767px) {
    .hero-block.hero-half.half-img-right .col-2:first-child { order: 2 }
    .hero-block.hero-half.half-img-right .col-2:last-child  { order: 1 }
    .hero-block.hero-half .hero-text-container .container-btn {
        margin-top: 42px;
        flex-direction: column;
        align-self: flex-start;
    }

    .hero-block.hero-half .hero-text-container .container-btn.text-center-mobile {
        text-align: center;
        align-items: center;
    }
    .hero-block.hero-half.half-img-right .col-2 .hero-bg-media {
        margin-bottom: 32px !important
    }

    .hero-block.hero-half.half-img-left .container-btn {
        text-align: center;
        margin-left: 0;
        margin-right:0;
    }
}

/* Large mobiles */
@media (min-width: 560px) and (max-width: 767px ) {
    .hero-block.hero-half .col-2 .hero-bg-media {
        width: 50%; height: auto; text-align: center;
        margin: 0 auto 32px auto;
    }
}

/* Small mobiles */
@media (max-width: 559px) {
    .hero-block.hero-half .col-2 .hero-bg-media {
        width: 70%; height: auto; text-align: center;
        margin: 0 auto 32px auto;
    }
}

.hero-block .container-btn a.btn {
    font-size: calc(18px + (19 - 18) * ((100vw - 320px)/(1600 - 320)));
    text-decoration: none;
    font-weight: bold;
}

/* Non-mobiles */
@media (min-width: 768px) {
    .hero-block .container-btn a.btn { padding: 14px 32px }
}

/* Mobiles */
@media (max-width: 767px) {
    .hero-block .container-btn a.btn { padding: 12px 26px }
}

/* ========= SECTIONS: HORIZONTAL AND VERTICAL SPACING ======== */

/* A 'part' of a web page that is not a 'header' or a 'footer' or a 'nav' (menu). Typically, sections have a heading (usually h2). */

/* Desktops/Laptops */
@media (min-width: 1200px) { 
	section { 
		padding: 3.5% calc((100% - 800px)/2) 5% calc((100% - 800px)/2); 
		margin: 0 auto;
	} 
}

/* Tablets and smaller desktops */
@media (min-width: 1025px) and (max-width: 1199px ) { 
	section { padding: 3% 14% 3% 14% } 
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) { 
	section { padding: 4% 5% 4% 5% }
}

/* Larger mobiles */
@media (min-width: 400px) and (max-width: 767px)  { 
	section { padding: 7% 13% 8% 13% }
}

/* Smaller mobiles */
@media (max-width: 399px) { 
	section { padding: 7% 10% 8% 10% } 
}

/* Final section block above footer */
section:last-child { padding-bottom: 6% }


/* ===== SECTIONS: FULL-WIDTH (NO FLEXBOX PARENT-CHILD COLUMNS ) ====== */

/* Upper heading */
section > .upper-label {
    width: 100%;
    font-weight: bold; display: block;
    font-size: calc(16px + (18 - 16) * ((100vw - 320px)/(1140 - 320)));
    text-transform: uppercase; 
    letter-spacing: 6px; word-spacing: 120%;
    margin-bottom: 48px;
}

section > h2 {
	font-size: calc(28px + (42 - 28) * ((100vw - 320px) / (1140 - 320)));
	line-height: 1.2; 
	letter-spacing: -1px;
    margin-bottom: 36px;
}

@media (max-width: 767px) {
    section > h2 { margin-bottom: 24px }
}

section > h3 {
	font-size: calc(20px + (24 - 20) * ((100vw - 320px) / (1140 - 320)));
	line-height: 1.2; 
	margin-top: 40px; margin-bottom: 2px;
    color: var(--gray-600) 
}

section > p {
	font-size: calc(19px + (22 - 19) * ((100vw - 320px) / (1140 - 320)));
	line-height: 1.6; margin-bottom: 16px;
}

section > p.standfirst {
    font-size: calc(20px + (24 - 20) * ((100vw - 320px) / (1140 - 320)));
    margin-bottom: 20px;
}

section  ul { margin-bottom: 18px }

section > ul > li { 
	font-size: calc(19px + (22 - 19) * ((100vw - 320px) / (1140 - 320)));
    line-height: 1.5; margin-bottom: 14px; 
    margin-left: 22px; padding-left: 12px; 
}

/* All viewports: Paragraphs and lists */
section > p:last-child,
section > ul li:last-child { margin-bottom: 0 }

/* Images */
section > figure { margin-bottom: 32px }

/* Faux buttons */
section > .container-btn {
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    align-items: flex-start;
    width: 100%; 
}

section.text-center > .container-btn,
section > .container-btn.text-center { 
    justify-content: center
}

section > .container-btn a.btn {
    font-size: calc(18px + (19 - 18) * ((100vw - 320px)/(1600 - 320)));
    text-decoration: none;
    font-weight: bold;
}

/* Non-mobiles */
@media (min-width: 768px) {
    section > .container-btn { 
        margin-top: 42px; 
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    section > .container-btn a.btn { padding: 14px 32px }
    section > .container-btn a:first-child { margin-right: 40px }
}

/* Mobiles */
@media (max-width: 767px) {
    section > .container-btn {
        margin-top: 32px; 
        flex-direction: column;
        align-self: flex-start
    }
    section > .container-btn a.btn { padding: 12px 26px }
    section > .container-btn a:first-child { margin-bottom: 40px }
    section > .container-btn a:last-child { margin-bottom: 32px !important }

    section.text-center > .container-btn a.btn,
    section > .container-btn.text-center a.btn {
        align-self: center
    }
}


/* ============= SECTIONS: FLEXBOX-BASED  ============ */

/* For a section that is a 'parent' container of child elements. 
On large screens (and sometimes small screens too), the div child elements are typically arranged in multi-column layouts */

.container-flex { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    align-items: stretch;
    width: 100%; 
    padding-left: 8%;
    padding-right: 8%; 
}

/* ========= FLEXBOX SECTIONS: SINGLE COLUMN, FULL-WIDTH ========= */
/* For first, introduction content of a multi-column section. */

/* Desktops/Laptops */
@media (min-width: 1200px) { 
	.col-1 { 
		padding-left: calc((100% - 800px)/2);
		padding-right: calc((100% - 800px)/2);
		margin: 0 auto;
	} 
}

/* Tablets and smaller desktops */
@media (min-width: 1025px) and (max-width: 1199px ) {
    .col-1 { 
        padding-left: 12%;
        padding-right: 12% 
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) { 
    .col-1 { 
        padding-left: 5%;
        padding-right: 5% 
    }
}

/* Larger mobiles */
@media (min-width: 400px) and (max-width: 767px)  { 
    .col-1 { 
        padding-left: 13%;
        padding-right: 13% 
    }
}

/* Smaller mobiles */
@media (max-width: 399px) { 
    .col-1 { 
        padding-left: 10%;
        padding-right: 10% 
    }
}

/* All viewports */
.col-1 {
    width: 100%;
    margin-bottom: 42px;
}

/* Sub-headings (h2 and h3) inside .col-1 child element */

.col-1 h2 {
    font-weight: 700;
    font-size: calc(28px + (48 - 28) * ((100vw - 320px) / (1140 - 320)));
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 32px;
    color: var(--gray-900);
}

.col-1 h1.long-text {
    font-size: calc(28px + (48 - 28) * ((100vw - 320px) / (1140 - 320)));
}

.col-1 h3 {
    font-size: calc(22px + (32 - 22) * ((100vw - 320px) / (1140 - 320)));
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-top: -12px;
    color: var(--gray-600);
}

/* Adjust upper block h2 and h3 letter-spacing for mobiles */
@media (max-width: 767px) { 
    .col-1 h2 { letter-spacing: -1px }
    .col-1 h3 { letter-spacing: 0 }
}

/* Upper heading inside .col-1 child element */
.col-1 .upper-label {
    font-weight: bold; display: inline-block;
    font-size: calc(16px + (18 - 16) * ((100vw - 320px)/(1140 - 320)));
    text-transform: uppercase; 
    letter-spacing: 6px; word-spacing: 120%;
    margin-bottom: 32px;
}

/* ============= TWO COLUMNS ============ */

/* Desktops/Laptops */
@media (min-width: 1200px) { 
	.cols-2-grid  { 
		padding-left: calc((100% - 880px)/2);
		padding-right: calc((100% - 880px)/2);
		margin: 0 auto;
	} 
}

/* Tablets and smaller desktops */
@media (min-width: 1025px) and (max-width: 1199px ) {
    .cols-2-grid  { 
        padding-left: 12%;
        padding-right: 12% 
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) { 
    .cols-2-grid { 
        padding-left: 5%;
        padding-right: 5% 
    }
}

/* Larger mobiles */
@media (min-width: 400px) and (max-width: 767px)  { 
    .cols-2-grid { 
        padding-left: 13%;
        padding-right: 13% 
    }
}

/* Smaller mobiles */
@media (max-width: 399px) { 
    .cols-2-grid { 
        padding-left: 10%;
        padding-right: 10% 
    }
}

.col-2 { background-color: inherit; padding: 20px 20px 20px 20px }

/* Non-mobiles */
@media (min-width: 768px) { 
    .col-2 { width: 47%; margin-bottom: 64px }
    .col-2:nth-last-child(-n+2) { margin-bottom: 0 }
}

/* Mobiles */
@media (max-width: 767px) { 
    .col-2 { 
        width: 100%; 
        max-width: 400px; 
        margin-left: auto; margin-right: auto; 
        margin-bottom: 24px;
    }

    /* 2 columns to 2 columns */
    .mobile-col-2 .col-2 { 
        width: 49%;
        margin-bottom: 20px 
    }
    .mobile-col-2 .col-2:nth-child(odd) { margin-right: -3% }
    .mobile-col-2 .col-2:nth-child(even) { margin-left: -3% }
    .mobile-col-2 .col-2:nth-last-child(-n+2) { margin-bottom: 0 }

    .mobile-col-2 .col-2 p, 
    .mobile-col-2 .col-2 li { line-height: 1.4 }
    .mobile-col-2 .col-2 li { padding-left: 2px }
}

/* Column sub-headings */
.col-2 h3 {
    font-size: calc(19px + (28 - 19) * ((100vw - 320px) / (1140 - 320)));
    font-weight: 700; line-height: 1.15; margin-bottom: 6px;
}

/* Paragraphs and Lists */
.col-2 p {
    font-size: calc(17px + (20 - 17) * ((100vw - 320px) / (1140 - 320)));
    line-height: 1.5; margin-bottom: 16px;
}

.col-2 li { 
    font-size: calc(17px + (19 - 17) * ((100vw - 320px) / (1140 - 320))); 
    line-height: 1.4; margin-bottom: 10px; 
    margin-left: 15px; padding-left: 12px; 
}

/* Padding on columns */
.col-padding .col-2 {
    padding: 26px 28px 28px 28px;
}

.col-2 a.btn { 
	padding: 16px 32px;
	font-size: calc(17px + (18 - 17) * ((100vw - 320px)/(1600 - 320)));
}

@media (min-width: 1200px) {
    .col-2 figure { margin-bottom: 32px }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .col-2 figure { margin-bottom: 26px }
}

@media (max-width: 767px) { 
    .col-2 figure { margin-bottom: 20px }
}

/* Font Awesome: Larger and smaller icons */
.col-2 figure.icon i[class*='fa'] { font-size: 116px }
.icon-small .col-2 figure.icon i[class*='fa'] { font-size: 80px; }

/* Light Awesome: Larger and smaller icons */
.col-2 figure.icon i[class*="la"] { font-size: 150px }
.icon-small .col-2 figure.icon i[class*="la"] { font-size: 110px }

/* Material UI (Outline): Larger and smaller icons */
.col-2 figure.icon { font-family: 'Material Icons'; display: inline-block }
.col-2 figure.icon span.material-icons-outlined { font-size: 140px }
.icon-small .col-2 figure.icon span.material-icons-outlined { font-size: 140px }

/* Font Awesome: Vertical spacing */
@media (min-width: 768px) { 
    .col-2  figure.icon i[class*='fa'] { margin-top: 24px; margin-bottom: 0 }
}
@media (max-width: 767px) { 
    .col-2  figure.icon i[class*='fa'] { margin-top: 0; margin-bottom: 18px }
}

/* Light Awesome: Vertical spacing */
.col-2  figure.icon i[class*="la"] { margin-top: 0; margin-bottom: -12px }

/* Material UI: Vertical spacing */
@media (min-width: 768px) { 
    .col-2  figure.icon span.material-icons-outlined { margin-top: 24px; margin-bottom: -72px }
}

@media (max-width: 768px) { 
    .col-2  figure.icon span.material-icons-outlined { margin-top: 12px; margin-bottom: -56px }
}


/* ============= TWO COLUMNS: SPLIT TEXT AND IMAGE ============ */

/* Desktops/Laptops */
@media (min-width: 1025px) { 
	.cols-2-split { 
        padding: 5% 10% 3% 10%;
	} 
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) { 
    .cols-2-split { 
        padding: 5% 10% 4% 10%;
    }
}
/* Larger mobiles */
@media (min-width: 400px) and (max-width: 767px)  { 
	section.cols-2-split { 
        padding: 9% 13% 6% 13%; 
    } 
}

/* Smaller mobiles */
@media (max-width: 399px) { 
	section.cols-2-split { 
        padding: 12% 10% 8% 10%; 
    } 
}

/* Individual Columns */
.cols-2-split .col-2 {
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    overflow: hidden;
}

/* Non-mobiles */
@media (min-width: 768px) { 
    .cols-2-split .col-2 { width: 47% }
}

/* Mobiles */
@media (max-width: 767px) { 
    .cols-2-split .col-2 { 
        width: 100%; 
        max-width: 400px;
    }
    .cols-2-split .col-2:nth-child(1) { 
        margin-top: 32px;
    }
}

/* Column order */
@media (min-width: 768px) {
    .cols-2-split.split-image-right .col-2:nth-child(1) { order: 1; }
    .cols-2-split.split-image-right .col-2:nth-child(2) { order: 2; }
    .cols-2-split.split-image-left  .col-2:nth-child(1) { order: 2; }
    .cols-2-split.split-image-left  .col-2:nth-child(2) { order: 1; }
}

/* Column order mobiles, image on top */
@media (max-width: 767px) {
    .cols-2-split .col-2:nth-child(1) { order: 2 }
    .cols-2-split .col-2:nth-child(2) { order: 1 }
}

/* Upper label */
.cols-2-split .col-2 .upper-label {
    width: 100%;
    font-weight: bold; display: block;
    font-size: calc(16px + (18 - 16) * ((100vw - 320px)/(1140 - 320)));
    text-transform: uppercase; 
    letter-spacing: 6px; word-spacing: 120%;
    margin-bottom: 48px;
}

/* Column headings */
.cols-2-split .col-2 h2 {
    font-size: calc(24px + (32 - 24) * ((100vw - 320px) / (1140 - 320)));
    font-weight: 700; line-height: 1.15; margin-bottom: 6px;
}

/* Column sub-headings */
.cols-2-split .col-2 h3 {
    font-size: calc(20px + (24 - 20) * ((100vw - 320px) / (1140 - 320)));
    font-weight: 700; line-height: 1.15; margin-bottom: 6px;
}

/* Paragraphs and Lists */
.cols-2-split .col-2 p {
    font-size: calc(17px + (20 - 17) * ((100vw - 320px) / (1140 - 320)));
    line-height: 1.5; margin-bottom: 16px;
}

.cols-2-split .col-2 li { 
    font-size: calc(17px + (18 - 17) * ((100vw - 320px) / (1140 - 320))); 
    line-height: 1.4; margin-bottom: 10px; 
    margin-left: 15px; padding-left: 12px; 
}

/* Faux buttons */
.cols-2-split .container-btn {
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    align-items: flex-start;
    width: 100%; 
}

.cols-2-split .container-btn a.btn {
    font-size: calc(18px + (19 - 18) * ((100vw - 320px)/(1600 - 320)));
    text-decoration: none;
    font-weight: bold;
}

/* Non-mobiles */
@media (min-width: 768px) {
    .cols-2-split .container-btn { 
        margin-top: 12px; 
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    .cols-2-split .container-btn a.btn { padding: 10px 22px }
    .cols-2-split .container-btn a:first-child { margin-right: 40px }
}

/* Mobiles */
@media (max-width: 767px) {
    .cols-2-split .container-btn {
        margin-top: 6px; 
        flex-direction: column;
        align-self: flex-start
    }
    .cols-2-split .container-btn a.btn { padding: 12px 26px }
    .cols-2-split .container-btn a:first-child { margin-bottom: 30px }
    .cols-2-split .container-btn a:last-child { margin-bottom: 32px !important }
}

/* Figures */
.cols-2-split .col-2 figure { margin-bottom: 0 }

/* ============= THREE COLUMNS ============ */


.col-3 { background-color: inherit; padding: 18px 18px 18px 18px }
/* Non-mobiles */
@media (min-width: 768px) { 
    .col-3 { width: 31%; margin-bottom: 48px }
    .col-3:nth-last-child(-n+3) { margin-bottom: 0 }
}

/* Mobiles */
@media (max-width: 767px) { 
    /* 3 columns to 1 column */
    .col-3 { 
        width: 100%;
        max-width: 400px; 
        margin-left: auto; margin-right: auto; 
        margin-bottom: 48px
    }

    /* 3 columns to 2 columns */
   .mobile-col-2 .col-3 { 
       width: 49%;
       margin-bottom: 20px 
    }
    .mobile-col-2 .col-3:nth-child(odd) { margin-right: -3% }
    .mobile-col-2 .col-3:nth-child(even) { margin-left: -3% }
    .mobile-col-2 .col-3:nth-last-child(-n+2) { margin-bottom: 0 }

    .mobile-col-2 .col-3 p, 
    .mobile-col-2 .col-3 li { line-height: 1.4 }
    .mobile-col-2 .col-3 li { padding-left: 2px }
}

/* =================== TYPOGRAPHY  ================== */

.col-3 h3 { 
    font-size: calc(22px + (24 - 22) * ((100vw - 320px) / (1140 - 320)));
    font-weight: 700; line-height: 1.15; margin-bottom: 6px;
}

@media (max-width: 767px) { 
    .mobile-col-2 .col-3 h3 { font-size: 19px }
}

.col-3 p {
    font-size: calc(17px + (19 - 17) * ((100vw - 320px) / (1140 - 320)));
    line-height: 1.5; margin-bottom: 16px;
}

.col-3 li { 
    font-size: calc(17px + (18 - 17) * ((100vw - 320px) / (1140 - 320))); 
    line-height: 1.4; margin-bottom: 10px; 
    margin-left: 15px; padding-left: 12px; 
}

/* =============== FAUX BUTTONS ================ */
.col-3 a.btn { 
	padding: 14px 32px;
	font-size: calc(17px + (19 - 17) * ((100vw - 320px)/(1600 - 320)));
}

/* ================= IMAGES, DRAWINGS, BIG ICONS ================= */

@media (min-width: 1200px) {
    .col-3 figure { margin-bottom: 32px }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .col-3 figure { margin-bottom: 26px }
}

@media (max-width: 767px) { 
    .col-3 figure { margin-bottom: 20px }
}

/* ================= ICONS AS ILLUSTRATIONS  ================= */

/* Font Awesome: Larger and smaller icons */
.col-3 figure.icon i[class*='fa'] { font-size: 116px }
.icon-small .col-3 figure.icon i[class*='fa'] { font-size: 80px; }

/* Light Awesome: Larger and smaller icons */
.col-3 figure.icon i[class*="la"] { font-size: 150px }
.icon-small .col-3 figure.icon i[class*="la"] { font-size: 110px }

/* Material UI (Outline): Larger and smaller icons */
.col-3 figure.icon { font-family: 'Material Icons'; display: inline-block }
.col-3 figure.icon span.material-icons-outlined { font-size: 140px }
.icon-small .col-3 figure.icon span.material-icons-outlined { font-size: 140px }

/* Font Awesome: Vertical spacing */
@media (min-width: 768px) { 
    .col-3 figure.icon i[class*='fa'] { margin-top: 24px; margin-bottom: 0 }
}
@media (max-width: 767px) { 
    .col-3 figure.icon i[class*='fa'] { margin-top: 0; margin-bottom: 18px }
}

/* Light Awesome: Vertical spacing */
.col-3 figure.icon i[class*="la"] { margin-top: 0; margin-bottom: -12px }

/* Material UI: Vertical spacing */
@media (min-width: 768px) { 
    .col-3 figure.icon span.material-icons-outlined { margin-top: 24px; margin-bottom: -72px }
}

@media (max-width: 768px) { 
    .col-3 figure.icon span.material-icons-outlined { margin-top: 12px; margin-bottom: -56px }
}

/* ============= FOUR COLUMNS ============ */

.col-4 { background-color: inherit; padding: 16px 16px 16px 16px }

/* Non-mobiles */
@media (min-width: 768px) { 
    .col-4 { width: 23.5%; margin-bottom: 48px }
    .col-4:nth-last-child(-n+4) { margin-bottom: 0 }
}

/* Mobiles */
@media (max-width: 767px) { 
    /* On mobiles, 4 columns to 1 column */
    .col-4 { 
        width: 100%;
        max-width: 400px; 
        margin-left: auto; margin-right: auto; 
        margin-bottom: 48px
    }
    .col-4:last-child { margin-bottom: 0 }

    /* On mobiles, 4 columns to 2 columns */
    .mobile-col-2 .col-4 { width: 49% }
    .mobile-col-2 .col-4 { margin-bottom: 20px }

    .mobile-col-2 .col-4:nth-child(odd) { margin-right: -3% }
    .mobile-col-2 .col-4:nth-child(even) { margin-left: -3% }
    .mobile-col-2 .col-4:nth-last-child(-n+2) { margin-bottom: 0 }
}


/* =================== TYPOGRAPHY  ================== */

.col-4 h3 { 
    font-size: calc(20px + (22 - 20) * ((100vw - 320px) / (1140 - 320)));
    font-weight: 700; line-height: 1.15; margin-bottom: 6px;
}

@media (max-width: 767px) { 
    .mobile-col-2 .col-4 h3 { font-size: 19px }
}

.col-4 p {
    font-size: calc(16px + (17 - 16) * ((100vw - 320px) / (1140 - 320)));
    line-height: 1.4; margin-bottom: 16px;
}

.col-4 li { 
    font-size: calc(16px + (17 - 16) * ((100vw - 320px) / (1140 - 320))); 
    line-height: 1.4; margin-bottom: 10px; 
    margin-left: 13px; padding-left: 6px; 
}

/* All viewports: Paragraphs and lists */
.col-4  p:last-child,
.col-4 li:last-child { margin-bottom: 0 }


/* Padding on columns */
.col-padding .col-4 {
    padding: 16px 16px 16px 16px;
}

/* =============== FAUX BUTTONS ================ */
.col-4 a.btn { 
	padding: 14px 28px;
	font-size: calc(17px + (18 - 17) * ((100vw - 320px)/(1600 - 320)));
}

/* ================= IMAGES, DRAWINGS, BIG ICONS ================= */

@media (min-width: 1200px) {
    .col-4 figure { margin-bottom: 24px }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .col-4 figure { margin-bottom: 16px }
}

@media (max-width: 767px) { 
    .col-4 figure { margin-bottom: 10px }
}

/* ================= ICONS AS ILLUSTRATIONS  ================= */

/* Font Awesome: Larger and smaller icons */
.col-4 figure.icon i[class*='fa'] { font-size: 84px }
.icon-small .col-4 figure.icon i[class*='fa'] { font-size: 64px; }

/* Light Awesome: Larger and smaller icons */
.col-4 figure.icon i[class*="la"] { font-size: 110px }
.icon-small .col-4 figure.icon i[class*="la"] { font-size: 80px }

/* Material UI (Outline): Larger and smaller icons */
.col-4 figure.icon { font-family: 'Material Icons'; display: inline-block }
.col-4 figure.icon span.material-icons-outlined { font-size: 100px }
.icon-small .col-4 figure.icon span.material-icons-outlined { font-size: 80px }

/* Font Awesome: Vertical spacing */
@media (min-width: 768px) { 
    .col-4 figure.icon i[class*='fa'] { margin-top: 24px; margin-bottom: 0 }
}
@media (max-width: 767px) { 
    .col-4 figure.icon i[class*='fa'] { margin-top: 0; margin-bottom: 18px }
}

/* Light Awesome: Vertical spacing */
.col-4 figure.icon i[class*="la"] { margin-top: 0; margin-bottom: -12px }

/* Material UI: Vertical spacing */
@media (min-width: 768px) { 
    .col-4 figure.icon span.material-icons-outlined { margin-top: 24px; margin-bottom: -72px }
}

@media (max-width: 768px) { 
    .col-4 figure.icon span.material-icons-outlined { margin-top: 12px; margin-bottom: -56px }
}


/* /////////////////////////////////////////////////////////////// */
/* //////////////// COLLECTION OF UTLITY CLASSES ///////////////// */
/* /////////////////////////////////////////////////////////////// */

/* Centre horizontally all the things */
.text-center { 
    text-align: center !important;
    margin-left: auto; margin-right: auto
}

.text-shadow { text-shadow: 2px 2px var(--gray-800) }

/* All viewports: Paragraphs and lists */
div[class*='col-']  p:last-child,
div[class*='col-'] li:last-child { margin-bottom: 0 }

/* Column effects */
.col-shadows div[class*='col-']:not(.col-1) {
    border: solid #D3D3D3 1px;
    box-shadow: 4px 4px 20px rgba(160,160,160,0.8);
}
/*
.col-borders div[class*='col-']:not(.col-1) {
    border: solid 1px var(--gray-800)
}
*/
section.col-borders .col-2,
section.col-borders .col-3,
section.col-borders .col-4 {
    border: solid 1px var(--gray-800);
}

.corners-soft div[class*='col-']:not(.col-1) {
    border-radius: 12px
}

/* Fancy Image Effects */
.img-shadow figure img {
    filter: drop-shadow(8px 8px 10px var(--drop-shadow));
}

.img-border figure img {
    border: solid 2px var(--img-border);
}

.img-corners-soft figure img {
    border-radius: 15px;
}

.img-rotate-clock  figure img { transform: rotate(1deg) }
.img-rotate-cclock figure img { transform: rotate(-1deg) }

.img-rounded figure img { border-radius: 50% } /* Square images only */ 

/* Icons as illustrations */
div[class*='col-'] figure.icon {
    display: block; line-height: 1.4;
    color: var(--gray-600);
}

/* Icons centre-aligned */
div[class*='col-'] figure.icon { 
    text-align: center; 
    margin-left: auto;
    margin-right: auto;
}

/* Icons left-aligned */
.icon-left div[class*='col-'] figure.icon { 
    text-align: left;
    margin-left: 0;
}

/* Video - files */
.container-video-file {
    object-fit: contain;
    overflow: hidden;
    width: 100%;
    height: auto;
    position: relative;
}

.container-video-file video {
    width: 100%;
    height: auto;
}

/* Video - YouTube */
.container-video-yt {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 32px;
}
 
.container-video-yt::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}
 
.container-video-yt iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hyperlinks in text */
a:not(.btn):any-link {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
    color: var(--blue-700);
    transition: all 0.2s linear;
}

:is(a:not(.btn):focus, a:not(.btn):hover, a:not(.btn):active) {
    text-decoration: underline;
    color: var(--black-000);
    background-color: var(--gray-200);
}

/* Faux Buttons */

a.btn { 
    font-family: var(--sans-serif);
    font-weight: bold; 
    line-height: 1;
    text-decoration: none;
}

div[class*='col-'] a.btn { 
    margin-top: 12px; margin-bottom: 12px;
    position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	flex-direction: row;
	justify-content: center;
    font-weight: 700;
}

a.btn-soft { border-radius: 5px; }
a.btn-rounded { border-radius: 50px }
a.btn i { align-self: center; margin-right: 14px; color: inherit } 


/* Primary buttons */
.btn-primary:any-link {
    border: solid 2px #000; 
    color: #fff; 
    background-color: #000; 
    transition: all 0.2s linear;
} 

:is(.btn-primary:focus, .btn-primary:hover, .btn-primary:active)  {
    border: solid 2px var(--gray-700); 
    background-color: var(--gray-700);  
    color: #fff;
}

:is(.btn-primary:focus i, .btn-primary:hover i, .btn-primary:active i)  {
    color: inherit;
}

/* Secondary buttons */
.btn-secondary:any-link {
    border: solid 2px #000 !important;
    color: #000; 
    background-color: #fff; 
    transition: all 0.2s linear;
} 

:is(.btn-secondary:focus, .btn-secondary:hover, .btn-secondary:active)  {
    border: solid 2px var(--gray-700); 
    background-color: var(--gray-700);  
    color: #fff;
}

:is(.btn-secondary:focus i, .btn-secondary:hover i, .btn-secondary:active i)  {
    color: inherit;
}

/* Ghost buttons */
.btn-ghost:any-link {
    border: solid 2px #000; 
    color: #000; 
    background-color: transparent; 
    font-weight: 700;
    transition: all 0.2s linear;
} 

:is(.btn-ghost:focus, .btn-ghost:hover, .btn-ghost:active)  {
    border: solid 2px #000; 
    background-color: #000;  
    color: #fff;
}

:is(.btn-ghost:focus i, .btn-ghost:hover i, .btn-ghost:active i)  {
    color: inherit;
}

/* Animations - only when the web page loads */
.slide-in-top {
	animation: slide-in-top 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.slide-in-left {
	animation: slide-in-left 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.slide-in-right {
	animation: slide-in-right 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.slide-in-bottom {
	animation: slide-in-bottom 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.fade-in {
    animation: fade-in 2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

@keyframes slide-in-top {
    0%   { transform: translateY(-1000px); opacity: 0 }
    100% { transform: translateY(0); opacity: 1 }
}

@keyframes slide-in-left {
    0% { transform: translateX(-1000px); opacity: 0 }
    100% { transform: translateX(0); opacity: 1 }
}

@keyframes slide-in-right {
    0% { transform: translateX(1000px); opacity: 0 }
    100% { transform: translateX(0); opacity: 1 }
}

@keyframes slide-in-bottom {
    0%   { transform: translateY(1000px); opacity: 0 }
    100% { transform: translateY(0); opacity: 1 }
}

@keyframes fade-in { 
    0%   { opacity: 0; }
    100% { opacity: 1 }
}




