@import url("theme_settings/theme_settings.css");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap");

/* ===== TOKENS ===== */
:root {
    --color-1:      var(--color-1-theme, #006D30);
    --color-2:      var(--color-2-theme, #1A1A1A);
    --color-over-1: var(--color-over-1-theme, #FFFFFF);
    --color-over-2: var(--color-over-2-theme, #FFFFFF);
    --color-1-isDark: var(--color-1-theme-isDark, 1);
    --color-2-isDark: var(--color-2-theme-isDark, 1);

    --color-1-hover: color-mix(in srgb, var(--color-1), white 15%);
    --color-2-hover: color-mix(in srgb, var(--color-2), white 15%);

    --font-heading: 'Roboto Slab', serif;
    --font-body:    'Roboto', sans-serif;

    --size-sm: 48rem;
    --size-md: 64rem;
    --size-lg: 80rem;
    --size-xl: 120rem;

    --content-max-width: 80rem;
    --section-pad-x: clamp(1rem, 5vw, 4rem);
    --section-pad-y: 3rem;
    --header-bar-h: 5.5rem;
    --topbar-h: 3.75rem;
}

/* ===== BASE ===== */
html { height: 100%; overflow-x: clip; }

body {
    margin: 0;
    min-height: 100%;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: #FAFAFA;
}

.site-header,
.site-footer { flex: none; }
#content_main { flex: 1 0 auto; width: 100%; box-sizing: border-box; }

body:has(.homepage) #content_main {
    width: 100%;
    max-width: none;
    /* header sits above the hero with a gap rather than overlaying it: a color-2
       band (1.5rem) then a thin color-1 strip (0.375rem), both in the top padding */
    padding: 1.875rem 0 0;
    margin: 0;
    background: linear-gradient(var(--color-2) 0 1.5rem, var(--color-1) 1.5rem);
}

#content_main {
    --content-pad-x: clamp(0.5rem, 5%, 3rem);
    --content-pad-y: 1.5rem;
    padding: var(--content-pad-y) var(--content-pad-x);
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    background-color: white;
}

.hidden-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

:where(.homepage) :where(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

:where(.homepage) :where(h2) {
    font-size: 2.75rem;
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
}

.pageTitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.75rem;
    margin-block: 1rem 1.5rem;
}

/* ===== HEADER ===== */
.site-header {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.35s, top 0.35s, margin 0.35s, box-shadow 0.35s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Scrolled state — slide header up so topbar goes off-screen */
.header--scrolled {
    top: calc(-1 * var(--topbar-h));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.header--scrolled .header-bar {
    background-color: var(--color-1);
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.header--scrolled .header-bar__inner { min-height: 2.75rem; }
.header--scrolled .header-logo__img { height: 2.25rem; }
.header--scrolled .header-logo__name { font-size: 1.25rem; }

/* Topbar — visually at top via order: -1 */
.topbar { order: -1; background-color: #fff; color: #333; border-bottom: 1px solid #e0e0e0; }
.topbar__inner {
    max-width: var(--size-xl);
    margin: 0 auto;
    padding: 0.375rem var(--section-pad-x);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.8125rem;
    min-height: 3rem;
    padding-right: 4rem;
}
body .topbar a { color: #333; }
body .topbar__links a { text-decoration: underline; }
body .topbar a:hover,
body .topbar a:focus-visible { text-decoration: underline; color: var(--color-1); }

.topbar__cta ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin: 0;
    padding: 0;
}
body .topbar__cta a {
    display: block;
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 0.25rem 0.875rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
body .topbar__cta a:hover,
body .topbar__cta a:focus-visible {
    background-color: var(--color-1);
    color: var(--color-over-1);
    border-color: var(--color-1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}
.topbar__links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    margin: 0;
    padding: 0;
    font-weight: 700;
}

.topbar__notice {
    font-size: 0.6875rem;
    font-style: italic;
    opacity: 0.85;
    flex-basis: 100%;
}

.topbar__tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.topbar__search { display: none; }
@media (min-width: 48rem) {
    .topbar__notice { flex-basis: auto; }
    /* Regroup the topbar links beside the search: move the flex auto-margin off
       the tools cluster and onto the links, so both sit at the right edge. */
    .topbar__links { margin-left: auto; }
    .topbar__tools { margin-left: 0; }
    .topbar__search {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    .topbar__search input {
        padding: 0.25rem 0.5rem;
        border: 1px solid #ccc;
        border-radius: 0;
        background: #f5f5f5;
        color: #333;
        font-size: 0.8125rem;
        font-family: var(--font-body);
        width: 10rem;
    }
    .topbar__search input::placeholder { color: #999; }
    .topbar__search button {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        color: #333;
    }
    .topbar__search button::after {
        font-family: 'Material Symbols Outlined';
        font-variation-settings: 'FILL' 1;
        content: 'search';
        font-size: 1.25rem;
    }
}

#google_translate_element { display: none; }
@media (min-width: 48rem) {
    #google_translate_element {
        display: block;
        background-color: white;
        padding: 0.125rem 0.375rem;
        border-radius: 0;
    }
}

/* Header bar — logo + desktop nav */
.header-bar {
    padding: 0.75rem var(--section-pad-x);
    background-color: var(--color-1);
    transition: background-color 0.35s, padding 0.35s;
}
.header-bar__inner {
    max-width: var(--size-xl);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4rem;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.header-logo__img {
    height: 3.5rem;
    width: auto;
    transition: height 0.3s;
    /* drop-shadow (not box-shadow) so the shadow follows the logo's alpha shape, not its image box */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
}
.header-logo__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.625rem;
    color: white;
    white-space: nowrap;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Mobile: let the school name wrap to two lines and shrink so the hamburger
   stays in the same row beside it */
@media (max-width: 63.999rem) {
    .header-bar__inner { gap: 0.75rem; }
    .header-logo { flex: 1; min-width: 0; }
    .header-logo__img { height: 2.75rem; }
    .header-logo__name {
        white-space: normal;
        font-size: 1.125rem;
        line-height: 1.15;
    }
}

/* ===== DESKTOP NAVIGATION ===== */
.desktop-nav { display: none; margin-left: auto; }
@media (min-width: 64rem) { .desktop-nav { display: block; } }

.desktop-nav .nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 0;
}

.desktop-nav .nav-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}

.desktop-nav .nav-item > a.nav-item-inner,
.desktop-nav .nav-item > div.nav-item-inner {
    padding: 1rem 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
    color: white;
}
.desktop-nav .nav-item > div.nav-item-inner { text-decoration: none; }
body .desktop-nav .nav-item > a.nav-item-inner { color: white; text-decoration: underline; }

.desktop-nav .nav-item:not(.dropdown) > a.nav-item-inner {
    padding: 1rem 0.75rem;
}

/* Overlay pattern — level 1 only */
.desktop-nav .nav-item.dropdown > a.nav-item-inner,
.desktop-nav .nav-item.dropdown > div.nav-item-inner {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 1;
    margin-right: 1.75rem;
}
.desktop-nav .nav-item.dropdown > div.nav-item-inner {
    pointer-events: none;
}

.desktop-nav .dropdown-toggle {
    display: grid;
    place-content: center;
    background: none;
    border: none;
    padding: 0 0.5rem;
    cursor: pointer;
    color: white;
}
.desktop-nav .dropdown-toggle::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    content: 'expand_more';
    font-size: 1.25rem;
    text-transform: none;
}

.desktop-nav .nav-menu > .nav-item > .dropdown-toggle {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    justify-content: flex-end;
}

/* Arrow rotates up when dropdown is open */
.desktop-nav .nav-item.dropdown > .dropdown-toggle[aria-expanded="true"]::after {
    content: 'expand_more';
    transform: rotate(180deg);
}

/* Hover/focus — level 1: underline instead of bg */
.desktop-nav .nav-item > a.nav-item-inner::after,
.desktop-nav .nav-item > div.nav-item-inner::after {
    content: '';
    display: block;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transition: transform 0.25s ease;
    margin-top: 0.125rem;
}
.desktop-nav .nav-item:hover > a.nav-item-inner::after,
.desktop-nav .nav-item:hover > div.nav-item-inner::after,
.desktop-nav .nav-item:focus-within > a.nav-item-inner::after,
.desktop-nav .nav-item:focus-within > div.nav-item-inner::after {
    transform: scaleX(1);
}

/* Sub-menu holder — level 2 */
.desktop-nav .sub-menu-holder { display: none; position: absolute; top: 100%; left: 0; min-width: 14rem; z-index: 50; }
.desktop-nav .sub-menu-holder:has(.sub-menu.show) { display: block; }
.desktop-nav .drop-left > .sub-menu-holder { left: auto; right: 0; }

.desktop-nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    background-color: white;
    border: none;
    border-top: 3px solid var(--color-1);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.desktop-nav .sub-menu-item {
    display: grid;
    grid-template-columns: 1fr;
}
.desktop-nav .sub-menu-item.dropdown {
    grid-template-columns: 1fr auto;
}

body .desktop-nav .sub-menu-item > a {
    display: block;
    padding: 0.5rem 1rem;
    color: #1A1A1A;
    text-decoration: none;
    font-size: 0.875rem;
}
body .desktop-nav .sub-menu-item > a:hover,
body .desktop-nav .sub-menu-item > a:focus-visible {
    background-color: #f5f5f5;
    color: var(--color-1);
    border-left: 3px solid var(--color-1);
    padding-left: calc(1rem - 3px);
}
.desktop-nav .sub-menu-item > div.nav-item-inner {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
}

.desktop-nav .sub-menu-item.dropdown > .dropdown-toggle {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    padding: 0 0.5rem;
}
.desktop-nav .sub-menu-item > .dropdown-toggle:hover,
.desktop-nav .sub-menu-item > .dropdown-toggle:focus-visible {
    background-color: var(--color-1);
    color: var(--color-over-1);
}

.desktop-nav .sub-menu-holder { grid-column: 1 / -1; }

/* Level-3 sub-menus */
.desktop-nav .sub-menu .sub-menu { display: none; position: absolute; top: 0; left: 100%; min-width: 14rem; }
.desktop-nav .sub-menu .sub-menu.show { display: block; }
.desktop-nav .drop-left .sub-menu-item.dropdown > .sub-menu { right: 100%; left: auto; }

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav { position: static; }
@media (min-width: 64rem) { .mobile-nav { display: none; } }

.menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #333;
}
@media (min-width: 64rem) { .menu-toggle { display: none; } }
.menu-toggle::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    content: 'menu';
    font-size: 1.75rem;
    text-transform: none;
}
.menu-toggle[aria-expanded="true"]::after { content: 'close'; }

.mobile-nav .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 90; background-color: white; box-shadow: 0 4px 12px rgba(0,0,0,0.15); max-height: 80vh; overflow-y: auto; list-style: none; margin: 0; padding: 0.5rem 0; }
.mobile-nav .nav-menu.show { display: block; }

.mobile-nav .nav-item { display: grid; grid-template-columns: 1fr; }
.mobile-nav .nav-item.dropdown { grid-template-columns: 1fr auto; }

body .mobile-nav .nav-item > a.nav-item-inner,
.mobile-nav .nav-item > div.nav-item-inner {
    display: block;
    padding: 0.75rem 1rem;
    color: #1A1A1A;
    font-size: 1rem;
    font-weight: 500;
}
.mobile-nav .nav-item > div.nav-item-inner { text-decoration: none; }
body .mobile-nav .nav-item > a.nav-item-inner { text-decoration: underline; }
body .mobile-nav .nav-item > a.nav-item-inner:hover,
body .mobile-nav .nav-item > a.nav-item-inner:focus-visible {
    background-color: var(--color-1);
    color: var(--color-over-1);
}

.mobile-nav .dropdown-toggle {
    display: grid;
    place-content: center;
    background: none;
    border: none;
    border-left: 1px solid #e0e0e0;
    padding: 0 1rem;
    cursor: pointer;
    color: #1A1A1A;
}
.mobile-nav .dropdown-toggle::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    content: 'expand_more';
    font-size: 1.25rem;
    text-transform: none;
}
.mobile-nav .dropdown-toggle:hover,
.mobile-nav .dropdown-toggle:focus-visible {
    background-color: var(--color-1);
    color: var(--color-over-1);
}

.mobile-nav .sub-menu-holder { display: none; grid-column: 1 / -1; }
.mobile-nav .sub-menu-holder:has(.sub-menu.show) { display: block; }

.mobile-nav .sub-menu { list-style: none; margin: 0; padding: 0; background-color: #f5f5f5; }

.mobile-nav .sub-menu-item { display: grid; grid-template-columns: 1fr; }
.mobile-nav .sub-menu-item.dropdown { grid-template-columns: 1fr auto; }

body .mobile-nav .sub-menu-item > a {
    display: block;
    padding: 0.625rem 2rem;
    color: #1A1A1A;
    text-decoration: none;
    font-size: 0.9375rem;
}
body .mobile-nav .sub-menu-item > a:hover,
body .mobile-nav .sub-menu-item > a:focus-visible {
    background-color: var(--color-1);
    color: var(--color-over-1);
}
.mobile-nav .sub-menu-item > div.nav-item-inner {
    padding: 0.625rem 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1A1A1A;
}

.mobile-nav .sub-menu-item.dropdown > .dropdown-toggle {
    grid-column: 2;
    grid-row: 1;
}
.mobile-nav .sub-menu .sub-menu { display: none; grid-column: 1 / -1; }
.mobile-nav .sub-menu .sub-menu.show { display: block; }
body .mobile-nav .sub-menu .sub-menu .sub-menu-item > a { padding-left: 3rem; color: #1A1A1A; text-decoration: none; font-size: 0.9375rem; }
body .mobile-nav .sub-menu .sub-menu .sub-menu-item > a:hover,
body .mobile-nav .sub-menu .sub-menu .sub-menu-item > a:focus-visible { background-color: var(--color-1); color: var(--color-over-1); }

/* ===== AOS OVERRIDES =====
   AOS's own selectors are doubled (`[data-aos^=fade][data-aos^=fade]`), so
   these repeat [data-aos] to outrank them. The .aos-animate rules must restate
   `opacity: 1` — AOS bundles it with `transform: none`, so overriding only the
   transform would drop the opacity with it and leave the element invisible.
   Built-in fade distances are a fixed 100px; these restore the approved
   offsets, split transform/opacity durations, and easing. */
.pierre-motto [data-aos="fade-right"][data-aos][data-aos] {
    transform: translate3d(-60px, 0, 0);
    transition-property: opacity, transform;
    transition-duration: 1.2s, 1.4s;
    transition-timing-function: ease, cubic-bezier(0.16, 1, 0.3, 1);
}
.pierre-motto [data-aos="fade-right"][data-aos][data-aos].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.pierre-news [data-aos="fade-up"][data-aos][data-aos],
.pierre-events [data-aos="fade-up"][data-aos][data-aos] {
    transform: translate3d(0, 30px, 0);
    transition-property: opacity, transform;
    transition-duration: 0.7s, 0.8s;
    transition-timing-function: ease, cubic-bezier(0.16, 1, 0.3, 1);
}
.pierre-news [data-aos="fade-up"][data-aos][data-aos].aos-animate,
.pierre-events [data-aos="fade-up"][data-aos][data-aos].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/* ===== PAGE-ENTER ANIMATION ===== */
@keyframes pageEnterHero {
    0%   { opacity: 0; clip-path: inset(40px); }
    40%  { opacity: 1; clip-path: inset(40px); }
    100% { opacity: 1; clip-path: inset(0px); }
}
@keyframes pageEnterHeader {
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes pageEnterFromBottom {
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes pageEnterFade {
    100% { opacity: 1; }
}
@keyframes aboutSlideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}
@keyframes aboutSlideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

body:has(.pierre-hero) .pierre-hero {
    opacity: 0;
    clip-path: inset(40px round 28px);
    animation: pageEnterHero 1s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
}
body:has(.pierre-hero) .site-header {
    opacity: 0;
    transform: translateY(-100%);
    animation: pageEnterHeader 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
body:has(.pierre-hero) .pierre-hero__caption {
    opacity: 0;
    transform: translateY(2rem);
    animation: pageEnterFromBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}
body:has(.pierre-hero) .homepage > *:not(.pierre-hero):not(.pierre-motto):not(.pierre-school-links) {
    opacity: 0;
    animation: pageEnterFade 0.6s ease 0.6s forwards;
}

/* ===== HERO SHUFFLE ===== */
.pierre-hero { position: relative; }
.pierre-hero .swiper-holder { position: relative; }
.pierre-hero .swiper { width: 100%; }

.pierre-hero__figure { position: relative; margin: 0; height: 80vh; }
.pierre-hero__figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Desktop: header + hero + icon quicklinks fill exactly one viewport. Hero height =
   100vh minus topbar, header bar, the header–hero strip (1.875rem), and the
   school-links band (5.5rem card + 1.5rem×2 padding). Scoped to ≥64rem, where the
   school-links row is a single row of that fixed height. */
@media (min-width: 64rem) {
    .pierre-hero__figure {
        height: calc(100vh - var(--topbar-h) - var(--header-bar-h) - 1.875rem - 5.5rem - 3rem);
    }
}

.pierre-hero__caption {
    padding: 0.75rem 1rem;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    font-size: 1rem;
}
@media (min-width: 48rem) {
    .pierre-hero__caption {
        position: absolute;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.75);
    }
    .pierre-hero__caption.caption-position-top { top: 0; }
    .pierre-hero__caption.caption-position-bottom { bottom: 0; }
}

.pierre-hero:not(:has(.navigation-type-1)) .swiper-button-prev,
.pierre-hero:not(:has(.navigation-type-1)) .swiper-button-next { display: none; }

.pierre-hero .swiper-button-prev,
.pierre-hero .swiper-button-next {
    --swiper-navigation-color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    padding: 0;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    --swiper-navigation-size: 1.25rem;
}

.swiper-autoplay-toggle-button {
    display: none;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    color: white;
}
.swiper-autoplay-toggle-button::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    font-size: 1.25rem;
    text-transform: none;
}
.swiper-autoplay-toggle-button.playing::after { content: 'pause'; }
.swiper-autoplay-toggle-button.paused::after { content: 'play_arrow'; }
@media (min-width: 48rem) { .swiper-autoplay-toggle-button { display: block; } }

/* Navigation position — desktop only */
@media (min-width: 48rem) {
    .navigation-position-top    { --swiper-pagination-top: 0.5rem; --swiper-pagination-bottom: auto; }
    .navigation-position-bottom { --swiper-pagination-bottom: 0.5rem; --swiper-pagination-top: auto; }
    .navigation-position-left   { --swiper-pagination-left: 0.5rem; --swiper-pagination-right: auto; }
    .navigation-position-right  { --swiper-pagination-right: 0.5rem; --swiper-pagination-left: auto; }

    .pierre-hero .navigation-position-top    figcaption.caption-position-top    { padding-top:    calc(var(--swiper-pagination-bullet-size, 1rem) + 1rem); }
    .pierre-hero .navigation-position-bottom figcaption.caption-position-bottom { padding-bottom: calc(var(--swiper-pagination-bullet-size, 1rem) + 1rem); }
    .pierre-hero .navigation-position-left   figcaption                         { padding-left:   calc(var(--swiper-pagination-bullet-size, 1rem) + 1rem); }
    .pierre-hero .navigation-position-right  figcaption                         { padding-right:  calc(var(--swiper-pagination-bullet-size, 1rem) + 1rem); }
    .pierre-hero .navigation-type-1 figcaption { padding-left: calc(var(--swiper-navigation-size, 44px) + 0.5rem); padding-right: calc(var(--swiper-navigation-size, 44px) + 0.5rem); }
}

@media (max-width: 47.999rem) {
    .pierre-hero .swiper-pagination-vertical {
        flex-direction: row;
        width: auto;
    }
}

.pierre-hero {
    --swiper-pagination-color: var(--color-1);
    --swiper-pagination-bullet-size: 0.75rem;
    --swiper-pagination-bullet-inactive-color: #999;
}
.pierre-hero .numbered-pagination .swiper-pagination-bullet { place-content: center; }

/* Replace Swiper default arrows with Material Symbols */
.swiper-container .swiper-button-prev::after,
.swiper-container .swiper-button-next::after {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    font-size: var(--swiper-navigation-size);
    text-transform: none;
}
.swiper-container .swiper-button-prev::after { content: 'chevron_left'; }
.swiper-container .swiper-button-next::after { content: 'chevron_right'; }

/* ===== MOTTO SPOTLIGHT ===== */
.pierre-motto {
    position: relative;
    background-color: #ffffff;
    padding: 3rem var(--section-pad-x);
    text-align: center;
    overflow: hidden;
}
/* Watermark centered behind the motto text; overflow:hidden above clips it.
   --wm-shift is driven by JS (footer.jsp) for the vertical parallax drift on scroll */
.pierre-motto::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + var(--wm-shift, 0px)));
    width: 22.5rem;
    height: 22.5rem;
    background: url("/pics/watermark.jpg") center / contain no-repeat;
    opacity: 0.12;
    pointer-events: none;
    will-change: transform;
}
.pierre-motto__inner {
    position: relative;
    max-width: 52rem;
    margin: 0 auto;
}
.pierre-motto .pierre-motto__title {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 2rem;
}
.pierre-motto__line1,
.pierre-motto__line2 {
    display: block;
    font-size: 2.625rem;
    white-space: nowrap;
}
@media (max-width: 36rem) {
    .pierre-motto { text-align: left; }
    .pierre-motto__line1,
    .pierre-motto__line2 {
        white-space: normal;
        font-size: 2rem;
    }
    .pierre-motto__body { margin-left: 0; margin-right: 0; }
}
.pierre-motto__line1 {
    color: #1a1a1a;
}
.pierre-motto__line2 {
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
}
.pierre-motto__body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #333;
    max-width: 40rem;
    margin: 0 auto 1.5rem;
}
.pierre-motto__body p { margin: 0 0 1rem; }
body .pierre-motto__cta {
    display: inline-block;
    padding: 0.625rem 1.75rem;
    border: 2px solid var(--color-1);
    color: var(--color-1);
    background-color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0;
}
body .pierre-motto__cta:hover,
body .pierre-motto__cta:focus-visible {
    background-color: var(--color-1);
    color: white;
}

