/**
 * Breakpoints & Media Queries
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
.wp-block-file .wp-block-file__button:hover, .wp-block-file .wp-block-file__button:focus, .wp-block-file .wp-block-file__button.has-focus {
  border-style: var(--wp--custom--button--border--style);
  border-color: currentColor;
  border-width: var(--wp--custom--button--border--width);
  padding-top: var(--wp--custom--button--spacing--padding--top);
  padding-bottom: var(--wp--custom--button--spacing--padding--bottom);
  padding-left: var(--wp--custom--button--spacing--padding--left);
  padding-right: var(--wp--custom--button--spacing--padding--right);
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:hover, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:focus, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button.has-focus,
.wp-block-search .wp-block-search__button:hover,
.wp-block-search .wp-block-search__button:focus,
.wp-block-search .wp-block-search__button.has-focus {
  border-style: var(--wp--custom--button--border--style);
  border-color: currentColor;
  border-width: var(--wp--custom--button--border--width);
  padding-top: var(--wp--custom--button--spacing--padding--top);
  padding-bottom: var(--wp--custom--button--spacing--padding--bottom);
  padding-left: var(--wp--custom--button--spacing--padding--left);
  padding-right: var(--wp--custom--button--spacing--padding--right);
}

ul ul {
  list-style-type: disc;
}

@media (max-width: 599px) {
  .wp-block-media-text:not(.has-background) .wp-block-media-text__content {
    padding: 0;
  }
}

.wp-block-post-comments form input:not([type=submit]):not([type=checkbox]),
.wp-block-post-comments form textarea {
  font-size: var(--wp--custom--font-size--normal);
  width: 100%;
}
.wp-block-post-comments .comment-body > p > a,
.wp-block-post-comments .comment-edit-link {
  text-decoration: underline;
}
.wp-block-post-comments .comment-body > p > a:hover,
.wp-block-post-comments .comment-edit-link:hover {
  text-decoration: none;
}

.wp-block-post-navigation-link {
  border-top: 1px solid;
  display: flex;
  padding-top: 1em;
}

.post-navigation-link-next {
  flex-direction: row-reverse;
}
.post-navigation-link-next a {
  margin-right: 0.5em;
}

.post-navigation-link-previous a {
  margin-left: 0.5em;
}

.next-prev-links .wp-block-column,
.next-prev-links .wp-block-column:not(:only-child) {
  flex-basis: 40% !important;
}
.next-prev-links .wp-block-column:not(:first-child),
.next-prev-links .wp-block-column:not(:only-child):not(:first-child) {
  margin-left: 20%;
}

.wp-block-post-template .wp-block-post-excerpt__more-text,
.wp-block-query .wp-block-post-excerpt__more-text {
  font-size: var(--wp--custom--font-sizes--x-small) !important;
}

.wp-block-query-pagination {
  border-top: 1px solid var(--wp--custom--color--primary);
}
.wp-block-query-pagination .page-numbers {
  padding: 0 0.1em;
}

.wp-block-quote.is-style-large p {
  line-height: 1.4;
}
.wp-block-quote.is-style-large cite {
  text-align: unset;
}

.wp-block-table.is-style-stripes th,
.wp-block-table th {
  font-weight: 400;
}
.wp-block-table.is-style-stripes tbody td,
.wp-block-table tbody td {
  border-bottom-width: 0;
  border-top-width: 0;
  vertical-align: top;
  border-color: var(--wp--preset--color--primary);
}
.wp-block-table.is-style-stripes tr:first-child td,
.wp-block-table tr:first-child td {
  border-top-width: 1px;
}
.wp-block-table.is-style-stripes tr:last-child td,
.wp-block-table tr:last-child td {
  border-bottom-width: 1px;
}

.wp-block-pullquote {
  text-indent: -0.5ch;
}
.wp-block-pullquote cite {
  text-indent: 0.5ch;
}

.has-primary-background-color {
  color: var(--wp--preset--color--background);
}

.wp-block-post-content a:not(.wp-block-button__link) {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}
.wp-block-post-content a:not(.wp-block-button__link):hover {
  text-decoration: none;
}

a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
  outline: 1px dotted currentcolor;
  text-decoration: none;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=submit]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  outline: 1px dotted currentColor;
}

.wp-block-post-featured-image {
  margin-top: 0;
}

/* Add some extra space if there's no post title present. */
.wp-block-post-date + .wp-block-group > .wp-block-post-featured-image,
.wp-block-post-date + .wp-block-group > .wp-block-post-excerpt {
  margin-top: calc(2 * var(--wp--style--block-gap));
}

