/* ----------------- FONT SITEWIDE ----------------- */



html{
    font-family: 'Indivisible', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}



/* ----------------- HEADINGS ----------------- */

h1, h2, h3, h4, h5, h6,
.tecs-heading-xl, .tecs-heading-l, .tecs-heading-m, .tecs-heading-s, .tecs-heading-xs, .tecs-heading-xxs{
    font-weight: 700;
    display: block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--etc-colour-navy-8);
    letter-spacing: -0.05rem;
}

h1, .tecs-heading-xl{
    font-size: 42px;
    line-height: 1.3;
    margin-top: 30px;
    margin-bottom: 30px;  
}
@media (max-width: 640px) {
    h1, .tecs-heading-xl{
        font-size: 36px;
    }    
}

h2, .tecs-heading-l{
    font-size: 36px;
    line-height: 1.3;
    margin-top: 30px;
    margin-bottom: 20px;  
}
@media (max-width: 640px) {
    h2, .tecs-heading-l{
        font-size: 28px;
    }    
}

h3, .tecs-heading-m{
    font-size: 28px;
    line-height: 1.12;
    margin-top: 0;
    margin-bottom: 15px;  
}
@media (max-width: 640px) {
    h3, .tecs-heading-m{
        font-size: 24px;
    }    
}

h4, .tecs-heading-s{
    font-size: 24px;
    line-height: 1.12;
    margin-top: 0;
    margin-bottom: 15px;  
}
@media (max-width: 640px) {
    h4, .tecs-heading-s{
        font-size: 22px;
    }    
}

h5, .tecs-heading-xs{
    font-size: 22px;
    line-height: 1.12;
    margin-top: 0;
    margin-bottom: 15px;  
}

h6, .tecs-heading-xxs{
    font-size: 20px;
    line-height: 1.12;
    margin-top: 0;
    margin-bottom: 15px;  
}




/* ----------------- FONT COLOURS ----------------- */



/* ----------------- BODY ----------------- */


body { 
    font-weight: 400;
}

p{
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}


p.tecs-body-l{
    font-size: 1.25rem;
}



/* ----------------- LINKS ----------------- */


a{
    color: var(--etc-colour-link-text); 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: underline;
    text-decoration-thickness: max(1px, .0625rem);
    text-underline-offset: 0.1578em;
  
}

a:hover{
    text-decoration-thickness: 2px;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    -webkit-text-decoration-skip: none;
    text-decoration-skip: none;  
}

a:focus {
    outline: 3px solid transparent;
    color: #0b0c0c;
    background-color: var(--etc-colour-yellow-5);
    box-shadow: 0 -2px var(--etc-colour-yellow-5), 0 4px #0b0c0c;
    text-decoration: none;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}



/* external link  */
.tecs-external-link::after{
    content: '';
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25em;
    background-image: url(../images/icons/external.svg);
    background-repeat: no-repeat;
    background-size: 85%;
    background-position: center;
}


/* back link */
.tecs-back-link{
    color: white;
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
    margin-bottom: 30px;
}
.tecs-back-link::before{
    content: '';
    display: block;
    width: 22px; height: 22px;
    background-image: url('assets/icons/arrow-left-white.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}



