/* 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__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


.newsletter-signup__form[data-state="done"] .newsletter-signup__status,
.newsletter-signup__form[data-state="resub"] .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__form[data-state="resub"] .newsletter-signup__status {
    border-left-color: var(--color-blue);
}

.newsletter-signup__resub {
    margin-top: var(--gap0);
    height: 48px;
    padding: 0 20px;
    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;
}

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

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

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

.newsletter-signup__note .text-link {
    color: inherit;
}
/* comra-guide-card */
.guide-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(80, 80, 80, 0.5);
    padding-bottom: var(--gap2);
}


.guide-card__block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap2);
    width: 100%;
}

.guide-card__title {
    width: 100%;
}

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


.guide-card__link .guide-card__title span {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.15em;
    transition: var(--main-transition);
}

.guide-card__link:hover .guide-card__title span,
.guide-card__link:focus-visible .guide-card__title span {
    text-decoration-thickness: 1px;
}

.guide-card__link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}


.guide-card--ebook .guide-card__link .guide-card__title span {
    text-decoration-line: none;
}


.guide-card--ebook .guide-card__title {
    font-size: calc(var(--h3-title) * 0.6);
    line-height: 1.4;
}

.guide-card--ebook .guide-card__title span {
    font-size: 100%;
}

.guide-card--ebook .guide-card__block {
    flex: 1 1 auto;
}

.guide-card--ebook .guide-card__desc {
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .guide-card--wide.guide-card--ebook .guide-card__title {
        min-height: 2.8em;
    }
}


.guide-card__desc {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap1);
    width: 100%;
    padding: var(--gap1);
    box-sizing: border-box;
    background-color: #eeeeee;
}


@media (min-width: 768px) {
    .guide-card--wide .guide-card__desc {
        gap: var(--gap2);
        padding: var(--gap2);
    }
}

.guide-card__cover {
    flex: 0 0 35%;
    min-width: 0;
}


.guide-card__cover img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: var(--fast-transition);
}


.guide-card__link:hover .guide-card__cover img,
.guide-card__link:focus-visible .guide-card__cover img {
    transform: translateY(-2px);
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.18);
}

.guide-card__highlights {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}


.guide-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap1) var(--gap2);
    width: 100%;
    margin: auto 0 0; 
    padding: 0;
    line-height: inherit;
    list-style: none;
}

.guide-card__item {
    display: flex;
    align-items: center;
    gap: var(--gap0);
    margin: 0;
    white-space: nowrap;
}

.guide-card__icon {
    height: 1em;
}

@media (prefers-reduced-motion: reduce) {
    .guide-card__link .guide-card__title span,
    .guide-card__cover img {
        transition: none;
    }

    .guide-card__link:hover .guide-card__cover img,
    .guide-card__link:focus-visible .guide-card__cover img {
        transform: none;
    }
}
/* comra-guide-reader */
.gr {
    padding: var(--gap6) var(--gap3);
}

.gr__card {
    display: flex;
    flex-direction: column;
}



.gr__head {
    padding: var(--gap4) var(--gap5) var(--gap4);
}

.gr__eyebrow {
    display: flex;
    align-items: center;
    gap: var(--gap1);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--gap2);
}

.gr__icon { width: 1.5em; }

.gr__type {
    text-transform: uppercase;
    color: var(--color-blue);
}

.gr__type:hover { text-decoration: underline; }

.gr__intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--gap3) var(--gap5);
}

.gr__text {
    flex: 1 1 24rem;
    max-width: 60ch;
}

.gr__title {
    font-size: var(--h2-title);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 var(--gap0);
}


.gr__version {
    display: inline-block;
    font-size: 0.42em;
    font-weight: 600;
    color: var(--color-light-grey);
    vertical-align: 0.35em;
    margin-left: 0.3em;
    letter-spacing: 0.02em;
}

.gr__meta {
    font-size: 0.8rem;
    color: var(--color-light-grey);
    margin: 0 0 var(--gap2);
}

.gr__highlights {
    font-size: 1rem;
    line-height: 1.55;
}

.gr__highlights p { margin: 0 0 1em; }
.gr__highlights p:last-child { margin-bottom: 0; }

.gr__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap1);
    flex: 0 0 auto;
}


.gr__download {
    gap: 0.8em;
    margin: 0;
}

.gr__size {
    font-weight: 400;
    opacity: 0.7;
}

.gr__open { font-size: 0.8rem; }


.gr__apps {
    list-style: none;
    padding: 0;
    margin: var(--gap1) 0 0;
    line-height: 1.6;
    font-size: 0.8rem;
}

.gr__apps li { margin: 0; }



.gr__reader {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(80, 80, 80, 0.25);
}

.gr__toolbar {
    display: flex;
    align-items: center;
    gap: var(--gap0);
    padding: var(--gap0) var(--gap2);
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(80, 80, 80, 0.25);
    background: #fff;
}

.gr__btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--color-text);
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
    transition: var(--fast-transition);
}

.gr__btn:hover { background: rgba(80, 80, 80, 0.08); }

.gr__btn:disabled {
    opacity: 0.3;
    cursor: default;
    background: transparent;
}

.gr__btn:focus-visible,
.gr__thumb:focus-visible,
.gr__input:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

.gr__btn svg {
    width: 1.1rem;
    height: 1.1rem;
}

