/* Global styles */
:root {
    --section-padding: 1rem;
    --content-maxWidth: calc(1234px + 2rem);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*[hidden] {
    display: none !important;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* scroll-padding-top: var(--header-height-sticky); */
}

section,
.section {
    padding: var(--section-padding);
}

.container {
    max-width: var(--content-maxWidth);
    margin: 0 auto;
}
.container.narrow {
    max-width: 820px;
}
.container.center {
    text-align: center;
}
.container.bordered {
    border: 1px solid #00000014;
    border-radius: 0.5rem;
}

.row {
    display: flex;
    flex-direction: row;
}
.col {
    display: flex;
    flex-direction: column;
    flex: 1;
}

ul, ol {
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: default;
}
a[href] {
    cursor: pointer;
}

svg {
    width: var(--_icon-width, var(--_icon-height, auto));
    height: var(--_icon-height, var(--_icon-width, auto));
    flex-shrink: 0;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
}
.button-group.center {
    justify-content: center;
}
.button-group.full-width .btn {
    width: 100%;
}
.button-group.full-width .btn.with-icon {
    justify-content: center;
}
.btn {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    transition: all 0.2s;
}
.btn, .btn span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-x: hidden;
}
.btn.with-icon {
    display: flex;
    justify-content: start;
    align-items: center;
}

.center-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto; 
}
.center-flex {
    justify-content: center;
    align-items: center;
}

img.fit, iframe.fit {
    width: 100%;
}
iframe.fit {
    aspect-ratio: 16/9;
}
.contain {
    object-fit: contain;
}

.text-content-wrapper p {
    font-size: var(--_paragraph-font-size);
    margin-bottom: var(--_paragraph-spacing);
}
.text-content-wrapper p:last-of-type {
    margin-bottom: 0;
}
.text-content-wrapper.margin-bottom {
    margin-bottom: var(--_paragraph-spacing);
}

.inline-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}
.inline-list li {
    display: inline-flex;
}

.float-left {
    float: left;
    margin-right: var(--spacing-sm);
}

.divider {
    border: 1px solid #1D1C1A1F;
}

/* Media queries */
@media only screen and (max-width: 768px) { /* mobile */ 
    .row.responsive-col {
        flex-direction: column;
    }
    .row.responsive-col-reverse {
        flex-direction: column-reverse;
    }

    .button-group.to-full-width .btn {
        width: 100%;
    }
    .button-group.to-full-width .btn.with-icon {
        justify-content: center;
    }

    .responsive-hide {
        display: none;
    }

    .float-left {
        width: 100%;
    }
}
