/*
 * Site-wide type scale for the public pages (loaded right after output.css).
 *
 * Almost every size on the site is in rem, so lowering the root size shrinks
 * text, spacing and icons together and keeps them in proportion.
 * 93.75% = 15px with the browser default of 16px, and it still follows the
 * visitor's own browser font-size setting.
 */
html {
    font-size: 93.75%;
}

/* The few fixed px sizes, restated in rem so they scale with everything else. */
.text-\[11px\] { font-size: 0.6875rem; }
.text-\[12px\] { font-size: 0.75rem; }
.text-\[13px\] { font-size: 0.8125rem; }
.text-\[14px\] { font-size: 0.875rem; }
.text-\[15px\] { font-size: 0.9375rem; }

.nav-dropdown-link { font-size: 0.8125rem; }

.sidebar-link_span,
.sidebar-link-span_active,
.sidebar-search-input { font-size: 0.9375rem; }

.profile-link,
.profile-link_active { font-size: 0.875rem; }

/* card body text that ends up too small at the new scale; matches .about-soft-card__text */
.about-pillar__text { font-size: 0.86rem; }

/* Quote boxes in page-builder sections: an icon badge instead of a «» glyph. */
.sb-evp__quote {
    margin-top: 1.6rem;
    padding-top: 1.35rem;
}

.sb-evp__mark {
    top: -0.95rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    background: linear-gradient(135deg, #36bdb4, #0c58a4);
    box-shadow: 0 8px 18px -8px rgba(0, 173, 156, 0.8);
    color: #fff;
    font-size: 0;
}

.sb-evp__mark svg {
    width: 1.05rem;
    height: 1.05rem;
    /* mirrored so the mark opens toward the RTL text */
    transform: scaleX(-1);
}

.sb-evp__quote p {
    padding-top: 0;
}