.gr__counter {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4em;
    padding: 0 var(--gap0);
    white-space: nowrap;
}


.gr__pair { margin-left: -0.25em; }

.gr__input {
    width: 3.2em;
    text-align: center;
    font: inherit;
    padding: 0.25em 0.2em;
    border: 1px solid rgba(80, 80, 80, 0.35);
    border-radius: 4px;
    background: #fff;
    color: inherit;
    -moz-appearance: textfield;
}

.gr__input::-webkit-outer-spin-button,
.gr__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.gr__views {
    display: inline-flex;
    margin-left: var(--gap1);
    border: 1px solid rgba(80, 80, 80, 0.25);
    border-radius: 4px;
    padding: 2px;
    gap: 2px;
}

.gr__view {
    width: 2rem;
    height: 1.8rem;
    border-radius: 3px;
    color: var(--color-light-grey);
}

.gr__view[aria-pressed="true"] {
    background: rgba(80, 80, 80, 0.1);
    color: var(--color-text);
}

.gr__btn--expand {
    margin-left: auto;
    width: auto;
    padding: 0 0.8em;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.gr__close-label { display: none; }

.gr__btn--expand[aria-expanded="true"] .gr__expand-label { display: none; }
.gr__btn--expand[aria-expanded="true"] .gr__close-label { display: inline; }

.gr__body {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    height: clamp(480px, 78vh, 960px);
    min-height: 0;
}



.gr__thumbs {
    display: flex;
    flex-direction: column;
    gap: var(--gap1);
    padding: var(--gap1) var(--gap1) var(--gap2);
    overflow-y: auto;
    scrollbar-width: thin;
    border-right: 1px solid rgba(80, 80, 80, 0.25);
    background: #fff;
}

.gr__thumb {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4em;
    flex: 0 0 auto;
    cursor: pointer;
    font: inherit;
    font-size: 0.7rem;
    color: var(--color-light-grey);
    border-radius: 4px;
}

.gr__thumb img {
    width: auto;
    height: 5.4rem;
    max-width: 100%;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: var(--fast-transition);
}

.gr__thumb:hover img { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }

.gr__thumb[aria-current="page"] {
    color: var(--color-text);
    font-weight: 600;
}

.gr__thumb[aria-current="page"] img { outline-color: var(--color-blue); }




.gr__stage {
    position: relative;
    overflow-y: auto;
    scrollbar-width: thin;
    scroll-snap-type: y mandatory;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 100%;
    background: #e5e5e5; 
    outline: none;
}

.gr__stage:focus-visible { box-shadow: inset 0 0 0 2px var(--color-blue); }

.gr__page {
    margin: 0;
    min-height: 0;
    padding: var(--gap2);
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
}


.gr__blank { display: none; }

.gr__stage--double { grid-template-columns: 1fr 1fr; }

.gr__stage--double .gr__blank { display: block; }

.gr__stage--double .gr__page:nth-child(odd) {
    justify-content: flex-end;
    padding-right: var(--gap0);
}

.gr__stage--double .gr__page:nth-child(even) {
    justify-content: flex-start;
    padding-left: var(--gap0);
}

.gr__page img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #fff;
    box-shadow: var(--shadow-small);
    cursor: zoom-in; 
}

.gr__reader--expanded .gr__page img { cursor: default; }



.gr__cover {
    display: flex;
    justify-content: center;
    padding: var(--gap3);
    border-top: 1px solid rgba(80, 80, 80, 0.25);
    background: #e5e5e5;
}

.gr__cover img {
    width: auto;
    height: auto;
    max-height: 70vh;
    box-shadow: var(--shadow-small);
}




.gr__reader--expanded {
    position: fixed;
    inset: 0;
    z-index: 10001; 
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: #fff;
    border-top: 0;
}

.gr__reader--expanded .gr__body {
    height: 100%;
}

html.gr-lock,
html.gr-lock body {
    overflow: hidden;
}




@media (max-width: 767px) {
    
    .gr {
        padding: var(--gap6) var(--gap1);
        overflow: visible;
    }

    .gr__card { overflow: visible; }

    .gr__head {
        padding: var(--gap3) var(--gap2);
    }

    .gr__toolbar {
        position: sticky;
        top: var(--mm-header-h, 64px);
        z-index: 2;
        padding: var(--gap0) var(--gap1);
    }

    
    .gr__btn--expand { padding: 0 0.5em; }

    .gr__expand-label { display: none; }

    .gr__views { display: none; }

    .gr__body {
        display: block;
        height: auto;
    }

    .gr__thumbs { display: none; }

    .gr__stage {
        overflow: visible;
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        scroll-snap-type: none;
    }

    .gr__stage--double .gr__blank { display: none; }

    .gr__page,
    .gr__stage--double .gr__page {
        padding: var(--gap0) var(--gap1);
        justify-content: center;
    }

    .gr__page img {
        width: 100%;
        max-height: none;
    }

    
    .gr__reader--expanded .gr__toolbar { position: static; }

    
    .gr__reader--expanded .gr__body {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        height: 100%;
    }

    .gr__reader--expanded .gr__stage {
        overflow-y: auto;
        grid-auto-rows: 100%;
        scroll-snap-type: y mandatory;
    }

    .gr__reader--expanded .gr__page {
        padding: var(--gap1);
    }

    .gr__reader--expanded .gr__page img {
        width: auto;
        max-height: 100%;
    }
}
