/* comra-base */
:root {
    
    --gap1: 14px;
    --gap0: calc(var(--gap1) / 2);
    --gap2: calc(var(--gap1) * 2);
    --gap3: calc(var(--gap1) * 3);
    --gap4: calc(var(--gap1) * 4);
    --gap5: calc(var(--gap1) * 5);
    --gap6: calc(var(--gap1) * 6);
    --gap7: calc(var(--gap1) * 7);
    --gap8: calc(var(--gap1) * 8);
    --gap12: calc(var(--gap1) * 12);
    --gap14: calc(var(--gap1) * 14);

    
    --main-transition: all ease-in-out 0.5s;
    --fast-transition: all cubic-bezier(0, .5, .5, 1) 0.25s;
    --snap-transition: all cubic-bezier(0, .5, .5, 1) 0.1s;

    
    --scale-golden: 1.618;
    --scale-fifth: 1.500;
    --scale-maj-fourth: 1.414;
    --scale-min-fourth: 1.333;
    --scale-maj-third: 1.250;
    --scale-min-third: 1.200;
    --scale-maj-second: 1.125;
    --scale-min-second: 1.067;

    
    --title-scale: var(--scale-maj-fourth);
    --title-scale--1440: var(--scale-min-fourth);
    --title-scale--992: var(--scale-maj-third);
    --title-scale--768: var(--scale-maj-third);

    
    --h5-title: 1rem;
    --h4-title: calc(var(--h5-title) * var(--title-scale));
    --h3-title: calc(var(--h4-title) * var(--title-scale));
    --h2-title: calc(var(--h3-title) * var(--title-scale));
    --h1-title: calc(var(--h2-title) * var(--title-scale));
    --h0-title: calc(var(--h1-title) * var(--title-scale));

    
    --shadow-small: 0.8px 0.8px 2.2px rgba(0, 0, 0, 0.02), 2px 2px 5.3px rgba(0, 0, 0, 0.028), 3.8px 3.8px 10px rgba(0, 0, 0, 0.035), 6.7px 6.7px 17.9px rgba(0, 0, 0, 0.042), 12.5px 12.5px 33.4px rgba(0, 0, 0, 0.05), 30px 30px 80px rgba(0, 0, 0, 0.07);
    --shadow-big: 0.6px 0.6px 5.5px rgba(0, 0, 0, 0.02), 1.3px 1.3px 13.3px rgba(0, 0, 0, 0.028), 2.5px 2.5px 25px rgba(0, 0, 0, 0.035), 4.5px 4.5px 44.7px rgba(0, 0, 0, 0.042), 8.4px 8.4px 83.6px rgba(0, 0, 0, 0.05), 20px 20px 200px rgba(0, 0, 0, 0.07);

    
    --wp--preset--spacing--30: var(--gap1);
}


@media screen and (max-width: 1439px) {
    :root {
        --gap1: 13px;
        --title-scale: var(--title-scale--1440);
    }
}

@media screen and (max-width: 991px) {
    :root {
        --gap1: 12px;
        --title-scale: var(--title-scale--992);
    }
}

@media screen and (max-width: 767px) {
    :root {
        --gap1: 10px;
        --title-scale: var(--title-scale--768);
    }
}



body {
    color: var(--color-text);
    font-family: var(--font-body);
    margin: 0;
}

html {
    font-size: 125%;
    
    line-height: 1.15;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


@media screen and (max-width: 767px) {
    html {
        font-size: 112.5%;
    }
}

* {
    box-sizing: border-box;
    font-family: inherit;
}

main {
    position: relative;
}

picture {
    display: block;
}


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

svg {
    display: block;
    width: 100%;
    height: 100%;
}

figure {
    margin: 1em 0px;
}

p {
    margin-top: 0em;
    margin-bottom: 1em;
}


ul {
    padding-left: 1em;
    margin: 0;
    text-align: left;
    line-height: 2;
}

li {
    margin-bottom: 0.5em;
}


a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}



