/* Single typography scale shared by the whole CRASC template. */
:root {
 --crasc-type-body: 16px;
 --crasc-type-title: clamp(26px, 3vw, 34px);
 --crasc-type-section: 20px;
 --crasc-type-card: 16px;
 --crasc-type-meta: 12px;
 --crasc-type-control: 14px;
 --crasc-type-date: 24px;
 --crasc-type-size-1: clamp(28px,3.4vw,44px);
 --crasc-type-size-2: 17px;
 --crasc-type-size-3: 13px;
 --crasc-type-size-4: 14px;
 --crasc-type-size-5: 27px;
 --crasc-type-size-6: 22px;
 --crasc-type-size-7: 20px;
 --crasc-type-size-8: 15px;
 --crasc-type-size-9: 16px;
 --crasc-type-size-10: clamp(30px,3.7vw,48px);
 --crasc-type-size-11: 18px;
 --crasc-type-size-12: clamp(26px,2.5vw,34px);
 --crasc-type-size-13: 24px;
 --crasc-type-size-14: clamp(21px,2vw,28px);
 --crasc-type-size-15: 23px;
 --crasc-type-size-16: clamp(22px,2.3vw,32px);
 --crasc-type-size-17: clamp(72px,12vw,128px);
 --crasc-type-size-18: clamp(24px,3vw,32px);
 --crasc-type-size-19: 1rem;
 --crasc-type-size-20: 12px;
 --crasc-type-size-21: 1.25rem;
 --crasc-type-size-22: 25px;
 --crasc-type-size-23: clamp(36px,5vw,60px);
 --crasc-type-size-24: clamp(26px, 4vw, 52px);
 --crasc-type-size-25: clamp(24px, 7vw, 42px);
 --crasc-type-size-26: 19px;
}
body { font-size:var(--crasc-type-body); }
button,input,select,textarea { font-family:inherit; }
.site-shell :is(.nx-block-title,.nx-article-list-block>h3,.crasc-home-title) { font-size:var(--crasc-type-section); }
.site-shell :is(.oratio-classic-widget__body h3,.oratio-modern-widget__row h3,.oratio-modern-widget__card h3,.nx-article-media-title,.nx-article-media-title a,.nx-article-list-block li a,.crasc-home-card h3) { font-size:var(--crasc-type-card) !important; line-height:1.35; font-weight:700; }
.site-shell :is(.oratio-classic-widget__date strong,.oratio-modern-widget__datebox strong) { font-size:var(--crasc-type-date); }
.site-shell :is(.oratio-classic-widget__date span,.oratio-classic-widget__date small,.oratio-classic-widget__type,.oratio-classic-widget__body p,.oratio-modern-widget__card-type,.oratio-modern-widget__row-meta,.nx-block-subtitle,.nx-contact-label) { font-size:var(--crasc-type-meta); }
.site-shell :is(.oratio-classic-widget__more a,.oratio-modern-widget__all a,.nx-contact-widget label,.nx-contact-widget button) { font-size:var(--crasc-type-control); }
.site-shell :is(.oratio-classic-widget,.oratio-modern-widget) { font-family:inherit; }

/* Shared Core block heading: the same banner for every provider. */
.site-shell main .nx-block > .nx-block-title {
 display:block; margin:0 0 16px; padding:13px 18px;
 background:var(--crasc-bordeaux); color:#fff;
 border-radius:16px 16px 0 0;
 font-family:inherit; font-size:var(--crasc-type-section);
 font-weight:700; line-height:1.35; text-align:start;
}
.site-shell main .nx-block > .nx-block-subtitle {
 margin:0 0 16px; padding-inline:18px;
 font-size:var(--crasc-type-control); line-height:1.5; color:#6a6264;
}
@media(max-width:600px) {
 .site-shell main .nx-block > .nx-block-title { padding:12px 14px; }
}

/* One continuous card for Core blocks with an administrable heading. */
.site-shell main .nx-block:has(> .nx-block-title) {
 background:#fff; border-radius:16px;
}
.site-shell main .nx-block > .nx-block-title { margin-bottom:0; }
.site-shell main .nx-block:has(> .nx-block-title) > :not(.nx-block-title):not(style):not(script) {
 border-start-start-radius:0; border-start-end-radius:0;
}
.site-shell main .nx-block > .nx-block-title + .nx-block-subtitle {
 margin:0; padding:12px 18px; background:#fff;
}

/* Conseil scientifique: use the shared scale, including Module fallback markup. */
.site-shell main:has(.cs-public-members) .module-hero h1 {
 font-size:clamp(22px,2.2vw,28px); line-height:1.45; font-weight:700;
}
.site-shell .cs-public-members .cs-arrete { font-size:var(--crasc-type-control); }
.site-shell .cs-public-members .cs-quality-heading { font-size:var(--crasc-type-section); }
.site-shell .cs-public-members .cs-person-name { font-size:var(--crasc-type-card); }
.site-shell .cs-public-members .cs-person-grade { font-size:var(--crasc-type-control); }
.site-shell .cs-public-members .cs-portrait-empty { font-size:0; }
