@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/urci/fonts/plus-jakarta-sans-latin-variable.woff2")
        format("woff2");
}

:root {
    color-scheme: light;
    --ink: #191c20;
    --muted: #3f4850;
    --paper: #f8f9ff;
    --surface: #f2f3f9;
    --container: #eceef4;
    --line: #e0e2e8;
    --blue: #006194;
    --blue-hover: #007bb9;
    --blue-light: #93ccff;
    --hero: #2d3135;
    --hero-text: #eff0f7;
    --white: #fff;
    --line-strong: #75808a;
    /* Alternating section bands. */
    --blue-tint: #e8f2f8;
    --green-tint: #eaf4ee;
    /* Brand orange; --accent-text is darkened to reach AA as text on light backgrounds. */
    --accent: #e4780d;
    --accent-text: #a14f00;
    --success: #1d7a46;
    --success-tint: #edf7f0;
    --error: #b3261e;
    --error-tint: #fdf0ef;
    --content: 80rem;
    /* Motion scale: fast for hover feedback, base for state changes; scroll ranges for entrances. */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --motion-fast: 170ms;
    --motion-base: 260ms;
    /* Scroll distance an entrance takes to complete once the element's top enters the viewport. */
    --scroll-appear: 50vh;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}
a {
    color: var(--blue);
    text-underline-offset: 0.2em;
}
a:hover {
    color: var(--blue-hover);
}
a,
.button,
.card-link,
.termsfeed-com---nb.termsfeed-com---nb-simple .cc-nb-okagree,
.termsfeed-com---nb.termsfeed-com---nb-simple .cc-nb-reject {
    transition:
        color var(--motion-fast) ease,
        background-color var(--motion-fast) ease,
        border-color var(--motion-fast) ease,
        box-shadow var(--motion-base) var(--ease-out),
        text-decoration-color var(--motion-fast) ease;
}
.button:active,
.termsfeed-com---nb.termsfeed-com---nb-simple
    :is(.cc-nb-okagree, .cc-nb-reject):active {
    transform: translateY(1px);
}
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--blue-hover);
    outline-offset: 4px;
}
.container {
    width: min(calc(100% - 6rem), var(--content));
    margin-inline: auto;
}
.skip-link {
    position: absolute;
    z-index: 10;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.7rem 1rem;
    transform: translateY(-160%);
    color: white;
    background: var(--ink);
}
.skip-link:focus {
    transform: translateY(0);
}
.site-header {
    position: sticky;
    z-index: 5;
    top: 0;
    margin-bottom: calc(-1 * var(--urci-header-height, 6rem));
    padding: 1rem 0 0.5rem;
    background: transparent;
    pointer-events: none;
}
.header-row {
    display: grid;
    grid-template: "brand nav cta menu" auto / auto minmax(0, 1fr) auto auto;
    min-height: 4.5rem;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgb(219 226 234 / 80%);
    border-radius: 999px;
    background: var(--white);
    box-shadow:
        0 10px 30px -10px rgb(0 97 148 / 8%),
        0 4px 12px -2px rgb(25 28 32 / 5%);
    pointer-events: auto;
    transition:
        box-shadow var(--motion-base) var(--ease-out),
        border-color var(--motion-base) var(--ease-out),
        background-color var(--motion-base) var(--ease-out);
}
.site-header.is-scrolled .header-row {
    border-color: rgb(0 97 148 / 20%);
    box-shadow:
        0 16px 36px -8px rgb(0 97 148 / 12%),
        0 6px 16px -2px rgb(25 28 32 / 6%);
}
@supports (backdrop-filter: blur(20px)) {
    .site-header.is-scrolled .header-row {
        background: rgb(255 255 255 / 85%);
        backdrop-filter: blur(20px);
    }
}
.brand {
    display: inline-flex;
    grid-area: brand;
    align-items: center;
    text-decoration: none;
}
.brand img {
    display: block;
    width: 120px;
    height: auto;
}
.primary-navigation {
    display: flex;
    grid-area: nav;
    align-items: center;
    justify-content: center;
    gap: clamp(0.15rem, 0.6vw, 0.55rem);
}
.site-header .primary-navigation a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0.45rem clamp(0.55rem, 1vw, 0.9rem);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--motion-fast) ease;
}
.site-header .primary-navigation a:hover {
    color: var(--blue);
}
/* The current page is marked by colour alone in the navigation links. */
.site-header .primary-navigation a[aria-current="page"] {
    color: var(--blue);
}
.site-header .header-cta[aria-current="page"] {
    position: relative;
}

