/*
 * Solutrans+ visual redesign preview.
 * Production stylesheet for the premium Solutrans+ visual redesign.
 */

/* Refonte preview: design tokens and global media-platform atmosphere. */
body.st-refonte-preview {
  --st-night: #0D1B2A;
  --st-night-2: #071426;
  --st-blue: #18A0FB;
  --st-cyan: #4CC9F0;
  --st-paper: #F4F6FA;
  --st-ink: #111827;
  --st-muted: #64748B;
  --st-white: #FFFFFF;
  --st-line: rgba(13, 27, 42, 0.1);
  --st-line-blue: rgba(24, 160, 251, 0.28);
  --st-shadow-sm: 0 16px 36px rgba(13, 27, 42, 0.08);
  --st-shadow-md: 0 26px 70px rgba(13, 27, 42, 0.14);
  --st-shadow-blue: 0 20px 54px rgba(24, 160, 251, 0.18);
  --container: 1280px;
  background:
    radial-gradient(circle at 10% 4%, rgba(24, 160, 251, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(76, 201, 240, 0.12), transparent 24rem),
    linear-gradient(180deg, #FFFFFF 0 80px, #F4F6FA 80px 100%);
  color: var(--st-ink);
  font-family: "Inter", "SF Pro Text", "Segoe UI", sans-serif;
}

body.st-refonte-preview h1,
body.st-refonte-preview h2,
body.st-refonte-preview h3,
body.st-refonte-preview h4,
body.st-refonte-preview h5,
body.st-refonte-preview h6 {
  font-family: "Sora", "Inter", "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.st-refonte-preview .st-container {
  width: min(calc(100% - 2.5rem), var(--container));
}

body.st-refonte-preview .st-site-shell,
body.st-refonte-preview .st-main {
  background: transparent;
}

body.st-refonte-preview .st-main {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  overflow: clip;
}

body.st-refonte-preview .st-main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(13, 27, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 27, 42, 0.028) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 72%);
  pointer-events: none;
}

/* Refonte preview: header premium, compact navigation and app CTA. */
body.st-refonte-preview .st-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 10px 34px rgba(13, 27, 42, 0.08);
  backdrop-filter: blur(18px) saturate(1.18);
}

body.st-refonte-preview .st-header__inner {
  min-height: 82px;
  gap: 1rem;
}

body.st-refonte-preview .st-header__left,
body.st-refonte-preview .st-header__right {
  gap: 0.75rem;
}

body.st-refonte-preview .st-brand__logo {
  width: auto;
  max-width: 184px;
  max-height: 64px;
}

body.st-refonte-preview .st-nav .menu {
  gap: 0.15rem;
}

body.st-refonte-preview .st-nav .menu-item a {
  min-height: 42px;
  padding: 0 0.78rem;
  border-radius: 10px;
  color: rgba(17, 24, 39, 0.72);
  font-size: 12.5px;
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

body.st-refonte-preview .st-nav .menu-item a:hover,
body.st-refonte-preview .st-nav .menu-item a[aria-current="page"],
body.st-refonte-preview .st-nav .current-menu-item > a {
  color: var(--st-ink);
  background: rgba(24, 160, 251, 0.1);
  transform: translateY(-1px);
}

body.st-refonte-preview .st-nav .menu-item a::after {
  bottom: 3px;
  width: 20px;
  min-width: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--st-blue), var(--st-cyan));
}

body.st-refonte-preview .st-search-form {
  min-width: 190px;
  min-height: 42px;
  padding: 0 0.78rem;
  border: 0;
  border-radius: 14px;
  background: #F2F6FB;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 24px rgba(13, 27, 42, 0.05);
}

body.st-refonte-preview .st-search-form__icon,
body.st-refonte-preview .st-badge__icon,
body.st-refonte-preview .st-reading-time__icon,
body.st-refonte-preview .st-meta-icon {
  background: linear-gradient(135deg, var(--st-blue), var(--st-cyan));
}

body.st-refonte-preview .st-search-form__input {
  width: min(14vw, 148px);
  font-size: 13px;
}

body.st-refonte-preview .st-header__search {
  padding-bottom: 0;
}

body.st-refonte-preview .st-header__app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--st-blue), #0878D7);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--st-shadow-blue);
  white-space: nowrap;
}

/* Refonte preview: stable homepage order for a newsroom-like composition. */
body.st-refonte-preview .st-home-hero-section { order: 1; }
body.st-refonte-preview .st-home-feed-section { order: 2; }
body.st-refonte-preview .st-home-quick-section { order: 3; }
body.st-refonte-preview .st-home-solutrans-section { order: 4; }
body.st-refonte-preview .st-home-app-section { order: 5; }
body.st-refonte-preview .st-home-agenda-section { order: 6; }
body.st-refonte-preview .st-home-videos-section { order: 7; }
body.st-refonte-preview .st-home-studies-section { order: 8; }
body.st-refonte-preview .st-home-watch-section { order: 9; }

/* Refonte preview: generic section headings and editorial rhythm. */
body.st-refonte-preview .st-section {
  position: relative;
  padding: clamp(2.2rem, 5vw, 4.25rem) 0;
}

body.st-refonte-preview .st-section-heading {
  align-items: center;
  margin-bottom: clamp(1rem, 2.4vw, 1.55rem);
}

body.st-refonte-preview .st-section-heading__title {
  max-width: none;
  color: var(--st-ink);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.04;
}

body.st-refonte-preview .st-section-heading__rule {
  height: 2px;
  background: linear-gradient(90deg, var(--st-blue), rgba(76, 201, 240, 0.25), transparent);
}

body.st-refonte-preview .st-section-heading__text {
  color: var(--st-muted);
}

body.st-refonte-preview .st-link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--st-ink);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.06);
}

/* Refonte preview: immersive À la une hero, preserving the dynamic featured article. */
body.st-refonte-preview .st-home-hero-section {
  padding: 0;
  background: #071321;
}

body.st-refonte-preview .st-home-hero-section .st-container {
  width: 100%;
}

