/*
Theme Name: ExoCordOA
Version: 1.8.32
Description: Tema WordPress para o projeto ExoCordOA.
Author: Magda Correia
License: GPL-2.0-or-later
Text Domain: exocordoa
*/
:root {
    --ink: #0a4247;
    --accent: #c6993b;
    --paper: #fbf8f0;
    --exo-content-max: 1600px;
    --exo-page-gutter: 4vw;
    --exo-grid-inset: max(var(--exo-page-gutter),calc((100% - var(--exo-content-max))/2));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
    scrollbar-color: #a87320 #f7f2e9;
}

body {
    margin: 0;
    color: var(--ink);
    background: white;
    font-family: Montserrat,'Avenir Next',Arial,sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 5px;
}

.skip {
    position: absolute;
    top: -100px;
    background: #fff;
    z-index: 99;
    padding: 1rem;
}

.skip:focus {
    top: 0;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: block;
    flex-shrink: 0;
}

.brand img {
    width: 100%;
    height: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

nav .current-menu-item>a {
    border-bottom: 3px solid var(--accent);
    padding-bottom: 12px;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: .28em;
    max-width: 520px;
    line-height: 1.8;
    color: #46646b;
}

.rule {
    display: block;
    height: 2px;
    width: 95px;
    background: var(--accent);
    margin: 22px 0;
}

.intro {
    font-size: 20px;
    line-height: 1.55;
    max-width: 495px;
    color: #365961;
}

.actions {
    display: flex;
    gap: 22px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    min-height: 54px;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    background: var(--ink);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--ink);
}

.button:hover {
    box-shadow: 0 4px 0 var(--accent);
}

.secondary {
    background: #ffffff99;
    color: var(--ink);
    border-color: #739096;
}

.scroll {
    position: absolute;
    bottom: 25px;
    left: calc(50% - 23px);
    width: 46px;
    height: 46px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    background: #ffffff66;
}

.content {
    margin: auto;
    padding: 80px 0;
}

.content:empty {
    display: none;
}

.content.archive {
    min-height: 70vh;
}

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

.site-footer p {
    margin: 6px 0;
    font-size: 14px;
}

article {
    margin-bottom: 40px;
}

nav .sub-menu {
    display: none;
}

nav li:hover>.sub-menu, nav li:focus-within>.sub-menu {
    display: block;
    position: absolute;
    background: white;
    padding: 15px;
}

.wp-block-columns {
    gap: 35px;
}

@media (min-width:1500px) {
    .hero-copy {
        max-width: 720px;
    }
}

@media (max-width:1100px) {
    nav ul {
        gap: 12px 20px;
    }
    .hero-copy {
        max-width: 55%;
    }
    .content.archive {
        padding-top: 60px;
    }
}

