
@font-face { font-family: RobotoSlab; font-weight: 200; font-display: swap; src: url('https://fonts.gstatic.com/s/robotoslab/v36/BngMUXZYTXPIvIBgJJSb6ufN5qU.woff2') format('woff2'); }
@font-face { font-family: RobotoSlab; font-weight: 300; font-display: swap; src: url('https://fonts.gstatic.com/s/robotoslab/v36/BngMUXZYTXPIvIBgJJSb6ufN5qU.woff2') format('woff2'); }
@font-face { font-family: RobotoSlab; font-weight: 400; font-display: swap; src: url('https://fonts.gstatic.com/s/robotoslab/v36/BngMUXZYTXPIvIBgJJSb6ufN5qU.woff2') format('woff2'); }
@font-face { font-family: RobotoSlab; font-weight: 600; font-display: swap; src: url('https://fonts.gstatic.com/s/robotoslab/v36/BngMUXZYTXPIvIBgJJSb6ufN5qU.woff2') format('woff2'); }
@font-face { font-family: Roboto; font-weight: 300; font-display: swap; src: url('https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2') format('woff2'); }
@font-face { font-family: Roboto; font-weight: 400; font-display: swap; src: url('https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2') format('woff2'); }
@font-face { font-family: Roboto; font-weight: 500; font-display: swap; src: url('https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2') format('woff2'); }
@font-face { font-family: Roboto; font-weight: 700; font-display: swap; src: url('https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2') format('woff2'); }
@font-face { font-family: Roboto; font-weight: 900; font-display: swap; src: url('https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2') format('woff2'); }
@font-face { font-family: RobotoMono; font-weight: 300; font-display: swap; src: url('https://fonts.gstatic.com/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhLq38.woff2') format('woff2'); }
@font-face { font-family: RobotoMono; font-weight: 400; font-display: swap; src: url('https://fonts.gstatic.com/s/robotomono/v31/L0x5DF4xlVMF-BfR8bXMIjhLq38.woff2') format('woff2'); }

:root {
    font-size: 18px;
    --colorLT: #c3e0e3;
    --color: #70a8af;
    --colorDK: #2f676d;

    --brand: #3a8792;
    --brand-hover: #70b9c5;
    --brand-light: #8fdde777;

    --alt-color: #db7f2a;
    --alt-color-hover: #f7a151;


    --warn: #db7f2a;
    --success: #70b9c5;
}

body {
    overflow-x: hidden;

    --panel-width: 550px;

    font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    scroll-behavior:unset;
}

img {
    max-width: 100%;
    height: auto;
}

img#qed-fcbc-color-svg {
    width: 320px;
    object-fit: contain;
    margin-top: 2rem;

}
img#qed-proud-svg {
    width: 320px;
    object-fit: contain;
    margin-bottom: 2rem;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5 {
    font-family: RobotoSlab;
    font-weight: 400;
    text-wrap: balance;
    margin: 0;
}
h5.ghost-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--brand);
    opacity: 0.5;
    margin: 0;

}

.h2-bullet {
    display: none;
    position: absolute;
    top: 1.8rem;
    left: -4rem;
    font-size: 3.5rem;
    color: var(--brand);
    opacity: 0.5;;
}



h3 {
    font-size: 1.5rem;
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--color);
}

p {
    font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    margin: 0;

    line-height: 1.7;
}

.p-4 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.pt-4 {
    padding-top: 4rem;
}
.pt-8 {
    padding-top: 8rem;
}

.pb-2 {
    padding-bottom: 2rem;
}
.pb-4 {
    padding-bottom: 4rem;
}
.pb-8 {
    padding-bottom: 8rem;
}
.pb-12 {
    padding-bottom: 12rem;
}
.pb-16 {
    padding-bottom: 16rem;
}

#check-eligibility section:nth-child(1) {
    margin-top: 4rem;
}

a:has(.new_flag) {
    position: relative;
}

a .new_flag {
    position: absolute;
    display: inline-block;
    top: -0.4rem;
    left: 0;
    background-color: var(--brand-hover);
    color: white;
    font-weight: 600;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    transform: rotate(-3deg);
    transition: all 400ms ease-in-out;
    z-index: 9999;
}
a:hover .new_flag {
    bottom: 2rem;
    left: -0.25rem;
    transform: rotate(-4deg);
    transition: all 200ms ease-in-out;
}

button.cta,
a.cta {
    font-family: RobotoSlab;
    font-weight: 400;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    transition: 200ms linear;
    cursor: pointer;
    text-decoration: none;
    margin: 0;
}
.cta p { margin: 0; }
button.cta + button.cta {
    margin-left: 1rem;
}

a.cta-solid,
button.cta-solid {
    background-color: var(--brand);
    color: white;
    border: none;
}
a.cta-solid:hover,
button.cta-solid:hover {
    background-color: var(--brand-hover);
}
.grid-panel-wrap button.cta-solid p a,
button.cta-solid p a {
    color: white;
    text-decoration: none;
}
button.cta-light {
    background: none;
    color: var(--brand);
    border: none;
}
button.cta-light p {
    border-bottom: 2px dotted transparent;
    padding: 0.25rem 0;
    transition: 200ms linear;
}

button.cta-light p:hover {
    border-bottom: 2px dotted var(--brand-light);
}


.flex-row {
    display: flex;
    flex-direction: row;
}
.flex-start {
    justify-content: flex-start;
}

.flex-row:has(button.cta) {
    margin-top: 2rem;
}
.mt1, .mt-1 { margin-top: 1rem; }
.mt2, .mt-2 { margin-top: 2rem; }

.border-round { border-radius: 6px; }
.border-round-left { border-radius: 6px 0px 0px 6px; }

.centered {
    margin: 0 auto;
}


.qed-fc-proud {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}


.grid-panel-wrap p {
    font-weight: 300;
    margin: 0;
}

.grid-panel-wrap p .strong,
.grid-panel-wrap p .emphasis {
    color: var(--brand);
    font-weight: 400;
}

