@import "theme-x2ICc_C.css";

* {
    box-sizing: border-box;
}

:root {
    --site-header-height: 4.5rem;
}

html {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

html,
body {
    margin: 0;
    padding: 0;
    color: var(--color-text-default);
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    background: var(--color-bg-default);
}

body {
    min-height: 100vh;
}

body.has-cookie-modal-open {
    overflow: hidden;
}

body.has-mobile-menu-open {
    overflow: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-link);
    text-decoration: underline;
    text-underline-offset: 0.25rem;
    text-decoration-thickness: 1px;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
    color: var(--color-link-hover);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin: 0 0 var(--spacing-3) 0;
    color: var(--color-text-default);
    font-family: var(--font-heading);
    font-weight: 650;
    letter-spacing: 0;
}

h1,
.h1 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-heading-tight);
}

h2,
.h2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading-tight);
}

h3,
.h3 {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-heading-tight);
}

h4,
.h4 {
    font-size: var(--font-size-h4);
    line-height: var(--line-height-heading);
}

h5,
.h5 {
    font-size: var(--font-size-h5);
    line-height: var(--line-height-heading);
}

h6,
.h6 {
    font-size: var(--font-size-h6);
    line-height: var(--line-height-heading);
}

p {
    margin: 0 0 var(--spacing-2) 0;
}

ul,
ol {
    margin: 0 0 var(--spacing-3) 0;
    padding-left: 1.2rem;
}

small {
    color: var(--color-text-muted);
}

:focus-visible {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 2px;
    box-shadow: var(--focus-ring);
    border-radius: 0.25rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: absolute;
    top: -200px;
    left: var(--spacing-2);
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--color-text-inverse);
    background: var(--color-brand-accent-2);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: var(--spacing-2);
}

.container {
    width: min(var(--layout-max-width), calc(100% - 3rem));
    margin-inline: auto;
}

.container.container--content {
    width: min(var(--layout-max-width-content), calc(100% - 3rem));
}

/* Top bar */
.site-topbar {
    color: var(--color-text-default);
    background: var(--color-bg-canvas);
    border-bottom: 1px solid var(--color-border-default);
    box-shadow: none;
}

.site-topbar__inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    min-height: 1.65rem;
    padding: 0;
}

.site-topbar__link {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    font-size: 0.78rem;
    line-height: 1.15;
    font-weight: 400;
    color: var(--color-text-muted);
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.site-topbar__link:hover {
    color: var(--color-text-heading);
    text-decoration: none;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
    border-bottom: 1px solid rgba(var(--rdg-bg-rgb), 0.22);
    background: rgba(var(--rdg-bg-rgb), 0.82);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(var(--rdg-ink-rgb), 0.06);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    will-change: transform;
}

body.rdg-home .site-header.is-at-top {
    border-bottom-color: transparent;
    background: transparent;
    backdrop-filter: none;
    box-shadow: inset 0 -1px 0 rgba(var(--rdg-bg-rgb), 0.14);
}

body.rdg-home .site-header.is-at-top::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            var(--rdg-blue) 0%,
            var(--rdg-sky) 24%,
            var(--rdg-green) 52%,
            var(--rdg-yellow) 76%,
            var(--rdg-orange-road) 100%
        );
    opacity: 0.95;
    pointer-events: none;
}

.site-header__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--spacing-1);
    min-height: 4rem;
    padding: 0 var(--spacing-2);
    transition: min-height var(--transition-fast), padding var(--transition-fast);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    color: var(--color-text-default);
    text-decoration: none;
    transition: min-height var(--transition-fast), padding-left var(--transition-fast), gap var(--transition-fast);
}

.brand:hover {
    color: var(--color-text-default);
}

body.rdg-home .site-header.is-at-top .brand,
body.rdg-home .site-header.is-at-top .brand:hover {
    color: var(--color-text-inverse);
}

.brand__logo {
    width: 7.25rem;
    height: auto;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.12);
    transition: width var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
}

body.rdg-home .site-header.is-at-top .brand__logo {
    border-color: rgba(var(--rdg-bg-rgb), 0.42);
}

.brand__text {
    display: grid;
    gap: 0.15rem;
}

.brand__title {
    margin: 0;
    color: inherit;
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.1;
    transition: font-size var(--transition-fast), line-height var(--transition-fast);
}

.brand__subtitle {
    margin: 0;
    color: var(--color-text-subtle);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.1;
    transition: opacity var(--transition-fast), max-height var(--transition-fast), margin var(--transition-fast);
}

body.rdg-home .site-header.is-at-top .brand__subtitle {
    color: rgba(var(--rdg-bg-rgb), 0.82);
}

.main-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    background: var(--color-bg-default);
    color: var(--color-text-default);
    cursor: pointer;
}

body.rdg-home .site-header.is-at-top .main-nav-toggle {
    border-color: rgba(var(--rdg-bg-rgb), 0.28);
    background: rgba(var(--rdg-bg-rgb), 0.06);
    color: var(--color-text-inverse);
}

.main-nav-toggle__icon {
    position: relative;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.main-nav-toggle__icon::before {
    content: '';
    position: absolute;
    left: 0;
    top: -0.4rem;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition-fast), top var(--transition-fast);
}

.main-nav-toggle__icon::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition-fast), top var(--transition-fast);
}

.site-header.is-mobile-menu-open .main-nav-toggle__icon {
    background-color: transparent;
}

.site-header.is-mobile-menu-open .main-nav-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.is-mobile-menu-open .main-nav-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--color-border-default);
    max-height: 20rem;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    transform-origin: top center;
    transition:
        max-height var(--transition-fast),
        width var(--transition-fast),
        min-width var(--transition-fast),
        flex-basis var(--transition-fast),
        opacity var(--transition-fast),
        transform var(--transition-fast),
        border-color var(--transition-fast);
}

body.rdg-home .site-header.is-at-top .main-nav {
    border-top-color: rgba(var(--rdg-bg-rgb), 0.18);
}

.main-nav.is-collapsed {
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-0.35rem);
    border-color: transparent;
}

.main-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.3rem 0.4rem;
    border-left: 0;
    color: var(--color-text-default);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

body.rdg-home .site-header.is-at-top .main-nav__link,
body.rdg-home .site-header.is-at-top .main-nav__icon-link,
body.rdg-home .site-header.is-at-top .main-nav__account-toggle {
    color: var(--color-text-inverse);
}

.main-nav__separator {
    align-self: center;
    width: 1px;
    height: 1.35rem;
    margin-inline: 0.3rem 0.1rem;
    background: var(--color-border-default);
}

body.rdg-home .site-header.is-at-top .main-nav__separator {
    background: rgba(var(--rdg-bg-rgb), 0.28);
}

.main-nav__icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    width: 2.25rem;
    color: var(--color-text-default);
    font-size: 0.95rem;
    text-decoration: none;
}

.main-nav__icon-link--compact {
    width: 2.25rem;
}

.main-nav__icon-link svg {
    width: 1.35rem;
    height: 1.35rem;
}

.main-nav__icon-image {
    display: block;
    width: 1em !important;
    height: 1em !important;
    flex: 0 0 1em !important;
    object-fit: contain;
    filter: brightness(0) drop-shadow(0 0 0.02rem #000);
}

body.rdg-home .site-header.is-at-top .main-nav__icon-image {
    filter: brightness(0) invert(1) drop-shadow(0 0 0.18rem rgba(var(--rdg-ink-rgb), 0.28));
}

.main-nav__login-icon {
    border-radius: 999px;
    background: rgba(var(--rdg-green-rgb), 0.12);
}

.main-nav__icon-label {
    display: none;
}

.main-nav__logout-form {
    margin: 0;
    display: block;
}

.main-nav__logout-button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.main-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 0;
    background: transparent;
    transition: width var(--transition-fast), background-color var(--transition-fast);
}

.main-nav__icon-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 0;
    background: transparent;
    transition: width var(--transition-fast), background-color var(--transition-fast);
}

.main-nav__link:hover {
    color: var(--color-text-default);
    background: rgba(var(--rdg-sky-rgb), 0.08);
}

.main-nav__icon-link:hover {
    color: var(--color-text-default);
    background: rgba(var(--rdg-sky-rgb), 0.08);
}

body.rdg-home .site-header.is-at-top .main-nav__link:hover,
body.rdg-home .site-header.is-at-top .main-nav__icon-link:hover,
body.rdg-home .site-header.is-at-top .main-nav__account-toggle:hover {
    color: var(--color-text-inverse);
    background: rgba(var(--rdg-bg-rgb), 0.12);
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
    width: 0.25rem;
    background: var(--color-brand-primary);
}

.main-nav__icon-link:hover::after,
.main-nav__icon-link.is-active::after {
    width: 0.25rem;
    background: var(--color-brand-primary);
}

.main-nav__link[aria-current='page'] {
    font-weight: 700;
    color: var(--color-text-default);
}

body.rdg-home .site-header.is-at-top .main-nav__link[aria-current='page'] {
    color: var(--color-text-inverse);
}

.main-nav__account {
    position: relative;
    display: inline-flex;
}

.main-nav__account-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 2.2rem;
    padding: 0.3rem 0.4rem;
    border: 0;
    background: transparent;
    color: var(--color-text-default);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.main-nav__account-toggle:hover {
    background: rgba(var(--rdg-orange-road-rgb), 0.12);
}

.main-nav__account-trigger-name {
    display: inline-block;
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-nav__account-trigger-caret {
    font-size: 0.78rem;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.main-nav__account:hover .main-nav__account-trigger-caret,
.main-nav__account:focus-within .main-nav__account-trigger-caret,
.main-nav__account.is-open .main-nav__account-trigger-caret {
    transform: rotate(180deg);
}

.main-nav__account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    min-width: 20rem;
    max-width: min(24rem, calc(100vw - 2rem));
    margin-top: 0;
    padding: 0.82rem 0.65rem 0.65rem;
    border: 1px solid rgba(var(--rdg-orange-road-rgb), 0.4);
    border-radius: 0.9rem;
    background: var(--color-bg-default);
    box-shadow: 0 20px 42px rgba(var(--rdg-ink-rgb), 0.18);
    z-index: 1200;
}

.main-nav__account:hover .main-nav__account-menu,
.main-nav__account:focus-within .main-nav__account-menu,
.main-nav__account.is-open .main-nav__account-menu {
    display: block;
}

.main-nav__account-link {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-sm);
    color: var(--color-text-default);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.main-nav__account-link:hover {
    background: rgba(var(--rdg-orange-road-rgb), 0.12);
}

.main-nav__account-link--button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font-family: var(--font-body);
    cursor: pointer;
}

.main-nav__account-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.78rem;
    margin: 0.16rem 0.2rem 0.5rem;
    padding: 0.78rem 0.8rem;
    border: 1px solid rgba(var(--rdg-orange-road-rgb), 0.38);
    border-radius: 0.78rem;
    background: rgba(var(--rdg-orange-road-rgb), 0.12);
    box-shadow: inset 0 1px 0 rgba(var(--rdg-bg-rgb), 0.7);
}

.main-nav__account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    color: var(--rdg-ink);
    background: var(--rdg-orange-road);
    border: 1px solid rgba(var(--rdg-bg-rgb), 0.72);
    box-shadow: 0 6px 16px rgba(var(--rdg-ink-rgb), 0.18);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.main-nav__account-identity {
    min-width: 0;
}

.main-nav__account-kicker {
    margin: 0 0 0.12rem;
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.main-nav__account-name {
    margin: 0;
    color: var(--color-text-default);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

.main-nav__account-type {
    display: inline-flex;
    margin: 0.45rem 0 0;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
    color: var(--rdg-ink);
    background: rgba(var(--rdg-orange-road-rgb), 0.16);
    border: 1px solid rgba(var(--rdg-orange-road-rgb), 0.45);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.main-nav__account-divider {
    height: 1px;
    margin: 0.12rem 0.2rem 0.4rem;
    background: linear-gradient(90deg, rgba(var(--rdg-orange-road-rgb), 0.65), rgba(var(--rdg-ink-rgb), 0.16) 42%, rgba(var(--rdg-ink-rgb), 0.06));
}

.main-nav__account-actions {
    display: grid;
    gap: 0.45rem;
    margin: 0.2rem 0.08rem 0;
}

.main-nav__account-group {
    display: grid;
    gap: 0.18rem;
}

.main-nav__account-group + .main-nav__account-group {
    padding-top: 0.45rem;
    border-top: 1px solid rgba(var(--rdg-ink-rgb), 0.08);
}

.main-nav__account-god-switch {
    display: grid;
    gap: 0.32rem;
    margin: 0.2rem 0;
    padding: 0.42rem 0.58rem 0.5rem;
    border: 1px solid rgba(var(--rdg-orange-road-rgb), 0.28);
    border-radius: 0.55rem;
    background: rgba(var(--rdg-orange-road-rgb), 0.06);
}

.main-nav__god-mode-form {
    display: grid;
    gap: 0.4rem;
}

.main-nav__god-mode-select {
    min-height: 2rem;
    padding: 0.24rem 0.42rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.22);
    border-radius: 0.4rem;
    background: var(--color-bg-default);
    color: var(--color-text-default);
    font-size: 0.82rem;
    line-height: 1.2;
}

.main-nav__god-mode-submit.btn {
    min-height: 1.95rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
}

.main-nav__account-group-title {
    margin: 0 0 0.12rem;
    padding: 0 0.65rem;
    color: var(--color-text-subtle);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.main-nav__account-link {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 0.48rem;
}

.main-nav__account-link::before {
    content: '';
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(var(--rdg-orange-road-rgb), 0.65);
}

.main-nav__account-link.is-current {
    color: var(--rdg-ink);
    background: rgba(var(--rdg-orange-road-rgb), 0.2);
}

.main-nav__account-link.is-current::before {
    background: var(--rdg-orange-road);
}

/* Hard-lock visual style for user dropdown profile card */
.site-header .main-nav .main-nav__account-menu .main-nav__account-summary {
    display: grid !important;
    grid-template-columns: 2.4rem minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.78rem !important;
    margin: 0.16rem 0.2rem 0.5rem !important;
    padding: 0.78rem 0.8rem !important;
    border: 1px solid rgba(var(--rdg-orange-road-rgb), 0.38) !important;
    border-radius: 0.78rem !important;
    background: rgba(var(--rdg-orange-road-rgb), 0.12) !important;
    box-shadow: inset 0 1px 0 rgba(var(--rdg-bg-rgb), 0.72) !important;
}

.site-header .main-nav .main-nav__account-menu .main-nav__account-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.3rem !important;
    height: 2.3rem !important;
    margin: 0 !important;
    border: 1px solid rgba(var(--rdg-bg-rgb), 0.72) !important;
    border-radius: 999px !important;
    color: var(--rdg-ink) !important;
    background: var(--rdg-orange-road) !important;
    box-shadow: 0 6px 16px rgba(var(--rdg-ink-rgb), 0.18) !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

.site-header .main-nav .main-nav__account-menu .main-nav__account-identity {
    min-width: 0 !important;
}

.site-header .main-nav .main-nav__account-menu .main-nav__account-kicker {
    margin: 0 0 0.12rem !important;
    color: var(--color-text-muted) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
}

.site-header .main-nav .main-nav__account-menu .main-nav__account-name {
    margin: 0 !important;
    color: var(--color-text-default) !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
}

.site-header .main-nav .main-nav__account-menu .main-nav__account-type {
    display: inline-flex !important;
    width: fit-content !important;
    margin: 0.45rem 0 0 !important;
    padding: 0.2rem 0.55rem !important;
    border-radius: var(--radius-pill) !important;
    border: 1px solid rgba(var(--rdg-orange-road-rgb), 0.45) !important;
    color: var(--rdg-ink) !important;
    background: rgba(var(--rdg-orange-road-rgb), 0.16) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
}

.site-header .main-nav .main-nav__account-menu .main-nav__account-divider {
    display: block !important;
    height: 1px !important;
    margin: 0.12rem 0.2rem 0.4rem !important;
    background: linear-gradient(90deg, rgba(var(--rdg-orange-road-rgb), 0.65), rgba(var(--rdg-ink-rgb), 0.16) 42%, rgba(var(--rdg-ink-rgb), 0.06)) !important;
}

.site-header .main-nav .main-nav__account-menu .main-nav__account-actions {
    display: grid !important;
    gap: 0.18rem !important;
}

.site-header .main-nav .main-nav__account-menu .main-nav__account-god-switch {
    display: grid !important;
    gap: 0.32rem !important;
    margin: 0.2rem 0 !important;
}

/* Main */
.main {
    min-height: 60vh;
    padding-bottom: var(--spacing-6);
}

.page-shell {
    padding-block: var(--spacing-6);
}

.page-shell--catalog {
    background: var(--color-bg-default);
}

.page-shell--interactive {
    background: var(--color-bg-default);
}

.page-shell--agent {
    background: var(--color-bg-default);
    padding-block: clamp(1.2rem, 2.3vw, 1.9rem);
}

.page-shell--agent .container {
    display: grid;
    gap: 0.95rem;
}

.page-shell--agent .breadcrumb {
    margin-bottom: 0.1rem;
}

.page-header {
    margin-bottom: var(--spacing-4);
    padding-top: var(--spacing-3);
}

.page-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 var(--spacing-1);
    padding: 0.24rem 0.6rem;
    border: 1px solid var(--component-shell-border);
    border-radius: var(--radius-pill);
    color: var(--color-text-subtle);
    background: var(--component-shell-bg);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.48rem;
    flex-shrink: 0;
}

.section-icon svg {
    width: 1rem;
    height: 1rem;
}

.section-icon--orange {
    color: var(--color-text-inverse);
    background: var(--rdg-brand-primary);
}

.section-icon--blue {
    color: var(--color-text-inverse);
    background: var(--rdg-brand-secondary);
}

.section-icon--green {
    color: var(--color-text-inverse);
    background: var(--rdg-brand-accent-3);
}

.section-icon--yellow {
    color: var(--rdg-neutral-900);
    background: var(--rdg-brand-accent);
}

.heading-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.heading-inline--center {
    justify-content: center;
}

.page-header__title {
    margin-bottom: var(--spacing-1);
    -webkit-text-stroke: 0.08rem rgba(255, 255, 255, 0.96);
    paint-order: stroke fill;
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.96),
        1px -1px 0 rgba(255, 255, 255, 0.96),
        -1px 1px 0 rgba(255, 255, 255, 0.96),
        1px 1px 0 rgba(255, 255, 255, 0.96);
}

.page-header__lead {
    max-width: 72ch;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.55;
}

.page-header__lead--secondary {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--color-text-subtle);
}

.private-mini-hero {
    margin-bottom: var(--spacing-2);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.private-mini-hero__content {
    display: grid;
    gap: var(--spacing-2);
    width: 100%;
    max-width: 100%;
}

.private-mini-hero__kicker {
    margin: 0;
    color: var(--rdg-orange-road);
}

.private-mini-hero__title {
    margin: 0;
    color: var(--color-text-heading);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.08;
}

.private-mini-hero__lead {
    margin: 0;
    max-width: 74ch;
}

.private-mini-hero__meta {
    margin: 0;
    max-width: 74ch;
    color: rgba(var(--rdg-ink-rgb), 0.7);
    font-size: 0.95rem;
    line-height: 1.45;
}

.private-mini-hero__search-wrap {
    width: 100%;
    margin-top: 0.2rem;
}

.private-mini-hero__search {
    width: min(100%, 44rem);
}

.private-mini-hero__search.search-bar--hero-floating {
    margin-inline: auto;
}

.breadcrumb {
    margin-bottom: var(--spacing-2);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--color-text-subtle);
    font-size: 0.875rem;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.breadcrumb li + li::before {
    content: '/';
    display: inline-flex;
    margin: 0 0.4rem 0 0.1rem;
    color: var(--color-text-subtle);
}

.breadcrumb li:first-child > a {
    color: var(--rdg-orange-road);
    text-decoration-color: var(--rdg-orange-road);
}

.breadcrumb li:first-child > a:hover,
.breadcrumb li:first-child > a:focus-visible {
    color: var(--color-link-hover);
    text-decoration-color: var(--color-link-hover);
}

.breadcrumb [aria-current='page'] {
    color: var(--color-text-heading);
    font-weight: 700;
}

/* Home hero and sections */
.hero {
    --hero-padding-top: var(--spacing-8);
    --hero-padding-bottom: var(--spacing-8);

    display: flex;
    min-height: 0;
    padding-block: var(--hero-padding-top) var(--hero-padding-bottom);
    padding-inline: 0;
    text-align: center;
    background: transparent;
    border-bottom: 0;
}

.hero--compact {
    --hero-padding-top: var(--spacing-6);
    --hero-padding-bottom: var(--spacing-6);
}

.hero--standard {
    --hero-padding-top: var(--spacing-8);
    --hero-padding-bottom: var(--spacing-8);
}

.hero--large {
    --hero-padding-top: var(--spacing-10);
    --hero-padding-bottom: var(--spacing-10);
}

.home-hero-kpis-shell {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    min-height: 100vh;
    min-height: 100svh;
    background-color: transparent;
    background-image: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right 10%;
}

.home-banner--institutional {
    position: relative;
    min-height: 100%;
    background: transparent;
    isolation: isolate;
    --hero-padding-top: calc(var(--spacing-10) + var(--site-header-height));
    --home-hero-background-image: url('/images/home-hero-dji-0474.jpg');
    --home-hero-dark-overlay-opacity: 0;
    --home-hero-white-veil-opacity: 0;
    --home-hero-title-color: var(--color-text-heading);
    --home-hero-baseline-color: var(--color-text-default);
    --home-hero-title-size: clamp(2rem, 4.8vw, 3.55rem);
    --home-hero-baseline-size: 1.08rem;
    --home-hero-search-background: var(--color-bg-default);
    --home-hero-search-border: transparent;
    --home-hero-search-text: var(--color-text-default);
    --home-hero-search-placeholder: var(--color-text-muted);
    --home-hero-search-button-color: var(--color-text-muted);
    --home-hero-search-button-background: transparent;
    --home-hero-primary-cta-background: var(--rdg-orange-road);
    --home-hero-primary-cta-color: var(--color-text-inverse);
    --home-hero-themes-gap: clamp(1rem, 1.55vw, 1.35rem) clamp(1.6rem, 4vw, 3.8rem);
    --home-hero-theme-padding: 0.45rem 0.65rem;
    --home-hero-theme-radius: 0.88rem;
    --home-hero-theme-label-color: var(--color-bg-default);
    --home-hero-theme-icon-background: var(--color-bg-default);
    --home-hero-theme-icon-background-opacity: 0.16;
    --home-hero-theme-icon-padding: 0;
    --home-hero-theme-icon-margin: 0;
}

.home-banner--institutional::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(0deg, rgba(var(--rdg-bg-rgb), var(--home-hero-white-veil-opacity)) 0%, rgba(var(--rdg-bg-rgb), var(--home-hero-white-veil-opacity)) 100%),
        linear-gradient(0deg, rgba(var(--rdg-blue-rgb), var(--home-hero-dark-overlay-opacity)) 0%, rgba(var(--rdg-blue-rgb), var(--home-hero-dark-overlay-opacity)) 100%),
        var(--home-hero-background-image) center top / cover no-repeat;
}

.home-hero-search {
    position: static;
    z-index: 2;
    width: min(96rem, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    justify-items: center;
    row-gap: 0.6rem;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: start;
    justify-items: center;
    gap: var(--spacing-4);
    text-align: center;
    width: 100%;
    min-height: 100%;
}

.home-banner--institutional .hero__content {
    padding-top: 3.7rem;
}

.hero__intro {
    display: grid;
    justify-items: center;
    gap: var(--spacing-2);
    width: 100%;
}

.hero h1 {
    margin: 0;
    margin-inline: auto;
    color: var(--home-hero-title-color);
    width: 100%;
    max-width: 100%;
    text-align: center;
    font-size: var(--home-hero-title-size);
    line-height: 1.06;
    letter-spacing: 0;
}

.hero-title-line {
    display: block;
    width: 100%;
    white-space: nowrap;
}

.rdg-home .home-hero-title,
.rdg-home .home-hero-title .hero-title-line {
    color: var(--home-hero-title-color) !important;
    -webkit-text-stroke: 0.16rem rgba(255, 255, 255, 0.99);
    paint-order: stroke fill;
    text-shadow:
        -2px -2px 0 rgba(255, 255, 255, 0.99),
        0 -2px 0 rgba(255, 255, 255, 0.99),
        2px -2px 0 rgba(255, 255, 255, 0.99),
        -2px 0 0 rgba(255, 255, 255, 0.99),
        2px 0 0 rgba(255, 255, 255, 0.99),
        -2px 2px 0 rgba(255, 255, 255, 0.99),
        0 2px 0 rgba(255, 255, 255, 0.99),
        2px 2px 0 rgba(255, 255, 255, 0.99),
        0 0 14px rgba(255, 255, 255, 0.34);
}

.home-hero-title {
    width: 100%;
    max-width: 100%;
}

.hero_baseline {
    max-width: 74ch;
    margin: 0;
    margin-inline: auto;
    color: var(--home-hero-baseline-color);
    font-size: var(--home-hero-baseline-size);
    line-height: 1.5;
    text-shadow: none;
}

.hero-baseline-line {
    display: block;
}

.section-title {
    margin-bottom: var(--spacing-2);
    color: var(--color-text-heading);
    max-width: 26ch;
    margin-inline: auto;
    line-height: 1.14;
}

.section-title--center {
    text-align: center;
}

.section-intro {
    max-width: 74ch;
    margin: 0 auto var(--spacing-4);
    color: rgba(var(--rdg-ink-rgb), 0.7);
    font-size: 1rem;
    line-height: 1.55;
    text-align: center;
}

.search-bar {
    width: 100%;
    max-width: 74ch;
    justify-self: center;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    min-height: 3.6rem;
    padding: 0.2rem 0.7rem 0.2rem 1.25rem;
    border: 2px solid rgba(var(--rdg-sky-rgb), 0.55);
    border-radius: 999px;
    background: var(--color-bg-default);
    box-shadow: none;
    position: relative;
    z-index: 2;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-bar:focus-within {
    border-color: var(--color-border-focus);
    box-shadow: 0 0 0 3px rgba(var(--rdg-sky-rgb), 0.18);
}

.search-bar__input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    margin: 0;
    padding: 0;
    color: var(--color-text-default);
    font-size: clamp(1.1rem, 1.35vw, 1.55rem);
    line-height: 1.4;
    background: transparent;
    box-shadow: none;
    outline: none;
}

.search-bar__input:hover,
.search-bar__input:focus,
.search-bar__input:focus-visible {
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.search-bar__input::-webkit-search-decoration,
.search-bar__input::-webkit-search-cancel-button,
.search-bar__input::-webkit-search-results-button,
.search-bar__input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.search-bar__input::placeholder {
    color: rgba(var(--rdg-text-rgb), 0.66);
}

.search-bar__icon-submit {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--color-brand-primary);
    background: transparent;
    cursor: pointer;
}

.search-bar__icon-submit svg {
    width: 1.35rem;
    height: 1.35rem;
}

.search-bar__icon-submit:hover {
    color: var(--color-brand-primary-hover);
}

.search-bar__icon-submit:focus-visible {
    outline: 0;
    box-shadow: none;
}

.search-bar--hero-floating {
    width: min(62.56rem, 100%);
    max-width: none;
    margin: 0 auto;
    min-height: 3.6rem;
    padding: 0.2rem 0.7rem 0.2rem 1.25rem;
    border: 1px solid var(--home-hero-search-border);
    border-radius: 999px;
    background: var(--home-hero-search-background);
    box-shadow: 0 2px 9px rgba(var(--rdg-ink-rgb), 0.12);
}

.search-bar--hero-floating:focus-within {
    box-shadow: 0 0 0 3px rgba(var(--rdg-sky-rgb), 0.14), 0 2px 10px rgba(var(--rdg-ink-rgb), 0.14);
}

.search-bar--hero-floating .search-bar__input {
    font-size: 1rem;
    font-weight: 500;
    color: var(--home-hero-search-text);
}

.search-bar--hero-floating .search-bar__input::placeholder {
    color: var(--home-hero-search-placeholder);
    opacity: 1;
}

.search-bar--hero-floating .search-bar__icon-submit {
    position: static;
    z-index: 3;
    width: 1.45rem;
    height: 1.45rem;
    padding: 0;
    border: 0;
    color: var(--home-hero-search-button-color);
    background: var(--home-hero-search-button-background);
    border-radius: 999px;
    cursor: pointer;
}

.search-bar--hero-floating .search-bar__icon-submit svg {
    width: 1.35rem;
    height: 1.35rem;
}

.search-bar--hero-floating .search-bar__icon-submit:hover {
    filter: brightness(0.9);
}

.home-hero-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    background: var(--home-hero-primary-cta-background);
    color: var(--home-hero-primary-cta-color);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 0.7rem 1.6rem rgba(var(--rdg-ink-rgb), 0.18);
}

.home-hero-primary-cta:hover,
.home-hero-primary-cta:focus-visible {
    color: var(--home-hero-primary-cta-color);
    text-decoration: none;
}

.home-kpis {
    align-self: end;
    padding-top: var(--spacing-2);
    padding-bottom: var(--spacing-3);
    background: transparent;
}

