/*
Theme Name: Jerê Ensina — Página Inicial Preservada
Theme URI: https://jereensina.com
Author: Jerê Ensina
Description: Tema filho profissional do Twenty Twenty-Five, preservando o cabeçalho Gemini e incorporando o briefing visual atualizado.
Template: twentytwentyfive
Version: 1.6.1
Text Domain: jereensina-home-preservada
*/

:root {
    --jere-verde: #1F3A32;
    --jere-coral: #E87A5D;
    --jere-giz: #FAF6F0;
    --jere-mostarda: #E9C46A;
    --jere-pessego: #F7E5D8;
    --jere-shadow: 0 12px 34px rgba(31, 58, 50, .08);
    --jere-radius: 16px;
}

html { scroll-behavior: smooth; }
body {
    background: var(--jere-giz);
    color: var(--jere-verde);
    font-family: "Sen", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/* Tipografia oficial: Instrument Serif, Sen e IBM Plex Mono. */
h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.header-jere a span[style*="Georgia"],
.wp-block-template-part h1,
.wp-block-template-part h2,
.wp-block-template-part h3 {
    font-family: "Instrument Serif", Georgia, serif !important;
    font-weight: 400;
    letter-spacing: -.018em;
    line-height: 1.12;
}
body, button, input, select, textarea,
.wp-block-navigation,
.wp-block-search__input {
    font-family: "Sen", Arial, sans-serif;
}
.jere-eyebrow, .badge-coral, .jere-pauta-nota,
.jere-page-intro > p:first-child,
.jere-section-heading > p:first-child {
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: .07em;
}

/* Cabeçalho compartilhado, inspirado exatamente na referência enviada. */
.jere-header-shell { width: 100% !important; max-width: none !important; box-sizing: border-box; padding: 8px !important; margin: 0 !important; }
.jere-header-shell > .header-jere { width: 100%; max-width: 1600px !important; margin: 0 auto !important; box-sizing: border-box; }
.header-jere {
    display: flex !important;
    flex-flow: row nowrap !important;
    width: 100%;
    background: var(--jere-giz) !important;
    border: 1px solid rgba(31, 58, 50, .09);
    border-radius: 16px;
    box-shadow: 0 4px 22px rgba(31, 58, 50, .075);
    gap: clamp(12px, 1.6vw, 24px);
    align-items: center;
}
.header-jere > .wp-block-html { flex: 0 0 auto; min-width: max-content; }
.header-jere > .wp-block-navigation {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}
.header-jere .wp-block-navigation__container {
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.8vw, 28px);
}
.header-jere .wp-block-navigation-item__content {
    color: var(--jere-verde) !important;
    font-family: "Sen", Arial, sans-serif;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: color .2s ease, opacity .2s ease;
    white-space: nowrap;
}
.header-jere .wp-block-navigation-item__content:hover,
.header-jere .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.header-jere .wp-block-navigation-item__content:focus-visible {
    color: var(--jere-coral) !important;
}
.header-jere > .wp-block-search {
    flex: 0 1 250px;
    min-width: 195px;
    margin-left: auto;
}
.header-jere .wp-block-search__inside-wrapper {
    background: var(--jere-giz) !important;
    border: 1px solid #D8D2C7 !important;
    border-radius: 50px !important;
    min-height: 42px;
    padding: 3px 12px !important;
}
.header-jere .wp-block-search__input {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--jere-verde) !important;
    font-size: .84rem !important;
    min-width: 0;
    outline-offset: 3px;
}
.header-jere .wp-block-search__input::placeholder { color: #7E8982; }
.header-jere .wp-block-search__button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--jere-verde) !important;
    padding: 0 3px !important;
}
.header-jere .wp-block-search__button:hover { color: var(--jere-coral) !important; }