section.grid-section:has(> ul.panel-tickbox) {
    background-color: var(--brand-light);
}

.carousel {
    width: 200px;
    height: 100px;
    position: relative;
    margin-right: 1rem;
}
.carousel > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* outline: 1px solid red; */
    display: grid;
    align-items: center;
    place-items: center;
    transform-origin: center;
    transition: 1300ms linear;
    background-color: white;
}
.carousel > div img { opacity: 0;}
.carousel > div.start img,
.carousel > div.down img { opacity: 1;}


.carousel > div:has(.fa) {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}
.carousel > div:has(.fa) p {
    line-height: 1.4;
    text-wrap: balance;
    font-family: 'RobotoSlab';
    font-weight: 400;
    color: var(--brand);
}
.carousel > div:has(.fa) .fa {
    color: firebrick;
}


.carousel div.start {
    transform: translateY(0px) rotateX(0deg);
    opacity: 1;
    z-index: 2;
  }
  
  .carousel div.down {
    transform: translateY(40px) rotateX(90deg);
    opacity: 0;
    z-index: 1;
  }
  .carousel div.back {
    transform: translateY(0px) rotateX(0deg);
    opacity: 0;
    z-index: 1;
  }
  .carousel div.up {
    transform: translateY(-40px) rotateX(-90deg);
    opacity: 0;
    z-index: 3;
  }


.breadcrumb-wrap {
    background-color: whitesmoke;
    width: 100vw;
}
.breadcrumb {
    box-sizing: border-box;
    font-family: RobotoSlab;
    font-weight: 400;
    font-size: 0.75rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    color: var(--color);
    max-width: 100vw;
    /* width: calc(var(--panel-width)*2); */
    margin: 0px auto 0;
    padding: 0.25rem 2rem;
}

.breadcrumb svg {
    height: 0.7rem;
    aspect-ratio: 1;
    object-fit: contain;
}
.breadcrumb svg path {
    fill: var(--color);
}

.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb p { color: #515151; font-size: 0.75rem; }

  



.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-0 { margin-bottom: 0rem; }
.pb-0 { padding-bottom: 0rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-4 { padding-bottom: 4rem; }
.p-0 { padding: 0; }
section.grid-section.p-0 { padding: 0rem; }

.three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 0 3rem;
    margin-top: 3rem;
}

@media (max-width: 1100px) {
    .three-column {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 700px) {
    .three-column {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 1rem 0 1rem;
        padding: 0;
    }
}

.three-column-panel {
    display: grid;
    grid-template-rows: auto 1fr;
}
.grid-panel-wrap .three-column-panel > p {
    margin: 0;
    text-align: center;
    margin-top: 0.5rem;
    font-family: 'RobotoSlab';
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--brand);
}
.three-column-panel a,
.three-column-panel button {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0;
    border-radius: 0.5rem;
    margin-top: auto;
    box-shadow: 
    0px 0px 2px var(--brand-light),
    inset 0px 0px 1px var(--brand)
    ;
    transition: 300ms ease-in-out;
    transform-origin: center;
    cursor: pointer;
    text-decoration: none;
}


.three-column-panel a:hover,
.three-column-panel button:hover {
    box-shadow: 
    0px 0px 36px -9px var(--brand),
    inset 0px 0px 8px var(--brand)
    ;
    scale: 1.025;
}
.three-column-panel a p,
.three-column-panel button p {
    margin: 0;
    display: block;
    width: 100%;
    padding: 0.5rem;
    color: white;
    text-align: center;
}
.three-column-panel a p:nth-child(1),
.three-column-panel button p:nth-child(1) {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--brand-light);
    color: var(--brand);
    border-radius: 0.5rem 0.5rem 0 0;
    font-size: 1.1rem;
    font-family: 'RobotoSlab';
    font-weight: 600;
}
.three-column-panel a p:nth-child(1) .fa,
.three-column-panel button p:nth-child(1) .fa {
    font-size: 1.4rem;
    margin-right: 1rem;
}
.three-column-panel a:hover p:nth-child(1),
.three-column-panel button:hover p:nth-child(1) {
    background-color: color-mix(in srgb, var(--brand-light) 75%, #fff 25%);
}

.three-column-panel a p:nth-child(2),
.three-column-panel button p:nth-child(2) {

    background-color: var(--brand);
    border-radius: 0 0 0.5rem 0.5rem ;
    font-family: 'RobotoSlab';
    font-weight: 300;
}



ul.panel-tickbox {
    grid-column: 2 / 3;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1 1;
    justify-content: space-around;
    align-items: center;
    padding: 24px;
    gap: 32px;
    margin: 0 auto;
}


ul.panel-tickbox li {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-grow: 1;
    gap: 16px;
}
ul.panel-tickbox li svg {
    transform: translateY(5px) scale(1.3);
}
ul.panel-tickbox li svg path {
    fill: firebrick;
    stroke: firebrick;
    stroke-width: 4;
}
ul.panel-tickbox li p {
    display: block;
    max-width: 150px;
    margin: 0;
}


/*  LONG PATH */
.long-path {
    position: absolute;
    top: 0;
    left: 0;
    /* object-fit: contain; */
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    z-index: 0;
    pointer-events: none;
}
.long-path-path {
    --dash: 7000px;
    --offset: 7000px;
    fill: transparent;
    stroke: var(--brand);
    stroke-width: 6px;
    stroke-dasharray: var(--dash);
    stroke-dashoffset: var(--offset);
    transition: 1000ms ease-in-out;
    opacity: 0.1;
}

/* INLINE FUNDING CIRCLE LOGOS*/

span.funding-circle {
    font-family: 'Roboto';
    font-weight: 500;
}
h2 span.funding-circle .fc-long-inline {
    font-size: 2rem;
    height: 2.2rem;
}
h3 span.funding-circle .fc-long-inline {
    font-size: 1.5rem;
    height: 1.6rem;
}

.bigger-title span.funding-circle .fc-long-inline {
    font-size: 2.0rem;
    height: 2.0rem;
    transform: translateY(4px);
    margin: 0 0.4rem;
}

.bigger-title span.funding-circle .fc-long-inline {
    height: 2.5rem;
    transform: translateY(6px);
}


.fc-long-inline {
    position: relative;
    display: inline-block;
    height: 1.2rem;
    margin: 0 0.15rem;
}
.fc-long-inline span {
    position: absolute;
    opacity: 0;
}
.fc-long-inline svg {
    height: 100%;
    object-fit: contain;
    transform: translateY(4.5px);
}


#alternateHeaderPadding {
    height: 118px;
    width: 100%;
}