/* ===== ICON MENU ===== */
.pierre-icons {
    background-color: var(--color-1);
    padding: 1.5rem var(--section-pad-x);
}
.pierre-icons__grid {
    max-width: var(--size-xl);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
    gap: 1rem;
    text-align: center;
}
body .pierre-icons__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    color: var(--color-over-1);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0;
    transition: background-color 0.2s;
}
body .pierre-icons__item:hover,
body .pierre-icons__item:focus-visible {
    background-color: rgba(255,255,255,0.15);
}
.pierre-icons__icon svg,
.pierre-icons__icon img {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
}
.pierre-icons__label { font-size: 0.875rem; }

@media (min-width: 48rem) {
    .pierre-icons__grid { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); }
}

/* ===== SECTION SHARED ===== */
.pierre-news,
.pierre-events,
.pierre-docs,
.pierre-social {
    padding: var(--section-pad-y) var(--section-pad-x);
}

.pierre-news__inner,
.pierre-events__inner,
.pierre-docs__inner,
.pierre-social__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* ===== SCHOOL LINKS ===== */
.pierre-school-links {
    background-color: var(--color-1);
    padding: 1.5rem var(--section-pad-x);
}
.pierre-school-links__inner {
    max-width: var(--size-lg);
    margin: 0 auto;
}
.pierre-school-links__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.pierre-school-links__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 5.5rem;
    text-decoration: none;
    padding: 0 0.5rem;
}
.pierre-school-links__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.pierre-school-links__icon svg {
    width: clamp(2rem, 5vw, 2.5rem);
    height: clamp(2rem, 5vw, 2.5rem);
    fill: var(--color-over-1);
}
body .pierre-school-links__label {
    font-family: var(--font-heading);
    font-size: clamp(0.6875rem, 2.5vw, 0.9375rem);
    font-weight: 700;
    color: var(--color-over-1);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.pierre-school-links__card:hover .pierre-school-links__label,
.pierre-school-links__card:focus-visible .pierre-school-links__label {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}
/* Desktop: all links on one row, cards sharing the width equally */
@media (min-width: 64rem) {
    .pierre-school-links__grid {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 1.25rem;
    }
    .pierre-school-links__card {
        flex: 1 1 0;
        max-width: 16rem;
        padding: 0 0.5rem;
    }
    /* Scale the label with the row width so the longest word stays on one line,
       and cap its width between the longest word and the shortest two-word label
       so every multi-word label wraps one word per line */
    .pierre-school-links__card .pierre-school-links__label {
        font-size: clamp(0.6875rem, 1vw, 0.875rem);
        max-width: 10.75em;
    }
}

/* ===== NEWS ===== */
.pierre-news { background-color: var(--color-2); }
.pierre-news h2 { margin-bottom: 1.5rem; color: white; }

.pierre-news__grid {
    display: block;
}
.pierre-news__grid .swiper { overflow: hidden; }

.pierre-news__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}
.pierre-news__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pierre-news__nav .swiper-button-prev,
.pierre-news__nav .swiper-button-next {
    position: static;
    margin: 0;
    width: 2.5rem;
    height: 2.5rem;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    --swiper-navigation-size: 1rem;
}
.pierre-news__nav .swiper-button-prev::after,
.pierre-news__nav .swiper-button-next::after {
    font-weight: 700;
}
.pierre-news__nav .swiper-button-prev.swiper-button-disabled,
.pierre-news__nav .swiper-button-next.swiper-button-disabled {
    opacity: 0.35;
}
@media (min-width: 48rem) {
    .pierre-news__nav { display: none; }
}