/* =========================================================
   CS-WEB custom design (added on top of the Blockbase base)
   ========================================================= */

/* --- Accessibility / focus (kept consistent with the rest of the site) --- */
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 2px solid var(--wp--preset--color--accent);
  outline-offset: 2px;
}

/* WP moves focus into the first nav link when the mobile menu opens
   (correct for a11y), but that's a scripted .focus(), not a keyboard
   interaction, so Chrome's :focus-visible heuristic skips it and
   falls back to Blockbase's own generic `a:focus { outline: 1px
   dotted }` reset further up this file — which also out-specifies a
   plain class selector here, hence the !important. */
.wp-block-navigation-item__content:focus {
  outline: 2px solid var(--wp--preset--color--accent) !important;
  outline-offset: -2px;
}

/* --- Sticky header --- */
.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--wp--preset--color--background);
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.18), 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-brand {
  align-items: center;
  gap: 0.6rem !important;
}
.site-brand .wp-block-site-title {
  margin: 0;
}
.site-brand .wp-block-site-title a {
  font-size: var(--wp--custom--font-size--normal);
  transition: color 0.2s ease;
}
.site-brand .wp-block-site-title a:focus-visible {
  outline: none;
}
.site-brand:hover .wp-block-site-title a,
.site-brand:focus-within .wp-block-site-title a {
  color: var(--wp--preset--color--accent);
}
.brand-corsica {
  display: inline-flex;
  align-items: center;
  color: var(--wp--preset--color--primary);
  flex-shrink: 0;
  transition: color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-brand:hover .brand-corsica,
.site-brand:focus-within .brand-corsica {
  color: var(--wp--preset--color--accent);
  transform: rotate(-8deg) scale(1.1);
}
.brand-corsica svg {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .brand-corsica {
    transition: color 0.2s ease;
  }
  .site-brand:hover .brand-corsica {
    transform: none;
  }
}

/* --- Primary nav: a soft segmented pill for the links, a solid
   accent pill for the one action (Contact) --- */
.primary-navigation .wp-block-navigation__container {
  align-items: center;
  gap: 0.25rem !important;
  padding: 0.3rem;
  background-color: var(--wp--preset--color--tertiary);
  border-radius: 999px;
  overflow: hidden;
}
/* WordPress puts background-color: inherit on each <li>; without
   clipping the pill container, that square box pokes out past the
   rounded corners at both ends. */
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item {
  border-radius: 999px;
}
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  border-radius: 999px;
  padding: 0.5em 1.1em !important;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item:not(:last-child):hover > .wp-block-navigation-item__content {
  background-color: var(--wp--preset--color--background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item:not(:last-child) > .wp-block-navigation-item__content {
  background-color: var(--wp--preset--color--background);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Last item (Contact) reads as the one action in the nav */
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item:last-child {
  margin-left: 0.5rem;
}
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
  background-color: var(--wp--preset--color--accent);
  color: #fff;
  font-weight: 600;
}
.primary-navigation .wp-block-navigation__container > .wp-block-navigation-item:last-child:hover > .wp-block-navigation-item__content {
  background-color: color-mix(in srgb, var(--wp--preset--color--accent) 85%, #000);
}

/* --- Mobile overlay menu: the desktop pill styling above (meant for
   a compact inline row) otherwise leaks straight into the full-screen
   overlay, since WP reuses the same markup — reset it to a clean
   stacked list, with Contact as a modestly-sized pill instead of a
   stretched full-width button. --- */
.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  background-color: transparent;
  padding: 0;
  gap: 0.25rem !important;
  width: 100%;
  overflow: visible;
}
.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
  width: 100%;
  border-radius: 0;
}
.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  width: 100%;
  padding: 0.85em 0.25rem !important;
  border-radius: 0;
  font-size: 1.15rem;
  box-shadow: none !important;
}
.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(:last-child) {
  border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item:not(:last-child) > .wp-block-navigation-item__content {
  background-color: transparent !important;
}
.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:last-child {
  margin-left: 0;
  margin-top: 0.75rem;
  width: auto;
  align-self: flex-start;
}
.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
  width: auto;
  display: inline-flex;
  padding: 0.6em 1.4em !important;
  border-radius: 999px;
  font-size: 1rem;
}

/* --- Header nav cluster: primary nav + FR/EN switch, kept together
   so the outer header row stays a clean two-item space-between --- */
.site-nav-cluster {
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.25rem) !important;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background-color: var(--wp--preset--color--tertiary);
  flex-shrink: 0;
}
.lang-switch__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.65em 0.3em 0.4em;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--wp--preset--color--contrast) 55%, transparent);
  text-decoration: none !important;
  opacity: 0.55;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.lang-switch__link:hover {
  color: var(--wp--preset--color--contrast);
  opacity: 0.85;
}
.lang-switch__link.is-active {
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--contrast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  opacity: 1;
}
.lang-switch__flag {
  display: inline-flex;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.lang-switch__flag svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Hero (Apple-style: big, centered, quietly in motion) ---
   No photo: a dark gradient + a soft drifting accent glow, so the
   typography stays the thing you look at. */
.hero-cover {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 76px;
  background: linear-gradient(160deg, #05050a 0%, #12102a 55%, #1e1b4b 100%);
  background-size: 200% 200%;
  animation: hero-gradient-shift 18s ease-in-out infinite alternate;
}
@keyframes hero-gradient-shift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}
/* Compact variant for a page banner (Nos projets, etc.) — same
   gradient/glow language as the homepage hero, no scroll cue so no
   need for its reserved bottom space, and no forced min-height. */
.page-hero {
  padding-top: clamp(4rem, 10vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 4.5rem);
}
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(60vw, 900px);
  height: min(60vw, 900px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--accent) 35%, transparent) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: hero-glow-pulse 9s ease-in-out infinite;
}
@keyframes hero-glow-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1.15);
  }
}
.hero-content {
  text-align: center;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.eyebrow {
  margin: 0 0 1.25em;
  font-size: var(--wp--preset--font-size--small, 1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent);
}
.hero-heading {
  color: #fff;
  margin-top: 0 !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  /* Dedicated size so the hero keeps its impact independently of the
     smaller global h2 used for regular page/content headings. */
  font-size: clamp(1.75rem, 6vw + 0.5rem, 3.25rem);
}
.hero-lede {
  color: #fff;
  max-width: 46ch;
  margin-inline: auto;
  font-size: var(--wp--preset--font-size--medium, 1.25rem);
  font-weight: 300;
  opacity: 0.85;
}
.hero-ctas {
  margin-top: 1.5em;
  row-gap: 1em !important;
}
.hero-content .wp-block-button__link {
  border-radius: 999px;
  padding: 1em 2em;
  font-size: 1.0625rem;
  font-weight: 600;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.hero-content .wp-block-button__link:hover {
  transform: translateY(-2px);
}
.hero-cta-primary .wp-block-button__link {
  background-color: var(--wp--preset--color--accent);
  border-color: var(--wp--preset--color--accent);
  color: #fff;
}
.hero-cta-primary .wp-block-button__link:hover {
  background-color: color-mix(in srgb, var(--wp--preset--color--accent) 85%, #fff);
}
.hero-cta-primary .wp-block-button__link::after {
  content: "→";
  display: inline-block;
  margin-left: 0.6em;
  transition: transform 0.25s ease;
}
.hero-cta-primary .wp-block-button__link:hover::after {
  transform: translateX(4px);
}
.hero-cta-secondary .wp-block-button__link {
  color: #fff;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
}
.hero-cta-secondary .wp-block-button__link:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

/* Staggered entrance on load, only once JS confirms it can animate nicely.
   Content stays fully visible by default — it's only hidden right
   before the animation runs, so a blocked/broken script can never
   leave the hero text invisible. */
.hero-cover.js-armed .hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-cover.js-armed .eyebrow.hero-in {
  animation-delay: 0.1s;
}
.hero-cover.js-armed .hero-heading.hero-in {
  animation-delay: 0.25s;
}
.hero-cover.js-armed .hero-lede.hero-in {
  animation-delay: 0.4s;
}
.hero-cover.js-armed .wp-block-buttons.hero-in {
  animation-delay: 0.55s;
}
@keyframes hero-fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.hero-scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: hero-scroll-cue-bounce 1.8s ease-in-out infinite;
}
@keyframes hero-scroll-cue-bounce {
  0%,
  100% {
    top: 6px;
    opacity: 0.6;
  }
  50% {
    top: 12px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cover {
    animation: none;
  }
  .hero-glow {
    animation: none;
  }
  .hero-cover.js-armed .hero-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero-scroll-cue span {
    animation: none;
  }
}

/* --- Sections --- */
.section {
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}
/* Tighter gap right after the hero specifically (it already reserves
   room at its own bottom for the scroll cue). */
.hero-cover + .section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.section .eyebrow {
  margin-bottom: 0.5em;
}
.section-heading {
  margin-top: 0 !important;
  margin-bottom: 1.5em !important;
  display: flex;
  align-items: center;
  gap: 0.65em;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-heading::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--wp--preset--color--accent);
}

/* --- Portfolio / project cards ---
   Smaller, centered thumbnails (this is a partner strip, not a full
   portfolio grid) with a softer, more tactile hover: the card lifts
   with a shadow and accent ring, the image un-desaturates, and the
   title slides up as a caption overlay. */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  max-width: 280px;
  margin-inline: auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.project-card img {
  display: block;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
  filter: grayscale(1);
}
.project-card:hover,
.project-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 0 0 2px var(--wp--preset--color--accent), 0 16px 32px rgba(0, 0, 0, 0.16);
}
.project-card:hover img,
.project-card:focus-within img {
  transform: scale(1.08);
  filter: grayscale(0);
}
.project-card .wp-element-caption {
  position: absolute;
  inset: auto 0 0 0;
  margin: 0;
  padding: 1.5em 1.1em 1.1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  text-align: left;
  color: #fff;
  font-size: var(--wp--preset--font-size--small, 1rem);
  font-weight: 600;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-card:hover .wp-element-caption,
.project-card:focus-within .wp-element-caption {
  opacity: 1;
  transform: none;
}
.project-card a ~ .wp-element-caption::after {
  content: "↗";
  font-weight: 400;
  opacity: 0.8;
  transition: transform 0.25s ease;
}
.project-card:hover a ~ .wp-element-caption::after {
  transform: translate(2px, -2px);
}
@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-card img {
    transition: filter 0.3s ease;
  }
  .project-card:hover,
  .project-card:focus-within {
    transform: none;
  }
  .project-card:hover img,
  .project-card:focus-within img {
    transform: none;
  }
}
/* Touch devices: no hover, so keep captions readable without it */
@media (hover: none) {
  .project-card .wp-element-caption {
    opacity: 1;
    transform: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  }
}

/* --- Alternating tinted section band (adds rhythm between the
   plain-white sections, using only existing palette tokens) --- */
.section-tinted {
  background-color: var(--wp--preset--color--tertiary);
}

/* --- Ambitions / value props ---
   Each item is now an elevated card on the tinted band instead of
   bare text in a divided column. */
.ambitions-grid {
  column-gap: clamp(1.5rem, 4vw, 2rem) !important;
  row-gap: clamp(1.5rem, 4vw, 2rem) !important;
}
.ambitions-grid .ambition-item {
  position: relative;
  background-color: var(--wp--preset--color--background);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.ambitions-grid .ambition-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}
.ambitions-grid .ambition-item p {
  max-width: 34ch;
}
.ambition-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 0.25em !important;
  color: var(--wp--preset--color--accent);
  opacity: 0.35;
}
.ambition-item h5 {
  margin-top: 0 !important;
  margin-bottom: 0.5em !important;
}
@media (prefers-reduced-motion: reduce) {
  .ambitions-grid .ambition-item:hover {
    transform: none;
  }
}