/* #alternateHeader:has(.breadcrumb-wrap) + #alternateHeaderPadding {
    height: 148px;
} */


#alternateHeader {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0);
    box-shadow: 0px 0px 0px rgba(0,0,0,0);
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    transition: box-shadow 150ms linear;
    background: white;
}
body.scrolled #alternateHeader {
    background: white;
    box-shadow: 0px 10px 8px rgba(0,0,0,0.1);
    position: fixed;
}
.alt-header-wrap {
    /* display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center; */
    display: grid;
    grid-template-columns: 240px 200px 1fr;
    padding: 0.5rem 2rem;
    width: 100vw;
    max-width: 100vw;
    align-items: center;

}


@media (max-width: 1100px) {
    .alt-header-wrap {
        grid-template-columns: 1fr;
        grid-template-columns: 240px 200px 1fr;
    }
    .alt-header-wrap .alt-header-nav {
        grid-row: 2 / 3;
        grid-column: 1 / -1;
    }
}

.alt-header-logo img {
    height: 50px;
    object-fit: contain;
}

.alt-header-nav {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-left: auto;
}
.alt-header-nav a,
.alt-header-nav button {
    text-decoration: none;
    color: var(--brand);
    border: 1px solid transparent;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 1.0rem;

    background-color: transparent;
    cursor: pointer;
}
.alt-header-nav a:hover,
.alt-header-nav button:hover {
    color: var(--brand-hover);
    border: 1px solid #e9e9e9;
    background-color: transparent;
    
}

.alt-header-nav a,
.alt-header-nav button.btn {
    border: 1px solid #e9e9e900;
    padding: 0.6rem 1rem;
    /* font-size: 0.8rem; */
    transition: border 0.5s linear;
}
.alt-header-nav button.btn-cta {
    border: 1px solid var(--brand-hover);
    background-color: var(--brand);
    color: white;
    padding: 0.6rem 1rem;
}
.alt-header-nav button.btn-cta:hover {
    background-color: var(--brand-hover);
}

.alternativeFooter {
    padding-top: 4rem;
    background-color: #F2F0EE;
    display: flex;
    justify-content: center;
    z-index: 2;
    overflow-x: hidden;
}
.alternativeFooter hr {
    opacity: 0.2;
    margin: 2rem 0;
}
.alternativeFooter .alt-footer-wrap {
    width: 960px;
    max-width: 960px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.alternativeFooter .alt-footer-wrap > * {
    min-width: 250px;
    flex-grow: 1;
}

.alternativeFooter .alt-footer-wrap img {
    /* max-width: 240px; */
    margin-bottom: 0.5rem;
}

.alt-footer-span-all {
    width: 100%;
}

.alternativeFooter p {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-links a {
    color: var(--brand);
    font-weight: 500;
}

.alternativeFooter a {
    text-decoration: none;
    color: var(--brand);
}
.alternativeFooter a:hover { color: var(--brand-hover); }

.alternativeFooter h4 + p,
.alternativeFooter p:has(a) {
    margin-top: 1rem;
}
.alternativeFooter p:has(> a) {
    font-weight: 500;
}
.alternativeFooter p a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    color: var(--brand);
    margin-left: 0.5rem;
}
.alternativeFooter p a:hover {
    color: var(--brand-hover);
}

.footer-logos-inline {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.footer-logos-inline img {
    mix-blend-mode: multiply;
    height: 25px;
}
.footer-logos-inline + p {
    font-size: 0.9rem;
    width: 100%;
    max-width: 600px;
    opacity: 0.7;
}

.alt-footer-panel:has(.footer-logos-inline) {
    margin-top: 4rem;
}

.alt-footer-panel.fc-brand-logos {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.alt-footer-panel.fc-brand-logos img:nth-child(1) {
    width: 280px;
}
.alt-footer-panel.fc-brand-logos img:nth-child(2) {
    width: 220px;
}

img#qed-fcbc-color-svg {
    width: 320px;
    object-fit: contain;
    margin-top: 2rem;

}
img#qed-proud-svg {
    width: 320px;
    object-fit: contain;
    margin-bottom: 2rem;

}

.fixed-icon-top-right {
    position: absolute;
    top: 1.52rem;
    right: 3rem;
    z-index: 1;
    font-size: 20rem;
    color: var(--brand);
    opacity: 0.1;

    top: -1.5rem;
    right: -1rem;

}

.grid-panel-wrap {
    position: relative;
}
.grid-panel-wrap .grid-panel {
    position: relative;
    /* transition: 700ms linear; */
    /* z-index: 2; */
    /* opacity: 0; */
    /* padding: 4rem 0; */
}
.grid-panel-wrap:not( > .long-path) > * {
    z-index: 2;
    pointer-events: all;

}


.grid-panel-wrap .grid-panel.p-0 {
    padding: 0;
}

.grid-panel-wrap .grid-panel.notIntersecting {
    transform: translateY(150px);
    opacity: 0;
}
.grid-panel-wrap .grid-panel {
    transform: translateY(0px);
    opacity: 1;
}
.grid-panel-wrap .grid-panel.notIntersecting:has(+ .grid-panel:not(.notIntersecting)) {
    transform: translateY(0px);
    opacity: 1;
}

/* .grid-panel:has(section.grid-section > h2 ) {
    margin: 2rem 0 0 0;
} */
section.grid-section > h2 {
    font-size: 2.4rem;
    font-weight: 400;
}

section.grid-section {
    position: relative;
}

.grid-panel-wrap p, 
.grid-panel-wrap a {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0 0 0 0;
    text-wrap: pretty;
}

.grid-panel-wrap p a.inline-cta {
    display: inline-block;
    outline: 1px solid #e9e9e9;
    outline-offset: 0.2rem 0.5rem;
    padding: 0 0.6rem;
    color: var(--color);
    text-decoration: none;
    margin: 0;
}

.grid-panel-wrap p a {
    color: var(--brand);
    text-decoration: none;
}

.grid-panel-wrap p a:hover {
    color: var(--color);

}

.grid-panel-wrap a.inline-cta:hover {
    outline-color: var(--color);
    color: var(--brand);
}

.grid-panel-wrap p.strong,
.grid-panel-wrap p.emphasis {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--brand);
    margin: 0 0 0rem 0;
}