.site-header .header-cta[aria-current="page"]::before {
    background: currentColor;
}
.mobile-volunteer {
    display: none !important;
}
.header-cta {
    grid-area: cta;
    min-height: 2.8rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    white-space: nowrap;
}
.site-header .header-cta {
    border-radius: 999px;
}
html:not(.urci-js) body:has(.hero-section) .site-header::before,
html:not(.urci-js) body:has(.interior-header) .site-header::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(
            rgb(253 187 3 / 60%),
            rgb(69 145 81 / 60%),
            rgb(240 63 62 / 60%),
            rgb(0 177 227 / 60%)
        ),
        url("/urci/images/header.webp") center / cover no-repeat;
    content: "";
    filter: blur(10px) grayscale(0.6);
    pointer-events: none;
}
html:not(.urci-js) body:has(.interior-header) .site-header::before {
    background: url("/urci/images/header.webp") center / cover no-repeat;
    filter: blur(8px);
}
html:not(.urci-js) body:has(.interior-header) .site-header::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgb(15 27 35 / 82%);
    content: "";
    pointer-events: none;
}
.menu-toggle {
    display: none;
    grid-area: menu;
    width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: var(--white);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.site-header .primary-navigation[hidden] {
    display: none;
}
.home-content {
    width: 100%;
    margin: 0;
    padding: 0;
}
.page-content {
    padding-block: 0 6rem;
}
.page-content:has(> .page-intro.interior-intro + .notas-legales) {
    padding-block-start: var(--urci-header-height, 6rem);
}
.page-content > :first-child:not(.hero) {
    margin-top: 3.5rem;
}
.hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 7rem;
    padding-block-start: calc(7rem + var(--urci-header-height, 6rem));
    color: var(--hero-text);
    background-color: var(--hero);
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: -1rem;
    z-index: -1;
    /* Dark scrim over the brand gradient keeps the hero copy legible where the yellow band sits. */
    background:
        linear-gradient(rgb(18 22 26 / 55%), rgb(18 22 26 / 15%)),
        linear-gradient(
            rgb(253 187 3 / 60%),
            rgb(69 145 81 / 60%),
            rgb(240 63 62 / 60%),
            rgb(0 177 227 / 60%)
        ),
        url("images/header.webp") center / cover no-repeat;
    filter: blur(10px) grayscale(0.6);
    pointer-events: none;
}
.hero {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 4rem;
}
.hero-copy {
    min-width: 0;
}
.hero-image,
.service-image,
.life-image {
    display: block;
    width: 100%;
    height: auto;
}
.hero h1,
.page-intro h1 {
    margin: 0.5rem 0 1.5rem;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.11;
    letter-spacing: -0.03em;
}
.hero h1 {
    max-width: none;
}
.page-intro h1 {
    max-width: 18ch;
}
.lead {
    max-width: 55ch;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.6;
}
.hero-section .eyebrow {
    color: #d6ebff;
}
.hero-section .lead {
    color: var(--line);
}
.eyebrow {
    margin: 0 0 0.6rem;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.image-placeholder {
    display: grid;
    min-width: 0;
    place-items: center;
    overflow: hidden;
    padding: 1.25rem;
    background-color: var(--container);
    background-image:
        linear-gradient(
            135deg,
            transparent 49.8%,
            #dfe2ea 50%,
            transparent 50.2%
        ),
        linear-gradient(
            45deg,
            transparent 49.8%,
            #dfe2ea 50%,
            transparent 50.2%
        );
    color: #38434c;
    text-align: center;
}
.image-placeholder span {
    max-width: 24ch;
    padding: 0.5rem 0.75rem;
    background: rgb(248 249 255 / 88%);
    font-size: 0.8rem;
    font-weight: 600;
}
.hero-placeholder {
    background-color: #555d63;
    background-image:
        linear-gradient(
            135deg,
            transparent 49.8%,
            #667077 50%,
            transparent 50.2%
        ),
        linear-gradient(
            45deg,
            transparent 49.8%,
            #667077 50%,
            transparent 50.2%
        );
    color: var(--hero-text);
}
.hero-placeholder span {
    background: rgb(45 49 53 / 88%);
}
.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}
.button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.35rem;
    font: inherit;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
}
.button-primary {
    color: white;
    background: var(--blue);
}
.button-primary:hover {
    color: white;
    background: var(--blue-hover);
}
.button-secondary {
    border-color: var(--line);
    color: var(--ink);
    background: transparent;
}
.button-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.hero-section .button-secondary {
    border-color: rgb(239 240 247 / 70%);
    color: var(--hero-text);
}
.hero-section .button-secondary:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgb(255 255 255 / 12%);
}
.hero-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    margin: 4rem 0 0;
    padding-top: 2rem;
    border-top: 1px solid rgb(239 240 247 / 25%);
}
/* The label (dt) comes first in the markup for screen readers; the value (dd) is shown on top. */
.hero-facts > div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
}
.hero-facts dd {
    margin: 0;
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 650;
    line-height: 1.3;
}
.hero-facts dt {
    margin-top: 0.25rem;
    /* Near-white: the scrim is lightest at the bottom of the hero, where the facts sit. */
    color: var(--paper);
    font-size: 0.9375rem;
    line-height: 1.45;
    text-wrap: balance;
}
.section-heading {
    margin-bottom: 2rem;
}
.section-heading h2,
.participation-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 3.3vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
}
.section-intro {
    max-width: 56ch;
    margin: 0.75rem 0 0;
    color: var(--muted);
}
.home-content > .identity-section {
    display: grid;
    grid-template-columns: 4fr 8fr;
    column-gap: 4rem;
    align-items: start;
    margin-block: 0;
}
.identity-section .section-heading {
    margin: 0;
}
/* Homepage section titles step clearly down from the hero h1 (72px → 40px). */
.home-content .section-heading h2,
.home-content .identity-section .section-heading h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
}
.identity-section .section-heading h2 {
    margin: 0;
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
}
.identity-copy {
    min-width: 0;
    font-size: 1.1rem;
    line-height: 1.7;
}
.identity-copy > p {
    max-width: 62ch;
    margin: 0;
}
.home-content .identity-copy > .text-link {
    display: block;
    margin-top: 1rem;
}
.home-content .identity-media {
    margin-top: 1.5rem;
}
.identity-placeholder {
    width: 100%;
    margin-top: 2rem;
}
.home-content > .services-section,
.home-content > .news-section {
    padding-block: 3.5rem;
}
.services-section .section-heading,
.news-section .section-heading {
    margin-bottom: 2.5rem;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
}
.service-card {
    position: relative;
    min-width: 0;
}
/* The heading link covers the whole card: one focus stop, one accessible name. */
.service-link {
    color: inherit;
    text-decoration: none;
}
.service-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
.service-link:focus-visible {
    outline: none;
}
.service-link:focus-visible::after {
    outline: 3px solid var(--blue-hover);
    outline-offset: 4px;
}
/* Homepage service cards link to these sections; keep them clear of the sticky header. */
.interior-section[id] {
    scroll-margin-top: calc(var(--urci-header-height, 6rem) + 1rem);
}
.service-copy {
    padding-top: 1.25rem;
}
.service-copy h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
}
.service-copy p {
    min-height: 3.2em;
    margin: 0 0 0.75rem;
    color: var(--muted);
}
.text-link,
.interior-header nav a {
    position: relative;
}
.text-link {
    font-weight: 650;
}
/* Grow the tap area to 44px tall without changing the text's layout. */
.text-link::before,
.interior-header nav a::before {
    content: "";
    position: absolute;
    inset: 50% -0.25rem auto;
    min-height: 44px;
    height: 100%;
    transform: translateY(-50%);
}
.home-content .services-section .section-heading > .text-link,
.home-content .news-section .section-heading > .text-link {
    display: block;
    margin-top: 1rem;
}
.home-content > .life-section {
    margin-block: 0;
}
.life-intro {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 2rem;
}
.life-intro .section-heading {
    margin: 0;
}
.life-intro > p {
    max-width: 58ch;
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 1.1rem;
}
.life-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}
.life-image {
    object-fit: cover;
    object-position: center 35%;
}
.news-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
}
.news-heading .text-link {
    margin-bottom: 0.45rem;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
/* With fewer than three published items, share the row instead of leaving an empty column.
   Scoped above the 64rem breakpoint, where the grid collapses to one column anyway. */
@media (min-width: 64.0625rem) {
    .news-grid:has(> .news-card:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .news-grid:has(> .news-card:only-child) {
        max-width: calc((100% - 3rem) / 3 * 2 + 1.5rem);
        grid-template-columns: minmax(0, 1fr);
    }
}
.news-card {
    min-width: 0;
    padding: 1.4rem;
    border: 1px solid var(--line);
    background: white;
}
.news-card .news-image {
    display: block;
    width: 100%;
    object-fit: cover;
}
.news-section .news-card .news-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}
.news-card h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.home-content .news-card .news-image + h3 {
    margin-top: 1rem;
}
.news-card h3 a {
    color: var(--ink);
    text-decoration: none;
}
.news-card h3 a:hover {
    color: var(--blue);
}
.news-excerpt {
    margin: 0.5rem 0 1rem;
    color: var(--muted);
    line-height: 1.55;
}
.empty-state {
    max-width: 48rem;
    padding: 2rem;
    background: white;
}
.empty-state h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}
.empty-state p {
    margin: 0;
    color: var(--muted);
}
.home-content > .collaboration-section {
    padding-block: 3.5rem;
}
.collaboration-section .section-heading {
    margin-bottom: 2rem;
}
.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}
.collaboration-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    background: white;
}
.collaboration-icon {
    margin-bottom: 0.75rem;
}
.collaboration-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
}
.collaboration-card p {
    flex: 1;
    margin: 0 0 1.5rem;
    color: var(--muted);
}
.collaboration-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}
.collaboration-logos > li {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.collaboration-logos img {
    display: block;
    width: 100%;
    max-width: 13rem;
    height: 6.5rem;
    object-fit: contain;
}
/* Portrait marks (the municipal shield) need more height to match the optical weight of wide logos. */
.collaboration-logos .logo-portrait img {
    height: 9.5rem;
}
.button-dark {
    color: white;
    background: var(--hero);
}
.button-dark:hover {
    color: white;
    background: #454c52;
}
.page-intro {
    max-width: 55rem;
    margin-bottom: 2rem;
}
.compact-intro h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}
.review-note,
.small-note {
    color: var(--muted);
    font-size: 0.9rem;
}
.search-form {
    max-width: 45rem;
    margin-block: 2rem;
}
.search-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
}
.search-row {
    display: flex;
    gap: 0.6rem;
}
.search-row input {
    flex: 1;
    min-width: 0;
    min-height: 2.9rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 0.25rem;
    font: inherit;
}
.information-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.information-card {
    min-width: 0;
    padding: 1.35rem;
    border: 1px solid var(--line);
    background: white;
}
.information-card h2,
.information-card h3 {
    margin: 0.6rem 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.information-card p {
    margin: 0.5rem 0;
    color: var(--muted);
}
.card-link {
    display: block;
    color: var(--ink);
    text-decoration: none;
}
.card-link:hover {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px #00619420;
}
.draft-label {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    color: #164b36;
    background: #e2f4e9;
    font-size: 0.78rem;
    font-weight: 700;
}
.listing {
    display: grid;
    gap: 1rem;
}
.listing-card {
    min-width: 0;
    padding: clamp(1rem, 3vw, 1.6rem);
    border: 1px solid var(--line);
    background: white;
}
.listing-card h2 {
    margin: 0.6rem 0;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.listing-card p {
    margin: 0.5rem 0;
    color: var(--muted);
}
.document-link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0.45rem 0.8rem;
    color: white;
    background: var(--blue);
    font-weight: 700;
    text-decoration: none;
}
.pending-link {
    display: block;
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.92rem;
}
.pagination {
    margin-top: 3.5rem;
    overflow-wrap: anywhere;
}
.pagination nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.article-content {
    max-width: 52rem;
    margin-inline: auto;
}
.article-content h1 {
    margin: 0.5rem 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.article-date {
    color: var(--muted);
}
.article-copy {
    margin-block: 2rem;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.contact-pending {
    max-width: 48rem;
}
.legal-warning {
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    border-left: 0.25rem solid var(--blue);
    background: var(--surface);
}
.notas-legales {
    overflow-wrap: anywhere;
}
.notas-legales table {
    width: 100%;
    border-collapse: collapse;
}
.notas-legales td {
    padding: 0.7rem;
    border: 1px solid var(--line);
    vertical-align: top;
}
.proposal-notice {
    color: var(--muted);
    font-size: 0.75rem;
}
.site-footer {
    position: relative;
    overflow: hidden;
    padding-block: 4rem 2rem;
    border-top: 1px solid var(--line);
    border-radius: 3rem 3rem 0 0;
    background: var(--container);
}
.site-footer::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(20rem, 70%);
    height: 0.35rem;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(
        90deg,
        #f59e0b,
        #f97316 30%,
        #10b981 65%,
        var(--blue)
    );
    content: "";
    opacity: 0.75;
    transform: translateX(-50%);
}
.footer-collaboration {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: clamp(1.5rem, 4vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: var(--white);
    box-shadow: 0 8px 24px -6px rgb(0 97 148 / 5%);
}
.footer-collaboration .button {
    border-radius: 999px;
}
.footer-collaboration h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.3;
}
.footer-collaboration p {
    margin: 0.4rem 0 0;
    color: var(--muted);
}
.footer-grid {
    display: grid;
    grid-template-columns: 5fr 4fr 3fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line);
}
.footer-identity {
    max-width: 28rem;
}
.footer-identity .brand img {
    width: 160px;
}
.footer-identity p,
.footer-contact p {
    color: var(--muted);
}
.footer-contact h2,
.footer-navigation h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 650;
}
.footer-contact address {
    color: var(--muted);
    font-style: normal;
    line-height: 1.7;
}
.footer-navigation {
    display: grid;
    align-content: start;
    gap: 0.25rem;
}
.footer-navigation a,
.footer-contact a {
    display: block;
    padding-block: 0.3rem;
    color: var(--ink);
    text-decoration: none;
}
.footer-navigation a:hover,
.footer-contact a:hover {
    color: var(--blue);
    text-decoration: underline;
}
.footer-navigation span {
    color: var(--muted);
    font-size: 0.8rem;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    color: var(--muted);
    font-size: 0.8rem;
}
.footer-bottom p {
    margin: 0;
}
.footer-bottom a {
    /* Darkened brand orange: 4.98:1 on the footer background (WCAG AA). */
    color: var(--accent-text);
    font-weight: 650;
    text-decoration: none;
}
.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 64rem) {
    .container {
        width: min(calc(100% - 4rem), var(--content));
    }
    .collaboration-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero {
        gap: 2.5rem;
    }
    .identity-section,
    .life-intro {
        column-gap: 2.5rem;
    }
    .service-grid {
        gap: 2rem;
    }
    .life-grid {
        gap: 1.5rem;
    }
    .footer-grid {
        gap: 2rem;
    }
    .primary-navigation {
        gap: 0.1rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 52rem) {
    .container {
        width: min(calc(100% - 3rem), var(--content));
    }
    .hero-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 2.5rem;
        padding-top: 1.5rem;
    }
    .header-row {
        grid-template:
            "brand cta menu" 3rem "nav nav nav" auto / minmax(0, 1fr)
            auto auto;
        min-height: 0;
        gap: 0.4rem 0.5rem;
        padding: 0.45rem 0.65rem;
    }
    .site-header .header-row {
        border-radius: 2rem;
    }
    .brand img {
        width: 100px;
    }
    .header-cta {
        min-height: 2.75rem;
        padding: 0.4rem 0.7rem;
        font-size: 0.82rem;
    }
    .menu-toggle {
        display: none;
        width: 2.75rem;
    }
    html.urci-js .menu-toggle {
        display: inline-flex;
        align-items: center;
    }
    .primary-navigation {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.25rem;
        margin-top: 0.25rem;
        padding: 0.5rem;
        border: 1px solid rgb(219 226 234 / 90%);
        border-radius: 1.5rem;
        background: var(--white);
        box-shadow: 0 8px 20px rgb(25 28 32 / 6%);
    }
    .site-header .primary-navigation a {
        width: 100%;
        min-height: 2.75rem;
        justify-content: space-between;
        padding-inline: 1rem;
    }
    html.urci-js .primary-navigation[hidden] {
        display: none;
    }
    .mobile-volunteer {
        display: inline-flex !important;
    }
    .page-content {
        padding-bottom: 2.5rem;
    }
    .page-content .article-featured-media {
        width: 100%;
        margin: 1.5rem 0;
    }
    .hero-section {
        padding-block: 3rem;
        padding-block-start: calc(3rem + var(--urci-header-height, 6rem));
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .identity-section,
    .life-intro {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .identity-section {
        margin-block: 3rem;
    }
    .home-content > .identity-section {
        margin-block: 0;
        padding-block: 2.5rem;
    }
    .home-content .identity-media {
        margin-top: 1rem;
    }
    .home-content > .life-section {
        margin-block: 3rem;
    }
    .identity-section .section-heading h2,
    .section-heading h2,
    .participation-panel h2 {
        font-size: 2rem;
    }
    .identity-copy {
        font-size: 1rem;
    }
    .identity-placeholder {
        margin-top: 1rem;
    }
    .home-content > .services-section,
    .home-content > .news-section {
        padding-block: 2.5rem;
    }
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .service-copy p {
        min-height: 0;
    }
    .life-section {
        margin-block: 3rem;
    }
    .life-intro {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    .life-intro > p {
        font-size: 1rem;
    }
    .life-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .news-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .home-content > .collaboration-section {
        padding-block: 2.5rem;
    }
    .collaboration-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .collaboration-card {
        padding: 1.5rem;
    }
    .collaboration-card p {
        flex: initial;
    }
    .collaboration-logos {
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-collaboration {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 1.25rem;
        border-radius: 1.25rem;
    }
    .footer-collaboration .button {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
    .site-footer {
        border-radius: 2.25rem 2.25rem 0 0;
        padding-block: 3rem 1.5rem;
    }
}

@media (max-width: 38rem) {
    .container {
        width: min(calc(100% - 3rem), var(--content));
    }
    .home-content .collaboration-logos > li {
        padding: 0.75rem;
    }
    .home-content .collaboration-logos img {
        height: 4.5rem;
    }
    .home-content .collaboration-logos .logo-portrait img {
        height: 6.5rem;
    }
    .button-row {
        align-items: stretch;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    .button-row .button {
        width: 100%;
        justify-content: center;
    }
    .information-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
    /* Header colour and shadow changes carry state, so they keep their (non-spatial) transition. */
}

/* Interior presentation only; keep the accepted full-width homepage unchanged. */
.page-content .interior-intro {
    max-width: 58rem;
    margin-bottom: 2.5rem;
}
.page-content .interior-intro h1 {
    max-width: 22ch;
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
}
.page-content .interior-intro .lead {
    max-width: 68ch;
}
.page-content .interior-sections {
    max-width: 62rem;
    border-top: 1px solid var(--line);
}
.page-content .interior-section {
    padding: 3.5rem 3rem;
}
.page-content .interior-section h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.3vw, 1.75rem);
    line-height: 1.3;
}
.page-content .interior-section p {
    max-width: 72ch;
    margin: 0;
    color: var(--muted);
}
.page-content .interior-section .text-link {
    display: inline-block;
    margin-top: 0.75rem;
}
.page-content .interior-disclosure {
    max-width: 68ch;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}
.page-content .interior-contact {
    max-width: 52rem;
    padding: 3.5rem 3rem;
    border-top: 1px solid var(--line);
}
.page-content .interior-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.page-content .interior-search {
    margin-block: 3.5rem;
}
.page-content .interior-search button {
    cursor: pointer;
}
.page-content .filter-summary {
    color: var(--muted);
}
.page-content .pagination-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.page-content .pagination-links a,
.page-content .pagination-current,
.page-content .pagination-disabled,
.page-content .pagination-ellipsis {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    background: white;
    text-decoration: none;
}
.page-content .pagination-current {
    border-color: var(--blue);
    color: white;
    background: var(--blue);
}
.page-content .pagination-disabled,
.page-content .pagination-ellipsis {
    color: var(--muted);
}
.page-content .interior-article {
    max-width: 65ch;
}
.page-content .interior-article .article-copy {
    font-size: 1.05rem;
    line-height: 1.8;
}
.page-content .article-back {
    margin-block: 0.5rem 1rem;
}
.page-content .article-copy {
    margin-block: 3.5rem;
}
.page-content .article-document {
    margin-top: 3.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}
.page-content .article-document h2 {
    margin: 0;
    font-size: 1.2rem;
}
.page-content .status-panel {
    max-width: 48rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--surface);
}
.page-content .status-panel > p:last-child {
    margin-bottom: 0;
}
.page-content .legal-warning {
    max-width: 72rem;
}
.page-content .notas-legales {
    max-width: 72rem;
    margin-block: 3.5rem;
    line-height: 1.75;
}
.page-content .notas-legales h2 {
    margin-top: 2rem;
    line-height: 1.3;
}
.page-content .notas-legales a {
    overflow-wrap: anywhere;
}
.page-content .notas-legales .table-responsive {
    max-width: 100%;
    overflow-x: auto;
}
.page-content .notas-legales table {
    min-width: 36rem;
}

@media (max-width: 38rem) {
    .page-content .interior-contact-links {
        align-items: stretch;
        flex-direction: column;
    }
    .page-content .interior-contact-links .button {
        width: 100%;
    }
    .page-content .notas-legales table {
        min-width: 30rem;
    }
}

/* Menu and alternating media refinements; keep prior accepted rules intact. */
.site-header .menu-toggle {
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
}
.site-header .menu-icon {
    width: 1.5rem;
    height: 1.5rem;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}
.site-header .menu-line {
    transform-box: fill-box;
    transform-origin: center;
    transition:
        transform var(--motion-base) var(--ease-in-out),
        opacity var(--motion-fast) ease;
}
.site-header .menu-toggle[aria-expanded="true"] .menu-line-top {
    transform: translateY(6px) rotate(45deg);
}
.site-header .menu-toggle[aria-expanded="true"] .menu-line-middle {
    opacity: 0;
}
.site-header .menu-toggle[aria-expanded="true"] .menu-line-bottom {
    transform: translateY(-6px) rotate(-45deg);
}
.page-content .alternating-blocks {
    display: grid;
    gap: clamp(2.5rem, 6vw, 5rem);
}
.page-content .alternating-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    min-width: 0;
}
.page-content .alternating-block > .alternating-copy {
    grid-column: 1;
    min-width: 0;
}
.page-content .alternating-block > .alternating-media {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
}
.page-content .alternating-block:nth-child(even) > .alternating-copy {
    grid-column: 2;
}
.page-content .alternating-block:nth-child(even) > .alternating-media {
    grid-column: 1;
}
.page-content .alternating-block .interior-section {
    padding-block: 0;
    border: 0;
}
.page-content .listing.alternating-blocks {
    max-width: 76rem;
    gap: 4.5rem;
}
.page-content .listing.alternating-blocks > .listing-card {
    padding: 0;
    border: 0;
    background: transparent;
}
.page-content .news-image {
    display: block;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 52rem) {
    .site-header .primary-navigation {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 0.25rem 0 0.5rem;
    }
    /* Replays each time the menu leaves [hidden], so opening feels anchored to the toggle. */
    .site-header .primary-navigation:not([hidden]) {
        animation: urci-menu-in var(--motion-base) var(--ease-out) both;
    }
}
@keyframes urci-menu-fade {
    from {
        opacity: 0;
    }
}
@keyframes urci-menu-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 47.999rem) {
    .page-content .alternating-block {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }
    .page-content .alternating-block > .alternating-copy,
    .page-content .alternating-block:nth-child(even) > .alternating-copy {
        grid-column: 1;
        grid-row: 1;
    }
    .page-content .alternating-block > .alternating-media,
    .page-content .alternating-block:nth-child(even) > .alternating-media {
        grid-column: 1;
        grid-row: 2;
    }
}

.page-content
    .interior-sections.page-ofrecemos.alternating-blocks
    > .alternating-block:nth-child(1) {
    background-color: var(--white);
}
.page-content
    .interior-sections.page-ofrecemos.alternating-blocks
    > .alternating-block:nth-child(2) {
    background-color: var(--blue-tint);
}
.page-content
    .interior-sections.page-ofrecemos.alternating-blocks
    > .alternating-block:nth-child(3) {
    background-color: var(--white);
}
.page-content
    .interior-sections.page-ofrecemos.alternating-blocks
    > .alternating-block:nth-child(4) {
    background-color: var(--green-tint);
}
.page-content
    .interior-sections.page-ofrecemos.alternating-blocks
    > .alternating-block:nth-child(5) {
    background-color: var(--white);
}

.page-content .interior-sections.page-ofrecemos.alternating-blocks {
    width: 100%;
    max-width: none;
    gap: 4.5rem;
}
.page-content
    .interior-sections.page-ofrecemos.alternating-blocks
    > .alternating-block {
    gap: 3rem;
    padding: 3.5rem 3rem;
}

@media (max-width: 52rem) {
    .page-content .interior-sections.page-ofrecemos.alternating-blocks {
        gap: 3.5rem;
    }
    .page-content
        .interior-sections.page-ofrecemos.alternating-blocks
        > .alternating-block {
        gap: 2rem;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 47.999rem) {
    .page-content .interior-sections.page-ofrecemos.alternating-blocks {
        gap: 3rem;
    }
    .page-content
        .interior-sections.page-ofrecemos.alternating-blocks
        > .alternating-block {
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header .menu-line {
        transition: none;
    }
    .site-header .primary-navigation {
        animation: none !important;
    }
}
@media (prefers-reduced-motion: reduce) and (max-width: 52rem) {
    /* Opening still reads as a change, without the spatial drop. */
    .site-header .primary-navigation:not([hidden]) {
        animation: urci-menu-fade var(--motion-fast) var(--ease-out) both !important;
    }
}

/* Grouped interior blocks (team, governing bodies, transparency); scoped to .page-content. */
.page-content .interior-section h3 {
    margin: 1.35rem 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 650;
    line-height: 1.35;
}
.page-content .interior-list {
    max-width: 72ch;
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    color: var(--muted);
}
.page-content .interior-list li + li {
    margin-top: 0.35rem;
}

/* Imagen destacada del detalle de noticias */
.article-content .article-featured-media {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
    overflow: hidden;
}

.article-content .article-featured-media .article-featured-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

/* Collaboration form: presentation only until a submission workflow is approved. */
.page-content .collaboration-form-section {
    max-width: 52rem;
}
.collaboration-form-section > h2 {
    margin: 0 0 1rem;
}
.collaboration-form-notice {
    margin: 0 0 1.5rem;
    padding: 1rem;
    border-left: 0.25rem solid var(--blue);
    background: var(--surface);
}
.collaboration-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.collaboration-form-field {
    min-width: 0;
}
.collaboration-form-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 650;
}
.collaboration-form-field label span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 400;
}
.collaboration-form-field input,
.collaboration-form-field select,
.collaboration-form-field textarea {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--line-strong);
    border-radius: 0.25rem;
    color: var(--ink);
    background: white;
    font: inherit;
}
.collaboration-form-field textarea {
    min-height: 7rem;
    resize: vertical;
}
.collaboration-form-field input:focus-visible,
.collaboration-form-field select:focus-visible,
.collaboration-form-field textarea:focus-visible {
    outline: 3px solid var(--blue-hover);
    outline-offset: 2px;
}
.collaboration-form-message {
    grid-column: 1 / -1;
}
.collaboration-form-privacy {
    margin: 1.25rem 0;
}
.collaboration-form button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}
.collaboration-form-notice.is-success {
    border-left-color: var(--success);
    background: var(--success-tint);
}
.collaboration-form-notice.is-error {
    border-left-color: var(--error);
    background: var(--error-tint);
}
/* Scoped so it outranks ".page-content .interior-section p", which turned errors grey and removed their spacing. */
.collaboration-form p.collaboration-form-error {
    margin: 0.35rem 0 0;
    color: var(--error);
    font-size: 0.9rem;
    font-weight: 600;
}
.collaboration-form-field [aria-invalid="true"] {
    border-color: var(--error);
    box-shadow: 0 0 0 1px var(--error);
}
.collaboration-form .cf-turnstile {
    margin-bottom: 1.25rem;
}
/* Keep the returned form (#formulario-...) clear of the sticky header. */
.collaboration-form-section {
    scroll-margin-top: calc(var(--urci-header-height, 6rem) + 1rem);
}
.page-content
    .collaboration-form-section
    .collaboration-form-privacy
    .collaboration-form-error {
    grid-column: 1 / -1;
}