.home-kpis .container {
    display: grid;
    justify-items: center;
    row-gap: var(--spacing-3);
}

.home-kpis .section-title {
    margin-bottom: 0;
}

.home-kpis__search-subtitle {
    margin: 0;
    color: rgba(var(--rdg-bg-rgb), 0.96);
    font-size: clamp(0.95rem, 1.35vw, 1.3rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0.14rem 0.32rem rgba(var(--rdg-ink-rgb), 0.45), 0 0.35rem 0.9rem rgba(var(--rdg-ink-rgb), 0.28);
}

.home-thematics {
    padding-top: var(--spacing-6);
    padding-bottom: var(--spacing-8);
    background: var(--color-bg-surface-alt);
}

.home-kpis__grid.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 13rem));
    justify-content: center;
    justify-items: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    gap: 1.4rem 1.8rem;
}

.home-kpi {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0.48rem;
    width: min(100%, 13rem);
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
    box-shadow: none;
    transition: transform var(--transition-fast);
}

.home-kpi:hover {
    transform: translateY(-1px);
}

.home-kpi--link {
    color: inherit;
    text-decoration: none;
}

.home-kpi--link:hover,
.home-kpi--link:focus-visible {
    color: inherit;
    text-decoration: none;
}

.home-kpi__icon,
.thematic__icon,
.home-service__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    border: 2px solid currentColor;
    border-radius: 999px;
    margin-bottom: var(--spacing-2);
    box-shadow: 0 8px 18px rgba(var(--rdg-ink-rgb), 0.12);
}

.home-kpi__icon::after,
.thematic__icon::after,
.home-service__icon::after {
    content: '';
    position: absolute;
    inset: -0.3rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    opacity: 0.26;
}

.home-kpi .home-kpi__icon {
    width: 4.55rem;
    height: 4.55rem;
    border: 0;
    border-radius: 0.92rem;
    margin-bottom: 0.3rem;
    box-shadow: inset 0 0 0 1px rgba(var(--rdg-bg-rgb), 0.24);
}

.home-kpi .home-kpi__icon::after {
    content: none;
}

.home-kpi__icon svg,
.thematic__icon svg,
.home-service__icon svg {
    width: 1.8rem;
    height: 1.8rem;
}

.home-kpi .home-kpi__icon svg {
    width: 2.05rem;
    height: 2.05rem;
}

.home-kpi__icon svg path,
.thematic__icon svg path,
.home-service__icon svg path {
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.is-orange {
    color: var(--color-theme-1, var(--color-brand-primary));
    background: rgba(var(--color-theme-1-rgb, var(--rdg-orange-road-rgb)), 0.12);
}

.is-blue {
    color: var(--color-theme-2, var(--color-brand-accent-2));
    background: rgba(var(--color-theme-2-rgb, var(--rdg-sky-rgb)), 0.14);
}

.is-green {
    color: var(--color-theme-4, var(--color-brand-accent-3));
    background: rgba(var(--color-theme-4-rgb, var(--rdg-green-rgb)), 0.14);
}

.is-yellow {
    color: var(--color-theme-3, var(--color-brand-accent));
    background: rgba(var(--color-theme-3-rgb, var(--rdg-yellow-rgb)), 0.16);
}

.home-kpi--orange .home-kpi__icon {
    color: var(--color-bg-default);
    background: var(--color-theme-1, var(--rdg-brand-primary));
}

.home-kpi--blue .home-kpi__icon {
    color: var(--color-bg-default);
    background: var(--color-theme-2, var(--rdg-brand-secondary));
}

.home-kpi--yellow .home-kpi__icon {
    color: var(--color-text-heading);
    background: var(--color-theme-3, var(--rdg-brand-accent));
}

.home-kpi--green .home-kpi__icon {
    color: var(--color-bg-default);
    background: var(--color-theme-4, var(--rdg-brand-accent-3));
}

.home-kpi--custom .home-kpi__icon,
.home-kpi .home-kpi__icon.is-custom {
    color: var(--color-bg-default);
    background: var(--home-kpi-color, var(--color-brand-secondary));
}

.home-kpi__label {
    margin: 0;
    color: var(--color-text-heading);
    font-size: 1.02rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.25;
}

.thematics__grid {
    display: grid;
    gap: var(--spacing-2);
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    justify-content: center;
}

.thematic {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-height: 10.5rem;
    padding: 1.15rem 1rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    color: var(--color-text-heading);
    text-align: center;
    text-decoration: none;
    background: var(--color-bg-default);
    font-weight: 700;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.thematic:hover {
    border-color: var(--color-brand-accent-2);
    background: rgba(var(--rdg-sky-rgb), 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(var(--rdg-ink-rgb), 0.1);
    text-decoration: none;
}

.thematic__icon {
    width: 3.9rem;
    height: 3.9rem;
    margin-bottom: 0.2rem;
}

.thematic__label {
    display: inline-block;
    max-width: 22ch;
    line-height: 1.35;
}

.home-mostviewed,
.home-refdata,
.home-usingdata,
.home-news,
.home-governance {
    padding-block: clamp(3.5rem, 5.6vw, 4.5rem);
    background: var(--color-bg-default);
}

.home-page :is(.home-mostviewed, .home-refdata, .home-usingdata, .home-news, .home-governance) .container {
    width: min(84.25rem, calc(100% - 3rem));
}

.home-mostviewed {
    background: var(--color-bg-default);
}

.home-mostviewed__panel {
    padding: clamp(2.2rem, 3.2vw, 3.2rem) clamp(1.2rem, 2.5vw, 2.8rem);
    color: var(--color-text-inverse);
    background: var(--rdg-blue-deep);
}

.home-usingdata,
.home-governance {
    background: var(--color-bg-surface-alt);
}

.mostviewed__grid,
.refdata__grid,
.usingdata__grid {
    gap: clamp(1.2rem, 2vw, 1.9rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.home-governance__grid {
    gap: clamp(1rem, 1.8vw, 1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.home-news .grid {
    gap: clamp(1rem, 1.8vw, 1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.home-page :is(.home-mostviewed, .home-refdata, .home-usingdata) .card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: var(--spacing-2);
}

.home-page :is(.home-mostviewed, .home-refdata, .home-usingdata) .card:hover {
    transform: none;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.home-page :is(.home-mostviewed, .home-refdata, .home-usingdata) .card__title {
    margin-bottom: 0;
    line-height: 1.2;
}

.home-page :is(.home-mostviewed, .home-refdata, .home-usingdata) .card__lead {
    margin-bottom: 0;
    line-height: 1.52;
}

.home-mostviewed .card__title,
.home-mostviewed .card__lead,
.home-mostviewed .card__link a {
    color: var(--color-text-inverse);
}

.home-mostviewed .btn-primary {
    border-radius: 0;
    color: var(--color-text-inverse);
    background: var(--rdg-brand-primary);
    border-color: var(--rdg-brand-primary);
}

.home-mostviewed .btn-primary:hover {
    background: var(--rdg-brand-primary-hover);
    border-color: var(--rdg-brand-primary-hover);
}

.home-page :is(.home-news, .home-governance) .card {
    padding: 1.3rem 1.25rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.16);
    border-radius: 0;
    background: var(--color-bg-default);
    box-shadow: none;
    gap: 0.95rem;
}

.home-page :is(.home-news, .home-governance) .card:hover {
    transform: none;
    border-color: rgba(var(--rdg-ink-rgb), 0.26);
    background: var(--color-bg-default);
    box-shadow: none;
}

.home-page :is(.home-mostviewed, .home-refdata, .home-usingdata, .home-news, .home-governance) .btn,
.home-page :is(.home-mostviewed, .home-refdata, .home-usingdata, .home-news, .home-governance) .badge {
    border-radius: 0;
}

.home-dynamic-section {
    padding-block: clamp(3.5rem, 5.6vw, 4.5rem);
    background: var(--color-bg-default);
}

.home-dynamic-section--muted {
    background: var(--color-bg-surface-alt);
}

.home-dynamic-section--institutional {
    color: var(--color-text-inverse);
    background: var(--rdg-blue-deep);
}

.home-dynamic-section .container {
    width: min(84.25rem, calc(100% - 3rem));
}

.home-section-heading {
    max-width: 54rem;
    margin-inline: auto;
    margin-bottom: clamp(1.5rem, 2.8vw, 2.2rem);
    text-align: center;
}

.home-section-heading--wide {
    max-width: 70rem;
}

.home-feature,
.home-message {
    display: grid;
    gap: clamp(1.25rem, 2.4vw, 2rem);
    align-items: center;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.12);
    background: var(--color-bg-default);
}

.home-feature--feature {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.home-feature--banner,
.home-message {
    max-width: 70rem;
    margin-inline: auto;
}

.home-feature__image,
.home-message__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home-dynamic-section .grid {
    gap: clamp(1rem, 1.8vw, 1.5rem);
}

.home-dynamic-section .card {
    padding: 1.3rem 1.25rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.16);
    border-radius: 0;
    background: var(--color-bg-default);
    box-shadow: none;
}

.home-dynamic-section .card:hover {
    transform: none;
    border-color: rgba(var(--rdg-ink-rgb), 0.26);
    background: var(--color-bg-default);
    box-shadow: none;
}

.home-dynamic-section--institutional .card,
.home-dynamic-section--institutional .home-feature,
.home-dynamic-section--institutional .home-message {
    color: var(--color-text-default);
}

@media (max-width: 52em) {
    .home-feature--feature {
        grid-template-columns: 1fr;
    }
}

/* RDG public home redesign */
.rdg-home .main {
    background: var(--color-bg-default);
    padding-bottom: 0;
}

.rdg-home .site-footer {
    margin-top: 0;
}

.rdg-hero {
    padding-block: clamp(3.25rem, 7vw, 6.5rem) clamp(2.5rem, 5vw, 4.5rem);
    background:
        linear-gradient(135deg, rgba(var(--rdg-sky-rgb), 0.14), rgba(var(--rdg-yellow-rgb), 0.12) 48%, rgba(var(--rdg-green-rgb), 0.12)),
        var(--color-bg-surface-alt);
    border-bottom: 1px solid var(--color-border-default);
}

.rdg-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
}

.rdg-hero__content {
    max-width: 52rem;
}

.rdg-eyebrow {
    margin: 0 0 0.7rem;
    color: var(--color-brand-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rdg-hero h1 {
    max-width: 12ch;
    margin-bottom: 1rem;
    color: var(--color-text-heading);
    font-size: clamp(2.45rem, 6vw, 5.2rem);
    line-height: 0.98;
}

.rdg-hero__baseline {
    max-width: 44rem;
    margin-bottom: clamp(1.35rem, 3vw, 2rem);
    color: var(--color-text-default);
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.55;
}

.rdg-search {
    display: grid;
    gap: 0.65rem;
    max-width: 48rem;
    margin-bottom: 1.15rem;
}

.rdg-search__label {
    color: var(--color-text-heading);
    font-weight: 750;
}

.rdg-search__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.45rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    background: var(--color-bg-default);
    box-shadow: var(--shadow-sm);
}

.rdg-search__row:focus-within {
    border-color: var(--color-border-focus);
    box-shadow: var(--focus-ring), var(--shadow-sm);
}

.rdg-search__input {
    min-width: 0;
    width: 100%;
    border: 0;
    padding: 0.75rem 0.85rem;
    color: var(--color-text-default);
    font: inherit;
    font-size: 1rem;
    background: transparent;
    outline: 0;
}

.rdg-search__input::placeholder {
    color: var(--color-text-muted);
    opacity: 1;
}

.rdg-search__submit {
    min-height: 2.75rem;
    border-radius: var(--radius-sm);
}

.rdg-search__status {
    min-height: 1.35rem;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.rdg-search.is-loading .rdg-search__status {
    color: var(--color-brand-primary);
    font-weight: 700;
}

.rdg-search.is-empty .rdg-search__row {
    border-color: var(--color-warning);
}

.rdg-hero__actions,
.rdg-feature__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.rdg-hero-panel {
    padding: clamp(1.25rem, 2.5vw, 1.7rem);
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.18);
    border-radius: var(--radius-md);
    background: var(--color-bg-default);
    box-shadow: var(--shadow-sm);
}

.rdg-hero-panel__title {
    margin-bottom: 1rem;
    color: var(--color-text-heading);
    font-weight: 800;
}

.rdg-hero-panel__list {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.rdg-hero-panel__list li {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: baseline;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border-default);
}

.rdg-hero-panel__list strong {
    color: var(--color-brand-primary);
    font-size: 1.6rem;
    line-height: 1;
}

.rdg-hero-panel__list span,
.rdg-hero-panel__note {
    color: var(--color-text-muted);
}

.rdg-hero-panel__note {
    margin: 0;
    font-size: 0.95rem;
}

.rdg-section {
    padding-block: clamp(3rem, 6vw, 5rem);
}

.rdg-section--quick {
    padding-block: clamp(2.25rem, 4.6vw, 3.5rem);
}

.rdg-section--data,
.rdg-section--transparency {
    background: var(--color-bg-surface-alt);
}

.rdg-section__heading {
    max-width: 48rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.rdg-section__heading h2,
.rdg-feature h2,
.rdg-transparency h2,
.rdg-partners h2 {
    margin-bottom: 0.65rem;
    color: var(--color-text-heading);
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.08;
}

.rdg-section__heading--split {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    max-width: none;
}

.rdg-section__heading--split h2 {
    max-width: 14ch;
}

.rdg-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.rdg-quick-card {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.9rem;
    min-height: 12rem;
    padding: 1.2rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    color: var(--color-text-default);
    background: var(--color-bg-default);
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

.rdg-quick-card:hover,
.rdg-quick-card:focus-visible {
    border-color: rgba(var(--rdg-blue-rgb), 0.38);
    color: var(--color-text-default);
    background: rgba(var(--rdg-sky-rgb), 0.06);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.rdg-quick-card--primary {
    border-color: rgba(var(--rdg-blue-rgb), 0.32);
    background: linear-gradient(180deg, rgba(var(--rdg-sky-rgb), 0.12), var(--color-bg-default));
}

.rdg-quick-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-sm);
    color: var(--color-brand-primary);
    background: rgba(var(--rdg-blue-rgb), 0.09);
}

.rdg-quick-card__icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

.rdg-quick-card__body {
    display: grid;
    gap: 0.45rem;
}

.rdg-quick-card__title {
    color: var(--color-text-heading);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
}

.rdg-quick-card__text {
    color: var(--color-text-muted);
    font-size: 0.96rem;
    line-height: 1.5;
}

.rdg-feature,
.rdg-transparency {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.rdg-feature__content p,
.rdg-transparency__intro p {
    max-width: 44rem;
    color: var(--color-text-muted);
}

.rdg-data-panel,
.rdg-principles {
    display: grid;
    gap: 1rem;
}

.rdg-data-panel {
    padding: clamp(1.25rem, 2.5vw, 1.8rem);
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    background: var(--color-bg-default);
}

.rdg-check-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rdg-check-list li {
    position: relative;
    padding-left: 1.8rem;
}

.rdg-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.34rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: inset 0 0 0 3px var(--color-bg-default);
}

.rdg-service-alert {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border: 1px solid rgba(var(--rdg-orange-road-rgb), 0.38);
    border-radius: var(--radius-sm);
    background: rgba(var(--rdg-orange-road-rgb), 0.08);
}

.rdg-service-alert strong {
    color: var(--color-text-heading);
}

.rdg-service-alert span {
    color: var(--color-text-muted);
}

.rdg-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.rdg-news-card,
.rdg-principles article,
.rdg-empty-state {
    padding: 1.25rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    background: var(--color-bg-default);
}

.rdg-news-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 17rem;
}

.rdg-news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.84rem;
}

.rdg-news-card h3,
.rdg-principles h3,
.rdg-empty-state h3 {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.25;
}

.rdg-news-card p:not(.rdg-news-card__meta),
.rdg-principles p,
.rdg-empty-state p {
    margin: 0;
    color: var(--color-text-muted);
}

.rdg-news-card a {
    margin-top: auto;
    font-weight: 800;
}

.news-index-grid {
    align-items: stretch;
}

.news-index-card {
    overflow: hidden;
    padding: 0;
    border-radius: 1.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.98));
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.news-index-card:hover,
.news-index-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 28px 48px rgba(15, 23, 42, 0.12);
}

.news-index-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #f8fafc 55%, #fde68a);
}

.news-index-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 240ms ease;
}

.news-index-card:hover .news-index-card__image,
.news-index-card:focus-within .news-index-card__image {
    transform: scale(1.04);
}

.news-index-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    height: 100%;
    padding: 1.35rem 1.35rem 1.45rem;
}

.news-index-card__body .card__meta,
.news-index-card__body .card__title,
.news-index-card__body .card__lead,
.news-index-card__body .card__link {
    margin: 0;
}

.news-index-card__body .card__lead {
    color: var(--color-text-muted);
}

.news-index-card__body .card__link {
    margin-top: auto;
}

.rdg-empty-state {
    grid-column: 1 / -1;
}

.rdg-transparency {
    align-items: start;
}

.rdg-principles {
    grid-template-columns: 1fr;
}

.rdg-principles article {
    border-left: 4px solid var(--color-brand-secondary);
}

.rdg-partners {
    padding-block: clamp(2.2rem, 4.5vw, 3.5rem);
    border-top: 1px solid var(--color-border-default);
}

.rdg-partners__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem 1.5rem;
    align-items: center;
}

.rdg-partner-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rdg-partner-list li {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    background: var(--color-bg-surface-alt);
    font-weight: 700;
}

/* Grid + cards */
.grid {
    display: grid;
    gap: var(--spacing-3);
}

.grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
    padding: calc(var(--spacing-2) + 0.2rem) var(--spacing-3);
    border: 1px solid var(--component-card-border);
    border-radius: var(--radius-md);
    background: var(--component-card-bg);
    box-shadow: var(--component-card-shadow);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

.card:hover {
    border-color: rgba(var(--rdg-ink-rgb), 0.16);
    background: var(--color-bg-default);
    box-shadow: 0 10px 24px rgba(var(--rdg-ink-rgb), 0.09);
    transform: translateY(-2px);
}

.card--catalog-item {
    border-left: 3px solid rgba(var(--rdg-sky-rgb), 0.28);
}

.card--interactive {
    border-left: 3px solid rgba(var(--rdg-sky-rgb), 0.34);
}

.card--interactive .card__title a {
    color: var(--color-text-heading);
    text-decoration: none;
}

.card--interactive .card__title a:hover {
    color: var(--color-link);
    text-decoration: underline;
}

.card__title {
    margin-bottom: 0;
    font-size: var(--font-size-h6);
    line-height: 1.25;
}

.card__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    background: var(--color-bg-surface-alt);
}

.card__lead {
    margin-bottom: 0;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin: 0;
    color: var(--color-text-subtle);
    font-size: 0.875rem;
}

.card__link {
    margin-top: auto;
}

.card__link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: currentColor;
    font-weight: 700;
    text-decoration: none;
}

.card__link a span {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
    text-decoration-thickness: 1px;
}

.card__link a:hover span {
    text-decoration: none;
}

.card__link a::after {
    content: '→';
}

.card__link a::before {
    content: '';
    position: absolute;
    inset: 0;
}

.card:has(.card__link a:hover) .card__title {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

/* Buttons */
.btn,
button.btn,
input[type='submit'].btn {
    --btn-bg: var(--rdg-blue);
    --btn-border: var(--rdg-blue);
    --btn-fg: var(--color-bg-default);
    --btn-bg-hover: var(--color-brand-primary-hover);
    --btn-border-hover: var(--color-brand-primary-hover);
    --btn-fg-hover: var(--color-bg-default);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 2.5rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--btn-border);
    border-radius: 0.55rem;
    color: var(--btn-fg);
    background: var(--btn-bg);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 670;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn:hover,
button.btn:hover,
input[type='submit'].btn:hover {
    text-decoration: none;
    background: var(--btn-bg-hover);
    border-color: var(--btn-border-hover);
    color: var(--btn-fg-hover);
    transform: translateY(-1px);
}

.btn:active,
button.btn:active,
input[type='submit'].btn:active {
    transform: translateY(0);
}

.btn:focus-visible,
button.btn:focus-visible,
input[type='submit'].btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--rdg-sky-rgb), 0.42);
}

.btn:disabled,
button.btn:disabled,
input[type='submit'].btn:disabled,
.btn[aria-disabled='true'] {
    cursor: not-allowed;
    opacity: 0.56;
    transform: none;
}

.btn-primary {
    --btn-bg: var(--rdg-blue);
    --btn-border: var(--rdg-blue);
    --btn-fg: var(--color-bg-default);
    --btn-bg-hover: var(--color-brand-primary-hover);
    --btn-border-hover: var(--color-brand-primary-hover);
    --btn-fg-hover: var(--color-bg-default);
}

.btn-secondary {
    --btn-bg: rgba(var(--rdg-blue-rgb), 0.1);
    --btn-border: rgba(var(--rdg-blue-rgb), 0.3);
    --btn-fg: var(--rdg-blue);
    --btn-bg-hover: rgba(var(--rdg-blue-rgb), 0.16);
    --btn-border-hover: rgba(var(--rdg-blue-rgb), 0.44);
    --btn-fg-hover: var(--color-brand-primary-hover);
}

.btn-outline {
    --btn-bg: var(--color-bg-default);
    --btn-border: rgba(var(--rdg-blue-rgb), 0.45);
    --btn-fg: var(--rdg-blue);
    --btn-bg-hover: rgba(var(--rdg-sky-rgb), 0.08);
    --btn-border-hover: rgba(var(--rdg-blue-rgb), 0.6);
    --btn-fg-hover: var(--color-brand-primary-hover);
}

.btn-link {
    --btn-bg: transparent;
    --btn-border: transparent;
    --btn-fg: var(--rdg-blue);
    --btn-bg-hover: transparent;
    --btn-border-hover: transparent;
    --btn-fg-hover: var(--color-brand-primary-hover);

    min-height: auto;
    padding: 0;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 620;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.btn-link:hover {
    transform: none;
}

@media (max-width: 47.99em) {
    .btn,
    button.btn,
    input[type='submit'].btn {
        min-height: 2.4rem;
        padding: 0.52rem 0.82rem;
        font-size: 0.9rem;
    }
}

/* Forms */
label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--color-text-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

input:not([type='checkbox']):not([type='radio']),
select,
textarea {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    color: var(--color-text-default);
    background: var(--color-bg-default);
    font: inherit;
}

input[type='checkbox'],
input[type='radio'] {
    width: auto;
    min-height: auto;
    padding: 0;
    accent-color: var(--color-brand-primary);
}

textarea {
    min-height: 8rem;
    resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
    box-shadow: var(--focus-ring);
}

.form-row {
    margin-bottom: var(--spacing-2);
}

.filters {
    display: grid;
    gap: var(--spacing-3);
    align-items: end;
    margin-bottom: var(--spacing-4);
    padding: var(--spacing-3);
    border: 1px solid var(--component-filter-border);
    border-radius: var(--radius-md);
    background: var(--component-filter-bg);
}

.page-shell--catalog .filters {
    margin-bottom: var(--spacing-3);
}

.page-shell--catalog .page-header {
    margin-bottom: clamp(1.1rem, 1.9vw, 1.5rem);
}

.page-shell--catalog #catalog-panel {
    padding: clamp(0.95rem, 1.2vw, 1.3rem);
    border-radius: 0.8rem;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(16.5rem, 0.95fr) minmax(0, 3.05fr);
    gap: clamp(0.95rem, 1.6vw, 1.3rem);
    align-items: start;
}

.catalog-layout__filters,
.catalog-layout__results {
    min-width: 0;
}

.filters--catalog {
    align-items: start;
}

.page-shell--catalog .filters--catalog {
    position: sticky;
    top: calc(var(--spacing-6) + 0.8rem);
    margin-bottom: 0;
    padding: 0.95rem;
    border-radius: 0.7rem;
    gap: 0.9rem;
    align-content: start;
}

.page-shell--catalog .filters--catalog .filters__grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.page-shell--catalog .filters--catalog .filters__field--span-2 {
    grid-column: auto;
}

.page-shell--catalog .filters--catalog .filters__legend {
    margin-bottom: 0.7rem;
    font-size: 0.96rem;
}

.page-shell--catalog .filters--catalog .filters__facet-list {
    grid-template-columns: 1fr;
    gap: 0.42rem;
    padding: 0.42rem;
    max-height: 12rem;
}

.page-shell--catalog .filters--catalog .filters__facet-option {
    min-height: 1.86rem;
    padding: 0.28rem 0.42rem;
    font-size: 0.84rem;
}

.page-shell--catalog .filters--catalog .filters__actions {
    gap: 0.55rem;
}

.page-shell--catalog .filters--catalog .btn {
    min-height: 2.26rem;
    padding: 0.45rem 0.76rem;
    font-size: 0.86rem;
}

.page-shell--catalog .filters--catalog .filters__active {
    gap: 0.4rem;
}

.page-shell--catalog #catalog-results .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.1vw, 1.05rem);
    align-items: stretch;
}

.page-shell--catalog .card--catalog-item {
    gap: 0.58rem;
    padding: 0.82rem 0.88rem 0.9rem;
    border-width: 1px;
}

.page-shell--catalog .card--catalog-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(var(--rdg-ink-rgb), 0.08);
}

.page-shell--catalog .card--catalog-item .card__img {
    border-radius: 0.52rem;
    aspect-ratio: 16 / 8.75;
}

.page-shell--catalog .card--catalog-item .card__meta {
    gap: 0.32rem 0.4rem;
    font-size: 0.78rem;
    line-height: 1.2;
}

.page-shell--catalog .card--catalog-item .card__title {
    font-size: 1.01rem;
    line-height: 1.28;
    min-height: 2.58em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-shell--catalog .card--catalog-item .card__lead {
    font-size: 0.9rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
}

.page-shell--catalog .dataset-meta {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.4rem;
    margin-top: 0.42rem;
    padding-top: 0.48rem;
}

.page-shell--catalog .dataset-meta__item {
    min-height: 1.55rem;
    padding: 0.18rem 0.46rem;
    font-size: 0.72rem;
}

.page-shell--catalog .card__link {
    margin-top: 0.22rem;
}

.page-shell--catalog .card__link a {
    gap: 0.34rem;
    font-size: 0.84rem;
    line-height: 1.2;
}

.page-shell--catalog #catalog-results .card--catalog-reference {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0.65rem !important;
    overflow: hidden;
    background: var(--color-bg-surface-alt) !important;
    box-shadow: 0 8px 24px rgba(var(--rdg-ink-rgb), 0.08);
    gap: 0 !important;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), outline-color var(--transition-fast);
    outline: 2px solid transparent;
    outline-offset: 0;
}

.page-shell--catalog #catalog-results .card--catalog-reference:hover,
.page-shell--catalog #catalog-results .card--catalog-reference:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(var(--rdg-ink-rgb), 0.12);
    outline-color: rgba(var(--rdg-blue-rgb), 0.42);
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__media {
    position: relative;
    aspect-ratio: 16 / 6.2;
    min-height: 11.2rem;
    overflow: hidden;
    background: var(--color-bg-surface-alt);
}

.page-shell--catalog #catalog-results .card--catalog-reference .card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--rdg-blue-rgb), 0.2), rgba(var(--rdg-sky-rgb), 0.16));
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__category-badge {
    position: absolute;
    top: 0.78rem;
    right: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.85rem;
    max-width: min(68%, 16rem);
    padding: 0.28rem 0.68rem;
    border-radius: 0.46rem;
    background: var(--rdg-blue);
    color: var(--color-bg-default);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: none;
    text-align: center;
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__favorite {
    position: absolute;
    top: 0.78rem;
    left: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--rdg-ink-rgb), 0.62);
    color: var(--color-bg-default);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast), opacity var(--transition-fast);
    z-index: 2;
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__favorite:hover {
    transform: scale(1.06);
    background: rgba(var(--rdg-ink-rgb), 0.78);
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__favorite.is-active {
    background: rgba(var(--rdg-orange-road-rgb), 0.92);
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__favorite.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__body {
    display: grid;
    gap: 0.62rem;
    padding: 0.95rem 0.95rem 1rem;
}

.page-shell--catalog #catalog-results .card--catalog-reference .card__title {
    margin: 0 !important;
    color: var(--color-text-heading);
    font-size: clamp(1.12rem, 1.2vw, 1.35rem);
    line-height: 1.22;
}

.page-shell--catalog #catalog-results .card--catalog-reference .card__title a {
    color: inherit;
    text-decoration: none;
}

.page-shell--catalog #catalog-results .card--catalog-reference .card__lead {
    margin: 0 !important;
    color: var(--color-text-default);
    font-size: 0.98rem;
    line-height: 1.52;
    min-height: 0 !important;
    display: block !important;
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__meta-list {
    display: grid;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__meta-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.46rem;
    color: var(--color-text-default);
    font-size: 0.94rem;
    line-height: 1.35;
}

.page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__meta-icon {
    display: inline-flex;
    width: 1rem;
    justify-content: center;
    color: var(--color-text-default);
    font-size: 0.9rem;
}

.page-shell--catalog #catalog-results .card--catalog-reference .card__link {
    margin: 0.22rem 0 0 !important;
}