/* --- Closing CTA band --- */
.cta-band {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--background);
  text-align: center;
}
.cta-band h3 {
  color: inherit;
  margin-top: 0 !important;
}
.cta-band p {
  color: inherit;
  opacity: 0.85;
}
.wp-block-button.is-style-cta .wp-block-button__link {
  background-color: var(--wp--preset--color--accent);
  color: #fff;
  border: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.wp-block-button.is-style-cta .wp-block-button__link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--wp--preset--color--tertiary);
}
.footer-brand .wp-block-site-title a {
  font-size: var(--wp--custom--font-size--normal);
  transition: color 0.2s ease;
}
.footer-brand .wp-block-site-title a:hover {
  color: var(--wp--preset--color--accent);
}
.footer-tagline {
  margin-top: 0.5em;
  color: var(--wp--preset--color--primary);
  opacity: 0.7;
  max-width: 32ch;
}
.footer-navigation .wp-block-navigation__container {
  gap: 0.5em !important;
}
.footer-navigation .wp-block-navigation-item__content {
  transition: color 0.2s ease;
}
.footer-navigation .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--accent);
}
/* --- Separators (wp:separator) ---
   A soft edge-to-edge gradient fade instead of a flat full-width
   line, with a small rotated accent square marking the center. */
.wp-block-separator {
  position: relative;
  border: none !important;
  height: 1px !important;
  max-width: 320px;
  background: linear-gradient(
    to right,
    transparent,
    var(--wp--preset--color--tertiary) 20%,
    var(--wp--preset--color--tertiary) 80%,
    transparent
  ) !important;
  opacity: 1 !important;
  margin: clamp(2rem, 5vw, 3.5rem) auto !important;
  overflow: visible;
}
.wp-block-separator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background-color: var(--wp--preset--color--accent);
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
}
.wp-block-separator.is-style-wide {
  max-width: 100%;
}
.footer-copyright,
.footer-credit,
.footer-legal-links {
  font-size: var(--wp--preset--font-sizes--small, 0.9rem);
  opacity: 0.7;
  margin: 0;
}
.footer-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.footer-legal-links a:hover {
  color: var(--wp--preset--color--accent);
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin: 2rem auto;
  max-width: var(--wp--style--global--wide-size, 1280px);
  padding-inline: 1.5rem;
}
.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--wp--preset--color--tertiary);
  color: var(--wp--preset--color--primary);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social__link svg {
  width: 17px;
  height: 17px;
}
.footer-social__link:hover {
  background-color: var(--wp--preset--color--accent);
  border-color: var(--wp--preset--color--accent);
  color: #fff;
  transform: translateY(-2px);
}
/* Each platform's own colour on hover, instead of the generic accent
   — same idea as the skill icons on the Compétences/Skills page. */