@media (max-width: 38rem) {
    .collaboration-form-grid {
        grid-template-columns: 1fr;
    }
    .collaboration-form-message {
        grid-column: auto;
    }
}

/* Shared contact and participation layouts. */
.page-content .soft-card {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
}
.page-content .contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.page-content .contact-detail-grid h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}
.page-content .contact-detail-grid address {
    font-style: normal;
}
.page-content .contact-detail-grid p {
    margin: 0 0 0.5rem;
}
.page-content .contact-map {
    margin-top: 2rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--surface);
}
.page-content .contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 47.999rem) {
    .page-content .contact-map {
        aspect-ratio: 4 / 3;
    }
}
.page-content .contact-access-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    min-width: 0;
}
.page-content .participation-access-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.page-content .participation-access-card:hover,
.page-content .participation-access-card:focus-visible {
    border-color: var(--blue);
    background: var(--white);
}
.page-content .participation-access-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    line-height: 1.3;
}
.page-content .participation-access-card p {
    flex: 1;
    margin: 0 0 1rem;
    color: var(--muted);
}
.page-content .participation-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(16rem, 3fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: 76rem;
}
.page-content .participation-context,
.page-content .collaboration-form-section {
    min-width: 0;
    max-width: none;
}
.page-content .participation-context {
    border-top: 0;
}
.page-content .participation-context .interior-section {
    padding: 0 0 3.5rem;
    border-bottom: 0;
}
.page-content .participation-context .interior-section:last-child {
    padding-bottom: 0;
}
.page-content .participation-context .interior-section h2 {
    margin-bottom: 0.75rem;
}
.page-content .participation-context .interior-section p + p {
    margin-top: 0.75rem;
}
.page-content .participation-context .interior-section p + .button {
    margin-top: 0.75rem;
}
.page-content .collaboration-form-section {
    padding: 3.5rem 3rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
}
.page-content .collaboration-form-field input,
.page-content .collaboration-form-field select,
.page-content .collaboration-form-field textarea {
    min-width: 0;
}
.page-content .collaboration-form-privacy,
.page-content .collaboration-form-notice {
    overflow-wrap: anywhere;
}
.page-content .collaboration-form-section .collaboration-form-notice {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
}
.page-content .collaboration-form-section .collaboration-form-privacy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    margin: 1rem 0;
}
.page-content .collaboration-form-section .collaboration-form-privacy input {
    width: 1rem;
    min-height: 1rem;
    margin: 0.2rem 0 0;
    accent-color: var(--blue);
}
.page-content .collaboration-form-section .collaboration-form-privacy label {
    min-width: 0;
    overflow-wrap: anywhere;
}
.page-content
    .collaboration-form-section
    .collaboration-form-privacy
    input:focus-visible,