.page-shell--catalog #catalog-results .card--catalog-reference .card__link a {
    position: static !important;
    color: var(--rdg-orange-road) !important;
    font-size: 1rem !important;
    font-weight: 760 !important;
    text-decoration: underline !important;
    text-underline-offset: 0.2rem;
}

.page-shell--catalog #catalog-results .card--catalog-reference .card__link a::before {
    content: none !important;
}

@media (max-width: 47.99em) {
    .page-shell--catalog #catalog-results .card--catalog-reference .catalog-card__category-badge {
        max-width: 82%;
    }
}

.filters__group {
    margin: 0;
    padding: 0;
    border: 0;
}

.filters__legend {
    margin-bottom: var(--spacing-2);
    color: var(--color-text-heading);
    font-size: 1rem;
    font-weight: 700;
}

.filters__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--spacing-2);
}

.filters__field--span-2 {
    grid-column: span 2;
}

.filters__facet-label {
    margin: 0 0 0.45rem;
    color: var(--color-text-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

.filters__facet-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid var(--component-filter-border);
    border-radius: var(--radius-sm);
    background: var(--component-facet-option-bg);
    max-height: 12.5rem;
    overflow: auto;
}

.filters__facet-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.5rem;
    min-height: 2rem;
    margin: 0;
    width: 100%;
    padding: 0.35rem 0.45rem;
    border: 1px solid var(--component-facet-option-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-default);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.filters__facet-option:hover {
    border-color: var(--component-facet-option-border-selected);
    background: var(--component-facet-option-bg-hover);
}

.filters__facet-option:has(input:checked) {
    border-color: var(--component-facet-option-border-selected);
    background: var(--component-facet-option-bg-selected);
    color: var(--color-text-heading);
}

.filters__facet-option input[type='checkbox'] {
    flex-shrink: 0;
}

.filters__facet-option input[type='checkbox']:checked + .filters__facet-text {
    color: var(--color-text-heading);
}

.filters__facet-text {
    flex: 1;
    min-width: 0;
}

.filters__facet-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    margin-left: auto;
    border: 1px solid var(--component-chip-border);
    border-radius: 999px;
    background: var(--color-bg-default);
    color: var(--color-text-subtle);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.filters__facet-option:has(input:checked) .filters__facet-count {
    border-color: var(--component-facet-option-border-selected);
    background: var(--component-chip-bg);
    color: var(--color-text-heading);
}

.filters__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
    align-items: center;
}

.filters__active {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    min-height: 1.75rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--component-chip-border);
    border-radius: var(--radius-pill);
    background: var(--component-chip-bg);
    color: var(--component-chip-text);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
}

.filter-chip__key {
    color: var(--color-text-subtle);
    font-weight: 600;
}

.filters :is(input, select):focus-visible {
    border-color: var(--component-filter-border-focus);
}

.search-suggestions {
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--component-filter-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-default);
    max-height: 14rem;
    overflow: auto;
}

.search-suggestions li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--component-filter-border);
}

.search-suggestions li:last-child {
    border-bottom: 0;
}

.search-suggestions a {
    color: var(--color-text-heading);
    font-weight: 700;
    text-decoration: none;
}

.search-suggestions a:hover {
    color: var(--color-link);
    text-decoration: underline;
}

/* Notices */
.notice {
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    margin-bottom: var(--spacing-3);
    background: var(--color-bg-surface);
}

.notice.notice-success {
    border-color: var(--color-success);
    background: var(--color-success-bg);
}

.notice.notice-error {
    border-color: var(--color-danger);
    background: var(--color-danger-bg);
}

.notice.notice-info {
    border-color: var(--color-info);
    background: var(--color-info-bg);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.5rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--component-badge-border);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    background: var(--component-badge-bg);
    color: var(--component-badge-text);
}

.badge.badge--neutral {
    --component-badge-bg: var(--color-bg-surface-alt);
    --component-badge-text: var(--color-text-subtle);
    --component-badge-border: var(--color-border-default);
}

.badge.badge--theme {
    --component-badge-bg: rgba(var(--rdg-orange-road-rgb), 0.12);
    --component-badge-text: var(--color-brand-primary);
}

.badge.status-open,
.badge.status-new {
    background: var(--color-warning-bg);
    color: var(--color-warning);
}

.badge.status-submitted {
    background: var(--color-warning-bg);
    color: var(--color-warning);
}

.badge.status-progress,
.badge.status-in_progress {
    background: var(--color-info-bg);
    color: var(--color-info);
}

.badge.status-resolved,
.badge.status-closed,
.badge.status-done {
    background: var(--color-success-bg);
    color: var(--color-success);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-3);
}

thead th {
    padding: 0.65rem 0.75rem;
    color: var(--component-table-head-text);
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
    border-bottom: 1px solid var(--component-table-border);
    background: var(--component-table-head-bg);
}

tbody td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--component-table-border);
    vertical-align: top;
}

tbody tr:nth-child(even) {
    background: var(--component-table-row-alt);
}

tbody tr:hover {
    background: var(--component-table-row-hover);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--component-table-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-default);
}

.table-wrap table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-wrap thead th:first-child {
    border-top-left-radius: var(--radius-md);
}

.table-wrap thead th:last-child {
    border-top-right-radius: var(--radius-md);
}

.table--data td strong {
    color: var(--color-text-heading);
}

.table-sort__button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.table-sort__button::after {
    content: '↕';
    color: var(--component-table-sort-icon);
    font-size: 0.8em;
    line-height: 1;
}

.table-sort__button[aria-sort-state='asc']::after {
    content: '↑';
    color: var(--component-table-sort-icon-active);
}

.table-sort__button[aria-sort-state='desc']::after {
    content: '↓';
    color: var(--component-table-sort-icon-active);
}

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--spacing-3);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-pill);
    color: var(--color-text-default);
    text-decoration: none;
    font-weight: 700;
}

.pagination a:hover {
    border-color: var(--color-brand-accent-2);
    background: rgba(var(--rdg-sky-rgb), 0.12);
}

.pagination .is-current {
    border-color: var(--color-brand-primary);
    color: var(--color-text-heading);
    background: var(--color-brand-primary);
}

/* Catalog and map pages */

.dataset-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
    margin-top: var(--spacing-2);
    padding-top: var(--spacing-2);
    border-top: 1px solid var(--color-border-default);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.dataset-meta__item {
    display: inline-flex;
    align-items: center;
    min-height: 1.875rem;
    padding: 0.28rem 0.62rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-pill);
    background: var(--color-bg-default);
    color: var(--color-text-subtle);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
}

.source-icon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 1.875rem;
    padding: 0.28rem 0.62rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-pill);
    background: var(--color-bg-default);
    color: var(--color-text-subtle);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
}

.source-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex: 0 0 auto;
}

.map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--spacing-2);
}

.map-stage {
    min-height: 29rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    color: var(--color-text-muted);
    background: var(--color-bg-default);
    box-shadow: var(--shadow-xs);
    text-align: center;
    padding: var(--spacing-3);
}

.interactive-map-shell {
    width: 100%;
    display: grid;
    gap: var(--spacing-2);
    text-align: left;
}

.interactive-map-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    align-items: end;
}

.interactive-map-toolbar__field {
    display: grid;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-subtle);
}

.interactive-map-toolbar__field input,
.interactive-map-toolbar__field select {
    min-height: 2.4rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    color: var(--color-text-default);
    background: var(--color-bg-default);
}

.interactive-map-toolbar__actions {
    display: inline-flex;
    align-items: end;
}

.interactive-map-status,
.interactive-map-count {
    margin: 0;
    color: var(--color-text-subtle);
    font-size: 0.9rem;
}

.interactive-map-canvas {
    min-height: 25rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.map-legend-symbol {
    display: inline-block;
    width: 1rem;
    height: 0.35rem;
    margin-right: 0.45rem;
    border-radius: 999px;
    background: var(--legend-color, var(--color-map-road-primary));
    vertical-align: middle;
}

.map-layer-toggle {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.map-layer-toggle input {
    margin-top: 0.1rem;
}

.interactive-feature-info {
    padding: 0.8rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    background: var(--color-bg-default);
}

.map-feature-meta {
    margin: 0;
    padding-left: 1rem;
    font-size: 0.9rem;
}

.map-popup p {
    margin: 0 0 0.4rem 0;
}

.map-popup p:last-child {
    margin-bottom: 0;
}

.map-side-panel {
    padding: var(--spacing-3);
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    background: var(--color-bg-surface);
    box-shadow: var(--shadow-xs);
}

.status-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.status-list li {
    margin-bottom: 0.625rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--color-border-default);
}

.status-list li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
}

.status-pill.is-up {
    color: var(--color-success);
    background: var(--color-success-bg);
}

.status-pill.is-down {
    color: var(--color-danger);
    background: var(--color-danger-bg);
}

.result-count {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    margin-bottom: var(--spacing-3);
    color: var(--color-text-subtle);
    font-size: 0.95rem;
    font-weight: 700;
}

#catalog-panel {
    position: relative;
}

#catalog-panel.is-loading #catalog-results {
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

#catalog-panel.is-loading #catalog-live-status::before {
    content: '';
    width: 0.82rem;
    height: 0.82rem;
    margin-right: 0.5rem;
    border: 2px solid var(--component-filter-border);
    border-top-color: var(--color-brand-primary);
    border-radius: 999px;
    animation: rdg-spin 0.75s linear infinite;
}

.page-shell--catalog .result-count {
    margin-bottom: 0.9rem;
    padding-bottom: 0.52rem;
    border-bottom: 1px solid var(--color-border-default);
    letter-spacing: 0;
}

.catalog-results-head {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.9rem;
    margin-bottom: 0.75rem;
}

.catalog-results-head .result-count {
    margin: 0;
    padding: 0;
    border: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.catalog-results-head__filters {
    display: inline-flex;
    align-items: baseline;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-height: 1rem;
    gap: 0.35rem;
    color: var(--color-text-subtle);
    font-size: 0.82rem;
    font-weight: 520;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-results-head__filters .filter-chip {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-text-subtle);
    font-size: 0.82rem;
    font-weight: 520;
}

.catalog-results-head__filters .filter-chip + .filter-chip::before {
    content: '•';
    margin: 0 0.45rem 0 0.15rem;
    color: var(--color-border-strong);
    font-weight: 700;
}

.catalog-results-head__filters .filter-chip__key {
    color: var(--color-text-heading);
    font-weight: 620;
}

.catalog-results-head__filters .text-muted {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.page-shell--catalog .pagination {
    margin-top: 0.95rem;
}

@media (max-width: 82em) {
    .catalog-layout {
        grid-template-columns: minmax(14.5rem, 1fr) minmax(0, 2.7fr);
    }

    .page-shell--catalog #catalog-results .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-results-head {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .catalog-results-head__filters {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .extranet-layout {
        grid-template-columns: minmax(14rem, 1fr) minmax(0, 2.35fr);
    }
}

@media (max-width: 55.99em) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .page-shell--catalog .filters--catalog {
        position: static;
    }

    .page-shell--catalog #catalog-results .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .extranet-layout {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }

    .extranet-sidebar-actions {
        max-width: 100%;
    }
}

@media (max-width: 47.99em) {
    .page-shell--catalog #catalog-results .grid-3 {
        grid-template-columns: 1fr;
    }
}

.page-shell--agent .card.mt-4 {
    margin-top: var(--spacing-3);
}

.page-shell--interactive .map-side-panel .h5 {
    margin-bottom: var(--spacing-2);
}

.empty-state {
    display: grid;
    gap: var(--spacing-1);
    padding: var(--spacing-3);
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-md);
    background: var(--color-bg-surface-alt);
}

.empty-state h2,
.empty-state h3 {
    margin-bottom: 0;
    font-size: 1.125rem;
}

.data-state {
    display: grid;
    gap: var(--spacing-1);
    padding: var(--spacing-3);
    border: 1px solid var(--component-data-state-border);
    border-radius: var(--radius-md);
    background: var(--component-data-state-bg);
}

.page-shell--catalog .data-state {
    text-align: center;
    justify-items: center;
    padding: var(--spacing-4) var(--spacing-3);
}

.data-state h2 {
    margin-bottom: 0;
    font-size: 1.125rem;
}

.data-state__actions {
    margin-top: var(--spacing-1);
}

.data-state--error {
    border-color: var(--component-data-state-error-border);
    background: var(--component-data-state-error-bg);
}

.skeleton-grid {
    pointer-events: none;
}

.skeleton-card {
    overflow: hidden;
}

.skeleton-block {
    position: relative;
    border-radius: var(--radius-pill);
    background: var(--component-skeleton-base);
    overflow: hidden;
}

.skeleton-block::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent 0%, var(--component-skeleton-highlight) 52%, transparent 100%);
    animation: skeleton-shimmer 1.4s infinite;
}

@keyframes rdg-spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton-block--chip {
    width: 8rem;
    height: 1.4rem;
}

.skeleton-block--title {
    width: 92%;
    height: 1.6rem;
    margin-top: 0.3rem;
    border-radius: 0.4rem;
}

.skeleton-block--line {
    width: 100%;
    height: 0.9rem;
    margin-top: 0.25rem;
    border-radius: 0.4rem;
}

.skeleton-block--line.short {
    width: 66%;
}

.skeleton-block--meta {
    width: 100%;
    height: 2rem;
    margin-top: 0.3rem;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-shimmer {
    to {
        transform: translateX(100%);
    }
}

.resource-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--spacing-3);
}

.resource-side {
    display: grid;
    gap: var(--spacing-3);
    align-content: start;
}

.meta-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.meta-list div {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--color-border-default);
}

.meta-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.meta-list dt {
    color: var(--color-text-subtle);
    font-size: 0.8125rem;
    font-weight: 700;
}

.meta-list dd {
    margin: 0;
}

.download-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.download-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-2);
    padding-block: 0.8rem;
    border-bottom: 1px solid var(--color-border-default);
}

.download-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.dashboard-kpi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-2);
    margin-top: 0.2rem;
}

.kpi-card {
    display: grid;
    align-content: start;
    gap: 0.28rem;
    min-height: 8.05rem;
    padding: 0.92rem 1rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    background: var(--color-bg-surface);
    box-shadow: var(--shadow-xs);
}

.kpi-card > p {
    margin: 0;
}

.kpi-card__icon {
    width: 2rem;
    height: 2rem;
}

.kpi-card__label {
    margin-bottom: 0.2rem;
    color: var(--color-text-subtle);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.kpi-card__value {
    margin: 0;
    color: var(--color-text-heading);
    font-family: var(--font-heading);
    font-size: 1.36rem;
    font-weight: 700;
}

.dashboard-kpi .btn {
    min-height: 2.45rem;
    padding-inline: 0.95rem;
}

.page-shell--agent .card.mt-4 {
    margin-top: 0.8rem !important;
}

/* Extranet/Agent density pass v2: tighter vertical rhythm + non-stretched KPI cards */
.page-shell--agent {
    padding-top: clamp(0.9rem, 1.8vw, 1.3rem) !important;
    padding-bottom: clamp(1rem, 2vw, 1.45rem) !important;
}

.page-shell--agent .container {
    gap: 0.6rem !important;
}

.page-shell--agent .breadcrumb {
    margin-bottom: 0 !important;
}

.page-shell--agent .private-mini-hero {
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.page-shell--agent .private-mini-hero__content {
    gap: 0.36rem !important;
}

.page-shell--agent .private-mini-hero__title {
    margin: 0 !important;
    color: var(--color-text-heading) !important;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem) !important;
    line-height: 1.08 !important;
}

.page-shell--agent .private-mini-hero__title .hero-title-line {
    margin-inline: 0 !important;
    width: auto !important;
    white-space: normal !important;
}

.page-shell--agent .private-mini-hero__lead {
    margin: 0 !important;
    max-width: 74ch !important;
    color: rgba(var(--rdg-ink-rgb), 0.74) !important;
    font-size: 1.06rem !important;
    line-height: 1.5 !important;
}

.page-shell--agent .private-mini-hero__kicker {
    margin: 0 !important;
    color: var(--rdg-orange-road) !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.page-shell--agent .private-mini-hero__meta {
    margin: 0 !important;
    color: rgba(var(--rdg-ink-rgb), 0.7) !important;
    font-size: 0.95rem !important;
}

.page-shell--agent .private-mini-hero__search {
    margin-top: 0.3rem !important;
    min-height: 2.95rem !important;
    max-width: 44rem !important;
}

.page-shell--agent .dashboard-kpi {
    margin-top: 0.1rem !important;
    gap: 0.8rem !important;
    align-items: start !important;
}

.page-shell--agent .kpi-card {
    min-height: 0 !important;
    align-self: start !important;
    gap: 0.24rem !important;
    padding: 0.82rem 0.92rem !important;
}

.page-shell--agent .kpi-card__label {
    margin-bottom: 0.1rem !important;
}

.page-shell--agent .kpi-card__value {
    font-size: 1.26rem !important;
}

.page-shell--agent .kpi-card .btn {
    min-height: 2.25rem !important;
    padding-inline: 0.86rem !important;
}

.page-shell--agent .kpi-card .mt-2 {
    margin-top: 0.42rem !important;
}

.favorite-action-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 1.5rem;
    min-width: 1.5rem;
    height: 1.5rem;
    min-height: 1.5rem;
    padding: 0;
    display: inline-grid;
    place-items: center;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.24);
    border-radius: 0.36rem;
    color: rgba(var(--rdg-text-rgb), 0.82);
    background: rgba(var(--rdg-bg-rgb), 0.9);
    cursor: pointer;
    opacity: 0.88;
    box-shadow: none;
    transition: opacity var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.favorite-action-btn:hover,
.favorite-action-btn:focus-visible {
    opacity: 1;
    border-color: rgba(var(--rdg-orange-road-rgb), 0.55);
    background: var(--color-bg-default);
    color: var(--color-text-heading);
    outline: none;
}

.favorite-action-btn svg {
    width: 0.65rem;
    height: 0.65rem;
    display: block;
    pointer-events: none;
}

.favorite-catalog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.2rem, 1fr));
    gap: 0.8rem;
}

.favorite-catalog-card {
    padding: 0 !important;
    border: 1px solid rgba(var(--rdg-orange-road-rgb), 0.24) !important;
    border-radius: 0.64rem !important;
    overflow: hidden;
    background: var(--color-bg-default) !important;
    box-shadow: 0 4px 12px rgba(var(--rdg-ink-rgb), 0.06);
    gap: 0 !important;
}

.favorite-catalog-card__mini {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.54rem 0.74rem 0;
}

.favorite-catalog-card__thumb {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.38rem;
    object-fit: cover;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.09);
    background: var(--color-bg-surface-alt);
}

.favorite-catalog-card__thumb-fallback {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.38rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.09);
    background: linear-gradient(135deg, rgba(var(--rdg-orange-road-rgb), 0.18), rgba(var(--rdg-sky-rgb), 0.14));
}

.favorite-catalog-card .catalog-card__category-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.22rem;
    padding: 0.1rem 0.42rem;
    border-radius: 0.38rem;
    background: var(--rdg-blue);
    color: var(--color-bg-default);
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.1;
}

.favorite-catalog-card .catalog-card__body {
    display: grid;
    gap: 0.52rem;
    padding: 0.44rem 0.74rem 0.72rem;
}

.favorite-catalog-card .card__title {
    margin: 0 !important;
    color: var(--color-text-heading);
    font-size: 0.95rem;
    line-height: 1.3;
}

.favorite-catalog-card .card__title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.favorite-catalog-card .card__title a:hover,
.favorite-catalog-card .card__title a:focus-visible {
    text-decoration: underline;
}

.favorite-catalog-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
}

.favorite-catalog-card__actions form {
    margin: 0;
}

.favorite-catalog-card__link {
    color: var(--rdg-orange-road);
    font-size: 0.82rem;
    font-weight: 760;
    text-decoration: underline;
    text-underline-offset: 0.16rem;
}

.private-mini-hero__kicker:empty {
    display: none;
}

.extranet-layout {
    display: grid;
    grid-template-columns: minmax(15.5rem, 1fr) minmax(0, 3fr);
    align-items: start;
    gap: clamp(1rem, 2vw, 1.7rem);
}

.extranet-layout__sidebar {
    min-width: 0;
}

.extranet-layout__main {
    min-width: 0;
}

.extranet-layout__main .card.mt-4 {
    margin-top: var(--spacing-2) !important;
}

.extranet-layout__main .card.mt-4:first-child {
    margin-top: 0 !important;
}

.extranet-sidebar-actions {
    display: grid;
    gap: 0.72rem;
    width: 100%;
    max-width: 18rem;
}

.extranet-sidebar-actions .btn {
    width: 100%;
    min-width: 0;
}

.extranet-section-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    margin: 0;
}

.extranet-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-bottom: 0.95rem;
}

.extranet-section-link {
    color: var(--rdg-orange-road);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.extranet-section-link:hover,
.extranet-section-link:focus-visible {
    text-decoration: underline;
}

.extranet-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.85rem;
    height: 1.45rem;
    padding: 0 0.46rem;
    border-radius: 999px;
    background: rgba(var(--rdg-orange-road-rgb), 0.16);
    border: 1px solid rgba(var(--rdg-orange-road-rgb), 0.4);
    color: var(--color-text-heading);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.extranet-page .main {
    padding-top: clamp(1.4rem, 2vw, 2rem);
}

.extranet-page .page-shell--agent {
    padding-top: 1rem !important;
    padding-bottom: 1.75rem !important;
    background: var(--color-bg-surface-alt);
}

.extranet-page .page-shell--agent .container {
    gap: 1.35rem !important;
}

.extranet-page .private-mini-hero {
    margin: 0 !important;
    padding: 2rem 1.75rem 1.8rem !important;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.08) !important;
    border-radius: 0.3rem !important;
    background: linear-gradient(135deg, var(--rdg-ink) 0%, var(--rdg-blue-deep) 100%) !important;
    box-shadow: none !important;
}

.extranet-page .private-mini-hero__content {
    gap: 1.35rem !important;
}

.extranet-page .private-mini-hero__intro {
    display: grid;
    gap: 0.8rem;
    justify-items: start;
    text-align: left;
}

.extranet-page .private-mini-hero__title,
.extranet-page .private-mini-hero__title .hero-title-line {
    margin: 0 !important;
    color: var(--color-bg-default) !important;
    width: auto !important;
    white-space: normal !important;
    text-align: left !important;
    font-size: clamp(2.05rem, 3.2vw, 2.9rem) !important;
    line-height: 1.08 !important;
}

.extranet-page .private-mini-hero__lead {
    max-width: 60rem !important;
    color: rgba(var(--rdg-bg-rgb), 0.92) !important;
    font-size: 1.08rem !important;
    line-height: 1.6 !important;
}

.extranet-page .private-mini-hero__meta {
    max-width: 52rem !important;
    color: rgba(var(--rdg-bg-rgb), 0.78) !important;
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
}

.extranet-page .private-mini-hero__search-wrap {
    margin-top: 0.5rem;
}

.extranet-page .private-mini-hero__search {
    width: min(100%, 50rem) !important;
    margin: 0 !important;
}

.search-bar--extranet {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 3.4rem;
    padding: 0.35rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.12);
    border-radius: 0.3rem;
    background: var(--color-bg-default);
    box-shadow: none;
}

.search-bar--extranet:focus-within {
    border-color: rgba(var(--rdg-blue-rgb), 0.7);
    box-shadow: 0 0 0 3px rgba(var(--rdg-blue-rgb), 0.12);
}

.search-bar--extranet .search-bar__input {
    padding-inline: 0.9rem;
    font-size: 0.98rem;
    font-weight: 500;
}

.search-bar--extranet .search-bar__input::placeholder {
    color: var(--color-text-muted);
}

.private-mini-hero__submit.btn {
    min-height: 2.7rem;
    padding-inline: 1rem;
    border-radius: 0.18rem;
}

.extranet-leader {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 1rem;
    align-items: stretch;
}

.extranet-leader__intro {
    display: grid;
    gap: 0.45rem;
    padding: 1.2rem 1.35rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.08);
    background: var(--color-bg-default);
}

.extranet-leader__eyebrow {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.extranet-leader__title {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.1;
}

.extranet-leader__text {
    margin: 0;
    color: var(--color-text-muted);
    max-width: 42rem;
}

.extranet-leader__stats.dashboard-kpi {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
    margin-top: 0;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.08);
    background: var(--color-bg-default);
}

.extranet-page .kpi-card {
    min-height: 0 !important;
    gap: 0.2rem !important;
    padding: 1.15rem 1.2rem !important;
    border: 0 !important;
    border-right: 1px solid rgba(var(--rdg-ink-rgb), 0.08) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.extranet-page .kpi-card:last-child {
    border-right: 0 !important;
}

.extranet-page .kpi-card__label {
    color: var(--color-text-muted) !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.04em !important;
}

.extranet-page .kpi-card__value {
    font-size: 2rem !important;
    line-height: 1 !important;
}

.kpi-card__meta {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.84rem;
}

.extranet-layout {
    grid-template-columns: minmax(16rem, 18rem) minmax(0, 1fr);
    gap: 1rem;
}

.extranet-layout__sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.extranet-rail-card {
    padding: 1.1rem !important;
}

.extranet-rail-card__header {
    margin-bottom: 0.9rem;
}

.extranet-page .card {
    border-radius: 0.28rem !important;
    box-shadow: none !important;
}

.extranet-page .extranet-layout__main .card.mt-4,
.extranet-page .extranet-layout__main .card.mt-4:first-child {
    margin-top: 0 !important;
}

.extranet-layout__main {
    display: grid;
    gap: 1rem;
}

.extranet-sidebar-actions {
    max-width: none;
    gap: 0.6rem;
}

.extranet-sidebar-actions .btn {
    justify-content: center;
    border-radius: 0.22rem;
}

.extranet-account-summary {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.extranet-account-summary div {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(var(--rdg-ink-rgb), 0.08);
}

.extranet-account-summary div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.extranet-account-summary dt {
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.extranet-account-summary dd {
    margin: 0;
    color: var(--color-text-heading);
    font-weight: 600;
}

.extranet-section-heading {
    gap: 0.45rem;
}

.extranet-section-header {
    margin-bottom: 1rem;
}

.extranet-section-link {
    color: var(--color-link);
    font-size: 0.84rem;
}

.extranet-count-badge {
    min-width: 1.7rem;
    height: 1.35rem;
    border: 0;
    border-radius: 999px;
    background: var(--color-bg-surface-alt);
    color: var(--color-text-default);
}

.extranet-empty-copy {
    margin: 0;
    color: var(--color-text-muted);
}

.favorite-catalog-list {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 0.75rem;
}

.favorite-catalog-card {
    display: grid;
    gap: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.08) !important;
    border-radius: 0.25rem !important;
    background: var(--color-bg-default) !important;
}

.favorite-catalog-card__main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    padding: 1rem 1rem 0.8rem;
}

.favorite-catalog-card__media {
    display: flex;
}

.favorite-catalog-card__thumb,
.favorite-catalog-card__thumb-fallback {
    width: 3rem;
    height: 3rem;
    border-radius: 0.2rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.08);
}

.favorite-catalog-card__thumb-fallback {
    background: var(--color-bg-surface-alt);
}

.favorite-catalog-card .catalog-card__body {
    gap: 0.3rem;
    padding: 0;
}

.favorite-catalog-card__kind {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.favorite-catalog-card .card__title {
    color: var(--rdg-ink);
    font-size: 1rem;
}

.favorite-catalog-card__actions {
    justify-content: space-between;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(var(--rdg-ink-rgb), 0.08);
}

.favorite-catalog-card__link {
    color: var(--color-link);
    font-size: 0.84rem;
}

.favorite-action-btn {
    width: 1.9rem;
    min-width: 1.9rem;
    height: 1.9rem;
    min-height: 1.9rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.16);
    border-radius: 0.2rem;
    background: var(--color-bg-default);
    color: var(--color-text-muted);
}

.favorite-action-btn svg {
    width: 0.82rem;
    height: 0.82rem;
}

.extranet-page .table--data thead th {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.extranet-page .table--data tbody td {
    vertical-align: top;
}

.page-shell--extranet-home {
    padding-top: clamp(3.6rem, 6vw, 5.4rem) !important;
    padding-bottom: 2.25rem !important;
}

.page-shell--extranet-home > .container {
    display: grid;
    gap: 1.5rem !important;
}

.page-shell--extranet-home .private-mini-hero--extranet {
    margin: 0 !important;
    padding: 2.6rem 2.1rem 2.1rem !important;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.08) !important;
    border-radius: 0.35rem !important;
    background: linear-gradient(180deg, var(--color-bg-default) 0%, var(--color-bg-surface-alt) 100%) !important;
    box-shadow: 0 10px 24px rgba(var(--rdg-ink-rgb), 0.04) !important;
}

.page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__content {
    display: grid !important;
    gap: 1.45rem !important;
}

.page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__intro {
    display: grid;
    gap: 0.9rem;
    max-width: 56rem;
}