.footer-social__link--email:hover {
  background-color: #ea4335;
  border-color: #ea4335;
}
.footer-social__link--linkedin:hover {
  background-color: #0a66c2;
  border-color: #0a66c2;
}
.footer-social__link--whatsapp:hover {
  background-color: #25d366;
  border-color: #25d366;
}
.footer-social__link--malt:hover {
  background-color: #fc5757;
  border-color: #fc5757;
}

/* --- Generic page template --- */
.page-header {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}
.page-main {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* --- Skills grid (Compétences / Skills page) --- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  max-width: var(--wp--style--global--content-size, 664px);
  margin: clamp(2rem, 5vw, 3rem) auto 0;
}
.skill-card {
  padding: clamp(1.75rem, 4vw, 2.25rem) 1.5rem;
  border-radius: 20px;
  background-color: var(--wp--preset--color--tertiary);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -18px rgba(0, 0, 0, 0.22);
}
.skill-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--primary);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.skill-card:hover .skill-card__icon {
  background-color: var(--wp--preset--color--accent);
  color: #fff;
}
/* Each brand's own colour on hover, instead of the generic accent */
.skill-card--php:hover .skill-card__icon {
  background-color: #777bb4;
}
.skill-card--sass:hover .skill-card__icon {
  background-color: #cc6699;
}
.skill-card--wordpress:hover .skill-card__icon {
  background-color: #21759b;
}
.skill-card--anthropic:hover .skill-card__icon {
  background-color: #d97757;
}
.skill-card__icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.skill-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.skill-card p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.5;
}