.page-content
    .collaboration-form-section
    .collaboration-form-privacy
    a:focus-visible,
.page-content .participation-context a:focus-visible,
.page-content .collaboration-form-section button:focus-visible {
    outline: 3px solid var(--blue-hover);
    outline-offset: 2px;
}
.page-content .participation-context .button {
    align-self: flex-start;
}
.page-content .collaboration-form-section [data-turnstile-slot][hidden] {
    display: none;
}

@media (max-width: 54rem) {
    .page-content .contact-detail-grid,
    .page-content .participation-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 38rem) {
    .page-content .contact-access-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .page-content .participation-context .interior-section {
        padding-bottom: 1.25rem;
    }
    .page-content .participation-context .interior-section:last-child {
        padding-bottom: 0;
    }
}

/* Shared interior heading and route-aware navigation states. */
.footer-navigation a[aria-current="page"] {
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 0.14em;
    text-underline-offset: 0.25em;
}
.interior-header {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    margin: 0 0 3rem;
    padding-block: clamp(2.5rem, 7vw, 5rem);
    padding-block-start: calc(
        clamp(2.5rem, 7vw, 5rem) + var(--urci-header-height, 6rem)
    );
    color: var(--white);
    background: #25323a;
}
.interior-header::before,
.interior-header::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}
.interior-header::before {
    z-index: -2;
    clip-path: inset(0);
    background: url("/urci/images/header.webp") center / cover no-repeat;
    filter: blur(2px);
}
.interior-header::after {
    z-index: -1;
    background: rgb(15 27 35 / 82%);
}
.interior-header-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.interior-header-eyebrow {
    margin: 0 0 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 650;
}
.interior-header nav {
    margin-bottom: 0.75rem;
}
.interior-header nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}
.interior-header nav li {
    min-width: 0;
    overflow-wrap: anywhere;
}
.interior-header nav li + li::before {
    margin-right: 0.6rem;
    color: var(--white);
    content: "/";
}
.interior-header nav a,
.interior-header nav span {
    color: var(--white);
}
.interior-header nav span[aria-current="page"] {
    font-weight: 650;
}
.interior-header h1 {
    max-width: 22ch;
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.12;
}
.interior-header-subtitle {
    max-width: 68ch;
    margin: 1rem 0 0;
    color: var(--white);
}