.grid-panel legend {
    font-family: RobotoMono;
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    color: #515151;
    opacity: 0.5;
    margin: 1rem 0 0rem 0;
    letter-spacing: 1.5px;
}



.list-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0rem 0;
    gap: 2rem;
}
.tick-list-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 2rem 0 0 0;
    gap: 0rem;
}

section.grid-section[data-column="starboard"]:has(> .list-items-3) {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    place-items: center;

}

.list-items-3.bullet-list-items {
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.list-items-3 .list-item {
    display: grid;
    grid-template-rows: 35px 1fr;
    margin: 0;
    /* grid-template-rows: 48px auto; */
}
.list-items-3 .list-item h4 {
    margin: 0;
    font-size: 1.2rem;
    max-width: 280px;
}

.list-items-3 .list-item p {
    font-size: 1.0rem;
    line-height: 1.5;
    width: 100%;
    max-width: 280px;
}
@media (max-width: 1100px) {
    .list-items-3.bullet-list-items {
        grid-template-columns: 1fr;
    }
    .list-items-3 .list-item {
        width: clamp(400px, 100%, 600px);
    }
    .list-items-3 .list-item h4 {
        max-width: 100%;
    }
    .list-items-3 .list-item p {
        max-width: 100%;
    }
}

.bullet-list-items {
    margin-top: 0rem;
}
.bullet-list-items .list-item .list-icon {
    margin-top: 0.26rem;
    font-size: 1.5rem;
}

.bigger-title {
    font-family: 'RobotoSlab';
    color: var(--text);
    font-size: 2.2rem;
    font-weight: 400;
    margin: 2rem 0 2rem 0;

}


.bigger-title span.funding-circle {
    font-family: 'RobotoSlab';
    font-weight: 600;
}



.list-items.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 0
}

@media (max-width: 1100px) {
    .list-items.two-columns {
        grid-template-columns: 1fr;
    }
}


.list-item {
    display: grid;
    grid-template-columns: [icon-start] 60px [icon-end] 0.25rem [text-start] 1fr [text-end];
    grid-template-rows: 90px auto;
    margin-bottom: 2rem;
    /* width: 100%; */
    width: clamp(250px, 100%, 300px);
    flex-grow: 1;
 
}

.list-items.two-columns .list-item {
    width: 100%;
    grid-template-rows: 60px auto;
}
.tick-list-items .list-item {
    display: grid;
    grid-template-columns: [icon-start] 50px [icon-end] 0.25rem [text-start] 1fr [text-end];
    grid-template-rows: auto;
    margin-bottom: 1rem;
    /* width: 100%; */
    width: clamp(300px, 100%, 450px);
    flex-grow: 1;

}

.list-item:last-of-type {
    margin-bottom: 0;
}

.list-item .list-icon {
    grid-column: icon-start / icon-end;
    font-size: 3rem;
    margin-right: 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--brand);
}

.list-item h4 {
    grid-column: text-start / text-end;
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: var(--color);
}

.list-item p {
    grid-column: text-start / text-end;
    margin: 0;
    align-items: center;
    padding-bottom: 2rem;
}



.light-panel {
    display: grid;
    /* background-color: var(--brand-light); */
    grid-template-columns: subgrid;
    grid-column: main-start / main-end;
    margin-bottom: 0rem;
    padding: 2rem 1rem;
}


.grid-panel-wrap {
    display: flex;
    flex-direction: column;
	max-width: 100vw;
    width: 100vw;
    z-index: 2;
    overflow: hidden;
}

