/* 
    Elements 
*/

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    font-weight: 500;
    font-family: Inter, Helvetica, Arial, sans-serif;
    margin: 0% 1rem;
}

.page-min-height {
    min-height: 100vh;
}

head

h1,
h2,
h3,
h4,
h5,
h6,
p,
caption,
a {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 300ms;
}

a.link {
    text-decoration: underline;
}

a.link:hover {
    opacity: 0.7;
}

a.expand-target::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration-skip-ink: auto;
    z-index: 10;
}

button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
}

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

ul li,
ul dt,
ul dd,
dl li,
dl dt,
dl dd {
    margin: 0;
    display: block;
    height: fit-content;
}

dl dd {
    margin-bottom: 1em;
}

table th,
table tr,
table td {}


small {
    font-size: 60%;
}

strong {
    font-weight: 600;
}


address {
    font-style: normal;
}

figure {
    margin: 0;
}

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

img.expand {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;

}

img.rounded {
    border-radius: 2px;
}

video {
    width: 100%;
    height: auto;
}

caption {
    text-align: left;
}

::selection {
    background-color: rgb(50, 50, 50);
    color: white;
}

.no-scroll {
    overflow: hidden;
    
}

hr {
    width: 100%;
    border: 0;
    background-color: black;
    height: 1px;
    margin: 0;
}

.content-blocks sup {
    scroll-margin: 15rem;
}

.footnotes sup {
    scroll-margin: 10rem;
}

/* 
    Colors (c)
*/

.c-primary {
    color: var(--primaryColor);
}

.c-secondary {
    color: var(--secondaryColor);
}

.c-third {
    color: var(--thirdColor);
}

.c-darkgray {
    color: rgb(100, 100, 100);
}

.c-gray {
    color: rgb(180, 180, 180);
}

.c-lightgray {
    color: rgb(215, 215, 215);
}


/* 
    Display 
*/

.inline {
    display: inline;
}

.block {
    display: block;
}

.flex {
    display: flex
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.justify-space-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

/* Hide mobile */

.hide-mobile {
    display: none;
}

.hide-only-mobile {
    display: none;
}

.hide-desktop {
    display: block;
}

/* Tablet (> 768px) */
@media screen and (min-width: 48em) {
    .hide-only-mobile {
        display: block;
    }

    .hide-mobile {
        display: block;
    }

    .hide-desktop {
        display: none;
    }

    .header-search svg {
        width: 1.5rem;
        height: auto;
        float: right;
        margin-right: 1rem;
    }
}

/* Laptop (> 1024px) */
@media screen and (min-width: 64em) {
    .hide-mobile {
        display: block;
    }

    .hide-desktop {
        display: none;
    }
}

/* Float */

.float-right {
    float: right;
}

.float-left {
    float: left;
}


/* 
    Padding 
*/

.pad-xs {
    padding: 16px 1rem;
}

.pad-s {
    padding: 20px 1.25rem;
}

.pad-m {
    padding: 32px 2rem;
}

.pad-l {
    padding: 48px 3rem;
}

.pad-xl {
    padding: 64px 4rem;
}

/* 
    Margins 
*/

/* Margins Main, Footer */

.mar-bot-main {
    margin-top: 6em;
}

.mar-top-footer {
    margin-top: 15em;
}

/* Margins Sizes */

.mar-xs {
    margin: 12px;
}

.mar-s {
    margin: 16px;
}

.mar-m {
    margin: 32px;
}

.mar-l {
    margin: 48px;
}

.mar-xl {
    margin: 64px;
}

.mar-top-xxs {
    margin-top: 0.2rem;
}

.mar-top-xs {
    margin-top: 0.4rem;
}

.mar-top-s {
    margin-top: 1rem;
}

.mar-top-m {
    margin-top: 2rem;
}

.mar-top-l {
    margin-top: 3rem;
}

.mar-top-xl {
    margin-top: 5rem;
}

.mar-top-xxl {
    margin-top: 9rem;
}

.mar-bot-xxs {
    margin-bottom: 0.5rem;
}

.mar-bot-xs {
    margin-bottom: 0.75rem;
}

.mar-bot-s {
    margin-bottom: 1rem;
}

.mar-bot-m {
    margin-bottom: 2rem;
}

.mar-bot-l {
    margin-bottom: 3rem;
}

.mar-bot-xl {
    margin-bottom: 5rem;
}

.mar-bot-xxl {
    margin-bottom: 9rem;
}

.mar-right-xs {
    margin-right: 0.5rem;
}

.mar-right-s {
    margin-right: 1rem;
}

.mar-right-m {
    margin-right: 2rem;
}

.mar-right-l {
    margin-right: 3rem;
}

.mar-right-xl {
    margin-right: 4rem;
}

.mar-left-xs {
    margin-left: 0.5rem;
}

.mar-left-s {
    margin-left: 1rem;
}

.mar-left-m {
    margin-left: 2rem;
}

.mar-left-l {
    margin-left: 3rem;
}

.mar-left-xl {
    margin-left: 4rem;
}

/* Blockquote */

blockquote {
    display: block;
    margin-block-start: 0.25em;
    margin-block-end: 2.5em;
    margin-inline-start: 10px;
    margin-inline-end: 10px;
}

/* Laptop (> 1024px) */
@media only screen and (min-width: 64rem){

    blockquote {
        display: block;
        margin-block-start: 0.5em;
        margin-block-end: 2em;
        margin-inline-start: 3rem;
        margin-inline-end: 2rem;
    }
}

/* Footnotes */

.footnotes {
    margin: 0em 0px;
}

/* Laptop (> 1024px) */
@media only screen and (min-width: 64rem) {
    .footnotes {
        margin: 1em 3rem 0em 3rem;
    }
}

/* Position */

.static {
    position: static;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}


/*
    Align
*/

.align-center {
    align-items: center;
}

/*
    Opacity
*/

.op-light {
    opacity: 0.2;
}

.op-semilight {
	opacity: 0.4;
}

.op-medium {
    opacity: 0.6;
}

.op-chips {
    opacity: 0.6;
}

.op-chips:hover {
    opacity: 1 !important;
    filter: grayscale(0);
}

.op-heavy {
    opacity: 0.9;
}

/* 
    Accessibility 
*/

.sr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    /* 1 */
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    /* 2 */
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
    /* 3 */
}