@font-face {
    font-family: "URCI Font Awesome Solid";
    src: url("/lccloud/assets/fonts/fa-solid-900.woff2") format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: block;
}
.footer-icon {
    display: inline-block;
    width: 1.25em;
    margin-right: 0.4em;
    color: var(--blue);
    font-family: "URCI Font Awesome Solid", sans-serif;
    font-style: normal;
    font-weight: 900;
    text-align: center;
}
.footer-icon-location::before {
    content: "\f3c5";
}
.footer-icon-phone::before {
    content: "\f095";
}
.footer-icon-email::before {
    content: "\f0e0";
}
.footer-icon-contact::before {
    content: "\f007";
}

.housing-gallery {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
}
.housing-gallery-placeholder {
    aspect-ratio: 4 / 3;
}
.housing-gallery-placeholder img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.housing-video-player {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.75rem;
    background: var(--surface);
}
.housing-video-player[hidden] {
    display: none !important;
}
/* Centred without transform, so the shared ".button:active" press offset cannot move it away from the pointer. */
.housing-video-player button {
    position: absolute;
    inset: 0;
    width: fit-content;
    max-width: calc(100% - 2rem);
    height: fit-content;
    margin: auto;
}
.housing-video-player iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.housing-video-player:focus-within {
    outline: 3px solid var(--blue-hover);
    outline-offset: 2px;
}

