/*
Theme Name: Rede Cáritas
Description: Shared national and diocesan presentation theme for the Rede Cáritas network.
Version: 1.3.43
Text Domain: rede-caritas
*/
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700;800&display=swap');
/* Keep the shared header visible without covering page content. */
.wp-site-blocks > header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}
body.admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media (max-width: 782px) {
    body.admin-bar .wp-site-blocks > header.wp-block-template-part {
        top: var(--wp-admin--admin-bar--height, 46px);
    }
}
/* Search is a disclosure, not a modal; the form also works without JavaScript. */
.rede-header-inner {
    flex-wrap: wrap !important;
    gap: 16px;
}
.rede-header-inner > .wp-block-navigation {
    flex: 1 1 auto;
    margin-left: auto;
}
.rede-header-inner .wp-block-navigation .rede-donate-menu-link > .wp-block-navigation-item__content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 24px;
    background: #cf111b;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.rede-header-inner .wp-block-navigation .rede-donate-menu-link > .wp-block-navigation-item__content:hover,
.rede-header-inner .wp-block-navigation .rede-donate-menu-link > .wp-block-navigation-item__content:focus-visible {
    background: #a80e17;
    color: #fff;
}
@media (max-width: 599px) {
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        padding: 72px 24px 32px;
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
        color: var(--ink);
        text-align: left;
    }
    body.admin-bar .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
        top: var(--wp-admin--admin-bar--height, 46px);
        height: calc(100dvh - var(--wp-admin--admin-bar--height, 46px));
        max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 46px));
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
        top: 16px;
        right: 24px;
        min-width: 44px;
        min-height: 44px;
        display: grid;
        place-items: center;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-close, .wp-block-navigation__responsive-dialog, .wp-block-navigation__responsive-container-content, .wp-block-navigation__container) {
        width: 100%;
        max-width: none;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
        position: static;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation-item, .wp-block-navigation__submenu-container) {
        align-items: stretch;
        justify-content: flex-start;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
        gap: 0;
        padding-top: 0;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
        gap: 0;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
        width: 100%;
        border-bottom: 1px solid rgba(32, 33, 36, .15);
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        padding: 10px 0;
        text-align: left;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
        width: 100%;
        min-width: 0;
        gap: 0;
        padding: 0 0 10px 20px;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
        width: 100%;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
        min-height: 44px;
        padding: 8px 0;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-buttons {
        width: 100%;
        margin-top: 24px;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-button,
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-button__link {
        width: 100%;
    }
    .rede-header-inner > .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-button__link {
        display: block;
        text-align: center;
    }
}
.rede-header-search {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    color: var(--ink);
}
.rede-header-search > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border: 1px solid var(--ink);
    border-radius: 2px;
    background: #fff;
    list-style: none;
    cursor: pointer;
}
.rede-header-search > summary::-webkit-details-marker {
    display: none;
}
.rede-header-search > form {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 50;
    box-sizing: border-box;
    width: min(440px, calc(100vw - 48px));
    padding: 20px;
    border: 1px solid var(--ink);
    background: #fff;
    box-shadow: 0 8px 24px rgba(32, 33, 36, .15);
}
.rede-header-search:not([open]) > form {
    display: none;
}
.rede-header-search label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}
.rede-header-search__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.rede-header-search input {
    box-sizing: border-box;
    flex: 1 1 200px;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--ink);
    border-radius: 2px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}
.rede-header-search button {
    min-height: 48px;
}
.rede-header-search :is(summary, input, button):focus-visible,
.rede-search-results :is(a, button, input, select):focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 4px;
}
.rede-search-main {
    padding: 64px 24px 88px;
}
.rede-search-results {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
}
.rede-search-filters__term {
    flex-basis: 100%;
}
.rede-search-card__type {
    font-weight: 700;
}
.rede-search-results__heading {
    font-size: clamp(1.25rem, 2vw, 2rem);
    overflow-wrap: anywhere;
}
@font-face {
    font-family:"Atkinson Hyperlegible Next";
    src:url("assets/fonts/atkinson-regular.ttf") format("truetype");
    font-weight:400;
    font-style:normal;
    font-display:swap
}
@font-face {
    font-family:"Atkinson Hyperlegible Next";
    src:url("assets/fonts/atkinson-semibold.ttf") format("truetype");
    font-weight:600;
    font-style:normal;
    font-display:swap
}
@font-face {
    font-family:"Atkinson Hyperlegible Next";
    src:url("assets/fonts/atkinson-bold.ttf") format("truetype");
    font-weight:700 800;
    font-style:normal;
    font-display:swap
}
:root {
    --red:#c4161c;
    --ink:#202124;
    --paper:#f8f6f2;
    --gold:var(--red);
    --muted:#53514d
}
* {
    box-sizing:border-box
}
body {
    margin:0;
    font-family:"Lexend","Atkinson Hyperlegible Next",Arial,Helvetica,sans-serif;
    font-size:18px;
    color:var(--ink);
    background:var(--paper);
    line-height:1.6
}
a {
    color:inherit;
    text-decoration-thickness:2px;
    text-underline-offset:.16em
}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
    outline:3px solid #1a73e8;
    outline-offset:4px
}
.skip-link {
    position:absolute;
    left:16px;
    top:-80px;
    z-index:1000;
    background:#fff;
    color:#202124;
    padding:12px 16px;
    font-weight:700
}
.skip-link:focus {
    top:16px
}
.site-header {
    background:#fff;
    border-bottom:1px solid #e7e3dc
}
.bar,.nav,.container {
    max-width:1280px;
    margin:auto;
    padding-left:24px;
    padding-right:24px
}
.bar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:82px
}
.brand {
    font-size:1.55rem;
    font-weight:800;
    text-decoration:none;
    letter-spacing:-.04em
}
.brand span {
    color:var(--red)
}
.site-kind {
    font-size:.75rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:var(--muted)
}
.nav {
    display:flex;
    gap:25px;
    padding-top:13px;
    padding-bottom:14px;
    font-size:.91rem;
    font-weight:700
}
.nav a {
    text-decoration:none
}
.nav a:hover {
    color:var(--red)
}
.hero {
    color:white;
    background:linear-gradient(118deg,rgba(25,25,25,.94),rgba(54,22,20,.58)),url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1800&q=85') center/cover;
    min-height:590px;
    display:flex;
    align-items:end
}
.hero-inner {
    max-width:1280px;
    width:100%;
    padding:0 24px 76px;
    margin:auto
}
.eyebrow {
    font-size:.79rem;
    letter-spacing:.13em;
    text-transform:uppercase;
    font-weight:700;
    color:var(--gold)
}
h1 {
    font-size:clamp(3rem,7vw,6.5rem);
    line-height:.91;
    letter-spacing:-.07em;
    max-width:900px;
    margin:16px 0 23px
}
.hero p {
    font-size:1.25rem;
    max-width:630px;
    margin:0 0 30px
}
.button {
    display:inline-block;
    padding:14px 21px;
    background:var(--red);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    border-radius:2px
}
.button:hover {
    background:#a90f16
}
.impact {
    background:var(--red);
    color:#fff
}
.impact-grid {
    max-width:1280px;
    margin:auto;
    padding:34px 24px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}