body.st-refonte-preview .st-home-hero-section .st-section-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body.st-refonte-preview .st-home-hero-section .st-featured-carousel,
body.st-refonte-preview .st-home-hero-section .st-featured-carousel__track,
body.st-refonte-preview .st-home-hero-section .st-featured-carousel__slide {
  display: block;
  padding: 0;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide {
  min-height: clamp(610px, calc(100vh - 82px), 760px);
  border: 0;
  border-radius: 0;
  background: #071321;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide:hover {
  transform: none;
  box-shadow: none;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__link,
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__media {
  height: 100%;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(610px, calc(100vh - 82px), 760px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.08) brightness(0.76);
  transform: scale(1.01);
  transition: transform 0.7s ease, filter 0.7s ease;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide:hover .st-story-card__media img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.1) brightness(0.8);
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__media::after {
  background:
    linear-gradient(90deg, rgba(3, 10, 20, 0.94) 0%, rgba(5, 16, 29, 0.75) 36%, rgba(5, 16, 29, 0.24) 68%, rgba(5, 16, 29, 0.72) 100%),
    linear-gradient(180deg, rgba(3, 10, 20, 0.12), rgba(3, 10, 20, 0.88));
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(90deg, rgba(76, 201, 240, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(76, 201, 240, 0.08) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.38;
  mask-image: linear-gradient(90deg, #000, transparent 58%);
  pointer-events: none;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide::after {
  content: "";
  position: absolute;
  top: 14%;
  right: max(42px, calc((100vw - 1280px) / 2));
  z-index: 3;
  width: min(34vw, 430px);
  height: min(42vw, 440px);
  border: 1px solid rgba(190, 228, 255, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
    linear-gradient(90deg, transparent 0 42%, rgba(76,201,240,0.24) 42% 44%, transparent 44% 100%),
    linear-gradient(0deg, transparent 0 18%, rgba(24,160,251,0.2) 18% 32%, transparent 32% 100%),
    radial-gradient(circle at 78% 66%, rgba(76,201,240,0.58) 0 4px, transparent 5px),
    rgba(8, 25, 47, 0.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 28px 70px rgba(0,0,0,0.24);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline {
  left: max(42px, calc((100vw - 1280px) / 2));
  right: 52vw;
  bottom: clamp(220px, 28vh, 300px);
  z-index: 4;
  display: grid;
  gap: 1rem;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline::before {
  content: "À la une";
  width: fit-content;
  color: var(--st-cyan);
  font: 900 0.78rem/1 "Inter", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.st-refonte-preview .st-home-hero-section .st-story-card__importance-inline,
body.st-refonte-preview .st-home-hero-section .st-story-card__importance {
  display: none;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(2.8rem, 5.8vw, 5.8rem);
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.55);
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
  position: absolute;
  left: max(42px, calc((100vw - 1280px) / 2));
  right: 52vw;
  bottom: clamp(76px, 12vh, 118px);
  z-index: 4;
  display: grid;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__excerpt {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.6;
  -webkit-line-clamp: 4;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__date,
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-reading-time {
  color: rgba(255, 255, 255, 0.82);
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__footer {
  justify-content: flex-start;
  margin-left: 0;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-badge {
  border-color: rgba(76, 201, 240, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.st-refonte-preview .st-home-hero-section .st-featured-carousel__controls--inline {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 6;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.st-refonte-preview .st-home-hero-section .st-carousel-button {
  display: none;
}

body.st-refonte-preview .st-home-hero-section .st-carousel-dot {
  width: 30px;
  height: 4px;
  background: rgba(255, 255, 255, 0.42);
}

body.st-refonte-preview .st-home-hero-section .st-carousel-dot.is-active {
  background: var(--st-blue);
}

/* Refonte preview: premium article cards used by editorial rails and grids. */
body.st-refonte-preview .st-story-card {
  position: relative;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--st-shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.st-refonte-preview .st-story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 160, 251, 0.28);
  box-shadow: var(--st-shadow-md), 0 0 28px rgba(24, 160, 251, 0.1);
}

body.st-refonte-preview .st-story-card__media {
  overflow: hidden;
  background: linear-gradient(135deg, #DDEAF5, #F8FBFE);
}

body.st-refonte-preview .st-story-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 0.42s ease, filter 0.42s ease;
}

body.st-refonte-preview .st-story-card:hover .st-story-card__media img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.02);
}

body.st-refonte-preview .st-story-card__media::after {
  background: linear-gradient(180deg, rgba(13, 27, 42, 0) 45%, rgba(13, 27, 42, 0.22) 100%);
}

body.st-refonte-preview .st-story-card__body {
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
}

body.st-refonte-preview .st-story-card__title {
  color: var(--st-ink);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.15;
  text-wrap: balance;
}

body.st-refonte-preview .st-story-card__date {
  color: var(--st-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.st-refonte-preview .st-story-card__excerpt {
  color: var(--st-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

body.st-refonte-preview .st-story-card__footer {
  gap: 0.55rem;
}

body.st-refonte-preview .st-badge {
  min-height: 24px;
  padding: 3px 8px;
  border-color: rgba(24, 160, 251, 0.24);
  border-radius: 5px;
  background: rgba(24, 160, 251, 0.1);
  color: var(--st-night);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.st-refonte-preview .st-badge__icon {
  display: none;
}

body.st-refonte-preview .st-reading-time {
  color: var(--st-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

body.st-refonte-preview .st-reading-time__icon,
body.st-refonte-preview .st-meta-icons {
  display: none;
}

body.st-refonte-preview .st-story-card__play {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(13, 27, 42, 0.18);
}

body.st-refonte-preview .st-story-card__play::before {
  border-left-color: var(--st-blue);
}

/* Refonte preview: horizontal editorial rails for feeds and post-type sections. */
body.st-refonte-preview .st-home-feed-section,
body.st-refonte-preview .st-home-videos-section,
body.st-refonte-preview .st-home-studies-section,
body.st-refonte-preview .st-home-watch-section,
body.st-refonte-preview .st-home-solutrans-section {
  overflow: hidden;
}

body.st-refonte-preview .st-home-feed-section {
  padding-top: 2rem;
  background: var(--st-paper);
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__content,
body.st-refonte-preview .st-home-videos-section .st-story-cluster,
body.st-refonte-preview .st-home-studies-section .st-story-cluster,
body.st-refonte-preview .st-home-watch-section .st-story-cluster,
body.st-refonte-preview .st-home-solutrans-section .st-story-cluster {
  position: relative;
  display: flex;
  gap: 1.25rem;
  margin-right: calc((100vw - min(calc(100vw - 2.5rem), 1280px)) / -2);
  padding: 0 1.35rem 0.5rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__content::-webkit-scrollbar,
body.st-refonte-preview .st-home-videos-section .st-story-cluster::-webkit-scrollbar,
body.st-refonte-preview .st-home-studies-section .st-story-cluster::-webkit-scrollbar,
body.st-refonte-preview .st-home-watch-section .st-story-cluster::-webkit-scrollbar,
body.st-refonte-preview .st-home-solutrans-section .st-story-cluster::-webkit-scrollbar {
  display: none;
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__content::after,
body.st-refonte-preview .st-home-videos-section .st-story-cluster::after,
body.st-refonte-preview .st-home-studies-section .st-story-cluster::after,
body.st-refonte-preview .st-home-watch-section .st-story-cluster::after,
body.st-refonte-preview .st-home-solutrans-section .st-story-cluster::after {
  content: "→";
  position: sticky;
  right: 1rem;
  z-index: 4;
  display: grid;
  place-items: center;
  align-self: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #fff;
  color: var(--st-blue);
  box-shadow: 0 18px 40px rgba(13, 27, 42, 0.18);
  font-size: 1.45rem;
  font-weight: 800;
  pointer-events: none;
}

body.st-refonte-preview .st-home-feed-section .st-story-cluster--split,
body.st-refonte-preview .st-home-feed-section .st-card-grid--continuation,
body.st-refonte-preview .st-home-videos-section .st-story-cluster,
body.st-refonte-preview .st-home-studies-section .st-story-cluster,
body.st-refonte-preview .st-home-watch-section .st-story-cluster,
body.st-refonte-preview .st-home-solutrans-section .st-story-cluster {
  display: flex;
  flex: 0 0 auto;
  width: auto;
}

body.st-refonte-preview .st-home-feed-section .st-story-cluster--split,
body.st-refonte-preview .st-home-feed-section .st-card-grid--continuation {
  gap: 1.25rem;
  margin: 0;
}

body.st-refonte-preview .st-home-feed-section .st-story-cluster__lead,
body.st-refonte-preview .st-home-feed-section .st-story-cluster__stack,
body.st-refonte-preview .st-home-videos-section .st-story-cluster__lead,
body.st-refonte-preview .st-home-videos-section .st-story-cluster__stack,
body.st-refonte-preview .st-home-studies-section .st-story-cluster__lead,
body.st-refonte-preview .st-home-studies-section .st-story-cluster__stack,
body.st-refonte-preview .st-home-watch-section .st-story-cluster__lead,
body.st-refonte-preview .st-home-watch-section .st-story-cluster__stack,
body.st-refonte-preview .st-home-solutrans-section .st-story-cluster__lead,
body.st-refonte-preview .st-home-solutrans-section .st-story-cluster__stack {
  display: contents;
}

body.st-refonte-preview .st-home-feed-section .st-story-card,
body.st-refonte-preview .st-home-videos-section .st-story-card,
body.st-refonte-preview .st-home-studies-section .st-story-card,
body.st-refonte-preview .st-home-watch-section .st-story-card,
body.st-refonte-preview .st-home-solutrans-section .st-story-card {
  flex: 0 0 clamp(250px, 23vw, 304px);
  width: clamp(250px, 23vw, 304px);
  min-height: 308px;
  scroll-snap-align: start;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__link,
body.st-refonte-preview .st-home-videos-section .st-story-card__link,
body.st-refonte-preview .st-home-studies-section .st-story-card__link,
body.st-refonte-preview .st-home-watch-section .st-story-card__link,
body.st-refonte-preview .st-home-solutrans-section .st-story-card__link {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  height: 100%;
}

body.st-refonte-preview .st-home-feed-section .st-story-card--lead .st-story-card__body,
body.st-refonte-preview .st-home-feed-section .st-story-card--compact .st-story-card__body,
body.st-refonte-preview .st-home-videos-section .st-story-card--lead .st-story-card__body,
body.st-refonte-preview .st-home-videos-section .st-story-card--compact .st-story-card__body,
body.st-refonte-preview .st-home-studies-section .st-story-card--lead .st-story-card__body,
body.st-refonte-preview .st-home-studies-section .st-story-card--compact .st-story-card__body,
body.st-refonte-preview .st-home-watch-section .st-story-card--lead .st-story-card__body,
body.st-refonte-preview .st-home-watch-section .st-story-card--compact .st-story-card__body,
body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead .st-story-card__body,
body.st-refonte-preview .st-home-solutrans-section .st-story-card--compact .st-story-card__body {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__media img,
body.st-refonte-preview .st-home-videos-section .st-story-card__media img,
body.st-refonte-preview .st-home-studies-section .st-story-card__media img,
body.st-refonte-preview .st-home-watch-section .st-story-card__media img,
body.st-refonte-preview .st-home-solutrans-section .st-story-card__media img {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 8.8;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__title,
body.st-refonte-preview .st-home-videos-section .st-story-card__title,
body.st-refonte-preview .st-home-studies-section .st-story-card__title,
body.st-refonte-preview .st-home-watch-section .st-story-card__title,
body.st-refonte-preview .st-home-solutrans-section .st-story-card__title {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

body.st-refonte-preview .st-home-feed-section .st-story-card__excerpt,
body.st-refonte-preview .st-home-videos-section .st-story-card__excerpt,
body.st-refonte-preview .st-home-studies-section .st-story-card__excerpt,
body.st-refonte-preview .st-home-watch-section .st-story-card__excerpt,
body.st-refonte-preview .st-home-solutrans-section .st-story-card__excerpt {
  display: none;
}

body.st-refonte-preview .st-home-feed-section .st-card-grid--continuation .st-story-card:nth-child(n+5) {
  display: none;
}



/* Refonte preview: requested five-block homepage composition. */
body.st-refonte-preview .st-home-premium-cta-section { order: 3; }
body.st-refonte-preview .st-home-salon-section { order: 4; }
body.st-refonte-preview .st-home-app-section { order: 5; }

body.st-refonte-preview .st-home-premium-cta-section {
  padding: clamp(1.7rem, 4vw, 2.8rem) 0;
  background:
    linear-gradient(135deg, rgba(9, 28, 54, 0.98), rgba(5, 16, 31, 0.98)),
    var(--st-night-2);
  box-shadow: 0 0 0 100vmax var(--st-night-2);
  clip-path: inset(0 -100vmax);
}

body.st-refonte-preview .st-home-premium-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(76, 201, 240, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(76, 201, 240, 0.08) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 80%, transparent);
  pointer-events: none;
}

body.st-refonte-preview .st-premium-cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.st-refonte-preview .st-premium-cta-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 210px;
  padding: clamp(1.1rem, 2vw, 1.45rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background:
    radial-gradient(circle at 78% 24%, rgba(76, 201, 240, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(7, 20, 38, 0.92);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 20px 54px rgba(0,0,0,0.24);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body.st-refonte-preview .st-premium-cta-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 201, 240, 0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.13), 0 26px 70px rgba(0,0,0,0.3), 0 0 30px rgba(24,160,251,0.12);
}

body.st-refonte-preview .st-premium-cta-card__content {
  display: grid;
  gap: 0.7rem;
  max-width: 20rem;
}

body.st-refonte-preview .st-premium-cta-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(76, 201, 240, 0.14);
  color: var(--st-cyan);
}

body.st-refonte-preview .st-premium-cta-card__icon svg {
  width: 22px;
  height: 22px;
}

body.st-refonte-preview .st-premium-cta-card__title {
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.12;
}

body.st-refonte-preview .st-premium-cta-card__text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.45;
}

body.st-refonte-preview .st-premium-cta-card__button {
  width: fit-content;
  min-height: 40px;
  padding: 0 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

body.st-refonte-preview .st-home-salon-section {
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  background:
    radial-gradient(circle at 18% 32%, rgba(24, 160, 251, 0.1), transparent 20rem),
    #fff;
}

body.st-refonte-preview .st-salon-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(320px, 1fr) minmax(250px, 0.58fr);
  min-height: 270px;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--st-shadow-md);
  color: var(--st-ink);
  overflow: hidden;
}

body.st-refonte-preview .st-salon-card__content {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: clamp(1.4rem, 3vw, 2.1rem);
}

body.st-refonte-preview .st-salon-card__eyebrow {
  width: fit-content;
  color: var(--st-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.st-refonte-preview .st-salon-card__title {
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
}

body.st-refonte-preview .st-salon-card__text {
  max-width: 30ch;
  color: var(--st-muted);
  line-height: 1.55;
}

body.st-refonte-preview .st-salon-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid rgba(24, 160, 251, 0.38);
  border-radius: 999px;
  color: var(--st-blue);
  font-size: 0.84rem;
  font-weight: 900;
}

body.st-refonte-preview .st-salon-card__media {
  min-width: 0;
  background: #DDEAF5;
}

body.st-refonte-preview .st-salon-card__media img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

body.st-refonte-preview .st-salon-card__panel {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, rgba(13, 27, 42, 0.96), rgba(7, 38, 70, 0.96)),
    var(--st-night);
  color: #fff;
}

body.st-refonte-preview .st-salon-card__panel-kicker {
  color: var(--st-cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.st-refonte-preview .st-salon-card__panel-title {
  max-width: 14rem;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.14;
}

body.st-refonte-preview .st-salon-card__panel-text {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

/* Refonte preview: dark media hub for quick access, matching premium B2B panels. */
body.st-refonte-preview .st-home-quick-section {
  padding: clamp(1.8rem, 4vw, 3rem) 0;
  background:
    linear-gradient(135deg, rgba(9, 28, 54, 0.98), rgba(5, 16, 31, 0.98)),
    var(--st-night-2);
  box-shadow: 0 0 0 100vmax var(--st-night-2);
  clip-path: inset(0 -100vmax);
}

body.st-refonte-preview .st-home-quick-section::before,
body.st-refonte-preview .st-home-studies-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(76, 201, 240, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(76, 201, 240, 0.08) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 80%, transparent);
  pointer-events: none;
}

body.st-refonte-preview .st-home-quick-section .st-section-heading {
  display: none;
}

body.st-refonte-preview .st-home-quick-section .st-cta-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card {
  min-height: 196px;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background:
    radial-gradient(circle at 78% 24%, rgba(76, 201, 240, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(7, 20, 38, 0.92);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 20px 54px rgba(0,0,0,0.24);
}

body.st-refonte-preview .st-home-quick-section .st-cta-card__title {
  max-width: 15rem;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.12rem, 1.9vw, 1.42rem);
  line-height: 1.15;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card__arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  color: var(--st-blue);
}

/* Refonte preview: Solutrans section becomes an event/salon feature. */
body.st-refonte-preview .st-home-solutrans-section {
  background:
    radial-gradient(circle at 24% 36%, rgba(24, 160, 251, 0.1), transparent 18rem),
    #fff;
}

body.st-refonte-preview .st-home-solutrans-section .st-story-cluster {
  margin-right: 0;
  padding-right: 0;
}

body.st-refonte-preview .st-home-solutrans-section .st-story-cluster::after {
  display: none;
}

body.st-refonte-preview .st-home-solutrans-section .st-story-card {
  flex-basis: clamp(260px, 25vw, 320px);
}

body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead {
  flex-basis: min(64vw, 760px);
  width: min(64vw, 760px);
  min-height: 340px;
  border-radius: 14px;
}

body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead .st-story-card__link {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead .st-story-card__media {
  order: 2;
}

body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead .st-story-card__media img {
  height: 100%;
  min-height: 340px;
  aspect-ratio: auto;
}

body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead .st-story-card__body {
  order: 1;
  align-content: center;
}

body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead .st-story-card__title {
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
}

/* Refonte preview: studies section gets a darker expert/industry treatment. */
body.st-refonte-preview .st-home-studies-section {
  background: linear-gradient(135deg, #071426, #0D1B2A 62%, #0E3352);
  box-shadow: 0 0 0 100vmax #0D1B2A;
  clip-path: inset(0 -100vmax);
  color: #fff;
}

body.st-refonte-preview .st-home-studies-section .st-container {
  position: relative;
  z-index: 1;
}

body.st-refonte-preview .st-home-studies-section .st-section-heading__title,
body.st-refonte-preview .st-home-studies-section .st-link-arrow,
body.st-refonte-preview .st-home-studies-section .st-story-card__title {
  color: #fff;
}

body.st-refonte-preview .st-home-studies-section .st-link-arrow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

body.st-refonte-preview .st-home-studies-section .st-story-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

body.st-refonte-preview .st-home-studies-section .st-story-card__body {
  background: rgba(8, 20, 38, 0.5);
}

body.st-refonte-preview .st-home-studies-section .st-story-card__date,
body.st-refonte-preview .st-home-studies-section .st-reading-time {
  color: rgba(255, 255, 255, 0.72);
}

body.st-refonte-preview .st-home-studies-section .st-badge {
  background: rgba(76, 201, 240, 0.15);
  color: #fff;
}

/* Refonte preview: videos section is more immersive and media-oriented. */
body.st-refonte-preview .st-home-videos-section {
  background:
    radial-gradient(circle at 80% 8%, rgba(24, 160, 251, 0.15), transparent 22rem),
    var(--st-paper);
}

body.st-refonte-preview .st-home-videos-section .st-story-card--video .st-story-card__media::before,
body.st-refonte-preview .st-home-videos-section .st-story-card .st-story-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, transparent 0 34%, rgba(13, 27, 42, 0.12) 35% 100%);
  pointer-events: none;
}

/* Refonte preview: app and agenda modules retain existing data but feel like premium service blocks. */
body.st-refonte-preview .st-home-app-section {
  padding: clamp(1.6rem, 4vw, 2.6rem) 0;
  background: linear-gradient(90deg, #06162A, #082642);
  box-shadow: 0 0 0 100vmax #06162A;
  clip-path: inset(0 -100vmax);
}

body.st-refonte-preview .st-home-app-panel {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 1.2rem;
  align-items: center;
  min-height: 118px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  overflow: visible;
}

body.st-refonte-preview .st-home-app-panel::after {
  content: "";
  position: absolute;
  inset: -1.2rem 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}

body.st-refonte-preview .st-home-app-panel__icon {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

body.st-refonte-preview .st-home-app-panel__content h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
}

body.st-refonte-preview .st-home-app-panel__kicker,
body.st-refonte-preview .st-home-app-panel__content p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

body.st-refonte-preview .st-home-app-panel__button {
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

body.st-refonte-preview .st-home-app-panel__button--primary {
  background: #fff;
  color: var(--st-night);
}

body.st-refonte-preview .st-home-app-panel__qr {
  border-radius: 14px;
}

body.st-refonte-preview .st-home-agenda-section {
  background: #fff;
}

body.st-refonte-preview .st-home-agenda-card,
body.st-refonte-preview .st-home-agenda__loading,
body.st-refonte-preview .st-home-agenda__empty {
  border-color: rgba(13, 27, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--st-shadow-sm);
}

/* Refonte preview: footer aligned with the media-platform identity. */
body.st-refonte-preview .st-footer {
  margin-top: 0;
}

body.st-refonte-preview .st-footer__panel {
  border-radius: 18px;
  border-color: rgba(76, 201, 240, 0.22);
  background:
    linear-gradient(110deg, rgba(76, 201, 240, 0.13), transparent 40%),
    linear-gradient(145deg, #07111f, #0D1B2A 58%, #0E3B5F);
}

.st-refonte-preview-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: #0D1B2A;
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.2);
  font: 800 12px/1 "Inter", "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  pointer-events: none;
}



@media (max-width: 1180px) {
  body.st-refonte-preview .st-salon-card {
    grid-template-columns: 1fr 1.1fr;
  }

  body.st-refonte-preview .st-salon-card__panel {
    grid-column: 1 / -1;
    grid-template-columns: 0.6fr 1fr;
    align-items: center;
  }
}

@media (max-width: 920px) {
  body.st-refonte-preview .st-premium-cta-grid {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .st-salon-card {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .st-salon-card__panel {
    grid-template-columns: 1fr;
  }
}

/* Refonte preview: responsive adaptation for tablet and mobile. */
@media (max-width: 1180px) {
  body.st-refonte-preview .st-header__app-cta {
    display: none;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide::after {
    display: none;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline,
  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
    right: max(32px, calc((100vw - 1280px) / 2));
  }

  body.st-refonte-preview .st-home-quick-section .st-cta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  body.st-refonte-preview .st-header__inner {
    min-height: 74px;
  }

  body.st-refonte-preview .st-brand__logo {
    max-width: 170px;
    max-height: 58px;
  }

  body.st-refonte-preview .st-nav-toggle {
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 27, 42, 0.12);
  }

  body.st-refonte-preview .st-header__right {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 64px rgba(13, 27, 42, 0.16);
    backdrop-filter: blur(18px);
  }

  body.st-refonte-preview .st-nav .menu-item a {
    justify-content: center;
    min-height: 46px;
  }

  body.st-refonte-preview .st-search-form,
  body.st-refonte-preview .st-search-form__input {
    width: 100%;
  }

  body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead {
    flex-basis: min(82vw, 620px);
    width: min(82vw, 620px);
  }

  body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead .st-story-card__link {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead .st-story-card__media {
    order: 1;
  }

  body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead .st-story-card__body {
    order: 2;
  }

  body.st-refonte-preview .st-home-app-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  body.st-refonte-preview .st-section {
    padding: 2.2rem 0;
  }

  body.st-refonte-preview .st-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  body.st-refonte-preview .st-section-heading__title {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }

  body.st-refonte-preview .st-home-hero-section {
    padding: 0;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide,
  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__media img {
    min-height: 650px;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline {
    left: 1.1rem;
    right: 1.1rem;
    bottom: 18rem;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
    font-size: clamp(2.05rem, 12vw, 3.35rem);
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
    left: 1.1rem;
    right: 1.1rem;
    bottom: 4.5rem;
  }

  body.st-refonte-preview .st-home-feed-section .st-feed-block__content,
  body.st-refonte-preview .st-home-videos-section .st-story-cluster,
  body.st-refonte-preview .st-home-studies-section .st-story-cluster,
  body.st-refonte-preview .st-home-watch-section .st-story-cluster,
  body.st-refonte-preview .st-home-solutrans-section .st-story-cluster {
    margin-right: -0.6rem;
    padding-right: 0.8rem;
  }

  body.st-refonte-preview .st-home-feed-section .st-story-card,
  body.st-refonte-preview .st-home-videos-section .st-story-card,
  body.st-refonte-preview .st-home-studies-section .st-story-card,
  body.st-refonte-preview .st-home-watch-section .st-story-card,
  body.st-refonte-preview .st-home-solutrans-section .st-story-card,
  body.st-refonte-preview .st-home-solutrans-section .st-story-card--lead {
    flex-basis: min(82vw, 312px);
    width: min(82vw, 312px);
  }

  body.st-refonte-preview .st-home-quick-section .st-cta-grid {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .st-home-app-panel__qr {
    width: 96px;
    height: 96px;
  }

  .st-refonte-preview-badge {
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 420px) {
  body.st-refonte-preview .st-brand__logo {
    max-width: 154px;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
    font-size: clamp(1.85rem, 11vw, 2.65rem);
  }
}


/* Refonte preview: À la une must slide article by article, not stack vertically. */
body.st-refonte-preview .st-home-hero-section .st-featured-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

body.st-refonte-preview .st-home-hero-section .st-featured-carousel__track::-webkit-scrollbar {
  display: none;
}

body.st-refonte-preview .st-home-hero-section .st-featured-carousel__slide {
  display: block;
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide {
  width: 100%;
}


/* Refonte preview: À la une refinement after visual review. */
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide,
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__media img {
  min-height: max(35vh, 420px);
  max-height: 520px;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide::after {
  display: none;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline {
  bottom: clamp(158px, 18vh, 220px);
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
  max-width: 17ch;
  font-size: clamp(2rem, 3.7vw, 3.75rem);
  line-height: 1.08;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
  bottom: clamp(60px, 8vh, 84px);
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__excerpt {
  max-width: 62ch;
  -webkit-line-clamp: 3;
}

body.st-refonte-preview .st-home-hero-section .st-featured-carousel__controls--inline {
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.62rem;
  border-radius: 999px;
  background: rgba(3, 10, 20, 0.34);
  backdrop-filter: blur(10px);
}

body.st-refonte-preview .st-home-hero-section .st-featured-carousel__dots {
  gap: 0.48rem;
}

body.st-refonte-preview .st-home-hero-section .st-carousel-dot {
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

body.st-refonte-preview .st-home-hero-section .st-carousel-dot.is-active {
  background: var(--st-blue);
  box-shadow: 0 0 14px rgba(24, 160, 251, 0.55);
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide,
  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__media img {
    min-height: 520px;
    max-height: none;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline {
    bottom: 15.5rem;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
    max-width: 14ch;
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }
}


/* Refonte preview: À la une carousel visibility and wider title area. */
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide,
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__media img {
  min-height: max(40vh, 450px);
  max-height: 560px;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline,
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
  right: max(42px, calc((100vw - 1280px) / 2 + 28vw));
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline {
  bottom: clamp(170px, 19vh, 236px);
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
  max-width: 22ch;
  font-size: clamp(2rem, 3.35vw, 3.45rem);
}

body.st-refonte-preview .st-home-hero-section .st-featured-carousel__controls--inline {
  left: max(42px, calc((100vw - 1280px) / 2));
  bottom: 22px;
  transform: none;
  z-index: 30;
  display: flex !important;
  visibility: visible;
  opacity: 1;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

body.st-refonte-preview .st-home-hero-section .st-featured-carousel__dots {
  display: flex !important;
  align-items: center;
  gap: 0.62rem;
  min-height: 20px;
}

body.st-refonte-preview .st-home-hero-section .st-carousel-dot {
  display: block !important;
  flex: 0 0 auto;
  width: 34px;
  height: 5px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

body.st-refonte-preview .st-home-hero-section .st-carousel-dot.is-active {
  width: 42px;
  background: var(--st-blue);
  box-shadow: 0 0 16px rgba(24, 160, 251, 0.7), 0 2px 12px rgba(0, 0, 0, 0.42);
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide,
  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__media img {
    min-height: 560px;
    max-height: none;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline,
  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
    right: 1.1rem;
  }

  body.st-refonte-preview .st-home-hero-section .st-featured-carousel__controls--inline {
    left: 1.1rem;
    bottom: 20px;
  }
}


/* Refonte preview: fix visible carousel dots and prevent hero title/meta overlap. */
body.st-refonte-preview .st-home-hero-section .st-section-heading {
  position: absolute;
  left: max(42px, calc((100vw - 1280px) / 2));
  right: auto;
  bottom: 22px;
  z-index: 40;
  display: flex;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}

body.st-refonte-preview .st-home-hero-section .st-section-heading > div:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body.st-refonte-preview .st-home-hero-section .st-featured-carousel__controls--inline {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  display: inline-flex !important;
  flex: 0 0 auto;
  z-index: 41;
}

body.st-refonte-preview .st-home-hero-section .st-featured-carousel__dots,
body.st-refonte-preview .st-home-hero-section .st-carousel-dot {
  visibility: visible !important;
  opacity: 1 !important;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline {
  bottom: clamp(215px, 23vh, 270px);
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
  max-width: 24ch;
  font-size: clamp(1.85rem, 3vw, 3.15rem);
  line-height: 1.1;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
  bottom: clamp(68px, 8vh, 92px);
  max-width: min(62ch, calc(100vw - 84px));
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-home-hero-section .st-section-heading {
    left: 1.1rem;
    bottom: 20px;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline {
    bottom: 17rem;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
    max-width: 15ch;
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
    bottom: 4.6rem;
  }
}


/* Refonte preview: wider À la une title and centered carousel dots. */
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline,
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
  right: max(42px, calc((100vw - 1280px) / 2 + 18vw));
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
  max-width: 30ch;
  font-size: clamp(1.75rem, 2.8vw, 3rem);
}

body.st-refonte-preview .st-home-hero-section .st-section-heading {
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline,
  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
    right: 1.1rem;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
    max-width: 18ch;
  }

  body.st-refonte-preview .st-home-hero-section .st-section-heading {
    left: 50%;
    transform: translateX(-50%);
  }
}


/* Refonte preview: requested header logo dimensions. */
body.st-refonte-preview .st-header .st-brand__logo {
  max-width: 240px;
  max-height: 120px;
}


/* Refonte preview: centered header menu with blue underline focus/current state. */
body.st-refonte-preview .st-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

body.st-refonte-preview .st-header__left {
  grid-column: 1;
  justify-self: start;
}

body.st-refonte-preview .st-header__right {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  width: 100%;
}

body.st-refonte-preview .st-nav {
  justify-self: center;
}

body.st-refonte-preview .st-nav .menu-item a,
body.st-refonte-preview .st-nav .menu-item a:hover,
body.st-refonte-preview .st-nav .menu-item a[aria-current="page"],
body.st-refonte-preview .st-nav .current-menu-item > a {
  background: transparent;
  transform: none;
}

body.st-refonte-preview .st-nav .menu-item a {
  border-radius: 0;
}

body.st-refonte-preview .st-nav .menu-item a::after {
  bottom: -2px;
  width: calc(100% - 1.1rem);
  min-width: 24px;
  height: 3px;
  opacity: 0;
  transform: translateX(-50%) scaleX(0.75);
}

body.st-refonte-preview .st-nav .menu-item a:hover::after,
body.st-refonte-preview .st-nav .menu-item a:focus-visible::after,
body.st-refonte-preview .st-nav .menu-item a[aria-current="page"]::after,
body.st-refonte-preview .st-nav .current-menu-item > a::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

body.st-refonte-preview .st-nav .menu-item a:focus-visible {
  outline: 0;
  color: var(--st-ink);
}

@media (max-width: 920px) {
  body.st-refonte-preview .st-header__inner {
    display: flex;
  }

  body.st-refonte-preview .st-header__right {
    display: none;
  }

  body.st-refonte-preview .st-header__right.is-open,
  body.st-refonte-preview .st-header__right[data-nav-panel].is-open {
    display: flex;
  }
}


/* Refonte preview: airier desktop navigation spacing. */
body.st-refonte-preview .st-nav .menu {
  gap: clamp(0.65rem, 1.25vw, 1.15rem);
}

@media (max-width: 920px) {
  body.st-refonte-preview .st-nav .menu {
    gap: 0.15rem;
  }
}


/* Refonte preview: functional, aligned editorial carousel for the "Le fil info" block. */
body.st-refonte-preview .st-home-feed-section .st-feed-block {
  position: relative;
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__content {
  padding-right: clamp(4.25rem, 8vw, 5.5rem);
  scroll-padding-right: clamp(4.25rem, 8vw, 5.5rem);
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__content::after {
  content: none;
  display: none;
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__next {
  position: absolute;
  top: 50%;
  right: clamp(0.25rem, 1vw, 0.85rem);
  z-index: 5;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(24, 160, 251, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--st-blue);
  box-shadow: 0 18px 42px rgba(13, 27, 42, 0.18);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__next:hover,
body.st-refonte-preview .st-home-feed-section .st-feed-block__next:focus-visible {
  background: #fff;
  box-shadow: 0 22px 48px rgba(24, 160, 251, 0.24);
  outline: 0;
  transform: translateY(-50%) scale(1.04);
}

body.st-refonte-preview .st-badge--type-actualites,
body.st-refonte-preview .st-badge--type-actu {
  background: #18A0FB;
  border-color: #18A0FB;
  color: #fff;
}

body.st-refonte-preview .st-badge--type-etudes {
  background: #EF4444;
  border-color: #EF4444;
  color: #fff;
}

body.st-refonte-preview .st-badge--type-veille,
body.st-refonte-preview .st-badge--type-reglementation {
  background: #16A34A;
  border-color: #16A34A;
  color: #fff;
}

body.st-refonte-preview .st-badge--type-videos {
  background: #7C3AED;
  border-color: #7C3AED;
  color: #fff;
}

body.st-refonte-preview .st-badge--type-solutrans {
  background: #0D1B2A;
  border-color: #0D1B2A;
  color: #fff;
}

body.st-refonte-preview .st-home-feed-section .st-story-card {
  height: 332px;
  min-height: 332px;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__link {
  grid-template-rows: 136px 1fr;
  height: 100%;
}

body.st-refonte-preview .st-home-feed-section .st-story-card--no-media .st-story-card__link {
  grid-template-rows: 1fr;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__media {
  min-height: 136px;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__media img {
  width: 100%;
  height: 136px;
  min-height: 136px;
  aspect-ratio: auto;
  object-fit: cover;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__body--refonte {
  display: grid;
  grid-template-rows: 24px minmax(4.05em, auto) 26px;
  gap: 0.58rem;
  align-content: start;
  height: 100%;
  padding: 0.85rem 0.95rem 0.95rem;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__type-row {
  display: flex;
  align-items: center;
  min-height: 24px;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__body--refonte .st-badge {
  width: fit-content;
  max-width: 100%;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__body--refonte .st-story-card__title {
  display: -webkit-box;
  min-height: 4.05em;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__refonte-meta {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  min-height: 26px;
  margin-top: auto;
  color: var(--st-muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__refonte-meta .st-story-card__date,
body.st-refonte-preview .st-home-feed-section .st-story-card__refonte-meta .st-reading-time {
  margin: 0;
  color: inherit;
  font: inherit;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__refonte-meta .st-story-card__date::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-left: 0.58rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.55;
  vertical-align: middle;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__refonte-meta .st-meta-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-left: auto;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__refonte-meta .st-meta-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(24, 160, 251, 0.11);
  color: var(--st-blue);
}

body.st-refonte-preview .st-home-feed-section .st-story-card__refonte-meta .st-meta-icon svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 700px) {
  body.st-refonte-preview .st-home-feed-section .st-feed-block__next {
    right: 0.1rem;
    width: 46px;
    height: 46px;
  }

  body.st-refonte-preview .st-home-feed-section .st-story-card {
    height: 320px;
    min-height: 320px;
  }

  body.st-refonte-preview .st-home-feed-section .st-story-card__link {
    grid-template-rows: 126px 1fr;
  }

  body.st-refonte-preview .st-home-feed-section .st-story-card__media,
  body.st-refonte-preview .st-home-feed-section .st-story-card__media img {
    height: 126px;
    min-height: 126px;
  }
}


/* Refonte preview: compact meta separator in the feed cards is generated only when useful. */
body.st-refonte-preview .st-home-feed-section .st-story-card__refonte-meta .st-story-card__date::after {
  content: none;
  display: none;
}

body.st-refonte-preview .st-home-feed-section .st-story-card__meta-separator {
  flex: 0 0 auto;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.55;
}


/* Refonte preview: fine tuning requested for the "Le fil info" card rail. */
body.st-refonte-preview .st-home-feed-section .st-feed-block__next {
  right: calc(((100vw - min(calc(100vw - 2.5rem), 1280px)) / -2) + 1rem);
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__next:hover,
body.st-refonte-preview .st-home-feed-section .st-feed-block__next:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

body.st-refonte-preview .st-home-feed-section .st-story-card__body--refonte .st-story-card__title {
  display: -webkit-box !important;
  max-height: 3.75em;
  min-height: 3.75em;
  overflow: hidden !important;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-wrap: wrap;
  white-space: normal;
  contain: paint;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 700px) {
  body.st-refonte-preview .st-home-feed-section .st-feed-block__next {
    right: calc(((100vw - min(calc(100vw - 2.5rem), 1280px)) / -2) + 0.75rem);
  }
}


/* Refonte preview: give feed cards enough paint area so their shadows are not clipped by the horizontal scroller. */
body.st-refonte-preview .st-home-feed-section {
  overflow: visible;
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__content {
  margin-top: -1rem;
  margin-bottom: -1.25rem;
  padding: 1.15rem clamp(4.25rem, 8vw, 5.5rem) 1.45rem 0.2rem;
  scroll-padding-left: 0.2rem;
}


/* Refonte preview: stronger anti-clipping buffer for the feed card shadows, including hover state. */
body.st-refonte-preview .st-home-feed-section .st-feed-block {
  padding-bottom: 0.35rem;
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__content {
  margin-top: -1.15rem;
  margin-bottom: -4.05rem;
  padding-top: 1.35rem;
  padding-right: clamp(4.25rem, 8vw, 5.5rem);
  padding-bottom: 5.25rem;
  padding-left: 0.45rem;
  scroll-padding-left: 0.45rem;
}

body.st-refonte-preview .st-home-feed-section .st-story-card {
  box-shadow: 0 14px 30px rgba(13, 27, 42, 0.1);
}

body.st-refonte-preview .st-home-feed-section .st-story-card:hover {
  box-shadow: 0 22px 46px rgba(13, 27, 42, 0.14), 0 0 24px rgba(24, 160, 251, 0.1);
}


/* Refonte preview: left-side paint buffer so the first feed card shadow is not clipped. */
body.st-refonte-preview .st-home-feed-section .st-feed-block__content {
  margin-left: -2rem;
  padding-left: 2.45rem;
  scroll-padding-left: 2.45rem;
}

@media (max-width: 700px) {
  body.st-refonte-preview .st-home-feed-section .st-feed-block__content {
    margin-left: -1.35rem;
    padding-left: 1.8rem;
    scroll-padding-left: 1.8rem;
  }
}


/* Refonte production: make the homepage feed carousel use the full viewport width. */
body.st-refonte-preview .st-home-feed-section .st-feed-block {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__content {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: clamp(1.5rem, 4vw, 4rem);
  padding-right: clamp(5.5rem, 8vw, 7rem);
  scroll-padding-left: clamp(1.5rem, 4vw, 4rem);
}

body.st-refonte-preview .st-home-feed-section .st-feed-block__next {
  right: clamp(1rem, 1.4vw, 1.75rem);
}

@media (max-width: 700px) {
  body.st-refonte-preview .st-home-feed-section .st-feed-block__content {
    padding-left: 1.25rem;
    padding-right: 4.75rem;
    scroll-padding-left: 1.25rem;
  }

  body.st-refonte-preview .st-home-feed-section .st-feed-block__next {
    right: 0.75rem;
  }
}

/* Refonte preview: contextual premium background images for the three editorial CTA cards. */
body.st-refonte-preview .st-premium-cta-card {
  isolation: isolate;
  min-height: clamp(220px, 18vw, 270px);
  padding: clamp(1.15rem, 2.1vw, 1.6rem);
  background: #071426;
}

body.st-refonte-preview .st-premium-cta-card::before,
body.st-refonte-preview .st-premium-cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.st-refonte-preview .st-premium-cta-card::before {
  z-index: -2;
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease, opacity 0.28s ease;
}

body.st-refonte-preview .st-premium-cta-card::after {
  z-index: -1;
  background:
    radial-gradient(circle at 86% 22%, rgba(76, 201, 240, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(7, 20, 38, 0.96) 0%, rgba(7, 20, 38, 0.82) 42%, rgba(7, 20, 38, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 20, 38, 0.22), rgba(7, 20, 38, 0.72));
}

body.st-refonte-preview .st-premium-cta-card:hover::before {
  transform: scale(1.055);
}

body.st-refonte-preview .st-premium-cta-card--reglementation::before {
  background-image: url("../images/refonte/cta-reglementation.webp");
}

body.st-refonte-preview .st-premium-cta-card--etudes::before {
  background-image: url("../images/refonte/cta-etudes.webp");
}

body.st-refonte-preview .st-premium-cta-card--videos::before {
  background-image: url("../images/refonte/cta-videos.webp");
}

body.st-refonte-preview .st-premium-cta-card__content,
body.st-refonte-preview .st-premium-cta-card__button {
  position: relative;
  z-index: 1;
}

body.st-refonte-preview .st-premium-cta-card__content {
  max-width: min(20rem, 72%);
  gap: 0.62rem;
}

body.st-refonte-preview .st-premium-cta-card__icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(76, 201, 240, 0.24);
  background: rgba(13, 27, 42, 0.42);
  backdrop-filter: blur(10px);
}

body.st-refonte-preview .st-premium-cta-card__text {
  max-width: 18rem;
}

body.st-refonte-preview .st-premium-cta-card__button {
  gap: 0.5rem;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(7, 20, 38, 0.48);
  backdrop-filter: blur(12px);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.st-refonte-preview .st-premium-cta-card__button::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
}

body.st-refonte-preview .st-premium-cta-card:hover .st-premium-cta-card__button {
  border-color: rgba(76, 201, 240, 0.78);
  background: rgba(24, 160, 251, 0.2);
  transform: translateX(2px);
}

@media (max-width: 900px) {
  body.st-refonte-preview .st-premium-cta-card__content {
    max-width: 82%;
  }
}

@media (max-width: 640px) {
  body.st-refonte-preview .st-premium-cta-card {
    min-height: 230px;
  }

  body.st-refonte-preview .st-premium-cta-card__content {
    max-width: 90%;
  }
}


/* Refonte preview: brighten CTA backgrounds while keeping text contrast on the left side. */
body.st-refonte-preview .st-premium-cta-card::before {
  opacity: 1;
  filter: saturate(1.12) brightness(1.18) contrast(1.04);
}

body.st-refonte-preview .st-premium-cta-card::after {
  background:
    radial-gradient(circle at 84% 22%, rgba(76, 201, 240, 0.1), transparent 30%),
    linear-gradient(90deg, rgba(7, 20, 38, 0.94) 0%, rgba(7, 20, 38, 0.72) 38%, rgba(7, 20, 38, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 20, 38, 0.04), rgba(7, 20, 38, 0.36));
}

body.st-refonte-preview .st-premium-cta-card:hover::before {
  filter: saturate(1.18) brightness(1.25) contrast(1.06);
}


/* Refonte preview: reveal more of the CTA artwork on the right side. */
body.st-refonte-preview .st-premium-cta-card::after {
  background:
    radial-gradient(circle at 84% 22%, rgba(76, 201, 240, 0.06), transparent 32%),
    linear-gradient(90deg, rgba(7, 20, 38, 0.94) 0%, rgba(7, 20, 38, 0.66) 34%, rgba(7, 20, 38, 0.02) 76%, rgba(7, 20, 38, 0) 100%),
    linear-gradient(180deg, rgba(7, 20, 38, 0), rgba(7, 20, 38, 0.18));
}

body.st-refonte-preview .st-premium-cta-card::before {
  filter: saturate(1.16) brightness(1.24) contrast(1.04);
}

body.st-refonte-preview .st-premium-cta-card:hover::before {
  filter: saturate(1.2) brightness(1.3) contrast(1.05);
}


/* Refonte preview: event date and venue treatment in the Solutrans 2027 panel. */
body.st-refonte-preview .st-salon-card__panel-event {
  display: grid;
  gap: 0.28rem;
  margin-bottom: 0.35rem;
  color: #fff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.st-refonte-preview .st-salon-card__panel-event span:first-child {
  color: var(--st-cyan);
}

body.st-refonte-preview .st-salon-card__panel-title {
  max-width: 16rem;
}


/* Refonte preview: App Store and Google Play badge treatment for the app download block. */
body.st-refonte-preview .st-home-app-panel__actions--stores {
  align-items: center;
  gap: 0.65rem;
}

body.st-refonte-preview .st-home-app-panel__actions--stores .st-home-app-panel__button--primary {
  display: none;
}

body.st-refonte-preview .st-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  min-width: 168px;
  min-height: 52px;
  padding: 0.48rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: #050B14;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 14px 30px rgba(0,0,0,0.22);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body.st-refonte-preview .st-store-badge:hover,
body.st-refonte-preview .st-store-badge:focus-visible {
  border-color: rgba(76, 201, 240, 0.52);
  background: #071426;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.13), 0 18px 38px rgba(0,0,0,0.28), 0 0 24px rgba(24,160,251,0.14);
  outline: 0;
  transform: translateY(-2px);
}

body.st-refonte-preview .st-store-badge__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: #fff;
}

body.st-refonte-preview .st-store-badge__icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

body.st-refonte-preview .st-store-badge__copy {
  display: grid;
  gap: 0.1rem;
  line-height: 1;
}

body.st-refonte-preview .st-store-badge__copy span {
  color: rgba(255,255,255,0.76);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body.st-refonte-preview .st-store-badge__copy strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

body.st-refonte-preview .st-store-badge--play-store .st-store-badge__copy strong {
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-home-app-panel__actions--stores {
    width: 100%;
  }

  body.st-refonte-preview .st-store-badge {
    flex: 1 1 180px;
    justify-content: center;
  }
}


/* Refonte preview: official store SVG badges uploaded in the media library. */
body.st-refonte-preview .st-store-badge {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  overflow: hidden;
}

body.st-refonte-preview .st-store-badge:hover,
body.st-refonte-preview .st-store-badge:focus-visible {
  background: transparent;
  box-shadow: 0 18px 38px rgba(0,0,0,0.3), 0 0 24px rgba(24,160,251,0.14);
}

body.st-refonte-preview .st-store-badge img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 178px;
}

body.st-refonte-preview .st-store-badge--play-store img {
  height: 44px;
  max-width: 186px;
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-store-badge {
    flex: 0 0 auto;
  }

  body.st-refonte-preview .st-store-badge img,
  body.st-refonte-preview .st-store-badge--play-store img {
    height: 42px;
  }
}


/* Refonte preview: store links are only wrappers; official SVG badges provide their own background. */
body.st-refonte-preview .st-store-badge,
body.st-refonte-preview .st-store-badge:hover,
body.st-refonte-preview .st-store-badge:focus-visible {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.st-refonte-preview .st-store-badge:hover,
body.st-refonte-preview .st-store-badge:focus-visible {
  transform: translateY(-1px);
}


/* Refonte preview: use the real Solutrans+ application icon in the download block. */
body.st-refonte-preview .st-home-app-panel__icon {
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
  overflow: hidden;
}

body.st-refonte-preview .st-home-app-panel__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Refonte preview: clean white editorial footer inspired by premium app/media footers. */
body.st-refonte-preview .st-footer--refonte {
  margin-top: 0;
  padding: clamp(2rem, 4vw, 3.2rem) 0 1.7rem;
  border-top: 1px solid rgba(13, 27, 42, 0.06);
  background:
    radial-gradient(circle at 86% 22%, rgba(24,160,251,0.08), transparent 18rem),
    #fff;
  color: var(--st-ink);
}

body.st-refonte-preview .st-footer-refonte__inner {
  display: grid;
  grid-template-columns: minmax(210px, 0.75fr) minmax(420px, 1.25fr) minmax(250px, 0.68fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

body.st-refonte-preview .st-footer-refonte__brand-block {
  display: grid;
  gap: 1rem;
  min-height: 100%;
}

body.st-refonte-preview .st-footer-refonte__brand .st-brand {
  display: inline-flex;
  width: fit-content;
}

body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
  width: 172px;
  max-width: 172px;
  height: auto;
  object-fit: contain;
}

body.st-refonte-preview .st-footer-refonte__socials {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

body.st-refonte-preview .st-footer-refonte__social {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--st-night);
  color: #fff;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

body.st-refonte-preview .st-footer-refonte__social:hover,
body.st-refonte-preview .st-footer-refonte__social:focus-visible {
  background: var(--st-blue);
  box-shadow: 0 10px 24px rgba(24,160,251,0.22);
  outline: 0;
  transform: translateY(-2px);
}

body.st-refonte-preview .st-footer-refonte__social svg {
  width: 15px;
  height: 15px;
}

body.st-refonte-preview .st-footer-refonte__copyright {
  align-self: end;
  margin: 1.2rem 0 0;
  color: var(--st-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

body.st-refonte-preview .st-footer-refonte__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 3rem);
}

body.st-refonte-preview .st-footer-refonte__column h2,
body.st-refonte-preview .st-footer-refonte__app-card h2 {
  margin: 0 0 0.6rem;
  color: var(--st-night);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

body.st-refonte-preview .st-footer-refonte__column ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.st-refonte-preview .st-footer-refonte__column a {
  color: #273244;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

body.st-refonte-preview .st-footer-refonte__column a:hover,
body.st-refonte-preview .st-footer-refonte__column a:focus-visible {
  color: var(--st-blue);
  outline: 0;
}

body.st-refonte-preview .st-footer-refonte__app-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.05rem 1.15rem 1.15rem;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(244,246,250,0.9), rgba(255,255,255,0.98));
  box-shadow: 0 18px 42px rgba(13, 27, 42, 0.08);
}

body.st-refonte-preview .st-footer-refonte__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

body.st-refonte-preview .st-footer-refonte__stores a {
  display: inline-flex;
  line-height: 0;
  transition: transform 0.16s ease, filter 0.16s ease;
}

body.st-refonte-preview .st-footer-refonte__stores a:hover,
body.st-refonte-preview .st-footer-refonte__stores a:focus-visible {
  outline: 0;
  filter: drop-shadow(0 10px 18px rgba(13,27,42,0.16));
  transform: translateY(-1px);
}

body.st-refonte-preview .st-footer-refonte__stores img {
  display: block;
  width: auto;
  height: 38px;
}

body.st-refonte-preview .st-footer-refonte__stores a:last-child img {
  height: 38px;
}

@media (max-width: 1080px) {
  body.st-refonte-preview .st-footer-refonte__inner {
    grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1fr);
  }

  body.st-refonte-preview .st-footer-refonte__app-card {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  body.st-refonte-preview .st-footer-refonte__app-card h2 {
    margin: 0;
  }
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-footer-refonte__inner,
  body.st-refonte-preview .st-footer-refonte__nav,
  body.st-refonte-preview .st-footer-refonte__app-card {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .st-footer-refonte__brand-block {
    justify-items: start;
  }

  body.st-refonte-preview .st-footer-refonte__nav {
    gap: 1.2rem;
  }

  body.st-refonte-preview .st-footer-refonte__stores img,
  body.st-refonte-preview .st-footer-refonte__stores a:last-child img {
    height: 36px;
  }
}


/* Refonte preview: disable the legacy dark footer veil on the light redesigned footer. */
body.st-refonte-preview .st-footer--refonte {
  position: relative;
  z-index: 2;
  isolation: isolate;
  color: var(--st-ink);
}

body.st-refonte-preview .st-footer--refonte::before {
  content: none;
  display: none;
}


/* Refonte preview: footer refinements requested after visual review. */
body.st-refonte-preview .st-footer-refonte__inner {
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 0.85fr) minmax(330px, 0.75fr);
  gap: clamp(1.6rem, 3.4vw, 3.4rem);
}

body.st-refonte-preview .st-footer-refonte__brand-block {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 1.25rem;
  row-gap: 0.9rem;
}

body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
  width: 230px;
  max-width: 230px;
}

body.st-refonte-preview .st-footer-refonte__socials {
  align-self: center;
  padding-top: 0.1rem;
}

body.st-refonte-preview .st-footer-refonte__copyright {
  grid-column: 1 / -1;
  margin-top: 0.45rem;
}

body.st-refonte-preview .st-footer-refonte__nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.7rem, 3vw, 3.4rem);
}

body.st-refonte-preview .st-footer-refonte__app-card {
  min-width: 0;
}

body.st-refonte-preview .st-footer-refonte__stores {
  flex-wrap: nowrap;
  gap: 0.55rem;
}

body.st-refonte-preview .st-footer-refonte__stores img,
body.st-refonte-preview .st-footer-refonte__stores a:last-child img {
  height: 40px;
}

@media (max-width: 1120px) {
  body.st-refonte-preview .st-footer-refonte__inner {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  }

  body.st-refonte-preview .st-footer-refonte__app-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-footer-refonte__brand-block {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
    width: 210px;
    max-width: 210px;
  }

  body.st-refonte-preview .st-footer-refonte__stores {
    flex-wrap: wrap;
  }
}


/* Refonte preview: make the footer Solutrans+ logo more prominent. */
body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
  width: 300px;
  max-width: 300px;
}

body.st-refonte-preview .st-footer-refonte__brand-block {
  grid-template-columns: auto auto;
}

body.st-refonte-preview .st-footer-refonte__socials {
  padding-top: 0.35rem;
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
    width: 250px;
    max-width: 250px;
  }
}


/* Refonte preview: override the global logo max-height so the footer logo can render large. */
body.st-refonte-preview .st-footer-refonte__inner {
  grid-template-columns: minmax(430px, 1.05fr) minmax(300px, 0.82fr) minmax(330px, 0.75fr);
}

body.st-refonte-preview .st-footer-refonte__brand .st-brand,
body.st-refonte-preview .st-footer-refonte__brand .custom-logo-link {
  max-width: none;
  max-height: none;
}

body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
  width: 420px !important;
  max-width: 420px !important;
  height: auto !important;
  max-height: none !important;
}

@media (max-width: 1120px) {
  body.st-refonte-preview .st-footer-refonte__inner {
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
  }

  body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
    width: 360px !important;
    max-width: 360px !important;
  }
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
    width: 280px !important;
    max-width: 280px !important;
  }
}


/* Refonte preview: tune footer logo back to a balanced size. */
body.st-refonte-preview .st-footer-refonte__inner {
  grid-template-columns: minmax(350px, 0.95fr) minmax(300px, 0.85fr) minmax(330px, 0.75fr);
}

body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
  width: 340px !important;
  max-width: 340px !important;
}

@media (max-width: 1120px) {
  body.st-refonte-preview .st-footer-refonte__inner {
    grid-template-columns: minmax(310px, 0.92fr) minmax(0, 1fr);
  }

  body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
    width: 310px !important;
    max-width: 310px !important;
  }
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
    width: 260px !important;
    max-width: 260px !important;
  }
}


/* Refonte preview: final desktop/mobile sizing for the footer brand area. */
body.st-refonte-preview .st-footer-refonte__inner {
  grid-template-columns: minmax(300px, 0.82fr) minmax(300px, 0.85fr) minmax(330px, 0.78fr);
}

body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
  width: 250px !important;
  max-width: 250px !important;
}

body.st-refonte-preview .st-footer-refonte__brand-block {
  grid-template-columns: auto auto;
  align-items: start;
  justify-content: start;
}

@media (max-width: 1120px) {
  body.st-refonte-preview .st-footer-refonte__inner {
    grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1fr);
  }

  body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
    width: 240px !important;
    max-width: 240px !important;
  }
}

@media (max-width: 760px) {
  body.st-refonte-preview .st-footer--refonte {
    padding: 2rem 0 1.35rem;
  }

  body.st-refonte-preview .st-footer-refonte__inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  body.st-refonte-preview .st-footer-refonte__brand-block {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  body.st-refonte-preview .st-footer-refonte__brand .st-brand__logo {
    width: 220px !important;
    max-width: 220px !important;
  }

  body.st-refonte-preview .st-footer-refonte__socials {
    padding-top: 0;
  }

  body.st-refonte-preview .st-footer-refonte__copyright {
    margin-top: 0.2rem;
  }

  body.st-refonte-preview .st-footer-refonte__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
  }

  body.st-refonte-preview .st-footer-refonte__app-card {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .st-footer-refonte__stores {
    flex-wrap: nowrap;
  }

  body.st-refonte-preview .st-footer-refonte__stores img,
  body.st-refonte-preview .st-footer-refonte__stores a:last-child img {
    height: 34px;
  }
}

@media (max-width: 430px) {
  body.st-refonte-preview .st-footer-refonte__nav {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .st-footer-refonte__stores {
    flex-wrap: wrap;
  }
}


/* Refonte preview: reduce rounded button radius in CTA and Solutrans 2027 blocks. */
body.st-refonte-preview .st-premium-cta-card__button,
body.st-refonte-preview .st-salon-card__button {
  border-radius: 8px;
}


/* Refonte preview: reintroduced Agenda and Quick Access blocks with light/dark alternation. */
body.st-refonte-preview .st-home-agenda-section {
  position: relative;
  padding: clamp(2rem, 4.6vw, 3.4rem) 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(24,160,251,0.18), transparent 22rem),
    linear-gradient(135deg, #071426, #0D1B2A 58%, #082642);
  box-shadow: 0 0 0 100vmax #071426;
  clip-path: inset(0 -100vmax);
  color: #fff;
}

body.st-refonte-preview .st-home-agenda-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(76,201,240,0.1) 1px, transparent 1px),
    linear-gradient(rgba(76,201,240,0.07) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 84%, transparent);
  pointer-events: none;
}

body.st-refonte-preview .st-home-agenda-section .st-container {
  position: relative;
  z-index: 1;
}

body.st-refonte-preview .st-home-agenda-section .st-section-heading__title,
body.st-refonte-preview .st-home-agenda-section .st-section-heading__text,
body.st-refonte-preview .st-home-agenda-section .st-link-arrow {
  color: #fff;
}

body.st-refonte-preview .st-home-agenda-section .st-section-heading__rule {
  background: rgba(76,201,240,0.34);
}

body.st-refonte-preview .st-home-agenda__loading,
body.st-refonte-preview .st-home-agenda__empty {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 24px 54px rgba(0,0,0,0.18);
  backdrop-filter: blur(14px);
}

body.st-refonte-preview .st-home-agenda__grid {
  gap: 1.1rem;
}

body.st-refonte-preview .st-home-agenda-card {
  min-height: 150px;
  padding: 0.85rem;
  border-color: rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 22px 50px rgba(0,0,0,0.2);
}

body.st-refonte-preview .st-home-agenda-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76,201,240,0.4);
  box-shadow: 0 28px 66px rgba(0,0,0,0.26), 0 0 28px rgba(24,160,251,0.12);
}

body.st-refonte-preview .st-home-agenda-card__media {
  border-radius: 10px;
  background: #F4F6FA;
}

body.st-refonte-preview .st-home-agenda-card h3 {
  color: var(--st-ink);
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 750;
}

body.st-refonte-preview .st-home-agenda-card__date {
  color: var(--st-blue);
}

body.st-refonte-preview .st-home-agenda-card__place {
  color: var(--st-muted);
}

body.st-refonte-preview .st-home-premium-cta-section {
  padding: clamp(2.2rem, 4.8vw, 3.8rem) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(24,160,251,0.09), transparent 20rem),
    #fff;
  box-shadow: none;
  clip-path: none;
}

body.st-refonte-preview .st-home-premium-cta-section::before {
  opacity: 0.18;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 70%, transparent);
}

body.st-refonte-preview .st-home-quick-section {
  position: relative;
  padding: clamp(2rem, 4.8vw, 3.6rem) 0;
}

body.st-refonte-preview .st-home-quick-section .st-section-heading {
  display: flex;
  color: #fff;
}

body.st-refonte-preview .st-home-quick-section .st-section-heading__title,
body.st-refonte-preview .st-home-quick-section .st-link-arrow {
  color: #fff;
}

body.st-refonte-preview .st-home-quick-section .st-section-heading__rule {
  background: rgba(76,201,240,0.34);
}

body.st-refonte-preview .st-home-quick-section .st-cta-card {
  min-height: 160px;
  border-radius: 12px;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card__arrow {
  border-radius: 8px;
}

@media (max-width: 900px) {
  body.st-refonte-preview .st-home-agenda__grid,
  body.st-refonte-preview .st-home-quick-section .st-cta-grid {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .st-home-agenda-card {
    grid-template-columns: 72px 1fr;
  }

  body.st-refonte-preview .st-home-agenda-card__media {
    width: 72px;
    height: 72px;
  }
}


/* Refonte preview: final homepage order after reintroducing Agenda and Quick Access. */
body.st-refonte-preview .st-home-hero-section { order: 1; }
body.st-refonte-preview .st-home-feed-section { order: 2; }
body.st-refonte-preview .st-home-agenda-section { order: 3; }
body.st-refonte-preview .st-home-premium-cta-section { order: 4; }
body.st-refonte-preview .st-home-quick-section { order: 5; }
body.st-refonte-preview .st-home-salon-section { order: 6; }
body.st-refonte-preview .st-home-app-section { order: 7; }


/* Refonte preview: remove dark-section grid patterns for a cleaner premium look. */
body.st-refonte-preview .st-home-agenda-section::before,
body.st-refonte-preview .st-home-quick-section::before,
body.st-refonte-preview .st-home-studies-section::before,
body.st-refonte-preview .st-home-premium-cta-section::before {
  content: none;
  display: none;
}

body.st-refonte-preview .st-home-agenda-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(24,160,251,0.2), transparent 20rem),
    radial-gradient(circle at 84% 72%, rgba(76,201,240,0.12), transparent 18rem),
    linear-gradient(135deg, #071426, #0D1B2A 62%, #082642);
}

body.st-refonte-preview .st-home-quick-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(24,160,251,0.18), transparent 21rem),
    radial-gradient(circle at 14% 76%, rgba(76,201,240,0.1), transparent 18rem),
    linear-gradient(135deg, #071426, #0D1B2A 58%, #05101F);
}


/* Refonte preview: align and recolor the Agenda heading action on dark background. */
body.st-refonte-preview .st-home-agenda-section .st-section-heading {
  align-items: flex-start;
}

body.st-refonte-preview .st-home-agenda-section .st-link-arrow {
  align-self: start;
  margin-top: 0.42rem;
  min-height: 36px;
  border-color: rgba(76,201,240,0.36);
  border-radius: 8px;
  background: rgba(24,160,251,0.16);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 14px 30px rgba(0,0,0,0.16);
  backdrop-filter: blur(10px);
}

body.st-refonte-preview .st-home-agenda-section .st-link-arrow:hover,
body.st-refonte-preview .st-home-agenda-section .st-link-arrow:focus-visible {
  border-color: rgba(76,201,240,0.72);
  background: rgba(24,160,251,0.28);
  outline: 0;
}

body.st-refonte-preview .st-home-agenda-section .st-section-heading__rule {
  background: linear-gradient(90deg, var(--st-blue), rgba(76,201,240,0.45), rgba(76,201,240,0.18));
}


/* Refonte preview: premium event-ticket styling for Agenda cards. */
body.st-refonte-preview .st-home-agenda__grid {
  gap: clamp(1rem, 2vw, 1.35rem);
}

body.st-refonte-preview .st-home-agenda-card {
  position: relative;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  min-height: 172px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.98), rgba(244,248,252,0.94)),
    #fff;
  box-shadow: 0 24px 58px rgba(0,0,0,0.24);
  overflow: hidden;
}

body.st-refonte-preview .st-home-agenda-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--st-blue), var(--st-cyan));
  opacity: 0.9;
}

body.st-refonte-preview .st-home-agenda-card::after {
  content: "→";
  position: absolute;
  right: 1rem;
  bottom: 0.95rem;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(24,160,251,0.1);
  color: var(--st-blue);
  font-weight: 900;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

body.st-refonte-preview .st-home-agenda-card:hover::after {
  opacity: 1;
  transform: translateX(0);
  background: rgba(24,160,251,0.16);
}

body.st-refonte-preview .st-home-agenda-card__media {
  width: 92px;
  height: 92px;
  padding: 0.7rem;
  border: 1px solid rgba(24,160,251,0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #F4F8FC);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 12px 26px rgba(13,27,42,0.08);
}

body.st-refonte-preview .st-home-agenda-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.st-refonte-preview .st-home-agenda-card__body {
  gap: 0.48rem;
  padding-right: 1.2rem;
}

body.st-refonte-preview .st-home-agenda-card__date {
  width: fit-content;
  min-height: 24px;
  padding: 0 0.55rem;
  border-radius: 7px;
  background: rgba(24,160,251,0.1);
  color: #0987E5;
  font-size: 0.76rem;
  line-height: 1;
}

body.st-refonte-preview .st-home-agenda-card__date svg {
  width: 15px;
  height: 15px;
}

body.st-refonte-preview .st-home-agenda-card h3 {
  -webkit-line-clamp: 2;
  color: var(--st-ink);
  font-size: clamp(1rem, 1.32vw, 1.18rem);
  line-height: 1.12;
  letter-spacing: 0;
}

body.st-refonte-preview .st-home-agenda-card__place {
  position: relative;
  margin-top: 0.05rem;
  padding-left: 0.85rem;
  color: #53647D;
  font-size: 0.86rem;
  font-weight: 650;
}

body.st-refonte-preview .st-home-agenda-card__place::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--st-blue);
  transform: translateY(-50%);
}

@media (max-width: 900px) {
  body.st-refonte-preview .st-home-agenda-card {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 150px;
  }

  body.st-refonte-preview .st-home-agenda-card__media {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 520px) {
  body.st-refonte-preview .st-home-agenda-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.85rem;
  }

  body.st-refonte-preview .st-home-agenda-card__media {
    width: 68px;
    height: 68px;
    padding: 0.45rem;
  }

  body.st-refonte-preview .st-home-agenda-card::after {
    display: none;
  }
}


/* Refonte preview: quick access becomes a responsive premium horizontal rail. */
body.st-refonte-preview .st-home-quick-section .st-section-heading {
  display: flex;
  margin-bottom: 1.15rem;
}

body.st-refonte-preview .st-quick-rail {
  position: relative;
  overflow: visible;
}

body.st-refonte-preview .st-home-quick-section .st-cta-grid--quick-rail {
  display: flex;
  grid-template-columns: none;
  gap: clamp(0.9rem, 1.6vw, 1.15rem);
  margin: -0.35rem -3.75rem -1.2rem -0.35rem;
  padding: 0.35rem 3.75rem 1.2rem 0.35rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-padding-left: 0.35rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

body.st-refonte-preview .st-home-quick-section .st-cta-grid--quick-rail::-webkit-scrollbar {
  display: none;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card--quick {
  position: relative;
  flex: 0 0 clamp(214px, 19.5vw, 258px);
  min-height: 166px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
  padding: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background:
    radial-gradient(circle at 86% 16%, rgba(76, 201, 240, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(7, 20, 38, 0.94);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 20px 48px rgba(0,0,0,0.22);
  scroll-snap-align: start;
  overflow: hidden;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card--quick::before {
  content: "";
  position: absolute;
  inset: auto 1rem 0 1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--st-blue), rgba(76,201,240,0.12));
  opacity: 0.78;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card--quick:hover,
body.st-refonte-preview .st-home-quick-section .st-cta-card--quick:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(76, 201, 240, 0.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.13), 0 28px 64px rgba(0,0,0,0.3), 0 0 34px rgba(24,160,251,0.14);
  outline: 0;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(76, 201, 240, 0.28);
  border-radius: 10px;
  background: rgba(24, 160, 251, 0.13);
  color: var(--st-cyan);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

body.st-refonte-preview .st-home-quick-section .st-cta-card__icon svg {
  width: 22px;
  height: 22px;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card__content {
  display: grid;
  gap: 0.34rem;
  width: 100%;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card__title {
  max-width: none;
  color: #fff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 780;
  line-height: 1.12;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card__subtitle {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card__arrow {
  position: absolute;
  right: 1rem;
  top: 1.05rem;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1rem;
}

body.st-refonte-preview .st-home-quick-section .st-cta-card__arrow svg {
  width: 15px;
  height: 15px;
}

body.st-refonte-preview .st-quick-rail__next {
  right: -1.2rem;
  top: 50%;
  transform: translateY(-50%);
  border-color: rgba(76, 201, 240, 0.32);
  background: rgba(255,255,255,0.94);
  color: var(--st-blue);
}

body.st-refonte-preview .st-quick-rail__next:hover,
body.st-refonte-preview .st-quick-rail__next:focus-visible {
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(76, 201, 240, 0.54);
  background: #fff;
}

@media (min-width: 1280px) {
  body.st-refonte-preview .st-home-quick-section .st-cta-card--quick {
    flex-basis: calc((100% - 4.6rem) / 5);
  }
}

@media (max-width: 900px) {
  body.st-refonte-preview .st-home-quick-section .st-cta-grid--quick-rail {
    margin-right: -1.5rem;
    padding-right: 4rem;
  }

  body.st-refonte-preview .st-home-quick-section .st-cta-card--quick {
    flex-basis: 230px;
  }

  body.st-refonte-preview .st-quick-rail__next {
    right: 0.15rem;
  }
}

@media (max-width: 520px) {
  body.st-refonte-preview .st-home-quick-section .st-section-heading {
    margin-bottom: 0.85rem;
  }

  body.st-refonte-preview .st-home-quick-section .st-cta-grid--quick-rail {
    margin-left: -0.2rem;
    padding-left: 0.2rem;
  }

  body.st-refonte-preview .st-home-quick-section .st-cta-card--quick {
    flex-basis: min(78vw, 250px);
    min-height: 154px;
  }
}


/* Refonte preview: keep the Quick Access carousel control aligned with the rail. */
body.st-refonte-preview .st-quick-rail__next {
  position: absolute;
  z-index: 5;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  right: -0.85rem;
  top: 50%;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(13, 27, 42, 0.26);
  line-height: 1;
  cursor: pointer;
}

@media (min-width: 1280px) {
  body.st-refonte-preview .st-quick-rail__next {
    display: none;
  }
}

@media (max-width: 900px) {
  body.st-refonte-preview .st-quick-rail__next {
    display: inline-grid;
    right: 0.35rem;
  }
}


/* Refonte production: brighten the right side of the À la une hero images. */
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__media img {
  filter: saturate(1.08) contrast(1.04) brightness(0.92);
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide:hover .st-story-card__media img {
  filter: saturate(1.12) contrast(1.05) brightness(0.98);
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__media::after {
  background:
    linear-gradient(90deg, rgba(3, 10, 20, 0.92) 0%, rgba(5, 16, 29, 0.68) 34%, rgba(5, 16, 29, 0.1) 64%, rgba(5, 16, 29, 0.08) 100%),
    linear-gradient(180deg, rgba(3, 10, 20, 0.02), rgba(3, 10, 20, 0.34));
}


/* Refonte production: prevent long À la une titles from overlapping the meta/excerpt block. */
body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline {
  bottom: clamp(285px, 31vh, 360px);
  right: max(42px, calc((100vw - 1280px) / 2 + 10vw));
  gap: 0.78rem;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
  max-width: min(42ch, 78vw);
  font-size: clamp(1.65rem, 2.45vw, 2.72rem);
  line-height: 1.08;
}

body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
  right: max(42px, calc((100vw - 1280px) / 2 + 34vw));
  bottom: clamp(76px, 8.5vh, 104px);
  max-width: min(62ch, calc(100vw - 84px));
}

@media (max-width: 900px) {
  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__headline {
    bottom: clamp(250px, 31vh, 330px);
    right: 1.2rem;
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__title {
    max-width: 22ch;
    font-size: clamp(1.52rem, 6vw, 2.2rem);
  }

  body.st-refonte-preview .st-home-hero-section .st-story-card--featured-slide .st-story-card__body {
    right: 1.2rem;
    bottom: 4.9rem;
  }
}


/* Refonte production: editorial archive lead uses the same readable image treatment as the home hero. */
body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__hero {
  margin-bottom: 1.35rem;
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__eyebrow {
  color: var(--st-blue);
  font-weight: 900;
  letter-spacing: 0.02em;
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__title {
  display: none;
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide {
  border: 0;
  border-radius: 18px;
  background: #071426;
  box-shadow: var(--st-shadow-md);
  overflow: hidden;
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__media img {
  aspect-ratio: 16 / 7.2;
  min-height: clamp(360px, 38vw, 520px);
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04) brightness(0.9);
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__media::after {
  background:
    linear-gradient(90deg, rgba(3, 10, 20, 0.92) 0%, rgba(5, 16, 29, 0.72) 42%, rgba(5, 16, 29, 0.22) 100%),
    linear-gradient(180deg, rgba(3, 10, 20, 0.04), rgba(3, 10, 20, 0.74));
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__headline {
  left: clamp(1.25rem, 3vw, 2.5rem);
  right: clamp(1.25rem, 28vw, 22rem);
  bottom: clamp(7.4rem, 15vw, 11.5rem);
  display: block;
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__title {
  color: #fff;
  max-width: 24ch;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 4.35rem);
  font-weight: 850;
  line-height: 1.04;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.55);
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__body {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.5rem);
  right: clamp(1.25rem, 34vw, 28rem);
  bottom: clamp(1.35rem, 3vw, 2.35rem);
  z-index: 4;
  display: grid;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__excerpt,
body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__date,
body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-reading-time {
  color: rgba(255, 255, 255, 0.88);
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-badge {
  border-color: rgba(76, 201, 240, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (max-width: 760px) {
  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__media img {
    min-height: 560px;
    aspect-ratio: auto;
  }

  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__headline {
    right: 1.1rem;
    bottom: 15.5rem;
  }

  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__title {
    max-width: 18ch;
    font-size: clamp(1.55rem, 8vw, 2.3rem);
  }

  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__body {
    right: 1.1rem;
    bottom: 1.3rem;
  }
}


/* Refonte production: refine editorial archive lead scale and keep card shadow visible. */
body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block {
  margin: -0.6rem -1.1rem 3.25rem;
  padding: 0.6rem 1.1rem 1.25rem;
  overflow: visible;
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-featured-carousel,
body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-featured-carousel__track,
body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-featured-carousel__slide {
  overflow: visible;
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-featured-carousel__slide {
  padding: 0.25rem 0.45rem 1.05rem;
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide {
  box-shadow: 0 26px 62px rgba(13, 27, 42, 0.18), 0 0 34px rgba(24, 160, 251, 0.08);
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__title {
  max-width: 21ch;
  font-size: clamp(1.85rem, 3.25vw, 3.55rem);
  line-height: 1.06;
}

body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__headline {
  bottom: clamp(8.4rem, 14vw, 10.8rem);
}

@media (max-width: 760px) {
  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block {
    margin-inline: -0.5rem;
    padding-inline: 0.5rem;
  }

  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__title {
    max-width: 18ch;
    font-size: clamp(1.45rem, 7.2vw, 2.05rem);
  }
}


/* Refonte production: normalize the editorial archive article list cards. */
body.st-refonte-preview .solutrans-remote__feed-block--editorial {
  overflow: visible;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-feed-block__content {
  margin: -0.75rem -1rem -1.2rem;
  padding: 0.75rem 1rem 1.2rem;
  overflow: visible;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-card-grid--continuation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  overflow: visible;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack {
  display: contents;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card--lead,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card--compact,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card--standard {
  height: 100%;
  min-height: 406px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(13, 27, 42, 0.11);
  overflow: hidden;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__link {
  display: grid;
  grid-template-rows: minmax(0, 210px) 1fr;
  height: 100%;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card--no-media .st-story-card__link {
  grid-template-rows: 1fr;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__media {
  min-height: 210px;
  background: rgba(13, 27, 42, 0.08);
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__media img {
  width: 100%;
  height: 210px;
  min-height: 210px;
  aspect-ratio: auto;
  object-fit: cover;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__body--refonte {
  display: grid;
  grid-template-rows: 30px minmax(4.2em, auto) 28px;
  gap: 0.72rem;
  align-content: start;
  height: 100%;
  min-height: 196px;
  padding: 1.18rem 1.22rem 1.22rem;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__type-row {
  display: flex;
  align-items: center;
  min-height: 30px;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__body--refonte .st-badge {
  width: fit-content;
  max-width: 100%;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__body--refonte .st-story-card__title {
  display: -webkit-box !important;
  min-height: 4.2em;
  max-height: 4.2em;
  margin: 0;
  overflow: hidden !important;
  color: var(--st-ink);
  font-size: clamp(1.16rem, 1.38vw, 1.46rem);
  font-weight: 650;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__refonte-meta {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  min-height: 28px;
  margin-top: auto;
  color: var(--st-muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__refonte-meta .st-story-card__date,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__refonte-meta .st-reading-time {
  margin: 0;
  color: inherit;
  font: inherit;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__meta-separator {
  flex: 0 0 auto;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.5;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__refonte-meta .st-meta-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-left: auto;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__refonte-meta .st-meta-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(24, 160, 251, 0.11);
  color: var(--st-blue);
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__refonte-meta .st-meta-icon svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 1020px) {
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-card-grid--continuation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-feed-block__content {
    margin-inline: -0.5rem;
    padding-inline: 0.5rem;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-card-grid--continuation {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card--lead,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card--compact,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card--standard {
    min-height: 0;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__link {
    grid-template-rows: 180px 1fr;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__media,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__media img {
    height: 180px;
    min-height: 180px;
  }
}


/* Refonte production: editorial feed lead layout with three secondary articles on the right. */
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster--split {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(340px, 0.82fr);
  align-items: stretch;
  gap: 1.5rem;
  overflow: visible;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead {
  display: block;
  min-width: 0;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card {
  min-height: 560px;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__link {
  grid-template-rows: minmax(0, 318px) 1fr;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__media,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__media img {
  height: 318px;
  min-height: 318px;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__body--refonte {
  grid-template-rows: 30px minmax(5.2em, auto) 28px;
  min-height: 242px;
  padding: 1.35rem 1.45rem 1.35rem;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__body--refonte .st-story-card__title {
  min-height: 5.2em;
  max-height: 5.2em;
  font-size: clamp(1.45rem, 2.05vw, 2.12rem);
  font-weight: 680;
  line-height: 1.12;
  -webkit-line-clamp: 4;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card--compact {
  min-height: 176px;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__link {
  grid-template-columns: minmax(128px, 38%) minmax(0, 1fr);
  grid-template-rows: 1fr;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card--no-media .st-story-card__link {
  grid-template-columns: 1fr;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__media,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__media img {
  width: 100%;
  height: 100%;
  min-height: 176px;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__body--refonte {
  grid-template-rows: 24px minmax(2.72em, auto) 24px;
  gap: 0.48rem;
  min-height: 0;
  padding: 0.92rem 1rem;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__type-row {
  min-height: 24px;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__body--refonte .st-story-card__title {
  min-height: 2.72em;
  max-height: 2.72em;
  font-size: clamp(0.98rem, 1.05vw, 1.14rem);
  font-weight: 650;
  line-height: 1.18;
  -webkit-line-clamp: 2;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__refonte-meta {
  min-height: 24px;
  gap: 0.45rem;
  font-size: 0.76rem;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-card-grid--continuation {
  margin-top: 1.5rem;
}

@media (max-width: 1120px) {
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster--split {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__link {
    grid-template-columns: 1fr;
    grid-template-rows: 156px 1fr;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__media,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__media img {
    height: 156px;
    min-height: 156px;
  }
}

@media (max-width: 760px) {
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-card-grid--continuation {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card {
    min-height: 0;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__link,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__link {
    grid-template-rows: 180px 1fr;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__media,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__media img,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__media,
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__media img {
    height: 180px;
    min-height: 180px;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__body--refonte .st-story-card__title {
    min-height: 3.7em;
    max-height: 3.7em;
    font-size: clamp(1.22rem, 6vw, 1.58rem);
    -webkit-line-clamp: 3;
  }
}


/* Refonte production: soften editorial feed titles and harden truncation clipping. */
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__body--refonte .st-story-card__title,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__body--refonte .st-story-card__title,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__body--refonte .st-story-card__title {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: var(--st-ink);
  font-weight: 580;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  contain: paint;
  -webkit-box-orient: vertical;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-card__body--refonte .st-story-card__title {
  min-height: 3.78em;
  max-height: 3.78em;
  font-size: clamp(1.04rem, 1.12vw, 1.24rem);
  line-height: 1.26;
  -webkit-line-clamp: 3;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__body--refonte .st-story-card__title {
  min-height: 4.64em;
  max-height: 4.64em;
  font-size: clamp(1.28rem, 1.68vw, 1.72rem);
  font-weight: 600;
  line-height: 1.16;
  -webkit-line-clamp: 4;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__body--refonte .st-story-card__title {
  min-height: 2.48em;
  max-height: 2.48em;
  font-size: clamp(0.92rem, 0.92vw, 1.02rem);
  font-weight: 580;
  line-height: 1.24;
  -webkit-line-clamp: 2;
}

@media (max-width: 760px) {
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__lead .st-story-card__body--refonte .st-story-card__title {
    min-height: 3.66em;
    max-height: 3.66em;
    font-size: clamp(1.12rem, 5.3vw, 1.38rem);
    line-height: 1.22;
    -webkit-line-clamp: 3;
  }
}


/* Refonte production: rebalance the three secondary editorial feed cards. */
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack {
  grid-template-rows: repeat(3, minmax(184px, 1fr));
  gap: 1.15rem;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card--compact {
  min-height: 184px;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__link {
  grid-template-columns: minmax(116px, 34%) minmax(0, 1fr);
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__media,
body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__media img {
  min-height: 184px;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__body--refonte {
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.58rem;
  min-height: 184px;
  padding: 1rem 1.05rem 0.95rem;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__type-row {
  align-self: start;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__body--refonte .st-story-card__title {
  align-self: center;
  min-height: auto;
  max-height: 4.02em;
  font-size: clamp(0.96rem, 0.95vw, 1.08rem);
  line-height: 1.34;
  -webkit-line-clamp: 3;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__refonte-meta {
  align-self: end;
  width: 100%;
  min-height: 24px;
}

body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__refonte-meta .st-meta-icons {
  margin-left: auto;
}

@media (max-width: 1120px) {
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack {
    grid-template-rows: none;
  }

  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__body--refonte {
    min-height: 176px;
  }
}

@media (max-width: 760px) {
  body.st-refonte-preview .solutrans-remote__feed-block--editorial .st-story-cluster__stack .st-story-card__body--refonte {
    min-height: 0;
  }
}


/* Refonte production: global breathing room before the redesigned footer. */
body.st-refonte-preview .st-main {
  padding-bottom: clamp(5rem, 7vw, 7.5rem);
}

body.st-refonte-preview .st-main > :last-child {
  margin-bottom: 0;
}

/* Refonte production: compact mobile header brand. */
@media (max-width: 760px) {
  body.st-refonte-preview .st-header__inner {
    min-height: 94px;
  }

  body.st-refonte-preview .st-header .st-brand,
  body.st-refonte-preview .st-header .custom-logo-link {
    max-width: 190px;
  }

  body.st-refonte-preview .st-header .st-brand__logo,
  body.st-refonte-preview .st-header .custom-logo {
    max-width: 190px !important;
    max-height: 58px !important;
    width: auto;
    height: auto;
  }
}

@media (max-width: 420px) {
  body.st-refonte-preview .st-header__inner {
    min-height: 86px;
  }

  body.st-refonte-preview .st-header .st-brand,
  body.st-refonte-preview .st-header .custom-logo-link {
    max-width: 166px;
  }

  body.st-refonte-preview .st-header .st-brand__logo,
  body.st-refonte-preview .st-header .custom-logo {
    max-width: 166px !important;
    max-height: 50px !important;
  }
}

/* Refonte production: avoid mobile title/meta overlap in editorial archive featured cards. */
@media (max-width: 760px) {
  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide,
  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__media img {
    min-height: 500px;
  }

  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__headline {
    left: 1rem;
    right: 1rem;
    bottom: 9.6rem;
  }

  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__title {
    display: -webkit-box !important;
    max-width: 100%;
    max-height: 3.66em;
    overflow: hidden !important;
    font-size: clamp(1.25rem, 6.5vw, 1.78rem);
    line-height: 1.22;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__body {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    gap: 0.55rem;
  }

  body.st-refonte-preview .solutrans-remote--editorial .solutrans-remote__featured-block .st-story-card--featured-slide .st-story-card__excerpt {
    display: none;
  }
}

/* Refonte production: improve remote article breadcrumbs on mobile. */
body.st-refonte-preview .solutrans-remote--single .solutrans-remote__breadcrumb {
  border-radius: 24px;
}

@media (max-width: 760px) {
  body.st-refonte-preview .solutrans-remote__article-shell {
    padding-top: 1rem;
  }

  body.st-refonte-preview .solutrans-remote--single .solutrans-remote__breadcrumb {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
    font-size: 0.92rem;
    line-height: 1.2;
  }

  body.st-refonte-preview .solutrans-remote--single .solutrans-remote__breadcrumb-link--home {
    flex: 0 0 auto;
  }

  body.st-refonte-preview .solutrans-remote--single .solutrans-remote__breadcrumb-home-icon {
    width: 34px;
    height: 34px;
  }

  body.st-refonte-preview .solutrans-remote--single .solutrans-remote__breadcrumb-home-icon svg {
    width: 18px;
    height: 18px;
  }

  body.st-refonte-preview .solutrans-remote--single .solutrans-remote__breadcrumb-link:not(.solutrans-remote__breadcrumb-link--home),
  body.st-refonte-preview .solutrans-remote--single .solutrans-remote__breadcrumb-current:first-of-type {
    max-width: min(52vw, 15rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.st-refonte-preview .solutrans-remote--single .solutrans-remote__breadcrumb-separator:last-of-type,
  body.st-refonte-preview .solutrans-remote--single .solutrans-remote__breadcrumb-current:last-child {
    display: none;
  }

  body.st-refonte-preview .solutrans-remote__article-surface {
    padding: 1.05rem;
  }

  body.st-refonte-preview .solutrans-remote--single .solutrans-remote__title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.08;
  }
}


/* Refonte production: let the Fil info page use the standard site container for horizontal rhythm. */
body.st-refonte-preview .solutrans-remote--fil-info.st-section {
  width: 100%;
  margin-inline: 0;
}

body.st-refonte-preview .solutrans-remote--fil-info .st-container {
  width: min(calc(100% - 2.5rem), 1280px);
}

@media (max-width: 760px) {
  body.st-refonte-preview .solutrans-remote--fil-info .st-container {
    width: min(calc(100% - 1.25rem), 1280px);
  }
}


/* Refonte production: rebalance mobile header logo after visual review. */
@media (max-width: 760px) {
  body.st-refonte-preview .st-header__inner {
    min-height: 102px;
  }

  body.st-refonte-preview .st-header .st-brand,
  body.st-refonte-preview .st-header .custom-logo-link {
    max-width: 264px;
  }

  body.st-refonte-preview .st-header .st-brand__logo,
  body.st-refonte-preview .st-header .custom-logo {
    max-width: 264px !important;
    max-height: 74px !important;
  }
}

@media (max-width: 420px) {
  body.st-refonte-preview .st-header__inner {
    min-height: 96px;
  }

  body.st-refonte-preview .st-header .st-brand,
  body.st-refonte-preview .st-header .custom-logo-link {
    max-width: 242px;
  }

  body.st-refonte-preview .st-header .st-brand__logo,
  body.st-refonte-preview .st-header .custom-logo {
    max-width: 242px !important;
    max-height: 68px !important;
  }
}

/* Refonte production: premium Contact Form 7 treatment on the contact page. */
body.st-refonte-preview.page-id-58 .st-reading {
  width: min(calc(100% - 2.5rem), 1040px);
}

body.st-refonte-preview.page-id-58 .st-page-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 0%, rgba(24, 160, 251, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.98));
  box-shadow: 0 24px 60px rgba(13, 27, 42, 0.1);
}

body.st-refonte-preview.page-id-58 .st-page-card__header,
body.st-refonte-preview.page-id-58 .st-page-card__content {
  position: relative;
  z-index: 1;
}

body.st-refonte-preview.page-id-58 .st-page-card__header {
  padding-bottom: 0.75rem;
}

body.st-refonte-preview.page-id-58 .st-page-card__content > h2 {
  margin-top: 0.25rem;
  color: var(--st-blue);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.st-refonte-preview.page-id-58 .st-page-card__content > h3 {
  max-width: 52rem;
  color: var(--st-ink);
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.25;
}

body.st-refonte-preview.page-id-58 .st-page-card__content > ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.35rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

body.st-refonte-preview.page-id-58 .st-page-card__content > ul > li {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--st-muted);
  line-height: 1.55;
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.04);
}

body.st-refonte-preview.page-id-58 .wp-block-contact-form-7-contact-form-selector {
  margin-top: 1.75rem;
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 18px 44px rgba(13, 27, 42, 0.08);
}

body.st-refonte-preview.page-id-58 .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.st-refonte-preview.page-id-58 .wpcf7-form > p {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  color: var(--st-ink);
  font-size: 0.9rem;
  font-weight: 750;
}

body.st-refonte-preview.page-id-58 .wpcf7-form > p:nth-of-type(3),
body.st-refonte-preview.page-id-58 .wpcf7-form > p:nth-of-type(4),
body.st-refonte-preview.page-id-58 .wpcf7-form > p:last-of-type,
body.st-refonte-preview.page-id-58 .wpcf7-response-output,
body.st-refonte-preview.page-id-58 .wpcf7-turnstile {
  grid-column: 1 / -1;
}

body.st-refonte-preview.page-id-58 .wpcf7-form label {
  display: grid;
  gap: 0.5rem;
}

body.st-refonte-preview.page-id-58 .wpcf7-form-control-wrap {
  display: block;
}

body.st-refonte-preview.page-id-58 .wpcf7 input[type="text"],
body.st-refonte-preview.page-id-58 .wpcf7 input[type="email"],
body.st-refonte-preview.page-id-58 .wpcf7 textarea {
  width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(27, 26, 56, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  color: var(--st-ink);
  font: inherit;
  font-weight: 600;
  box-shadow: inset 0 1px 2px rgba(27, 26, 56, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body.st-refonte-preview.page-id-58 .wpcf7 textarea {
  min-height: 154px;
  resize: vertical;
}

body.st-refonte-preview.page-id-58 .wpcf7 input[type="text"]:focus,
body.st-refonte-preview.page-id-58 .wpcf7 input[type="email"]:focus,
body.st-refonte-preview.page-id-58 .wpcf7 textarea:focus {
  outline: none;
  border-color: rgba(24, 160, 251, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(24, 160, 251, 0.13);
}

body.st-refonte-preview.page-id-58 .wpcf7-not-valid {
  border-color: rgba(185, 55, 80, 0.5) !important;
  background: rgba(255, 246, 248, 0.96) !important;
}

body.st-refonte-preview.page-id-58 .wpcf7-not-valid-tip {
  margin-top: 0.35rem;
  color: #b93750;
  font-size: 0.8rem;
  font-weight: 750;
}

body.st-refonte-preview.page-id-58 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: fit-content;
  min-width: 150px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--st-blue), #087bd4);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 16px 32px rgba(24, 160, 251, 0.24);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

body.st-refonte-preview.page-id-58 .wpcf7-submit:hover,
body.st-refonte-preview.page-id-58 .wpcf7-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(24, 160, 251, 0.3);
}

body.st-refonte-preview.page-id-58 .wpcf7-spinner {
  margin: 0 0 0 0.75rem;
}

body.st-refonte-preview.page-id-58 .wpcf7-response-output {
  margin: 0.25rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  font-weight: 750;
}

@media (max-width: 760px) {
  body.st-refonte-preview.page-id-58 .st-reading {
    width: min(calc(100% - 1.25rem), 1040px);
  }

  body.st-refonte-preview.page-id-58 .wp-block-contact-form-7-contact-form-selector,
  body.st-refonte-preview.page-id-58 .wpcf7-form {
    border-radius: 20px;
  }

  body.st-refonte-preview.page-id-58 .wpcf7-form {
    grid-template-columns: 1fr;
  }

  body.st-refonte-preview.page-id-58 .wpcf7-form > p,
  body.st-refonte-preview.page-id-58 .wpcf7-turnstile,
  body.st-refonte-preview.page-id-58 .wpcf7-response-output {
    grid-column: 1;
  }

  body.st-refonte-preview.page-id-58 .wpcf7-submit {
    width: 100%;
  }
}