/* --- Scroll-reveal (progressively enhanced, see theme.js) ---
   theme.js adds "js-armed" itself, so with JS disabled/blocked the
   content simply stays in its normal, fully visible state. */
.reveal.js-armed {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.js-armed.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal.js-armed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 782px) {
  .hero-content {
    text-align: left;
  }
  .cta-band {
    text-align: center;
  }
}

/* --- Contact form ---
   Modern floating labels (pure CSS, no JS needed for the label
   animation itself), rounded fields, accent focus ring, and a
   primary CTA button matching the rest of the site. */
.contact-form {
  max-width: 560px;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
}
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.contact-form__field {
  position: relative;
  margin-bottom: 1.5em;
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 1.35em 1em 0.55em;
  font-family: inherit;
  font-size: 1rem;
  color: var(--wp--preset--color--primary);
  background-color: var(--wp--preset--color--background);
  border: 1.5px solid var(--wp--preset--color--tertiary);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form__field textarea {
  resize: vertical;
  min-height: 8em;
}
.contact-form__field label {
  position: absolute;
  left: 1em;
  top: 1.1em;
  font-size: 1rem;
  color: color-mix(in srgb, var(--wp--preset--color--primary) 60%, transparent);
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease, font-weight 0.2s ease;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--wp--preset--color--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--wp--preset--color--accent) 15%, transparent);
}
.contact-form__field input:focus + label,
.contact-form__field input:not(:placeholder-shown) + label,
.contact-form__field textarea:focus + label,
.contact-form__field textarea:not(:placeholder-shown) + label {
  top: 0.5em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wp--preset--color--accent);
}
.contact-form__submit {
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 999px;
  padding: 1em 2em;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--wp--preset--color--accent);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}