/* Ritmo e acabamento das páginas. */
.wp-site-blocks main { width: 100%; }
.wp-block-post-content, .entry-content { color: var(--jere-verde); }
.wp-block-post-content a:not(.wp-block-button__link),
.entry-content a:not(.wp-block-button__link) {
    text-decoration-color: rgba(232, 122, 93, .7);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.wp-block-post-content a:hover, .entry-content a:hover { color: var(--jere-coral); }
.wp-block-button__link {
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.wp-block-button__link:hover {
    box-shadow: 0 8px 18px rgba(31, 58, 50, .14);
    transform: translateY(-2px);
}

.card-post-jere {
    border-bottom: 4px solid var(--jere-coral);
    box-shadow: 0 5px 18px rgba(31, 58, 50, .055);
    height: 100%;
    transition: transform .24s ease, box-shadow .24s ease;
}
.card-post-jere:hover {
    box-shadow: 0 14px 28px rgba(31, 58, 50, .12);
    transform: translateY(-4px);
}
.pauta-card { display: flex; flex-direction: column; }
.pauta-card .jere-pauta-nota { margin-top: auto; padding-top: 20px; }
.jere-pauta-nota {
    color: #6B7770;
    font-size: .64rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .04em;
}
.badge-coral {
    display: inline-block;
    background: rgba(232, 122, 93, .14);
    border-radius: 50px;
    color: var(--jere-verde);
    font-size: .72rem;
    font-weight: 600;
    padding: 5px 12px;
    text-transform: uppercase;
}
.jere-page-intro { box-shadow: var(--jere-shadow); }
.jere-back-home { margin: 20px 0 0; }
.jere-back-home a {
    color: var(--jere-verde);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}
.jere-back-home a:hover { color: var(--jere-coral); }
.jere-explore-more { margin-top: 34px; }
.jere-related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 0; }
.jere-related-link {
    background: var(--jere-giz);
    border: 1px solid rgba(31, 58, 50, .12);
    border-radius: 999px;
    color: var(--jere-verde) !important;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 800;
    gap: 8px;
    padding: 9px 15px;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.jere-related-link:hover {
    background: var(--jere-verde);
    color: var(--jere-giz) !important;
    transform: translateY(-2px);
}

/* Listagens e posts publicados, quando o site começar a receber artigos. */
.jere-post-list .wp-block-post,
.wp-block-query .wp-block-post {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(31, 58, 50, .06);
    padding: clamp(18px, 2.5vw, 28px);
}
.wp-block-post-featured-image img { border-radius: 12px; }
.wp-block-post-date, .wp-block-post-author, .wp-block-post-terms {
    color: #68766E;
    font-family: "IBM Plex Mono", monospace;
    font-size: .76rem;
}

:focus-visible {
    outline: 3px solid var(--jere-coral);
    outline-offset: 3px;
}
::selection { background: var(--jere-mostarda); color: var(--jere-verde); }

@media (max-width: 980px) {
    .header-jere { flex-wrap: wrap !important; padding: 16px 20px !important; }
    .header-jere > .wp-block-navigation { flex: 1 1 100%; order: 3; justify-content: flex-start; }
    .header-jere > .wp-block-search { flex: 0 1 230px; margin-left: auto; order: 2; }
    .header-jere .wp-block-navigation__container { flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 650px) {
    .header-jere { justify-content: space-between !important; gap: 14px 12px; }
    .header-jere > .wp-block-html { max-width: 100%; }
    .header-jere > .wp-block-html a span:last-child { font-size: 1.6rem !important; }
    .header-jere > .wp-block-search { flex: 1 1 100%; max-width: none; order: 4; }
    .header-jere > .wp-block-navigation { order: 3; }
    .header-jere .wp-block-navigation__container { gap: 10px 16px; }
    .header-jere .wp-block-navigation-item__content { font-size: .86rem; }
    .jere-page-intro { padding: 30px 22px !important; }
    .jere-pautas-grid { display: block; }
    .jere-pautas-grid > .wp-block-column { margin-bottom: 18px; }
    .wp-site-blocks main { padding-left: 16px !important; padding-right: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ================================================================
   JERÊ ENSINA 1.3 — cartões ilustrados, grelhas e navegação responsiva
   ================================================================ */
body { font-size: 17px; }
.wp-site-blocks { overflow: clip; }
.wp-site-blocks main { max-width: 100%; }
.header-jere { padding: 16px 26px !important; gap: 20px 26px; }
.jere-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--jere-verde) !important; font-family: "Instrument Serif", Georgia, serif; font-size: 1.9rem; line-height: 1; letter-spacing: -.035em; text-decoration: none !important; white-space: nowrap; }
.jere-brand strong { color: var(--jere-coral); font-weight: 400; }
.jere-brand-symbol { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%; background: var(--jere-pessego); color: var(--jere-coral); }
.jere-brand-symbol svg { width: 23px; height: 18px; display: block; }
.header-jere .wp-block-navigation-item__content { font-size: 1rem; padding: 8px 0; }
.header-jere > .wp-block-search { flex-basis: 250px; }

/* Página inicial */
.jere-home-main { padding-top: 10px; }
.jere-home-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: clamp(32px, 5vw, 76px); align-items: center; min-height: 500px; padding: clamp(34px, 5vw, 68px) clamp(24px, 4vw, 58px); overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--jere-shadow); }
.jere-home-hero::before { content: ""; position: absolute; right: -100px; top: -170px; width: 430px; height: 430px; border-radius: 50%; background: var(--jere-pessego); opacity: .58; pointer-events: none; }
.jere-home-hero-copy { position: relative; z-index: 1; max-width: 670px; }
.jere-eyebrow { color: var(--jere-coral); font-size: .74rem; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.jere-home-hero h1 { margin: 14px 0 20px; font-size: clamp(3.1rem, 5.4vw, 5.2rem); line-height: .98; }
.jere-home-hero h1 em { color: var(--jere-coral); font-weight: 400; }
.jere-home-hero-copy > p:not(.jere-eyebrow) { max-width: 590px; color: #4c5c53; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.75; }
.jere-home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 28px; }
.jere-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 20px; border-radius: 999px; background: var(--jere-coral); color: #fff !important; font-size: .97rem; font-weight: 800; text-decoration: none !important; box-shadow: 0 7px 0 rgba(31,58,50,.07); transition: transform .2s ease, background .2s ease; }
.jere-button:hover { transform: translateY(-3px); background: var(--jere-verde); }
.jere-text-link,.jere-inline-link,.jere-back-home { color: var(--jere-verde) !important; font-weight: 800; text-decoration: none !important; }
.jere-text-link:hover,.jere-inline-link:hover,.jere-back-home:hover { color: var(--jere-coral) !important; }
.jere-hero-art { position: relative; display: grid; min-height: 350px; place-items: center; }
.jere-hero-orbit { position: absolute; width: 300px; height: 300px; border: 1px solid rgba(31,58,50,.18); border-radius: 50%; }
.orbit-one { transform: rotate(-22deg) scaleX(1.25); }
.orbit-two { width: 350px; height: 235px; border-color: rgba(232,122,93,.44); transform: rotate(28deg); }
.jere-hero-paper { position: relative; display: flex; flex-direction: column; justify-content: center; width: min(285px, 80%); min-height: 335px; padding: 30px; transform: rotate(-4deg); border: 1px solid #e9e0d3; background: var(--jere-giz); box-shadow: 16px 20px 0 rgba(31,58,50,.08), 0 25px 55px rgba(31,58,50,.13); }
.jere-paper-label,.jere-paper-small,.jere-hero-note { font-family: "IBM Plex Mono", monospace; font-size: .66rem; font-weight: 700; letter-spacing: .11em; }
.jere-paper-label { color: var(--jere-coral); }
.jere-paper-title { margin: 25px 0 23px; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(2.8rem, 4vw, 3.7rem); line-height: .95; }
.jere-paper-title i { color: var(--jere-coral); font-weight: 400; }
.jere-paper-rule { width: 100%; height: 4px; background: var(--jere-verde); }
.jere-paper-small { margin-top: 16px; color: #5f6c63; font-size: .58rem; }
.jere-paper-doodle { position: absolute; right: 23px; bottom: 25px; color: var(--jere-mostarda); font-size: 3rem; }
.jere-hero-note { position: absolute; z-index: 2; color: var(--jere-verde); font-size: .62rem; }
.note-top { top: 22px; right: 0; transform: rotate(5deg); }
.note-bottom { bottom: 17px; left: 2px; transform: rotate(-5deg); }
.jere-home-subjects,.jere-home-featured,.jere-home-catalog,.jere-home-social { margin-top: clamp(56px, 7vw, 94px); }
.jere-section-heading { max-width: 750px; margin-bottom: 26px; }
.jere-section-heading h2,.jere-home-catalog h2,.jere-home-social h2 { margin: 7px 0 12px; font-size: clamp(2.1rem, 3.5vw, 3.2rem); line-height: 1.03; }
.jere-section-heading > p:not(.jere-eyebrow) { color: #57655d; font-size: 1.03rem; }
.jere-section-heading--row { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: none; }
.jere-inline-link { margin-bottom: 15px; white-space: nowrap; }
.jere-subject-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 15px; }
.jere-subject-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 230px; padding: 22px 20px; overflow: hidden; border: 1px solid rgba(31,58,50,.10); border-radius: 18px; color: var(--jere-verde) !important; text-decoration: none !important; isolation: isolate; transition: transform .22s ease, box-shadow .22s ease; }
.jere-subject-tile::before { content: ""; position: absolute; z-index: -1; top: -27px; right: -28px; width: 150px; height: 150px; border: 1px solid currentColor; border-radius: 50%; opacity: .12; }
.jere-subject-tile::after { content: ""; position: absolute; z-index: -1; top: 12px; right: 16px; width: 100px; height: 100px; border: 1px solid currentColor; border-radius: 50%; opacity: .13; }
.jere-subject-tile:hover { transform: translateY(-5px); box-shadow: var(--jere-shadow); }
.subject-artes { background: #E9C46A; }
.subject-gramatica { background: #F7E5D8; }
.subject-interpretacao { background: #E4EAE2; }
.subject-literatura { background: #fff; }
.subject-redacao { background: #F4D9CE; }
.jere-subject-symbol { align-self: flex-end; margin: 0 0 auto; font-family: "Instrument Serif", Georgia, serif; font-size: 4.3rem; line-height: 1; opacity: .8; }
.jere-subject-label { margin: 22px 0 5px; font-family: "IBM Plex Mono", monospace; font-size: .63rem; font-weight: 700; letter-spacing: .07em; }
.jere-subject-tile strong { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.55rem, 2vw, 2rem); font-weight: 400; line-height: 1.05; }
.jere-subject-arrow { position: absolute; right: 17px; bottom: 19px; font-size: 1.15rem; }
.jere-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.jere-feature-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 285px; padding: 27px; border: 1px solid rgba(31,58,50,.09); border-radius: 20px; background: #fff; color: var(--jere-verde) !important; text-decoration: none !important; box-shadow: 0 7px 25px rgba(31,58,50,.045); transition: transform .22s ease, box-shadow .22s ease; }
.jere-feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 32px rgba(31,58,50,.1); }
.jere-feature-num { font-family: "IBM Plex Mono", monospace; font-size: .75rem; color: #64736a; }
.jere-feature-mark { position: absolute; top: 20px; right: 23px; color: var(--jere-coral); font-family: "Instrument Serif", Georgia, serif; font-size: 3.4rem; line-height: 1; }
.jere-feature-card .jere-eyebrow { margin-top: 37px; }
.jere-feature-card strong { max-width: 320px; margin: 5px 0 12px; font-family: "Instrument Serif", Georgia, serif; font-size: 1.75rem; font-weight: 400; line-height: 1.05; }
.jere-feature-desc { color: #5f6a63; font-size: .95rem; }
.jere-feature-cta { margin-top: auto; padding-top: 22px; color: var(--jere-coral); font-size: .88rem; font-weight: 800; }
.jere-home-catalog { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(25px,4vw,56px); align-items: center; padding: clamp(28px,4vw,50px); border-radius: 22px; background: var(--jere-verde); color: var(--jere-giz); }
.jere-home-catalog .jere-eyebrow { color: var(--jere-mostarda); }
.jere-home-catalog h2 { color: var(--jere-giz); }
.jere-home-catalog p:not(.jere-eyebrow) { color: rgba(250,246,240,.78); }
.jere-catalog-mini-links { display: grid; gap: 10px; }
.jere-catalog-mini-links a { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: center; gap: 7px 15px; padding: 14px 17px; border: 1px solid rgba(250,246,240,.2); border-radius: 13px; color: var(--jere-giz) !important; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.jere-catalog-mini-links a:hover { transform: translateX(4px); background: rgba(250,246,240,.08); }
.jere-catalog-mini-links a > span { grid-row: span 2; color: var(--jere-mostarda); font-family: "IBM Plex Mono", monospace; font-size: .9rem; }
.jere-catalog-mini-links strong { font-family: "Instrument Serif", Georgia, serif; font-size: 1.55rem; font-weight: 400; line-height: 1.1; }
.jere-catalog-mini-links small { color: rgba(250,246,240,.7); font-size: .85rem; }
.jere-catalog-mini-links b { grid-column: 3; grid-row: 1 / span 2; color: var(--jere-coral); font-size: 1.2rem; }
.jere-home-social { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 16px; }
.jere-home-social h2 { margin-bottom: 8px; }
.jere-home-social p:not(.jere-eyebrow) { color: #5f6a63; }
.jere-home-social-links { flex: 0 1 570px; }
.jere-social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.jere-social-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(31,58,50,.14); border-radius: 999px; background: #fff; color: var(--jere-verde) !important; font-size: .88rem; font-weight: 800; text-decoration: none !important; transition: color .2s ease, background .2s ease, transform .2s ease; }
.jere-social-link svg { width: 19px; height: 19px; color: var(--jere-coral); }
.jere-social-link:hover { transform: translateY(-2px); background: var(--jere-verde); color: var(--jere-giz) !important; }

/* Páginas das áreas e cadernos: os cartões são botões ilustrados com hiperlink. */
.jere-page-hero { position: relative; overflow: hidden; margin: 10px 0 48px; padding: clamp(30px,5vw,62px); border-radius: 22px; background: #fff; box-shadow: var(--jere-shadow); }
.jere-page-hero::after { content: "JÊ"; position: absolute; right: 4%; bottom: -34%; color: rgba(31,58,50,.045); font-family: "Instrument Serif", Georgia, serif; font-size: clamp(9rem,20vw,18rem); line-height: 1; pointer-events: none; }
.jere-page-hero .jere-eyebrow,.jere-page-hero h1,.jere-page-hero p,.jere-page-hero a { position: relative; z-index: 1; }
.jere-page-hero h1 { margin: 8px 0 14px; font-size: clamp(2.8rem,5vw,4.7rem); line-height: .98; }
.jere-page-hero > p:not(.jere-eyebrow) { max-width: 760px; color: #58665d; font-size: 1.12rem; }
.jere-back-home { display: inline-flex; margin-top: 13px; font-size: .95rem; }
.jere-content-section { margin: 48px 0 68px; }
.jere-section-heading { margin-bottom: 28px; }
.jere-section-heading h2 { font-size: clamp(2.1rem,3.3vw,3rem); }
.jere-topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.jere-topic-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; min-height: 100%; border: 1px solid rgba(31,58,50,.13); border-radius: 18px; background: #fff; color: var(--jere-verde) !important; text-decoration: none !important; box-shadow: 0 5px 18px rgba(31,58,50,.045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.jere-topic-card:hover { transform: translateY(-5px); border-color: rgba(232,122,93,.7); box-shadow: 0 16px 32px rgba(31,58,50,.12); }
.jere-topic-art { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 190px; padding: 22px; overflow: hidden; color: var(--jere-verde); isolation: isolate; }
.jere-topic-art::before { content: ""; position: absolute; z-index: -1; width: 230px; height: 230px; right: -42px; top: -90px; border: 1px solid currentColor; border-radius: 50%; opacity: .17; }
.jere-topic-art::after { content: ""; position: absolute; z-index: -1; width: 170px; height: 170px; right: -14px; top: -59px; border: 1px solid currentColor; border-radius: 50%; opacity: .13; }
.jere-topic-art.art-cool { background: #E5EBE4; }
.jere-topic-art.art-warm { background: #F6E0D5; }
.jere-topic-number { position: absolute; z-index: 2; top: 15px; left: 19px; font-family: "IBM Plex Mono", monospace; font-size: .72rem; font-weight: 700; opacity: .78; }
.jere-topic-subject-image { position: absolute; z-index: 0; right: 2px; bottom: 0; display: block; width: 58%; height: 100%; max-width: none; object-fit: contain; object-position: right bottom; pointer-events: none; transition: transform .25s ease; }
.jere-topic-art-label { position: absolute; z-index: 2; left: 19px; bottom: 17px; max-width: 48%; font-family: "IBM Plex Mono", monospace; font-size: .61rem; letter-spacing: .09em; text-transform: uppercase; }
.jere-topic-art-stamp { position: absolute; z-index: 2; top: 15px; right: 19px; padding: 3px 7px; border: 1px solid rgba(31,58,50,.25); border-radius: 4px; background: rgba(250,246,240,.78); font-family: "IBM Plex Mono", monospace; font-size: .6rem; font-weight: 700; }
.jere-topic-card:hover .jere-topic-subject-image { transform: translateY(-3px) scale(1.035); }
.jere-topic-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 21px 21px; }
.jere-topic-tag { display: inline-flex; margin-bottom: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(232,122,93,.13); color: #754333; font-family: "IBM Plex Mono", monospace; font-size: .66rem; font-weight: 600; line-height: 1.5; }
.jere-topic-copy strong { display: block; margin-bottom: 10px; color: var(--jere-verde); font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.45rem,1.9vw,1.8rem); font-weight: 400; line-height: 1.08; }
.jere-topic-summary { color: #58665d; font-size: .94rem; line-height: 1.6; }
.jere-topic-link-label { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 20px; color: var(--jere-coral); font-size: .88rem; font-weight: 800; }
.jere-catalog-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.jere-catalog-link { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 18px 20px; border: 1px solid rgba(31,58,50,.12); border-radius: 14px; background: #fff; color: var(--jere-verde) !important; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.jere-catalog-link:hover { transform: translateY(-3px); background: var(--jere-pessego); }
.jere-catalog-link > span:first-child { grid-column: 1/-1; color: var(--jere-coral); font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .1em; }
.jere-catalog-link strong { font-family: "Instrument Serif", Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.jere-catalog-link > span:last-child { align-self: center; color: var(--jere-coral); font-size: 1.1rem; }
.jere-catalog-pager { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(31,58,50,.14); }
.jere-pager-link { display: inline-flex; padding: 10px 14px; border: 1px solid rgba(31,58,50,.18); border-radius: 99px; color: var(--jere-verde) !important; font-weight: 800; text-decoration: none !important; }
.jere-pager-link:hover { background: var(--jere-verde); color: var(--jere-giz) !important; }
.jere-pager-current { color: var(--jere-coral); font-family: "IBM Plex Mono", monospace; font-size: .8rem; font-weight: 700; }
.jere-footer-shell a { color: var(--jere-giz) !important; text-decoration-color: var(--jere-coral); text-underline-offset: 3px; }
.jere-footer-shell a:hover { color: var(--jere-mostarda) !important; }
.jere-footer-shell .jere-social-link { background: transparent; border-color: rgba(250,246,240,.25); color: var(--jere-giz) !important; }
.jere-footer-shell .jere-social-link svg { color: var(--jere-mostarda); }
.jere-footer-shell .jere-social-link:hover { background: var(--jere-giz); color: var(--jere-verde) !important; }

@media (max-width: 1050px) {
  .jere-subject-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .jere-subject-tile { min-height: 205px; }
  .jere-home-hero { grid-template-columns: minmax(0,1fr) minmax(250px,.75fr); }
  .jere-home-catalog { grid-template-columns: 1fr; }
  .jere-topic-grid { gap: 15px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .jere-home-hero { grid-template-columns: 1fr; gap: 25px; min-height: 0; padding: 31px 23px; }
  .jere-home-hero h1 { font-size: clamp(2.8rem,11vw,4.2rem); }
  .jere-hero-art { min-height: 310px; }
  .jere-hero-paper { min-height: 280px; }
  .jere-feature-grid,.jere-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jere-subject-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jere-subject-tile { min-height: 190px; }
  .jere-topic-art { min-height: 160px; }
  .jere-topic-subject-image { width: 58%; }
  .jere-topic-copy { padding: 17px; }
  .jere-topic-copy strong { font-size: 1.45rem; }
  .jere-home-social { align-items: flex-start; flex-direction: column; }
  .jere-home-social-links { width: 100%; flex-basis: auto; }
  .jere-catalog-links { grid-template-columns: 1fr; }
  .jere-section-heading--row { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (max-width: 520px) {
  .header-jere { padding: 15px !important; }
  .jere-brand { font-size: 1.7rem; }
  .header-jere .wp-block-navigation-item__content { font-size: .94rem; }
  .jere-feature-grid,.jere-topic-grid { grid-template-columns: 1fr; }
  .jere-topic-art { min-height: 200px; }
  .jere-topic-subject-image { width: 62%; }
  .jere-subject-grid { gap: 10px; }
  .jere-subject-tile { min-height: 175px; padding: 17px; }
  .jere-subject-symbol { font-size: 3.4rem; }
  .jere-subject-label { font-size: .57rem; }
  .jere-subject-tile strong { font-size: 1.55rem; }
  .jere-home-catalog { padding: 25px 19px; }
  .jere-catalog-mini-links a { grid-template-columns: 38px minmax(0,1fr) auto; gap: 7px 10px; padding: 13px; }
  .jere-page-hero { margin-top: 0; padding: 28px 21px; }
  .jere-page-hero h1 { font-size: 2.9rem; }
  .jere-catalog-pager { flex-wrap: wrap; }
}

/* ================================================================
   VERSÃO 1.3.2 — página inicial estruturada conforme o briefing
   ================================================================ */
.jere-brand strong { color: var(--jere-verde) !important; }
.header-jere .wp-block-search__input::placeholder { content: "Pesquisar..."; }
.jere-front-page-main { max-width: 1320px !important; margin-left: auto !important; margin-right: auto !important; }
.jere-home-layout { max-width: 1240px; margin: 0 auto; }
.jere-home-intro-panel {
    position: relative; display: flex; align-items: center; min-height: 330px; overflow: hidden;
    padding: clamp(32px, 5.5vw, 70px); border-radius: 22px; background: var(--jere-verde); color: var(--jere-giz);
    box-shadow: 0 14px 34px rgba(31,58,50,.12); isolation: isolate;
}
.jere-home-intro-panel::before, .jere-home-intro-panel::after {
    content: ""; position: absolute; z-index: -1; right: -82px; top: -140px; width: 390px; height: 390px;
    border: 1px solid rgba(250,246,240,.17); border-radius: 50%; pointer-events: none;
}
.jere-home-intro-panel::after { right: -20px; top: -78px; width: 265px; height: 265px; border-color: rgba(232,122,93,.42); }
.jere-home-intro-copy { position: relative; z-index: 1; width: min(890px,100%); }
.jere-home-intro-copy h1 {
    max-width: 920px; margin: 0 0 23px; color: var(--jere-coral) !important;
    font-family: "Instrument Serif", Georgia, serif !important; font-size: clamp(2.5rem, 4.7vw, 4.35rem) !important;
    font-weight: 400 !important; line-height: 1.03 !important; letter-spacing: -.025em;
}
.jere-home-intro-copy > p { max-width: 810px; margin: 0; color: var(--jere-giz); font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.8; }
.jere-home-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.jere-home-cta { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-width: 144px; padding: 13px 21px; border: 1px solid transparent; border-radius: 999px; font-size: .98rem; font-weight: 800; text-decoration: none !important; transition: transform .2s ease, background .2s ease, color .2s ease; }
.jere-home-cta:hover { transform: translateY(-3px); }
.jere-home-cta--light { background: var(--jere-giz); color: var(--jere-verde) !important; }
.jere-home-cta--light:hover { background: var(--jere-mostarda); }
.jere-home-cta--coral { background: var(--jere-coral); color: var(--jere-verde) !important; }
.jere-home-cta--coral:hover { background: var(--jere-mostarda); }
.jere-home-intro-mark { position: absolute; right: 42px; bottom: -66px; z-index: 0; color: rgba(250,246,240,.055); font-family: "Instrument Serif", Georgia, serif; font-size: clamp(9rem, 21vw, 18rem); line-height: 1; pointer-events: none; }
.jere-home-subjects, .jere-home-latest { margin-top: clamp(48px, 6vw, 76px); }
.jere-home-block-heading { margin: 0 0 24px; }
.jere-home-eyebrow { margin: 0 0 6px; color: var(--jere-coral); font-family: "IBM Plex Mono", monospace; font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.jere-home-block-heading h2 { margin: 0; color: var(--jere-verde); font-family: "Instrument Serif", Georgia, serif; font-size: clamp(2.05rem, 3.5vw, 3rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; }
.jere-home-subject-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.jere-home-subject-tile {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-width: 0;
    aspect-ratio: 1 / 1; padding: 19px; overflow: hidden; border: 1px solid rgba(31,58,50,.12); border-radius: 17px;
    color: var(--jere-verde) !important; text-decoration: none !important; isolation: isolate;
    box-shadow: 0 6px 22px rgba(31,58,50,.045); transition: transform .22s ease, box-shadow .22s ease;
}
.jere-home-subject-tile::before, .jere-home-subject-tile::after { content: ""; position: absolute; z-index: -1; border: 1px solid currentColor; border-radius: 50%; opacity: .13; pointer-events: none; }
.jere-home-subject-tile::before { width: 150px; height: 150px; right: -33px; top: -32px; }
.jere-home-subject-tile::after { width: 110px; height: 110px; right: 4px; top: 15px; }
.jere-home-subject-tile:hover { transform: translateY(-5px); box-shadow: 0 16px 28px rgba(31,58,50,.12); }
.jere-home-subject-tile.subject-artes { background: var(--jere-mostarda); }
.jere-home-subject-tile.subject-gramatica { background: #F7E5D8; }
.jere-home-subject-tile.subject-interpretacao { background: #E4EAE2; }
.jere-home-subject-tile.subject-literatura { background: #FFFFFF; }
.jere-home-subject-tile.subject-redacao { background: #F4D9CE; }
.jere-home-subject-art { position: absolute; z-index: 0; inset: 4px 4px 48px; display: flex; align-items: center; justify-content: center; width: auto; min-height: 0; margin: 0; overflow: hidden; pointer-events: none; }
.jere-home-subject-art .jere-illustration { position: relative; top: auto; right: auto; width: clamp(78px, 7vw, 112px); height: auto; color: var(--jere-verde); }
.jere-home-subject-art .jere-home-subject-image { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center center; }
.jere-home-subject-tile .jere-home-subject-overline, .jere-home-subject-tile > strong, .jere-home-subject-tile .jere-home-subject-arrow { position: relative; z-index: 1; }
.jere-home-subject-tile .jere-home-subject-overline { margin-top: auto; }
.jere-home-subject-overline { margin: 14px 0 5px; color: rgba(31,58,50,.75); font-family: "IBM Plex Mono", monospace; font-size: .58rem; font-weight: 700; letter-spacing: .07em; line-height: 1.4; }
.jere-home-subject-tile strong { max-width: calc(100% - 13px); font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.35rem, 1.75vw, 1.85rem); font-weight: 400; line-height: 1.05; }
.jere-home-subject-arrow { position: absolute; right: 16px; bottom: 17px; color: var(--jere-coral); font-size: 1.05rem; font-weight: 800; }
.jere-home-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.jere-latest-card { display: flex; flex-direction: column; min-width: 0; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid rgba(31,58,50,.12); border-radius: 18px; background: #fff; color: var(--jere-verde) !important; text-decoration: none !important; box-shadow: 0 6px 22px rgba(31,58,50,.045); transition: transform .22s ease, box-shadow .22s ease; }
.jere-latest-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(31,58,50,.12); }
.jere-latest-art { position: relative; display: flex; align-items: center; justify-content: center; flex: 1 1 55%; min-height: 0; overflow: hidden; background: #E4EAE2; color: var(--jere-verde); }
.jere-latest-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.jere-latest-card:hover .jere-latest-art > img { transform: scale(1.04); }
.jere-latest-art .jere-illustration { width: min(44%, 130px); height: auto; color: var(--jere-verde); }
.jere-latest-art--fallback { background: #F7E5D8; }
.jere-latest-art--planned.subject-artes { background: var(--jere-mostarda); }
.jere-latest-art--planned.subject-gramatica { background: #F7E5D8; }
.jere-latest-art--planned.subject-redacao { background: #F4D9CE; }
.jere-latest-stamp { position: absolute; top: 13px; left: 13px; z-index: 1; padding: 5px 8px; border-radius: 3px; background: var(--jere-giz); color: var(--jere-verde); font-family: "IBM Plex Mono", monospace; font-size: .58rem; font-weight: 700; letter-spacing: .05em; }
.jere-latest-copy { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; padding: clamp(14px, 2vw, 22px); }
.jere-latest-meta { margin-bottom: 7px; color: var(--jere-coral); font-family: "IBM Plex Mono", monospace; font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.jere-latest-copy strong { display: block; color: var(--jere-verde); font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.22rem, 1.9vw, 1.7rem); font-weight: 400; line-height: 1.08; }
.jere-latest-link { display: flex; justify-content: space-between; gap: 12px; width: 100%; margin-top: 12px; color: var(--jere-verde); font-size: .8rem; font-weight: 800; }
.jere-latest-link span { color: var(--jere-coral); }

/* Barra de contato compartilhada por todas as páginas, com botões sociais circulares. */
.jere-contact-bar { width: 100%; box-sizing: border-box; }
.jere-contact-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 28px; width: 100%; }
.jere-contact-inner h2 { margin: 0; }
.jere-contact-bar .jere-social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.jere-contact-bar .jere-social-link { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 50px; width: 50px; height: 50px; padding: 0; border: 1px solid rgba(250,246,240,.45); border-radius: 50%; background: var(--jere-giz); color: var(--jere-verde) !important; text-decoration: none !important; transition: transform .2s ease, background .2s ease; }
.jere-contact-bar .jere-social-link svg { width: 22px; height: 22px; color: var(--jere-coral); }
.jere-contact-bar .jere-social-link span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.jere-contact-bar .jere-social-link:hover { transform: translateY(-3px); background: var(--jere-mostarda); }

@media (max-width: 1050px) {
    .header-jere { gap: 14px 18px; padding: 13px 18px !important; }
    .header-jere > .wp-block-navigation { flex-basis: 360px; }
    .header-jere > .wp-block-search { flex-basis: 230px; }
    .jere-home-subject-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .jere-home-subject-tile { min-height: 205px; }
}
@media (max-width: 760px) {
    .jere-header-shell { padding: 6px !important; }
    .header-jere { gap: 12px; }
    .jere-front-page-main { padding-left: 16px !important; padding-right: 16px !important; }
    .jere-home-intro-panel { min-height: 0; padding: 32px 24px; }
    .jere-home-intro-copy h1 { font-size: clamp(2.35rem, 9vw, 3.25rem) !important; }
    .jere-home-intro-mark { right: 8px; bottom: -25px; font-size: 8rem; }
    .jere-home-subject-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .jere-home-subject-tile { min-height: 180px; padding: 16px; }
    .jere-home-subject-tile strong { font-size: 1.55rem; }
    .jere-home-latest-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .jere-latest-card { aspect-ratio: auto; min-height: 265px; }
    .jere-latest-art { min-height: 145px; }
    .jere-latest-copy { padding: 15px; }
    .jere-latest-copy strong { font-size: 1.35rem; }
    .jere-contact-inner { align-items: flex-start; flex-direction: column; }
    .jere-contact-bar .jere-social-links { gap: 9px; }
    .jere-contact-bar .jere-social-link { flex-basis: 46px; width: 46px; height: 46px; }
}
@media (max-width: 460px) {
    .jere-home-latest-grid { grid-template-columns: 1fr; }
    .jere-latest-card { aspect-ratio: 1 / 1; }
    .jere-home-intro-actions { align-items: stretch; flex-direction: column; max-width: 230px; }
}


/* Paginação dos temas: mantém exatamente nove cartões visíveis por página. */
.jere-topic-card[hidden] { display: none !important; }
.jere-subject-pager { margin-top: 28px; }
.jere-subject-pager button:disabled { opacity: .4; cursor: not-allowed; }


/* Rodapé ampliado exclusivo da página inicial; não altera o rodapé das páginas internas. */
.jere-home-footer {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 42px 24px 20px;
    border-top: 4px solid var(--jere-coral);
    background: var(--jere-verde);
    color: var(--jere-giz);
}
.jere-home-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    column-gap: clamp(42px, 6vw, 86px);
    row-gap: 26px;
    width: min(1200px, 100%);
    margin: 0 auto;
}
.jere-home-footer-about { min-width: 0; }
.jere-home-footer-brand {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--jere-mostarda) !important;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(1.9rem, 2.5vw, 2.35rem);
    line-height: 1.1;
    text-decoration: none !important;
}
.jere-home-footer-brand:hover,
.jere-home-footer-brand:focus-visible { color: var(--jere-coral) !important; }
.jere-home-footer-about p {
    max-width: 650px;
    margin: 0;
    color: var(--jere-giz);
    font-family: "Sen", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.85;
}
.jere-home-footer-contacts h2 {
    margin: 0 0 14px;
    color: var(--jere-coral);
    font-family: "Instrument Serif", Georgia, serif !important;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: .015em;
    line-height: 1.2;
    text-transform: uppercase;
}
.jere-home-footer-contact-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}
.jere-home-footer-contact {
    display: grid;
    grid-template-columns: 38px minmax(78px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: var(--jere-giz) !important;
    text-decoration: none !important;
    transition: color .18s ease, transform .18s ease;
}
.jere-home-footer-contact:hover,
.jere-home-footer-contact:focus-visible {
    color: var(--jere-mostarda) !important;
    transform: translateX(2px);
}
.jere-home-footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid rgba(250, 246, 240, .58);
    border-radius: 50%;
    background: var(--jere-giz);
    color: var(--jere-coral);
}
.jere-home-footer-contact-icon svg { display: block; width: 18px; height: 18px; }
.jere-home-footer-contact-name {
    color: var(--jere-coral);
    font-size: .88rem;
    font-weight: 800;
    white-space: nowrap;
}
.jere-home-footer-contact-value {
    min-width: 0;
    color: var(--jere-giz);
    font-size: .93rem;
    overflow-wrap: anywhere;
}
.jere-home-footer-contact:hover .jere-home-footer-contact-value { color: var(--jere-mostarda); }
.jere-home-footer-copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(250, 246, 240, .18);
    color: var(--jere-mostarda);
    font-size: .8rem;
    line-height: 1.5;
    text-align: right;
}
@media (max-width: 760px) {
    .jere-home-footer { padding: 32px 20px 18px; }
    .jere-home-footer-inner { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
    .jere-home-footer-contact-list { gap: 11px; }
    .jere-home-footer-contact { grid-template-columns: 38px minmax(78px, auto) minmax(0, 1fr); }
    .jere-home-footer-copyright { text-align: left; }
}
@media (max-width: 420px) {
    .jere-home-footer-contact { grid-template-columns: 38px minmax(0, 1fr); gap: 8px 10px; }
    .jere-home-footer-contact-icon { grid-row: span 2; }
    .jere-home-footer-contact-name { align-self: end; }
    .jere-home-footer-contact-value { grid-column: 2; font-size: .88rem; }
}



/* Correção 1.3.8: cabeçalho em bloco HTML válido no Editor do Site. */
.header-jere .wp-block-navigation__container { display: flex; list-style: none; margin: 0; padding: 0; }
.header-jere .wp-block-navigation-item { list-style: none; margin: 0; padding: 0; }
.header-jere > .wp-block-search { display: block; }
.header-jere .wp-block-search__inside-wrapper { display: flex; align-items: center; gap: 8px; }
.header-jere .wp-block-search__input { width: 100%; }
.header-jere .wp-block-search__button { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.header-jere .jere-search-icon { display: inline-block; width: 18px; height: 18px; vertical-align: middle; }


/* VERSÃO 1.4.0 — cabeçalho em uma única linha larga: marca + cinco disciplinas + busca. */
@media (min-width: 801px) {
  .jere-header-shell > .header-jere,
  .jere-header-shell .header-jere {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(8px, 1vw, 18px) !important;
    box-sizing: border-box !important;
    padding: clamp(10px, 1.25vw, 18px) clamp(12px, 1.6vw, 24px) !important;
    min-width: 0 !important;
  }
  .jere-header-shell .header-jere > .wp-block-html {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    order: 0 !important;
  }
  .jere-header-shell .header-jere > .wp-block-navigation {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-basis: 0 !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    min-width: 0 !important;
    order: 0 !important;
  }
  .jere-header-shell .header-jere .wp-block-navigation__container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(7px, .95vw, 15px) !important;
    min-width: 0 !important;
  }
  .jere-header-shell .header-jere .wp-block-navigation-item__content {
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: clamp(.70rem, .88vw, .94rem) !important;
    padding: 6px 0 !important;
  }
  .jere-header-shell .header-jere > .wp-block-search {
    flex: 0 1 clamp(165px, 18vw, 235px) !important;
    flex-basis: clamp(165px, 18vw, 235px) !important;
    min-width: 155px !important;
    max-width: 235px !important;
    margin: 0 0 0 auto !important;
    order: 0 !important;
  }
  .jere-header-shell .jere-brand { white-space: nowrap !important; }
}

@media (min-width: 801px) and (max-width: 1050px) {
  .jere-header-shell .header-jere { gap: 8px !important; padding: 10px 12px !important; }
  .jere-header-shell .header-jere .wp-block-navigation__container { gap: 7px !important; }
  .jere-header-shell .header-jere .wp-block-navigation-item__content { font-size: .72rem !important; }
  .jere-header-shell .header-jere > .wp-block-search { flex-basis: 165px !important; min-width: 150px !important; }
}


/* Versão 1.4.1: rodapé institucional compartilhado em todos os modelos. */
.jere-home-footer { position: relative; z-index: 0; }


/* Versão 1.4.2: citação e ilustração editorial nas páginas 1–3 de cada disciplina. */
.jere-subject-page-hero { background: #fff; }
.jere-subject-quote-banner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(235px, 305px);
    align-items: center;
    gap: clamp(22px, 4vw, 58px);
    margin: 24px 0 20px;
    padding: 12px 18px 8px 0;
    background: #fff;
    border-radius: 18px;
}
.jere-subject-quote-copy { min-width: 0; }
.jere-subject-quote-copy blockquote { margin: 0; padding: 0; border: 0; }
.jere-subject-quote-copy blockquote p {
    margin: 0;
    max-width: 920px;
    color: var(--jere-coral);
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(1.55rem, 2.35vw, 2.25rem);
    font-style: italic;
    line-height: 1.22;
    letter-spacing: -.012em;
}
.jere-subject-quote-author {
    margin: 13px 0 0 !important;
    color: var(--jere-verde) !important;
    font-family: "Sen", Arial, sans-serif;
    font-size: 1rem !important;
    font-weight: 800;
}
.jere-subject-quote-art {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 0;
    margin: 0;
}
.jere-subject-quote-art img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    object-position: center bottom;
}
.jere-subject-subtitle { max-width: 850px !important; }
@media (max-width: 760px) {
    .jere-subject-quote-banner {
        grid-template-columns: minmax(0, 1fr) minmax(135px, 205px);
        gap: 16px;
        margin-top: 18px;
        padding: 8px 0 2px;
    }
    .jere-subject-quote-copy blockquote p { font-size: clamp(1.35rem, 4vw, 1.75rem); }
    .jere-subject-quote-art img { max-height: 290px; }
}
@media (max-width: 520px) {
    .jere-subject-quote-banner {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    .jere-subject-quote-copy blockquote p { font-size: 1.55rem; }
    .jere-subject-quote-art { justify-content: flex-end; max-height: 285px; }
    .jere-subject-quote-art img { max-height: 285px; max-width: 78%; }
    .jere-subject-quote-author { font-size: .92rem !important; }
}


/* VERSÃO 1.4.3 — menu de navegação ampliado em todo o site. */
.jere-header-shell .header-jere .wp-block-navigation-item__content {
    font-size: clamp(.94rem, 1vw, 1.08rem) !important;
    line-height: 1.25 !important;
}
@media (min-width: 801px) and (max-width: 1050px) {
    .jere-header-shell .header-jere .wp-block-navigation-item__content {
        font-size: .82rem !important;
    }
}
@media (max-width: 800px) {
    .jere-header-shell .header-jere .wp-block-navigation-item__content {
        font-size: .98rem !important;
    }
}

/* Nas páginas de disciplina, o destaque contém somente identificação, título e citação. */
.jere-subject-page-hero .jere-subject-subtitle,
.jere-subject-page-hero > .jere-back-home {
    display: none !important;
}


/* VERSÃO 1.4.5 — cartões de pauta mais compactos e menu ampliado. */
@media (min-width: 521px) {
    .jere-topic-card {
        aspect-ratio: 1 / 1;
        min-height: 0;
        height: auto;
    }
    .jere-topic-card .jere-topic-art {
        flex: 0 0 48%;
        min-height: 0 !important;
        height: auto;
        padding: 15px;
    }
    .jere-topic-card .jere-topic-subject-image {
        right: 0;
        bottom: 0;
        width: 65%;
        height: 100%;
        max-width: none;
        max-height: 100%;
        object-fit: contain;
        object-position: center bottom;
    }
    .jere-topic-card .jere-topic-number {
        top: 11px;
        left: 13px;
        font-size: .68rem;
    }
    .jere-topic-card .jere-topic-art-label {
        left: 13px;
        bottom: 12px;
        max-width: 42%;
        font-size: .52rem;
        letter-spacing: .06em;
    }
    .jere-topic-card .jere-topic-art-stamp {
        top: 10px;
        right: 10px;
        padding: 2px 5px;
        font-size: .54rem;
    }
    .jere-topic-card .jere-topic-copy {
        flex: 1 1 52%;
        min-height: 0;
        overflow: hidden;
        padding: 12px 15px 14px;
    }
    .jere-topic-card .jere-topic-tag {
        margin-bottom: 6px;
        padding: 3px 7px;
        font-size: .58rem;
        line-height: 1.3;
    }
    .jere-topic-card .jere-topic-copy strong {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        margin-bottom: 0;
        font-size: clamp(1.12rem, 1.35vw, 1.48rem);
        line-height: 1.04;
    }
    .jere-topic-card .jere-topic-summary {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        margin-top: 6px;
        font-size: .78rem;
        line-height: 1.35;
    }
    .jere-topic-card .jere-topic-link-label {
        padding-top: 8px;
        font-size: .76rem;
    }
}

/* No celular, a área de imagem mantém altura natural para não comprimir os personagens. */
@media (max-width: 520px) {
    .jere-topic-card {
        aspect-ratio: auto;
    }
    .jere-topic-card .jere-topic-art {
        flex: 0 0 auto;
        min-height: 190px !important;
    }
    .jere-topic-card .jere-topic-copy strong {
        display: block;
        overflow: visible;
        font-size: 1.4rem;
    }
    .jere-topic-card .jere-topic-summary {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        font-size: .94rem;
        line-height: 1.6;
    }
}

/* Menu maior em todas as páginas, mantendo os cinco itens em uma única linha larga. */
.jere-header-shell .header-jere .wp-block-navigation-item__content {
    font-size: clamp(1.02rem, 1.08vw, 1.17rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -.01em;
}
@media (min-width: 801px) and (max-width: 1050px) {
    .jere-header-shell .header-jere .wp-block-navigation-item__content {
        font-size: .88rem !important;
    }
    .jere-header-shell .header-jere .wp-block-navigation__container {
        gap: 7px !important;
    }
}
@media (max-width: 800px) {
    .jere-header-shell .header-jere .wp-block-navigation-item__content {
        font-size: 1.02rem !important;
    }
}


/* v1.5.1 — Aula de Artes: estilos isolados; a página inicial original permanece intacta. */
.jere-artes-aula {
    width: min(100% - 32px, 980px);
    margin: clamp(24px, 5vw, 64px) auto;
    color: var(--jere-verde);
    font-family: "Sen", Arial, sans-serif;
    font-size: 1.02rem;
    line-height: 1.82;
}
.jere-artes-aula > .jere-eyebrow {
    margin: 0 0 8px;
    color: var(--jere-coral);
    font-family: "IBM Plex Mono", monospace;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
}
.jere-artes-aula h1 {
    margin: 0;
    color: var(--jere-coral);
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.7rem);
    line-height: 1.02;
}
.jere-artes-aula .jere-artes-subtitle {
    margin: 8px 0 24px;
    color: var(--jere-verde);
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.15;
}
.jere-artes-hero-image { margin: 0 0 28px; }
.jere-artes-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 470px;
    object-fit: cover;
    border-radius: 12px;
}
.jere-artes-aula > p:not(.jere-eyebrow):not(.jere-artes-subtitle) { margin: 0 0 1.2em; }
.jere-artes-aula h2 {
    margin: 2em 0 .5em;
    padding-top: .25em;
    color: var(--jere-coral);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.12;
}
.jere-artes-conceito {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: start;
    margin: 32px 0;
    padding: 24px;
    background: var(--jere-pessego);
    border-radius: 12px;
    border-left: 4px solid var(--jere-coral);
}
.jere-artes-conceito-icon { color: var(--jere-coral); font-size: 2.5rem; text-align: center; }
.jere-artes-conceito h2 { margin: 0 0 8px; font-size: 1.25rem; }
.jere-artes-conceito p { margin: 0; }
.jere-artes-citacao {
    margin: 32px 0;
    padding: 24px 28px;
    background: #e8eee8;
    border-radius: 12px;
    border-left: 4px solid var(--jere-coral);
}
.jere-artes-citacao p { margin: 0 0 12px; font-family: "Instrument Serif", Georgia, serif; font-size: 1.35rem; line-height: 1.45; }
.jere-artes-citacao cite { display: block; color: var(--jere-coral); text-align: right; font-style: normal; }
.jere-artes-voltar { margin-top: 40px !important; }
.jere-artes-voltar a {
    display: inline-block; padding: 12px 20px; border-radius: 40px;
    background: var(--jere-verde); color: var(--jere-giz); text-decoration: none; font-weight: 800;
}
.jere-topic-card--featured-artes .jere-topic-art { overflow: hidden; }
.jere-topic-card--featured-artes .jere-topic-subject-image {
    width: 100%; height: 100%; object-fit: cover; opacity: .96;
}
@media (max-width: 600px) {
    .jere-artes-aula { width: min(100% - 24px, 980px); font-size: 1rem; }
    .jere-artes-conceito { grid-template-columns: 1fr; padding: 18px; }
    .jere-artes-conceito-icon { text-align: left; }
}


/* Exercício de Artes 1 — módulo isolado, sem alterar o layout das páginas existentes. */
.jere-artes-aula-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.jere-artes-aula-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 800;
}
.jere-artes-aula-nav .jere-artes-back-link {
    color: var(--jere-verde, #183d33);
    border: 1px solid rgba(24, 61, 51, .22);
}
.jere-artes-aula-nav .jere-artes-exercise-link {
    color: #fffaf4;
    background: var(--jere-verde, #183d33);
    border: 1px solid var(--jere-verde, #183d33);
}
.jere-artes-aula-nav .jere-artes-exercise-link:hover,
.jere-artes-aula-nav .jere-artes-exercise-link:focus-visible {
    background: var(--jere-coral, #e97861);
    border-color: var(--jere-coral, #e97861);
    color: #183d33;
}
.jere-exercise-page {
    width: min(100% - 32px, 980px);
    margin: clamp(28px, 5vw, 64px) auto;
    color: var(--jere-verde, #183d33);
}
.jere-exercise-hero {
    padding: clamp(24px, 5vw, 48px);
    border-radius: var(--jere-radius, 24px);
    background: var(--jere-verde, #183d33);
    color: #fffaf4;
    margin-bottom: 28px;
}
.jere-exercise-hero .jere-eyebrow {
    color: var(--jere-coral, #e97861);
    font-weight: 800;
    letter-spacing: .12em;
    font-size: .78rem;
}
.jere-exercise-kicker {
    margin: 22px 0 8px;
    color: var(--jere-coral, #e97861);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .1em;
}
.jere-exercise-hero h1 {
    color: #fffaf4;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    margin: 0 0 16px;
}
.jere-exercise-hero p:last-child { max-width: 68ch; margin-bottom: 0; }
.jere-exercise-question {
    min-width: 0;
    margin: 0 0 22px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(24, 61, 51, .16);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 10px 28px rgba(24, 61, 51, .06);
}
.jere-exercise-question legend {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    font-weight: 800;
    line-height: 1.5;
    font-size: 1.08rem;
}
.jere-exercise-number {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--jere-coral, #e97861);
    color: #183d33;
    font-size: .9rem;
}
.jere-exercise-context {
    margin: 18px 0;
    padding: 16px 18px;
    border-left: 4px solid var(--jere-coral, #e97861);
    background: #f5f1e8;
    border-radius: 0 12px 12px 0;
    line-height: 1.7;
    white-space: normal;
}
.jere-exercise-options { display: grid; gap: 10px; margin-top: 18px; }
.jere-exercise-option {
    display: grid;
    grid-template-columns: 20px 32px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid rgba(24, 61, 51, .16);
    border-radius: 12px;
    cursor: pointer;
    line-height: 1.55;
    transition: border-color .15s ease, background .15s ease;
}
.jere-exercise-option:hover { border-color: var(--jere-coral, #e97861); background: #fff8f2; }
.jere-exercise-option input { margin-top: 5px; accent-color: var(--jere-verde, #183d33); }
.jere-exercise-letter {
    width: 28px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #f0ece2;
    color: var(--jere-verde, #183d33);
    font-weight: 800;
    font-size: .85rem;
}
.jere-exercise-option.is-correct { border-color: #3b8062; background: #edf7ef; }
.jere-exercise-option.is-wrong { border-color: #c85d50; background: #fff0ed; }
.jere-exercise-feedback {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f5f1e8;
    line-height: 1.65;
}
.jere-exercise-feedback[hidden], .jere-exercise-result[hidden] { display: none; }
.jere-exercise-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.jere-exercise-actions button {
    appearance: none;
    border: 1px solid var(--jere-verde, #183d33);
    border-radius: 999px;
    padding: 13px 22px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}
.jere-exercise-submit { background: var(--jere-verde, #183d33); color: #fffaf4; }
.jere-exercise-submit:hover { background: var(--jere-coral, #e97861); color: #183d33; }
.jere-exercise-reset { background: transparent; color: var(--jere-verde, #183d33); }
.jere-exercise-result {
    display: grid;
    gap: 8px;
    margin: 22px 0;
    padding: 22px;
    border-radius: 16px;
    background: var(--jere-verde, #183d33);
    color: #fffaf4;
    font-size: 1.08rem;
}
.jere-exercise-back { margin-top: 26px; }
.jere-exercise-back a { color: var(--jere-verde, #183d33); font-weight: 800; }
@media (max-width: 600px) {
    .jere-artes-aula-nav { align-items: stretch; }
    .jere-artes-aula-nav a { width: 100%; }
    .jere-exercise-option { grid-template-columns: 18px 28px minmax(0, 1fr); gap: 8px; padding: 12px 10px; }
}


/* Exercício de Artes 1 — melhoria de legibilidade e interface */
.jere-exercise-page { max-width: 1120px; margin-inline: auto; padding: clamp(24px, 4vw, 56px) clamp(18px, 3vw, 36px); }
.jere-exercise-page .jere-exercise-hero { margin-bottom: 32px; }
.jere-exercise-page .jere-exercise-hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; margin: 18px 0 22px; font-weight: 700; }
.jere-exercise-page .jere-exercise-title-accent { color: #ed795f; display: inline; }
.jere-exercise-page .jere-exercise-title-rest { color: #1d3a32; }
.jere-exercise-page .jere-exercise-hero > p:last-child { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.7; }
.jere-exercise-page .jere-exercise-kicker { display: none !important; }
.jere-exercise-page .jere-exercise-question { margin: 0 0 28px; padding: 22px 24px 24px; border: 1px solid #d8d0c7; border-radius: 14px; background: #fffdf9; }
.jere-exercise-page .jere-exercise-question legend { padding: 0 8px; max-width: 100%; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; font-weight: 750; color: #1d3a32; }
.jere-exercise-page .jere-exercise-number { color: #ed795f; font-weight: 800; margin-right: 8px; }
.jere-exercise-page .jere-exercise-context { font-size: 1.08rem; line-height: 1.8; margin: 18px 0; padding: 18px; background: #f7eee8; border-left: 4px solid #ed795f; border-radius: 6px; }
.jere-exercise-page .jere-exercise-options { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.jere-exercise-page .jere-exercise-option { display: flex; align-items: flex-start; gap: 12px; width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid #eadbd3; border-radius: 10px; background: #fff; color: #ed795f; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.65; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.jere-exercise-page .jere-exercise-option:hover { background: #fff4ef; border-color: #ed795f; }
.jere-exercise-page .jere-exercise-option input { flex: 0 0 auto; margin-top: .45em; accent-color: #ed795f; }
.jere-exercise-page .jere-exercise-option .jere-exercise-letter { flex: 0 0 auto; font-weight: 800; color: #1d3a32; }
.jere-exercise-page .jere-exercise-option.is-correct { background: #edf5ef; border-color: #397b54; color: #1d3a32; }
.jere-exercise-page .jere-exercise-option.is-wrong { background: #fff0ed; border-color: #d95743; }
.jere-exercise-page .jere-exercise-feedback { margin-top: 14px; padding: 16px 18px; border-radius: 10px; background: #f7eee8; color: #1d3a32; font-size: 1.08rem; line-height: 1.7; }
.jere-exercise-page .jere-exercise-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.jere-exercise-page .jere-exercise-actions button { min-height: 52px; padding: 14px 24px; border: 0; border-radius: 999px; font: inherit; font-weight: 750; cursor: pointer; }
.jere-exercise-page .jere-exercise-submit { background: #ed795f; color: #1d3a32; }
.jere-exercise-page .jere-exercise-reset { background: #1d3a32; color: #fffaf4; }
.jere-exercise-page .jere-exercise-result { padding: 22px; border-radius: 14px; background: #1d3a32; color: #fffaf4; font-size: 1.25rem; line-height: 1.6; }
@media (max-width: 640px) {
 .jere-exercise-page .jere-exercise-question { padding: 18px 14px; }
 .jere-exercise-page .jere-exercise-option { padding: 12px; }
 .jere-exercise-page .jere-exercise-actions { flex-direction: column; }
 .jere-exercise-page .jere-exercise-actions button { width: 100%; }
}

/* 1.5.5: cabeçalho partilhado na página do exercício */
.jere-exercise-page { margin-top: 28px !important; }


/* 1.5.6: correção final — usar apenas o cabeçalho global do tema e tornar visível o botão de regresso */
.jere-exercise-page .jere-header-shell { display: none !important; }
.jere-artes-aula-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.jere-artes-aula-nav a.jere-artes-back-link,
.jere-artes-aula-nav a.jere-artes-exercise-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 24px !important;
  border-radius: 999px;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 800 !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-decoration: none !important;
  white-space: normal;
}
.jere-artes-aula-nav a.jere-artes-back-link { background: #1d3a32 !important; color: #fffaf4 !important; }
.jere-artes-aula-nav a.jere-artes-exercise-link { background: #1d3a32 !important; color: #fffaf4 !important; }
.jere-artes-aula-nav a.jere-artes-back-link:hover,
.jere-artes-aula-nav a.jere-artes-exercise-link:hover { background: #ed795f !important; color: #1d3a32 !important; }
@media (max-width: 640px) {
 .jere-artes-aula-nav { flex-direction: column; align-items: stretch; }
 .jere-artes-aula-nav a.jere-artes-back-link,
 .jere-artes-aula-nav a.jere-artes-exercise-link { width: 100%; box-sizing: border-box; }
}


/* 1.5.7 — melhorias de leitura no exercício e cabeçalho global único */
.wp-site-blocks main .header-jere,
.wp-site-blocks main .jere-site-header,
.wp-site-blocks main .jere-header-shell {
    display: none !important;
}
.jere-exercise-page {
    font-size: clamp(18px, 1.4vw, 21px) !important;
    line-height: 1.8 !important;
}
.jere-exercise-page .jere-exercise-hero {
    padding: clamp(28px, 5vw, 56px) !important;
}
.jere-exercise-page .jere-exercise-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    line-height: 1.12 !important;
}
.jere-exercise-page .jere-exercise-hero > p:last-child {
    font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
    line-height: 1.8 !important;
}
.jere-exercise-page .jere-exercise-question legend {
    font-size: clamp(1.35rem, 2.3vw, 1.75rem) !important;
    line-height: 1.55 !important;
}
.jere-exercise-page .jere-exercise-option {
    font-size: clamp(1.2rem, 1.8vw, 1.4rem) !important;
    line-height: 1.8 !important;
    padding: 16px 18px !important;
}
.jere-exercise-page .jere-exercise-context,
.jere-exercise-page .jere-exercise-feedback {
    font-size: clamp(1.15rem, 1.7vw, 1.35rem) !important;
    line-height: 1.85 !important;
}
.jere-exercise-page .jere-exercise-actions button {
    font-size: 1.1rem !important;
    padding: 16px 28px !important;
}
@media (max-width: 640px) {
    .jere-exercise-page {
        width: calc(100% - 20px) !important;
        padding: 18px 12px !important;
    }
    .jere-exercise-page .jere-exercise-option {
        font-size: 1.12rem !important;
        padding: 14px 12px !important;
    }
}


/* 1.5.8 — regresso ao Caderno 1 e cabeçalho único no exercício */
.jere-exercise-page .jere-exercise-back {
    margin: 28px 0 36px !important;
}
.jere-exercise-page .jere-exercise-back a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    padding: 14px 26px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #1F3A32 !important;
    color: #FFFFFF !important;
    font-family: "Sen", Arial, sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
}
.jere-exercise-page .jere-exercise-back a:hover,
.jere-exercise-page .jere-exercise-back a:focus-visible {
    background: #E87A5D !important;
    color: #1F3A32 !important;
}
.jere-exercise-page .jere-header-shell,
.jere-exercise-page .header-jere,
.jere-exercise-page .jere-site-header {
    display: none !important;
}
/* Keep the global template header, matching the Arts reading page. */


/* v1.6.0 — cabeçalho do exercício alinhado ao cabeçalho editorial da pauta de Artes */
.jere-exercise-page .jere-exercise-hero.jere-reading-hero {
    background: transparent;
    color: var(--jere-verde, #1f3a32);
    padding: 0;
    border-radius: 0;
    margin: 0 0 30px;
}
.jere-exercise-page .jere-reading-category {
    margin: 0 0 10px;
    color: var(--jere-coral, #e87a5d);
    font-family: "IBM Plex Mono", monospace;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
}
.jere-exercise-page .jere-reading-hero h1 {
    margin: 0 0 8px;
    color: var(--jere-coral, #e87a5d);
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(2.6rem, 5.4vw, 4.7rem);
    font-weight: 400;
    line-height: 1.02;
}
.jere-exercise-page .jere-reading-subtitle {
    margin: 0 0 24px;
    color: var(--jere-verde, #1f3a32);
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    line-height: 1.2;
}
.jere-exercise-page .jere-reading-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 390px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin: 0 auto;
}
.jere-exercise-page .jere-exercise-intro {
    margin: 28px 0 26px;
    padding: 0;
    background: transparent;
    color: var(--jere-verde, #1f3a32);
}
.jere-exercise-page .jere-exercise-intro .jere-eyebrow {
    margin: 0 0 8px;
    color: var(--jere-coral, #e87a5d);
    font-family: "IBM Plex Mono", monospace;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.jere-exercise-page .jere-exercise-intro h2 {
    margin: 0 0 12px;
    color: var(--jere-coral, #e87a5d);
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.05;
}
.jere-exercise-page .jere-exercise-intro > p:last-child {
    max-width: 72ch;
    margin: 0;
    color: var(--jere-verde, #1f3a32);
    font-size: clamp(1.12rem, 1.7vw, 1.35rem);
    line-height: 1.75;
}
@media (max-width: 600px) {
    .jere-exercise-page .jere-reading-hero h1 { font-size: clamp(2.35rem, 10vw, 3.2rem); }
    .jere-exercise-page .jere-reading-image { border-radius: 8px; }
}

/* v1.6.1 — imagem mantida; título e subtítulo transferidos para a secção do exercício */
.jere-exercise-page .jere-reading-hero .jere-reading-category,
.jere-exercise-page .jere-reading-hero h1,
.jere-exercise-page .jere-reading-hero .jere-reading-subtitle {
    display: none !important;
}
.jere-exercise-page .jere-exercise-intro h3 {
    margin: -2px 0 16px;
    color: var(--jere-coral, #e87a5d);
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.12;
}


/* Ajuste solicitado — leitura de Artes com tipografia mais confortável. */
.jere-artes-aula > p:not(.jere-eyebrow):not(.jere-artes-subtitle),
.jere-artes-aula .jere-artes-conceito p,
.jere-artes-aula .jere-artes-conceito li {
    font-size: clamp(1.12rem, 1.35vw, 1.25rem);
    line-height: 1.9;
}
.jere-artes-aula h2,
.jere-artes-aula h3 {
    line-height: 1.25;
}

/* v1.6.2 — título e instruções acima da imagem do exercício. */
.jere-exercise-page .jere-exercise-intro {
    margin: 0 0 26px;
}
.jere-exercise-page .jere-exercise-intro h2 {
    max-width: 24ch;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}
.jere-exercise-page .jere-exercise-hero.jere-reading-hero {
    margin: 0 0 30px;
}