.pierre-news__grid.swiper-disabled .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 48rem) {
    .pierre-news__grid.swiper-disabled .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 64rem) {
    .pierre-news__grid.swiper-disabled .swiper-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}
.pierre-news__grid.swiper-disabled .swiper-button-prev,
.pierre-news__grid.swiper-disabled .swiper-button-next { display: none; }

.pierre-news__card {
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.pierre-news__card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }

.pierre-news__img-wrap img {
    display: block;
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.pierre-news__content { padding: 1rem 1.25rem; }

.pierre-news__date {
    display: block;
    font-size: 0.8125rem;
    color: #666;
    margin-bottom: 0.375rem;
}

.pierre-news__card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
body .pierre-news__card h3 a {
    color: #1A1A1A;
    text-decoration: none;
}
body .pierre-news__card h3 a:hover,
body .pierre-news__card h3 a:focus-visible {
    color: var(--color-1);
}

.pierre-news__summary {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.pierre-news .pierre-news__more {
    display: inline-block;
    padding: 0.625rem 1.75rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0;
}
.pierre-news .pierre-news__more:hover,
.pierre-news .pierre-news__more:focus-visible { background-color: white; color: var(--color-1); }

/* ===== EVENTS ===== */
.pierre-events { background-color: #FAFAFA; }
.pierre-events h2 { margin-bottom: 1.5rem; }

.pierre-events__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 48rem) {
    .pierre-events__list { grid-template-columns: repeat(2, 1fr); }
}

.pierre-events__item {
    display: flex;
    gap: 1rem;
    align-items: center;
    align-self: start;
    padding: 1rem;
    background-color: white;
    border-radius: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.pierre-events__date-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3.5rem;
    padding: 0.5rem;
    background-color: var(--color-1);
    color: var(--color-over-1);
    border-radius: 0;
    text-align: center;
}
.pierre-events__month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pierre-events__day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.pierre-events__details h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
body .pierre-events__details h3 a {
    color: #1A1A1A;
    text-decoration: none;
}
body .pierre-events__details h3 a:hover,
body .pierre-events__details h3 a:focus-visible {
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
}
.pierre-events__time,
.pierre-events__location {
    display: block;
    font-size: 0.875rem;
    color: #666;
}

.pierre-events .pierre-events__more {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.625rem 1.75rem;
    background-color: white;
    color: var(--color-1);
    border: 2px solid var(--color-1);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0;
}
.pierre-events .pierre-events__more:hover,
.pierre-events .pierre-events__more:focus-visible { background-color: var(--color-1); color: white; }

/* ===== DOCUMENTS ===== */
.pierre-docs { background-color: white; }
.pierre-docs h2 { margin-bottom: 1.5rem; }

.pierre-docs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 48rem) {
    .pierre-docs__list { grid-template-columns: repeat(2, 1fr); }
}

.pierre-docs__item {
    padding: 1rem;
    background-color: #FAFAFA;
    border-radius: 0;
    border-left: 4px solid var(--color-1);
}
body .pierre-docs__item a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 500;
}
body .pierre-docs__item a:hover,
body .pierre-docs__item a:focus-visible {
    color: var(--color-1);
    filter: brightness(var(--color-1-isDark));
}

