﻿/* Auto-extracted from home/index.html + Newtemplate-html mobile */
:root {
      --primary-blue: #374296;
      --electric-blue: #0000FE;
      --primary-purple: #aaa4c8;
      --primary-pink: #c24c86;
      --bg-gray: #e6e6e6;
      --dark-blue: #1F1462;
      --brand-red: #A72338;
      --text-dark: #1a1a1a;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

body.cf-v3 {
  overflow-x: hidden;
  --cf-v3-header-height: 120px;
  padding-top: var(--cf-v3-header-height);
}

body.cf-v3 img,
body.cf-v3 video,
body.cf-v3 iframe {
  max-width: 100%;
}

    body {
      font-family: 'Jost', sans-serif;
      color: var(--text-dark);
      background-color: #fff;
    }

    body:not(.cf-v3) {
      padding-top: 111px;
    }

    body.cf-v3 > header {
      display: flex;
      flex-direction: column;
      position: fixed;
      width: 100%;
      left: 0;
      top: 0;
      z-index: 1000;
      background: white;
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

    body.cf-v3 > header .header-main {
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
    }

    body.cf-v3 > header .header-left {
      flex: 0 1 auto;
      min-width: 0;
      max-width: min(280px, 42vw);
    }

    body.cf-v3 > header .header-center {
      flex: 1 1 auto;
      min-width: 0;
      justify-content: center;
    }

    body.cf-v3 > header .header-right {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: 15px;
      margin-left: auto;
      transform: none;
    }

    body.cf-v3 > header .logo-container a,
    body.cf-v3 > header .logo-container .site-logo-link {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      text-decoration: none;
      line-height: 0;
      max-width: 100%;
    }

    /* The lockup is wide, so it must shrink with .header-left instead of
       overflowing into the nav when the menu needs more room. */
    body.cf-v3 > header .logo-container {
      flex: 0 1 auto;
      min-width: 0;
    }

    body.cf-v3 > header .logo-container img,
    body.cf-v3 > header .site-logo-img {
      width: 280px;
      max-width: 100%;
      height: auto;
    }

    body.cf-v3 > header:has(.breadcrumbs) .header-main {
      border-bottom: none;
    }

    body.cf-v3 > header .breadcrumbs,
    body.cf-v3 > header .cf-v3-breadcrumbs {
      flex: 0 0 auto;
      width: 100%;
      padding: 10px 40px;
      font-size: 13px;
      line-height: 1.45;
      color: #5a5a5a;
      background: #f7f8fc;
      border-bottom: 1px solid #e8eaf2;
      border-top: none;
      position: relative;
      z-index: 1;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      white-space: nowrap;
    }

    body.cf-v3 > header .breadcrumbs .container {
      max-width: 1440px;
      margin: 0 auto;
      padding: 0;
      width: 100%;
    }

    body.cf-v3 > header .breadcrumbs a {
      color: var(--primary-blue, #374296);
      font-weight: 500;
      text-decoration: none;
    }

    body.cf-v3 > header .breadcrumbs a:hover {
      color: var(--electric-blue, #0000fe);
      text-decoration: underline;
    }

    body.cf-v3 > header .breadcrumbs .sep {
      margin: 0 0.4rem;
      color: var(--primary-purple, #aaa4c8);
      font-weight: 400;
    }

    body.cf-v3 > header .breadcrumbs .current {
      color: var(--dark-blue, #1f1462);
      font-weight: 600;
    }

    .header-top {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 12px 40px;
      background-color: #f9f9f9;
      border-bottom: 1px solid #eaeaea;
      position: relative;
    }

    .header-main {
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-between;
      padding: 30px 40px;
      border-bottom: 1px solid #eee;
      align-items: center;
      position: relative;
      transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, filter 0.3s ease;
    }

    .header-main.shrink {
      padding: 10px 40px;
    }

    .header-left {
      display: flex;
      align-items: center;
    }

    .header-right {
      display: flex;
      align-items: center;
      transform: translateY(-2px);
    }

    .search-container {
      display: flex;
      align-items: center;
    }

    .search-btn {
      background: none;
      border: none;
      cursor: pointer;
      color: #666;
      display: flex;
      align-items: center;
      padding: 0;
      margin: 0;
    }

    .search-btn:hover {
      color: var(--primary-blue);
    }

    .search-btn .material-symbols-outlined {
      font-size: 24px;
    }

    .header-left {
      display: flex;
      align-items: center;
    }

    .secondary-nav {
      display: flex;
      gap: 20px;
      margin-right: 20px;
      align-items: center;
    }

    .secondary-nav a {
      text-decoration: none;
      color: var(--text-dark);
      font-weight: 600;
      font-size: 14px;
      text-transform: uppercase;
      transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, filter 0.3s ease;
    }

    .secondary-nav a:hover {
      color: var(--primary-blue);
    }

    .header-main.shrink .secondary-nav a {
      font-size: 12px;
    }

    .logo-container {
      display: flex;
      align-items: center;
      gap: 15px;
      flex-shrink: 0;
      min-height: 50px;
    }

    .logo-container .site-logo-link {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      text-decoration: none;
      line-height: 0;
    }

    /* Sized by width so the lockup always fits the 280px .header-left column. */
    .logo-container img {
      display: block;
      width: 280px;
      max-width: 100%;
      height: auto;
      object-fit: contain;
      transform: translateY(-3px);
    }

    .page-title {
      font-family: 'Caveat', cursive;
      font-size: 32px;
      color: #555;
      margin-left: 20px;
    }

    .header-center {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .main-nav {
      display: flex;
      flex-wrap: nowrap;
      gap: 20px;
      align-items: center;
    }

    .main-nav > a,
    .main-nav .nav-dropdown__toggle {
      text-decoration: none;
      color: var(--text-dark);
      font-family: 'Jost', sans-serif;
      font-weight: 600;
      font-size: 18px;
      text-transform: uppercase;
      letter-spacing: 1px;
      white-space: nowrap;
      position: relative;
      padding: 6px 0;
      transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, filter 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      -webkit-tap-highlight-color: transparent;
    }

    button.nav-dropdown__toggle {
      background: none;
      border: none;
      margin: 0;
      cursor: pointer;
      font: inherit;
      text-align: inherit;
      appearance: none;
      -webkit-appearance: none;
    }

    .header-main.shrink .main-nav > a,
    .header-main.shrink .main-nav .nav-dropdown__toggle {
      font-size: 16px;
    }

    .main-nav > a::after,
    .main-nav .nav-dropdown__toggle::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: var(--primary-blue);
      transition: width 0.3s ease;
    }

    .main-nav > a:hover,
    .main-nav .nav-dropdown__toggle:hover,
    .nav-dropdown:hover .nav-dropdown__toggle,
    .nav-dropdown:focus-within .nav-dropdown__toggle {
      color: var(--primary-blue);
    }

    .main-nav > a:hover::after,
    .main-nav .nav-dropdown__toggle:hover::after,
    .nav-dropdown:hover .nav-dropdown__toggle::after,
    .nav-dropdown:focus-within .nav-dropdown__toggle::after {
      width: 100%;
    }

    .nav-dropdown {
      position: relative;
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    .nav-dropdown__chevron {
      display: inline-block;
      width: 0;
      height: 0;
      margin-left: 2px;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-top: 5px solid currentColor;
      transform: translateY(1px);
      transition: transform 0.2s ease;
    }

    .nav-dropdown:hover .nav-dropdown__chevron,
    .nav-dropdown:focus-within .nav-dropdown__chevron,
    .nav-dropdown.is-open .nav-dropdown__chevron {
      transform: translateY(1px) rotate(180deg);
    }

    .nav-dropdown__menu {
      display: none;
      position: absolute;
      left: 0;
      top: calc(100% - 2px);
      padding-top: 2px;
      min-width: 260px;
      max-height: min(75vh, 640px);
      overflow-y: auto;
      background: #fff;
      border: 1px solid #eee;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      z-index: 10050;
      flex-direction: column;
    }

    .nav-dropdown__menu a {
      display: block;
      padding: 12px 16px;
      font-size: 14px;
      font-weight: 500;
      text-transform: none;
      letter-spacing: 0;
      border-bottom: 1px solid #f3f3f3;
      white-space: normal;
      position: static;
    }

    .nav-dropdown__menu a:last-child {
      border-bottom: none;
    }

    .nav-dropdown__menu a::after {
      display: none;
    }

    .nav-dropdown__menu a:hover {
      background: #f9f9f9;
      color: var(--primary-blue);
    }

    .nav-dropdown:hover .nav-dropdown__menu,
    .nav-dropdown:focus-within .nav-dropdown__menu {
      display: flex;
    }


    .top-icons {
      display: flex;
      gap: 10px;
      align-items: center;
      position: absolute;
      right: 40px;
    }

    .icon-circle {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #ccc;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      color: white;
      text-decoration: none;
    }

    .icon-fb {
      background: #3b5998;
    }

    .icon-fr {
      background: url('https://upload.wikimedia.org/wikipedia/commons/c/c3/Flag_of_France.svg') center/cover;
    }

    .icon-en {
      background: url('https://upload.wikimedia.org/wikipedia/en/a/ae/Flag_of_the_United_Kingdom.svg') center/cover;
    }

    .icon-de {
      background: url('https://upload.wikimedia.org/wikipedia/en/b/ba/Flag_of_Germany.svg') center/cover;
    }

    .cf-v3-lang-switcher {
      position: relative;
      display: inline-flex;
      align-items: center;
      z-index: 1002;
    }

    .cf-v3-lang-switcher__toggle {
      border: none;
      padding: 0;
      cursor: pointer;
      flex-shrink: 0;
    }

    .cf-v3-lang-switcher__menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      margin: 0;
      padding: 6px;
      list-style: none;
      background: #fff;
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-6px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
      min-width: 72px;
    }

    .cf-v3-lang-switcher:hover .cf-v3-lang-switcher__menu,
    .cf-v3-lang-switcher:focus-within .cf-v3-lang-switcher__menu,
    .cf-v3-lang-switcher.is-open .cf-v3-lang-switcher__menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .cf-v3-lang-switcher__option {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 8px 12px;
      text-decoration: none;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 14px;
      color: #222;
      border-radius: 4px;
      transition: background-color 0.2s ease;
    }

    .cf-v3-lang-switcher__option:hover {
      background-color: #f5f5f5;
    }

    .cf-v3-lang-switcher__code {
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .secondary-nav {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 20px;
    }

    .secondary-nav a {
      text-decoration: none;
      color: #666;
      font-family: 'Jost', sans-serif;
      font-weight: 500;
      font-size: 16px;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, filter 0.3s ease;
      position: relative;
    }

    .secondary-nav a:hover {
      color: var(--primary-pink);
    }

    /* HERO */

/* FOOTER — v3 mockup fonts (override main.css Playfair / Inter on headings & links) */
    body.cf-v3 footer {
      width: 100%;
      font-family: 'Jost', sans-serif;
      color: #333;
    }

    body.cf-v3 .footer-top {
      background-color: var(--dark-blue);
      padding: 60px 5%;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 40px;
      color: white;
    }

    body.cf-v3 .footer-col {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    /* School notebook plate behind brand logo (contact + footer) */
    body.cf-v3 .cf-logo-notebook {
      --cf-nb-paper: #fffdf6;
      --cf-nb-line: rgba(55, 66, 150, 0.18);
      --cf-nb-margin: rgba(198, 54, 54, 0.45);
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      max-width: 100%;
      padding: 18px 22px 18px 28px;
      background-color: var(--cf-nb-paper);
      background-image:
        linear-gradient(90deg, transparent 0, transparent 18px, var(--cf-nb-margin) 18px, var(--cf-nb-margin) 20px, transparent 20px),
        repeating-linear-gradient(
          180deg,
          transparent 0,
          transparent 11px,
          var(--cf-nb-line) 11px,
          var(--cf-nb-line) 12px
        );
      background-size: 100% 100%, 100% 12px;
      border-radius: 3px 10px 3px 10px;
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 10px 22px rgba(0, 0, 0, 0.22),
        2px 3px 0 rgba(31, 20, 98, 0.12);
      transform: rotate(-1.2deg);
      isolation: isolate;
    }

    body.cf-v3 .cf-logo-notebook::before {
      content: "";
      position: absolute;
      top: 8px;
      right: 14px;
      width: 28px;
      height: 10px;
      background: linear-gradient(180deg, rgba(255, 214, 102, 0.55), rgba(255, 186, 48, 0.35));
      border-radius: 1px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
      transform: rotate(8deg);
      pointer-events: none;
      z-index: 1;
    }

    body.cf-v3 .cf-logo-notebook::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      box-shadow: inset 0 0 0 1px rgba(31, 20, 98, 0.08);
      pointer-events: none;
    }

    body.cf-v3 .footer-logo .cf-logo-notebook {
      width: min(300px, 100%);
    }

    body.cf-v3 .footer-logo img,
    body.cf-v3 .footer-logo-img {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 260px;
      height: auto;
      background: transparent;
    }

    body.cf-v3 .footer-nav h2 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 16px;
      color: #fff;
      margin: 0 0 15px;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    body.cf-v3 .footer-nav a {
      font-family: 'Jost', sans-serif;
      text-decoration: none;
      color: #a5c3e1;
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 10px;
      display: block;
    }

    body.cf-v3 .footer-nav a:hover {
      color: #fff;
      text-decoration: underline;
    }

    body.cf-v3 .footer-social-title {
      font-family: 'Montserrat', sans-serif;
      color: #fff;
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      margin-bottom: 15px;
      letter-spacing: 0.02em;
    }

    body.cf-v3 .footer-social-icons {
      display: flex;
      gap: 10px;
    }

    body.cf-v3 .social-circle {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      background-color: #dbe4ef;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-blue);
      text-decoration: none;
      font-size: 16px;
      transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, filter 0.3s ease;
    }

    body.cf-v3 .social-circle:hover {
      background-color: var(--primary-blue);
      color: #fff;
    }

    body.cf-v3 .footer-bottom {
      background-color: #120b3e;
      color: white;
      padding: 25px 5%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 15px;
      font-size: 12px;
      font-family: 'Jost', sans-serif;
    }

    body.cf-v3 .footer-bottom-links {
      display: flex;
      gap: 25px;
      flex-wrap: wrap;
      justify-content: center;
    }

    body.cf-v3 .footer-bottom-links a {
      font-family: 'Jost', sans-serif;
      color: #a5c3e1;
      text-decoration: none;
      font-weight: 500;
    }

    body.cf-v3 .footer-bottom-links a:hover {
      color: white;
    }

    body.cf-v3 .footer-copyright {
      font-family: 'Jost', sans-serif;
      color: #8daac5;
    }

/* RESPONSIVE DESIGN (Tablette & Mobile)
   Hamburger ≤1680: covers 1920@125% (1536), 1600–1680 laptops, tablets.
   Compact desktop 1681–1920: shrink logo/nav so items never overlap. */
@media (min-width: 1681px) and (max-width: 1920px) {
  body.cf-v3 > header .header-main { padding: 16px 24px; gap: 12px; }
  body.cf-v3 > header .header-left { max-width: min(220px, 28vw); }
  body.cf-v3 > header .logo-container img,
  body.cf-v3 > header .site-logo-img { width: 220px; max-width: 100%; }
  body.cf-v3 > header .main-nav { gap: clamp(8px, 0.9vw, 16px); }
  body.cf-v3 > header .main-nav > a,
  body.cf-v3 > header .main-nav .nav-dropdown__toggle {
    font-size: clamp(13px, 0.85vw, 16px);
    letter-spacing: 0.4px;
  }
  body.cf-v3 > header .secondary-nav { gap: 10px; margin-right: 8px; }
  body.cf-v3 > header .secondary-nav a { font-size: 12px; }
  body.cf-v3 > header .header-right { gap: 10px; }
}

@media (max-width: 1680px) {
  body.cf-v3 {
    --cf-v3-header-height: 72px;
    padding-top: 72px;
  }

  .header-main { padding: 12px 16px; }
  .header-main.shrink { padding: 12px 16px; }
  .secondary-nav { display: none; }
  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
  }
  body.cf-v3 > header .header-center {
    display: none;
    position: fixed;
    top: var(--cf-v3-mobile-menu-top, var(--cf-v3-header-height, 72px));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: white;
    padding: 8px 20px 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    align-content: flex-start;
    border-top: 1px solid #eee;
    z-index: 1001;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: none;
    transition: none;
  }
  body.cf-v3 > header .header-center.active {
    display: flex;
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
    transition: none;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }
  body.cf-v3 > header .header-center.active .mobile-only-nav {
    display: flex;
  }

  @media (prefers-reduced-motion: reduce) {
    body.cf-v3 > header .header-center {
      transition: none;
    }
  }
  .main-nav {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 0;
  }
  .main-nav > a,
  .main-nav .nav-dropdown__toggle {
    font-size: 16px;
    padding: 14px 4px;
    min-height: 48px;
    border-bottom: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    touch-action: manipulation;
  }
  .main-nav > a::after,
  .main-nav .nav-dropdown__toggle::after {
    display: none;
  }
  .nav-dropdown {
    width: 100%;
    display: block;
    position: relative;
    overflow: visible;
  }
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    display: none;
  }
  .nav-dropdown__toggle {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
  }
  .nav-dropdown__menu {
    display: none;
    position: static;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--primary-blue);
    margin: 0 0 8px 12px;
    padding-left: 8px;
    background: transparent;
    flex-direction: column;
  }
  .nav-dropdown.is-open .nav-dropdown__menu {
    display: flex;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }
  .nav-dropdown__menu a {
    font-size: 15px;
    padding: 12px 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    text-transform: none;
    touch-action: manipulation;
    position: relative;
    z-index: 2;
  }
  .mobile-only-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
  }
  .mobile-only-nav a {
    color: #666;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 4px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    touch-action: manipulation;
  }
  .mobile-only-nav a:hover { color: var(--primary-pink); }
  body.cf-v3 > header .header-main {
    position: relative;
  }
  body.cf-v3 > header .breadcrumbs {
    padding: 10px 16px;
  }
  .footer-top { gap: 30px; }
  body.cf-v3 .footer-top { gap: 30px; }
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-blue);
}
.menu-btn .material-symbols-outlined { font-size: 32px; }

@media (min-width: 1681px) {
  .mobile-only-nav {
    display: none;
  }
}

@media (max-width: 1024px) {
  .footer-top { gap: 30px; }
  body.cf-v3 .footer-top { gap: 30px; }
}

@media (max-width: 768px) {
  body:not(.cf-v3) { padding-top: 100px; }
  .header-main { padding: 12px 16px; }
  .header-main.shrink { padding: 8px 16px; }
  .header-top { padding: 10px 16px; }
  .top-icons { right: 16px; }
  .logo-container { min-height: 35px; }
  .logo-container img { width: 230px; height: auto; }
  .template-placeholder { padding: 50px 20px; font-size: 18px; min-height: 800px; }
  .page-content { padding: 30px 20px; }
  
  .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
  .footer-col { align-items: center; width: 100%; }
  .footer-logo img,
  .footer-logo-img { width: 100%; max-width: 230px; }
  .footer-bottom-links { flex-direction: column; gap: 15px; }
  body.cf-v3 .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
  body.cf-v3 .footer-col { align-items: center; width: 100%; }
  body.cf-v3 .footer-logo .cf-logo-notebook { width: min(280px, 90vw); }
  body.cf-v3 .footer-logo img,
  body.cf-v3 .footer-logo-img { width: 100%; max-width: 230px; }
  body.cf-v3 .footer-bottom-links { flex-direction: column; gap: 15px; }
}

body.cf-v3 .cf-seyes-paper { display: none !important; }
body.cf-v3 #masthead, body.cf-v3 .site-footer--intl { display: none !important; }
body.cf-v3 a.news-card { text-decoration: none; color: inherit; display: block; }
body.cf-v3 .cf-v3-insta-link { color: #666; font-size: 20px; display: flex; align-items: center; text-decoration: none; transition: color 0.3s; }
body.cf-v3 .cf-v3-insta-link:hover { color: var(--primary-blue); }

@media (min-width: 1681px) {
  /* overflow must stay visible — hidden was clipping Papeterie/Beaux-arts hover menus */
  body.cf-v3 > header .header-center {
    display: flex;
    min-width: 0;
    overflow: visible;
  }
  body.cf-v3 > header .header-main {
    overflow: visible;
  }
  body.cf-v3 > header .header-right {
    gap: 15px;
    flex-shrink: 0;
  }
  body.cf-v3 > header .main-nav {
    flex-wrap: nowrap;
    min-width: 0;
    overflow: visible;
  }
  body.cf-v3 > header .nav-dropdown {
    overflow: visible;
  }
}

/* Collection "Image Artiste" — editable image slot (CF Visual Editor) */
body.cf-v3 .cf-jds-v3-artist-placeholder,
body.cf-v3 .cf-adolie-v3-artist-placeholder {
  position: relative;
  overflow: hidden;
  padding: 0;
  /* Fallback ratio: breakpoints below 1024px reset height/min-height to auto/0,
     and the absolutely positioned image cannot give the box a height. */
  aspect-ratio: 4 / 3;
}

body.cf-v3 .cf-collection-artist-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}

body.cf-v3 .placeholder-box.cf-collection-artist-has-image {
  border: none;
  background-color: transparent;
  color: transparent;
  font-size: 0;
}

/* Univers « Articles de blog de la catégorie » — uniform image tiles */
body.cf-v3 .grid-section .three-col-grid {
  align-items: stretch;
}

body.cf-v3 .grid-section .blog-card {
  align-items: stretch;
  width: 100%;
}

body.cf-v3 .grid-section .blog-card .blog-card__media {
  display: block;
  width: 100%;
  margin: 0 0 25px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f0f2f8;
  flex-shrink: 0;
}

body.cf-v3 .grid-section .blog-card .blog-card__media img,
body.cf-v3 .grid-section .blog-card > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
}

/* « Découvrez également » cards have no media wrapper: same gap as the blog cards. */
body.cf-v3 .grid-section .blog-card > img {
  margin-bottom: 25px;
}

body.cf-v3 .grid-section .blog-card .btn-blue {
  margin-top: auto;
  align-self: center;
  width: auto;
  max-width: 100%;
}

/* Footer: one row of columns — logo + social, Papeterie, Beaux-arts, univers, Clairefontaine. */
body.cf-v3 footer .footer-top {
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) repeat(4, minmax(0, 1fr));
  gap: 40px 30px;
  align-items: start;
}

body.cf-v3 footer .footer-top .footer-col {
  min-width: 0;
}

body.cf-v3 footer .footer-top .footer-logo {
  gap: 30px;
  margin-bottom: 0;
}

body.cf-v3 footer .footer-top .footer-nav {
  gap: 0;
}

body.cf-v3 footer .footer-top .footer-nav a {
  margin-bottom: 8px;
  line-height: 1.35;
}

@media (max-width: 1280px) {
  body.cf-v3 footer .footer-top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.cf-v3 footer .footer-top .footer-logo {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  body.cf-v3 footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.cf-v3 footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    text-align: center;
  }

  body.cf-v3 footer .footer-top .footer-logo {
    flex-direction: column;
    justify-content: flex-start;
  }

  body.cf-v3 footer .footer-top .footer-social-icons {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  body.cf-v3 footer .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}