.impact strong {
    display:block;
    font-size:2.35rem;
    letter-spacing:-.05em
}
.impact span {
    font-size:.84rem;
    text-transform:uppercase;
    letter-spacing:.08em
}
.section {
    padding:82px 24px;
    max-width:1280px;
    margin:auto
}
.section-title {
    font-size:clamp(2rem,4vw,3.65rem);
    letter-spacing:-.06em;
    line-height:1;
    margin:0 0 18px
}
.lead {
    max-width:690px;
    color:var(--muted);
    font-size:1.1rem
}
.cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-top:38px
}
.card {
    background:#fff;
    padding:28px;
    min-height:230px;
    border:1px solid rgba(32,33,36,.14)
}
.card h3 {
    font-size:1.45rem;
    letter-spacing:-.04em;
    margin:0 0 12px
}
.card p {
    color:var(--muted)
}
.stories {
    background:#202124;
    color:#fff
}
.stories .lead {
    color:#d7d4cd
}
.story-grid {
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:24px;
    margin-top:38px
}
.story {
    padding:32px;
    background:#333438;
    min-height:250px
}
.story.featured {
    background:linear-gradient(120deg,#9a1a1a,#d71920)
}
.story h3 {
    font-size:2rem;
    line-height:1.03;
    letter-spacing:-.05em;
    margin:45px 0 12px
}
.cta {
    padding:72px 24px;
    text-align:center;
    background:var(--paper)
}
.cta h2 {
    font-size:clamp(2rem,4vw,3.5rem);
    letter-spacing:-.06em;
    line-height:1;
    margin:0 auto 18px;
    max-width:770px
}
.cta .button {
    background:#202124
}
.site-footer {
    background:#151515;
    color:#eee;
    padding:44px 24px
}
.footer-inner {
    max-width:1280px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    gap:20px
}
.site-footer small {
    color:#aaa
}
@media(max-width:720px) {
    .nav {
        overflow:auto
    }
    .site-kind {
        display:none
    }
    .hero {
        min-height:520px
    }
    .impact-grid,.cards,.story-grid {
        grid-template-columns:1fr
    }
    .impact-grid {
        gap:30px
    }
    .section {
        padding-top:58px;
        padding-bottom:58px
    }
}


/* Centralized Site Title typography */
.wp-block-site-title a,
.wp-block-site-title__link {
    font-size:inherit;
}
.hero-site-title,
.hero-site-title a,
.hero-site-title .wp-block-site-title__link {
    font-size:clamp(3rem, 8vw, 6rem);
    font-weight:800;
    line-height:0.9;
    letter-spacing:-0.07em;
}
.header-site-title,
.header-site-title a,
.header-site-title .wp-block-site-title__link {
    font-size:1.6rem;
    font-weight:800;
    letter-spacing:-0.04em;
}
.footer-site-title,
.footer-site-title a,
.footer-site-title .wp-block-site-title__link {
    font-size:1.4rem;
    font-weight:800;
}


/* Homepage highlights carousel */
.rede-home-carousel {
    width:100%;
    color:#fff;
}
.rede-home-carousel__slides {
    position:relative;
}
.rede-home-carousel__slide {
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);
    gap:48px;
    align-items:center;
}
.rede-home-carousel__slide[hidden] {
    display:none;
}
.rede-home-carousel__content {
    max-width:720px;
}
.rede-home-carousel__eyebrow {
    margin:0 0 16px;
    color:#fff;
    font-size:.79rem;
    font-weight:700;
    letter-spacing:.13em;
    text-transform:uppercase;
}
.rede-home-carousel__title {
    margin:0 0 22px;
    color:#fff;
    font-size:clamp(3rem,7vw,6.5rem);
    line-height:.91;
    letter-spacing:-.07em;
}
.rede-home-carousel__text {
    max-width:630px;
    margin:0 0 30px;
    color:#fff;
    font-size:1.25rem;
}
.rede-home-carousel__button {
    display:inline-block;
    padding:14px 21px;
    background:var(--red);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    border-radius:2px;
}
.rede-home-carousel__button:hover,
.rede-home-carousel__button:focus-visible {
    background:#a90f16;
    color:#fff;
}
.rede-home-carousel__media img {
    display:block;
    width:100%;
    max-height:420px;
    object-fit:cover;
    border-radius:2px;
}
.rede-home-carousel__controls {
    display:flex;
    align-items:center;
    gap:18px;
    margin-top:34px;
}
.rede-home-carousel__control {
    padding:8px 12px;
    border:1px solid rgba(255,255,255,.6);
    background:transparent;
    color:#fff;
    cursor:pointer;
    font:inherit;
}
.rede-home-carousel__control:hover,
.rede-home-carousel__control:focus-visible {
    background:#fff;
    color:var(--ink);
}
.rede-home-carousel__dots {
    display:flex;
    gap:8px;
}
.rede-home-carousel__dot {
    width:12px;
    height:12px;
    padding:0;
    border:2px solid #fff;
    border-radius:50%;
    background:transparent;
    cursor:pointer;
}
@media(max-width:720px) {
    .rede-home-carousel__slide {
        grid-template-columns:1fr;
        gap:28px;
    }
    .rede-home-carousel__title {
        font-size:clamp(2.8rem,12vw,5rem);
    }
    .rede-home-carousel__controls {
        justify-content:space-between;
    }
}

.rede-home-wide {
    width:100%;
    max-width:1280px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

body.home .rede-home-wide:not(:has(.rede-home-carousel)) {
    display:none;
}

body.home #main-content > .wp-block-group:first-child,
body.home #main-content > .wp-block-post-content > .wp-block-group:first-child {
    width:100%;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
}
body.home #main-content > .wp-block-post-content {
    width:100%;
    max-width:none;
    margin:0;
}
body.home .rede-home-carousel {
    width:100%;
    max-width:1280px;
    margin-left:auto;
    margin-right:auto;
}