h1, h2, h3, h4, h5 {
    font-family: var(--font-body);
    font-weight: 500;
}


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

h1 { font-size: var(--h1-title); }
h2 { font-size: var(--h2-title); }
h3 { font-size: var(--h3-title); }
h4 { font-size: var(--h4-title); }
h5 { font-size: var(--h5-title); }


h6 { font-family: 'RLT'; }



:root {
    --color-grey: #333333;
    --color-yellow: #ffd200;
    --color-green: #34d600;
    --color-blue: #0098ce;
    --color-white: #ffffff;
    --color-light-grey: #8d8d8d;
    --color-red: #fb5454;
    --color-text: #464646;
    --color-teal: #00d2b8;
    --color-mint: #d9f8f3;

    
    --font-body: 'Open Sans', 'Open Sans Fallback', 'Open Sans Fallback Roboto', system-ui, -apple-system, sans-serif;
}



.section-wide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: calc(1920px + var(--gap6));
    width: 100%;
    padding: var(--gap6) var(--gap3);
    overflow: hidden;
    position: relative;
    z-index: 1;
    background-color: #eeeeee;
    margin: 0 auto;
    align-self: stretch;
}

.section-narrow {
    max-width: 900px;
    width: 100%;
    position: relative;
}

.section-normal {
    max-width: 1200px;
    width: 100%;
    position: relative;
}



.image-absolute {
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: transparent;
}


.section-wide.image-absolute {
    display: flex;
}

.image-absolute > img {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: none;
    min-height: 100%;
    min-width: 100%;
    z-index: -1;
}

.image-absolute-cover {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.image-absolute-cover > img {
    pointer-events: none;
    position: absolute;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.video-wrap {
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
}




.grid-wide {
    display: inline-grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
    grid-gap: var(--gap2);
    justify-content: start;
}

@media screen and (max-width: 767px) {
    .grid-wide {
        grid-template-columns: repeat(auto-fit, minmax(250px, max-content));
    }
}

.card-white {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-small);
    transition: var(--main-transition);
}

.grid-cell {
    gap: var(--gap2);
    height: 100%;
    max-width: 100%;
}

.gap-1 {
    gap: var(--gap1);
}



span.text-3-lines,
span.text-4-lines {
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    padding-bottom: 0.1em;
}

span.text-3-lines { -webkit-line-clamp: 3; }
span.text-4-lines { -webkit-line-clamp: 4; }



.article-badge {
    font-weight: 600;
    font-size: 0.7rem;
    color: #fff;
    text-transform: uppercase;
    padding: 0.25em 0.5em;
    text-decoration: none !important;
    line-height: 1;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
}





h1, h2, h3 { cursor: default; }

.light-header { font-weight: 300; }
span.light-header { display: flex; }


.title-subdued { font-size: clamp(1.5rem, 2.2vw, 2.5rem); font-weight: 400; }
.title-subdued .light-header { font-weight: 400; }
@media screen and (max-width: 991px) {
    .title-subdued { font-size: clamp(1.5rem, 3.6vw, 2.5rem); }
}
@media screen and (max-width: 767px) {
    .title-subdued { font-size: clamp(1.4rem, 6vw, 2.2rem); }
}


.two-column { display: flex; flex-direction: row; padding: 0; }
@media (max-width: 991px) { .two-column { flex-direction: column; } }


.center-child {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.CTA-white {
    position: relative;
    padding: 1.5rem 1.7rem;
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
    font-family: var(--font-body);
    font-weight: 800;
    display: inline;
    margin: var(--gap2);
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    color: #fff;
    background: radial-gradient(ellipse at 50% 50%, rgba(70,70,70,0.4) 0%, rgba(255,255,255,0.6) 75%, rgba(255,255,255,0.6) 100%);
    transition: var(--main-transition);
}

a:hover .CTA-white {
    background-color: rgba(70, 70, 70, 0.5);
}


.opacity-front { opacity: var(--op-front); }
.opacity-back  { opacity: var(--op-back); text-decoration: underline; }



a.text-link {
    font-weight: bolder;
    transition: var(--main-transition);
    position: relative;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
}

a.text-link:hover {
    text-decoration-thickness: 1px;
}

.svg-icon {
    height: 3rem;
}

.superscript {
    font-size: 0.7em;
    position: relative;
    top: -0.5em;
}

.text-medium {
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 600;
}

.text-small { font-size: 0.9rem; }
.text-fine  { font-size: 0.8rem; }
.text-bold  { font-weight: 600; }

.smaller { text-align: center; }

span.smaller { font-size: 70%; display: inline-block; }

.margin-3  { margin-bottom: var(--gap3); }
.padding-2 { padding: var(--gap2); }

.resource-title {
    display: flex;
    font-weight: 200;
    width: 100%;
    margin: 0 0 var(--gap3);
    padding-right: var(--gap3);
}


h1.resource-title:not(.resources-hub__intro-title) {
    font-size: var(--h2-title);
}

.more-resource-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: var(--gap3);
}


span.article {
    font-size: 65%;
    display: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    margin-top: 2em;
    margin-bottom: 0.5em;
}


.button-primary,
.woocommerce .button-primary.button,
.button-primary.button {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    flex-grow: 0 !important;
    margin-bottom: 0.3rem;
    line-height: 1.2;
    text-align: center;
    background-color: rgba(48, 48, 48, 1);
    border: none !important;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0 !important;
    border-radius: 0;
    font-size: 12px;
    text-transform: uppercase;
    transition: var(--main-transition);
}

.button-primary:hover,
.woocommerce .button-primary.button:hover,
.button-primary.button:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}



