:root {
    --fr-indigo-950: #111820;
    --fr-indigo-900: #1a2c40;
    --fr-indigo-800: #2a4257;
    --fr-indigo-700: #3f5a70;
    --fr-linen-100: #e2d8c7;
    --fr-linen-200: #d9cebe;
    --fr-linen-300: #c5b8a5;
    --fr-chambray: #a7b8c7;
    --fr-thread: #8a2b1f;
    --fr-thread-bright: #b33a2e;
    --fr-ink: #111820;
    --fr-stitch-light: rgba(226, 216, 199, 0.82);
    --fr-stitch-dark: rgba(138, 43, 31, 0.74);
    --fr-focus: #ffd668;
    --fr-copy-font: "Instrument Sans", sans-serif;
    --fr-label-font: "Barlow Condensed", sans-serif;
    --fr-hand-font: "Caveat", cursive;
    --fr-denim-texture: url("../images/textures/patchwork-indigo-denim.webp");
    --fr-linen-texture: url("../images/textures/patchwork-cream-linen.webp");
    --fr-chambray-texture: url("../images/textures/patchwork-chambray.webp");
    --fr-stripe-texture: url("../images/textures/patchwork-shirt-stripe.webp");
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    background: var(--fr-indigo-950);
    scrollbar-color: var(--fr-thread) var(--fr-indigo-950);
    scrollbar-width: thin;
}

.french-page {
    margin: 0;
    min-height: 100vh;
    padding-top: 0 !important;
    color: var(--fr-ink);
    background-color: var(--fr-indigo-900);
    background-image: var(--fr-denim-texture);
    background-repeat: repeat;
    font-family: var(--fr-copy-font);
}

.french-page::selection,
.french-page *::selection {
    color: var(--fr-linen-100);
    background: var(--fr-thread);
}

.french-page > header {
    display: block;
}

.french-page a,
.french-page button,
.french-page input,
.french-page select {
    -webkit-tap-highlight-color: rgba(179, 58, 46, 0.2);
}

.french-page :focus-visible {
    outline: 3px solid var(--fr-focus);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--fr-indigo-950) !important;
}

.french-page h1,
.french-page h2,
.french-page h3,
.french-page p {
    text-wrap: pretty;
}

.skip-link-fr {
    background: var(--fr-thread) !important;
    color: var(--fr-linen-100) !important;
    border-radius: 0 !important;
    font-family: var(--fr-label-font);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.french-main {
    display: flex;
    flex-direction: column;
    overflow: clip;
    padding-top: 70px !important;
    background: transparent;
}

.french-main > section {
    order: 50;
}

.french-main > .hero-fr {
    order: 0;
}

.french-main > #playlist-francais {
    order: 10;
}

.french-main > #language-transfer-fr {
    order: 20;
}

.french-main > #extra-francais {
    order: 30;
}

.french-main > #atelier-francais {
    order: 40;
}

.french-main > #linguno-francais {
    order: 45;
}

.french-main > #livres-francais {
    order: 50;
}

.french-main > #bibliotheque {
    order: 70;
}

.french-main > #ressources-francophones {
    order: 80;
}

.french-main > .cta-section-fr {
    order: 90;
}

.hero-fr {
    min-height: auto !important;
    padding: 0 !important;
    color: var(--fr-linen-100);
    background: var(--fr-indigo-900) var(--fr-denim-texture) repeat !important;
}

.hero-fr::before,
.hero-fr::after {
    display: none !important;
}

.atlas-masthead-fr {
    position: sticky;
    top: 70px;
    z-index: 80;
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr) 4.75rem;
    min-height: 4.5rem;
    color: var(--fr-linen-100);
    background-color: var(--fr-indigo-900);
    background-image: var(--fr-denim-texture);
    background-repeat: repeat;
    border-bottom: 2px dashed var(--fr-stitch-light);
    box-shadow: 0 8px 24px rgba(7, 16, 25, 0.24);
}

.atlas-top-nav-fr a,
.atlas-search-link-fr {
    color: inherit;
    text-decoration: none;
}

.atlas-top-nav-fr {
    grid-column: 2;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 1rem;
    touch-action: pan-x;
    scrollbar-width: none;
}

.atlas-top-nav-fr::-webkit-scrollbar {
    display: none;
}