.pierre-docs__icon svg,
.pierre-docs__icon img {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}
.pierre-docs__desc {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.375rem;
}

/* ===== SOCIAL ===== */
.pierre-social { background-color: #FAFAFA; text-align: center; }
.pierre-social h2 { margin-bottom: 1.5rem; }

.pierre-social__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

body .pierre-social__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    color: #1A1A1A;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 0;
    transition: background-color 0.2s;
}
body .pierre-social__link:hover,
body .pierre-social__link:focus-visible {
    background-color: rgba(0,0,0,0.05);
}

.pierre-social__icon svg,
.pierre-social__icon img {
    width: 2.75rem;
    height: 2.75rem;
    fill: currentColor;
}

/* ===== PHOTO GALLERY ===== */
.pierre-gallery {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem var(--section-pad-x);
}
@supports (-webkit-overflow-scrolling: touch) {
    .pierre-gallery { background-attachment: scroll; }
}
.pierre-gallery__overlay {
    position: absolute;
    inset: 0;
    background-color: var(--color-1);
    opacity: 0.82;
}
.pierre-gallery__inner {
    position: relative;
    z-index: 1;
    max-width: var(--content-max-width);
    margin: 0 auto;
}
.pierre-gallery__spotlight {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: white;
    margin-bottom: 3rem;
}
@media (min-width: 48rem) {
    .pierre-gallery__spotlight {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}
.pierre-gallery__spotlight-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    color: white;
    margin: 0;
    flex-shrink: 0;
}
@media (min-width: 48rem) {
    .pierre-gallery__spotlight-title { flex: 0 0 40%; max-width: 18rem; }
}
.pierre-gallery__spotlight-body {
    font-size: 1rem;
    line-height: 1.6;
    color: white;
}
.pierre-gallery__spotlight-body p { margin: 0; }