.page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__title,
.page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__title .hero-title-line {
    margin: 0 !important;
    padding-top: 0.85rem !important;
    color: var(--color-text-heading) !important;
    font-size: clamp(2.2rem, 3.8vw, 3.35rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
}

.page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__lead {
    margin: 0 !important;
    max-width: 48rem !important;
    color: var(--color-text-default) !important;
    font-size: 1.2rem !important;
    line-height: 1.55 !important;
}

.page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__meta {
    margin: 0 !important;
    max-width: 48rem !important;
    color: var(--color-text-muted) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

.page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__search-wrap {
    margin-top: 0.4rem !important;
}

.page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__search {
    width: min(100%, 54rem) !important;
    margin: 0 !important;
}

.page-shell--extranet-home .search-bar--extranet {
    min-height: 4.2rem !important;
    padding: 0.4rem !important;
    border: 1px solid var(--color-border-default) !important;
    border-radius: 0.45rem !important;
    background: var(--color-bg-default) !important;
    box-shadow: none !important;
}

.page-shell--extranet-home .search-bar--extranet .search-bar__input {
    padding-inline: 1.15rem !important;
    font-size: 1.12rem !important;
    color: var(--color-text-heading) !important;
}

.page-shell--extranet-home .private-mini-hero__submit.btn {
    min-height: 3.3rem !important;
    padding-inline: 1.3rem !important;
    border-radius: 0.35rem !important;
}

.page-shell--extranet-home .extranet-leader--home {
    gap: 1.15rem;
}

.page-shell--extranet-home .extranet-leader__intro,
.page-shell--extranet-home .extranet-leader__stats,
.page-shell--extranet-home .extranet-rail-card,
.page-shell--extranet-home .extranet-layout__main > .card {
    border-radius: 0.35rem !important;
}

.page-shell--extranet-home .extranet-layout {
    grid-template-columns: minmax(17rem, 18.5rem) minmax(0, 1fr) !important;
    gap: 1.15rem !important;
}

.page-shell--extranet-home .extranet-layout__main {
    gap: 1.15rem !important;
}

.page-shell--extranet-home .extranet-layout__main > .card {
    padding: 1.35rem 1.4rem !important;
}

.page-shell--extranet-home .extranet-section-header {
    margin-bottom: 1.15rem !important;
}

.page-shell--extranet-home .favorite-catalog-list--extranet {
    grid-template-columns: repeat(auto-fit, minmax(18.5rem, 1fr)) !important;
    gap: 0.95rem !important;
}

.page-shell--extranet-home .favorite-catalog-card {
    display: grid !important;
    grid-template-rows: 1fr auto;
    min-height: 100%;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.08) !important;
    border-radius: 0.35rem !important;
    background: var(--color-bg-default) !important;
    box-shadow: none !important;
    overflow: hidden;
}

.page-shell--extranet-home .favorite-catalog-card__main {
    grid-template-columns: 3.4rem minmax(0, 1fr) !important;
    gap: 0.95rem !important;
    padding: 1.2rem 1.2rem 1rem !important;
    align-items: start !important;
}

.page-shell--extranet-home .favorite-catalog-card__thumb,
.page-shell--extranet-home .favorite-catalog-card__thumb-fallback {
    width: 3.4rem !important;
    height: 3.4rem !important;
    border-radius: 0.25rem !important;
}

.page-shell--extranet-home .favorite-catalog-card__kind {
    margin: 0 0 0.3rem 0 !important;
    font-size: 0.74rem !important;
}

.page-shell--extranet-home .favorite-catalog-card .card__title {
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
}

.page-shell--extranet-home .favorite-catalog-card .card__title a {
    color: var(--rdg-ink) !important;
    text-decoration: none !important;
}

.page-shell--extranet-home .favorite-catalog-card .card__title a:hover,
.page-shell--extranet-home .favorite-catalog-card .card__title a:focus-visible {
    text-decoration: underline !important;
}

.page-shell--extranet-home .favorite-catalog-card__actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.8rem !important;
    padding: 1rem 1.2rem 1.15rem !important;
    border-top: 1px solid rgba(var(--rdg-ink-rgb), 0.08) !important;
}

.page-shell--extranet-home .favorite-catalog-card__link {
    font-size: 0.86rem !important;
    font-weight: 700 !important;
}

.page-shell--extranet-home .table-wrap {
    margin-top: 0.15rem;
}

@media (max-width: 63.99em) {
    .extranet-leader,
    .extranet-layout,
    .page-shell--extranet-home .extranet-layout {
        grid-template-columns: 1fr;
    }

    .extranet-page .kpi-card {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(var(--rdg-ink-rgb), 0.08) !important;
    }

    .extranet-page .kpi-card:last-child {
        border-bottom: 0 !important;
    }
}

@media (max-width: 55.99em) {
    .extranet-page .private-mini-hero {
        padding: 1.4rem 1.1rem 1.3rem !important;
    }

    .page-shell--extranet-home {
        padding-top: 2.2rem !important;
    }

    .page-shell--extranet-home .private-mini-hero--extranet {
        padding: 1.7rem 1.1rem 1.35rem !important;
    }

    .page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__title,
    .page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__title .hero-title-line {
        font-size: clamp(1.95rem, 8vw, 2.45rem) !important;
    }

    .page-shell--extranet-home .private-mini-hero--extranet .private-mini-hero__lead {
        font-size: 1.05rem !important;
    }

    .page-shell--extranet-home .search-bar--extranet {
        min-height: 3.55rem !important;
    }

    .page-shell--extranet-home .private-mini-hero__submit.btn {
        min-height: 2.8rem !important;
    }

    .extranet-section-header {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .favorite-catalog-list {
        grid-template-columns: 1fr;
    }

    .favorite-catalog-card__main {
        grid-template-columns: auto minmax(0, 1fr);
    }
}

.form-panel > form {
    display: grid;
    gap: var(--spacing-2);
}

.form-panel > form > div {
    margin: 0;
}

.form-panel .form-error-message,
.form-panel ul li {
    color: var(--color-danger);
}

.form-panel input[type='checkbox'] + label,
.form-panel input[type='radio'] + label {
    display: inline;
    margin-left: 0.4rem;
}

.request-intro-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-3);
}

.request-intro-card__actions,
.request-form-shell__actions {
    display: flex;
    gap: var(--spacing-2);
    flex-wrap: wrap;
}

.request-form-layout {
    display: grid;
    gap: var(--spacing-3);
}

.request-form-section {
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(var(--rdg-bg-rgb), 0.98), rgba(var(--rdg-bg-rgb), 0.9));
    box-shadow: 0 10px 24px rgba(var(--rdg-ink-rgb), 0.04);
}

.request-form-section__head {
    margin-bottom: var(--spacing-2);
}

.request-form-section__title {
    margin: 0;
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.request-form-section__intro {
    margin: 0.35rem 0 0;
    color: var(--color-text-muted);
}

.request-form-section--consent {
    padding: 0.95rem 1rem;
    background: linear-gradient(180deg, rgba(var(--rdg-bg-rgb), 0.98), rgba(var(--rdg-bg-rgb), 0.92));
}

.request-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-2) var(--spacing-3);
    align-items: start;
}

.request-form-grid > div {
    min-width: 0;
}

.request-form-grid__full {
    grid-column: 1 / -1;
}

.request-form-grid .form-row {
    height: 100%;
    margin-bottom: 0;
}

.request-form-grid .form-row label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: var(--color-text-heading);
}

.request-form-grid .form-row .help-text {
    display: block;
    margin-top: 0.45rem;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.request-form-grid .form-row ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.request-form-grid .form-row ul li {
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    background: var(--color-bg-default);
}

.request-form-grid .form-row input[type='checkbox'] + label,
.request-form-grid .form-row input[type='radio'] + label {
    margin-left: 0.55rem;
    font-weight: 500;
}

.request-form-grid .form-row--consent {
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr);
    grid-template-areas:
        'checkbox label'
        '. help';
    column-gap: 0.85rem;
    row-gap: 0.45rem;
    align-items: start;
    padding: 0;
}

.request-form-grid .form-row--consent input[type='checkbox'] {
    grid-area: checkbox;
    margin: 0.18rem 0 0;
    justify-self: start;
    align-self: start;
}

.request-form-grid .form-row--consent label {
    grid-area: label;
    display: block;
    margin: 0;
    padding: 0;
    font-size: 0.94rem;
    line-height: 1.45;
    font-weight: 600;
}

.request-form-grid .form-row--consent .help-text {
    grid-area: help;
    margin-top: 0;
    padding-left: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.request-form-grid .form-row--consent .help-text a {
    color: inherit;
    text-decoration-thickness: 1px;
}

.request-form-grid .form-row:has(textarea),
.request-form-grid .form-row:has(.checkbox-group),
.request-form-grid .form-row:has(.radio-group) {
    align-self: stretch;
}

.request-form-shell {
    gap: var(--spacing-3);
}

.request-form-shell__legal {
    padding: var(--spacing-2);
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    background: var(--color-bg-surface-alt);
}

.request-form-shell__legal p {
    margin: 0 0 0.75rem;
}

.request-form-shell__legal p:last-child {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .request-form-section {
        padding: 0.95rem;
    }

    .request-form-section--consent {
        padding: 0.9rem;
    }

    .request-form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2);
    }

    .request-form-grid__full {
        grid-column: auto;
    }
}

.extranet-modal {
    width: min(42rem, calc(100% - 2rem));
    border: 0;
    border-radius: var(--radius-md);
    padding: 0;
    background: var(--color-bg-default);
    box-shadow: 0 28px 70px rgba(var(--rdg-ink-rgb), 0.22);
}

.extranet-modal::backdrop {
    background: rgba(var(--rdg-ink-rgb), 0.52);
    backdrop-filter: blur(2px);
}

.extranet-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 1rem 1.05rem 0.8rem;
    border-bottom: 1px solid var(--color-border-default);
}

.extranet-modal__head .h4 {
    margin: 0;
}

.extranet-modal__close {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-pill);
    background: var(--color-bg-surface);
    color: var(--color-text-heading);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.extranet-modal__body {
    padding: 1rem 1.05rem 1.1rem;
}

.extranet-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-top: 0.35rem;
}

.auth-panel {
    max-width: 32rem;
    margin-inline: auto;
}

/* Legal and long-form content */
.legal-content,
.rich-content {
    max-width: var(--layout-max-width-content);
}

.rich-content a,
.legal-content a {
    font-weight: 700;
}

.rich-content h2,
.legal-content h2,
.rich-content h3,
.legal-content h3,
.rich-content h4,
.legal-content h4 {
    color: var(--color-text-heading);
}

.rich-content table,
.legal-content table,
.rich-content .pf-table,
.legal-content .pf-table {
    width: 100%;
    margin: 0 0 1.4rem;
    border-collapse: collapse;
}

.rich-content table th,
.rich-content table td,
.legal-content table th,
.legal-content table td,
.rich-content .pf-table th,
.rich-content .pf-table td,
.legal-content .pf-table th,
.legal-content .pf-table td {
    padding: 0.72rem 0.88rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.12);
    vertical-align: top;
}

.rich-content table thead th,
.legal-content table thead th,
.rich-content .pf-table thead th,
.legal-content .pf-table thead th {
    background: rgba(var(--rdg-orange-road-rgb), 0.08);
}

.rich-content .pf-table--compact th,
.rich-content .pf-table--compact td,
.legal-content .pf-table--compact th,
.legal-content .pf-table--compact td {
    padding: 0.48rem 0.6rem;
}

.rich-content .pf-table--striped tbody tr:nth-child(even),
.legal-content .pf-table--striped tbody tr:nth-child(even) {
    background: rgba(var(--rdg-ink-rgb), 0.03);
}

.rich-content .pf-lead,
.legal-content .pf-lead {
    font-size: 1.12rem;
    font-weight: 500;
}

.rich-content .pf-highlight,
.legal-content .pf-highlight {
    padding: 0.08rem 0.28rem;
    background: rgba(var(--rdg-orange-road-rgb), 0.12);
}

.rich-content .pf-callout,
.legal-content .pf-callout,
.rich-content .pf-card,
.legal-content .pf-card {
    margin: 0 0 1.2rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.12);
    background: var(--color-bg-default);
}

.rich-content .pf-callout--accent,
.legal-content .pf-callout--accent {
    border-left: 4px solid var(--rdg-orange-road);
    background: rgba(var(--rdg-orange-road-rgb), 0.04);
}

.rich-content .pf-callout--muted,
.legal-content .pf-callout--muted {
    background: rgba(var(--rdg-ink-rgb), 0.03);
}

.rich-content .pf-columns,
.legal-content .pf-columns,
.rich-content .pf-kpis,
.legal-content .pf-kpis {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.2rem;
}

.rich-content .pf-columns--2,
.legal-content .pf-columns--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rich-content .pf-columns--3,
.legal-content .pf-columns--3,
.rich-content .pf-kpis,
.legal-content .pf-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rich-content .pf-steps,
.legal-content .pf-steps {
    display: grid;
    gap: 0.9rem;
    margin: 0 0 1.2rem;
}

.rich-content .pf-step,
.legal-content .pf-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.12);
    background: var(--color-bg-default);
}

.rich-content .pf-step__index,
.legal-content .pf-step__index,
.rich-content .pf-kpi strong,
.legal-content .pf-kpi strong {
    color: var(--rdg-orange-road);
    font-weight: 700;
}

.rich-content .pf-step__index,
.legal-content .pf-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(var(--rdg-orange-road-rgb), 0.1);
}

.rich-content .pf-kpi,
.legal-content .pf-kpi {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.12);
    background: var(--color-bg-default);
}

.rich-content img.pf-media-left,
.rich-content figure.pf-media-left,
.legal-content img.pf-media-left,
.legal-content figure.pf-media-left {
    float: left;
    width: min(44%, 22rem);
    margin: 0.35rem 1.25rem 1rem 0;
}

.rich-content img.pf-media-right,
.rich-content figure.pf-media-right,
.legal-content img.pf-media-right,
.legal-content figure.pf-media-right {
    float: right;
    width: min(44%, 22rem);
    margin: 0.35rem 0 1rem 1.25rem;
}

.rich-content img.pf-media-center,
.rich-content figure.pf-media-center,
.legal-content img.pf-media-center,
.legal-content figure.pf-media-center {
    display: block;
    margin: 1rem auto;
}

.rich-content img.pf-media-full,
.rich-content figure.pf-media-full,
.legal-content img.pf-media-full,
.legal-content figure.pf-media-full {
    display: block;
    width: 100%;
    margin: 1rem 0;
}

.rich-content img.pf-media-framed,
.rich-content figure.pf-media-framed,
.legal-content img.pf-media-framed,
.legal-content figure.pf-media-framed {
    padding: 0.4rem;
    border: 1px solid rgba(var(--rdg-ink-rgb), 0.12);
    background: var(--color-bg-default);
}

@media (max-width: 900px) {
    .rich-content .pf-columns--2,
    .legal-content .pf-columns--2,
    .rich-content .pf-columns--3,
    .legal-content .pf-columns--3,
    .rich-content .pf-kpis,
    .legal-content .pf-kpis {
        grid-template-columns: 1fr;
    }

    .rich-content img.pf-media-left,
    .rich-content figure.pf-media-left,
    .rich-content img.pf-media-right,
    .rich-content figure.pf-media-right,
    .legal-content img.pf-media-left,
    .legal-content figure.pf-media-left,
    .legal-content img.pf-media-right,
    .legal-content figure.pf-media-right {
        float: none;
        width: 100%;
        margin: 1rem 0;
    }
}

/* Presentation page */
.page-shell--presentation .container--content {
    width: calc(100% - 3rem);
    max-width: none;
}

.page-shell--presentation {
    background: var(--color-bg-default);
}

.public-page--presentation .main {
    padding-bottom: 0;
}

.public-page--presentation .page-shell--presentation {
    padding-bottom: 0;
}

.public-page--presentation .site-footer {
    margin-top: 0;
}

.presentation-layout {
    display: grid;
    grid-template-columns: minmax(12.5rem, 15rem) minmax(0, 1fr);
    gap: clamp(1.5rem, 2.2vw, 2.5rem);
    align-items: start;
}

.presentation-sidebar {
    position: sticky;
    top: calc(var(--site-header-height) + 1rem);
    padding-top: 0.2rem;
    border: 0 !important;
    outline: 0;
    box-shadow: none;
    background: transparent;
}

.presentation-sidebar__title {
    margin: 0 0 0.8rem;
    color: rgba(var(--rdg-green-rgb), 0.88);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.presentation-sidebar__nav {
    display: grid;
    gap: 0.18rem;
    padding-left: 0.75rem;
    border-left: 0;
    border: 0 !important;
    outline: 0;
    box-shadow: none;
    background: transparent;
}

.presentation-sidebar__link {
    display: block;
    padding: 0.34rem 0.15rem;
    color: var(--color-text-subtle);
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.32;
    text-decoration: none;
    border-radius: 0.2rem;
    transition: color var(--transition-fast), background-color var(--transition-fast);
    border: 0 !important;
    outline: 0;
    box-shadow: none;
}

.presentation-sidebar__link:hover,
.presentation-sidebar__link:focus-visible {
    color: var(--color-text-default);
    background: rgba(var(--rdg-green-rgb), 0.08);
}

.presentation-flow {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-bottom: 0.8rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.presentation-welcome {
    margin-bottom: 2rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.presentation-welcome__eyebrow {
    margin: 0 0 0.45rem;
    color: var(--color-text-subtle);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.presentation-welcome h1 {
    margin-bottom: 0.9rem;
    color: var(--color-text-heading);
    font-size: clamp(1.9rem, 3.3vw, 2.75rem);
    line-height: 1.1;
}

.presentation-welcome p {
    max-width: none;
    margin-bottom: 0.85rem;
    color: var(--color-text-default);
    font-size: 1.03rem;
    line-height: 1.72;
}

.presentation-welcome__lead {
    color: var(--color-text-heading);
    font-size: 1.1rem;
    line-height: 1.66;
}

.sigr-org-card {
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    background: var(--color-surface-muted);
}

.sigr-org-card__title {
    margin: 0 0 0.85rem;
    color: var(--color-text-heading);
    font-weight: 800;
}

.sigr-org-card__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.65rem;
}

.sigr-org-card__grid span {
    display: block;
    padding: 0.65rem 0.75rem;
    border-left: 4px solid var(--rdg-green);
    background: var(--color-bg-default);
    color: var(--color-text-heading);
    font-weight: 700;
}

.presentation-section {
    margin-top: 2.25rem;
    padding-top: 0;
    border-top: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.page-shell--presentation .presentation-flow > *,
.page-shell--presentation .presentation-flow p,
.page-shell--presentation .presentation-flow ul,
.page-shell--presentation .presentation-flow li {
    background: transparent;
    box-shadow: none;
}

.presentation-section h2 {
    margin-bottom: 0.95rem;
    color: var(--color-text-heading);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.2;
}

.presentation-section p {
    margin-bottom: 0.9rem;
    color: var(--color-text-default);
    font-size: 1.03rem;
    line-height: 1.72;
}

.presentation-list {
    margin: 0.95rem 0 1.1rem;
    padding-left: 0;
    list-style: none;
}

.presentation-list li {
    position: relative;
    padding-left: 1.15rem;
}

.presentation-list li::before {
    content: '';
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--rdg-green);
}

.presentation-list li + li {
    margin-top: 0.44rem;
}

.presentation-partner-list {
    margin: 0.95rem 0 0.8rem;
    padding-left: 0;
    list-style: none;
}

.presentation-partner-list li {
    position: relative;
    padding-left: 1.15rem;
}

.presentation-partner-list li::before {
    content: '';
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--rdg-green);
}

.presentation-partner-list li + li {
    margin-top: 0.48rem;
}

.presentation-welcome__actions,
.presentation-section__link {
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.presentation-welcome__actions a,
.presentation-section__link a {
    color: var(--color-text-heading);
    font-weight: 600;
    text-decoration-color: rgba(var(--rdg-green-rgb), 0.85);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.24rem;
}

.home-feder-badge {
    position: absolute;
    top: clamp(5.75rem, 8.5vw, 7.1rem);
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(9.75rem, 13vw, 12rem);
    margin: 0;
    padding: clamp(0.9rem, 1.425vw, 1.275rem) clamp(0.9rem, 1.425vw, 1.275rem) clamp(0.9rem, 1.425vw, 1.275rem) clamp(0.63rem, 1.05vw, 0.87rem);
    border: 0;
    border-radius: 1.1rem 0 0 1.1rem;
    background: rgba(var(--rdg-bg-rgb), 0.82);
    box-shadow: 0 18px 40px rgba(var(--rdg-ink-rgb), 0.12);
    backdrop-filter: blur(8px);
    transform: translateX(0);
    pointer-events: none;
}

.home-feder-badge img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    filter: none;
}

.home-feder-badge p {
    margin: 0;
    color: var(--color-text-heading);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.4;
}

@media (max-width: 1040px) {
    .home-feder-badge {
        top: 5.35rem;
        width: clamp(8.25rem, 19vw, 9.75rem);
        padding: 0.87rem 0.87rem 0.87rem 0.51rem;
        transform: translateX(0);
    }
}

@media (max-width: 720px) {
    .home-feder-badge {
        position: absolute;
        top: 4.95rem;
        right: 0;
        width: 6.4rem;
        padding: 0.63rem 0.63rem 0.63rem 0.36rem;
        margin-bottom: 0;
        border-radius: 0.8rem 0 0 0.8rem;
        transform: translateX(0);
    }

    .hero__content {
        padding-top: 8rem;
    }
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.theme-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 100%;
    padding: 1.1rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    background: var(--color-bg-default);
    box-shadow: var(--shadow-sm);
}

.theme-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.8rem;
    width: 2.8rem;
    height: 2.8rem;
    max-width: 2.8rem;
    max-height: 2.8rem;
    overflow: hidden;
    border-radius: 999px;
    color: var(--rdg-blue-deep);
    background: rgba(var(--rdg-sky-rgb), 0.14);
}

.theme-card__icon.theme-card__icon--compact svg,
.theme-card .theme-card__icon svg {
    display: block;
    flex: 0 0 1.35rem;
    width: 1.35rem !important;
    height: 1.35rem !important;
    max-width: 1.35rem !important;
    max-height: 1.35rem !important;
}

.theme-card h2 {
    margin: 0;
    color: var(--color-text-heading);
    font-size: 1.12rem;
    line-height: 1.25;
}

.theme-card p {
    margin: 0;
    color: var(--color-text-default);
    line-height: 1.55;
}

.theme-card a {
    margin-top: auto;
    color: var(--rdg-blue-deep);
    font-weight: 800;
    text-decoration-color: var(--rdg-green);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.22rem;
}

.feder-compliance-block {
    padding: 1.25rem;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.14);
    border-radius: var(--radius-md);
    background: var(--color-bg-default);
    box-shadow: var(--shadow-sm);
}

.feder-compliance-block__header {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    align-items: center;
}

.feder-compliance-block__header img {
    width: 7.5rem;
    height: auto;
}

.feder-facts {
    display: grid;
    gap: 0.75rem;
    margin: 1.1rem 0 0;
}

.feder-facts div {
    display: grid;
    grid-template-columns: minmax(150px, 0.4fr) 1fr;
    gap: 0.8rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--color-surface-muted);
}

.feder-facts dt {
    color: var(--color-text-heading);
    font-weight: 800;
}

.feder-facts dd {
    margin: 0;
    color: var(--color-text-default);
}

@media (max-width: 860px) {
    .presentation-layout {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .presentation-sidebar {
        position: static;
    }

    .presentation-sidebar__nav {
        grid-template-columns: 1fr;
    }

    .presentation-flow {
        max-width: 100%;
    }
}

/* Footer */
.site-footer {
    margin-top: var(--spacing-4);
    padding: var(--spacing-5) 0 var(--spacing-6);
    color: var(--color-text-inverse);
    background: var(--rdg-blue-deep);
}

.site-footer a {
    color: var(--color-text-inverse);
}

.site-footer a:hover {
    color: var(--color-brand-accent);
}

.site-footer__inner {
    width: min(var(--layout-max-width-footer), calc(100% - 3rem));
    margin-inline: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(226px, 1fr));
    gap: 1.15rem 1.35rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col__logo {
    width: 9rem;
    max-width: 100%;
    height: auto;
    border: 1px solid rgba(var(--rdg-bg-rgb), 0.24);
}

.footer-col__title {
    margin-bottom: 0;
    color: var(--color-text-inverse);
    font-size: 1.08rem;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.35rem;
}

.footer-logout-form {
    margin: 0;
}

.footer-link-button {
    padding: 0;
    border: 0;
    color: var(--color-text-inverse);
    background: transparent;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    cursor: pointer;
}

.footer-link-button:hover {
    color: var(--color-brand-accent);
    text-decoration: none;
}

.footer-meta {
    margin-top: var(--spacing-4);
    padding-top: var(--spacing-3);
    border-top: 1px solid rgba(var(--rdg-bg-rgb), 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.footer-note {
    margin: 0;
    color: rgba(var(--rdg-bg-rgb), 0.85);
    font-size: 0.94rem;
}

.footer-feder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    max-width: 58rem;
}

.footer-feder img {
    width: 4.5rem;
    height: auto;
    border-radius: 0.25rem;
    background: var(--color-bg-default);
}

.footer-cookie-link {
    padding: 0;
    border: 0;
    color: var(--color-brand-accent);
    background: transparent;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.24rem;
    cursor: pointer;
}

.footer-cookie-link:hover {
    color: var(--color-brand-accent);
    text-decoration: none;
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 1rem;
    pointer-events: none;
}

.cookie-consent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-overlay-soft);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.cookie-consent.is-open {
    pointer-events: auto;
}

.cookie-consent.is-open::before {
    opacity: 1;
}

.cookie-consent__manage {
    display: none !important;
}

.cookie-consent__panel {
    position: relative;
    width: min(100%, 52rem);
    max-height: min(42rem, calc(100vh - 2rem));
    overflow: auto;
    padding: var(--spacing-3);
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--color-bg-default);
}

.cookie-consent__panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-2);
}

.cookie-consent__panel h2 {
    margin-bottom: 0;
    font-size: var(--font-size-h5);
}

.cookie-consent__eyebrow {
    margin: 0 0 0.25rem 0;
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-consent__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    width: 2.2rem;
    padding: 0;
    border: 1px solid var(--color-border-default);
    border-radius: 999px;
    color: var(--color-text-heading);
    background: transparent;
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.cookie-consent__close:hover {
    background: var(--color-bg-surface-alt);
    border-color: var(--color-border-strong);
}

.cookie-consent__close:focus-visible {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 2px;
}

.cookie-consent__panel p {
    margin-bottom: var(--spacing-2);
}

.cookie-consent__intro {
    margin-top: var(--spacing-2);
}

.cookie-consent__policy-link {
    margin-bottom: var(--spacing-3);
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.cookie-consent__main-actions .btn:not(.btn-link) {
    flex: 1 1 12rem;
}

.cookie-consent__details fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
}

.cookie-consent__details legend {
    padding: 0 0.35rem;
    color: var(--color-text-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

.cookie-consent__choice {
    display: block;
    margin-top: 0.75rem;
    padding: 0.9rem;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    background: var(--color-bg-surface);
}

.cookie-consent__choice-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 1.6rem;
}

.cookie-consent__choice input {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    accent-color: var(--rdg-blue);
}

.cookie-consent__choice label {
    margin: 0;
    color: var(--color-text-heading);
    font-weight: 700;
}

.cookie-consent__choice p {
    margin: 0.45rem 0 0 1.7rem;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.cookie-consent__badge {
    margin-left: auto;
    padding: 0.2rem 0.48rem;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.22);
    border-radius: 999px;
    color: var(--rdg-blue);
    background: rgba(var(--rdg-blue-rgb), 0.08);
    font-size: 0.76rem;
    font-weight: 760;
    white-space: nowrap;
}

/* Helpers */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-text-inverse);
}

.text-muted {
    color: var(--color-text-muted);
}

.mt-0 {
    margin-top: 0;
}

.mt-2 {
    margin-top: var(--spacing-2);
}

.mt-3 {
    margin-top: var(--spacing-3);
}

.mt-4 {
    margin-top: var(--spacing-4);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: var(--spacing-2);
}

.mb-3 {
    margin-bottom: var(--spacing-3);
}

.mb-5 {
    margin-bottom: var(--spacing-5);
}

.mb-7 {
    margin-bottom: var(--spacing-7);
}

.hidden {
    display: none !important;
}