.grid-panel {
	max-width: 100%;
    width: 100%;
    margin-top: 0rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.grid-panel[data-columns="1"] {
    display: grid;
    grid-template-columns: [main-start] 1fr [content-start] calc(var(--panel-width) * 2) [content-end] 1fr [main-end];
    position: relative;
}

.grid-panel[data-columns="2"] {
    display: grid;
    grid-template-columns: 
    [main-start] 1fr 
    /* [port-start] clamp(min(10vw, 20rem), 450px, max(90vw, 55rem)) */
    [port-start] var(--panel-width) 
    [port-end]  0px 
    /* [starboard-start] clamp(min(10vw, 20rem), 450px, max(90vw, 55rem)) */
    [starboard-start] var(--panel-width) 
    [starboard-end] 1fr 
    [main-end];
    position: relative;
    z-index: 1;
}

section.grid-section {
    display: flex;
    flex-direction: column;
    /* gap: 1.5rem; */
    /* padding: 1rem 1rem 2rem 1rem; */
    z-index: 2;
    grid-column: main-start / main-end;
}
section.grid-section.padding-1 {
    padding: 1rem;
}

section.grid-section.place-items-center {
   place-items: center;
   align-items: center;
   height: 100%;
}

.grid-panel[data-columns="1"] .grid-section {
    grid-column: content-start / content-end;
    grid-row: 1;
}

section.grid-section[data-column="port"] {
    grid-column: port-start / port-end;
}

section.grid-section[data-column="starboard"] {
    grid-column: starboard-start / starboard-end;
}

section.grid-section[data-column="portend"] {
    grid-column: main-start / port-end;
}

section.grid-section[data-column="starboardend"] {
    grid-column: starboard-start / starboard-end;
    display: grid;
}

section.grid-section[data-column="deck"] {
    grid-column: port-start / starboard-end;
    display: grid;
}

@media (max-width: 1100px) {
    .light-panel {
        display: grid;
        background-color: var(--brand-light);
        grid-template-columns: subgrid;
        grid-column: main-start / main-end;
        margin-bottom: 2rem;
        padding: 2rem 1rem;
    }
    .grid-panel section[data-order="1"] {
        order: 1;
    }
    .grid-panel section:not([data-order="1"]) {
        order: 2;
    }
    .grid-panel[data-columns="1"] {
        width: 100vw;
        display: flex;
    }
    .grid-panel[data-columns="1"] .ordered-list-section {
        width: 550px;
        max-width: calc(100vw - 2rem);
        margin: 0 auto;
        padding: 3rem 0;
    }
    .grid-panel[data-columns="1"] .ordered-list-section h4 {
        text-align: left;
        text-wrap: balance;
        font-size: 2.5rem;
    }
    [data-columns="1"] section.ordered-list-section .orderbox {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    [data-columns="1"] section.ordered-list-section .orderbox  .icon {
        display: flex;
        justify-content: flex-start;
        color: #000;
        font-family: 'RobotoSlab';
        font-weight: 800;
        opacity: 0.60;
    }
    [data-columns="1"] section.ordered-list-section .orderbox  .text {
        display: flex;
        flex-direction: column;
    }
    .grid-panel[data-columns="1"] .ordered-list-section .orderbox h4 {
        text-align: left;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    .grid-panel[data-columns="1"] section.tickbox-section {
        flex-direction: column;
        gap: 0rem;
        grid-column: content-start / content-end;
    }
    .grid-panel section.tickbox-section .tickbox {
        border-right: 0;
        border-bottom: 1px solid var(--brand-hover);
        flex-direction: row;
        max-width: var(--panel-width);
        margin: 0 auto;
        display: grid;
        gap: 3rem;
        grid-template-columns: [icon-start] 70px [icon-end] 1fr;
        padding: 1rem;
    }
    .grid-panel section.tickbox-section .tickbox:last-child {
        border-bottom: none;
    }
    .grid-panel section.tickbox-section .tickbox .icon {
        grid-column: icon;
        margin: 0;
        padding: 0 8px;
    }
    .grid-panel[data-columns="2"] {
        grid-template-columns: 
        [main-start] 1fr 
        [content-start] var(--panel-width) 
        [content-end]  1fr 
        [main-end];
    }
    section.grid-section[data-column="deck"],
    section.grid-section[data-column="port"],
    section.grid-section[data-column="starboard"] {
        grid-column: content-start / content-end;
    }
    section.grid-section[data-column="portend"],
    section.grid-section[data-column="starboardend"] {
        grid-column: main-start / main-end;
        display: grid;
    }
}
.grid-section h1 {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* .grid-section[data-content="image"] div {
    display: inline-block;
    width: 100%;
    
    height: 100%;
} */

@media (max-width: 700px) {

    .grid-section h1 { font-size: 1.5rem;}
    .grid-section p { font-size: 0.9rem; margin-bottom: 1rem;}
    .grid-section a p { font-size: 0.9rem; margin-bottom: 0rem;}

    a .new_flag {
        display: none;
    }

    .light-panel {
        display: grid;
        background-color: var(--brand-light);
        grid-template-columns: subgrid;
        grid-column: main-start / main-end;
        margin-bottom: 2rem;
        padding: 2rem 1rem;
    }
    .list-items-3 .list-item {
        width: clamp(400px, 100%, 600px);
        width: 100%;
        /* grid-template-columns: 1fr; */
        grid-column: 1 / -1;
        display: flex;
        padding: 0 1rem;
    }
    .list-items-3 .list-item p {
        text-wrap: pretty;
    }
    .list-items-3 .list-item .list-icon {
        aspect-ratio: 1 / 1;
        font-size: 1rem;
        display: none;
    }
    .list-items-3 .list-item .list-icon .fa {
        font-size: 1rem;
    }
    .list-items.two-columns {
        gap: 0;
    }
    .list-items .list-item p {
        margin-bottom: 0;
        padding-bottom: 0;;
    }

    .grid-section[data-content="image"] {
        margin: 0;
        padding: 0;
    }
    .grid-section[data-content="image"]:has(.gauge-image) {
        margin: 0 auto;
        padding: 0;
    }
    .grid-section[data-content="image"] .gauge-image {
        display: inline-block;
        width: 300px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }
    .bigger-title {
        margin-top:  0;
    }

    #introduction > .grid-section:nth-child(1) {
        order: 2;
    }
    #introduction > .grid-section:nth-child(2) {
        order: 1;
        width: 75%;
        height: 200px;
        margin: 0 auto;
    }
    #introduction > .grid-section:nth-child(2) > div {
        height: 200px;
    }
    #introduction {
        padding: 0.5rem 0 0 0;
    }

}




section.ordered-list-section .orderbox {
    display: grid;
    grid-template-columns: auto [icon-start] 0px [icon-end] 1rem [text-start]1fr [text-end] auto;
    grid-template-rows: 2rem auto;
    gap: 1rem;
}

section.ordered-list-section .orderbox .icon {
    grid-column: icon-start / icon-end;
    grid-row: 1 / 3;
    font-size: 1.6rem;
    color: white;
    margin-right: 0rem;
    margin-top: 0.4rem;
    display: flex;
    justify-content: center;
}

section.ordered-list-section .orderbox .text {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    grid-row: 1 / 3;
    grid-column: text-start / text-end;
    color: white;
}
section.ordered-list-section .orderbox .text h4 {
    font-size: 1.6rem;
    opacity: 0.9;
    grid-column: text-start / text-end;
    grid-row: 1 / 2;
}
section.ordered-list-section .orderbox .text p {
    grid-column: text-start / text-end;
    grid-row: 2 / 3;
}