.pierre-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
}
@media (min-width: 36rem) {
    .pierre-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
.pierre-gallery__cell {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0;
}
.pierre-gallery__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pierre-gallery__cell:hover img {
    transform: scale(1.05);
}

/* Gallery + Facebook two-column layout */
.pierre-gallery__columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 48rem) {
    .pierre-gallery__columns {
        grid-template-columns: 1fr 340px;
        align-items: start;
    }
}

.pierre-gallery__fb-tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pierre-gallery__fb-tabbar {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 0;
    max-width: 100%;
}
.pierre-gallery__fb-tab {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pierre-gallery__fb-tab:hover,
.pierre-gallery__fb-tab:focus-visible { background: rgba(255, 255, 255, 0.2); color: white; }
.pierre-gallery__fb-tab.active { background: white; color: var(--color-1); }
.pierre-gallery__fb-panels { position: relative; }
.pierre-gallery__fb-panel { display: none; }
.pierre-gallery__fb-panel.active { display: block; }
.pierre-gallery__fb-tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pierre-gallery__fb-embed {
    display: none;
    border-radius: 0;
    max-width: 100%;
}
@media (min-width: 48rem) {
    .pierre-gallery__fb-embed { display: block; }
}

/* Mobile Facebook icon link */
body .pierre-gallery__fb-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s;
}
body .pierre-gallery__fb-link:hover,
body .pierre-gallery__fb-link:focus-visible {
    background-color: rgba(255, 255, 255, 0.25);
}
.pierre-gallery__fb-link svg {
    width: 2rem;
    height: 2rem;
    fill: white;
    flex-shrink: 0;
}
body .pierre-gallery .pierre-gallery__fb-link span {
    color: white;
}
@media (min-width: 48rem) {
    body .pierre-gallery__fb-link { display: none; }
}
@media (min-width: 48rem) {
    .pierre-gallery__columns .pierre-gallery__grid {
        height: 532px;
        grid-auto-rows: 1fr;
    }
    .pierre-gallery__columns .pierre-gallery__cell {
        aspect-ratio: auto;
    }
}
body .pierre-gallery__fb-tabs noscript a {
    color: white;
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.site-footer {
    position: relative;
    /* isolate so the z-index:-1 watermark below is contained in the footer's own
       stacking context (paints above the footer bg, behind content) rather than
       escaping to the root context and hiding behind the opaque footer background */
    isolation: isolate;
    overflow: hidden;
    background-color: var(--color-2);
    color: var(--color-over-2);
    /* top padding matches .footer__legal's margin-top so the columns block sits
       centered in the band between the footer top and the legal divider */
    padding: 3.5rem var(--section-pad-x) 1.5rem;
}
/* School-logo watermark in its natural colors; z-index -1 keeps it above the
   footer bg but behind the footer content. Vertically centered in the band
   between the footer top and the legal divider (bottom reserves the legal bar's
   ~6rem, so top:0 + bottom + margin:auto centers it above the line, not on the
   whole footer). */
.site-footer::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    margin-block: auto;
    width: 24rem;
    height: 24rem;
    background: url("/pics/school_logo.png") center / contain no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.footer__inner {
    max-width: calc(var(--content-max-width) - 1.25rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 48rem) {
    .footer__inner {
        grid-template-columns: 1fr 2fr auto;
        gap: 3rem;
    }
}

.footer__col--left { }
.footer__col--center { }
.footer__col--right { }

.footer__col-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--color-over-2);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    text-transform: uppercase;
}