/* Carousel accessibility and control refinements */
.rede-home-carousel {
    position:relative;
}
.rede-home-carousel__slide {
    height:clamp(480px, 52vw, 620px);
    min-height:480px;
    align-items:stretch;
}
.rede-home-carousel__content {
    align-self:center;
}
.rede-home-carousel__media {
    height:100%;
    min-height:0;
}
.rede-home-carousel__media img {
    width:100%;
    height:100%;
    max-height:none;
    object-fit:contain;
}
.rede-home-carousel__controls {
    position:absolute;
    inset:0;
    z-index:2;
    display:block;
    margin:0;
    pointer-events:none;
}
.rede-home-carousel__rotation {
    position:absolute;
    right:18px;
    bottom:18px;
    z-index:3;
    min-height:44px;
    padding:8px 14px;
    border:1px solid #202124;
    border-radius:2px;
    background:#fff;
    color:#202124;
    font:inherit;
    font-size:.85rem;
    font-weight:700;
    cursor:pointer;
    pointer-events:auto;
}
.rede-home-carousel__rotation:focus-visible {
    outline:3px solid #202124;
    outline-offset:3px;
}
@media(max-width:720px) {
    .rede-home-carousel__rotation { bottom:70px; }
}
.rede-home-carousel__control {
    position:absolute;
    top:50%;
    width:48px;
    height:48px;
    padding:0;
    transform:translateY(-50%);
    border:1px solid rgba(255,255,255,.8);
    border-radius:50%;
    background:rgba(0,0,0,.58);
    color:#fff;
    cursor:pointer;
    font:inherit;
    font-size:1.8rem;
    line-height:1;
    pointer-events:auto;
}
.rede-home-carousel__control--previous {
    left:12px;
}
.rede-home-carousel__control--next {
    right:12px;
}
.rede-home-carousel__control:hover,
.rede-home-carousel__control:focus-visible {
    background:#fff;
    color:var(--ink);
}
.rede-home-carousel__control:focus-visible,
.rede-home-carousel__dot:focus-visible {
    outline:3px solid #fff;
    outline-offset:3px;
}
.rede-home-carousel__dots {
    position:absolute;
    left:50%;
    bottom:18px;
    display:flex;
    gap:4px;
    transform:translateX(-50%);
    pointer-events:auto;
}
.rede-home-carousel__dot {
    display:grid;
    width:44px;
    height:44px;
    padding:0;
    place-items:center;
    border:0;
    border-radius:50%;
    background:transparent;
    cursor:pointer;
}
.rede-home-carousel__dot::before {
    width:12px;
    height:12px;
    border:2px solid #fff;
    border-radius:50%;
    background:transparent;
    content:"";
}
.rede-home-carousel__dot[aria-current="true"]::before {
    background:#fff;
}
@media(max-width:720px) {
    .rede-home-carousel__slide {
        height:clamp(520px, 150vw, 620px);
        min-height:520px;
        grid-template-columns:1fr;
        gap:28px;
    }
    .rede-home-carousel__media {
        max-height:220px;
    }
    .rede-home-carousel__control--previous {
        left:4px;
    }
    .rede-home-carousel__control--next {
        right:4px;
    }
}
@media(prefers-reduced-motion:reduce) {
    .rede-home-carousel *,
    .rede-home-carousel *::before,
    .rede-home-carousel *::after {
        animation:none;
        transition:none;
        scroll-behavior:auto;
    }
}


/* Chevron arrow controls */
.rede-home-carousel__chevron {
    display:inline-block;
    width:14px;
    height:14px;
    border-top:3px solid currentColor;
    border-right:3px solid currentColor;
}
.rede-home-carousel__chevron--previous {
    transform:rotate(-135deg);
    margin-left:5px;
}
.rede-home-carousel__chevron--next {
    transform:rotate(45deg);
    margin-right:5px;
}

/* Header Site Logo */
.header-site-logo {
    flex:0 0 auto;
}
.header-site-logo img {
    display:block;
    width:auto;
    max-width:180px;
    max-height:52px;
    object-fit:contain;
}

/* Dynamic site footer */
.rede-footer-layout {
    gap:32px;
}
.rede-site-links,
.rede-site-socials {
    min-width:160px;
    font-size:1.125rem;
}
.rede-site-links__title {
    margin:0 0 12px;
    color:#fff;
    font-size:inherit;
    font-weight:700;
}
.rede-site-links ul,
.rede-site-socials ul {
    display:grid;
    gap:8px;
    margin:0;
    padding:0;
    list-style:none;
}
.rede-site-links a,
.rede-site-socials a {
    color:#fff;
    text-decoration:none;
}
.rede-site-links a:hover,
.rede-site-links a:focus-visible,
.rede-site-socials a:hover,
.rede-site-socials a:focus-visible {
    color:#fff;
    text-decoration:underline;
}

/* Single content layouts: a focused reading measure. */
.single-reading-column {
    width: 100%;
    max-width: 760px;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.single-featured-image.alignfull {
    width: 100%;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 48px;
    margin-bottom: 48px;
}

.single-featured-image img {
    width: 100%;
    object-fit: cover;
}

/* Editorial single views use the same reading measure for featured media. */
body.single .single-featured-image,
body.single .single-featured-image.alignfull {
    width: 100%;
    max-width: 760px;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-top: 48px;
    margin-bottom: 48px;
}

body.single .single-featured-image img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
}

/* Images placed in editorial text stay inside its reading column. */
.single-reading-column .wp-block-post-content :is(figure, img),
.rede-institutional-reading-column .wp-block-post-content :is(figure, img),
.rede-institutional-sections :is(figure, img) {
    box-sizing: border-box;
    max-width: 100%;
}

.single-reading-column .wp-block-post-content img,
.rede-institutional-reading-column .wp-block-post-content img,
.rede-institutional-sections img {
    height: auto;
}

@media (max-width: 720px) {
    .single-reading-column {
        max-width: none;
    }

    .single-featured-image.alignfull {
        margin-top: 32px;
        margin-bottom: 32px;
    }

    body.single .single-featured-image {
        margin-top: 32px;
        margin-bottom: 32px;
    }
}
/* Accessible content sharing controls. */
.rede-share {
    max-width: 760px;
    margin: 56px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(32, 33, 36, 0.18);
}

.has-ink-background-color .rede-share {
    border-top-color: rgba(255, 255, 255, 0.28);
}

.rede-share__title {
    margin: 0 0 16px;
    font-size: 1.25rem;
    line-height: 1.2;
}

.rede-share__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rede-share__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: inherit;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.rede-share__link:hover,
.rede-share__link:focus-visible {
    color: var(--caritas-red, #d71920);
    background: rgba(215, 25, 32, 0.08);
}

.has-ink-background-color .rede-share__link:hover,
.has-ink-background-color .rede-share__link:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.rede-share__icon {
    display: inline-grid;
    place-items: center;
    min-width: 1.2em;
    font-size: 1rem;
    font-weight: 800;
}

.rede-share__status {
    min-height: 1.5em;
    margin: 14px 0 0;
    font-size: 0.9rem;
}
/* Promotional pages and document directories use the full site content width. */
body.rede-page-promotional .single-reading-column,
body.rede-page-directory .single-reading-column {
    max-width: 1280px;
}
/* Partner cards are a directory; only editorial text uses the reading measure. */
body.rede-page-partners .single-reading-column {
    max-width: 1280px;
}
body.rede-page-partners .wp-block-post-content > :not(.rede-collaboration):not(.rede-pagination) {
    max-width: 760px;
}
.rede-national-area__intro {
    max-width: 760px;
    margin-left: 0 !important;
    margin-right: auto !important;
}
.rede-national-area__cards {
    gap: 24px;
    margin-top: 32px;
    margin-bottom: 48px;
}
.rede-card-grid,
body.rede-page-bulletin .wp-block-post-content > .wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.rede-card-grid > .wp-block-column,
body.rede-page-bulletin .wp-block-post-content > .wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
    min-width: 0;
    margin: 0 !important;
}
@media (max-width: 900px) {
    .rede-card-grid,
    body.rede-page-bulletin .wp-block-post-content > .wp-block-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .rede-card-grid,
    body.rede-page-bulletin .wp-block-post-content > .wp-block-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}