@media (max-width:650px) {
    .brand {
        width: 255px;
    }
    nav a {
        font-size: 13px;
    }
    .hero-copy {
        position: relative;
        max-width: 100%;
    }
    h1 {
        font-size: 40px;
    }
    .intro {
        font-size: 18px;
    }
    .eyebrow {
        font-size: 11px;
    }
    .actions {
        gap: 12px;
    }
    .button {
        padding: 12px 20px;
    }
    .content {
        padding: 50px 0;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Typography */
@font-face  {
    font-family: Montserrat;
    src: url('assets/fonts/Montserrat-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face  {
    font-family: Montserrat;
    src: url('assets/fonts/Montserrat-500.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face  {
    font-family: Montserrat;
    src: url('assets/fonts/Montserrat-600.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face  {
    font-family: Montserrat;
    src: url('assets/fonts/Montserrat-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Montserrat,Arial,sans-serif;
    color: var(--ink);
    margin: 1.5em 0 .6em;
    letter-spacing: -.02em;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: clamp(36px,3.6vw,62px);
    line-height: 1.13;
    letter-spacing: -.035em;
    font-weight: 700;
    margin: 20px 0 25px;
}

.content h2, h2 {
    font-size: clamp(28px,3vw,40px);
    line-height: 1.2;
}

h3 {
    font-size: clamp(24px,2.4vw,30px);
    line-height: 1.25;
}

h4 {
    font-size: clamp(21px,2vw,24px);
}

h5 {
    font-size: clamp(18px,1.7vw,20px);
}

h6 {
    font-size: 18px;
    line-height: 1.4;
}

.content p {
    margin: 0 0 1.25em;
}

.content p a {
    text-decoration: underline;
    text-underline-offset: .2em;
}

/* Header, hero and footer */
.site-header {
    position: relative;
    inset: auto;
    z-index: 10;
}

.site-header nav a {
    display: block;
    border-radius: 9px;
    transition: background .15s;
}

.site-header nav ul {
    gap: 8px;
}

.site-header nav a:hover, .site-header nav .current-menu-item>a {
    border-bottom: 0;
}

.site-header nav .sub-menu {
    min-width: 200px;
    box-shadow: 0 10px 24px #0a42471a;
    border-radius: 10px;
    z-index: 20;
}

.site-header nav li {
    position: relative;
}

.hero {
    background: var(--paper);
    isolation: isolate;
    min-height: 740px;
    padding: 100px 6.5% 110px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--hero-position,center);
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,var(--hero-overlay,0));
    z-index: -1;
    pointer-events: none;
}

.hero-compact {
    min-height: 560px;
}

.hero-tall {
    min-height: 900px;
}

.hero-copy {
    position: relative;
}

.actions:empty {
    display: none;
}

.content.archive {
    padding-top: 70px;
}

.home-sections:empty {
    display: none;
}

.exo-section {
    padding: 56px 0;
}

.exo-panel {
    background: var(--paper);
    padding: 40px;
    border-radius: 22px;
}

.exo-section>h2:first-child, .exo-panel>h2:first-child {
    margin-top: 0;
}

.exo-kicker {
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
}

.exo-section .wp-block-columns {
    align-items: center;
}

.content .wp-block-image img {
    border-radius: 16px;
}

.content .wp-block-button__link {
    background: var(--ink);
    color: #fff;
    border-radius: 40px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
}

.site-footer {
    border-top: 0;
    padding: 58px 6.5% 22px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
}

.footer-main {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 45px 70px;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-summary {
    max-width: 420px;
    flex: 1 1 300px;
}

.footer-summary p {
    margin: 18px 0 0;
    max-width: 355px;
    line-height: 1.75;
    font-size: 14px;
}

.site-footer .footer-heading {
    color: inherit;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .04em;
    margin: 10px 0 18px;
}

.footer-navigation ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-navigation a, .footer-contact a {
    font-size: 14px;
    text-decoration: none;
}

.footer-navigation a:hover, .footer-contact a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-contact {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.footer-extras {
    margin: 35px auto 0;
    gap: 24px;
}

.footer-widget {
    max-width: 100%;
}

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

.site-footer .footer-note {
    margin: 28px auto 0;
    font-size: 14px;
    line-height: 1.7;
}

.footer-bottom {
    margin: 35px auto 0;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, currentColor 26%, transparent);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom p, .footer-bottom a {
    font-size: 12px;
    margin: 0;
}

.footer-bottom a {
    text-underline-offset: 3px;
}

@media (max-width:1100px) {
    .site-header {
        flex-wrap: wrap;
    }
    .hero {
        padding-top: 85px;
    }
    .hero-copy {
        max-width: 60%;
    }
}

@media (max-width:650px) {
    .site-header nav {
        width: 100%;
    }
    .site-header nav ul {
        gap: 4px;
        flex-wrap: wrap;
    }
    .hero {
        padding: 60px 24px 85px;
        min-height: 660px;
    }
    .hero-compact {
        min-height: 540px;
    }
    .hero-tall {
        min-height: 780px;
    }
    .hero-image {
        object-position: var(--hero-mobile-position,right);
    }
    .hero::before {
        background: linear-gradient(90deg,#f8fbfdf5,#f8fbfddd 60%,#f8fbfd99),rgba(255,255,255,var(--hero-overlay,0));
    }
    .hero-copy {
        max-width: 100%;
    }
    .exo-section {
        padding: 30px 0;
    }
    .exo-panel {
        padding: 26px 22px;
    }
    .site-footer {
        padding: 38px 24px 22px;
    }
    .footer-main {
        gap: 24px;
    }
    .footer-summary {
        flex-basis: 100%;
    }
    .footer-bottom {
        margin-top: 28px;
    }
}

.footer-navigation .current-menu-item>a {
    border: 0;
    padding: 0;
}

.home-sections:not(:has(*)) {
    display: none;
}

.site-header nav a {
    font-family: Montserrat,Arial,sans-serif;
    font-weight: 700;
    letter-spacing: -.025em;
    font-kerning: normal;
}

.footer-summary p {
    margin-top: 0;
}

.footer-summary {
    padding-top: 8px;
}

.site-header {
    min-height: 100px;
    padding: 10px 6.5%;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.site-header .brand {
    width: 290px;
}

.site-header nav a {
    font-size: 18px;
    padding: 11px 16px;
}

.site-header nav a:hover, .site-header nav .current-menu-item>a {
    background: transparent;
    color: var(--ink);
    padding-bottom: 11px;
    box-shadow: inset 0 -3px var(--accent);
    border-radius: 0;
}

html:has(body.exo-persistent-header) {
    scroll-padding-top: calc(var(--exo-header-height, var(--exo-header-fallback, 145px)) + var(--exo-anchor-admin-offset, var(--exo-admin-visible, var(--exo-admin-offset, 0px))));
}

html:has(body.exo-persistent-header.admin-bar) {
    --exo-admin-offset: 32px;
}

@media (max-width: 782px) {
    html:has(body.exo-persistent-header.admin-bar) {
        --exo-admin-offset: 46px;
    }
}

@media (max-width: 650px) {
    html:has(body.exo-persistent-header) {
        --exo-header-fallback: 210px;
    }
}

/* On narrow screens the WordPress admin bar scrolls away at section anchors. */
@media (max-width: 600px) {
    html:has(body.exo-persistent-header.admin-bar) {
        --exo-anchor-admin-offset: 0px;
    }
}

.exo-persistent-header .site-header {
    position: sticky;
    inset: var(--exo-admin-visible, var(--exo-admin-offset, 0px)) 0 auto;
    background: #fff;
}

.exo-overlay-header .site-header {
    position: fixed;
    background: transparent;
}

.exo-persistent-header .site-header.is-scrolled {
    background: #fff;
    box-shadow: 0 2px 12px rgb(7 32 37 / .10);
}

.exo-overlay-header .hero {
    min-height: 820px;
    padding-top: calc(var(--exo-header-height,125px) + 60px);
}

.exo-overlay-header .hero-compact {
    min-height: 660px;
}

.exo-overlay-header .hero-tall {
    min-height: 960px;
}

@media (max-width:1100px) {
    .site-header {
        padding: 10px 5%;
        gap: 12px;
    }
    .site-header .brand {
        width: 270px;
    }
}

@media (max-width:650px) {
    .site-header {
        padding: 10px 24px;
        gap: 8px;
    }
    .site-header .brand {
        width: 240px;
    }
    .site-header nav a {
        font-size: 16px;
        padding: 10px 12px;
    }
    .site-header nav .current-menu-item>a {
        padding-bottom: 10px;
    }
    .exo-overlay-header .hero {
        min-height: 820px;
        padding-top: calc(var(--exo-header-height,165px) + 40px);
    }
    .exo-overlay-header .hero-compact {
        min-height: 700px;
    }
    .exo-overlay-header .hero-tall {
        min-height: 940px;
    }
}

/* Widget layouts */
.footer-extras {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    align-items: stretch;
}

.footer-extras>.footer-widget {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.footer-extras>.footer-widget>.wp-block-columns {
    width: 100%;
    max-width: none;
}

.footer-extras .wp-block-column {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-blocks {
    gap: 24px;
    overflow-wrap: anywhere;
}

.footer-blocks .footer-widget > :last-child {
    margin-block-end: 0;
}

/* Pre-footer widgets */
.pre-footer {
    background: #fff;
}

.pre-footer .pre-footer-inner {
    margin: 0 auto;
    padding: 50px 0;
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
    align-items: stretch;
}

.pre-footer .pre-footer-inner>.footer-widget {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

@media (max-width:650px) {
    .pre-footer .pre-footer-inner {
        padding: 32px 0;
    }
}

/* Homepage sections */
.home-content-section {
    width: 100%;
    max-width: none;
}

.home-content-section:not(:has(.home-sections>*)) {
    display: none;
}

/* Homepage sections */
.exo-section-anchor {
    display: block;
    height: 0;
    scroll-margin-top: 2rem;
}

.exo-persistent-header .exo-section-anchor {
    scroll-margin-top: 0;
}

.exo-managed-inner,
.home-content-section > .home-sections,
#main > .pre-footer .pre-footer-inner {
    padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

:is(.exo-managed-inner, .home-sections) > :first-child {
    margin-block-start: 0;
}

:is(.exo-managed-inner, .home-sections) > :last-child {
    margin-block-end: 0;
}

.exo-managed-grid {
    display: grid;
    gap: 35px;
    grid-template-columns: minmax(0,1fr);
}

.exo-layout-two, .exo-layout-image {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.exo-layout-three {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.exo-managed-column {
    min-width: 0;
    overflow-wrap: anywhere;
}

.exo-managed-column>h3:first-child {
    margin-top: 0;
}

.exo-managed-column>*:last-child {
    margin-bottom: 0;
}

.exo-managed-grid figure {
    margin: 0;
}

.exo-managed-grid img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.exo-section-actions {
    margin-top: 28px;
}

@media (max-width:781px) {
    .exo-layout-two, .exo-layout-three, .exo-layout-image {
        grid-template-columns: minmax(0,1fr);
    }
}

.exo-layout-image:not(:has(figure)) {
    grid-template-columns: minmax(0,1fr);
}

/* Shared content grid */
.content, .pre-footer .pre-footer-inner {
    width: calc(100% - 2 * var(--exo-page-gutter));
    max-width: var(--exo-content-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.hero, .site-header, .site-footer {
    padding-left: var(--exo-grid-inset);
    padding-right: var(--exo-grid-inset);
}

@media (max-width:650px) {
    :root {
        --exo-page-gutter: 20px;
    }
}

.site-header .brand {
    padding-top: 22px;
    padding-bottom: 22px;
}

.footer-main, .footer-extras, .site-footer .footer-note, .footer-bottom {
    max-width: var(--exo-content-max);
}

.exo-section-intro {
    margin-bottom: 32px;
}

.exo-section-intro>:first-child {
    margin-top: 0;
}

.exo-section-intro>:last-child {
    margin-bottom: 0;
}

.exo-section-widgets.footer-extras {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
    margin: 0;
    max-width: none;
    align-items: stretch;
}

.exo-news-grid {
    display: grid;
    /* Keep four slots on wide sections even when fewer articles are published. */
    grid-template-columns: repeat(auto-fill, minmax(min(100%, max(15rem, calc((100% - 3rem) / 4))), 1fr));
    gap: 1rem;
}

.exo-news-card {
    margin: 0;
    min-width: 0;
}

.exo-news-card .exo-news-link {
    --exo-news-padding: clamp(.875rem, 1.5vw, 1.25rem);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: end;
    min-height: 15rem;
    height: 100%;
    padding: var(--exo-news-padding);
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
}

.exo-news-card .exo-news-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exo-news-copy {
    color: #fff;
    text-shadow: 0 1px 3px rgb(0 0 0 / .95), 0 0 6px rgb(0 0 0 / .65);
    position: relative;
    width: 100%;
    overflow-wrap: anywhere;
}

.exo-news-copy::before {
    content: "";
    position: absolute;
    inset: -2.75rem calc(-1 * var(--exo-news-padding)) calc(-1 * var(--exo-news-padding));
    z-index: -1;
    background: linear-gradient(180deg, transparent, rgb(8 20 26 / .40) 2.75rem, rgb(8 20 26 / .56));
}

.exo-news-card .exo-news-title {
    margin: 0;
    font-size: clamp(1.125rem, 1.45vw, 1.3125rem);
    line-height: 1.25;
    color: #fff;
}

.exo-news-card .exo-news-summary {
    margin: .5rem 0;
    font-size: .875rem;
    line-height: 1.45;
    color: #fff;
}

.exo-news-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    margin-top: .9rem;
    font-size: .8125rem;
    line-height: 1.4;
}

.exo-news-card .exo-news-meta {
    color: #fff;
    margin-block-start: .65rem;
}

.exo-news-meta time {
    margin-inline-start: auto;
}

.exo-news-link:hover .exo-news-title, 
.exo-news-link:focus-visible .exo-news-title {
    text-decoration: underline;
}

/* News archive banner and individual article reading column. */
.exo-news-banner {
    --exo-news-menu-space: var(--exo-header-height, 145px);
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: clamp(16rem, 25vw, 23rem);
    padding: calc(var(--exo-news-menu-space) + 2.5rem) 1.25rem 2rem;
    overflow: hidden;
    background: var(--ink);
    text-align: center;
}

.exo-news-banner-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exo-news-banner::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg,
            rgb(250 250 246 / .82) 0,
            rgb(250 250 246 / .67) calc(var(--exo-news-menu-space) * .55),
            rgb(250 250 246 / .21) var(--exo-news-menu-space),
            transparent calc(var(--exo-news-menu-space) + 2.5rem)),
        rgb(7 32 37 / .48);
    content: "";
}

@media (max-width: 650px) {
    .exo-news-banner {
        --exo-news-menu-space: var(--exo-header-height, 210px);
    }
}

.exo-news-banner-label {
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    text-shadow: 0 2px 8px rgb(0 0 0 / .55);
}

.exo-news-banner-label::after {
    display: block;
    width: 2.5rem;
    height: 3px;
    margin: .65rem auto 0;
    background: var(--accent);
    content: "";
}

.content.exo-news-list,
.content.exo-article-content,
.content.exo-knowledge-content {
    max-width: 880px;
    padding-block: clamp(1.75rem, 5vw, 4rem);
}

.exo-knowledge-content > :first-child {
    margin-block-start: 0;
}

.exo-knowledge-content h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.exo-knowledge-content .wp-block-group h3 {
    margin-block: .65em .4em;
    font-size: clamp(1.25rem, 2.15vw, 1.625rem);
}

.exo-knowledge-content .wp-block-buttons .wp-block-button__link {
    padding: .65em 1.15em;
}

.exo-news-entry + .exo-news-entry {
    padding-top: 2rem;
    border-top: 1px solid rgb(10 66 71 / .18);
}

.exo-news-entry-link {
    display: block;
    text-decoration: none;
}

.exo-news-entry-link:hover .exo-news-entry-title,
.exo-news-entry-link:focus-visible .exo-news-entry-title {
    text-decoration: underline;
    text-underline-offset: .14em;
}

.exo-news-list .exo-news-entry-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.7vw, 2rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.exo-news-entry-image {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 16px;
}

.exo-news-list .exo-news-entry-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    margin: 1.25rem 0 0;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.exo-news-entry-excerpt > :is(p, ul, ol) {
    margin-block: 0;
}

.exo-news-entry-excerpt > :is(p, ul, ol) + :is(p, ul, ol) {
    margin-block-start: .4em;
}

.exo-article-title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.exo-article :where(.wp-block-image, figure:has(img), img, p:has(> img:only-child), p:has(> a:only-child > img:only-child)) + p {
    margin-block-start: clamp(1rem, 2.5vw, 1.5rem);
}

.footer-summary, .footer-note {
    overflow-wrap: anywhere;
}

.footer-summary a, .footer-note a {
    text-decoration: underline;
    text-underline-offset: .18em;
}

.site-footer a:focus-visible {
    outline-color: currentColor;
}

#exo-site-top {
    position: absolute;
    width: 1px;
    height: 1px;
}

.exo-back-top {
    position: fixed;
    inset-inline-end: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 12;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: #8b651f;
    color: #fff;
    border: 1px solid rgb(255 255 255 / .6);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgb(7 32 37 / .20);
    transition: background-color .15s ease;
}

.exo-back-top[hidden] {
    display: none;
}

.exo-back-top:hover {
    background: #6d4d11;
}

.exo-back-top:focus-visible {
    outline-color: var(--ink);
    box-shadow: 0 0 0 5px #fff;
}

@media (prefers-reduced-motion: reduce) {
    .exo-back-top {
        transition: none;
    }
}