/* Scroll-linked section entrances: each section's content rises into place as it enters the viewport,
   and scrolling back reverses it. The section background stays put so no gap opens between sections.
   Content is visible by default: only browsers with view timelines, and only visitors who accept
   motion, get the entrance. `translate` is used instead of `transform` so image hovers keep working. */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        :is(
            .home-content > section:not(.hero-section) > *,
            .page-content > :not(.interior-sections, :has(form)),
            .page-content > .interior-sections > :not(:has(form))
        ) {
            animation: urci-section-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry var(--scroll-appear);
        }
    }
}
/* On tablet and mobile a section often sits low in the first screen, so half a viewport of scroll
   would leave it faded at rest; finish the entrance over a shorter distance. */
@media (max-width: 64rem) {
    :root {
        --scroll-appear: 15vh;
    }
}
@keyframes urci-section-rise {
    from {
        opacity: 0;
        translate: 0 2.5rem;
    }
}

.housing-gallery > .housing-gallery-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 0;
}

.hero-placeholder,
.hero-image,
.identity-placeholder,
.service-placeholder,
.service-image,
.life-placeholder,
.life-image,
.news-image,
.alternating-media,
.article-featured-media,
.housing-gallery-image {
    aspect-ratio: 16 / 9;
}

.hero-image,
.service-image,
.life-image,
.news-image,
.alternating-media img,
.article-featured-image {
    object-fit: cover;
}

.page-content .alternating-media.news-image {
    height: auto;
}

.urci-loader[hidden] {
    display: none !important;
}
.urci-loader {
    position: fixed;
    z-index: 20;
    inset: 0;
    width: 100vw;
    display: grid;
    place-items: center;
    background: var(--paper);
    pointer-events: none;
    transition: opacity 200ms ease;
}
.urci-loader.is-leaving {
    opacity: 0;
}
.urci-loader-card {
    position: relative;
    display: grid;
    width: 8rem;
    min-height: 8rem;
    place-items: center;
    align-content: center;
    grid-template-rows: 100px auto;
    gap: 0.7rem;
}
.urci-loader-orbit {
    grid-area: 1 / 1;
    width: 100px;
    height: 100px;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-top-color: var(--blue);
    border-right-color: var(--accent);
    border-radius: 50%;
    animation: urci-loader-rotation 1.8s linear infinite;
}
.urci-loader-logo {
    grid-area: 1 / 1;
    width: 68px;
    height: 68px;
    object-fit: contain;
}
.urci-loader-copy {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1;
}
@keyframes urci-loader-rotation {
    to {
        transform: rotate(360deg);
    }
}
.housing-video-status {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin: 0;
    padding: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    background: var(--surface);
}
.housing-video-status[hidden] {
    display: none !important;
}
[data-housing-video] button[hidden] {
    display: none !important;
}
.housing-video-indicator {
    display: grid;
    width: 100px;
    height: 100px;
    flex: 0 0 auto;
    place-items: center;
}
.housing-video-indicator[hidden] {
    display: none !important;
}
.housing-video-logo {
    grid-area: 1 / 1;
    width: 68px;
    height: 68px;
    object-fit: contain;
}
.housing-video-orbit {
    grid-area: 1 / 1;
    width: 100px;
    height: 100px;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-top-color: var(--blue);
    border-right-color: var(--accent);
    border-radius: 50%;
    animation: urci-loader-rotation 1.8s linear infinite;
}
.housing-video-orbit[hidden] {
    display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    .urci-loader-orbit,
    .housing-video-orbit {
        animation: none;
    }
}

.page-content
    .interior-sections.page-conocenos.alternating-blocks
    > .alternating-block:nth-child(1),
.page-content
    .interior-sections.page-conocenos.alternating-blocks
    > .alternating-block:nth-child(3) {
    background-color: var(--white);
}
.page-content
    .interior-sections.page-conocenos.alternating-blocks
    > .alternating-block:nth-child(2) {
    background-color: var(--blue-tint);
}
.page-content
    .interior-sections.page-conocenos.alternating-blocks
    > .alternating-block:nth-child(4) {
    background-color: var(--paper);
}
.page-content
    .interior-sections.page-conocenos.alternating-blocks
    > .alternating-block:nth-child(5) {
    background-color: var(--paper);
}
@media (min-width: 48rem) {
    .page-content
        .page-conocenos
        > .alternating-block:nth-child(5)
        > .alternating-copy {
        grid-column: 2;
    }
    .page-content
        .page-conocenos
        > .alternating-block:nth-child(5)
        > .alternating-media {
        grid-column: 1;
    }
}

.page-content .interior-sections.page-conocenos.alternating-blocks,
.page-content .interior-sections.page-talleres.alternating-blocks {
    width: 100%;
    max-width: none;
    gap: 4.5rem;
}
.page-content
    .interior-sections.page-conocenos.alternating-blocks
    > .alternating-block,
.page-content
    .interior-sections.page-talleres.alternating-blocks
    > .alternating-block {
    gap: 3rem;
    padding: 3.5rem 3rem;
}