.rede-national-area__cards > .wp-block-column {
    padding: 0;
    border: 1px solid rgba(32, 33, 36, 0.14);
    background: #fff;
}
.rede-national-area__cards h3 {
    margin-top: 0;
}
.rede-national-area__cards a:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 4px;
}
/* Sober light palette for primary content sections. */
.rede-home-carousel {
    color: var(--ink);
}

.rede-home-carousel__eyebrow {
    color: var(--red);
}

.rede-home-carousel__title,
.rede-home-carousel__text {
    color: var(--ink);
}

.rede-home-carousel__control {
    border-color: rgba(32, 33, 36, 0.35);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
}

.rede-home-carousel__control:hover,
.rede-home-carousel__control:focus-visible {
    background: var(--ink);
    color: #fff;
}

.rede-home-carousel__dot::before {
    border-color: var(--ink);
}

.rede-home-carousel__dot[aria-current="true"]::before {
    background: var(--red);
}

.campaign-card {
    color: var(--ink);
}

.campaign-card .wp-block-post-excerpt {
    color: var(--muted);
}

/* One consistent card system for local archives and national aggregators. */
.rede-archive-card,
.rede-network-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(32, 33, 36, .14);
    background: #fff;
}
.rede-archive-card .wp-block-post-featured-image,
.rede-network-card__image { margin: 0; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.rede-archive-card .wp-block-post-featured-image img,
.rede-network-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rede-archive-card__body,
.rede-network-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.rede-archive-card .wp-block-post-date,
.rede-network-card__site,
.rede-network-card__date { margin: 0 0 10px; color: var(--red); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rede-archive-card .wp-block-post-title,
.rede-network-card h3 { margin: 0 0 12px; line-height: 1.08; }
.rede-archive-card .wp-block-post-excerpt,
.rede-network-card__body > p:not(.rede-network-card__site):not(.rede-network-card__date) { margin: 0 0 20px; color: var(--muted); }
.rede-archive-card .wp-block-post-excerpt__more-link { font-weight: 700; }

.rede-content-relations {
    width: 100%;
    margin: clamp(40px, 6vw, 72px) 0;
}
.rede-content-relations__group + .rede-content-relations__group {
    margin-top: 48px;
}
.rede-content-relations__group h2 {
    margin: 0 0 24px;
}

/* News pagination: one clear row, with generous keyboard and touch targets. */
.rede-pagination.wp-block-query-pagination,
.rede-pagination.rede-directory-pagination {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    width: 100%;
    margin: 3rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(32, 33, 36, .18);
}

.rede-pagination > .wp-block-query-pagination-previous {
    grid-column: 1;
    justify-self: start;
}

.rede-pagination > .wp-block-query-pagination-numbers {
    display: flex;
    grid-column: 2;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem;
    margin: 0;
}

.rede-pagination > .wp-block-query-pagination-next {
    grid-column: 3;
    justify-self: end;
}

.rede-pagination a,
.rede-pagination .page-numbers.current {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .5rem .75rem;
    border: 1px solid rgba(32, 33, 36, .35);
    border-radius: 2px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.rede-pagination .page-numbers.current {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.rede-pagination .page-numbers.dots {
    color: var(--muted);
}

.rede-pagination a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.rede-pagination a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .rede-pagination.wp-block-query-pagination,
    .rede-pagination.rede-directory-pagination {
        display: flex !important;
        justify-content: center;
        flex-wrap: wrap;
        gap: .75rem;
    }

    .rede-pagination .wp-block-query-pagination-previous,
    .rede-pagination .wp-block-query-pagination-next {
        margin: 0;
    }
}

/* Legacy story section: keep the same restrained light treatment. */
.stories {
    background: var(--paper);
    color: var(--ink);
}

.stories .lead {
    color: var(--muted);
}

.story {
    background: #fff;
}
/* FormTitan donation embed. */
#donate-heading {
    width: 100%;
    max-width: 788px;
    margin: 48px 0 0;
}

#donate-heading > div {
    width: 100%;
    min-height: 120px;
}

#donate-heading script {
    display: block;
}
/* Full-width share section with constrained reading content above it. */
.single-share-section {
    width: 100%;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.single-share-section .rede-share {
    width: 100%;
    max-width: none;
}
/* Network-wide public aggregators. */
.rede-network-archive {
    width: 100%;
    margin: 48px 0 0;
}

.rede-network-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.rede-response-children { margin-block: 3rem; }
.rede-response-children > h2 { margin-bottom: 1.5rem; }

.rede-network-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(32, 33, 36, 0.14);
    background: var(--white, #fff);
}

.rede-network-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.rede-network-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rede-network-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.rede-network-card__site,
.rede-network-card__date {
    margin: 0 0 10px;
    color: var(--red, #d71920);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rede-network-card h3 {
    margin: 0 0 12px;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.05;
}

.rede-network-card h3 a,
.rede-network-card__link {
    color: inherit;
    text-decoration: none;
}

.rede-network-card h3 a:hover,
.rede-network-card h3 a:focus-visible,
.rede-network-card__link:hover,
.rede-network-card__link:focus-visible {
    color: var(--red, #d71920);
    text-decoration: underline;
}

.rede-network-card__body > p:not(.rede-network-card__site):not(.rede-network-card__date) {
    margin: 0 0 20px;
}

.rede-network-card__link {
    margin-top: auto;
    font-weight: 700;
}

.event-card .rede-event-meta,
.rede-event-meta {
    margin: 0 0 16px;
    padding: 16px;
    background: rgba(215, 25, 32, 0.06);
}

.rede-event-meta ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rede-event-meta strong {
    color: var(--ink, #202124);
}

.rede-event-meta .wp-element-button {
    display: inline-block;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .rede-network-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rede-network-archive__grid {
        grid-template-columns: 1fr;
    }
}
/* Network aggregator pages intentionally use the wide content measure. */
body.rede-network-aggregator .single-reading-column {
    max-width: 1280px;
}

body.rede-network-aggregator .single-reading-column > .rede-network-archive {
    width: 100%;
    max-width: none;
}
.rede-event-map {
    margin-top: 20px;
    border-top: 1px solid rgba(32, 33, 36, 0.16);
}

.rede-event-map summary {
    padding: 14px 0;
    color: var(--ink, #202124);
    font-weight: 700;
    cursor: pointer;
}

.rede-event-map summary:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

.rede-event-map__content {
    padding-bottom: 8px;
}

.rede-event-map iframe {
    display: block;
    width: 100%;
    min-height: 360px;
    border: 0;
}

.rede-event-map__content p {
    margin: 12px 0 0;
}

.rede-impact-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    width: 100%;
    color: #fff;
}
.rede-impact-number h3 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.04em; }
.rede-impact-number p { margin: .75rem 0 0; font-size: 1.05rem; }
.rede-area-impact {
    box-sizing: border-box;
    width: 100%;
    margin: 32px 0 48px;
    padding: 36px 24px;
    background: var(--wp--preset--color--caritas-red, #d71920);
    color: #fff;
}
.rede-area-impact .rede-impact-numbers { max-width: 1280px; margin: 0; }
.rede-area-impact__value {
    display: block;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.04em;
}
.rede-institutional-sections { max-width: 760px; margin-left: 0; margin-right: 0; }
.rede-institutional-wide-content { width: 100%; max-width: 1280px; }
.rede-institutional-wide-content > .wp-block-post-content { width: 100%; max-width: none; }
.rede-institutional-wide-content .wp-block-post-content > :not(.rede-team-grid):not(.rede-vacancies-grid):not(.rede-pagination) {
    max-width: 760px;
    margin-left: 0 !important;
    margin-right: auto !important;
}
.rede-about-video { width: 100%; max-width: 1280px; aspect-ratio: 16 / 9; margin: 24px 0 48px; background: #202124; }
.rede-about-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.rede-institutional-sections section { margin: 0 0 3rem; }
.rede-institutional-sections .rede-institutional-expanded { margin: 0; padding: 1.25rem 0 1.75rem; border-top: 1px solid rgba(32,33,36,.18); }
.rede-institutional-expanded h2 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.rede-institutional-sections h2 { margin: 0 0 1rem; }
.rede-institutional-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.rede-institutional-links a, .rede-vacancy-card__link { font-weight: 700; text-decoration: underline; }
.rede-institutional-intro { margin-bottom: 2rem; }
.rede-institutional-accordion { border-top: 1px solid rgba(32,33,36,.18); }
.rede-institutional-accordion:last-of-type { border-bottom: 1px solid rgba(32,33,36,.18); }
.rede-institutional-accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; color: var(--ink); cursor: pointer; font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 700; list-style: none; }
.rede-institutional-accordion summary::-webkit-details-marker { display: none; }
.rede-institutional-accordion summary::after { content: '+'; flex: 0 0 auto; font-size: 1.5em; font-weight: 400; line-height: 1; }
.rede-institutional-accordion[open] summary::after { content: '−'; }
.rede-institutional-accordion summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.rede-institutional-accordion__content { padding: 0 0 1.75rem; }
.rede-institutional-accordion__content > :first-child { margin-top: 0; }
.rede-institutional-accordion__content > :last-child { margin-bottom: 0; }
.rede-about-governance .rede-institutional-accordion__content p { margin-block: .35rem; }
.rede-institutional-area-list { list-style: none; margin: 0; padding: 0; }
.rede-institutional-area-list li + li { border-top: 1px solid rgba(32,33,36,.14); margin-top: 1rem; padding-top: 1rem; }
.rede-institutional-area-list a { font-weight: 700; text-decoration: underline; }
.rede-institutional-area-list p { margin: .35rem 0 0; }
.rede-documents { margin-top: 3rem; }
.rede-documents__intro { max-width: 760px; margin-bottom: 2rem; }
.rede-documents__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rede-documents__grid--years { display: block; }
.rede-document-year { border-top: 1px solid rgba(32,33,36,.18); }
.rede-document-year:last-child { border-bottom: 1px solid rgba(32,33,36,.18); }
.rede-document-year summary { padding: 20px 44px 20px 0; font-size: clamp(1.3rem,2.2vw,1.8rem); font-weight: 700; cursor: pointer; }
.rede-document-year summary:focus-visible { outline: 3px solid currentColor; outline-offset: -3px; }
.rede-document-year ul { margin: 0 0 24px; padding-left: 1.5rem; }
.rede-document-year li + li { margin-top: 10px; }
.rede-document-year a { font-weight: 600; text-underline-offset: .2em; }
.rede-document-card { display: flex; min-width: 0; flex-direction: column; height: 100%; padding: 24px; border: 1px solid rgba(32,33,36,.14); background: #fff; }
.rede-document-card__meta { margin: 0 0 12px; color: var(--red); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rede-document-card h2 { margin: 0 0 12px; line-height: 1.08; }
.rede-document-card > p:not(.rede-document-card__meta) { color: var(--muted); }
.rede-document-card__link { margin-top: auto; font-weight: 700; }
.rede-document-card__category { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(32,33,36,.14); }
.rede-document-card__category h3 { margin: 0 0 10px; font-size: 1.05rem; }
.rede-document-card__category ul { margin: 0; padding-left: 1.2rem; }
.rede-document-card__category li + li { margin-top: 12px; }
.rede-document-card__category li p { margin: 4px 0 0; color: var(--muted); }
.rede-document-card__category a { font-weight: 700; overflow-wrap: anywhere; }
.rede-document-card__category a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.rede-documents__empty { padding: 24px; border-left: 4px solid var(--gold); background: #fff; }
.rede-team-grid, .rede-vacancies-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 3rem; }
.rede-team-card, .rede-vacancy-card { background: var(--wp--preset--color--white, #fff); border: 1px solid rgba(32,33,36,.14); overflow: hidden; }
.rede-team-card img, .rede-vacancy-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rede-team-card__body, .rede-vacancy-card__body { padding: 24px; }
.rede-team-card h2, .rede-vacancy-card h2 { margin-top: 0; }
.rede-team-card__role { font-weight: 700; }
.rede-vacancy-card__body p { margin: .5rem 0; }
.rede-opportunity-meta { margin: 0 0 3rem; }
.rede-opportunity-meta dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 0; }
.rede-opportunity-meta dl div { border-top: 1px solid currentColor; padding-top: 10px; }
.rede-opportunity-meta dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.rede-opportunity-meta dd { margin: .35rem 0 0; font-weight: 700; }
.rede-opportunity-application { margin-top: 3rem; }
.rede-opportunity-application iframe { display: block; width: 100%; min-height: 800px; border: 1px solid currentColor; }
.rede-assigned-form { margin-top: 3rem; }
.rede-assigned-form h2 { margin-bottom: 1.25rem; }
.rede-assigned-form--collapsible { border-top: 1px solid var(--wp--preset--color--contrast, #1f2024); border-bottom: 1px solid var(--wp--preset--color--contrast, #1f2024); padding: 0; }
.rede-assigned-form__summary { align-items: center; cursor: pointer; display: flex; font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 700; justify-content: space-between; list-style: none; padding: 1.25rem 0; }
.rede-assigned-form__summary::-webkit-details-marker { display: none; }
.rede-assigned-form__summary::after { border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; content: ''; height: .6rem; margin-left: 1rem; transform: rotate(45deg) translateY(-.2rem); transition: transform .2s ease; width: .6rem; }
.rede-assigned-form[open] .rede-assigned-form__summary::after { transform: rotate(225deg) translate(-.1rem, -.1rem); }
.rede-assigned-form__content { padding: 0 0 2rem; }
.rede-assigned-form__content h2 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.rede-institutional-reading-column { max-width: 760px; margin-left: 0; margin-right: 0; }
@media (max-width: 900px) { .rede-team-grid, .rede-vacancies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rede-team-grid, .rede-vacancies-grid, .rede-opportunity-meta dl { grid-template-columns: 1fr; } .rede-team-card__body, .rede-vacancy-card__body { padding: 20px; } }
@media (max-width: 900px) { .rede-documents__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rede-documents__grid { grid-template-columns: 1fr; } }
.rede-application-form { display: grid; gap: 1rem; max-width: 760px; }
.rede-application-form p { margin: 0; }
.rede-application-form label { display: block; font-weight: 700; margin-bottom: .4rem; }
.rede-application-form input:not([type="checkbox"]):not([type="file"]), .rede-application-form textarea { box-sizing: border-box; width: 100%; border: 1px solid currentColor; border-radius: 2px; background: transparent; padding: .75rem; font: inherit; }
.rede-application-form input[type="file"] { max-width: 100%; font: inherit; }
.rede-application-consent label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.rede-form-success, .rede-form-error { padding: 1rem; border-left: 4px solid currentColor; }
.rede-status { display: inline-block; margin: 0 0 .75rem; padding: .3rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rede-status--active { color: #14532d; background: #dcfce7; }
.rede-status--inactive { color: #374151; background: #e5e7eb; }
.rede-vacancy-card--inactive { opacity: .78; }
.rede-opportunity-closed { padding: 1rem; border-left: 4px solid var(--ink); background: #e5e7eb; }
.rede-content-origin { margin-top: 3rem; padding: 1.25rem 0; border-top: 1px solid rgba(32,33,36,.18); }
.rede-content-origin p { margin: 0; }
.rede-content-origin a { font-weight: 700; text-decoration: underline; }
.rede-what-we-do { margin: 4rem 0 0; }
.rede-what-we-do section + section { margin-top: 4rem; }
.rede-what-we-do h2 { margin: 0 0 1.5rem; }
.rede-work-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rede-work-area { padding: 24px; border: 1px solid rgba(32,33,36,.14); background: #fff; }
.rede-work-area h3 { margin: 0 0 12px; }
.rede-work-area p { margin: 0; color: var(--muted); }
.rede-what-we-do__all { margin-top: 24px; }
.rede-what-we-do :is(a):focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (max-width: 900px) { .rede-work-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rede-work-areas { grid-template-columns: 1fr; } }

/* Keep aggregator cards visually identical to local archive cards. */
.rede-network-card { border-top: 1px solid rgba(32,33,36,.14); }
.rede-vacancy-card { border: 1px solid rgba(32,33,36,.14); }
.rede-vacancy-card img { aspect-ratio: 16 / 10; }
.rede-vacancy-card__body { display: flex; flex: 1; flex-direction: column; }
.rede-vacancy-card__origin { color: #b20812; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rede-vacancy-card__body > .rede-status { align-self: flex-start; }

/* Parish directories use the shared wide measure and responsive cards. */
.rede-parishes-page {
    padding: 72px 24px 88px;
}
.rede-parish-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    margin: 0 0 32px;
}
.rede-parish-filter__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rede-parish-filter label {
    font-weight: 700;
}
.rede-parish-filter input,
.rede-parish-filter select,
.rede-parish-filter button {
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid currentColor;
    border-radius: 4px;
    font: inherit;
}
.rede-parish-filter input,
.rede-parish-filter select {
    min-width: min(100%, 280px);
    background: #fff;
}
.rede-parish-filter button {
    background: var(--ink);
    color: #fff;
    cursor: pointer;
}
.rede-parish-filter__clear {
    padding: 10px 4px;
    font-weight: 700;
}
.rede-parish-filter :is(input, select, button, a):focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}
.wp-block-post-template.rede-parishes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.rede-parish-card {
    height: 100%;
    padding: 24px;
    border: 1px solid rgba(32, 33, 36, .14);
    background: #fff;
    overflow-wrap: anywhere;
}
.rede-parish-card h2 {
    margin-top: 0;
}
.rede-parish-details {
    margin: 0;
}
.rede-parish-details > div {
    margin-bottom: 1rem;
}
.rede-parish-details dt {
    font-weight: 700;
}
.rede-parish-details dd {
    margin: .25rem 0 0;
    overflow-wrap: anywhere;
}
.rede-parishes-contact-link {
    margin-top: 2rem;
}
.rede-footer-menu .wp-block-navigation {
    font-size: inherit;
}
.rede-footer-menu .wp-block-navigation__container {
    gap: 10px;
    align-items: flex-start;
}
.rede-footer-menu .wp-block-navigation__submenu-container {
    color: #fff;
    background: var(--ink);
    padding: 8px;
}

/* National directory filters and accessible, server-rendered event calendar. */
.rede-filter-layout {
    display: grid;
    grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}
.rede-filter-layout__sidebar,
.rede-filter-layout__results { min-width: 0; }
.rede-filter-layout__sidebar .rede-directory-filters {
    flex-direction: column;
    align-items: stretch;
}
.rede-filter-layout__sidebar .rede-directory-filters__field,
.rede-filter-layout__sidebar .rede-directory-filters__field:first-child {
    flex: none;
}
.rede-filter-layout__sidebar .rede-directory-filters__actions {
    align-items: flex-start;
}
@media (max-width: 1100px) and (min-width: 901px) {
    .rede-filter-layout .rede-network-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .rede-filter-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.rede-directory-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid rgba(32, 33, 36, .2);
    background: #fff;
}
.rede-directory-filters__field {
    flex: 1 1 180px;
    min-width: 0;
}
.rede-directory-filters__field:first-child {
    flex-basis: 260px;
}
.rede-directory-filters label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}
.rede-directory-filters select,
.rede-directory-filters input {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--ink);
    border-radius: 2px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}
.rede-directory-filters__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.rede-directory-filters__actions > a,
.rede-directory-views a,
.rede-directory-pagination a,
.rede-calendar-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 700;
}
.rede-directory-views {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.rede-directory-views a {
    padding: 4px 20px;
    border: 1px solid var(--ink);
    border-radius: 2px;
    color: var(--ink);
    background: #fff;
}
.rede-directory-views a[aria-current="page"] {
    border-bottom: 4px solid var(--red);
    font-weight: 800;
    text-decoration: none;
}
.rede-network-archive :is(a, button, input, select):focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 4px;
}
.rede-directory-help,
.rede-directory-count {
    max-width: 760px;
    margin: 0 0 20px;
}
.rede-directory-empty,
.rede-directory-error {
    padding: 20px;
    border-left: 4px solid var(--red);
    background: #fff;
}
.rede-directory-pagination,
.rede-calendar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0;
}
.rede-calendar-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    color: var(--ink);
    background: #fff;
}
.rede-calendar-table caption {
    margin-bottom: 20px;
    text-align: left;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
}
.rede-calendar-table th,
.rede-calendar-table td {
    padding: 12px;
    border: 1px solid #a3a3a3;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}
.rede-calendar-table th {
    font-size: .8rem;
    background: #f5f3f0;
}
.rede-calendar-day {
    height: 130px;
}
.rede-calendar-blank,
.rede-calendar-day.is-outside-range {
    background: #f5f3f0;
}
.rede-calendar-date {
    font-weight: 700;
}
.rede-calendar-date__full {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.rede-calendar-today {
    display: inline-block;
    margin-left: 8px;
    font-size: .75rem;
    font-weight: 700;
}
.rede-calendar-events {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.rede-calendar-events li {
    margin-bottom: 12px;
    padding-top: 10px;
    border-top: 3px solid var(--gold);
}
.rede-calendar-events a {
    display: inline-block;
    padding: 6px 0;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: underline;
}
.rede-calendar-event-time,
.rede-calendar-event-site {
    display: block;
    margin-top: 4px;
    font-size: .75rem;
    line-height: 1.5;
}
.rede-calendar-no-events {
    margin: 12px 0 0;
    color: var(--ink);
    font-size: .75rem;
}
@media (max-width: 900px) {
    .rede-calendar-table,
    .rede-calendar-table tbody,
    .rede-calendar-table tbody tr,
    .rede-calendar-table td {
        display: block;
        box-sizing: border-box;
        width: 100%;
    }
    .rede-calendar-weekdays {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
    .rede-calendar-table .rede-calendar-blank {
        display: none;
    }
    .rede-calendar-day {
        height: auto;
        margin-bottom: 12px;
        padding: 16px;
    }
    .rede-calendar-date__desktop {
        display: none;
    }
    .rede-calendar-date__full {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }
    .rede-calendar-events a {
        min-height: 24px;
        font-size: 1rem;
    }
    .rede-calendar-event-site,
    .rede-calendar-event-time,
    .rede-calendar-no-events {
        font-size: .875rem;
    }
}
@media (max-width: 900px) {
    .wp-block-post-template.rede-parishes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .wp-block-post-template.rede-parishes-grid {
        grid-template-columns: 1fr;
    }
}

/* National directory of diocesan contacts. */
.rede-where-we-are {
    width: 100%;
    max-width: 1280px;
}
.rede-where-we-are__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.rede-where-we-are__card {
    min-width: 0;
    border: 1px solid rgba(32, 33, 36, 0.16);
    background: #fff;
}
.rede-where-we-are__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.rede-where-we-are__body {
    padding: clamp(20px, 2.5vw, 32px);
}
.rede-where-we-are__city {
    color: #b20812;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
}
.rede-where-we-are__card h2 {
    margin: 0 0 20px;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.25;
}
.rede-where-we-are__card address {
    font-style: normal;
}
.rede-where-we-are__card p {
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}
.rede-where-we-are__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 24px;
}
.rede-where-we-are__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}
.rede-where-we-are a:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}
@media (max-width: 1000px) {
    .rede-where-we-are__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .rede-where-we-are__grid { grid-template-columns: 1fr; }
}

/* The homepage uses one shared layout; each site supplies its own published content. */
.rede-home-section,
.rede-home-intro,
.rede-home-donate {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(56px, 7vw, 104px) 24px;
}
.rede-home-section__inner,
.rede-home-donate__inner {
    width: min(100%, 1280px);
    margin-inline: auto;
}
.rede-home-intro {
    background: #fff;
}
.rede-home-intro h2 {
    max-width: 1050px;
    margin: 0 0 24px;
    font-size: clamp(2.1rem, 4.2vw, 4.6rem);
    line-height: 1.12;
}
.rede-home-intro .rede-home-section__inner > p:not(.rede-home-section__eyebrow) {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}
.rede-home-intro__video {
    width: min(100%, 1050px);
    aspect-ratio: 16 / 9;
    margin: 0 0 24px;
    background: #202124;
}
.rede-home-intro__video-trigger,
.rede-home-intro__video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.rede-home-intro__video-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    color: #fff;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.rede-home-intro__video-trigger:hover,
.rede-home-intro__video-trigger:focus-visible { background: #34363b; }
.rede-home-intro__video-trigger:focus-visible { outline: 3px solid #b20812; outline-offset: 3px; }
.rede-home-intro__play { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; }
.rede-home-intro__video iframe { display: block; }
.rede-home-intro__video noscript a { margin: 24px; color: #fff; }
.rede-home-intro a,
.rede-home-section__all {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 700;
    text-underline-offset: .2em;
}
.rede-home-section--what-we-do,
.rede-home-section--news,
.rede-home-section--directory {
    background: #f8f6f2;
}
.rede-home-section--collaborate {
    background: #fff;
}
.rede-home-section--partners { background: #fff; }
.rede-home-partners {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.rede-home-partners__card {
    display: grid;
    min-height: 170px;
    place-items: center;
    border: 1px solid rgba(32,33,36,.18);
    background: #f8f6f2;
    text-align: center;
}
.rede-home-partners__card a { display: grid; gap: 12px; justify-items: center; padding: 24px; color: inherit; font-weight: 700; }
.rede-home-partners__card img { max-width: 180px; max-height: 90px; width: auto; height: auto; object-fit: contain; }
.rede-home-section__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 12px 28px;
    margin-bottom: 36px;
}
.rede-home-section__eyebrow {
    margin: 0 0 12px;
    color: #b20812;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .07em;
}
.rede-home-section__heading h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4.5vw, 4.8rem);
    line-height: 1.08;
}
.rede-home-section__cards,
.rede-home-collaborate {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.rede-home-directory__viewport {
    max-width: 100%;
    overflow-x: auto;
    contain: paint;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
}
.rede-home-directory__viewport:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: -4px;
}
.rede-home-directory__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 24px;
}
.rede-home-directory--static .rede-home-directory__track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rede-home-directory__track > * {
    scroll-snap-align: start;
}
.rede-home-directory__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}
.rede-home-directory__controls[hidden] {
    display: none;
}
.rede-home-directory__control {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: #fff;
    color: #202124;
    cursor: pointer;
}
.rede-home-directory__control::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}
.rede-home-directory__control--previous::before {
    transform: translateX(2px) rotate(-135deg);
}
.rede-home-directory__control--next::before {
    transform: translateX(-2px) rotate(45deg);
}
.rede-home-directory__control:hover:not(:disabled),
.rede-home-directory__control:focus-visible {
    background: #202124;
    color: #fff;
}
.rede-home-directory__control:focus-visible {
    outline: 3px solid #b20812;
    outline-offset: 3px;
}
.rede-home-directory__control:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.rede-home-directory__status {
    min-width: 15ch;
    margin: 0;
    text-align: center;
}
.rede-home-card,
.rede-home-collaborate__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(32, 33, 36, .16);
}
.rede-home-section--collaborate .rede-home-collaborate__card {
    background: #f8f6f2;
}
.rede-home-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.rede-home-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rede-home-card__body,
.rede-home-collaborate__card {
    padding: clamp(20px, 2.5vw, 32px);
}
.rede-home-card__body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}
.rede-home-card__body > p {
    min-width: 0;
}
.rede-home-card a[href^="mailto:"] {
    overflow-wrap: anywhere;
}
.rede-home-card__origin {
    margin: 0 0 12px;
    color: #b20812;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}
.rede-home-card__type {
    margin: 0 0 12px;
    color: #b20812;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}
.rede-home-card h3,
.rede-home-collaborate h3 {
    margin: 0 0 16px;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.25;
}
.rede-home-card__body > p:not(.rede-home-card__origin):not(.rede-home-card__type),
.rede-home-collaborate p {
    margin: 0 0 24px;
}
.rede-home-card__link {
    margin-top: auto;
    font-weight: 700;
}

.rede-collaboration,
.rede-volunteering {
    margin-block: clamp(40px, 6vw, 72px);
}
/* Keep prose narrow, but give testimonial and partner grids the wide canvas. */
.single-reading-column:has(.rede-collaboration__grid) {
    max-width: 1280px;
}
.single-reading-column:has(.rede-collaboration__grid) .wp-block-post-content > :not(:has(.rede-collaboration__grid)):not(.alignwide):not(.alignfull) {
    max-width: 760px;
    margin-left: 0;
    margin-right: auto;
}
.single-reading-column:has(.rede-collaboration__grid) .rede-network-card__image img {
    height: 100%;
}
.rede-collaboration__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.rede-collaboration__card {
    min-width: 0;
    background: #fff;
    border: 1px solid rgba(32, 33, 36, .16);
}
.rede-collaboration__media {
    overflow: hidden;
    background: #f8f6f2;
}
.rede-collaboration__card--testimonial .rede-collaboration__media {
    aspect-ratio: 16 / 9;
}
.rede-collaboration__card--partner .rede-collaboration__media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    padding: 24px;
}
.rede-collaboration__portrait,
.rede-collaboration__logo {
    display: block;
    width: 100%;
    height: 100%;
}
.rede-collaboration__portrait { object-fit: cover; }
.rede-collaboration__logo { object-fit: contain; }
.rede-collaboration__body { padding: clamp(20px, 2.5vw, 32px); }
.rede-collaboration__body h2 { margin-top: 0; }
.rede-collaboration__body blockquote {
    margin: 0;
    border: 0;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    line-height: 1.5;
}
.rede-collaboration__attribution { margin-bottom: 0; }
.rede-collaboration__origin {
    color: #b20812;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}
.rede-volunteering ol { padding-left: 1.5em; }
.rede-volunteering li { margin-block: .75em; }
.rede-volunteering__site-selector {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    margin-block: 32px;
}
.rede-volunteering__site-selector label {
    flex-basis: 100%;
    font-weight: 700;
}
.rede-volunteering__site-selector select {
    min-height: 48px;
    max-width: 100%;
    min-width: min(100%, 320px);
    padding: 8px 12px;
    font: inherit;
}
.rede-testimonial-detail,
.rede-partner-detail { max-width: 1280px; margin-inline: auto; }
.rede-partner-projects {
    width: 100%;
    max-width: 1280px;
    margin: clamp(40px, 6vw, 72px) auto 0;
}
.rede-partner-projects > h2 { margin-top: 0; }
.rede-testimonial-detail .rede-collaboration__media,
.rede-partner-detail .rede-collaboration__media {
    max-width: 760px;
    margin-right: auto;
}
.rede-testimonial-detail .rede-collaboration__media img,
.rede-partner-detail .rede-collaboration__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.rede-testimonial-detail .rede-collaboration__body,
.rede-partner-detail .rede-collaboration__body { max-width: 760px; padding-inline: 0; }
@media (max-width: 900px) {
    .rede-collaboration__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .rede-collaboration__grid { grid-template-columns: 1fr; }
}
.rede-home-donate {
    background: #b20812;
    color: #fff;
}
.rede-home-donate__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.rede-home-donate .rede-home-section__eyebrow {
    color: #fff;
}
.rede-home-donate h2 {
    max-width: 850px;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.12;
}
.rede-home-donate p:last-child {
    margin: 0;
}
.rede-home-donate__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 24px;
    background: #fff;
    color: #202124;
    font-weight: 700;
    text-decoration: none;
}
.rede-home-section :is(a):focus-visible,
.rede-home-intro a:focus-visible,
.rede-home-donate a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}
.rede-home-section :is(a):hover,
.rede-home-section :is(a):focus-visible,
.rede-home-intro a:hover,
.rede-home-intro a:focus-visible {
    text-decoration: underline;
    text-underline-offset: .2em;
}
@media (max-width: 1000px) {
    .rede-home-directory__track {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
    .rede-home-directory--static .rede-home-directory__track {
        grid-auto-columns: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .rede-home-section__cards,
    .rede-home-collaborate,
    .rede-home-partners {
        grid-template-columns: 1fr;
    }
    .rede-home-donate__inner {
        align-items: start;
        flex-direction: column;
    }
}
@media (max-width: 650px) {
    .rede-home-directory__track {
        grid-auto-columns: 100%;
    }
    .rede-home-directory--static .rede-home-directory__track {
        grid-auto-columns: auto;
        grid-template-columns: minmax(0, 1fr);
    }
}
.rede-publication-card .wp-block-post-featured-image {
    width: 100%;
    background: #f8f7f5;
}

.rede-publication-card .wp-block-post-featured-image img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

body.rede-page-bulletin .single-reading-column {
    max-width: 1280px;
}

body.rede-page-bulletin .wp-block-post-content > p:first-child {
    max-width: 760px;
}

body.rede-page-studies .wp-block-post-content > p:first-child {
    max-width: 760px;
}

.rede-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.rede-study-card {
    min-width: 0;
    height: 100%;
    padding: 24px;
    border: 1px solid #dcd9d5;
    background: #fff;
}

.rede-study-card h2 {
    margin-top: 0;
    line-height: 1.08;
}

.rede-study-card ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.rede-study-card li + li {
    margin-top: 12px;
}

.rede-study-card a {
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .rede-studies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .rede-studies-grid { grid-template-columns: 1fr; }
}

.rede-bulletin-card {
    height: 100%;
    padding: 24px;
    border: 1px solid #dcd9d5;
    background: #fff;
}

.rede-bulletins__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Structured card collections use the full content container, not the reading measure. */
.single-reading-column:has(.rede-bulletins__grid),
.single-reading-column:has(.rede-area-cards) {
    max-width: none;
}
.single-reading-column:has(.rede-bulletins__grid) .wp-block-post-content > :is(p, ul, ol),
.single-reading-column:has(.rede-area-cards) .wp-block-post-content > :is(p, ul, ol) {
    max-width: 760px;
}
.rede-bulletins__grid > * {
    min-width: 0;
    overflow-wrap: anywhere;
}

.rede-bulletin-card__title {
    margin: 0 0 24px;
    font-size: 1.25rem;
    line-height: 1.25;
}

.rede-bulletin-card > p:last-child {
    margin-bottom: 0;
}

.rede-bulletin-card .wp-block-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    margin: 0 0 24px;
    background: #f8f7f5;
}

.rede-bulletin-card .wp-block-image img {
    max-height: 240px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .rede-bulletins__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .rede-bulletins__grid { grid-template-columns: minmax(0, 1fr); }
}

.rede-test-form-warning {
    padding: 1rem 1.25rem;
    border: 2px solid #b42318;
    background: #fff3f1;
    color: #7a271a;
    overflow-wrap: anywhere;
}