body .footer__contact a {
    color: var(--color-over-2);
    text-decoration: underline;
}
body .footer__contact a:hover,
body .footer__contact a:focus-visible { text-decoration: underline; }
.footer__contact address { font-style: normal; font-size: 0.9375rem; }
.footer__phones { font-size: 0.9375rem; margin-top: 0.25rem; }

.footer__social ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    justify-content: center;
}
@media (min-width: 48rem) { .footer__social ul { justify-content: flex-start; } }

body .footer__social a { color: var(--color-over-2); }
.footer__social-icon svg,
.footer__social-icon img {
    width: 1.75rem;
    height: 1.75rem;
    fill: currentColor;
}

.footer__links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer__links li + li { margin-top: 0.5rem; }
body .footer__links a {
    color: var(--color-over-2);
    text-decoration: underline;
    font-size: 0.9375rem;
}
body .footer__links a:hover,
body .footer__links a:focus-visible { text-decoration: underline; }

.footer__spotlight-body {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-over-2);
    opacity: 0.85;
}
.footer__spotlight-body p { margin: 0 0 0.5rem; }

.footer__legal {
    font-size: 0.8125rem;
    padding: 1rem var(--section-pad-x) 1.5rem;
    /* matches .site-footer's top padding so the columns block is centered in the
       band above this divider; also keeps the divider clear of the watermark */
    margin-top: 3.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    background-color: var(--color-2);
    color: var(--color-over-2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}
.footer__utility ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem 1.5rem;
}
body .footer__utility a {
    color: var(--color-over-2);
    text-decoration: underline;
}
body .footer__utility a:hover,
body .footer__utility a:focus-visible {
    text-decoration: underline;
}

.footer__edlio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

body a.footer__edlio-link,
body a.footer__edlio-login {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    opacity: 1;
}

.footer__edlio-link svg { width: 140px; height: 20px; fill: currentColor; }
.footer__edlio-login svg { width: auto; height: 1.5rem; fill: currentColor; }