@media (max-width: 52rem) {
    .page-content .interior-sections.page-conocenos.alternating-blocks,
    .page-content .interior-sections.page-talleres.alternating-blocks {
        gap: 3.5rem;
    }
    .page-content
        .interior-sections.page-conocenos.alternating-blocks
        > .alternating-block,
    .page-content
        .interior-sections.page-talleres.alternating-blocks
        > .alternating-block {
        gap: 2rem;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 47.999rem) {
    .page-content .interior-sections.page-conocenos.alternating-blocks,
    .page-content .interior-sections.page-talleres.alternating-blocks {
        gap: 3rem;
    }
    .page-content
        .interior-sections.page-conocenos.alternating-blocks
        > .alternating-block,
    .page-content
        .interior-sections.page-talleres.alternating-blocks
        > .alternating-block {
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

.page-content
    .interior-sections.page-talleres.alternating-blocks
    > .alternating-block:nth-child(1) {
    background-color: var(--white);
}
.page-content
    .interior-sections.page-talleres.alternating-blocks
    > .alternating-block:nth-child(2) {
    background-color: var(--blue-tint);
}
.page-content
    .interior-sections.page-talleres.alternating-blocks
    > .alternating-block:nth-child(3) {
    background-color: var(--paper);
}
.page-content
    .interior-sections.page-talleres.alternating-blocks
    > .alternating-block:nth-child(4) {
    background-color: var(--green-tint);
}

/* Conoce URCI: threshold. A light section that keeps the homepage rhythm after the dark hero; a CSS
   perforation behind the copy continues the gate's square holes and lets the hero's four brand colours
   through, and the photo bleeds to the right edge and opens from its centre seam like the gate leaves. */
.home-content > .identity-section {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    column-gap: clamp(2.5rem, 5vw, 5rem);
    padding-block: 3.5rem;
    /* No end padding: the photo runs to the viewport edge. */
    padding-inline: max(3rem, calc((100% - var(--content)) / 2)) 0;
    overflow: hidden;
    background: var(--white);
    color: var(--ink);
}
/* Perforated grid shared by the homepage sections from Conoce URCI to Actualidad: the gate's square holes
   (22px pitch, 8px holes) let the hero's brand gradient through. --perforation-fade picks the side it
   fades out on, so consecutive sections alternate. The sections are white underneath; 20% keeps every
   text colour at 4.5:1 or more even over the strongest hole (blue link: 5.1:1). */
.home-content
    > :is(.identity-section, .services-section, .life-section, .news-section) {
    position: relative;
    isolation: isolate;
    background-color: var(--white);
    /* Fades out towards the right: the grid shows on the left. */
    --perforation-fade: linear-gradient(
        to right,
        #000 0%,
        rgb(0 0 0 / 55%) 30%,
        transparent 55%
    );
}
.home-content
    > :is(
        .identity-section,
        .services-section,
        .life-section,
        .news-section
    )::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        160deg,
        rgb(253 187 3 / 20%),
        rgb(69 145 81 / 20%),
        rgb(240 63 62 / 20%),
        rgb(0 177 227 / 20%)
    );
    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Crect x='7' y='7' width='8' height='8'/%3E%3C/svg%3E"),
        var(--perforation-fade);
    -webkit-mask-size:
        22px 22px,
        100% 100%;
    -webkit-mask-composite: source-in;
    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Crect x='7' y='7' width='8' height='8'/%3E%3C/svg%3E"),
        var(--perforation-fade);
    mask-size:
        22px 22px,
        100% 100%;
    mask-composite: intersect;
    pointer-events: none;
}
/* Fades out towards the left: the grid shows on the right. */
.home-content > :is(.services-section, .news-section) {
    --perforation-fade: linear-gradient(
        to left,
        #000 0%,
        rgb(0 0 0 / 55%) 30%,
        transparent 55%
    );
}
/* Colabora con URCI has no grid. --surface is a faint step between the white sections above and the
   --container footer below, and lets the white collaboration cards show their edges. */
.home-content > .collaboration-section {
    background-color: var(--surface);
}
.home-content .identity-copy > .section-heading {
    margin-bottom: 1rem;
}
.home-content .identity-media {
    margin-top: 0;
    /* Keeps the hover zoom inside the frame instead of spilling past the viewport edge. */
    overflow: hidden;
    border-radius: 0.75rem 0 0 0.75rem;
}
.identity-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    /* Keeps the URCI sign and the open gate in frame. */
    object-position: 35% 20%;
}
@media (max-width: 64rem) {
    .home-content > .identity-section {
        padding-inline: max(2rem, calc((100% - var(--content)) / 2)) 0;
    }
}
/* One column: copy keeps its gutter, the photo runs edge to edge below it. */
@media (max-width: 52rem) {
    .home-content > .identity-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        padding-block: 2.5rem;
        padding-inline: 0;
    }
    .home-content .identity-copy {
        padding-inline: max(1.5rem, calc((100% - var(--content)) / 2));
    }
    .home-content .identity-media {
        border-radius: 0;
    }
}

.home-content > .life-section {
    width: 100%;
    max-width: none;
    margin-block: 0;
    padding-block: 3.5rem;
    padding-inline: max(3rem, calc((100% - var(--content)) / 2));
}
@media (max-width: 64rem) {
    .home-content > .life-section {
        padding-inline: max(2rem, calc((100% - var(--content)) / 2));
    }
}
@media (max-width: 52rem) {
    .home-content > .life-section {
        padding-block: 2.5rem;
        padding-inline: max(1.5rem, calc((100% - var(--content)) / 2));
    }
}

@media (max-width: 47.999rem) {
    .home-content > .identity-section,
    .home-content > .life-section {
        padding-block: 1.5rem;
    }
}

/* Zoom de imágenes al pasar el ratón */
.team-organigram {
    width: min(100%, 28rem);
    margin-inline: 0 auto;
    border-radius: 0.75rem;
    background: var(--paper);
}

.team-organigram img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

.page-content .conocenos-governance-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}
.page-content .conocenos-governance-layout > .interior-section {
    min-width: 0;
    padding: 2.5rem 1.5rem;
}
.page-content .conocenos-transparency {
    grid-column: 1 / -1;
    text-align: center;
}
.page-content .interior-section.conocenos-transparency p {
    margin-inline: auto;
}

@media (max-width: 52rem) {
    .page-content .conocenos-governance-layout {
        grid-template-columns: 1fr;
    }
    .page-content .conocenos-transparency {
        grid-column: 1;
    }
}

