body.mentora-interface { background:#f6f5ee; }
.mentora-interface #main-content { background:transparent; }
.mt-site-header { background:#fbfaf4; border-color:#dbe4d9; }
.mt-site-header .mt-masthead { min-height:68px; }
.mt-menu nav a[aria-current="page"] { color:#104638; background:#deece1; }
.mentora-interface .mt-app { --mt-ink:#182d27; --mt-accent:#124e40; --mt-line:#d8e3d8; margin-top:clamp(16px,3vw,34px); }
.mt-catalogue .mt-editorial { grid-template-columns:1fr .95fr; border-radius:28px; background:#102f29; box-shadow:0 12px 38px #123c2a15; }
.mt-catalogue .mt-editorial-copy { padding:clamp(22px,5vw,62px); }
.mt-catalogue .mt-editorial h1 { font-size:clamp(2rem,6vw,4.7rem); max-width:11ch; }
.mt-catalogue .mt-editorial-photo { max-height:none; height:100%; min-height:290px; }
.mt-catalogue .mt-eyebrow { color:#e4c484; margin:0 0 13px; font-size:.72rem; letter-spacing:.13em; text-transform:uppercase; font-weight:740; }
.mt-catalogue .mt-hero-action { display:inline-flex; gap:12px; align-items:center; justify-self:start; background:#f3e4bb; color:#18332a; border-radius:999px; padding:9px 16px; margin-top:18px; font-weight:700; }
.mt-catalogue .mt-hero-action:hover { background:#fff0c8; }
.mt-subject-section, .mt-results-heading { scroll-margin-top:14px; }
.mt-subject-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.mt-app .mt-subject-link { display:grid; grid-template-columns:1fr auto; min-height:104px; padding:14px 16px; border-radius:16px; align-content:space-between; }
.mt-subject-link svg { grid-column:1; width:29px; height:29px; }
.mt-subject-link > span:nth-child(2) { grid-column:1; }
.mt-subject-arrow { grid-column:2; grid-row:1; font-size:1.13rem; }
.mt-app .mt-subject-link[data-mentora-open-subject] { background:#184a3f; color:#f8f2db; }
.mt-catalogue .mt-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.mt-catalogue .mt-card { background:#fcfbf6; border-inline-start:1px solid var(--mt-line); border-top:5px solid var(--mt-tone-ink); padding:16px; }
.mt-catalogue .mt-card h3 a { min-height:44px; align-items:center; }
.mt-catalogue .mt-filters { background:#e9eee4; }
.mt-maths .mt-editorial-photo { object-fit:cover; }
.mentora-interface #main-footer { background:#112f29; }
.mentora-interface #footer-bottom { background:#112f29; }
.mentora-interface #footer-info,.mentora-interface #footer-info a { color:#e0e9de; }
@media(max-width:850px) { .mt-catalogue .mt-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) {
    .mt-catalogue .mt-editorial { grid-template-columns:1fr; border-radius:20px; }
    .mt-catalogue .mt-editorial h1 { max-width:16ch; }
    .mt-catalogue .mt-editorial-photo { min-height:0; height:clamp(135px,41vw,210px); object-position:center 45%; }
    .mt-catalogue .mt-grid { grid-template-columns:1fr; }
    .mt-subject-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .mt-app .mt-subject-link { min-height:84px; padding:10px; }
}
.mt-subject-link[data-discipline="francais"] { --mt-tint:#f0dfc8; --mt-tone-ink:#673c23; }
.mt-subject-link[data-discipline="histoire"] { --mt-tint:#f0ddd5; --mt-tone-ink:#703b32; }
.mt-subject-link[data-discipline="geographie"] { --mt-tint:#dae8e2; --mt-tone-ink:#24594c; }
.mt-subject-link[data-discipline="physique-chimie"], .mt-subject-link[data-discipline="svt"] { --mt-tint:#dcebef; --mt-tone-ink:#23525e; }
.mt-catalogue .mt-editorial { grid-template-columns:minmax(0,1fr) minmax(0,.95fr); }
.mt-catalogue .mt-editorial-photo { display:block; min-width:0; max-width:100%; }
.mt-catalogue .mt-editorial h1 { overflow-wrap:anywhere; }
@media(max-width:560px) {
    .mt-catalogue .mt-editorial { grid-template-columns:minmax(0,1fr); }
}
.mt-maths .mt-editorial h1 { font-size:clamp(1.7rem,4.1vw,3.55rem); max-width:none; }
@media (min-width:561px) and (max-width:900px) { .mt-maths .mt-editorial-copy { padding:24px; } }