.contact-form__submit span::after {
  content: "→";
  display: inline-block;
  margin-left: 0.6em;
  transition: transform 0.25s ease;
}
.contact-form__submit:hover {
  background-color: color-mix(in srgb, var(--wp--preset--color--accent) 85%, #000);
  transform: translateY(-2px);
}
.contact-form__submit:hover span::after {
  transform: translateX(4px);
}
.contact-form__notice {
  margin-top: 1.25em;
  padding: 0.9em 1.1em;
  border-radius: 10px;
  font-size: 0.95rem;
}
.contact-form__notice--success {
  background-color: color-mix(in srgb, #22c55e 15%, transparent);
  color: #15803d;
}
.contact-form__notice--error {
  background-color: color-mix(in srgb, #ef4444 15%, transparent);
  color: #b91c1c;
}

/* --- Project page screenshots ---
   Curtain-wipe reveal on scroll, a subtle pointer-tilt on hover, and
   click-to-expand into a lightbox (see theme.js). */
.project-shot {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  perspective: 800px;
}
.project-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--wp--preset--color--accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.project-shot.reveal.js-armed {
  opacity: 1;
  transform: none;
}
.project-shot.reveal.js-armed::after {
  transform: scaleX(1);
}
.project-shot.reveal.js-armed.is-visible::after {
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.project-shot img {
  display: block;
  width: 100%;
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.project-carousel .project-shot img {
  max-height: 360px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}
.project-shot img:focus-visible {
  outline: 2px solid var(--wp--preset--color--accent);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .project-shot::after {
    display: none;
  }
  .project-shot img {
    transition: none;
  }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 5vw;
  background: rgba(5, 5, 10, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.is-open img {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}
@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox img {
    transition: none;
  }
}

/* --- Cookie consent banner --- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 2000;
  width: min(680px, calc(100% - 32px));
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--primary);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  padding: 1.25em 1.5em;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25em;
}
.cookie-banner__text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-banner__text a {
  color: var(--wp--preset--color--accent);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.6em;
  flex-shrink: 0;
}
.cookie-banner__btn {
  border-radius: 999px;
  padding: 0.6em 1.3em;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--wp--preset--color--tertiary);
  background-color: transparent;
  color: var(--wp--preset--color--primary);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.cookie-banner__btn--reject:hover {
  background-color: var(--wp--preset--color--tertiary);
}
.cookie-banner__btn--accept {
  border-color: var(--wp--preset--color--accent);
  background-color: var(--wp--preset--color--accent);
  color: #fff;
}
.cookie-banner__btn--accept:hover {
  background-color: color-mix(in srgb, var(--wp--preset--color--accent) 85%, #000);
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: none;
  }
}
@media (max-width: 480px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions {
    justify-content: flex-end;
  }
}

/* --- Floating action buttons (back-to-top, cookie settings) --- */
.fab {
  position: fixed;
  bottom: 20px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}
.fab svg {
  width: 20px;
  height: 20px;
}
.fab.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}
.fab:hover {
  background-color: var(--wp--preset--color--accent);
  color: #fff;
}
.fab--back-to-top {
  right: 20px;
}
.fab--cookie {
  left: 20px;
  /* The button IS the shield — no circular badge behind it. */
  background: none;
  box-shadow: none;
}
.fab--cookie svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
  transition: transform 0.2s ease;
}
.fab--cookie:hover {
  background: none;
}
.fab--cookie:hover svg {
  transform: scale(1.08);
}
/* The cookie-settings button is always available, not scroll-gated */
.fab--cookie.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .fab {
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }
}

/* --- "Nous trouver" location section --- */
.location-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5em;
  max-width: 440px;
  margin: 1.5em auto 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    var(--wp--preset--color--background) 0%,
    color-mix(in srgb, var(--wp--preset--color--accent) 6%, var(--wp--preset--color--background)) 100%
  );
  border: 1px solid var(--wp--preset--color--tertiary);
  border-radius: 24px;
  padding: clamp(2.5rem, 6vw, 3.5rem);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 30px 60px -20px rgba(0, 0, 0, 0.22);
}
.location-map {
  position: relative;
  width: 100%;
  max-width: 220px;
}
.location-map::before {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent) 0%, transparent 70%);
  filter: blur(18px);
}
.location-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.location-map__island {
  fill: color-mix(in srgb, var(--wp--preset--color--accent) 10%, var(--wp--preset--color--background));
  stroke: var(--wp--preset--color--accent);
  stroke-width: 4;
}
.location-map__pin {
  fill: var(--wp--preset--color--accent);
}
.location-map__pin-dot {
  fill: var(--wp--preset--color--background);
}
.location-map__pulse {
  fill: none;
  stroke: var(--wp--preset--color--accent);
  stroke-width: 2;
  opacity: 0.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: location-pulse 2.4s ease-out infinite;
}
@keyframes location-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .location-map__pulse {
    animation: none;
    opacity: 0.3;
  }
}