/*
    Chip
*/

.chip-tag {
    padding: 0.35rem 0.8rem 0.35rem 0.8rem;
    border-radius: 6px;
}



/* 
    Grid 
*/

.index-grid {
    display: flex;
} 

.grid {
    display: grid;
    gap: 0 1.25rem;
    grid-template-columns: repeat(4, 1fr);
}

.grid-article {
    display: grid;
    column-gap: 1.25rem;
    grid-template-columns: repeat(4, 1fr);
}

.grid-col-7 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    column-gap: 1.25rem;
}

.grid-col-3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 1.25rem;
}


/* Tablet (> 576px) */
@media only screen and (min-width: 36em) {

    .grid,
    .index-grid {
        display: grid;
        grid-template-columns: repeat(16, 1fr);
        column-gap: 1.25rem;
    }

    .grid-article {
        display: grid;
        column-gap: 1.25rem;
        grid-template-columns: repeat(8, 1fr);
    }

    .grid-col-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1.25rem;
    }

}

/* Tablet (> 768px) */
@media only screen and (min-width: 48em) {

    .index-grid {
        display: grid;
        grid-template-columns: repeat(16, 1fr);
        column-gap: 1.25rem;
    }

    .grid-article {
        display: grid;
        column-gap: 1rem;
        grid-template-columns: repeat(12, 1fr);
        column-gap: 1.25rem;
        /* row-gap: 5em; */
    }
}


/* Laptop (> 1024px) */
@media only screen and (min-width: 64rem) {

}

/* 
    SVG
*/

a svg {
    width: 1.5rem;
    height: auto;
    float: right;
}

.icon-fill svg {
    width: 1.6rem;
    height: 1.6rem;
    align-self: center;
}

/* Desktop 4K */
@media only screen and (min-width: 92rem) {
    .icon-fill svg {
        width: 2.2rem;
        height: 2.2rem;
        align-self: center;
    }
}

.icon-fill svg path {
    fill: rgb(135, 135, 135) !important;
}

.icon-fill svg line {
    stroke: rgb(135, 135, 135) !important;
}

/* Fade-in */

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade-in.active {
    opacity: 1;
}

/* Hidden */


.hidden {
    display: none;
}