/* Responsiveness */
@media (min-width: 64em) {
    .home-hero-search {
        margin-top: calc(-2.4rem - 83px);
    }

    .site-header__inner {
        flex-direction: row;
        align-items: center;
        min-height: 4.35rem;
        padding: 0 var(--spacing-3);
    }

    .main-nav-toggle {
        display: none;
    }

    .brand {
        position: relative;
        align-items: center;
        min-height: 3.2rem;
        padding-left: 5.4rem;
        gap: 0.58rem;
    }

    .brand__logo {
        position: absolute;
        left: 0;
        top: 50%;
        width: 5.1rem;
        transform: translateY(-28%);
    }

    .main-nav {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        align-self: center;
        gap: 1.15rem;
        border-top: 0;
        height: 54px;
        min-height: 54px;
        max-height: 54px;
        overflow: visible;
    }

    .main-nav[hidden] {
        display: flex !important;
    }

    .site-header.is-nav-collapsed .site-header__inner {
        min-height: 2.9rem;
    }

    .site-header.is-nav-collapsed {
        transform: translateY(0);
    }

    .site-header.is-nav-collapsed:focus-within,
    .site-header.is-nav-collapsed:hover,
    .site-header.is-nav-pinned {
        transform: translateY(0);
    }

    .site-header.is-nav-collapsed .brand {
        min-height: 2.45rem;
        padding-left: 4.2rem;
        gap: 0.35rem;
    }

    .site-header.is-nav-collapsed .brand__logo {
        width: 3.8rem;
        transform: translateY(-36%);
    }

    .site-header.is-nav-collapsed .brand__title {
        font-size: 1.02rem;
        line-height: 1.12;
    }

    .site-header.is-nav-collapsed .brand__subtitle {
        opacity: 0;
        max-height: 0;
        margin: 0;
        overflow: hidden;
    }

    .site-header.is-nav-collapsed .main-nav {
        justify-content: flex-end;
        height: 2.9rem;
        min-height: 2.9rem;
        max-height: 2.9rem;
        width: auto;
        min-width: 0;
        flex-basis: auto;
        margin: 0 0 0 auto;
        padding: 0;
        gap: 0.35rem;
        border-color: transparent;
        opacity: 1;
        overflow: visible;
        pointer-events: auto;
        transform: none;
    }

    .site-header.is-nav-collapsed .main-nav__link,
    .site-header.is-nav-collapsed .main-nav__separator {
        display: none;
    }

    .site-header.is-nav-collapsed .main-nav__icon-link,
    .site-header.is-nav-collapsed .main-nav__account,
    .site-header.is-nav-collapsed .main-nav__account-toggle {
        display: inline-flex;
        align-items: center;
        width: auto;
        min-width: 0;
        min-height: 2.9rem;
        height: 2.9rem;
        opacity: 1;
        pointer-events: auto;
    }

    .site-header.is-nav-collapsed .main-nav__icon-link {
        width: 2.9rem;
        min-width: 2.9rem;
    }

    .site-header.is-nav-collapsed .main-nav__account-toggle {
        padding-inline: 0.5rem;
    }

    .site-header.is-nav-collapsed .main-nav__icon-label {
        display: none;
    }

    .main-nav__link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        height: 54px;
        padding: 0;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.1;
    }

    .main-nav__icon-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        height: 54px;
        width: 54px;
        font-size: 1rem;
    }

    .main-nav__account-toggle {
        min-height: 54px;
        height: 54px;
        padding-inline: 0.55rem;
    }

    .main-nav__icon-link svg {
        width: 1.15rem;
        height: 1.15rem;
    }

    .main-nav__account-link,
    .main-nav__account-link--button {
        min-height: auto;
        height: auto;
    }

    .main-nav__link::after {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        height: 0;
        width: auto;
    }

    .main-nav__icon-link::after {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        height: 0;
        width: auto;
    }

    .main-nav__link:hover::after,
    .main-nav__link.is-active::after {
        height: 0.25rem;
        width: auto;
    }

    .main-nav__icon-link:hover::after,
    .main-nav__icon-link.is-active::after {
        height: 0.25rem;
        width: auto;
    }

    .main-nav__account.is-active .main-nav__account-toggle::after {
        height: 0.25rem;
        width: auto;
    }

    .hero {
        padding-inline: 0;
    }

    .hero--compact {
        --hero-padding-top: var(--spacing-7);
        --hero-padding-bottom: var(--spacing-7);
    }

    .hero--standard {
        --hero-padding-top: var(--spacing-9);
        --hero-padding-bottom: var(--spacing-9);
    }

    .hero--large {
        --hero-padding-top: var(--spacing-11);
        --hero-padding-bottom: var(--spacing-11);
    }

    .home-kpis {
        padding-top: var(--spacing-4);
        padding-bottom: var(--spacing-5);
    }

    .home-thematics {
        padding-top: var(--spacing-7);
        padding-bottom: var(--spacing-9);
    }

    .home-mostviewed,
    .home-refdata,
    .home-usingdata,
    .home-news,
    .home-governance {
        padding-top: clamp(4rem, 5.2vw, 5.5rem);
        padding-bottom: clamp(4rem, 5.2vw, 5.5rem);
    }

    .home-governance {
        padding-bottom: clamp(4.6rem, 5.8vw, 6rem);
    }

    .home-kpis,
    .home-thematics,
    .home-mostviewed,
    .home-refdata,
    .home-usingdata,
    .home-news,
    .home-governance {
        padding-inline: var(--spacing-7);
    }

    .map-layout {
        grid-template-columns: minmax(0, 1fr) 22rem;
        align-items: start;
    }

    .resource-layout {
        grid-template-columns: minmax(0, 1fr) 23rem;
        align-items: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 63.99em) {
    .home-hero-search {
        margin-top: 0.35rem;
    }

    .container,
    .site-footer__inner {
        width: calc(100% - 2rem);
    }

    .site-topbar__inner {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.3rem 0.75rem;
        min-height: 4rem;
        padding: 0.35rem var(--spacing-2) 0.45rem;
    }

    .private-mini-hero {
        padding: 0;
    }

    .private-mini-hero__search {
        max-width: 100%;
    }

    .brand {
        min-width: 0;
        padding-top: 0;
        gap: 0.65rem;
    }

    .brand__logo {
        width: 5.2rem;
    }

    .brand__title {
        font-size: 1.03rem;
    }

    .brand__subtitle {
        font-size: 0.77rem;
    }

    .main-nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 0.25rem;
        padding-top: 0.2rem;
        border-top: 1px solid var(--color-border-default);
        max-height: none;
        opacity: 1;
        overflow: visible;
        transform: none;
        display: none;
    }

    .site-header.is-mobile-menu-open .main-nav {
        display: flex;
    }

    .site-header.is-mobile-menu-open .main-nav {
        max-height: min(32rem, calc(100svh - 6.5rem));
        overflow: auto;
    }

    .main-nav[hidden] {
        display: none !important;
    }

    .main-nav__link,
    .main-nav__icon-link,
    .main-nav__account-toggle,
    .main-nav__logout-button {
        width: 100%;
        min-height: 2.8rem;
        justify-content: flex-start;
        padding: 0.6rem 0.7rem;
        border-radius: var(--radius-sm);
    }

    .main-nav__separator {
        width: 100%;
        height: 1px;
        margin: 0.25rem 0;
        background: var(--color-border-default);
    }

    .main-nav__icon-link {
        gap: 0.65rem;
    }

    .main-nav__icon-link svg {
        width: 1.2rem;
        height: 1.2rem;
        flex-shrink: 0;
    }

    .main-nav__icon-label {
        display: inline;
        color: var(--color-text-default);
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .main-nav__link::after,
    .main-nav__icon-link::after {
        display: none;
    }

    .main-nav__logout-form {
        width: 100%;
    }

    .main-nav__account {
        width: 100%;
        display: block;
    }

    .main-nav__account-toggle {
        width: 100%;
        justify-content: flex-start;
        gap: 0.4rem;
    }

    .main-nav__icon-link--compact {
        width: 100%;
        justify-content: flex-start;
    }

    .main-nav__account-menu {
        position: static;
        display: block;
        min-width: 0;
        margin-top: 0.15rem;
        max-width: 100%;
        padding: 0.55rem 0.1rem 0.3rem;
        border: 1px solid rgba(var(--rdg-ink-rgb), 0.1);
        border-left: 3px solid rgba(var(--rdg-orange-road-rgb), 0.7);
        border-radius: var(--radius-sm);
        background: rgba(var(--rdg-bg-rgb), 0.92);
        box-shadow: none;
    }

    .main-nav__account-summary,
    .main-nav__account-divider,
    .main-nav__account-group-title,
    .main-nav__account-link,
    .main-nav__account-link--button {
        margin-left: 1.5rem;
    }

    .main-nav__account-summary {
        margin-top: 0.25rem;
        margin-bottom: 0.35rem;
        padding: 0.55rem 0.62rem 0.58rem;
    }

    .main-nav__account-divider {
        margin-top: 0.1rem;
        margin-bottom: 0.35rem;
    }

    .main-nav__account-group + .main-nav__account-group {
        margin-top: 0.15rem;
        padding-top: 0.32rem;
    }

    .site-header.is-nav-collapsed .site-header__inner {
        min-height: 4rem;
    }

    .site-header.is-nav-collapsed .main-nav {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        width: 100%;
        min-width: 0;
        flex-basis: auto;
        margin-top: 0.25rem;
        padding-top: 0.2rem;
        gap: 0;
        border-color: var(--color-border-default);
        opacity: 1;
        overflow: visible;
        pointer-events: auto;
        transform: none;
    }

    .home-kpis__grid.grid-4 {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        width: min(100%, 31.5rem);
    }

    .search-bar {
        padding-left: 0.9rem;
        gap: var(--spacing-2);
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .download-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters__field--span-2 {
        grid-column: auto;
    }

    .filters__facet-list {
        grid-template-columns: 1fr;
    }

    .rdg-hero__grid,
    .rdg-feature,
    .rdg-transparency {
        grid-template-columns: 1fr;
    }

    .rdg-hero__content {
        max-width: none;
    }

    .rdg-hero h1 {
        max-width: 14ch;
    }

    .rdg-quick-grid,
    .rdg-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rdg-partners__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 47.99em) {
    .hero {
        text-align: center;
    }

    .hero--compact {
        --hero-padding-top: var(--spacing-4);
        --hero-padding-bottom: var(--spacing-4);
    }

    .hero--standard {
        --hero-padding-top: var(--spacing-5);
        --hero-padding-bottom: var(--spacing-5);
    }

    .hero--large {
        --hero-padding-top: var(--spacing-6);
        --hero-padding-bottom: var(--spacing-6);
    }

    .hero__content {
        justify-items: center;
        align-content: start;
        gap: var(--spacing-2);
    }

    .hero h1 {
        width: 100%;
        max-width: 100%;
    }

    .hero-title-line {
        width: 100%;
        white-space: normal;
    }

    .hero_baseline {
        font-size: 1rem;
    }

    .home-hero-search {
        width: calc(100% - 1.5rem);
        margin: 0 auto;
        row-gap: 0.55rem;
    }

    .search-bar {
        max-width: 100%;
        min-height: 3.25rem;
        padding: 0.2rem 0.55rem 0.2rem 0.95rem;
        border-width: 1.5px;
        margin-inline: auto;
    }

    .search-bar__input {
        font-size: 1rem;
    }

    .search-bar__icon-submit {
        width: 1.5rem;
        height: 1.5rem;
    }

    .search-bar__icon-submit svg {
        width: 1.1rem;
        height: 1.1rem;
    }

    .search-bar--hero-floating {
        width: min(74rem, 100%);
        min-height: 3.25rem;
        padding: 0.2rem 0.55rem 0.2rem 0.95rem;
        margin: 0 auto;
    }

    .search-bar--hero-floating .search-bar__input {
        font-size: 0.95rem;
    }

    .search-bar--hero-floating .search-bar__icon-submit {
        width: 1.35rem;
        height: 1.35rem;
    }

    .search-bar--hero-floating .search-bar__icon-submit svg {
        width: 1.05rem;
        height: 1.05rem;
    }

    .home-kpis__search-subtitle {
        font-size: clamp(0.9rem, 3.1vw, 1.05rem);
        line-height: 1.2;
    }

    .section-intro {
        margin-bottom: var(--spacing-3);
        font-size: 0.95rem;
    }

    .home-page :is(.home-mostviewed, .home-refdata, .home-usingdata, .home-news, .home-governance) .h2 {
        margin-bottom: var(--spacing-5);
    }

    .home-kpis__grid.grid-4 {
        grid-template-columns: 1fr;
        width: min(100%, 20rem);
    }

    .thematic__icon,
    .home-service__icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .thematic__icon svg,
    .home-service__icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .home-kpi .home-kpi__icon {
        width: 4.7rem;
        height: 4.7rem;
    }

    .home-kpi .home-kpi__icon svg {
        width: 2.2rem;
        height: 2.2rem;
    }

    .home-kpis,
    .home-thematics,
    .home-mostviewed,
    .home-refdata,
    .home-usingdata,
    .home-news,
    .home-governance {
        padding-top: clamp(2.75rem, 8vw, 3.3rem);
        padding-bottom: clamp(2.75rem, 8vw, 3.3rem);
    }

    .page-shell {
        padding-top: var(--spacing-5);
        padding-bottom: var(--spacing-5);
    }

    .home-kpis {
        padding-top: var(--spacing-2);
        padding-bottom: var(--spacing-2);
    }

    .home-governance {
        padding-bottom: clamp(3rem, 9vw, 3.75rem);
    }

    .mostviewed__grid,
    .refdata__grid,
    .usingdata__grid {
        gap: 1rem;
    }

    .home-hero-kpis-shell {
        min-height: 100dvh;
    }

    .rdg-hero {
        padding-block: var(--spacing-5) var(--spacing-4);
    }

    .rdg-hero h1 {
        font-size: 2.65rem;
    }

    .rdg-search__row {
        grid-template-columns: 1fr;
        padding: 0.65rem;
    }

    .rdg-search__submit,
    .rdg-hero__actions .btn,
    .rdg-feature__actions .btn {
        width: 100%;
    }

    .rdg-hero-panel__list li {
        grid-template-columns: 3.4rem minmax(0, 1fr);
    }

    .rdg-section {
        padding-block: var(--spacing-5);
    }

    .rdg-section__heading--split {
        display: grid;
        align-items: start;
    }

    .rdg-section__heading--split h2 {
        max-width: none;
    }

    .rdg-quick-grid,
    .rdg-news-grid {
        grid-template-columns: 1fr;
    }

    .rdg-quick-card {
        min-height: auto;
        padding: 1rem;
    }

    .card {
        padding: var(--spacing-2);
    }

    .table--data thead {
        display: none;
    }

    .table--data,
    .table--data tbody,
    .table--data tr,
    .table--data td {
        display: block;
        width: 100%;
    }

    .table--data tbody tr {
        margin-bottom: var(--spacing-2);
        border: 1px solid var(--color-border-default);
        border-radius: var(--radius-sm);
        background: var(--color-bg-surface);
    }

    .table--data tbody td {
        display: grid;
        grid-template-columns: minmax(7rem, 36%) 1fr;
        gap: 0.6rem;
        align-items: start;
        border-bottom: 1px solid var(--color-border-default);
    }

    .table--data tbody td::before {
        content: attr(data-label);
        color: var(--color-text-subtle);
        font-size: 0.8125rem;
        font-weight: 700;
    }

    .table--data tbody td:last-child {
        border-bottom: 0;
    }

    .cookie-consent {
        padding: 0.75rem;
    }

    .cookie-consent__panel {
        padding: var(--spacing-2);
    }

    .cookie-consent__actions .btn {
        width: 100%;
    }

    .cookie-consent__choice-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .cookie-consent__badge {
        margin-left: 1.7rem;
    }

    .cookie-consent__choice p {
        margin-left: 0;
    }
}

/* Home CRUD sections: light institutional visual layer */
.rdg-home .home-hero-kpis-shell {
    border-bottom: 1px solid var(--color-border-default);
}

.rdg-home .home-kpis {
    padding-top: clamp(1.25rem, 2.2vw, 2rem);
    padding-bottom: clamp(1.5rem, 2.8vw, 2.4rem);
}

.rdg-home .home-kpis__grid.grid-4 {
    gap: clamp(0.9rem, 1.8vw, 1.4rem);
    grid-template-columns: repeat(4, minmax(10rem, 12.5rem));
}

.rdg-home .home-kpi {
    min-height: 8.8rem;
    padding: 1rem 0.75rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: rgba(var(--rdg-sky-rgb), 0.04);
}

.rdg-home .home-kpi:hover,
.rdg-home .home-kpi:focus-visible {
    border-color: rgba(var(--rdg-blue-rgb), 0.18);
    background: var(--color-bg-default);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.rdg-home .home-kpi .home-kpi__icon {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.rdg-home .home-kpi .home-kpi__icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.rdg-home .home-kpi__label {
    max-width: 14ch;
    font-size: 0.98rem;
    line-height: 1.22;
}

.rdg-home .home-dynamic-section {
    padding-block: clamp(3.5rem, 6.2vw, 5.75rem);
    border-top: 1px solid rgba(var(--rdg-blue-rgb), 0.08);
    background: var(--color-bg-default);
}

.rdg-home .home-dynamic-section--light {
    background:
        linear-gradient(180deg, rgba(var(--rdg-sky-rgb), 0.04), rgba(var(--rdg-sky-rgb), 0) 16rem),
        var(--color-bg-default);
}

.rdg-home .home-dynamic-section--muted {
    background:
        linear-gradient(180deg, rgba(var(--rdg-blue-rgb), 0.04), rgba(var(--rdg-green-rgb), 0.035)),
        var(--color-bg-surface-alt);
}

.rdg-home .home-dynamic-section--institutional {
    color: var(--color-text-inverse);
    background:
        linear-gradient(135deg, rgba(var(--rdg-blue-rgb), 0.96), var(--rdg-blue-deep)),
        var(--rdg-blue-deep);
}

.rdg-home .home-dynamic-section .container {
    width: min(76rem, calc(100% - 3rem));
}

.rdg-home .home-section-heading {
    max-width: 46rem;
    margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
}

.rdg-home .home-section-heading--wide {
    max-width: 58rem;
}

.rdg-home .home-section-heading .h2 {
    margin-bottom: 0.75rem;
    color: var(--color-text-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.rdg-home .home-section-heading .h2::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 3px;
    margin: 1rem auto 0;
    border-radius: var(--radius-pill);
    background: var(--color-brand-secondary);
}

.rdg-home .home-dynamic-section--institutional .home-section-heading .h2 {
    color: var(--color-text-inverse);
}

.rdg-home .home-dynamic-section--institutional .home-section-heading .h2::after {
    background: var(--color-brand-accent);
}

.rdg-home .section-intro {
    max-width: 62ch;
    margin-bottom: 0;
    color: var(--color-text-muted);
    font-size: 1.04rem;
    line-height: 1.62;
}

.rdg-home .home-dynamic-section--institutional .section-intro {
    color: rgba(var(--rdg-bg-rgb), 0.82);
}

.rdg-home .home-dynamic-section .grid {
    gap: clamp(1rem, 2vw, 1.5rem);
}

.rdg-home .home-dynamic-section .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.rdg-home .home-dynamic-section .card {
    --home-card-pad: clamp(1.1rem, 2vw, 1.45rem);

    min-height: 100%;
    padding: var(--home-card-pad);
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.14);
    border-radius: var(--radius-sm);
    background: var(--color-bg-default);
    box-shadow: 0 1px 2px rgba(var(--rdg-text-rgb), 0.04);
    overflow: hidden;
    transform: none;
}

.rdg-home .home-dynamic-section .card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--color-brand-secondary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.rdg-home .home-dynamic-section .card:hover,
.rdg-home .home-dynamic-section .card:focus-within {
    border-color: rgba(var(--rdg-blue-rgb), 0.28);
    background: var(--color-bg-default);
    box-shadow: 0 14px 32px rgba(var(--rdg-text-rgb), 0.1);
    transform: translateY(-3px);
}

.rdg-home .home-dynamic-section .card:hover::before,
.rdg-home .home-dynamic-section .card:focus-within::before {
    opacity: 1;
}

.rdg-home .home-dynamic-section .card__meta {
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.rdg-home .home-dynamic-section .card__title {
    color: var(--color-text-heading);
    font-size: clamp(1.08rem, 1.35vw, 1.22rem);
    line-height: 1.25;
}

.rdg-home .home-dynamic-section .card__lead {
    color: var(--color-text-muted);
    font-size: 0.96rem;
    line-height: 1.58;
}

.rdg-home .home-dynamic-section .card__img {
    aspect-ratio: 16 / 9;
    margin-inline: calc(0rem - var(--home-card-pad));
    width: calc(100% + var(--home-card-pad) + var(--home-card-pad));
    border-radius: 0;
    object-fit: cover;
}

.rdg-home .home-dynamic-section--featured_resources .card__img,
.rdg-home .home-dynamic-section--manual_cards .card__img {
    order: -1;
    margin-top: calc(0rem - var(--home-card-pad));
    margin-bottom: 0.2rem;
}

.rdg-home .home-dynamic-section .card__link {
    margin-top: auto;
}

.rdg-home .home-dynamic-section .card__link a {
    color: var(--color-brand-primary);
}

.rdg-home .home-dynamic-section .badge {
    border-radius: var(--radius-pill);
}

.rdg-home .home-dynamic-section--institutional .card {
    border-color: rgba(var(--rdg-bg-rgb), 0.18);
    background: rgba(var(--rdg-bg-rgb), 0.08);
    box-shadow: none;
}

.rdg-home .home-dynamic-section--institutional .card::before {
    background: var(--color-brand-accent);
}

.rdg-home .home-dynamic-section--institutional .card:hover,
.rdg-home .home-dynamic-section--institutional .card:focus-within {
    border-color: rgba(var(--rdg-bg-rgb), 0.32);
    background: rgba(var(--rdg-bg-rgb), 0.12);
    box-shadow: 0 18px 36px rgba(var(--rdg-ink-rgb), 0.16);
}

.rdg-home .home-dynamic-section--institutional .card__title,
.rdg-home .home-dynamic-section--institutional .card__lead,
.rdg-home .home-dynamic-section--institutional .card__link a,
.rdg-home .home-dynamic-section--institutional .card__meta {
    color: var(--color-text-inverse);
}

.rdg-home .home-dynamic-section--institutional .badge {
    border-color: rgba(var(--rdg-bg-rgb), 0.24);
    background: rgba(var(--rdg-bg-rgb), 0.12);
    color: var(--color-text-inverse);
}

.rdg-home .home-feature,
.rdg-home .home-message {
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.14);
    border-radius: var(--radius-sm);
    background: var(--color-bg-default);
    box-shadow: 0 10px 28px rgba(var(--rdg-text-rgb), 0.07);
}

.rdg-home .home-feature {
    padding: clamp(1rem, 2vw, 1.4rem);
}

.rdg-home .home-feature--feature {
    grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
}

.rdg-home .home-feature--banner,
.rdg-home .home-message {
    max-width: 64rem;
}

.rdg-home .home-feature__image,
.rdg-home .home-message__image {
    border-radius: var(--radius-sm);
}

.rdg-home .home-message {
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border-left: 4px solid var(--color-brand-secondary);
}

.rdg-home .home-message.rich-content > :last-child {
    margin-bottom: 0;
}

.rdg-home .home-dynamic-section--sponsor .home-message {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    text-align: center;
}

.rdg-home .home-dynamic-section--latest_news .card {
    min-height: 15rem;
}

.rdg-home .home-dynamic-section--latest_news .card__meta {
    order: -1;
}


@media (max-width: 63.99em) {
    .rdg-home .home-kpis__grid.grid-4 {
        grid-template-columns: repeat(2, minmax(10rem, 1fr));
        width: min(100%, 34rem);
    }

    .rdg-home .home-feature--feature {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-kpis__grid.grid-4 {
        grid-template-columns: 1fr;
        width: min(100%, 22rem);
    }

    .rdg-home .home-kpi {
        min-height: 7.5rem;
    }

    .rdg-home .home-dynamic-section {
        padding-block: clamp(2.6rem, 9vw, 3.4rem);
    }

    .rdg-home .home-dynamic-section .container {
        width: calc(100% - 2rem);
    }

    .rdg-home .home-section-heading {
        margin-bottom: 1.35rem;
    }

    .rdg-home .home-section-heading .h2 {
        font-size: 1.65rem;
    }

    .rdg-home .section-intro {
        font-size: 0.97rem;
    }
}

/* Home 2025 open-data direction: bold section system */
.rdg-home {
    --home-ink: var(--rdg-blue-deep);
    --home-blue: var(--rdg-blue);
    --home-sky: var(--rdg-sky);
    --home-yellow: var(--rdg-yellow);
    --home-green: var(--rdg-green);
    --home-orange: var(--rdg-orange-road);
    --home-soft-blue: rgba(var(--rdg-sky-rgb), 0.12);
    --home-soft-green: rgba(var(--rdg-green-rgb), 0.12);
    --home-soft-yellow: rgba(var(--rdg-yellow-rgb), 0.2);
    --home-soft-orange: rgba(var(--rdg-orange-road-rgb), 0.14);
    --home-section-max: 82rem;
    --home-section-radius: 1.35rem;
}

.rdg-home .main {
    background:
        linear-gradient(180deg, var(--color-bg-default) 0, var(--color-bg-default) 28rem, var(--color-bg-surface-alt) 28rem, var(--color-bg-surface-alt) 100%);
}

.rdg-home .home-hero-kpis-shell {
    position: relative;
    overflow: hidden;
    margin-top: calc(var(--site-header-height) * -1);
    border-bottom: 0;
    background: transparent;
}

.rdg-home .home-hero-kpis-shell::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(82rem, calc(100% - 3rem));
    height: 1px;
    background: rgba(var(--rdg-blue-rgb), 0.14);
    transform: translateX(-50%);
}

.rdg-home .home-kpis {
    position: relative;
    z-index: 2;
    padding-block: clamp(1.2rem, 2vw, 2rem) clamp(2rem, 3.6vw, 3.25rem);
}

.rdg-home .home-kpis .container {
    width: min(var(--home-section-max), calc(100% - 3rem));
}

.rdg-home .home-kpis__grid.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.5vw, 1.15rem);
    width: 100%;
    max-width: none;
}

.rdg-home .home-kpi {
    position: relative;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    min-height: 6.9rem;
    padding: 1rem;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.14);
    border-radius: 1.05rem;
    background: rgba(var(--rdg-bg-rgb), 0.9);
    box-shadow: 0 14px 40px rgba(var(--rdg-text-rgb), 0.08);
    text-align: left;
    backdrop-filter: blur(10px);
}

.rdg-home .home-kpi::after {
    content: '→';
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    color: var(--home-blue);
    font-weight: 900;
    opacity: 0;
    transform: translateX(-0.35rem);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.rdg-home .home-kpi:hover,
.rdg-home .home-kpi:focus-visible {
    border-color: rgba(var(--rdg-blue-rgb), 0.36);
    background: var(--color-bg-default);
    box-shadow: 0 22px 48px rgba(var(--rdg-text-rgb), 0.12);
    transform: translateY(-4px);
}

.rdg-home .home-kpi:hover::after,
.rdg-home .home-kpi:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}

.rdg-home .home-kpi .home-kpi__icon {
    width: 3rem;
    height: 3rem;
    margin: 0;
    border-radius: 0.9rem;
    box-shadow: none;
}

.rdg-home .home-kpi .home-kpi__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.rdg-home .home-kpi__label {
    max-width: 16ch;
    color: var(--home-ink);
    font-size: 1rem;
    font-weight: 850;
}

.rdg-home .home-dynamic-section {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4.25rem, 7vw, 7rem);
    border-top: 0;
    background: var(--color-bg-default);
}

.rdg-home .home-dynamic-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(var(--rdg-blue-rgb), 0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(var(--rdg-blue-rgb), 0.04) 1px, transparent 1px);
    background-size: 4.5rem 4.5rem;
    mask-image: linear-gradient(180deg, rgba(var(--rdg-ink-rgb), 0.42), transparent 55%);
    opacity: 0.7;
}

.rdg-home .home-dynamic-section--light {
    background:
        radial-gradient(circle at 10% 8%, rgba(var(--rdg-sky-rgb), 0.13), transparent 20rem),
        var(--color-bg-default);
}

.rdg-home .home-dynamic-section--muted {
    background:
        radial-gradient(circle at 90% 20%, rgba(var(--rdg-green-rgb), 0.12), transparent 19rem),
        linear-gradient(180deg, var(--color-bg-surface-alt), var(--color-bg-default));
}

.rdg-home .home-dynamic-section--institutional {
    background:
        radial-gradient(circle at 10% 0%, rgba(var(--rdg-sky-rgb), 0.25), transparent 24rem),
        linear-gradient(135deg, var(--rdg-blue-deep) 0%, var(--color-link) 56%, var(--rdg-ink) 100%);
}

.rdg-home .home-dynamic-section .home-section-container {
    position: relative;
    z-index: 1;
    width: min(var(--home-section-max), calc(100% - 3rem));
}

.rdg-home .home-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 3.5rem);
    align-items: end;
    max-width: none;
    margin: 0 0 clamp(1.8rem, 3.6vw, 3.4rem);
    text-align: left;
}

.rdg-home .home-section-heading--wide {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
}

.rdg-home .home-section-kicker {
    justify-self: start;
    margin: 0;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.18);
    border-radius: 999px;
    color: var(--home-blue);
    background: rgba(var(--rdg-bg-rgb), 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.rdg-home .home-section-heading__main {
    max-width: 48rem;
}

.rdg-home .home-section-heading .h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(2.15rem, 4.1vw, 4.35rem);
    font-weight: 850;
    line-height: 0.98;
    text-align: left;
}

.rdg-home .home-section-heading .h2::after {
    content: none;
}

.rdg-home .section-intro {
    max-width: 60ch;
    margin: 1rem 0 0;
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.3vw, 1.16rem);
    line-height: 1.62;
    text-align: left;
}

.rdg-home .home-dynamic-section--institutional .home-section-kicker {
    border-color: rgba(var(--rdg-bg-rgb), 0.22);
    color: var(--home-yellow);
    background: rgba(var(--rdg-bg-rgb), 0.08);
}