/* --- Project carousel (Nos projets) ---
   Base state (no JS): slides just stack normally, fully readable.
   Once theme.js confirms it can run, .js-armed switches it into an
   actual sliding carousel with arrows + dots. */
.project-carousel {
  position: relative;
  margin-top: 2rem;
}
.project-carousel__slide {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.project-carousel__controls {
  display: none;
}

.project-carousel.js-armed .project-carousel__viewport {
  overflow: hidden;
  transition: height 0.4s ease;
}
.project-carousel.js-armed .project-carousel__track {
  display: flex;
  align-items: flex-start;
  cursor: grab;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.project-carousel.js-armed .project-carousel__track.is-dragging {
  cursor: grabbing;
}
.project-carousel.js-armed .project-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

/* Controls sit in their own row below the slide, never overlapping
   the (variable-height) content above. */
.project-carousel.js-armed .project-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  margin-top: 2rem;
}
.project-carousel.js-armed .project-carousel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background-color: var(--wp--preset--color--tertiary);
  color: var(--wp--preset--color--primary);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.project-carousel.js-armed .project-carousel__arrow svg {
  width: 18px;
  height: 18px;
}
.project-carousel.js-armed .project-carousel__arrow:hover {
  background-color: var(--wp--preset--color--accent);
  color: #fff;
}

.project-carousel.js-armed .project-carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.project-carousel.js-armed .project-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background-color: var(--wp--preset--color--tertiary);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.project-carousel.js-armed .project-carousel__dot.is-active {
  background-color: var(--wp--preset--color--accent);
  transform: scale(1.3);
}

@media (prefers-reduced-motion: reduce) {
  .project-carousel.js-armed .project-carousel__viewport,
  .project-carousel.js-armed .project-carousel__track {
    transition: none;
  }
}

/* --- Tech news ticker (homepage, below the hero) --- */
.news-ticker-wrap {
  margin-top: clamp(1.5rem, 4vw, 2.5rem) !important;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem) !important;
}
/* The wrapping group's "constrained" layout caps direct children to
   the narrow content width by default (it's meant for post content);
   the ticker itself should fill the full "wide" wrapper instead. */