section.tickbox-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
    gap: 0;
}

section.tickbox-section .tickbox {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    margin-bottom: 1rem;
    border-right: 1px solid var(--brand-hover);
    padding: 1rem 3rem;
    opacity: 0;
    transform: translateX(50px);


}

@keyframes tickboxAnimate {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.tickbox.animate {
    animation: tickboxAnimate 500ms linear;
    animation-fill-mode: forwards;
}

section.tickbox-section .tickbox:last-of-type {
    border-right: 0;
}
section.tickbox-section .tickbox .text {
    margin-right: auto;
}
section.tickbox-section .tickbox .text p {
    font-family: 'Roboto';
    font-size: 1.5rem;
    text-shadow: -3px 3px 2px var(--brand-hover);
    text-wrap: balance;
}
section.tickbox-section .tickbox .icon {
    font-size: 2.5rem;
    margin-left: 1rem;
    margin-right: auto;
    margin-bottom: 2rem;
    transform: scale(0);
    border-radius: 6px;
    background: white;
    color: var(--brand);
    padding: 4px 12px;
    rotate: 45deg;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: -2px 2px 3px var(--brand-light);
    box-shadow: 0px 10px 8px var(--brand-hover);
}

section.tickbox-section .tickbox .icon .fa {
    rotate: -45deg;
}


@keyframes  tickBoxTickAnimate {
    0%   { transform: scale(0) translateY(-50px); }
    30%  { transform: translateY(0px); }
    50%  { transform: translateY(-30px); }
    70%  { transform: scale(1) translateY(0px); }
    90%  { transform: scale(1.1) translateY(-10px); }
    100% { transform: scale(1); }
}

section.tickbox-section .tickbox.animate .icon {
    animation: tickBoxTickAnimate 500ms ease-in;
    animation-fill-mode: forwards;
    animation-delay: 300ms;
}

#top-up {
    padding-top: 0;
}

#top-up .gauge-image {
    width: 370px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 4rem;
}

#seperator {
    padding: 4px;
    background-image: linear-gradient(90deg, 
    transparent 25%,
    #70a8af 30%,
    #70a8af 70%,
    transparent 75%
    );
    opacity: 0.5;
}

[data-color="inverted"] {
    background: var(--color);
    color: white;
}

[data-color="darker"] {
    background-color: #479aa722;
    padding: 2rem 0;
}