.rdg-home .home-dynamic-section--institutional .home-section-heading .h2,
.rdg-home .home-dynamic-section--institutional .section-intro {
    color: var(--color-bg-default);
}

.rdg-home .home-dynamic-section--institutional .section-intro {
    opacity: 0.82;
}

.rdg-home .home-section-grid.grid-3 {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(1rem, 1.8vw, 1.35rem);
}

.rdg-home .home-card {
    --home-card-pad: clamp(1.15rem, 2vw, 1.6rem);

    grid-column: span 2;
    min-height: 18rem;
    padding: var(--home-card-pad);
    border: 0;
    border-radius: var(--home-section-radius);
    background: var(--color-bg-default);
    box-shadow: 0 18px 48px rgba(var(--rdg-text-rgb), 0.11);
}

.rdg-home .home-card--featured {
    grid-column: span 3;
}

.rdg-home .home-dynamic-section--manual_cards .home-card--featured,
.rdg-home .home-dynamic-section--latest_news .home-card--featured {
    grid-column: span 3;
    min-height: 21rem;
}

.rdg-home .home-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.42rem;
    height: auto;
    background: var(--home-sky);
    opacity: 1;
}

.rdg-home .home-card::after {
    content: '';
    position: absolute;
    right: -2.6rem;
    bottom: -2.8rem;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    background: var(--home-soft-blue);
}

.rdg-home .home-card:hover,
.rdg-home .home-card:focus-within {
    box-shadow: 0 26px 64px rgba(var(--rdg-text-rgb), 0.16);
    transform: translateY(-6px);
}

.rdg-home .home-card--resource::before {
    background: var(--home-green);
}

.rdg-home .home-card--resource::after {
    background: var(--home-soft-green);
}

.rdg-home .home-card--news::before {
    background: var(--home-orange);
}

.rdg-home .home-card--news::after {
    background: var(--home-soft-orange);
}

.rdg-home .home-card--link::before {
    background: var(--home-yellow);
}

.rdg-home .home-card--link::after {
    background: var(--home-soft-yellow);
}

.rdg-home .home-card .card__meta,
.rdg-home .home-card .card__title,
.rdg-home .home-card .card__lead,
.rdg-home .home-card .card__link,
.rdg-home .home-card .card__img {
    position: relative;
    z-index: 1;
}

.rdg-home .home-card .card__meta {
    gap: 0.55rem;
    margin-bottom: 0.25rem;
}

.rdg-home .home-card .badge {
    min-height: 1.7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--rdg-blue-rgb), 0.08);
    color: var(--home-blue);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

.rdg-home .home-card .badge--theme {
    background: rgba(var(--rdg-green-rgb), 0.12);
    color: #436d1f;
}

.rdg-home .home-card .card__title {
    color: var(--home-ink);
    font-size: clamp(1.28rem, 1.8vw, 1.68rem);
    font-weight: 850;
    line-height: 1.08;
}

.rdg-home .home-card .card__lead {
    max-width: 46ch;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.58;
}

.rdg-home .home-card .card__img {
    order: -1;
    width: calc(100% + var(--home-card-pad) + var(--home-card-pad));
    max-width: none;
    margin: calc(0rem - var(--home-card-pad)) calc(0rem - var(--home-card-pad)) 0.25rem;
    aspect-ratio: 16 / 8.6;
    border-radius: var(--home-section-radius) var(--home-section-radius) 0 0;
}

.rdg-home .home-card .card__link a {
    display: inline-flex;
    min-height: 2.55rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.16);
    border-radius: 999px;
    color: var(--home-blue);
    background: rgba(var(--rdg-sky-rgb), 0.08);
    font-weight: 850;
}

.rdg-home .home-card .card__link a span {
    text-decoration: none;
}

.rdg-home .home-card .card__link a::before {
    content: none;
}

.rdg-home .home-card .card__link a::after {
    content: '→';
    margin-left: 0.15rem;
}

.rdg-home .home-dynamic-section--institutional .home-card {
    color: var(--color-bg-default);
    background: rgba(var(--rdg-bg-rgb), 0.1);
    box-shadow: 0 24px 58px rgba(var(--rdg-ink-rgb), 0.18);
    backdrop-filter: blur(12px);
}

.rdg-home .home-dynamic-section--institutional .home-card:hover,
.rdg-home .home-dynamic-section--institutional .home-card:focus-within {
    background: rgba(var(--rdg-bg-rgb), 0.15);
}

.rdg-home .home-dynamic-section--institutional .home-card .card__title,
.rdg-home .home-dynamic-section--institutional .home-card .card__lead,
.rdg-home .home-dynamic-section--institutional .home-card .card__meta,
.rdg-home .home-dynamic-section--institutional .home-card .card__link a {
    color: var(--color-bg-default);
}

.rdg-home .home-dynamic-section--institutional .home-card .card__link a {
    border-color: rgba(var(--rdg-bg-rgb), 0.22);
    background: rgba(var(--rdg-bg-rgb), 0.12);
}

.rdg-home .home-dynamic-section--institutional .home-card .badge {
    background: rgba(var(--rdg-bg-rgb), 0.14);
    color: var(--color-bg-default);
}

.rdg-home .home-feature,
.rdg-home .home-message {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: var(--home-section-radius);
    background: var(--color-bg-default);
    box-shadow: 0 22px 60px rgba(var(--rdg-text-rgb), 0.12);
}

.rdg-home .home-feature {
    grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
    padding: clamp(1rem, 2vw, 1.35rem);
}

.rdg-home .home-feature__image,
.rdg-home .home-message__image {
    border-radius: calc(var(--home-section-radius) - 0.35rem);
}

.rdg-home .home-feature__content,
.rdg-home .home-message {
    font-size: 1.05rem;
    line-height: 1.68;
}

.rdg-home .home-message {
    max-width: 68rem;
    padding: clamp(1.6rem, 4vw, 3rem);
    border-left: 0;
}

.rdg-home .home-message::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.5rem;
    background: var(--home-sky);
}

.rdg-home .home-dynamic-section--sponsor .home-message {
    display: grid;
    justify-items: center;
    text-align: center;
}

.rdg-home .home-dynamic-section--sponsor .home-message::before {
    background: var(--home-yellow);
}

.rdg-home .home-dynamic-section .text-center.mt-4 {
    margin-top: clamp(1.6rem, 3vw, 2.4rem);
}


@media (max-width: 72em) {
    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rdg-home .home-card,
    .rdg-home .home-card--featured,
    .rdg-home .home-dynamic-section--manual_cards .home-card--featured,
    .rdg-home .home-dynamic-section--latest_news .home-card--featured {
        grid-column: auto;
    }
}

@media (max-width: 63.99em) {
    .rdg-home .home-kpis__grid.grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rdg-home .home-section-heading,
    .rdg-home .home-section-heading--wide {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .rdg-home .home-section-heading .h2 {
        font-size: clamp(2rem, 7vw, 3.2rem);
    }

    .rdg-home .home-feature {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-hero-kpis-shell::after {
        width: calc(100% - 2rem);
    }

    .rdg-home .home-kpis .container,
    .rdg-home .home-dynamic-section .home-section-container {
        width: calc(100% - 2rem);
    }

    .rdg-home .home-kpis__grid.grid-4,
    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: 1fr;
    }

    .rdg-home .home-kpi {
        min-height: 5.8rem;
    }

    .rdg-home .home-dynamic-section {
        padding-block: clamp(3rem, 12vw, 4.25rem);
    }

    .rdg-home .home-section-heading .h2 {
        font-size: clamp(1.85rem, 10vw, 2.55rem);
    }

    .rdg-home .home-card {
        min-height: 15.5rem;
    }
}

/* Home final harmonization: calmer open-data editorial system */
.rdg-home {
    --home-section-max: 78rem;
    --home-section-radius: 1rem;
    --home-card-shadow: 0 10px 30px rgba(var(--rdg-text-rgb), 0.08);
    --home-card-shadow-hover: 0 18px 44px rgba(var(--rdg-text-rgb), 0.13);
    --home-band-light: var(--color-bg-default);
    --home-band-muted: var(--color-bg-surface-alt);
    --home-line: rgba(var(--rdg-blue-rgb), 0.13);
}

.rdg-home .main {
    background: var(--home-band-light);
}

.rdg-home .home-hero-kpis-shell {
    background: transparent;
}

.rdg-home .home-hero-kpis-shell::after {
    width: min(var(--home-section-max), calc(100% - 3rem));
    background: var(--home-line);
}

.rdg-home .home-kpis {
    padding-block: clamp(1rem, 1.8vw, 1.6rem) clamp(2rem, 3vw, 2.8rem);
}

.rdg-home .home-kpis .container {
    width: min(var(--home-section-max), calc(100% - 3rem));
}

.rdg-home .home-kpis__grid.grid-4 {
    gap: 1rem;
}

.rdg-home .home-kpi {
    min-height: 6.25rem;
    padding: 1rem 1.1rem;
    border-color: var(--home-line);
    border-radius: var(--home-section-radius);
    background: var(--color-bg-default);
    box-shadow: 0 8px 24px rgba(var(--rdg-text-rgb), 0.06);
    backdrop-filter: none;
}

.rdg-home .home-kpi::after {
    right: 1.05rem;
    bottom: 1rem;
}

.rdg-home .home-kpi:hover,
.rdg-home .home-kpi:focus-visible {
    border-color: rgba(var(--rdg-blue-rgb), 0.28);
    box-shadow: var(--home-card-shadow-hover);
    transform: translateY(-3px);
}

.rdg-home .home-kpi .home-kpi__icon {
    border-radius: 0.75rem;
}

.rdg-home .home-dynamic-section {
    padding-block: clamp(4rem, 6.2vw, 6rem);
}

.rdg-home .home-dynamic-section::before {
    opacity: 0;
}

.rdg-home .home-dynamic-section--light {
    background: var(--home-band-light);
}

.rdg-home .home-dynamic-section--muted {
    background:
        linear-gradient(180deg, var(--color-bg-surface-alt) 0%, var(--home-band-muted) 100%);
}

.rdg-home .home-dynamic-section--institutional {
    background:
        linear-gradient(135deg, var(--color-link) 0%, var(--rdg-blue-deep) 56%, var(--rdg-ink) 100%);
}

.rdg-home .home-dynamic-section + .home-dynamic-section {
    border-top: 1px solid rgba(var(--rdg-blue-rgb), 0.08);
}

.rdg-home .home-dynamic-section .home-section-container {
    width: min(var(--home-section-max), calc(100% - 3rem));
}

.rdg-home .home-section-heading,
.rdg-home .home-section-heading--wide {
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
    gap: clamp(1rem, 2.8vw, 3rem);
    align-items: start;
    margin-bottom: clamp(1.75rem, 3vw, 2.65rem);
}

.rdg-home .home-section-kicker {
    margin-top: 0.18rem;
    border-color: rgba(var(--rdg-blue-rgb), 0.15);
    color: var(--home-blue);
    background: rgba(var(--rdg-sky-rgb), 0.08);
}

.rdg-home .home-section-heading__main {
    max-width: 44rem;
}

.rdg-home .home-section-heading .h2 {
    font-size: clamp(2rem, 3.25vw, 3.25rem);
    line-height: 1.05;
}

.rdg-home .section-intro {
    margin-top: 0.85rem;
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.12vw, 1.08rem);
}

.rdg-home .home-section-grid.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 1.8vw, 1.35rem);
}

.rdg-home .home-card,
.rdg-home .home-card--featured,
.rdg-home .home-dynamic-section--manual_cards .home-card--featured,
.rdg-home .home-dynamic-section--latest_news .home-card--featured {
    grid-column: auto;
    min-height: 18rem;
}

.rdg-home .home-card {
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.12);
    border-radius: var(--home-section-radius);
    background: var(--color-bg-default);
    box-shadow: var(--home-card-shadow);
}

.rdg-home .home-card::before {
    inset: 0 0 auto;
    width: auto;
    height: 0.28rem;
    background: var(--home-sky);
}

.rdg-home .home-card::after {
    content: none;
}

.rdg-home .home-card:hover,
.rdg-home .home-card:focus-within {
    border-color: rgba(var(--rdg-blue-rgb), 0.24);
    box-shadow: var(--home-card-shadow-hover);
    transform: translateY(-4px);
}

.rdg-home .home-card .card__title {
    font-size: clamp(1.14rem, 1.45vw, 1.38rem);
    line-height: 1.18;
}

.rdg-home .home-card .card__lead {
    color: var(--color-text-muted);
    font-size: 0.97rem;
}

.rdg-home .home-card .card__img {
    aspect-ratio: 16 / 9.5;
    border-radius: var(--home-section-radius) var(--home-section-radius) 0 0;
}

.rdg-home .home-card .card__link a {
    min-height: 2.35rem;
    padding: 0.48rem 0.78rem;
    border-color: rgba(var(--rdg-blue-rgb), 0.14);
    background: var(--color-bg-default);
}

.rdg-home .home-card .card__link a:hover {
    border-color: rgba(var(--rdg-blue-rgb), 0.28);
    background: rgba(var(--rdg-sky-rgb), 0.08);
}

.rdg-home .home-dynamic-section--institutional .home-card {
    border-color: rgba(var(--rdg-bg-rgb), 0.18);
    background: rgba(var(--rdg-bg-rgb), 0.08);
    box-shadow: 0 14px 36px rgba(var(--rdg-ink-rgb), 0.16);
    backdrop-filter: none;
}

.rdg-home .home-dynamic-section--institutional .home-card:hover,
.rdg-home .home-dynamic-section--institutional .home-card:focus-within {
    border-color: rgba(var(--rdg-bg-rgb), 0.3);
    background: rgba(var(--rdg-bg-rgb), 0.12);
}

.rdg-home .home-dynamic-section--institutional .home-card::before {
    background: var(--home-yellow);
}

.rdg-home .home-dynamic-section--institutional .home-section-kicker {
    color: var(--home-yellow);
    border-color: rgba(var(--rdg-bg-rgb), 0.2);
    background: rgba(var(--rdg-bg-rgb), 0.1);
}

.rdg-home .home-feature,
.rdg-home .home-message {
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.12);
    border-radius: var(--home-section-radius);
    box-shadow: var(--home-card-shadow);
}

.rdg-home .home-feature {
    grid-template-columns: minmax(16rem, 0.42fr) minmax(0, 0.58fr);
}

.rdg-home .home-message {
    max-width: 62rem;
}

.rdg-home .home-message::before {
    width: 0.35rem;
}

@media (min-width: 72.01em) {
    .rdg-home .home-dynamic-section--manual_cards .home-card--featured,
    .rdg-home .home-dynamic-section--latest_news .home-card--featured,
    .rdg-home .home-dynamic-section--featured_resources .home-card--featured {
        grid-column: span 2;
    }

    .rdg-home .home-dynamic-section--manual_cards .home-card--featured + .home-card,
    .rdg-home .home-dynamic-section--latest_news .home-card--featured + .home-card,
    .rdg-home .home-dynamic-section--featured_resources .home-card--featured + .home-card {
        grid-column: span 1;
    }
}

@media (max-width: 72em) {
    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 63.99em) {
    .rdg-home .home-section-heading,
    .rdg-home .home-section-heading--wide {
        grid-template-columns: 1fr;
    }

    .rdg-home .home-section-heading .h2 {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .rdg-home .home-feature {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-kpis .container,
    .rdg-home .home-dynamic-section .home-section-container {
        width: calc(100% - 2rem);
    }

    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: 1fr;
    }

    .rdg-home .home-dynamic-section {
        padding-block: clamp(3rem, 10vw, 4rem);
    }

    .rdg-home .home-section-heading .h2 {
        font-size: clamp(1.8rem, 9vw, 2.35rem);
    }
}

/* Hero quick access buttons: large pictogram style */
.rdg-home .home-kpis {
    padding-top: var(--spacing-2);
    padding-bottom: var(--spacing-3);
    background: transparent;
}

.rdg-home .home-kpis .home-section-container,
.rdg-home .home-kpis .container {
    width: min(98rem, calc(100% - 3rem));
}

.rdg-home .home-kpis__grid.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 13rem));
    justify-content: center;
    align-items: start;
    gap: 1.4rem 1.8rem;
    width: fit-content;
    max-width: none;
    margin-inline: auto;
}

.rdg-home .home-kpi,
.rdg-home .home-kpi:hover,
.rdg-home .home-kpi:focus-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.48rem;
    min-height: auto;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--color-text-heading);
    background: transparent;
    box-shadow: none;
    text-align: center;
    text-decoration: none;
    transform: none;
    backdrop-filter: none;
}

.rdg-home .home-kpi::after {
    content: none;
}