.atlas-top-nav-fr a {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0.8rem clamp(0.7rem, 1.35vw, 1.25rem);
    font-family: var(--fr-label-font);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.atlas-top-nav-fr a::after {
    position: absolute;
    right: 1rem;
    bottom: 0.62rem;
    left: 1rem;
    height: 2px;
    content: "";
    background: var(--fr-thread-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-top-nav-fr a:hover::after,
.atlas-top-nav-fr a.active::after {
    transform: scaleX(1);
}

.atlas-search-link-fr {
    grid-column: 3;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    border-left: 2px dashed rgba(226, 216, 199, 0.4);
}

.atlas-hero-grid-fr {
    display: grid;
    grid-template-columns: clamp(16rem, 18vw, 20rem) minmax(0, 1fr);
    min-height: clamp(30rem, 59vh, 37rem);
    border-bottom: 2px dashed var(--fr-stitch-light);
}

.atlas-spine-fr {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1.1rem;
    min-width: 0;
    padding: clamp(0.9rem, 1.6vw, 1.5rem);
    color: var(--fr-indigo-900);
    background-color: var(--fr-linen-200);
    background-image: var(--fr-linen-texture);
    background-repeat: repeat;
    border-right: 2px dashed var(--fr-stitch-dark);
    box-shadow: 10px 0 28px rgba(7, 16, 25, 0.2);
}

.atlas-spine-nav-fr {
    display: grid;
}

.atlas-spine-nav-fr a {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 0.8rem;
    align-items: center;
    min-height: 4.1rem;
    padding: 0.6rem 0.5rem;
    color: var(--fr-indigo-900);
    text-decoration: none;
    border-bottom: 2px dashed rgba(63, 90, 112, 0.55);
}

.atlas-spine-nav-fr a:first-child {
    color: var(--fr-thread);
}

.atlas-spine-nav-fr i {
    font-size: 1.45rem;
    text-align: center;
}

.atlas-spine-nav-fr span {
    font-family: var(--fr-label-font);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.atlas-spine-nav-fr a:hover span {
    text-decoration: underline;
    text-decoration-color: var(--fr-thread);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35rem;
}

.atlas-pocket-fr {
    align-self: end;
    padding: 1.35rem 1.05rem 1.05rem;
    text-align: center;
    background-color: var(--fr-linen-100);
    background-image: var(--fr-linen-texture);
    background-repeat: repeat;
    border: 2px dashed var(--fr-stitch-dark);
    border-radius: 0 0 1.15rem 1.15rem;
    box-shadow: 0 10px 22px rgba(17, 24, 32, 0.18);
}

.atlas-pocket-fr h1 {
    max-width: 13ch;
    margin: 0 auto;
    font-family: var(--fr-label-font);
    font-size: clamp(1.6rem, 2.2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.02;
    text-transform: uppercase;
}

.atlas-tricolor-stitch-fr {
    position: relative;
    display: block;
    width: 4.75rem;
    height: 0.25rem;
    margin: 1rem auto 1.15rem;
    background: var(--fr-linen-100);
    box-shadow: 0 1px 0 rgba(17, 24, 32, 0.18);
}

.atlas-tricolor-stitch-fr::before,
.atlas-tricolor-stitch-fr::after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 33.333%;
    content: "";
}

.atlas-tricolor-stitch-fr::before {
    left: 0;
    background: #244e8a;
}

.atlas-tricolor-stitch-fr::after {
    right: 0;
    background: var(--fr-thread);
}

.atlas-primary-action-fr {
    display: block;
    padding: 0.9rem 0.75rem;
    color: var(--fr-linen-100);
    text-decoration: none;
    background-color: var(--fr-thread);
    background-image: none;
    border: 2px dashed rgba(226, 216, 199, 0.88);
    border-radius: 0.25rem;
    box-shadow: 0 7px 16px rgba(17, 24, 32, 0.24);
    font-family: var(--fr-label-font);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.05;
    text-transform: uppercase;
    transition: background-color 180ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms ease;
}

.atlas-primary-action-fr:hover {
    color: var(--fr-linen-100);
    background-color: #a8372b;
    box-shadow: 0 11px 22px rgba(17, 24, 32, 0.3);
    transform: translateY(-3px);
}

.atlas-quilt-fr {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(14rem, 0.95fr);
    grid-template-rows: 1fr 1fr;
    min-width: 0;
    min-height: 30rem;
    overflow: hidden;
    background: var(--fr-indigo-950);
}

.atlas-photo-fr {
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: var(--fr-indigo-800);
    border: 2px dashed var(--fr-stitch-light);
}

.atlas-photo-fr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.9) contrast(1.02);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 480ms ease;
}

.atlas-photo-fr:hover img {
    filter: saturate(1) contrast(1.03);
    transform: scale(1.025);
}

.atlas-photo-main-fr {
    grid-row: 1 / 3;
}

.atlas-photo-main-fr img {
    object-position: 50% 45%;
}

.atlas-photo-side-fr img {
    object-position: center 42%;
}

.atlas-photo-lower-fr img {
    object-position: center 38%;
}

.atlas-note-fr {
    position: absolute;
    right: clamp(1rem, 2vw, 2rem);
    bottom: clamp(1rem, 2vw, 2rem);
    z-index: 3;
    display: grid;
    min-width: min(19rem, calc(100% - 2rem));
    padding: 1rem 1.4rem;
    color: var(--fr-indigo-900);
    text-decoration: none;
    background-color: var(--fr-linen-100);
    background-image: var(--fr-linen-texture);
    background-repeat: repeat;
    border: 2px dashed var(--fr-stitch-dark);
    box-shadow: 0 12px 30px rgba(7, 16, 25, 0.28);
    transform: rotate(-1deg);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-note-fr:hover {
    color: var(--fr-indigo-900);
    transform: rotate(0deg) translateY(-4px);
}

.atlas-note-fr span,
.atlas-note-fr strong {
    font-family: var(--fr-hand-font);
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    font-weight: 600;
    line-height: 0.92;
}

.atlas-note-fr strong {
    color: var(--fr-thread);
}

.curated-channels-section-fr {
    padding: 0 !important;
    background-color: var(--fr-indigo-900) !important;
    background-image: var(--fr-denim-texture) !important;
    background-repeat: repeat !important;
}

.curated-library-section-fr::before {
    display: none !important;
}

.curated-channels-section-fr > .container-fr {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

.curated-library-heading-fr {
    order: initial;
    max-width: 72rem;
    margin: clamp(4rem, 8vw, 8rem) auto 0 !important;
    padding: 0 clamp(1rem, 4vw, 4rem);
    color: var(--fr-linen-100);
}

.curation-story-fr {
    order: initial;
}

.curated-channel-browser-fr {
    order: 2;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.curated-toolbar-fr {
    display: grid !important;
    grid-template-columns: minmax(18rem, 1.5fr) minmax(15rem, 0.65fr) !important;
    gap: 1rem !important;
    align-items: end;
    padding: 1rem clamp(1rem, 3vw, 2.5rem) !important;
    color: var(--fr-indigo-900);
    background-color: var(--fr-linen-200);
    background-image: var(--fr-linen-texture);
    background-repeat: repeat;
    border-bottom: 2px dashed var(--fr-stitch-dark);
}

.curated-toolbar-fr label {
    color: var(--fr-indigo-900) !important;
    font-family: var(--fr-label-font);
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.curated-search-field-fr,
.curated-sort-fr select {
    min-height: 3.3rem !important;
    color: var(--fr-indigo-900) !important;
    background-color: rgba(226, 216, 199, 0.78) !important;
    background-image: var(--fr-linen-texture) !important;
    border: 2px dashed rgba(63, 90, 112, 0.62) !important;
    border-radius: 0 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36) !important;
}

.curated-search-field-fr input {
    color: var(--fr-indigo-900) !important;
}

.curated-search-field-fr input::placeholder {
    color: #4d5d68 !important;
    opacity: 1;
}

.curated-filter-chips-fr {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    background-color: var(--fr-linen-100);
    background-image: var(--fr-stripe-texture);
    background-repeat: repeat;
    border-bottom: 2px dashed var(--fr-stitch-dark);
    scrollbar-color: var(--fr-thread) var(--fr-linen-200);
}

.curated-filter-chip-fr {
    flex: 0 0 auto;
    min-height: 3.8rem;
    padding: 0.75rem 1.3rem !important;
    color: var(--fr-indigo-900) !important;
    background: rgba(226, 216, 199, 0.9) !important;
    border: 0 !important;
    border-right: 2px dashed var(--fr-stitch-dark) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: var(--fr-label-font) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.curated-filter-chip-fr:hover,
.curated-filter-chip-fr.active {
    color: var(--fr-linen-100) !important;
    background: var(--fr-thread) !important;
    transform: none !important;
}

.curated-results-status-fr {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0.55rem clamp(1rem, 3vw, 2.5rem) !important;
    color: var(--fr-linen-100) !important;
    background: var(--fr-indigo-950);
    font-family: var(--fr-label-font);
    font-size: 0.95rem !important;
    letter-spacing: 0.045em;
}

.curated-channel-shelves-fr {
    gap: 0 !important;
}

.curated-channel-shelf-fr {
    display: grid;
    grid-template-columns: clamp(11rem, 17vw, 16rem) minmax(0, 1fr);
    margin: 0 !important;
    background-color: var(--fr-indigo-900);
    background-image: var(--fr-denim-texture);
    background-repeat: repeat;
    border: 0 !important;
    border-bottom: 2px dashed var(--fr-stitch-light) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.curated-channel-shelf-header-fr {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    min-width: 0;
    padding: 1rem clamp(0.85rem, 2vw, 1.8rem) !important;
    color: var(--fr-linen-100) !important;
    background-color: var(--fr-indigo-800) !important;
    background-image: var(--fr-denim-texture) !important;
    border: 0 !important;
    border-right: 2px dashed var(--fr-stitch-light) !important;
}

.curated-channel-shelf-icon-fr {
    display: none !important;
}

.curated-channel-shelf-header-fr h3 {
    margin: 0 !important;
    color: inherit !important;
    font-family: var(--fr-label-font) !important;
    font-size: clamp(1.3rem, 2vw, 1.85rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.055em;
    line-height: 1;
    text-transform: uppercase;
}

.curated-channel-shelf-header-fr p {
    display: none;
}

.curated-channel-row-fr {
    display: flex !important;
    gap: 0 !important;
    min-width: 0;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    background-color: var(--fr-linen-100);
    background-image: var(--fr-linen-texture);
    background-repeat: repeat;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--fr-thread) var(--fr-linen-200);
    scrollbar-width: thin;
}

.curated-channel-row-item-fr {
    flex: 0 0 clamp(17rem, 24vw, 22rem) !important;
    min-width: 0;
    scroll-snap-align: start;
}

.curated-channel-card-fr {
    display: grid !important;
    grid-template-columns: clamp(5.5rem, 7vw, 7rem) minmax(0, 1fr);
    width: 100% !important;
    min-height: 7rem;
    padding: 0 !important;
    color: var(--fr-indigo-900) !important;
    text-align: left;
    background-color: rgba(226, 216, 199, 0.86) !important;
    background-image: var(--fr-linen-texture) !important;
    border: 0 !important;
    border-right: 2px dashed var(--fr-stitch-dark) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.curated-channel-card-fr:hover {
    background-color: var(--fr-linen-100) !important;
}

.curated-channel-card-fr:focus-visible {
    outline: 0 !important;
    box-shadow: inset 0 0 0 3px var(--fr-focus), inset 0 0 0 6px var(--fr-indigo-950) !important;
}

.curated-channel-visual-fr {
    width: auto !important;
    height: 100% !important;
    min-height: 7rem;
    overflow: hidden;
    border-radius: 0 !important;
    border-right: 2px dashed var(--fr-stitch-dark);
}

.curated-channel-visual-fr img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.curated-channel-card-fr:hover .curated-channel-visual-fr img {
    transform: scale(1.04);
}

.curated-channel-platform-fr {
    right: 0.35rem !important;
    bottom: 0.35rem !important;
    width: 1.75rem !important;
    height: 1.75rem !important;
    color: var(--fr-linen-100) !important;
    background: var(--fr-thread) !important;
    border: 1px solid rgba(226, 216, 199, 0.9) !important;
    border-radius: 0.2rem !important;
}

.curated-channel-card-body-fr {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    padding: 0.75rem 0.85rem !important;
}

.curated-channel-card-meta-fr {
    gap: 0.45rem !important;
    margin-bottom: 0.35rem !important;
}

.curated-channel-category-fr,
.curated-channel-level-fr {
    padding: 0 !important;
    color: var(--fr-thread) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-family: var(--fr-label-font);
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.curated-channel-level-fr::before {
    content: "• ";
}

.curated-channel-name-fr {
    overflow: hidden;
    color: var(--fr-indigo-900) !important;
    font-family: var(--fr-label-font) !important;
    font-size: 1.32rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.curated-channel-description-fr {
    display: -webkit-box !important;
    margin-top: 0.35rem !important;
    overflow: hidden;
    color: #344652 !important;
    font-size: 0.77rem !important;
    line-height: 1.35 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.curated-channel-action-fr {
    display: none !important;
}

/* Shared folios */
.section-fr {
    position: relative;
    padding: clamp(4.75rem, 9vw, 8.5rem) 0 !important;
}

.section-fr > .container-fr {
    width: min(100% - clamp(2rem, 7vw, 7rem), 92rem) !important;
    max-width: none !important;
    margin-inline: auto;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(22rem, 1.2fr);
    gap: clamp(2rem, 6vw, 7rem);
    align-items: end;
    max-width: none !important;
    margin: 0 0 clamp(2rem, 4vw, 3.75rem) !important;
    padding: 0 0 1.3rem;
    border-bottom: 2px dashed var(--fr-stitch-light);
}

.section-heading h2,
.extra-details-fr h2,
.cta-fr h2 {
    margin: 0 !important;
    color: var(--fr-linen-100) !important;
    font-family: var(--fr-label-font) !important;
    font-size: clamp(2.75rem, 6vw, 5.6rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.025em;
    line-height: 0.86 !important;
    text-transform: uppercase;
}

.section-heading p {
    max-width: 60ch !important;
    margin: 0 !important;
    color: rgba(226, 216, 199, 0.9) !important;
    font-size: clamp(1rem, 1.45vw, 1.16rem) !important;
    line-height: 1.8 !important;
}

.btn-fr {
    min-height: 3rem;
    padding: 0.72rem 1rem !important;
    border: 2px dashed currentColor !important;
    border-radius: 0.2rem !important;
    font-family: var(--fr-label-font) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(7, 16, 25, 0.16) !important;
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease, background-color 180ms ease !important;
}

.btn-fr:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 19px rgba(7, 16, 25, 0.24) !important;
}

.btn-fr.primary {
    color: var(--fr-linen-100) !important;
    background: var(--fr-thread) !important;
}

.btn-fr.secondary {
    color: var(--fr-indigo-900) !important;
    background: var(--fr-linen-100) var(--fr-linen-texture) repeat !important;
}

/* Personal video folio */
#playlist-francais {
    background-color: var(--fr-indigo-800) !important;
    background-image: var(--fr-chambray-texture) !important;
    background-repeat: repeat !important;
    border-top: 2px dashed var(--fr-stitch-light);
    border-bottom: 2px dashed var(--fr-stitch-light);
}

.playlist-shell-fr {
    padding: clamp(0.65rem, 1.2vw, 1rem) !important;
    background-color: var(--fr-linen-100) !important;
    background-image: var(--fr-linen-texture) !important;
    background-repeat: repeat !important;
    border: 2px dashed var(--fr-stitch-dark) !important;
    border-radius: 0 !important;
    box-shadow: 14px 16px 0 rgba(17, 24, 32, 0.2) !important;
}

.playlist-wrapper-fr {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.55fr) !important;
    gap: 0 !important;
    background: var(--fr-indigo-950) !important;
    border: 2px dashed var(--fr-stitch-light);
}

.featured-video-column-fr {
    min-width: 0;
    background: var(--fr-indigo-950) !important;
    border-right: 2px dashed var(--fr-stitch-light);
}

.featured-video-container-fr,
.curation-story-video-frame-fr,
.curated-channel-modal-embed-fr {
    border-radius: 0 !important;
}

.featured-video-container-fr {
    border-bottom: 2px dashed var(--fr-stitch-light);
    box-shadow: none !important;
}

.playlist-featured-meta {
    padding: clamp(1.1rem, 2.5vw, 2rem) !important;
    color: var(--fr-linen-100);
    background-color: var(--fr-indigo-900);
    background-image: var(--fr-denim-texture);
    background-repeat: repeat;
}

.playlist-kicker-fr {
    color: #e99b8c !important;
    font-family: var(--fr-label-font) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.11em !important;
    text-transform: uppercase;
}

.playlist-featured-meta h3 {
    max-width: 31ch;
    margin: 0.6rem 0 0.65rem !important;
    color: var(--fr-linen-100) !important;
    font-family: var(--fr-label-font) !important;
    font-size: clamp(1.8rem, 3vw, 3.15rem) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.playlist-featured-meta > p {
    color: rgba(226, 216, 199, 0.72) !important;
}

.playlist-featured-actions {
    gap: 0.7rem !important;
    margin-top: 1.35rem !important;
}

.playlist-sidebar-fr {
    align-self: start !important;
    height: clamp(44rem, 54vw, 56rem) !important;
    max-height: 56rem !important;
    overflow-y: auto !important;
    background-color: var(--fr-linen-200) !important;
    background-image: var(--fr-stripe-texture) !important;
    background-repeat: repeat !important;
    scrollbar-color: var(--fr-thread) var(--fr-linen-200) !important;
}

#playlist-items-container-fr {
    display: grid;
}

.playlist-item-fr {
    display: grid !important;
    grid-template-columns: 7.25rem minmax(0, 1fr) !important;
    gap: 0.8rem !important;
    min-height: 7.25rem;
    padding: 0.8rem !important;
    color: var(--fr-indigo-900) !important;
    background-color: rgba(226, 216, 199, 0.9) !important;
    background-image: var(--fr-linen-texture) !important;
    border: 0 !important;
    border-bottom: 2px dashed var(--fr-stitch-dark) !important;
    border-radius: 0 !important;
}

.playlist-item-fr:hover,
.playlist-item-fr.active-video {
    color: var(--fr-linen-100) !important;
    background-color: var(--fr-thread) !important;
    background-image: none !important;
    transform: none !important;
}

.playlist-thumbnail-fr {
    width: 7.25rem !important;
    height: 4.2rem !important;
    align-self: center;
    object-fit: cover;
    border: 1px solid currentColor;
    border-radius: 0 !important;
}

.playlist-item-title-fr {
    color: inherit !important;
    font-family: var(--fr-label-font) !important;
    font-size: 1.08rem !important;
    line-height: 1.05 !important;
}

.playlist-item-desc-fr {
    color: inherit !important;
    opacity: 0.72;
}

/* Extr@ stays its own stitched module */
#extra-francais {
    background-color: var(--fr-linen-200) !important;
    background-image: var(--fr-stripe-texture) !important;
    background-repeat: repeat !important;
    border-bottom: 2px dashed var(--fr-stitch-dark);
}

.extra-shell-fr {
    display: grid !important;
    grid-template-columns: minmax(20rem, 0.62fr) minmax(0, 1.38fr) !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: var(--fr-linen-100) var(--fr-linen-texture) repeat !important;
    border: 2px dashed var(--fr-stitch-dark) !important;
    border-radius: 0 !important;
    box-shadow: 14px 16px 0 rgba(42, 66, 87, 0.18) !important;
}

.extra-details-fr {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem) !important;
    color: var(--fr-indigo-900) !important;
    border-right: 2px dashed var(--fr-stitch-dark);
}

.extra-details-fr h2 {
    color: var(--fr-indigo-900) !important;
    font-size: clamp(3rem, 6vw, 5.9rem) !important;
}

.extra-details-fr > p {
    margin: 1.5rem 0 0 !important;
    color: #344652 !important;
    line-height: 1.8 !important;
}

.offering-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem 1.15rem !important;
    margin: 1.4rem 0 !important;
}

.offering-chip {
    position: relative;
    padding: 0 0 0 1.05rem !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-family: var(--fr-label-font);
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.offering-chip::before {
    position: absolute;
    top: 0.56em;
    left: 0;
    width: 0.55rem;
    border-top: 2px dashed var(--fr-thread);
    content: "";
}

.extra-player-layout-fr {
    display: grid !important;
    grid-template-rows: auto auto 1fr;
    min-width: 0;
    padding: clamp(0.75rem, 1.4vw, 1.15rem) !important;
    color: var(--fr-linen-100);
    background: var(--fr-indigo-900) var(--fr-denim-texture) repeat !important;
}

.extra-video-container-fr {
    border: 2px dashed var(--fr-stitch-light);
}

.extra-meta-block-fr {
    padding: 1rem 0 !important;
    border-bottom: 2px dashed var(--fr-stitch-light);
}

.extra-meta-block-fr h3 {
    color: var(--fr-linen-100) !important;
    font-family: var(--fr-label-font) !important;
    font-size: 1.8rem !important;
}

.extra-meta-block-fr p {
    color: rgba(226, 216, 199, 0.74) !important;
}

.extra-playlist-fr {
    display: flex !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    border: 0 !important;
}

.extra-playlist-fr .playlist-item-fr,
.extra-playlist-fr button {
    flex: 0 0 17rem;
    min-height: 6.3rem !important;
}

/* Star Academy: a nocturnal stitched diary entry */
.curated-library-heading-fr {
    order: 0;
    display: grid !important;
    grid-template-columns: minmax(0, 0.8fr) minmax(22rem, 1.2fr) !important;
    max-width: 92rem !important;
    padding-bottom: 1.3rem !important;
    border-bottom: 2px dashed var(--fr-stitch-light);
}

.curation-story-fr {
    order: 3;
    display: grid !important;
    grid-template-columns: 8.5rem minmax(0, 1.15fr) minmax(17rem, 0.48fr) !important;
    gap: clamp(1.5rem, 3vw, 3rem) !important;
    width: min(100% - clamp(2rem, 7vw, 7rem), 92rem) !important;
    margin: clamp(2rem, 4vw, 3.75rem) auto clamp(4rem, 8vw, 7rem) !important;
    padding: clamp(1.4rem, 3vw, 2.5rem) !important;
    color: var(--fr-linen-100) !important;
    background-color: var(--fr-indigo-950) !important;
    background-image: var(--fr-denim-texture) !important;
    background-repeat: repeat !important;
    border: 2px dashed var(--fr-stitch-light) !important;
    border-radius: 0 !important;
    box-shadow: 14px 16px 0 rgba(7, 16, 25, 0.34) !important;
}

.curation-story-time-fr {
    width: 8.5rem !important;
    height: 8.5rem !important;
    align-self: start;
    color: var(--fr-linen-100) !important;
    background: var(--fr-thread) !important;
    border: 2px dashed var(--fr-stitch-light) !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

.curation-story-time-fr span,
.curation-story-time-fr small {
    font-family: var(--fr-label-font) !important;
}

.curation-story-copy-fr h3 {
    margin: 0 0 1.15rem !important;
    color: var(--fr-linen-100) !important;
    font-family: var(--fr-label-font) !important;
    font-size: clamp(2.25rem, 4vw, 4.35rem) !important;
    font-weight: 700 !important;
    line-height: 0.94 !important;
    text-transform: uppercase;
}

.curation-story-copy-fr > p {
    max-width: 66ch !important;
    color: rgba(226, 216, 199, 0.88) !important;
    font-size: 1rem !important;
    line-height: 1.8 !important;
}

.curation-story-links-fr {
    gap: 0.7rem !important;
    margin-top: 1.4rem !important;
}

.curation-story-video-fr {
    align-self: stretch;
    padding: 0.75rem !important;
    color: var(--fr-indigo-900) !important;
    background: var(--fr-linen-100) var(--fr-linen-texture) repeat !important;
    border: 2px dashed var(--fr-stitch-dark) !important;
    border-radius: 0 !important;
}

.curation-story-video-frame-fr {
    border: 2px solid var(--fr-indigo-900);
    box-shadow: none !important;
}

.curation-story-video-fr p,
.curation-story-video-fr > a {
    color: var(--fr-indigo-900) !important;
}

.curation-story-video-fr > a {
    font-family: var(--fr-label-font);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Places and community become alternating photo quilts */
#ressources-francophones {
    background-color: var(--fr-indigo-800) !important;
    background-image: var(--fr-chambray-texture) !important;
    background-repeat: repeat !important;
    border-top: 2px dashed var(--fr-stitch-light);
}

.resource-stack {
    display: grid !important;
    gap: clamp(2rem, 5vw, 5rem) !important;
}

.spotlight-fr {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr) !important;
    gap: 0 !important;
    min-height: 34rem;
    padding: 0 !important;
    overflow: hidden;
    color: var(--fr-indigo-900) !important;
    background: var(--fr-linen-100) var(--fr-linen-texture) repeat !important;
    border: 2px dashed var(--fr-stitch-dark) !important;
    border-radius: 0 !important;
    box-shadow: 14px 16px 0 rgba(17, 24, 32, 0.24) !important;
}

.spotlight-fr.reverse {
    grid-template-columns: minmax(22rem, 0.85fr) minmax(0, 1.15fr) !important;
}

.spotlight-fr.reverse .spotlight-visual {
    grid-column: 2 !important;
}

.spotlight-fr.reverse .spotlight-copy {
    grid-column: 1 !important;
}

.spotlight-visual {
    position: relative;
    min-height: 34rem !important;
    overflow: hidden;
    border-right: 2px dashed var(--fr-stitch-dark) !important;
}

.spotlight-fr.reverse .spotlight-visual {
    border-right: 0 !important;
    border-left: 2px dashed var(--fr-stitch-dark) !important;
}

.spotlight-visual > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.spotlight-album-fr {
    position: relative;
    display: block !important;
    height: 100% !important;
    min-height: 34rem;
    overflow: hidden !important;
    background: var(--fr-indigo-950);
}

.spotlight-album-viewport-fr {
    position: absolute;
    inset: 0;
}

.spotlight-album-fr .spotlight-album-photo-fr,
.spotlight-album-fr.count-many .spotlight-album-photo-fr {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    min-height: 100% !important;
    margin: 0;
    border: 1px dashed var(--fr-stitch-light) !important;
}

.spotlight-album-fr .spotlight-album-photo-fr.is-active {
    display: block;
}

.spotlight-album-trigger-fr {
    border-radius: 0 !important;
}

.spotlight-album-photo-fr img {
    filter: saturate(0.92) contrast(1.02);
}

.spotlight-album-photo-fr figcaption {
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    padding: 0.8rem 4rem 0.75rem !important;
    color: var(--fr-linen-100) !important;
    background: rgba(17, 24, 32, 0.84) !important;
    border-radius: 0 !important;
    font-size: 0.72rem !important;
}

/* TF1+: a broadcast folio sewn into the atlas */
.tf1-broadcast-fr {
    order: 4;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(22rem, 2fr);
    width: min(100% - clamp(2rem, 7vw, 7rem), 92rem);
    margin: 0 auto clamp(5rem, 9vw, 8rem);
    padding: 0.75rem;
    scroll-margin-top: 10rem;
    background: var(--fr-indigo-900) var(--fr-denim-texture) repeat;
    border: 2px dashed var(--fr-stitch-light);
}

.tf1-broadcast-media-fr {
    min-width: 0;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    margin: 0;
    overflow: hidden;
    background: #170704;
    border: 2px solid var(--fr-indigo-950);
    border-right: 0;
}

.tf1-broadcast-media-fr img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.tf1-broadcast-copy-fr {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 4vw, 4rem);
    color: var(--fr-ink);
    background: var(--fr-linen-100) var(--fr-linen-texture) repeat;
    border: 2px dashed var(--fr-stitch-dark);
}

.tf1-broadcast-brand-fr {
    margin: 0 0 clamp(1.25rem, 3vw, 2.25rem) !important;
    color: var(--fr-indigo-900);
    font: 800 clamp(3rem, 6vw, 5.5rem) / 0.82 var(--fr-label-font);
    letter-spacing: 0.04em;
}

.tf1-broadcast-brand-fr span {
    margin-left: 0.12em;
    color: var(--fr-thread);
}

.tf1-broadcast-copy-fr h3 {
    max-width: 11ch;
    margin: 0;
    color: var(--fr-indigo-900);
    font: 700 clamp(2.5rem, 4.5vw, 4.75rem) / 0.92 var(--fr-label-font);
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.tf1-broadcast-copy-fr > p:not(.tf1-broadcast-brand-fr, .tf1-broadcast-availability-fr) {
    max-width: 48ch;
    margin: 1.5rem 0 0;
    line-height: 1.7;
}

.tf1-broadcast-action-fr {
    min-height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: fit-content;
    margin-top: 1.75rem;
    padding: 0.9rem 1.15rem;
    color: var(--fr-linen-100);
    background: var(--fr-thread);
    border: 2px dashed var(--fr-stitch-light);
    font: 700 1.1rem / 1 var(--fr-label-font);
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
}

.tf1-broadcast-action-fr:hover {
    background: var(--fr-thread-bright);
}

.tf1-broadcast-availability-fr {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin: 1.35rem 0 0 !important;
    color: var(--fr-indigo-900);
    font-family: var(--fr-label-font);
    letter-spacing: 0.08em;
}

.tf1-broadcast-availability-fr small {
    margin-left: 0.3rem;
    font-family: var(--fr-copy-font);
    letter-spacing: 0;
}

.spotlight-album-reel-fr::after {
    display: none;
}

.spotlight-album-reel-fr {
    background: var(--fr-indigo-950) var(--fr-denim-texture) repeat !important;
}

.spotlight-album-reel-frame-fr {
    position: absolute;
    inset: 0;
    display: grid;
    padding: 1.25rem 4.5rem 3.5rem;
    place-items: center;
}

.spotlight-album-reel-frame-fr iframe {
    width: min(100%, 20rem);
    height: 100%;
    border: 0;
    background: var(--fr-indigo-950);
}

.spotlight-album-reel-fr figcaption {
    z-index: 3;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
}

.spotlight-album-reel-source-fr {
    flex: 0 0 auto;
    color: var(--fr-linen-100);
    font-family: var(--fr-label-font);
    letter-spacing: 0.04em;
    text-underline-offset: 0.2em;
    text-transform: uppercase;
}

.spotlight-album-reel-source-fr:focus-visible {
    outline: 3px solid var(--fr-focus);
    outline-offset: 3px;
}

.spotlight-album-nav-fr {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 3rem;
    height: 3rem;
    padding: 0;
    place-items: center;
    color: var(--fr-linen-100);
    background: var(--fr-indigo-950);
    border: 2px dashed var(--fr-stitch-light);
    border-radius: 0;
    cursor: pointer;
    transform: translateY(-50%);
}

.spotlight-album-nav-fr.previous {
    left: 0.8rem;
}

.spotlight-album-nav-fr.next {
    right: 0.8rem;
}

.spotlight-album-nav-fr:hover {
    color: var(--fr-indigo-950);
    background: var(--fr-linen-100);
}

.spotlight-album-status-fr {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 4;
    margin: 0 !important;
    padding: 0.3rem 0.5rem;
    color: var(--fr-linen-100);
    font-family: var(--fr-label-font);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--fr-indigo-950);
    border: 1px dashed var(--fr-stitch-light);
}

.spotlight-logo-pill {
    top: 1rem !important;
    right: 1rem !important;
    bottom: auto !important;
    left: auto !important;
    max-width: min(21rem, calc(100% - 2rem));
    padding: 0.65rem 0.8rem !important;
    color: var(--fr-indigo-900) !important;
    background: var(--fr-linen-100) var(--fr-linen-texture) repeat !important;
    border: 2px dashed var(--fr-stitch-dark) !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 18px rgba(7, 16, 25, 0.22) !important;
}

.spotlight-logo-pill img,
.spotlight-logo-mark {
    width: 2.75rem !important;
    height: 2.75rem !important;
    object-fit: contain;
    border-radius: 0 !important;
}

.spotlight-logo-pill > span:last-child {
    font-family: var(--fr-label-font);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
}

.spotlight-copy {
    display: flex !important;
    flex-direction: column;
    align-self: stretch;
    justify-content: center !important;
    min-height: 100%;
    padding: clamp(2rem, 4vw, 4rem) !important;
}

.spotlight-copy h3 {
    margin: 0 0 1.2rem !important;
    color: var(--fr-indigo-900) !important;
    font-family: var(--fr-label-font) !important;
    font-size: clamp(2.25rem, 4vw, 4.25rem) !important;
    font-weight: 700 !important;
    line-height: 0.94 !important;
    text-transform: uppercase;
}

.spotlight-copy p {
    color: #344652 !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
}

.action-row {
    gap: 0.7rem !important;
    margin-top: 0.3rem !important;
}

/* Final pocket */
.cta-section-fr {
    padding: clamp(3rem, 7vw, 6rem) 0 !important;
    background: var(--fr-linen-200) var(--fr-linen-texture) repeat !important;
}

.cta-fr {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
    padding: clamp(2rem, 5vw, 5rem) !important;
    color: var(--fr-linen-100) !important;
    background: var(--fr-thread) !important;
    border: 2px dashed var(--fr-stitch-light) !important;
    border-radius: 0 0 1.75rem 1.75rem !important;
    box-shadow: 14px 16px 0 rgba(42, 66, 87, 0.22) !important;
}

.cta-fr h2 {
    max-width: 13ch;
}

.cta-fr p {
    max-width: 58ch !important;
    margin: 0 0 1.5rem !important;
    color: rgba(226, 216, 199, 0.92) !important;
    font-size: 1.08rem !important;
    line-height: 1.8 !important;
}

.cta-actions-fr {
    justify-content: flex-start !important;
}

/* Creator details: full-screen sewn folio */
.curated-channel-modal-fr[hidden] {
    display: none !important;
}

.curated-channel-modal-fr {
    position: fixed !important;
    inset: 0 !important;
    z-index: 5000 !important;
    display: grid !important;
    padding: clamp(0.75rem, 2vw, 1.5rem) !important;
    place-items: center !important;
}

.curated-channel-modal-backdrop-fr {
    background: rgba(7, 16, 25, 0.92) !important;
    backdrop-filter: none !important;
}

.curated-channel-modal-dialog-fr {
    width: min(96vw, 88rem) !important;
    max-width: 88rem !important;
    height: min(92dvh, 58rem) !important;
    max-height: 58rem !important;
    margin: auto !important;
    overflow-y: auto !important;
    color: var(--fr-indigo-900) !important;
    background: var(--fr-linen-200) var(--fr-linen-texture) repeat !important;
    border: 2px dashed var(--fr-stitch-light) !important;
    border-radius: 0 !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52) !important;
}

.curated-channel-modal-close-fr {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 8 !important;
    display: inline-grid !important;
    width: 3rem !important;
    height: 3rem !important;
    padding: 0 !important;
    place-items: center !important;
    cursor: pointer !important;
}

.curated-channel-modal-close-fr,
.photo-lightbox-close-fr,
.photo-lightbox-nav-fr {
    color: var(--fr-linen-100) !important;
    background: var(--fr-thread) !important;
    border: 2px dashed var(--fr-stitch-light) !important;
    border-radius: 0.2rem !important;
    box-shadow: 0 7px 16px rgba(7, 16, 25, 0.28) !important;
}

.curated-channel-modal-header-fr {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    z-index: auto !important;
    display: grid !important;
    width: auto !important;
    grid-template-columns: minmax(16rem, 0.55fr) minmax(0, 1.45fr) !important;
    gap: 0 !important;
    min-height: 20rem;
    padding: 0 !important;
    color: var(--fr-linen-100) !important;
    background: var(--fr-indigo-900) var(--fr-denim-texture) repeat !important;
    border-bottom: 2px dashed var(--fr-stitch-light) !important;
    box-shadow: none !important;
}

.curated-channel-modal-header-fr::after {
    display: none !important;
}

.curated-channel-modal-image-wrap-fr {
    width: auto !important;
    height: 100% !important;
    min-height: 20rem;
    border-right: 2px dashed var(--fr-stitch-light);
    border-radius: 0 !important;
}

.curated-channel-modal-image-wrap-fr > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.curated-channel-modal-platform-fr {
    border-radius: 0.2rem !important;
    background: var(--fr-thread) !important;
}

.curated-channel-modal-title-fr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 62rem;
    padding: clamp(2rem, 5vw, 5rem) !important;
}

.curated-channel-modal-title-fr h2 {
    color: var(--fr-linen-100) !important;
    font-family: var(--fr-label-font) !important;
    font-size: clamp(3rem, 7vw, 7.5rem) !important;
    font-weight: 700 !important;
    line-height: 0.86 !important;
    text-transform: uppercase;
}

.curated-channel-modal-title-fr > p:last-child {
    max-width: 60ch;
    color: rgba(226, 216, 199, 0.88) !important;
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
}

.curated-channel-modal-tags-fr {
    gap: 0.65rem 1.2rem !important;
}

.curated-channel-modal-tags-fr span {
    padding: 0 !important;
    color: #e99b8c !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-family: var(--fr-label-font);
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.curated-channel-modal-body-fr {
    display: grid !important;
    grid-template-columns: minmax(20rem, 0.75fr) minmax(0, 1.25fr) !important;
    gap: 0 !important;
    max-width: 92rem;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 5rem) !important;
}

.curated-channel-modal-notes-fr {
    display: grid !important;
    gap: 0 !important;
    align-content: start;
    border: 2px dashed var(--fr-stitch-dark);
}

.curated-channel-modal-copy-fr,
.curated-channel-personal-note-fr,
.curated-channel-modal-levels-fr {
    margin: 0 !important;
    padding: clamp(1.3rem, 2.5vw, 2.2rem) !important;
    color: var(--fr-indigo-900) !important;
    background: rgba(226, 216, 199, 0.72) !important;
    border: 0 !important;
    border-bottom: 2px dashed var(--fr-stitch-dark) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.curated-channel-modal-levels-fr {
    border-bottom: 0 !important;
}

.curated-channel-personal-note-fr {
    display: grid !important;
    grid-template-columns: 3rem 1fr !important;
    background: var(--fr-chambray) var(--fr-chambray-texture) repeat !important;
}

.curated-channel-note-avatar-fr {
    color: var(--fr-linen-100) !important;
    background: var(--fr-thread) !important;
    border-radius: 0.2rem !important;
}

.curated-channel-modal-copy-fr h3,
.curated-channel-personal-note-fr h3,
.curated-channel-modal-levels-fr h3,
.curated-channel-modal-video-heading-fr h3 {
    color: var(--fr-indigo-900) !important;
    font-family: var(--fr-label-font) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.curated-channel-modal-copy-fr p,
.curated-channel-personal-note-fr p,
.curated-channel-modal-levels-fr p {
    color: #344652 !important;
    line-height: 1.75 !important;
}

.curated-channel-level-dot-fr {
    border-radius: 0 !important;
}

.curated-channel-modal-video-fr {
    margin: 0 !important;
    padding: clamp(1rem, 2.5vw, 2rem) !important;
    background: var(--fr-indigo-900) var(--fr-denim-texture) repeat !important;
    border: 2px dashed var(--fr-stitch-light) !important;
    border-left: 0 !important;
    border-radius: 0 !important;
}

.curated-channel-modal-video-heading-fr h3,
.curated-channel-modal-video-title-fr {
    color: var(--fr-linen-100) !important;
}

.curated-channel-modal-video-mark-fr {
    color: var(--fr-linen-100) !important;
    background: var(--fr-thread) !important;
    border-radius: 0.2rem !important;
}

.curated-channel-modal-embed-fr {
    border: 2px dashed var(--fr-stitch-light) !important;
}

.curated-channel-modal-links-fr {
    gap: 0.7rem !important;
}

/* Photo albums open as a genuine full-screen contact sheet */
.photo-lightbox-fr {
    z-index: 6000 !important;
    padding: 0 !important;
}

.curated-channel-personal-note-fr[hidden] {
    display: none !important;
}

.photo-lightbox-backdrop-fr {
    background: rgba(7, 16, 25, 0.96) !important;
    backdrop-filter: none !important;
}

.photo-lightbox-dialog-fr {
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    padding: clamp(4.5rem, 8vw, 6rem) clamp(3.5rem, 8vw, 8rem) clamp(2rem, 5vw, 4rem) !important;
    background: var(--fr-indigo-950) var(--fr-denim-texture) repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.photo-lightbox-close-fr {
    top: clamp(0.75rem, 2vw, 1.25rem) !important;
    right: clamp(0.75rem, 2vw, 1.25rem) !important;
    z-index: 10 !important;
    font-size: 1.05rem !important;
}

.photo-lightbox-figure-fr {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    margin: 0 !important;
}

.photo-lightbox-figure-fr img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    object-fit: contain !important;
    background: var(--fr-indigo-950) !important;
    border: 2px dashed var(--fr-stitch-light) !important;
    border-radius: 0 !important;
}

.photo-lightbox-video-fr {
    grid-row: 1;
    width: min(100%, 24rem);
    height: 100%;
    min-height: 0;
    margin-inline: auto;
    background: var(--fr-indigo-950);
    border: 2px dashed var(--fr-stitch-light);
}

.photo-lightbox-video-fr[hidden] {
    display: none !important;
}

.photo-lightbox-figure-fr figcaption {
    max-width: 70ch;
    margin: 1rem auto 0 !important;
    color: var(--fr-linen-100) !important;
    font-family: var(--fr-hand-font) !important;
    font-size: clamp(1.35rem, 2.5vw, 2.25rem) !important;
    line-height: 1 !important;
}

.photo-lightbox-counter-fr {
    color: rgba(226, 216, 199, 0.7) !important;
    font-family: var(--fr-label-font);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#main-footer-placeholder {
    color: var(--fr-linen-100);
    background: var(--fr-indigo-950) var(--fr-denim-texture) repeat;
    border-top: 2px dashed var(--fr-stitch-light);
}

@media (min-width: 761px) {
    .curated-channel-browser-fr {
        margin-top: 1.5rem !important;
    }

    .atlas-hero-grid-fr {
        height: clamp(34rem, 62vh, 38rem);
        min-height: 0;
    }

    .atlas-quilt-fr {
        height: 100%;
        min-height: 0;
    }

    .atlas-pocket-fr {
        padding: 1rem 0.9rem 0.85rem;
    }

    .atlas-pocket-fr h1 {
        font-size: clamp(1.5rem, 1.8vw, 1.85rem);
        line-height: 0.95;
    }
}

.curated-channels-section-fr {
    background-color: var(--fr-indigo-900) !important;
    background-image: var(--fr-denim-texture) !important;
    background-repeat: repeat !important;
}

#playlist-francais .section-heading,
#ressources-francophones .section-heading {
    border-bottom-color: var(--fr-stitch-dark);
}

#playlist-francais .section-heading h2,
#playlist-francais .section-heading p,
#ressources-francophones .section-heading h2,
#ressources-francophones .section-heading p {
    color: var(--fr-indigo-900) !important;
}

@media (max-width: 980px) {
    .atlas-masthead-fr {
        grid-template-columns: 3.5rem minmax(0, 1fr) 3.5rem;
    }

    .atlas-hero-grid-fr {
        grid-template-columns: 14rem minmax(0, 1fr);
    }

    .atlas-quilt-fr {
        grid-template-columns: minmax(0, 1.6fr) minmax(10rem, 0.9fr);
    }

    .atlas-pocket-fr h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 760px) {
    .french-page > header .menu-toggle {
        position: relative;
        z-index: 2;
        display: block !important;
    }

    .french-page > header .hamburger,
    .french-page > header .hamburger::before,
    .french-page > header .hamburger::after {
        background-color: #1f2d3d !important;
    }

    .atlas-masthead-fr {
        position: relative;
        grid-template-columns: minmax(0, 1fr) 3.5rem;
    }

    .atlas-top-nav-fr {
        grid-column: 1;
        grid-row: 1;
        justify-content: flex-start;
    }

    .atlas-search-link-fr {
        grid-column: 2;
        grid-row: 1;
    }

    .atlas-top-nav-fr a {
        min-height: 3.25rem;
    }

    .atlas-hero-grid-fr {
        grid-template-columns: 1fr;
        height: auto;
    }

    .atlas-spine-fr {
        grid-template-rows: auto auto;
        gap: 0;
        padding: 0;
        border-right: 0;
        border-bottom: 2px dashed var(--fr-stitch-dark);
    }

    .atlas-spine-nav-fr {
        display: flex;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .atlas-spine-nav-fr a {
        grid-template-columns: 1.6rem auto;
        flex: 0 0 auto;
        min-height: 3.75rem;
        padding: 0.55rem 1rem;
        border-right: 2px dashed rgba(63, 90, 112, 0.55);
        border-bottom: 0;
    }

    .atlas-spine-nav-fr span {
        font-size: 1.05rem;
    }

    .atlas-pocket-fr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(10rem, auto);
        align-items: center;
        gap: 0.9rem;
        padding: 0.85rem 1rem;
        text-align: left;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .atlas-pocket-fr h1 {
        max-width: 17ch;
        margin: 0;
        font-size: clamp(1.45rem, 6vw, 2.1rem);
        overflow-wrap: anywhere;
    }

    .atlas-tricolor-stitch-fr {
        display: none;
    }

    .atlas-primary-action-fr {
        font-size: 0.95rem;
        text-align: center;
    }

    .atlas-quilt-fr {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: clamp(20rem, 55vh, 34rem) clamp(10rem, 28vh, 17rem);
        min-height: 0;
    }

    .atlas-photo-main-fr {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .atlas-photo-side-fr,
    .atlas-photo-lower-fr {
        grid-row: 2;
    }

    .atlas-note-fr {
        right: 0.75rem;
        bottom: 0.75rem;
        min-width: 0;
        max-width: 14rem;
        padding: 0.75rem 1rem;
    }

    .atlas-note-fr span,
    .atlas-note-fr strong {
        font-size: 1.45rem;
    }

    .curated-toolbar-fr {
        grid-template-columns: 1fr !important;
    }

    .curated-channel-shelf-fr {
        grid-template-columns: 8.5rem minmax(0, 1fr);
    }

    .curated-channel-shelf-header-fr h3 {
        font-size: 1.3rem !important;
    }

    .curated-channel-row-item-fr {
        flex-basis: 17rem !important;
    }
}

@media (max-width: 520px) {
    .atlas-pocket-fr {
        grid-template-columns: 1fr;
    }

    .atlas-primary-action-fr {
        width: 100%;
    }

    .atlas-quilt-fr {
        grid-template-rows: clamp(18rem, 48vh, 30rem) 9rem;
    }

    .curated-channel-shelf-fr {
        grid-template-columns: 6.8rem minmax(0, 1fr);
    }

    .curated-channel-shelf-header-fr {
        padding: 0.75rem 0.6rem !important;
    }

    .curated-channel-shelf-header-fr h3 {
        font-size: 1.05rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .atlas-top-nav-fr a::after,
    .atlas-primary-action-fr,
    .atlas-photo-fr img,
    .atlas-note-fr,
    .curated-channel-visual-fr img {
        transition: none !important;
    }

    .atlas-photo-fr:hover img,
    .atlas-primary-action-fr:hover,
    .atlas-note-fr:hover,
    .curated-channel-card-fr:hover .curated-channel-visual-fr img {
        transform: none !important;
    }
}

@media (max-width: 1100px) {
    .playlist-wrapper-fr,
    .extra-shell-fr,
    .spotlight-fr,
    .spotlight-fr.reverse,
    .curated-channel-modal-body-fr {
        grid-template-columns: 1fr !important;
    }

    .featured-video-column-fr,
    .extra-details-fr,
    .spotlight-visual,
    .spotlight-fr.reverse .spotlight-visual {
        border-right: 0 !important;
        border-left: 0 !important;
        border-bottom: 2px dashed var(--fr-stitch-dark) !important;
    }

    .playlist-sidebar-fr {
        height: 26rem !important;
        max-height: 26rem !important;
    }

    #playlist-items-container-fr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .playlist-item-fr:nth-child(odd) {
        border-right: 2px dashed var(--fr-stitch-dark) !important;
    }

    .extra-details-fr {
        min-height: 27rem;
    }

    .spotlight-fr.reverse .spotlight-visual,
    .spotlight-fr.reverse .spotlight-copy {
        grid-column: 1 !important;
    }

    .spotlight-fr.reverse .spotlight-visual {
        grid-row: 1 !important;
    }

    .spotlight-copy {
        min-height: 28rem;
    }

    .curation-story-fr {
        grid-template-columns: 7rem minmax(0, 1fr) !important;
    }

    .curation-story-time-fr {
        width: 7rem !important;
        height: 7rem !important;
    }

    .curation-story-video-fr {
        grid-column: 2;
        display: grid;
        grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
        gap: 1rem;
        align-items: center;
    }

    .curation-story-video-frame-fr {
        grid-row: 1 / 3;
    }

    .tf1-broadcast-fr {
        grid-template-columns: 1fr;
    }

    .tf1-broadcast-media-fr {
        border-right: 2px solid var(--fr-indigo-950);
        border-bottom: 0;
    }

    .curated-channel-modal-video-fr {
        border-top: 0 !important;
        border-left: 2px dashed var(--fr-stitch-light) !important;
    }
}

@media (max-width: 760px) {
    .section-fr {
        padding: 4rem 0 !important;
    }

    .section-fr > .container-fr,
    .curation-story-fr {
        width: min(100% - 1.5rem, 92rem) !important;
    }

    .section-heading,
    .curated-library-heading-fr,
    .cta-fr {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .section-heading h2,
    .extra-details-fr h2,
    .cta-fr h2 {
        font-size: clamp(2.6rem, 14vw, 4.2rem) !important;
    }

    .curated-library-heading-fr {
        width: min(100% - 1.5rem, 92rem) !important;
        margin-top: 4rem !important;
        padding-inline: 0 !important;
    }

    .tf1-broadcast-fr {
        width: min(100% - 1.5rem, 92rem);
        margin-bottom: 5rem;
    }

    .tf1-broadcast-copy-fr {
        padding: 1.6rem;
    }

    .tf1-broadcast-action-fr {
        width: 100%;
    }

    #playlist-items-container-fr {
        grid-template-columns: 1fr;
    }

    .playlist-item-fr:nth-child(odd) {
        border-right: 0 !important;
    }

    .playlist-featured-actions,
    .action-row,
    .curation-story-links-fr,
    .cta-actions-fr,
    .curated-channel-modal-links-fr {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .playlist-featured-actions .btn-fr,
    .action-row .btn-fr,
    .curation-story-links-fr .btn-fr,
    .cta-actions-fr .btn-fr,
    .curated-channel-modal-links-fr .btn-fr {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .extra-details-fr,
    .spotlight-copy,
    .cta-fr {
        min-height: 0;
        padding: 1.6rem !important;
    }

    .extra-details-fr {
        justify-content: flex-start;
    }

    .extra-player-layout-fr {
        padding: 0.6rem !important;
    }

    .curation-story-fr {
        grid-template-columns: 1fr !important;
        margin-block: 2rem 4rem !important;
        padding: 1rem !important;
    }

    .curation-story-time-fr {
        width: 6.5rem !important;
        height: 6.5rem !important;
    }

    .curation-story-video-fr {
        grid-column: 1;
        grid-template-columns: 1fr;
    }

    .curation-story-video-frame-fr {
        grid-row: auto;
    }

    .spotlight-fr,
    .spotlight-fr.reverse {
        min-height: 0;
    }

    .spotlight-visual,
    .spotlight-album-fr {
        min-height: 26rem !important;
    }

    .spotlight-album-fr {
        display: block !important;
    }

    .spotlight-logo-pill {
        max-width: calc(100% - 1.5rem);
        top: 0.75rem !important;
        right: 0.75rem !important;
    }

    .curated-channel-modal-header-fr {
        grid-template-columns: 1fr !important;
    }

    .curated-channel-modal-image-wrap-fr {
        min-height: 42vh;
        max-height: 31rem;
        border-right: 0;
        border-bottom: 2px dashed var(--fr-stitch-light);
    }

    .curated-channel-modal-title-fr,
    .curated-channel-modal-body-fr {
        padding: 1.25rem !important;
    }

    .curated-channel-modal-title-fr h2 {
        font-size: clamp(3rem, 16vw, 5.4rem) !important;
    }

    .curated-channel-modal-close-fr {
        position: fixed !important;
    }

    .photo-lightbox-dialog-fr {
        padding: 4.5rem 1rem 1.25rem !important;
    }

    .photo-lightbox-nav-fr.previous {
        left: 0.75rem !important;
    }

    .photo-lightbox-nav-fr.next {
        right: 0.75rem !important;
    }
}

@media (max-width: 520px) {
    .playlist-item-fr {
        grid-template-columns: 6rem minmax(0, 1fr) !important;
    }

    .playlist-thumbnail-fr {
        width: 6rem !important;
        height: 3.6rem !important;
    }

    .spotlight-album-fr {
        display: block !important;
        min-height: 23rem !important;
    }

    .spotlight-copy h3 {
        font-size: 2.7rem !important;
    }

    .curated-channel-modal-body-fr {
        padding-inline: 0 !important;
    }

    .curated-channel-modal-notes-fr,
    .curated-channel-modal-video-fr {
        border-right: 0 !important;
        border-left: 0 !important;
    }
}