[data-color="darker"].top-up-loan-with-ease {
    padding: 4rem 0;

}
[data-color="darker"].top-up-loan-with-ease [data-image] div {
    transform: translateY(-2rem);
}
.top-up-loan-with-ease section.grid-section[data-column="port"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-section.switch-section-left {
    gap: 0;
    padding: 0;
}

.switch-question:nth-of-type(1) {
    margin-top: 4rem;
}
.switch-question:nth-of-type(5) {
    margin-bottom: 4rem;
}
.switch-question {
    padding: 1rem 2rem;
    cursor: pointer;
    transition: 200ms linear;
    outline: 0px solid var(--color);
    outline-offset: 0px 0px 0px 0px;
}

.switch-question:hover {
    cursor: pointer;
    background-color:rgba(0,0,0,0.1);
    border-radius: 8px 0 0 8px;
    outline: 6px solid var(--color);
    outline-offset: -6px -6px -6px -6px;
    z-index: 3;
}


.switch-question.active {
    background-color: white;
    color: var(--brand);
    border-radius: 8px 0 0 8px;
    transition: 200ms linear;
    z-index: 4;
}
.switch-question h4 {
    font-size: 1.25rem;
    transition: 300ms linear;
}


.grid-section.switch-section-right {
    padding: 2rem 1rem 2rem 0;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
.grid-section.switch-section-right > div {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background-color: white;
    color: black;
    padding: 2rem;
    border-radius: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: 300ms linear;
    z-index: 1;
    display: grid;
    place-items: center;
}
.grid-section.switch-section-right > div.pre-active {
    opacity: 0;
    pointer-events: all;
    z-index: 4;
}
.grid-section.switch-section-right > div.active {
    opacity: 1;
    pointer-events: all;
    z-index: 3;
}
.grid-section.switch-section-right > div.post-active {
    opacity: 1;
    pointer-events: none;
    z-index: 2;
}
.grid-section.switch-section-right p {
    font-size: 1.2rem;
    width: 75%;
    color: var(--brand);
}
.grid-section.switch-section-right a {
    display: flex;
    justify-content: center;
    width: 380px;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-align: center;
    background-color: var(--brand);
    text-decoration: none;
}
.grid-section.switch-section-right a p {
    color: white;
    text-transform: uppercase;
    font-family: 'RobotoSlab';
    font-weight: 500;
    text-align: center;
    font-size: 1rem;
}
.grid-section.switch-section-right a:hover {
    background-color: var(--brand-hover);

}


@media (max-width: 1100px) {
    .grid-section.switch-section-right {
        padding: 2rem 0;
    }
    .switch-question.active {
        border-radius: 8px;
    }
    .switch-question:nth-of-type(5) {
        margin-bottom: 0rem;
    }
}

.grid-panel.contact-blocks:has(section.grid-section > h2) {
    margin: 0;
}


.intro-paragraph {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0rem auto 1rem auto;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #444;
  max-width: 1040px;

  background-color: hsl(0 0% 100% / 0.2);
  border-radius: 6px;
  padding: 1rem;

}
.intro-paragraph p:nth-child(1) {
  width: clamp(270px, 30%, 100%);
  font-weight: 400;
  font-size: 1.4rem;
  flex-grow: 1;
}
.intro-paragraph p:not(:nth-child(1)) {
  width: clamp(540px, 60%, 100%);
  font-weight: 400;
  flex-grow: 1;
}

@media screen and (max-width: 1100px) {
    #alternateHeaderPadding {
        height: 189px;
    }
}


@media (max-width: 540px) {
}

@media (max-width: 700px) {




    .alt-header-wrap {
        grid-template-columns: 1fr 130px;
        padding: 0 4px;
        width: calc(100vw - 4px);
    }
    .alt-header-wrap .alt-header-nav {
        grid-row: 2 / 3;
        grid-column: 1 / -1;
    }
    body .alt-header-logo {
        width: 130px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-right: 8px;
    }
    body .alt-header-logo img {
        width: 130px;
        object-fit: contain;
        margin-left: auto;
    }
    .carousel {
        width: 90%;
        height: 50px;
        margin: 0 auto;


    }
    .carousel > * {
        max-width: 200px;
        height: 50px;
    }
    .carousel > * img {
        height: 40px;
        object-fit: contain;
    }
    .carousel p {
        font-size: 0.8rem;
    }

    body .alt-header-nav {
        gap: 4px;
        z-index: 1001;
        display: flex;
        justify-content: space-around;
        width: 100%;
    }
    body .alt-header-nav a,
    body .alt-header-nav button {
        font-size: 0.85rem;
        padding: 4px 16px;
        text-decoration: none;
        color: var(--brand);
        margin-bottom: 4px;
        background-color: white;
        border: 1px solid #e9e9e9;
    }


    #alternateHeaderPadding {
        height: 173px;
        height: 119px;
    }

    #check-eligibility > [data-content="image"],
    #banner > [data-content="image"] {
        height: 200px;
        margin-top:  0.5rem !important;

    }
    #check-eligibility section:nth-child(1) {
        margin-top: 1rem;
    }

    
  #apply.grid-panel.p-4[data-columns="2"] {
    padding-top: 0 !important;
  }
    

    .grid-panel-wrap .grid-panel.contact-blocks,
    .grid-panel[data-columns="2"] {
        grid-template-columns: [main-start] 0.5rem [content-start] 1fr [content-end] 0.5rem [main-end];
    }
    .grid-panel-wrap .grid-panel.contact-blocks {
        background-position: right;
        padding: 4rem 0;
    }
    .grid-panel-wrap .grid-panel.contact-blocks > .grid-section {
        background-color: rgba(255, 255, 255, 0.77);
        padding: 2rem;
        border-radius: 8px;
        backdrop-filter: blur(10px);
    }

    .grid-section > .panel-tickbox {
        flex-direction: row;
        display: none;
    }

    .grid-panel:has(> section > .panel-tickbox) {
        display: none;
    }   

    #tickbox:has(.intro-paragraph) {
        display: flex !important;
    }
    .grid-panel:has(> section > .panel-5-buttons) {
        padding-top: 0;
    }

    .grid-panel section.grid-section h2,
    .grid-panel .bigger-title {
        font-size: 1.8rem;
    }
    .grid-panel section.grid-section h3 {
        font-size: 1.4rem;
    }
    .grid-section {
        padding: 0.5rem;
    }

    #check-eligibility {
        padding-bottom: 0;
    }

    .list-items {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        margin: 0rem 0;
        gap: 1rem;
    }
    .tick-list-items {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0rem 0 0 0;
        gap: 0rem;
    }
    .list-item {
        /* display: grid;
        grid-template-columns: [icon-start] 60px [icon-end] 0.25rem [text-start] 1fr [text-end];
        grid-template-rows: 90px auto; */
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
        width: 100%;
        /* width: clamp(250px, 100%, 300px); */
        flex-grow: 1;
    }
    .list-item .list-icon {
        width: 60px;
        margin-bottom: 1rem;
    }


    [data-image="brewer"] div { display: none;}

    [data-image="brewer"] {
        background-image: url(../img/Brewer/CraftBrewer.jpg);
        background-size: cover;
        background-position: center;
    }
}


@keyframes fadeInLastChance {
    0% {
        opacity: 0;
        pointer-events: none;
    }
    100% {
        opacity: 1;
        pointer-events: all;
    }
}


@keyframes fadeInLastChanceChildren {
    0% {
        opacity: 0;
        pointer-events: none;
    }
    100% {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
}


#lastchance {
    opacity: 0;
    pointer-events: none;
	display: block;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 300px;
	z-index: 200;
    padding: 100px 0;
    z-index: 10000;
}

#lastchance p { color: white; }
body[data-lastchance="showing"]::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #aa47c3;
    backdrop-filter: blur(10px);
    z-index: 9000;
}


body[data-lastchance="showing"] #lastchance {
    opacity: 1;
    pointer-events: all;
    animation: fadeInLastChance 500ms ease-in-out;
    animation-fill-mode: forwards;
}

.before-you-go {
    position: fixed;
    top: calc(100px - 3rem);
    left: 100px;
    background-color: hsl(283, 0%, 100%);
    color: hsl(283, 100%, 14%);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
    border-radius: 10px 10px 0 0;
}

#lastchance p.before-you-go {
    color:hsl(283, 100%, 14%);
}

.lastchance-wrap {
	background-color: hsl(283, 100%, 14%);
	color: white;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    border-top: 5px solid white;
    border-bottom: 5px solid white;

}

.lastchance-content {
	/* background-color: hsl(283, 100%, 14%); */
	/* color: white; */
    display: grid;
    grid-template-columns: 5fr 2fr;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;

    /* border-top: 5px solid white; */
    /* border-bottom: 5px solid white; */
    margin: 0 auto;
    max-width: 1156px;
    margin: 0 auto;
}

.lastchance-funding-circle-cashback-card {
    height: 2rem;
    object-fit: contain;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.lastchance-funding-circle-cashback-card p {
    margin: 0;
}

.lastchance-funding-circle-cashback-card img {
    height: 2rem;
    margin-left: 1rem;
    height: 40px;
    margin-bottom: 0px;
}

.lastchance-content-left {
    opacity: 0;
    width: 540px;
    margin-left: auto;
}

#lastchance-intro {
    line-height: 1.2;
    margin-bottom: 2rem;
}

#lastchance-outro {
    line-height: 1.2;
    margin-top: 2rem;
}