.rdg-home .home-kpi .home-kpi__icon {
    width: 4.55rem;
    height: 4.55rem;
    margin: 0;
    border: 1px solid rgba(var(--rdg-bg-rgb), 0.22);
    border-radius: 0.92rem;
    box-shadow:
        inset 0 1px 0 rgba(var(--rdg-bg-rgb), 0.2),
        0 2px 0 rgba(var(--rdg-text-rgb), 0.12);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.rdg-home .home-kpi:hover .home-kpi__icon,
.rdg-home .home-kpi:focus-visible .home-kpi__icon {
    filter: saturate(1.04);
    box-shadow:
        inset 0 1px 0 rgba(var(--rdg-bg-rgb), 0.22),
        0 10px 24px rgba(var(--rdg-text-rgb), 0.12);
    transform: translateY(-3px);
}

.rdg-home .home-kpi .home-kpi__icon svg {
    width: 2.05rem;
    height: 2.05rem;
}

.rdg-home .home-kpi--orange .home-kpi__icon {
    color: var(--color-bg-default);
    background: var(--rdg-orange-road);
}

.rdg-home .home-kpi--blue .home-kpi__icon {
    color: var(--color-bg-default);
    background: var(--color-brand-secondary);
}

.rdg-home .home-kpi--yellow .home-kpi__icon {
    color: var(--color-text-default);
    background: var(--color-brand-accent);
}

.rdg-home .home-kpi--green .home-kpi__icon {
    color: var(--color-bg-default);
    background: var(--color-success);
}

.rdg-home .home-kpi--custom .home-kpi__icon,
.rdg-home .home-kpi .home-kpi__icon.is-custom {
    color: var(--color-bg-default);
    background: var(--home-kpi-color, var(--color-brand-secondary));
}

.rdg-home .home-kpi__label {
    max-width: 13rem;
    margin: 0;
    color: var(--color-text-heading);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

@media (max-width: 63.99em) {
    .rdg-home .home-kpis__grid.grid-4 {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 1.4rem 1.8rem;
        width: min(100%, 31.5rem);
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-kpis .home-section-container,
    .rdg-home .home-kpis .container {
        width: calc(100% - 2rem);
    }

    .rdg-home .home-kpis__grid.grid-4 {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        width: min(100%, 20rem);
    }

    .rdg-home .home-kpi {
        gap: 0.9rem;
    }

    .rdg-home .home-kpi .home-kpi__icon {
        width: 4.7rem;
        height: 4.7rem;
        border-radius: 0.92rem;
    }

    .rdg-home .home-kpi__label {
        font-size: 1.02rem;
    }
}

/* Home sections redesign: professional open-data editorial system (navbar + hero untouched) */
.rdg-home {
    --rdg-home-section-max: 76rem;
    --rdg-home-section-gap: clamp(3rem, 6vw, 4.75rem);
    --rdg-home-band-light: var(--color-bg-default);
    --rdg-home-band-muted: var(--color-bg-surface-alt);
    --rdg-home-band-institutional: linear-gradient(135deg, var(--rdg-blue-deep) 0%, var(--color-link) 52%, var(--color-brand-secondary) 100%);
    --rdg-home-card-radius: 0.9rem;
    --rdg-home-card-border: rgba(var(--rdg-blue-rgb), 0.15);
    --rdg-home-card-bg: var(--color-bg-default);
    --rdg-home-card-shadow: 0 8px 26px rgba(var(--rdg-text-rgb), 0.08);
    --rdg-home-card-shadow-hover: 0 18px 42px rgba(var(--rdg-text-rgb), 0.13);
    --rdg-home-heading-max: 56rem;
    --rdg-home-kicker-fg: var(--color-link-hover);
}

.rdg-home .home-dynamic-section {
    position: relative;
    padding-block: var(--rdg-home-section-gap);
    background: var(--rdg-home-band-light);
}

.rdg-home .home-dynamic-section--muted {
    background:
        linear-gradient(180deg, rgba(var(--rdg-sky-rgb), 0.06), rgba(var(--rdg-sky-rgb), 0.02) 22%, rgba(var(--rdg-sky-rgb), 0.01) 100%),
        var(--rdg-home-band-muted);
}

.rdg-home .home-dynamic-section--institutional {
    color: var(--color-text-inverse);
    background: var(--rdg-home-band-institutional);
}

.rdg-home .home-dynamic-section + .home-dynamic-section {
    border-top: 1px solid rgba(var(--rdg-blue-rgb), 0.08);
}

.rdg-home .home-dynamic-section .home-section-container {
    width: min(var(--rdg-home-section-max), calc(100% - 3rem));
}

.rdg-home .home-section-heading,
.rdg-home .home-section-heading--wide {
    max-width: var(--rdg-home-heading-max);
    margin: 0 auto clamp(1.6rem, 3.2vw, 2.35rem);
    text-align: center;
}

.rdg-home .home-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 0 0.9rem;
    padding: 0.3rem 0.72rem;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.16);
    border-radius: var(--radius-pill);
    color: var(--rdg-home-kicker-fg);
    background: rgba(var(--rdg-sky-rgb), 0.11);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rdg-home .home-section-title,
.rdg-home .home-section-heading .h2 {
    margin: 0;
    color: var(--color-text-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.rdg-home .home-section-heading .section-intro {
    max-width: 64ch;
    margin: 1rem auto 0;
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.64;
}

.rdg-home .home-section-grid.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.45rem);
    align-items: stretch;
}

.rdg-home .home-card,
.rdg-home .home-card--featured,
.rdg-home .home-dynamic-section--manual_cards .home-card--featured,
.rdg-home .home-dynamic-section--latest_news .home-card--featured,
.rdg-home .home-dynamic-section--featured_resources .home-card--featured {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.88rem;
    min-height: 100%;
    padding: clamp(1.05rem, 1.9vw, 1.4rem);
    border: 1px solid var(--rdg-home-card-border);
    border-radius: var(--rdg-home-card-radius);
    background: var(--rdg-home-card-bg);
    box-shadow: var(--rdg-home-card-shadow);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

.rdg-home .home-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 0.28rem;
    height: 100%;
    background: rgba(var(--rdg-sky-rgb), 0.65);
}

.rdg-home .home-card--resource::before {
    background: rgba(var(--rdg-green-rgb), 0.7);
}

.rdg-home .home-card--news::before {
    background: rgba(var(--rdg-orange-road-rgb), 0.78);
}

.rdg-home .home-card--link::before {
    background: rgba(var(--rdg-yellow-rgb), 0.88);
}

.rdg-home .home-card:hover,
.rdg-home .home-card:focus-within {
    border-color: rgba(var(--rdg-blue-rgb), 0.27);
    box-shadow: var(--rdg-home-card-shadow-hover);
    transform: translateY(-2px);
}

.rdg-home .home-card .card__meta {
    margin: 0;
    color: var(--color-text-subtle);
    font-size: 0.83rem;
}

.rdg-home .home-card .card__title {
    margin: 0;
    color: var(--color-text-heading);
    font-size: clamp(1.07rem, 1.35vw, 1.26rem);
    line-height: 1.28;
}

.rdg-home .home-card .card__lead {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.rdg-home .home-card .card__img {
    width: 100%;
    margin: 0;
    border-radius: calc(var(--rdg-home-card-radius) - 0.2rem);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.rdg-home .home-card .card__link {
    margin-top: auto;
}

.rdg-home .home-card .card__link a {
    display: inline-flex;
    align-items: center;
    gap: 0.44rem;
    padding: 0.26rem 0;
    border-bottom: 1px solid rgba(var(--rdg-blue-rgb), 0.2);
    color: var(--color-brand-primary);
    font-weight: 700;
    text-decoration: none;
}

.rdg-home .home-card .card__link a:hover,
.rdg-home .home-card .card__link a:focus-visible {
    border-bottom-color: rgba(var(--rdg-blue-rgb), 0.55);
    color: var(--color-brand-primary-hover);
}

.rdg-home .home-card .card__link a:focus-visible {
    box-shadow: var(--focus-ring);
    border-radius: 0.2rem;
    outline: 0;
}

.rdg-home .home-card--featured {
    background: linear-gradient(180deg, rgba(var(--rdg-sky-rgb), 0.08), var(--color-bg-default) 28%);
}

.rdg-home .home-dynamic-section .home-section-cta {
    margin: 1.4rem 0 0;
}

.rdg-home .home-dynamic-section .home-section-cta--center {
    text-align: center;
}

.rdg-home .home-feature,
.rdg-home .home-message {
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.13);
    border-radius: var(--rdg-home-card-radius);
    background: var(--color-bg-default);
    box-shadow: var(--rdg-home-card-shadow);
}

.rdg-home .home-feature {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.2rem, 2.4vw, 2rem);
    padding: clamp(1.25rem, 2.4vw, 1.9rem);
}

.rdg-home .home-feature__image,
.rdg-home .home-message__image {
    border-radius: calc(var(--rdg-home-card-radius) - 0.18rem);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.rdg-home .home-feature__content,
.rdg-home .home-message {
    color: var(--color-text-default);
}

.rdg-home .home-message {
    position: relative;
    max-width: 66rem;
    margin: 0 auto;
    padding: clamp(1.2rem, 2.2vw, 1.8rem);
}

.rdg-home .home-message::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.34rem;
    border-radius: var(--rdg-home-card-radius) 0 0 var(--rdg-home-card-radius);
    background: var(--rdg-sky);
}

.rdg-home .home-dynamic-section--sponsor .home-message::before {
    background: var(--rdg-yellow);
}

.rdg-home .home-dynamic-section--institutional .home-section-kicker {
    color: var(--color-brand-accent);
    border-color: rgba(var(--rdg-bg-rgb), 0.28);
    background: rgba(var(--rdg-bg-rgb), 0.13);
}

.rdg-home .home-dynamic-section--institutional .home-section-title,
.rdg-home .home-dynamic-section--institutional .home-section-heading .h2,
.rdg-home .home-dynamic-section--institutional .home-section-heading .section-intro {
    color: var(--color-bg-default);
}

.rdg-home .home-dynamic-section--institutional .home-card {
    border-color: rgba(var(--rdg-bg-rgb), 0.23);
    background: rgba(var(--rdg-bg-rgb), 0.11);
    box-shadow: 0 14px 34px rgba(var(--rdg-ink-rgb), 0.22);
}

.rdg-home .home-dynamic-section--institutional .home-card:hover,
.rdg-home .home-dynamic-section--institutional .home-card:focus-within {
    border-color: rgba(var(--rdg-bg-rgb), 0.42);
}

.rdg-home .home-dynamic-section--institutional .home-card .card__title,
.rdg-home .home-dynamic-section--institutional .home-card .card__lead,
.rdg-home .home-dynamic-section--institutional .home-card .card__meta,
.rdg-home .home-dynamic-section--institutional .home-card .card__link a {
    color: var(--color-bg-default);
}

@media (min-width: 72.01em) {
    .rdg-home .home-dynamic-section--latest_news .home-card--featured,
    .rdg-home .home-dynamic-section--featured_resources .home-card--featured,
    .rdg-home .home-dynamic-section--manual_cards .home-card--featured {
        grid-column: span 2;
    }
}

@media (max-width: 72em) {
    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 63.99em) {
    .rdg-home .home-feature {
        grid-template-columns: 1fr;
    }

    .rdg-home .home-section-heading,
    .rdg-home .home-section-heading--wide {
        max-width: 100%;
        margin-bottom: clamp(1.35rem, 4.5vw, 2rem);
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-dynamic-section .home-section-container {
        width: calc(100% - 2rem);
    }

    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: 1fr;
    }

    .rdg-home .home-dynamic-section {
        padding-block: clamp(2.5rem, 10vw, 3.6rem);
    }

    .rdg-home .home-section-title,
    .rdg-home .home-section-heading .h2 {
        font-size: clamp(1.55rem, 8vw, 2.1rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rdg-home .home-card {
        transition: none;
    }

    .rdg-home .home-card:hover,
    .rdg-home .home-card:focus-within {
        transform: none;
    }
}

/* Home sections refinement v2: denser cards, cleaner headings, less decorative */
.rdg-home .home-section-heading,
.rdg-home .home-section-heading--wide {
    max-width: min(68rem, 100%);
    margin: 0 0 clamp(1.35rem, 2.7vw, 2rem);
    text-align: left;
}

.rdg-home .home-section-heading__main {
    display: grid;
    gap: 0.62rem;
}

.rdg-home .home-section-kicker {
    display: block;
    width: fit-content;
    margin: 0 0 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(var(--rdg-blue-rgb), 0.9);
    background: transparent;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.rdg-home .home-section-title,
.rdg-home .home-section-heading .h2 {
    font-size: clamp(1.55rem, 2.15vw, 2.15rem);
    line-height: 1.18;
}

.rdg-home .home-section-heading .section-intro {
    max-width: 58ch;
    margin: 0;
    font-size: clamp(0.95rem, 1.05vw, 1.02rem);
    line-height: 1.58;
}

.rdg-home .home-dynamic-section {
    padding-block: clamp(2.4rem, 4.7vw, 3.7rem);
}

.rdg-home .home-section-grid.grid-3 {
    gap: clamp(0.8rem, 1.45vw, 1.05rem);
}

.rdg-home .home-card,
.rdg-home .home-card--featured,
.rdg-home .home-dynamic-section--manual_cards .home-card--featured,
.rdg-home .home-dynamic-section--latest_news .home-card--featured,
.rdg-home .home-dynamic-section--featured_resources .home-card--featured {
    gap: 0.62rem;
    padding: clamp(0.85rem, 1.25vw, 1.03rem);
    border-radius: 0.72rem;
    box-shadow: 0 3px 14px rgba(var(--rdg-text-rgb), 0.08);
}

.rdg-home .home-card:hover,
.rdg-home .home-card:focus-within {
    transform: none;
    box-shadow: 0 8px 22px rgba(var(--rdg-text-rgb), 0.11);
}

.rdg-home .home-card .card__meta {
    font-size: 0.76rem;
}

.rdg-home .home-card .card__title {
    font-size: clamp(0.99rem, 1.05vw, 1.12rem);
    line-height: 1.31;
}

.rdg-home .home-card .card__lead {
    font-size: 0.92rem;
    line-height: 1.5;
}

.rdg-home .home-card .card__img {
    aspect-ratio: 16 / 8.6;
}

.rdg-home .home-card .card__link a {
    padding: 0.18rem 0;
    font-size: 0.9rem;
}

.rdg-home .home-dynamic-section .home-section-cta {
    margin-top: 1rem;
}

.rdg-home .home-dynamic-section--institutional .home-section-kicker {
    color: rgba(var(--rdg-bg-rgb), 0.88);
}

@media (min-width: 72.01em) {
    .rdg-home .home-dynamic-section--latest_news .home-card--featured,
    .rdg-home .home-dynamic-section--featured_resources .home-card--featured,
    .rdg-home .home-dynamic-section--manual_cards .home-card--featured {
        grid-column: span 1;
    }
}

@media (max-width: 63.99em) {
    .rdg-home .home-section-heading,
    .rdg-home .home-section-heading--wide {
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-section-title,
    .rdg-home .home-section-heading .h2 {
        font-size: clamp(1.35rem, 6.6vw, 1.75rem);
    }
}

/* Home sections refinement v3: modern minimal, cleaner editorial grid */
.rdg-home {
    --rdg-home-card-radius: 0.66rem;
    --rdg-home-card-border: #dbe5ee;
}

.rdg-home .home-dynamic-section {
    padding-block: clamp(2.15rem, 4.1vw, 3.15rem);
}

.rdg-home .home-dynamic-section .home-section-container {
    width: min(74rem, calc(100% - 3rem));
}

.rdg-home .home-section-kicker {
    display: none;
}

.rdg-home .home-section-heading,
.rdg-home .home-section-heading--wide {
    max-width: none;
    margin: 0 0 clamp(1.1rem, 2.2vw, 1.5rem);
}

.rdg-home .home-section-heading__main {
    display: grid;
    grid-template-columns: minmax(16rem, 29rem) minmax(0, 1fr);
    gap: 0.75rem 1.85rem;
    align-items: end;
}

.rdg-home .home-section-title,
.rdg-home .home-section-heading .h2 {
    margin: 0;
    grid-column: 1;
    text-align: left;
    font-size: clamp(1.38rem, 2.05vw, 1.95rem);
    line-height: 1.18;
}

.rdg-home .home-section-heading .section-intro {
    grid-column: 2;
    max-width: 56ch;
    margin: 0;
    text-align: left;
    color: var(--color-text-muted);
    font-size: clamp(0.92rem, 0.98vw, 0.98rem);
    line-height: 1.52;
}

.rdg-home .home-section-grid.grid-3 {
    gap: 0.82rem;
}

.rdg-home .home-card,
.rdg-home .home-card--featured,
.rdg-home .home-dynamic-section--manual_cards .home-card--featured,
.rdg-home .home-dynamic-section--latest_news .home-card--featured,
.rdg-home .home-dynamic-section--featured_resources .home-card--featured {
    gap: 0.56rem;
    padding: 0.78rem 0.8rem 0.84rem;
    border: 1px solid var(--rdg-home-card-border);
    border-radius: var(--rdg-home-card-radius);
    background: var(--color-bg-default);
    box-shadow: none;
}

.rdg-home .home-card::before {
    inset: 0 0 auto 0;
    width: 100%;
    height: 2px;
    background: rgba(var(--rdg-sky-rgb), 0.7);
}

.rdg-home .home-card--resource::before {
    background: rgba(var(--rdg-green-rgb), 0.76);
}

.rdg-home .home-card--news::before {
    background: rgba(var(--rdg-orange-road-rgb), 0.82);
}

.rdg-home .home-card--link::before {
    background: rgba(var(--rdg-yellow-rgb), 0.92);
}

.rdg-home .home-card:hover,
.rdg-home .home-card:focus-within {
    border-color: var(--color-border-strong);
    box-shadow: 0 10px 24px rgba(var(--rdg-text-rgb), 0.08);
}

.rdg-home .home-card .card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.72rem;
}

.rdg-home .home-card .badge {
    padding: 0.16rem 0.4rem;
    border-radius: 0.38rem;
    font-size: 0.68rem;
    font-weight: 700;
}

.rdg-home .home-card .card__title {
    font-size: clamp(0.94rem, 0.98vw, 1.05rem);
    line-height: 1.3;
}

.rdg-home .home-card .card__lead {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.47;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.rdg-home .home-card .card__img {
    border-radius: 0.52rem;
    aspect-ratio: 16 / 8;
}

.rdg-home .home-card .card__link a {
    gap: 0.36rem;
    padding: 0.1rem 0;
    border-bottom: 1px solid rgba(var(--rdg-blue-rgb), 0.16);
    font-size: 0.85rem;
    font-weight: 700;
}

.rdg-home .home-dynamic-section .home-section-cta {
    margin-top: 0.78rem;
}

.rdg-home .home-feature,
.rdg-home .home-message {
    border-radius: 0.7rem;
    box-shadow: none;
}

.rdg-home .home-dynamic-section--institutional .home-section-title,
.rdg-home .home-dynamic-section--institutional .home-section-heading .h2,
.rdg-home .home-dynamic-section--institutional .home-section-heading .section-intro {
    color: var(--color-bg-default);
}

.rdg-home .home-dynamic-section--institutional .home-card {
    border-color: rgba(var(--rdg-bg-rgb), 0.28);
    background: rgba(var(--rdg-bg-rgb), 0.1);
    box-shadow: none;
}

.rdg-home .home-dynamic-section--institutional .home-card .card__lead {
    color: rgba(var(--rdg-bg-rgb), 0.88);
}

@media (min-width: 72.01em) {
    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rdg-home .home-dynamic-section--latest_news .home-card--featured,
    .rdg-home .home-dynamic-section--featured_resources .home-card--featured,
    .rdg-home .home-dynamic-section--manual_cards .home-card--featured {
        grid-column: span 1;
    }
}

@media (max-width: 63.99em) {
    .rdg-home .home-section-heading__main {
        grid-template-columns: 1fr;
        gap: 0.58rem;
    }

    .rdg-home .home-section-title,
    .rdg-home .home-section-heading .h2,
    .rdg-home .home-section-heading .section-intro {
        grid-column: 1;
    }

    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-dynamic-section .home-section-container {
        width: calc(100% - 2rem);
    }

    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .rdg-home .home-section-title,
    .rdg-home .home-section-heading .h2 {
        font-size: clamp(1.28rem, 5.7vw, 1.56rem);
    }
}

/* Home sections redesign v4: clean institutional modern */
.rdg-home .home-dynamic-section {
    padding-block: clamp(2.75rem, 5.2vw, 4rem);
    background: var(--color-bg-default);
}

.rdg-home .home-dynamic-section--muted {
    background:
        linear-gradient(180deg, rgba(var(--rdg-sky-rgb), 0.04) 0%, rgba(var(--rdg-sky-rgb), 0.015) 100%),
        var(--color-bg-surface-alt);
}

.rdg-home .home-dynamic-section .home-section-container {
    width: min(76rem, calc(100% - 3rem));
}

.rdg-home .home-section-kicker {
    display: none;
}

.rdg-home .home-section-heading,
.rdg-home .home-section-heading--wide {
    max-width: 62rem;
    margin: 0 0 clamp(1.2rem, 2.5vw, 1.8rem);
    text-align: left;
}

.rdg-home .home-section-heading__main {
    display: block;
}

.rdg-home .home-section-title,
.rdg-home .home-section-heading .h2 {
    margin: 0;
    max-width: 22ch;
    color: var(--color-text-heading);
    font-size: clamp(1.6rem, 2.2vw, 2.25rem);
    line-height: 1.16;
    text-wrap: balance;
}

.rdg-home .home-section-heading .section-intro {
    max-width: 68ch;
    margin: 0.72rem 0 0;
    color: var(--color-text-muted);
    font-size: clamp(0.95rem, 1.05vw, 1.04rem);
    line-height: 1.6;
    white-space: normal;
}

.rdg-home .home-section-grid.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.95rem, 1.6vw, 1.25rem);
    align-items: stretch;
}

.rdg-home .home-card,
.rdg-home .home-card--featured,
.rdg-home .home-dynamic-section--manual_cards .home-card--featured,
.rdg-home .home-dynamic-section--latest_news .home-card--featured,
.rdg-home .home-dynamic-section--featured_resources .home-card--featured {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-height: 100%;
    padding: 0.95rem;
    border: 1px solid var(--color-border-default);
    border-radius: 0.5rem;
    background: var(--color-bg-default);
    box-shadow: 0 6px 20px rgba(var(--rdg-text-rgb), 0.06);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.rdg-home .home-card::before,
.rdg-home .home-card::after {
    content: none;
}

.rdg-home .home-card:hover,
.rdg-home .home-card:focus-within {
    border-color: var(--color-border-strong);
    box-shadow: 0 14px 30px rgba(var(--rdg-text-rgb), 0.1);
    transform: translateY(-2px);
}

.rdg-home .home-card .card__meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    color: var(--color-text-muted);
    font-size: 0.74rem;
}

.rdg-home .home-card .badge {
    padding: 0.15rem 0.42rem;
    border: 1px solid var(--color-border-default);
    border-radius: 0.35rem;
    background: var(--color-bg-surface-alt);
    color: var(--color-text-default);
    font-size: 0.68rem;
    font-weight: 700;
}

.rdg-home .home-card .card__title {
    margin: 0;
    color: var(--color-text-heading);
    font-size: clamp(1.02rem, 1.18vw, 1.2rem);
    line-height: 1.28;
}

.rdg-home .home-card .card__img {
    width: 100%;
    margin: 0;
    border-radius: 0.38rem;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--color-border-default);
}

.rdg-home .home-card .card__lead {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.94rem;
    line-height: 1.52;
}

.rdg-home .home-card .card__link {
    margin-top: auto;
}

.rdg-home .home-card .card__link a {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    padding: 0.12rem 0;
    border: 0;
    color: var(--color-brand-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.rdg-home .home-card .card__link a span {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    text-decoration-thickness: 1px;
}

.rdg-home .home-card .card__link a:hover span,
.rdg-home .home-card .card__link a:focus-visible span {
    text-decoration-thickness: 2px;
}

.rdg-home .home-card .card__link a:focus-visible {
    box-shadow: var(--focus-ring);
    border-radius: 0.25rem;
    outline: 0;
}

.rdg-home .home-dynamic-section .home-section-cta {
    margin-top: 1.25rem;
}

.rdg-home .home-feature,
.rdg-home .home-message {
    border: 1px solid var(--color-border-default);
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px rgba(var(--rdg-text-rgb), 0.06);
}

.rdg-home .home-feature {
    padding: clamp(1rem, 2vw, 1.5rem);
}

.rdg-home .home-feature__image,
.rdg-home .home-message__image {
    border-radius: 0.38rem;
}

@media (max-width: 72em) {
    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-dynamic-section .home-section-container {
        width: calc(100% - 2rem);
    }

    .rdg-home .home-section-title,
    .rdg-home .home-section-heading .h2 {
        max-width: none;
        font-size: clamp(1.4rem, 7vw, 1.85rem);
    }

    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Home cards style aligned with reference (clean editorial, RDG palette) */
.rdg-home .home-section-grid.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(1.25rem, 2.1vw, 1.8rem) !important;
}

.rdg-home .home-card,
.rdg-home .home-card--featured,
.rdg-home .home-dynamic-section--manual_cards .home-card--featured,
.rdg-home .home-dynamic-section--latest_news .home-card--featured,
.rdg-home .home-dynamic-section--featured_resources .home-card--featured {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.95rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.rdg-home .home-card::before,
.rdg-home .home-card::after {
    content: none !important;
}

.rdg-home .home-card .card__meta {
    order: 0;
    margin: 0;
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.rdg-home .home-card .card__title {
    order: 1;
    margin: 0 !important;
    color: var(--rdg-blue) !important;
    font-size: clamp(1.45rem, 1.7vw, 1.95rem) !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
    font-weight: 760 !important;
}

.rdg-home .home-card .card__img {
    order: 2;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 1.25rem !important;
    aspect-ratio: 16 / 8.3 !important;
    object-fit: cover !important;
    box-shadow: 0 4px 16px rgba(var(--rdg-text-rgb), 0.08);
}

.rdg-home .home-card .card__lead {
    order: 3;
    margin: 0 !important;
    color: var(--rdg-muted) !important;
    font-size: clamp(1rem, 1.08vw, 1.12rem) !important;
    line-height: 1.54 !important;
}

.rdg-home .home-card .card__link {
    order: 4;
    margin-top: auto !important;
}

.rdg-home .home-card .card__link a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--rdg-orange-road) !important;
    font-size: clamp(1.02rem, 1.08vw, 1.18rem) !important;
    font-weight: 760 !important;
    text-decoration: none !important;
}

.rdg-home .home-card .card__link a span {
    text-decoration: underline;
    text-underline-offset: 0.28rem;
    text-decoration-thickness: 2px;
}

.rdg-home .home-card .card__link a::after {
    content: '→';
    font-size: 1.15em;
    line-height: 1;
}

.rdg-home .home-card .card__link a:focus-visible {
    box-shadow: var(--focus-ring);
    border-radius: 0.25rem;
    outline: 0;
}

.rdg-home .home-card .badge {
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.2);
    border-radius: 999px;
    background: rgba(var(--rdg-sky-rgb), 0.1);
    color: var(--rdg-blue);
    font-size: 0.72rem;
    font-weight: 700;
}

.rdg-home .home-dynamic-section--featured_resources .home-card .card__meta {
    display: none;
}

@media (max-width: 72em) {
    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    .rdg-home .home-card .card__title {
        font-size: clamp(1.22rem, 6vw, 1.5rem) !important;
    }

    .rdg-home .home-card .card__link a {
        font-size: 1rem !important;
    }
}

/* Home sections final stabilization: single modern style + readable titles */
.rdg-home .home-dynamic-section--institutional {
    color: var(--color-text-default);
    background:
        linear-gradient(180deg, rgba(var(--rdg-blue-rgb), 0.05) 0%, rgba(var(--rdg-blue-rgb), 0.015) 100%),
        var(--color-bg-surface-alt) !important;
}

.rdg-home .home-dynamic-section--institutional .home-section-title,
.rdg-home .home-dynamic-section--institutional .home-section-heading .h2,
.rdg-home .home-dynamic-section--institutional .home-section-heading .section-intro {
    color: var(--color-text-heading);
}

.rdg-home .home-dynamic-section--institutional .home-card {
    padding: 0.95rem !important;
    border: 1px solid var(--color-border-default) !important;
    border-radius: 0.5rem !important;
    background: var(--color-bg-default) !important;
    box-shadow: 0 6px 20px rgba(var(--rdg-text-rgb), 0.06) !important;
}

.rdg-home .home-dynamic-section--institutional .home-card:hover,
.rdg-home .home-dynamic-section--institutional .home-card:focus-within {
    border-color: var(--color-border-strong) !important;
    box-shadow: 0 14px 30px rgba(var(--rdg-text-rgb), 0.1) !important;
}

.rdg-home .home-dynamic-section--institutional .home-card .card__title,
.rdg-home .home-dynamic-section--institutional .home-card .card__lead,
.rdg-home .home-dynamic-section--institutional .home-card .card__meta,
.rdg-home .home-dynamic-section--institutional .home-card .card__link a {
    color: var(--color-text-default) !important;
}

.rdg-home .home-dynamic-section--institutional .home-card .card__title {
    color: var(--color-text-heading) !important;
    font-size: clamp(1.02rem, 1.18vw, 1.2rem) !important;
    line-height: 1.28 !important;
}

.rdg-home .home-dynamic-section--institutional .home-card .card__lead {
    color: var(--color-text-muted) !important;
    font-size: 0.94rem !important;
    line-height: 1.52 !important;
}

/* Home cards strict reference alignment */
.rdg-home .home-card,
.rdg-home .home-card--featured,
.rdg-home .home-dynamic-section--manual_cards .home-card--featured,
.rdg-home .home-dynamic-section--latest_news .home-card--featured,
.rdg-home .home-dynamic-section--featured_resources .home-card--featured,
.rdg-home .home-dynamic-section--institutional .home-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.rdg-home .home-card:hover,
.rdg-home .home-card:focus-within,
.rdg-home .home-dynamic-section--institutional .home-card:hover,
.rdg-home .home-dynamic-section--institutional .home-card:focus-within {
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.rdg-home .home-card::before,
.rdg-home .home-card::after,
.rdg-home .home-dynamic-section--institutional .home-card::before,
.rdg-home .home-dynamic-section--institutional .home-card::after {
    content: none !important;
}

.rdg-home .home-card .card__meta,
.rdg-home .home-dynamic-section--institutional .home-card .card__meta {
    display: none !important;
}

.rdg-home .home-card .card__title,
.rdg-home .home-dynamic-section--institutional .home-card .card__title {
    order: 1;
    margin: 0 !important;
    color: var(--rdg-blue) !important;
    font-size: clamp(1.55rem, 1.82vw, 2.05rem) !important;
    line-height: 1.14 !important;
    font-weight: 760 !important;
    letter-spacing: 0 !important;
}

.rdg-home .home-card .card__img,
.rdg-home .home-dynamic-section--institutional .home-card .card__img {
    order: 2;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 1.35rem !important;
    aspect-ratio: 16 / 8.3 !important;
    object-fit: cover !important;
    box-shadow: 0 4px 16px rgba(var(--rdg-text-rgb), 0.08) !important;
}

.rdg-home .home-card .card__lead,
.rdg-home .home-dynamic-section--institutional .home-card .card__lead {
    order: 3;
    margin: 0 !important;
    color: var(--color-text-muted) !important;
    font-size: clamp(1rem, 1.08vw, 1.12rem) !important;
    line-height: 1.52 !important;
}

.rdg-home .home-card .card__link,
.rdg-home .home-dynamic-section--institutional .home-card .card__link {
    order: 4;
    margin-top: auto !important;
}

.rdg-home .home-card .card__link a,
.rdg-home .home-dynamic-section--institutional .home-card .card__link a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.56rem !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--rdg-orange-road) !important;
    font-size: clamp(1.02rem, 1.06vw, 1.16rem) !important;
    font-weight: 760 !important;
    text-decoration: none !important;
}

.rdg-home .home-card .card__link a span,
.rdg-home .home-dynamic-section--institutional .home-card .card__link a span {
    text-decoration: underline !important;
    text-underline-offset: 0.28rem !important;
    text-decoration-thickness: 2px !important;
}

.rdg-home .home-card .card__link a::after,
.rdg-home .home-dynamic-section--institutional .home-card .card__link a::after {
    content: '→' !important;
    font-size: 1.15em !important;
    line-height: 1 !important;
}

@media (max-width: 47.99em) {
    .rdg-home .home-card .card__title,
    .rdg-home .home-dynamic-section--institutional .home-card .card__title {
        font-size: clamp(1.28rem, 6.2vw, 1.58rem) !important;
    }

    .rdg-home .home-card .card__link a,
    .rdg-home .home-dynamic-section--institutional .home-card .card__link a {
        font-size: 1rem !important;
    }
}

/* Home sections visual system v5: close to provided reference with RDG colors */
.rdg-home .home-section-kicker {
    display: none !important;
}

.rdg-home .home-dynamic-section {
    padding-block: clamp(3rem, 5.5vw, 4.3rem) !important;
    background: var(--color-bg-default) !important;
}

.rdg-home .home-dynamic-section--muted {
    background: var(--color-bg-surface-alt) !important;
}

.rdg-home .home-dynamic-section--institutional {
    background: var(--color-link) !important;
}

.rdg-home .home-dynamic-section .home-section-container {
    width: min(86rem, calc(100% - 3rem)) !important;
}

.rdg-home .home-section-heading,
.rdg-home .home-section-heading--wide {
    max-width: 72rem !important;
    margin: 0 auto 2rem !important;
    text-align: center !important;
}

.rdg-home .home-section-heading .home-section-title,
.rdg-home .home-section-heading .h2 {
    max-width: none !important;
    margin: 0 auto !important;
    color: var(--color-text-heading) !important;
    font-size: clamp(2.1rem, 3.5vw, 3.15rem) !important;
    line-height: 1.08 !important;
    font-weight: 760 !important;
}

.rdg-home .home-section-heading .section-intro {
    max-width: 70ch !important;
    margin: 0.9rem auto 0 !important;
    color: var(--color-text-muted) !important;
    font-size: clamp(1rem, 1.1vw, 1.2rem) !important;
    line-height: 1.52 !important;
    text-align: center !important;
}

.rdg-home .home-dynamic-section--institutional .home-section-heading .home-section-title,
.rdg-home .home-dynamic-section--institutional .home-section-heading .h2,
.rdg-home .home-dynamic-section--institutional .home-section-heading .section-intro {
    color: var(--color-bg-default) !important;
}

.rdg-home .home-section-grid.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(1.35rem, 2vw, 1.9rem) !important;
}

.rdg-home .home-card,
.rdg-home .home-card--featured,
.rdg-home .home-dynamic-section--manual_cards .home-card--featured,
.rdg-home .home-dynamic-section--latest_news .home-card--featured,
.rdg-home .home-dynamic-section--featured_resources .home-card--featured,
.rdg-home .home-dynamic-section--institutional .home-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.95rem !important;
    min-height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.rdg-home .home-card::before,
.rdg-home .home-card::after {
    content: none !important;
}

.rdg-home .home-card .card__meta {
    display: none !important;
}

.rdg-home .home-card .card__title,
.rdg-home .home-dynamic-section--institutional .home-card .card__title {
    order: 1 !important;
    margin: 0 !important;
    color: var(--color-text-heading) !important;
    font-size: clamp(1.32rem, 1.55vw, 1.74rem) !important;
    line-height: 1.18 !important;
    font-weight: 740 !important;
}

.rdg-home .home-dynamic-section--institutional .home-card .card__title {
    color: var(--color-bg-default) !important;
}

.rdg-home .home-card .card__img {
    order: 2 !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 1.2rem !important;
    aspect-ratio: 16 / 8.5 !important;
    object-fit: cover !important;
}

.rdg-home .home-card .card__lead,
.rdg-home .home-dynamic-section--institutional .home-card .card__lead {
    order: 3 !important;
    margin: 0 !important;
    color: var(--color-text-muted) !important;
    font-size: clamp(1rem, 1.06vw, 1.13rem) !important;
    line-height: 1.5 !important;
}

.rdg-home .home-dynamic-section--institutional .home-card .card__lead {
    color: rgba(var(--rdg-bg-rgb), 0.9) !important;
}

.rdg-home .home-card .card__link {
    order: 4 !important;
    margin-top: auto !important;
}

.rdg-home .home-card .card__link a,
.rdg-home .home-dynamic-section--institutional .home-card .card__link a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.58rem !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--rdg-orange-road) !important;
    font-size: clamp(1.04rem, 1.05vw, 1.18rem) !important;
    font-weight: 760 !important;
    text-decoration: none !important;
}

.rdg-home .home-dynamic-section--institutional .home-card .card__link a {
    color: var(--color-bg-default) !important;
}

.rdg-home .home-card .card__link a span {
    text-decoration: underline !important;
    text-underline-offset: 0.28rem !important;
    text-decoration-thickness: 2px !important;
}

.rdg-home .home-card .card__link a::after {
    content: '→' !important;
    font-size: 1.1em !important;
    line-height: 1 !important;
}

.rdg-home .home-dynamic-section .home-section-cta {
    margin-top: 2rem !important;
    text-align: center !important;
}

@media (max-width: 72em) {
    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-dynamic-section .home-section-container {
        width: calc(100% - 2rem) !important;
    }

    .rdg-home .home-section-heading,
    .rdg-home .home-section-heading--wide {
        margin-bottom: 1.35rem !important;
    }

    .rdg-home .home-section-heading .home-section-title,
    .rdg-home .home-section-heading .h2 {
        font-size: clamp(1.6rem, 7.4vw, 2.1rem) !important;
    }

    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    .rdg-home .home-card .card__title {
        font-size: clamp(1.16rem, 5.9vw, 1.42rem) !important;
    }
}

/* Home sections visual lock v6: match provided layout more precisely */
.rdg-home .home-dynamic-section:not(.home-kpis) {
    padding-block: clamp(3rem, 5.4vw, 4.4rem) !important;
}

.rdg-home .home-dynamic-section .home-section-container {
    width: min(86rem, calc(100% - 3rem)) !important;
}

.rdg-home .home-dynamic-section .home-section-heading,
.rdg-home .home-dynamic-section .home-section-heading--wide {
    max-width: 74rem !important;
    margin: 0 auto 2rem !important;
    text-align: center !important;
}

.rdg-home .home-dynamic-section .home-section-kicker {
    display: none !important;
}

.rdg-home .home-dynamic-section .home-section-title,
.rdg-home .home-dynamic-section .home-section-heading .h2 {
    max-width: none !important;
    margin: 0 auto !important;
    color: var(--color-text-heading) !important;
    font-size: clamp(2.1rem, 3.4vw, 3.05rem) !important;
    line-height: 1.08 !important;
    font-weight: 760 !important;
}

.rdg-home .home-dynamic-section .home-section-heading .section-intro {
    max-width: 72ch !important;
    margin: 0.9rem auto 0 !important;
    color: var(--color-text-muted) !important;
    font-size: clamp(1rem, 1.05vw, 1.16rem) !important;
    line-height: 1.52 !important;
    text-align: center !important;
}

/* First highlighted band: institutional section */
.rdg-home .home-dynamic-section--institutional {
    background: var(--color-bg-surface-alt) !important;
}

.rdg-home .home-dynamic-section--institutional .home-section-container {
    background: var(--rdg-blue) !important;
    padding: clamp(2.2rem, 4vw, 3rem) clamp(1.2rem, 2.6vw, 2.7rem) clamp(2rem, 3.4vw, 2.8rem) !important;
    border-radius: 0 !important;
}

.rdg-home .home-dynamic-section--institutional .home-section-title,
.rdg-home .home-dynamic-section--institutional .home-section-heading .h2,
.rdg-home .home-dynamic-section--institutional .home-section-heading .section-intro {
    color: var(--color-bg-default) !important;
}

/* Card system */
.rdg-home .home-section-grid.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(1.2rem, 1.9vw, 1.8rem) !important;
}

.rdg-home .home-section-grid.grid-3 .home-card,
.rdg-home .home-section-grid.grid-3 .home-card--featured,
.rdg-home .home-section-grid.grid-3 .home-dynamic-section--manual_cards .home-card--featured,
.rdg-home .home-section-grid.grid-3 .home-dynamic-section--latest_news .home-card--featured,
.rdg-home .home-section-grid.grid-3 .home-dynamic-section--featured_resources .home-card--featured {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.95rem !important;
    min-height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.rdg-home .home-section-grid.grid-3 .home-card::before,
.rdg-home .home-section-grid.grid-3 .home-card::after {
    content: none !important;
}

.rdg-home .home-section-grid.grid-3 .home-card .card__meta {
    display: none !important;
}

.rdg-home .home-section-grid.grid-3 .home-card .card__title {
    order: 1 !important;
    margin: 0 !important;
    color: var(--color-text-heading) !important;
    font-size: clamp(1.35rem, 1.5vw, 1.72rem) !important;
    line-height: 1.17 !important;
    font-weight: 740 !important;
}

.rdg-home .home-section-grid.grid-3 .home-card .card__img {
    order: 2 !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 1.2rem !important;
    aspect-ratio: 16 / 8.4 !important;
    object-fit: cover !important;
    box-shadow: 0 4px 14px rgba(var(--rdg-text-rgb), 0.08) !important;
}

.rdg-home .home-section-grid.grid-3 .home-card .card__lead {
    order: 3 !important;
    margin: 0 !important;
    color: var(--color-text-muted) !important;
    font-size: clamp(0.99rem, 1.02vw, 1.1rem) !important;
    line-height: 1.5 !important;
}

.rdg-home .home-section-grid.grid-3 .home-card .card__link {
    order: 4 !important;
    margin-top: auto !important;
}

.rdg-home .home-section-grid.grid-3 .home-card .card__link a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.58rem !important;
    padding: 0.2rem 0.42rem !important;
    border: 0 !important;
    color: var(--rdg-orange-road) !important;
    font-size: clamp(1.02rem, 1.03vw, 1.16rem) !important;
    font-weight: 760 !important;
    text-decoration: none !important;
}