.urci-image-zoom {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.urci-image-zoom img {
    display: block;
    width: 100%;
}

/* Content photos zoom slightly under the pointer, one image at a time. The hero stays still. */
:is(
    .urci-image-zoom img,
    .identity-image,
    .service-image,
    .life-image,
    .news-image,
    .alternating-media img,
    img.alternating-media,
    .article-featured-image,
    .housing-gallery-image
) {
    position: relative;
    /* Exit is faster than entry. */
    transition: scale var(--motion-fast) var(--ease-out);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    :is(
        .urci-image-zoom img,
        .identity-image,
        .service-image,
        .life-image,
        .news-image,
        .alternating-media img,
        img.alternating-media,
        .article-featured-image,
        .housing-gallery-image
    ):hover {
        z-index: 10;
        scale: 1.04;
        transition-duration: 300ms;
    }
}

.page-content:has(> .interior-sections.page-ofrecemos) {
    padding-bottom: 6rem;
}
.page-content:has(> .interior-sections.page-ofrecemos)
    > :first-child:not(.hero) {
    margin-top: 3.5rem;
}
.page-content:has(> .housing-gallery-section) > section {
    padding-inline: 3rem;
}
.page-content:has(> .housing-gallery-section) > section + section {
    margin-top: 4.5rem;
}
.page-content
    .interior-sections.page-talleres.alternating-blocks
    + .interior-section,
.page-content
    .interior-sections.page-talleres.alternating-blocks
    + .interior-section
    + .interior-section {
    margin-top: 4.5rem;
    padding: 0 3rem;
}

@media (max-width: 52rem) {
    .page-content > :first-child:not(.hero) {
        margin-top: 2.5rem;
    }
    .page-content:has(> .interior-sections.page-ofrecemos)
        > :first-child:not(.hero) {
        margin-top: 3.5rem;
    }
    .page-content:has(> .interior-sections.page-ofrecemos) {
        padding-bottom: 4rem;
    }
    .page-content .interior-section,
    .page-content .interior-contact,
    .page-content .collaboration-form-section {
        padding: 2.5rem 2rem;
    }
    .page-content .participation-context .interior-section:not(:last-child) {
        padding-bottom: 2.5rem;
    }
    .page-content:has(> .housing-gallery-section) > section {
        padding-inline: 2rem;
    }
    .page-content:has(> .housing-gallery-section) > section + section {
        margin-top: 3.5rem;
    }
    .page-content
        .interior-sections.page-talleres.alternating-blocks
        + .interior-section,
    .page-content
        .interior-sections.page-talleres.alternating-blocks
        + .interior-section
        + .interior-section {
        margin-top: 3.5rem;
        padding: 0 2rem;
    }
    .page-content .interior-search,
    .page-content .article-copy,
    .page-content .article-document,
    .page-content .notas-legales {
        margin-block: 2.5rem;
    }
    .page-content .listing.alternating-blocks {
        gap: 3.5rem;
    }
    .pagination {
        margin-top: 2.5rem;
    }
}
@media (max-width: 47.999rem) {
    .home-content > .services-section,
    .home-content > .news-section,
    .home-content > .collaboration-section {
        padding-block: 1.5rem;
    }
    .page-content > :first-child:not(.hero) {
        margin-top: 1.5rem;
    }
    .page-content:has(> .interior-sections.page-ofrecemos)
        > :first-child:not(.hero) {
        margin-top: 3.5rem;
    }
    .page-content {
        padding-bottom: 1.5rem;
    }
    .page-content:has(> .interior-sections.page-ofrecemos) {
        padding-bottom: 4rem;
    }
    .page-content .interior-section,
    .page-content .interior-contact,
    .page-content .collaboration-form-section {
        padding: 1.5rem;
    }
    .page-content .participation-context .interior-section:not(:last-child) {
        padding: 0 0 1.5rem;
    }
    .page-content:has(> .housing-gallery-section) > section {
        padding-inline: 1.5rem;
    }
    .page-content:has(> .housing-gallery-section) > section + section {
        margin-top: 3rem;
    }
    .page-content
        .interior-sections.page-talleres.alternating-blocks
        + .interior-section,
    .page-content
        .interior-sections.page-talleres.alternating-blocks
        + .interior-section
        + .interior-section {
        margin-top: 3rem;
        padding: 0 1.5rem;
    }
    .page-content .interior-search,
    .page-content .article-copy,
    .page-content .article-document,
    .page-content .notas-legales {
        margin-block: 1.5rem;
    }
    .page-content .listing.alternating-blocks {
        gap: 3rem;
    }
    .pagination {
        margin-top: 1.5rem;
    }
}

/* Palette-aware selectors outrank TermsFeed 4.2.0's injected simple-banner rules. */
.termsfeed-com---palette-light.termsfeed-com---nb.termsfeed-com---nb-simple {
    box-sizing: border-box;
    width: min(36rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    /* TermsFeed fixes the banner at 200px on small or landscape screens, hiding the buttons below a scroll. */
    height: auto;
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 12px 36px rgb(25 28 32 / 18%);
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1.6;
}
.termsfeed-com---nb.termsfeed-com---nb-simple .cc-nb-main-container {
    padding: 1.25rem;
}
.termsfeed-com---nb.termsfeed-com---nb-simple .cc-nb-title {
    margin: 0 0 0.5rem;
    color: var(--ink);
    font: inherit;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.termsfeed-com---nb.termsfeed-com---nb-simple .cc-nb-text {
    margin: 0 0 1rem;
    color: var(--muted);
    font: inherit;
    overflow-wrap: anywhere;
}
.termsfeed-com---nb.termsfeed-com---nb-simple .cc-nb-okagree,
.termsfeed-com---nb.termsfeed-com---nb-simple .cc-nb-reject {
    display: inline-flex;
    width: calc(50% - 0.5rem);
    min-width: 0;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border: 1px solid var(--blue);
    border-radius: 0.35rem;
    color: var(--white);
    background: var(--blue);
    font: inherit;
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.termsfeed-com---nb.termsfeed-com---nb-simple .cc-nb-okagree:hover,
.termsfeed-com---nb.termsfeed-com---nb-simple .cc-nb-reject:hover {
    border-color: var(--blue-hover);
    color: var(--white);
    background: var(--blue-hover);
}
.termsfeed-com---palette-light.termsfeed-com---nb.termsfeed-com---nb-simple
    .cc-nb-changep,
.termsfeed-com---palette-light.termsfeed-com---nb.termsfeed-com---nb-simple a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    overflow-wrap: anywhere;
}
.termsfeed-com---nb.termsfeed-com---nb-simple :is(a, button):focus-visible {
    outline: 3px solid var(--blue-hover);
    outline-offset: 2px;
}
/* Compact mobile banner: the page stays visible behind it, and Reject keeps the same size as Accept.
   Short screens (phones in landscape) get the same treatment. */
@media (max-width: 30rem), (max-height: 30rem) {
    .termsfeed-com---palette-light.termsfeed-com---nb.termsfeed-com---nb-simple {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        line-height: 1.45;
    }
    .termsfeed-com---palette-light.termsfeed-com---nb.termsfeed-com---nb-simple
        .cc-nb-main-container {
        padding: 0.875rem 1rem 0.5rem;
    }
    .termsfeed-com---palette-light.termsfeed-com---nb.termsfeed-com---nb-simple
        .cc-nb-title {
        margin-bottom: 0.25rem;
        font-size: 1.05rem;
    }
    .termsfeed-com---palette-light.termsfeed-com---nb.termsfeed-com---nb-simple
        .cc-nb-text {
        margin-bottom: 0.5rem;
        font-size: 0.875rem;
    }
    .termsfeed-com---palette-light.termsfeed-com---nb.termsfeed-com---nb-simple
        .cc-nb-buttons-container {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    /* Flex shares the row, so TermsFeed's own button margins cannot push Reject onto a second line. */
    .termsfeed-com---palette-light.termsfeed-com---nb.termsfeed-com---nb-simple
        :is(.cc-nb-okagree, .cc-nb-reject) {
        flex: 1 1 0;
        width: auto;
        min-height: 2.75rem;
        margin: 0;
        padding: 0.5rem;
    }
    .termsfeed-com---palette-light.termsfeed-com---nb.termsfeed-com---nb-simple
        .cc-nb-changep {
        flex: 1 0 100%;
        width: 100%;
        min-height: 2.75rem;
        margin: 0;
        padding: 0.5rem;
        border: 0;
        background: transparent;
        font: inherit;
        font-size: 0.875rem;
        font-weight: 600;
    }
}