.page-default {
    display: flex;
    flex-direction: column;
    gap: var(--gap3);
}


.page-default > h1 {
    font-size: var(--h2-title);
}

.page-default__content {
    font-size: 1.4rem;
    line-height: 1.8;
    font-weight: 600;
}



span.larger { font-size: 110%; display: inline-block; }


.column-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    gap: var(--gap1);
}


.CTA-green {
    position: relative;
    padding: 1.1rem 1.3rem;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    display: inline;
    margin: var(--gap2);
    text-transform: uppercase;
    text-decoration: underline;
    line-height: 1;
    text-align: center;
    color: #00ff00;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 75%, rgba(0, 0, 0, 0.5) 100%);
    transition: var(--main-transition);
}

a:hover .CTA-green { background-color: rgba(70, 70, 70, 0.5); }



.text-large { font-size: 2rem; }
@media (max-width: 767px) { .text-large { font-size: 1.7rem; } }

.text-accent { font-weight: 500; }

span.smallest { font-size: 60%; }
.smallest { font-weight: 600; }

span.text-2-lines,
span.text-5-lines {
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    padding-bottom: 0.1em;
}

span.text-2-lines { -webkit-line-clamp: 2; }
span.text-5-lines { -webkit-line-clamp: 5; }


.title {
    font-family: 'RLT-extended';
    font-weight: 200;
}

span.title.accent {
    font-weight: bolder;
    font-style: italic;
}

span.title.sub { font-size: 0.5em; }

.salmon { color: #ff8672; }
.pale-green { color: var(--color-teal); }


.title-subdued { font-size: clamp(1.5rem, 2.2vw, 2.5rem); font-weight: 400; }
.title-subdued .light-header { font-weight: 400; }
@media screen and (max-width: 991px) {
    .title-subdued { font-size: clamp(1.5rem, 3.6vw, 2.5rem); }
}
@media screen and (max-width: 767px) {
    .title-subdued { font-size: clamp(1.4rem, 6vw, 2.2rem); }
}
/* comra-site-footer */
.color-bar-footer {
    display: block;
    height: 3px;
    width: 100%;
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--gap6) 0;
}

@media (max-width: 1200px) {
    .site-footer {
        padding-left: var(--gap3);
        padding-right: var(--gap3);
    }
}



