/* 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-about {
    width: 50%;
    font-weight: 300;
    line-height: 1.6;
}

.footer-nav {
    width: 25%;
}

@media (max-width: 991px) {
    .footer-about { 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-about p {
    margin-bottom: 0;
}



.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-video-single */
.video-single__card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.video-single__title {
    display: inline;
    margin: 0;
    
    font-size: var(--h3-title);
}


.video-single__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


.video-single__poster {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
}
.video-single__poster > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-single__poster:hover .video-btn,
.video-single__poster:focus-visible .video-btn {
    background-color: rgba(255, 210, 0, 0.8);
}

.video-single__body {
    display: flex;
    flex-direction: column;
}


.video-single__transcript {
    padding-top: 0;
    line-height: 2;
    font-size: 120%;
    text-align: justify;
}


.video-single__transcript span.article {
    font-size: 60%;
}


.video-single__summary {
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
/* comra-yt-video-link */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: flex-start;
}

.video-iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}

.video-btn {
    box-sizing: unset;
    background-color: rgba(0, 0, 0, 0.8);
    margin: 20px;
    position: relative;
    width: 40px;
    height: 40px;
    border: white 0.5px solid;
    border-radius: 3px;
    cursor: pointer;
    transition: border 0.1s ease-in-out;
}

.video-btn:hover {
    background-color: rgba(255, 210, 0, 0.8);
}

.video-btn .bar {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 0;
    width: 3px;
    height: 20px;
    border-radius: 3px;
    background-color: white;
    transform-origin: center;
    transition: transform 0.4s ease-in-out, background 0.1s ease-in-out;
}

.video-btn.pause .bar-1 {
    transform: translateX(13.5px) translateY(0px) rotate(0deg);
}

.video-btn.pause .bar-2 {
    transform: translateX(24px) translateY(0px) rotate(0deg);
}

.video-btn.play .bar-1 {
    transform: translateX(20px) translateY(-5px) rotate(-55deg);
}

.video-btn.play .bar-2 {
    transform: translateX(20px) translateY(5px) rotate(-125deg);
}