.rdg-home .home-section-grid.grid-3 .home-card .card__link a span {
    text-decoration: underline !important;
    text-underline-offset: 0.3rem !important;
    text-decoration-thickness: 2px !important;
}

.rdg-home .home-section-grid.grid-3 .home-card .card__link a::after {
    content: '→' !important;
    font-size: 1.1em !important;
    line-height: 1 !important;
}

/* Card hover behavior: only CTA reacts, title remains static */
.rdg-home .home-section-grid.grid-3 .home-card .card__title,
.rdg-home .home-section-grid.grid-3 .home-card:hover .card__title,
.rdg-home .home-section-grid.grid-3 .home-card:focus-within .card__title {
    text-decoration: none !important;
    transform: none !important;
}

.rdg-home .home-section-grid.grid-3 .home-card .card__link a {
    border-radius: 0.32rem;
    transition: color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), text-decoration-color var(--transition-fast);
}

.rdg-home .home-section-grid.grid-3 .home-card:hover .card__link a,
.rdg-home .home-section-grid.grid-3 .home-card:focus-within .card__link a,
.rdg-home .home-section-grid.grid-3 .home-card .card__link a:hover,
.rdg-home .home-section-grid.grid-3 .home-card .card__link a:focus-visible {
    background: rgba(var(--rdg-orange-road-rgb), 0.1) !important;
    box-shadow: 0 0 0 1px rgba(var(--rdg-orange-road-rgb), 0.34) inset;
}

/* Global card interaction lock for all section cards */
.rdg-home .home-dynamic-section .home-card .card__link a {
    position: static !important;
}

.rdg-home .home-dynamic-section .home-card .card__link a::before {
    content: none !important;
}

.rdg-home .home-dynamic-section .home-card .card__title,
.rdg-home .home-dynamic-section .home-card:hover .card__title,
.rdg-home .home-dynamic-section .home-card:focus-within .card__title,
.rdg-home .home-dynamic-section .home-card:has(.card__link a:hover) .card__title {
    text-decoration: none !important;
    transform: none !important;
}

.rdg-home .home-dynamic-section .home-card .card__link a {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.2rem 0.42rem !important;
}

.rdg-home .home-dynamic-section .home-card:hover .card__link a,
.rdg-home .home-dynamic-section .home-card:focus-within .card__link a,
.rdg-home .home-dynamic-section .home-card .card__link a:hover,
.rdg-home .home-dynamic-section .home-card .card__link a:focus-visible {
    background: rgba(var(--rdg-orange-road-rgb), 0.1) !important;
    box-shadow: 0 0 0 1px rgba(var(--rdg-orange-road-rgb), 0.34) inset !important;
}

/* Institutional cards: white text/link like reference */
.rdg-home .home-dynamic-section--institutional .home-section-grid.grid-3 .home-card .card__title,
.rdg-home .home-dynamic-section--institutional .home-section-grid.grid-3 .home-card .card__lead,
.rdg-home .home-dynamic-section--institutional .home-section-grid.grid-3 .home-card .card__link a {
    color: var(--color-bg-default) !important;
}

.rdg-home .home-dynamic-section--institutional .home-section-grid.grid-3 .home-card .card__img {
    box-shadow: none !important;
}

.rdg-home .home-dynamic-section .home-section-cta {
    margin-top: 2rem !important;
    text-align: center !important;
}

@media (max-width: 72em) {
    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-dynamic-section .home-section-container {
        width: calc(100% - 2rem) !important;
    }

    .rdg-home .home-dynamic-section--institutional .home-section-container {
        padding-inline: 1rem !important;
    }

    .rdg-home .home-dynamic-section .home-section-title,
    .rdg-home .home-dynamic-section .home-section-heading .h2 {
        font-size: clamp(1.58rem, 7.2vw, 2.08rem) !important;
    }

    .rdg-home .home-section-grid.grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    .rdg-home .home-section-grid.grid-3 .home-card .card__title {
        font-size: clamp(1.16rem, 6vw, 1.42rem) !important;
    }
}

/* Home sections normalization v7: centered headings + uniform spacing */
.rdg-home {
    --rdg-section-max-width: 86rem;
    --rdg-section-gutter-x: clamp(1rem, 2.4vw, 1.5rem);
    --rdg-section-padding-y: clamp(3rem, 5.4vw, 4.4rem);
    --rdg-section-heading-gap: clamp(1.4rem, 2.5vw, 2rem);
    --rdg-section-grid-gap: clamp(1.15rem, 1.9vw, 1.7rem);
}

.rdg-home .home-dynamic-section:not(.home-kpis) {
    padding-block: var(--rdg-section-padding-y) !important;
}

.rdg-home .home-dynamic-section .home-section-container {
    width: min(var(--rdg-section-max-width), calc(100% - (2 * var(--rdg-section-gutter-x)))) !important;
    margin-inline: auto !important;
}

.rdg-home .home-dynamic-section .home-section-heading,
.rdg-home .home-dynamic-section .home-section-heading--wide {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 var(--rdg-section-heading-gap) !important;
    padding: 0 !important;
    text-align: center !important;
}

.rdg-home .home-dynamic-section .home-section-title,
.rdg-home .home-dynamic-section .home-section-heading .h2 {
    margin: 0 !important;
    max-width: 26ch !important;
    width: 100% !important;
    text-align: center !important;
    text-wrap: balance;
}

.rdg-home .home-dynamic-section .home-section-grid.grid-3 {
    gap: var(--rdg-section-grid-gap) !important;
    margin: 0 !important;
}

.rdg-home .home-dynamic-section .home-card {
    margin: 0 !important;
}

@media (max-width: 47.99em) {
    .rdg-home .home-dynamic-section .home-section-container {
        width: calc(100% - 2rem) !important;
    }

    .rdg-home .home-dynamic-section .home-section-heading,
    .rdg-home .home-dynamic-section .home-section-heading--wide {
        margin-bottom: 1.25rem !important;
    }
}

/* Home sections normalization v8: exact heading centering + clean rhythm */
.rdg-home {
    --rdg-section-pad-block: clamp(3.25rem, 5.4vw, 4.5rem);
    --rdg-section-pad-inline: clamp(1rem, 2.2vw, 1.5rem);
    --rdg-section-heading-bottom: clamp(1.5rem, 2.6vw, 2.2rem);
    --rdg-cards-gap: clamp(1.15rem, 1.8vw, 1.6rem);
    --rdg-card-body-gap: clamp(0.8rem, 1.1vw, 1rem);
}

.rdg-home section.home-dynamic-section {
    padding-block: var(--rdg-section-pad-block) !important;
}

.rdg-home section.home-dynamic-section > .home-section-container {
    width: min(86rem, calc(100% - (2 * var(--rdg-section-pad-inline)))) !important;
    margin-inline: auto !important;
}

.rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading,
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading--wide {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 var(--rdg-section-heading-bottom) !important;
    padding: 0 !important;
    text-align: center !important;
}

.rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading > .home-section-title,
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading > .h2,
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading--wide > .home-section-title,
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading--wide > .h2 {
    display: block !important;
    width: fit-content !important;
    max-width: none !important;
    margin: 0 auto !important;
    text-align: center !important;
    white-space: normal !important;
    text-wrap: balance !important;
    line-height: 1.1 !important;
}

.rdg-home section.home-dynamic-section > .home-section-container > .home-section-grid.grid-3 {
    gap: var(--rdg-cards-gap) !important;
    margin: 0 !important;
    align-items: start !important;
}

.rdg-home section.home-dynamic-section > .home-section-container > .home-section-grid.grid-3 .home-card {
    gap: var(--rdg-card-body-gap) !important;
}

.rdg-home section.home-dynamic-section > .home-section-container > .home-section-grid.grid-3 .home-card .card__title,
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-grid.grid-3 .home-card .card__img,
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-grid.grid-3 .home-card .card__lead,
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-grid.grid-3 .home-card .card__link {
    margin: 0 !important;
}

@media (max-width: 47.99em) {
    .rdg-home section.home-dynamic-section > .home-section-container {
        width: calc(100% - 2rem) !important;
    }

    .rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading,
    .rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading--wide {
        margin-bottom: 1.2rem !important;
    }
}

/* Home section headings: single centered line on desktop */
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading > .home-section-title,
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading > .h2,
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading--wide > .home-section-title,
.rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading--wide > .h2 {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

@media (max-width: 47.99em) {
    .rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading > .home-section-title,
    .rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading > .h2,
    .rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading--wide > .home-section-title,
    .rdg-home section.home-dynamic-section > .home-section-container > .home-section-heading--wide > .h2 {
        white-space: normal !important;
        text-wrap: balance !important;
    }
}

/* Home institutional highlight: orange block + white surrounding background */
.rdg-home section.home-dynamic-section--institutional {
    background: var(--color-bg-default) !important;
}

.rdg-home section.home-dynamic-section--institutional > .home-section-container {
    background: var(--rdg-orange-road) !important;
}

/* Exact section target: "Visualisations à la une" */
.rdg-home section.home-dynamic-section--visual-highlights {
    background: var(--color-bg-default) !important;
}

.rdg-home section.home-dynamic-section--visual-highlights > .home-section-container {
    background: var(--rdg-orange-road) !important;
}

/* Home page editorial redesign */
.rdg-home .home-dynamic-section--latest_news {
    background:
        linear-gradient(180deg, rgba(var(--rdg-blue-rgb), 0.04), rgba(var(--rdg-bg-rgb), 0) 14rem),
        #f6f8fc !important;
}

.rdg-home .home-news-shelf {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 0.95fr);
    gap: clamp(1.25rem, 2vw, 2rem);
    align-items: stretch;
}

.rdg-home .home-news-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.95fr);
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.12);
    border-radius: 1.5rem;
    background: var(--color-bg-default);
    box-shadow: 0 1.25rem 3rem rgba(var(--rdg-text-rgb), 0.08);
}

.rdg-home .home-news-lead__media,
.rdg-home .home-news-mini-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.rdg-home .home-news-lead__image,
.rdg-home .home-news-mini-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.rdg-home .home-news-lead:hover .home-news-lead__image,
.rdg-home .home-news-lead:focus-within .home-news-lead__image,
.rdg-home .home-news-mini-card:hover .home-news-mini-card__image,
.rdg-home .home-news-mini-card:focus-within .home-news-mini-card__image {
    transform: scale(1.04);
}

.rdg-home .home-news-lead__tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    color: var(--color-bg-default);
    background: linear-gradient(135deg, var(--rdg-orange-road), color-mix(in srgb, var(--rdg-orange-road) 55%, var(--color-brand-accent) 45%));
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rdg-home .home-news-lead__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.95rem;
    padding: clamp(1.4rem, 2.2vw, 2rem);
}

.rdg-home .home-news-lead__meta,
.rdg-home .home-news-mini-card__meta {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.rdg-home .home-news-lead__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.rdg-home .home-news-lead__title,
.rdg-home .home-news-mini-card__title {
    margin: 0;
    text-wrap: balance;
}

.rdg-home .home-news-lead__title a,
.rdg-home .home-news-mini-card__title a {
    color: var(--color-text-heading);
    text-decoration: none;
}

.rdg-home .home-news-lead__title a:hover,
.rdg-home .home-news-lead__title a:focus-visible,
.rdg-home .home-news-mini-card__title a:hover,
.rdg-home .home-news-mini-card__title a:focus-visible {
    color: var(--rdg-orange-road);
}

.rdg-home .home-news-lead__title {
    font-size: clamp(1.7rem, 2.3vw, 2.45rem);
    line-height: 1.08;
}

.rdg-home .home-news-lead__excerpt {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.rdg-home .home-news-lead__link,
.rdg-home .home-news-mini-card__link {
    margin: 0;
}

.rdg-home .home-news-lead__link a,
.rdg-home .home-news-mini-card__link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-link);
    font-weight: 800;
    text-decoration: none;
}

.rdg-home .home-news-lead__link a:hover,
.rdg-home .home-news-lead__link a:focus-visible,
.rdg-home .home-news-mini-card__link a:hover,
.rdg-home .home-news-mini-card__link a:focus-visible {
    color: var(--color-link-hover);
}

.rdg-home .home-news-lead__link a span,
.rdg-home .home-news-mini-card__link a span {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.26rem;
}

.rdg-home .home-news-lead__link a::after,
.rdg-home .home-news-mini-card__link a::after {
    content: '→';
    line-height: 1;
}

.rdg-home .home-news-rail {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.rdg-home .home-news-mini-card {
    display: grid;
    grid-template-columns: 8.6rem minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    padding: 0.9rem;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.12);
    border-radius: 1.15rem;
    background: rgba(var(--rdg-bg-rgb), 0.96);
    box-shadow: 0 0.85rem 2rem rgba(var(--rdg-text-rgb), 0.06);
}

.rdg-home .home-news-mini-card__media {
    min-height: 100%;
    border-radius: 0.85rem;
}

.rdg-home .home-news-mini-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
}

.rdg-home .home-news-mini-card__title {
    font-size: 1.08rem;
    line-height: 1.25;
}

.rdg-home .home-news-mini-card__excerpt {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.rdg-home .home-message--editorial {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(1.2rem, 2vw, 2rem);
    align-items: center;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    overflow: hidden;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.11) !important;
    border-radius: 1.5rem !important;
    background:
        radial-gradient(circle at top left, rgba(var(--rdg-sky-rgb), 0.16), transparent 28rem),
        linear-gradient(135deg, var(--color-bg-default), var(--color-bg-surface-alt) 58%, var(--color-bg-surface-alt));
    box-shadow: 0 1.25rem 3rem rgba(var(--rdg-text-rgb), 0.08) !important;
}

.rdg-home .home-message--editorial::before {
    content: '';
    position: absolute;
    inset: auto -4rem -4rem auto;
    width: 16rem;
    height: 16rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--rdg-orange-road-rgb), 0.12), transparent 68%);
    pointer-events: none;
}

.rdg-home .home-message__visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: clamp(1rem, 1.8vw, 1.4rem);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(var(--rdg-blue-rgb), 0.08), rgba(var(--rdg-sky-rgb), 0.14));
}

.rdg-home .home-message--sig .home-message__visual {
    background:
        linear-gradient(180deg, rgba(var(--rdg-blue-rgb), 0.2), rgba(var(--rdg-sky-rgb), 0.22)),
        var(--color-link);
}

.rdg-home .home-message__content {
    position: relative;
    z-index: 1;
}

.rdg-home .home-message__eyebrow {
    display: inline-flex;
    margin: 0 0 0.9rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: var(--color-text-default);
    background: rgba(var(--rdg-blue-rgb), 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rdg-home .home-message__content p {
    margin: 0 0 0.9rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.rdg-home .home-message__content p:last-of-type {
    margin-bottom: 0;
}

.rdg-home .home-message--editorial .home-section-cta {
    margin-top: 1.35rem !important;
    text-align: left !important;
}

.rdg-home .home-message--about .home-message__visual {
    background:
        linear-gradient(135deg, rgba(var(--rdg-blue-rgb), 0.08), rgba(var(--rdg-green-rgb), 0.14)),
        var(--color-bg-default);
}

.rdg-home .home-message__visual--logo {
    padding: clamp(1.25rem, 2.2vw, 1.8rem);
}

.rdg-home .home-message--about .home-message__image {
    width: min(100%, 14rem) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 10.5rem !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: drop-shadow(0 0.75rem 1.5rem rgba(var(--rdg-text-rgb), 0.12));
}

.rdg-home .home-dynamic-section--about {
    background:
        linear-gradient(180deg, rgba(var(--rdg-blue-rgb), 0.03), rgba(var(--rdg-bg-rgb), 0) 16rem),
        var(--color-bg-default) !important;
}

.rdg-home .home-dynamic-section--about .home-feature {
    display: grid;
    grid-template-columns: minmax(14rem, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(1.4rem, 2vw, 2.3rem);
    align-items: center;
    padding: clamp(1.35rem, 2.1vw, 1.9rem) !important;
    border: 1px solid rgba(var(--rdg-blue-rgb), 0.1) !important;
    border-radius: 1.5rem !important;
    background:
        radial-gradient(circle at top left, rgba(var(--rdg-sky-rgb), 0.12), transparent 24rem),
        linear-gradient(135deg, var(--color-bg-default), var(--color-bg-surface-alt) 60%, var(--color-bg-surface-alt)) !important;
    box-shadow: 0 1.25rem 3rem rgba(var(--rdg-text-rgb), 0.08) !important;
}

.rdg-home .home-dynamic-section--about .home-feature__image {
    justify-self: center;
    width: min(100%, 14rem) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 10rem !important;
    padding: 1rem;
    border-radius: 1.2rem !important;
    background: linear-gradient(180deg, rgba(var(--rdg-blue-rgb), 0.06), rgba(var(--rdg-green-rgb), 0.1));
    object-fit: contain !important;
    object-position: center center !important;
    box-shadow: 0 0.9rem 2rem rgba(var(--rdg-text-rgb), 0.1);
}

.rdg-home .home-dynamic-section--about .home-feature__content {
    padding: 0 !important;
}

.rdg-home .home-dynamic-section--about .home-feature__content p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.rdg-home .home-dynamic-section--about .home-feature__content .home-section-cta {
    margin-top: 1.4rem !important;
    text-align: left !important;
}

.rdg-home .home-message--sig .home-message__image {
    width: 100%;
    min-height: 15rem;
    object-fit: cover;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig {
    background:
        radial-gradient(circle at top right, rgba(var(--rdg-sky-rgb), 0.1), transparent 24rem),
        linear-gradient(180deg, var(--color-bg-surface-alt), var(--color-bg-default) 58%) !important;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-section-container {
    background: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-section-heading {
    margin-bottom: 2.4rem !important;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-section-heading::after {
    content: '';
    display: block;
    width: 8rem;
    height: 0.35rem;
    margin: 1rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rdg-orange-road), var(--rdg-sky));
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.4rem, 2vw, 2rem);
    margin-top: 2.1rem;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.9rem 1.9rem 1.75rem;
    overflow: hidden;
    border: 0;
    border-radius: 1.35rem;
    background:
        linear-gradient(135deg, rgba(var(--rdg-bg-rgb), 0.16), rgba(var(--rdg-bg-rgb), 0.03)),
        var(--color-bg-default);
    box-shadow: 0 1.25rem 2.8rem rgba(var(--rdg-text-rgb), 0.14);
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(var(--rdg-bg-rgb), 0.18), transparent 44%),
        linear-gradient(315deg, rgba(var(--rdg-bg-rgb), 0.12), transparent 38%),
        linear-gradient(45deg, rgba(var(--rdg-bg-rgb), 0.08), transparent 58%);
    pointer-events: none;
    z-index: -1;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card::after {
    content: '';
    position: absolute;
    inset: auto -2.5rem -2.5rem auto;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--rdg-bg-rgb), 0.22), transparent 68%);
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card:hover,
.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 1.55rem 3.2rem rgba(var(--rdg-text-rgb), 0.18);
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card__icon {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 1rem;
    background: rgba(var(--rdg-bg-rgb), 0.16);
    color: var(--color-bg-default);
    box-shadow: inset 0 0 0 1px rgba(var(--rdg-bg-rgb), 0.2);
    backdrop-filter: blur(2px);
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card h3 {
    color: var(--color-bg-default);
    font-size: 1.55rem;
    line-height: 1.06;
    margin-bottom: 0.4rem;
    max-width: 12ch;
    font-weight: 800;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card p {
    color: rgba(var(--rdg-bg-rgb), 0.92);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0.55rem 0 0;
    max-width: 28ch;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(var(--rdg-bg-rgb), 0.28);
    border-radius: 999px;
    background: rgba(var(--rdg-bg-rgb), 0.14);
    color: var(--color-bg-default);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(var(--rdg-bg-rgb), 0.24);
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card__link::after {
    content: '→';
    line-height: 1;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card__link span {
    text-decoration: none;
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card:hover .home-request-card__link,
.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card:focus-within .home-request-card__link,
.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card__link:hover,
.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card__link:focus-visible {
    border-color: rgba(var(--rdg-bg-rgb), 0.42);
    background: rgba(var(--rdg-bg-rgb), 0.22);
    color: var(--color-bg-default);
    transform: translateY(-1px);
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card--orange {
    background:
        linear-gradient(135deg, var(--rdg-orange-road), color-mix(in srgb, var(--rdg-orange-road) 58%, var(--color-brand-accent) 42%) 55%, var(--color-brand-accent));
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card--blue {
    background:
        linear-gradient(135deg, var(--color-link), var(--color-brand-secondary) 58%, color-mix(in srgb, var(--color-brand-secondary) 72%, var(--color-bg-default) 28%));
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card--green {
    background:
        linear-gradient(135deg, var(--color-brand-secondary), var(--color-success) 56%, color-mix(in srgb, var(--color-success) 72%, var(--color-bg-default) 28%));
}

.rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-card__icon svg {
    width: 1.65rem;
    height: 1.65rem;
}

@media (max-width: 72em) {
    .rdg-home .home-news-shelf,
    .rdg-home .home-news-lead,
    .rdg-home .home-message--editorial {
        grid-template-columns: 1fr;
    }

    .rdg-home .home-news-mini-card {
        grid-template-columns: 7.5rem minmax(0, 1fr);
    }

    .rdg-home .home-dynamic-section--request_gateway.home-dynamic-section--sig .home-request-grid {
        grid-template-columns: 1fr;
    }

    .rdg-home .home-dynamic-section--about .home-feature {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 47.99em) {
    .rdg-home .home-news-shelf {
        gap: 1rem;
    }

    .rdg-home .home-news-lead__body,
    .rdg-home .home-message--editorial {
        padding: 1rem;
    }

    .rdg-home .home-news-mini-card {
        grid-template-columns: 1fr;
    }

    .rdg-home .home-news-mini-card__media {
        aspect-ratio: 16 / 9;
    }

    .rdg-home .home-news-mini-card__image,
    .rdg-home .home-news-lead__image {
        aspect-ratio: 16 / 10;
    }
}

/* Meeting updates: hero theme shortcuts and request gateway */
.home-hero-themes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 10.5rem));
    justify-content: center;
    justify-items: center;
    gap: var(--home-hero-themes-gap);
    width: fit-content;
    max-width: 100%;
    margin: clamp(1.05rem, 1.8vw, 1.45rem) auto 0;
}

.home-hero-theme {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 0.48rem;
    width: min(100%, 10.5rem);
    min-width: 0;
    padding: var(--home-hero-theme-padding);
    margin: var(--home-hero-theme-icon-margin);
    border-radius: var(--home-hero-theme-radius);
    color: var(--color-text-heading);
    text-align: center;
    text-decoration: none;
    isolation: isolate;
    backdrop-filter: blur(3px);
}

.home-hero-theme::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--home-hero-theme-icon-background);
    opacity: var(--home-hero-theme-icon-background-opacity);
    box-shadow: inset 0 0 0 1px rgba(var(--rdg-bg-rgb), 0.26);
    pointer-events: none;
    z-index: 0;
}

.home-hero-theme:hover,
.home-hero-theme:focus-visible {
    color: var(--color-text-heading);
    text-decoration: none;
}

.home-hero-theme__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(3.45rem, 5vw, 4.25rem);
    height: clamp(3.45rem, 5vw, 4.25rem);
    padding: var(--home-hero-theme-icon-padding);
    border-radius: var(--home-hero-theme-radius);
    box-shadow: 0 0.55rem 1.15rem rgba(var(--rdg-text-rgb), 0.13);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    z-index: 1;
}

.home-hero-theme:hover .home-hero-theme__icon,
.home-hero-theme:focus-visible .home-hero-theme__icon {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.35rem rgba(var(--rdg-text-rgb), 0.15);
}

.home-hero-theme__icon svg {
    width: clamp(1.45rem, 2.2vw, 1.75rem);
    height: clamp(1.45rem, 2.2vw, 1.75rem);
}

.home-hero-theme__icon.is-orange {
    color: var(--color-bg-default);
    background: var(--color-theme-1, var(--color-brand-primary));
}

.home-hero-theme__icon.is-blue {
    color: var(--color-bg-default);
    background: var(--color-theme-2, var(--color-brand-accent-2));
}

.home-hero-theme__icon.is-yellow {
    color: var(--color-bg-default);
    background: var(--color-theme-3, var(--color-brand-accent));
}

.home-hero-theme__icon.is-green {
    color: var(--color-bg-default);
    background: var(--color-theme-4, var(--color-brand-accent-3));
}

.home-hero-theme__icon.is-custom {
    color: var(--color-bg-default);
    background: var(--home-hero-theme-color, var(--color-brand-primary));
}

.home-hero-theme__label {
    position: relative;
    z-index: 1;
    display: block;
    max-width: none;
    color: var(--home-hero-theme-label-color);
    font-size: clamp(0.86rem, 1.05vw, 1.08rem);
    font-weight: 800;
    line-height: 1.16;
    text-shadow: 0 0.2rem 0.75rem rgba(var(--rdg-ink-rgb), 0.28);
    white-space: nowrap;
}

@media (min-width: 64em) {
    .home-hero-themes {
        grid-template-columns: repeat(4, minmax(14rem, 1fr));
        gap: clamp(1.6rem, 2.3vw, 2.35rem) clamp(1.8rem, 3.6vw, 3.4rem);
        width: min(75vw, 84rem);
    }

    .home-hero-theme {
        width: 100%;
        max-width: none;
    }

    .home-hero-theme__label {
        width: 100%;
        text-align: center;
        font-size: clamp(0.8rem, 0.9vw, 1rem);
    }

    .rdg-home .home-hero-search {
        margin-top: 0.4rem !important;
    }
}

.rdg-home .home-dynamic-section--latest_news .home-section-grid.grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.rdg-home .home-dynamic-section--latest_news .home-card--featured {
    grid-column: 1 / -1 !important;
}

.rdg-home .home-dynamic-section--request_gateway .home-section-container {
    background: var(--color-bg-surface-alt) !important;
}

.home-request-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 1.8vw, 1.35rem);
}

.home-request-card {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    min-height: 100%;
    padding: clamp(1rem, 1.7vw, 1.25rem);
    border: 1px solid var(--color-border-default);
    border-radius: 0.5rem;
    background: var(--color-bg-default);
    box-shadow: 0 0.7rem 1.8rem rgba(var(--rdg-text-rgb), 0.08);
}

.home-request-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.65rem;
    background: rgba(var(--rdg-blue-rgb), 0.1);
    color: var(--rdg-blue);
}

.home-request-card--orange .home-request-card__icon {
    background: rgba(var(--rdg-orange-road-rgb), 0.12);
    color: var(--rdg-orange-road);
}

.home-request-card--green .home-request-card__icon {
    background: rgba(var(--rdg-green-rgb), 0.14);
    color: var(--rdg-green);
}

.home-request-card__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.home-request-card__content {
    min-width: 0;
}

.home-request-card h3 {
    margin: 0;
    color: var(--rdg-blue);
    font-size: 1.05rem;
    line-height: 1.25;
}

.home-request-card p {
    margin: 0.45rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.48;
}

.home-request-card__link {
    display: inline-flex;
    margin-top: 0.8rem;
    color: var(--rdg-orange-road);
    font-weight: 760;
    text-decoration: none;
}

.home-request-card__link span {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25rem;
}

@media (max-width: 63.99em) {
    .home-hero-themes {
        grid-template-columns: repeat(2, minmax(0, 10.5rem));
        gap: 1rem 1.2rem;
        width: min(100%, 23rem);
    }

    .home-request-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 47.99em) {
    .home-banner--institutional::before {
        background:
            linear-gradient(0deg, rgba(var(--rdg-bg-rgb), var(--home-hero-white-veil-opacity)) 0%, rgba(var(--rdg-bg-rgb), var(--home-hero-white-veil-opacity)) 100%),
            linear-gradient(0deg, rgba(var(--rdg-blue-rgb), var(--home-hero-dark-overlay-opacity)) 0%, rgba(var(--rdg-blue-rgb), var(--home-hero-dark-overlay-opacity)) 100%),
            var(--home-hero-background-image) 54% center / cover no-repeat;
    }

    .home-hero-themes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.85rem;
        margin-top: 1.05rem;
    }

    .home-hero-theme {
        width: 100%;
        gap: 0.55rem;
    }

    .home-hero-theme__icon {
        width: 3.35rem;
        height: 3.35rem;
        border-radius: 0.78rem;
    }

    .home-hero-theme__icon svg {
        width: 1.45rem;
        height: 1.45rem;
    }

    .home-hero-theme__label {
        max-width: none;
        font-size: clamp(0.8rem, 3.7vw, 0.95rem);
        white-space: nowrap;
    }

    .rdg-home .home-dynamic-section--latest_news .home-section-grid.grid-3 {
        grid-template-columns: 1fr !important;
    }

    .home-request-card {
        flex-direction: column;
    }
}