.lastchance-content-left :nth-child(1) { opacity: 0; transform: translateY(30px);}
.lastchance-content-left :nth-child(2) { opacity: 0; transform: translateY(30px);}
.lastchance-content-left :nth-child(3) { opacity: 0; transform: translateY(30px);}
.lastchance-content-left :nth-child(4) { opacity: 0; transform: translateY(30px);}

body[data-lastchance="showing"] .lastchance-content-left {
    animation: fadeInLastChanceChildren 500ms ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 200ms;
}
body[data-lastchance="showing"] .lastchance-content-left :nth-child(1) {
    animation: fadeInLastChanceChildren 500ms ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 600ms;
}
body[data-lastchance="showing"] .lastchance-content-left :nth-child(2) {
    animation: fadeInLastChanceChildren 500ms ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1000ms;
}
body[data-lastchance="showing"] .lastchance-content-left :nth-child(3) {
    animation: fadeInLastChanceChildren 500ms ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1400ms;
}
body[data-lastchance="showing"] .lastchance-content-left :nth-child(4) {
    animation: fadeInLastChanceChildren 500ms ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1800ms;
}

.lastchance-content-left p {
    font-size: 2rem;
}


.lastchance-content-left a {
    /*/ style as a cta button /*/
    display: flex;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    background-color: white;
    color: hsl(283, 100%, 14%);
    text-decoration: none;
    font-weight: 500;
    margin-top: 2rem;
    border-radius: 6px;
    border: 2px solid transparent;
    margin-right: auto;
    width: 400px;
}


#lastchance .lastchance-content-left a p {
    font-size: 1.2rem;
    margin: 0;
    display: block;
    margin-top: 0.1rem;
    color:hsl(283, 100%, 14%)
}

.lastchance-content-left a [data-icon] {
    margin-left: 0.5rem;
    object-fit: contain;
    margin-right: 1rem;
}
.lastchance-content-left a [data-icon] svg {
    height: 100%;
    object-fit: contain;
    height: 2rem;
    aspect-ratio: 1 / 1;
}
.lastchance-content-left a [data-icon] svg path {
    fill:hsl(283, 100%, 14%);
    transition: fill 200ms linear;
}
.lastchance-content-left a:hover [data-icon] svg path {
    fill:hsl(283, 0%, 100%);
}


#lastchance .lastchance-content-left a:hover {
    background-color: hsl(283, 100%, 14%);
    color: white;
    border: 2px solid white;
}

#lastchance .lastchance-content-left a:hover p {
    color: white;
}


.lastchance-content-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    width: 400px;
}
.lastchance-content-right-clipped {
    position: absolute;
    overflow: hidden;
    top: 0;
    bottom: 0;
    right: 0px;
    width: 400px;
    overflow: hidden;
}
.lastchance-content-right-clipped img {
    height: 450px;
    object-fit: contain;
    transform-origin: center;
    transform: rotate(-5deg);
    position: absolute;
    top: 20px;
    right: 40px;

}

@keyframes rotateIn1 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(15deg);
    }
}

@keyframes rotateIn2 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(5deg);
    }
}

@keyframes rotateIn3 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-5deg);
    }
}

.lastchance-content-right-clipped img:nth-of-type(1) {
    transform: rotate(0deg);
}

.lastchance-content-right-clipped img:nth-of-type(2) {
    transform: rotate(5deg);
}


body[data-lastchance="showing"] .lastchance-content-right-clipped img:nth-of-type(1) {
    animation: rotateIn1 500ms ease-in-out;
    animation-delay: 200ms;
    animation-fill-mode: forwards;
}
body[data-lastchance="showing"] .lastchance-content-right-clipped img:nth-of-type(2) {
    animation: rotateIn2 500ms ease-in-out;
    animation-delay: 400ms;
    animation-fill-mode: forwards;
}

.lastchance-content-right-overflow {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0;
    left: 0px;
    transition: transform 500ms ease-in-out;
    object-fit: contain;
    z-index: 2;
}

.lastchance-content-right img {
    height: 450px;
    object-fit: contain;
    transform-origin: center;
    transform: rotate(0deg);
    position: absolute;
    top: 20px;
    right: 0px;
    transition: all 500ms ease-in-out;
}
body[data-lastchance="showing"] .lastchance-content-right img {
    /* animation: rotateIn3 500ms ease-in-out; */
    /* animation-delay: 600ms; */
    /* animation-fill-mode: forwards; */

}

@media (max-width: 1000px) {
    #lastchance {
        height: auto;
        padding: 2rem 0;
    }
    .lastchance-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        background-image: url("../img/FlexiPay/Flexipay Card Transparent.svg");
        background-repeat: no-repeat;
        background-position: center 100px;
    }
    .lastchance-content-right,
    .lastchance-content-right-clipped {
        position: relative;
        width: 100%;
        height: auto;
        display: none !important;
        justify-content: center;
    }
    .lastchance-content-right-clipped img,
    .lastchance-content-right img {
        position: relative;
        transform: rotate(0deg);
        width: 200px;
        height: auto;
    }
}

@media (max-width: 690px) {
    .lastchance-content-left {
        width: auto;
        margin-right: auto;
    }
    .lastchance-content-left p {
        font-size: 1.4rem;
    }
    .lastchance-content-left a {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}


#lastChanceClose {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1099;
}
#lastChanceClose button {
    background: transparent;
    border: 1px solid white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 1.0rem;
    color: white;
    cursor: pointer;
}

#lastchance .list-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
#lastchance .list-item {
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 0 0 0 2rem;
    width: 400px;

}

#lastchance .list-item p {
    margin: 0;
    font-size: 1.2rem;
    padding: 0;

    line-height: 1.2;
}

#lastchance .list-item [data-icon] {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    background: hsl(288, 51%, 52%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 6px;
}
#lastchance .list-item [data-icon] path {
    fill: hsl(283, 100%, 14%);
}

#lastchance-outro { text-wrap: balance; }