.footer-column {
    display: flex;
    flex-direction: row;
    gap: var(--gap3);
    width: 100%;
    max-width: 1200px;
    padding: var(--gap2) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

@media (max-width: 991px) {
    .footer-column {
        flex-wrap: wrap;
    }
}

.footer-menu-heading {
    padding: 0 0 1rem 0;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}



.footer-newsletter {
    width: 50%;
}

.footer-nav {
    width: 25%;
}

@media (max-width: 991px) {
    .footer-newsletter { width: 100%; }
    .footer-nav   { width: 45%; }
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}


.footer-menu li {
    display: flex;
}

.footer-menu a {
    display: flex;
    line-height: 1.4;
    font-weight: 400;
    text-decoration: underline;
    color: inherit;
}



.footer-contact,
.footer-products {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: var(--gap0);
}

.footer-legal  { width: 20%; }
.footer-social { width: 30%; }

@media (max-width: 991px) {
    .footer-contact,
    .footer-products,
    .footer-legal,
    .footer-social {
        width: 45%;
    }
}

@media (max-width: 767px) {
    .footer-contact,
    .footer-products {
        width: 100%;
    }
    .footer-legal  { width: 35%; }
    .footer-social { width: 55%; text-align: left; }
}

@media (max-width: 479px) {
    .footer-legal,
    .footer-social {
        width: 100%;
    }
}

.contact-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--gap1);
    text-align: left;
}

.contact-links .svg-icon {
    width: 1.5em;
    height: auto;
}

.contact-links a {
    font-weight: 400;
}

.footer-products-list {
    display: flex;
    flex-direction: row;
}

.footer-products-list a {
    margin: 0 var(--gap0) var(--gap0) var(--gap0);
}


.footer-products-list img {
    width: 70px;
    height: 70px;
    display: block;
}

.footer-social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--gap1);
    text-align: left;
}

.footer-social-links img {
    height: 35px;
}



.footer-lower-column {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--gap6);
    width: 100%;
    max-width: 1200px;
    padding: var(--gap2) 0;
}

.footer-copyright {
    width: 75%;
    display: flex;
    justify-content: center;
}

.footer-copyright p {
    font-size: 0.7rem;
    line-height: 1.5;
    margin: 0;
}

.footer-rlt {
    width: 25%;
    display: flex;
    justify-content: center;
}

.footer-rlt a {
    width: 100%;
}

img.RLT-logo {
    width: 100%;
}

@media (max-width: 991px) {
    .footer-lower-column {
        align-items: flex-end;
        text-align: right;
    }
    .footer-copyright { width: 65%; }
    .footer-rlt {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        order: 4;
        width: 35%;
    }
}

@media (max-width: 767px) {
    .footer-lower-column {
        flex-direction: column;
        align-items: center;
        gap: var(--gap3);
        text-align: center;
        padding-top: 40px;
        padding-bottom: 10px;
    }
    .footer-copyright {
        flex-direction: column;
        display: flex;
        text-align: left;
        width: 100%;
    }
    .footer-rlt {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 50%;
        align-self: flex-end;
    }
}

@media (max-width: 479px) {
    .footer-lower-column {
        gap: var(--gap1);
    }
}
/* comra-newsletter-signup */
.newsletter-signup {
    font-weight: 300;
}

.newsletter-signup__lead {
    margin: 0 0 var(--gap1);
    line-height: 1.6;
}

.newsletter-signup__form {
    max-width: 30rem;
}

.newsletter-signup__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.newsletter-signup__fields[hidden] {
    display: none;
}

.newsletter-signup__names {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

@media (max-width: 339px) {
    .newsletter-signup__names {
        grid-template-columns: minmax(0, 1fr);
    }
}

.newsletter-signup__email {
    display: flex;
}

.newsletter-signup__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}


.newsletter-signup__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--color-text);
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-text);
    font: 400 16px/1.2 var(--font-body);
}

.newsletter-signup__email .newsletter-signup__input {
    border-right: none;
}

.newsletter-signup__input::placeholder {
    color: var(--color-light-grey);
}