.news-ticker-wrap.is-layout-constrained > * {
  max-width: none;
  width: 100%;
}
.news-ticker {
  display: flex;
  align-items: stretch;
  width: 100%;
  background-color: var(--wp--preset--color--tertiary);
  border-radius: 999px;
  overflow: hidden;
}
.news-ticker__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.7em clamp(1rem, 4vw, 2rem);
  background-color: var(--wp--preset--color--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
}
.news-ticker__label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #fff;
  animation: news-ticker-blink 1.8s ease-in-out infinite;
}
@keyframes news-ticker-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
.news-ticker__viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.news-ticker__track {
  display: flex;
  width: max-content;
  animation: news-ticker-scroll 55s linear infinite;
}
.news-ticker__viewport:hover .news-ticker__track {
  animation-play-state: paused;
}
.news-ticker__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-ticker__list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.news-ticker__list li::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--wp--preset--color--contrast) 30%, transparent);
  margin: 0 clamp(1rem, 3vw, 1.75rem);
}
.news-ticker__list a {
  font-size: 0.9rem;
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
}
.news-ticker__list a:hover {
  color: var(--wp--preset--color--accent);
  text-decoration: underline;
}
@keyframes news-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-ticker__track {
    animation: none;
  }
  .news-ticker__viewport {
    overflow-x: auto;
  }
}

/*# sourceMappingURL=theme.css.map */