.newsletter-signup__input:focus-visible {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: inset 0 0 0 1px var(--color-blue);
}

.newsletter-signup__input[aria-invalid="true"] {
    border-color: var(--color-red);
    box-shadow: inset 0 0 0 1px var(--color-red);
}

.newsletter-signup__button {
    position: relative;
    flex: 0 0 auto;
    width: 136px;
    height: 48px;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background-color: rgba(48, 48, 48, 1);
    color: var(--color-white);
    font: 700 12px/1.2 var(--font-body);
    text-transform: uppercase;
    cursor: pointer;
    transition: width 0.25s cubic-bezier(0, .5, .5, 1), background-color 0.25s;
}

.newsletter-signup__button-text,
.newsletter-signup__button-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    transition: opacity 0.2s;
}

.newsletter-signup__button-arrow {
    opacity: 0;
}


.newsletter-signup__email:has(.newsletter-signup__input:focus, .newsletter-signup__input:not(:placeholder-shown)) .newsletter-signup__button {
    width: 48px;
}

.newsletter-signup__email:has(.newsletter-signup__input:focus, .newsletter-signup__input:not(:placeholder-shown)) .newsletter-signup__button-text {
    opacity: 0;
}

.newsletter-signup__email:has(.newsletter-signup__input:focus, .newsletter-signup__input:not(:placeholder-shown)) .newsletter-signup__button-arrow {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .newsletter-signup__button,
    .newsletter-signup__button-text,
    .newsletter-signup__button-arrow {
        transition: none;
    }
}

.newsletter-signup__button:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.newsletter-signup__button:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

.newsletter-signup__button:disabled {
    cursor: progress;
    background-color: var(--color-light-grey);
}

.newsletter-signup__status {
    margin: 0;
    font-size: 0.8rem;
}

.newsletter-signup__status:not(:empty) {
    margin-top: var(--gap0);
}

.newsletter-signup__form[data-state="error"] .newsletter-signup__status {
    color: #c62828;
}


.newsletter-signup__form[data-state="done"] .newsletter-signup__status {
    margin-top: 0;
    padding-left: var(--gap1);
    border-left: 3px solid var(--color-green);
    font-size: inherit;
    font-weight: 400;
}

.newsletter-signup__note {
    margin: var(--gap0) 0 0;
    font-size: 0.7rem;
}

.newsletter-signup__note .text-link {
    color: inherit;
}
/* comra-term-archive-header */
.term-archive-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: var(--gap3);
}


.term-archive-header__title span {
    font-size: 60%;
    font-weight: 600;
}


.term-archive-header__title--flat {
    font-size: var(--h2-title);
}


.term-archive-header__siblings {
    margin-bottom: var(--gap3);
}


.term-archive-header__terms a {
    font-weight: 400;
    font-size: 0.5rem;
    color: #fff;
    text-transform: uppercase;
    background: var(--color-text);
    padding: 4px 10px;
    line-height: 2;
    border-radius: 4px;
    white-space: nowrap;
}
/* comra-archive-pagination */
.archive-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
}


.archive-pagination__pages {
    display: block;
    font-size: 12px;
}

.archive-pagination .page-numbers {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-blue);
    aspect-ratio: 1;
    padding: 0 0.5rem;
}

.archive-pagination .page-numbers.current {
    color: #fff;
    background-color: var(--color-blue);
}

.archive-pagination .page-numbers.prev,
.archive-pagination .page-numbers.next {
    padding: 0;
}
/* comra-faq-list */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--gap3);
    width: 100%;
}


.faq-list__item {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.faq-list__question,
.faq-list__answer {
    display: flex;
    flex-direction: column;
}


.faq-list__question-text,
.faq-list__answer-text {
    display: inline;
}


.faq-list--archive h2 {
    font-size: 1.3rem;
    margin-top: 0.7rem;
}

.faq-list--archive h3 {
    font-size: 1.2rem;
    margin-top: 0.6rem;
}

.faq-list--archive h4 {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}
