/*
Theme Name: Dr Nahid Yesfi — Editable Blocks
Theme URI: https://nahidyesfi.ma
Author: Dr Nahid Yesfi
Author URI: https://nahidyesfi.ma
Description: Thème WordPress Full Site Editing entièrement modifiable pour le cabinet Dr Nahid Yesfi. Tous les textes, images, icônes, couleurs, tailles, espacements, sections, header et footer sont éditables avec Gutenberg.
Version: 2.1.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nahidyesfi-editable
Tags: block-patterns, block-styles, custom-colors, custom-logo, editor-style, full-site-editing, rtl-language-support
*/

:root {
  --ny-pink: #df1679;
  --ny-pink-deep: #b90d61;
  --ny-pink-soft: #ffe5f2;
  --ny-blue: #6495b9;
  --ny-blue-deep: #356d93;
  --ny-cyan: #16acd0;
  --ny-navy: #14384d;
  --ny-navy-deep: #0b293b;
  --ny-ice: #edf7fb;
  --ny-text: #526f80;
  --ny-muted: #78909d;
  --ny-radius: 30px;
  --ny-shadow: 0 28px 75px rgba(24,73,101,.13), inset 0 1px 0 rgba(255,255,255,.9);
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { transition: color .2s ease, transform .25s ease, box-shadow .25s ease; }
[dir="rtl"], .ny-ar { direction: rtl; font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
.ny-ar { text-align: right; }
::selection { color: #fff; background: var(--ny-pink); }

/* User-selectable block styles */
.wp-block-group.is-style-ny-glass {
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 30px;
  background: linear-gradient(145deg,rgba(255,255,255,.69),rgba(255,255,255,.3));
  box-shadow: var(--ny-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}
.wp-block-group.is-style-ny-soft-card { padding: 24px; border: 1px solid rgba(255,255,255,.9); border-radius: 24px; background: rgba(255,255,255,.6); box-shadow: 0 18px 45px rgba(24,73,101,.09); }
.wp-block-image.is-style-ny-rounded img { border-radius: 26px; box-shadow: var(--ny-shadow); }
.wp-block-button.is-style-ny-glass-button .wp-block-button__link { color: var(--ny-navy); border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.58); box-shadow: 0 12px 28px rgba(24,73,101,.09); }

/* Editable glass primitives */
.ny-glass {
  border: 1px solid rgba(255,255,255,.8);
  background: linear-gradient(145deg,rgba(255,255,255,.69),rgba(255,255,255,.3));
  box-shadow: var(--ny-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}
.ny-rounded { border-radius: var(--ny-radius); overflow: hidden; }
.ny-soft-shadow { box-shadow: var(--ny-shadow); }
.ny-label {
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgba(223,22,121,.14);
  border-radius: 999px;
  color: var(--ny-pink);
  background: rgba(255,255,255,.58);
  box-shadow: inset 0 1px 0 #fff;
  font-size: 10px;
  font-weight: 800;
}
.ny-label-center { margin-inline: auto; }
.ny-section { position: relative; overflow: hidden; }
.ny-section-title { color: var(--ny-navy); font-weight: 900; line-height: .98; letter-spacing: -.055em; }
.ny-section-title strong { color: var(--ny-pink); }
.ny-section-ar { color: var(--ny-blue-deep); font-weight: 800; line-height: 1.18; }
.ny-section-ar strong { color: var(--ny-navy); }

/* Page content is the Easy Mode: sections stay edge-to-edge and reorderable. */
.ny-page-sections { margin-block: 0; }
.ny-page-sections > * { margin-block-start: 0; }

/* Header template part — every block stays editable */
.ny-fse-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.72);
  background: rgba(244,250,253,.86);
  box-shadow: 0 10px 35px rgba(20,56,77,.07);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}
body.admin-bar .ny-fse-header { top: 32px; }
.ny-header-inner { min-height: 84px; }
.ny-header-brand { min-width: 235px; }
.ny-header-brand .wp-block-site-logo img { border-radius: 14px; }
.ny-header-brand .wp-block-site-title { color: var(--ny-navy); font-weight: 900; line-height: 1.1; }
.ny-header-brand .wp-block-site-tagline { margin-top: 4px; color: var(--ny-pink); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.ny-fse-header .wp-block-navigation { color: var(--ny-navy); font-size: 12px; font-weight: 750; }
.ny-fse-header .wp-block-navigation-item__content:hover { color: var(--ny-pink); }
.ny-header-rdv .wp-block-button__link { box-shadow: 0 13px 30px rgba(223,22,121,.24), inset 0 1px 0 rgba(255,255,255,.4); }

/* Hero pattern */
.ny-fse-hero {
  padding-block: clamp(20px,4vw,46px) clamp(42px,6vw,76px);
  background:
    radial-gradient(circle at 8% 8%,rgba(223,22,121,.09),transparent 28%),
    radial-gradient(circle at 90% 16%,rgba(100,149,185,.21),transparent 30%),
    linear-gradient(180deg,#f8fcfe,#edf7fb);
}
.ny-hero-shell {
  position: relative;
  min-height: 650px;
  padding: clamp(25px,4vw,52px);
  border-radius: 42px;
}
.ny-hero-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -180px;
  right: -130px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(100,149,185,.35),rgba(100,149,185,.05) 60%,transparent 70%);
  pointer-events: none;
}
.ny-hero-columns { position: relative; z-index: 2; }
.ny-hero-copy h1 { margin-top: 22px; color: var(--ny-navy); font-size: clamp(48px,5.6vw,78px); font-weight: 900; line-height: .94; letter-spacing: -.067em; }
.ny-hero-copy h1 strong { color: var(--ny-pink); }
.ny-hero-copy .ny-ar { color: var(--ny-blue-deep); }
.ny-dual-copy { gap: clamp(10px,2vw,20px); }
.ny-dual-copy > .wp-block-column:last-child { padding-left: 18px; border-left: 1px solid rgba(223,22,121,.16); }
.ny-hero-actions .wp-block-button__link { min-height: 53px; display: inline-flex; align-items: center; box-shadow: 0 14px 30px rgba(223,22,121,.22); }
.ny-hero-actions .is-style-outline .wp-block-button__link { color: var(--ny-navy); border-color: rgba(255,255,255,.86); background: rgba(255,255,255,.5); }
.ny-trust-row { margin-top: 18px; color: #597687; font-size: 11px; font-weight: 750; }
.ny-trust-chip { padding: 7px 11px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; background: rgba(255,255,255,.44); }
.ny-portrait-wrap { position: relative; min-height: 555px; }
.ny-doctor-photo { position: absolute; z-index: 2; right: 4%; bottom: -52px; width: min(92%,410px); }
.ny-doctor-photo img { width: 100%; height: 560px; object-fit: cover; object-position: center 14%; border: 1px solid rgba(255,255,255,.9); border-radius: 215px 215px 32px 32px; box-shadow: 0 32px 70px rgba(29,78,105,.2); }
.ny-doctor-photo::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 22%; border-radius: 0 0 32px 32px; background: linear-gradient(transparent,rgba(214,236,245,.92)); pointer-events: none; }
.ny-portrait-orbit { position: absolute; top: 10%; right: -3%; width: 98%; aspect-ratio: 1; border: 1px solid rgba(100,149,185,.22); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.13),0 0 0 88px rgba(100,149,185,.03); }
.ny-float-card { position: absolute; z-index: 4; min-width: 175px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.86); border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: 0 16px 40px rgba(31,79,106,.15); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ny-float-card p { margin: 0; color: var(--ny-navy); font-size: 12px; font-weight: 850; }
.ny-float-card p + p { margin-top: 3px; color: var(--ny-blue-deep); font-size: 10px; font-weight: 650; }
.ny-float-card-one { top: 16%; right: -2%; }
.ny-float-card-two { left: -2%; bottom: 18%; }

/* Section heading pattern */
.ny-centered-head { max-width: 850px; margin-inline: auto; text-align: center; }
.ny-centered-head .ny-section-ar { text-align: center; }

/* Expertise cards */
.ny-expertise-section { padding-block: clamp(65px,8vw,115px); background: linear-gradient(180deg,#f8fcfe,#eaf5fa); }
.ny-expertise-cards { gap: 16px; }
.ny-feature-card { position: relative; min-height: 520px; padding: clamp(16px,2vw,20px); border-radius: 29px; transition: transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s ease; }
.ny-feature-card:hover { transform: translateY(-9px); box-shadow: 0 36px 90px rgba(24,73,101,.2); }
.ny-feature-card .ny-feature-visual { width: 100%; height: 245px; margin: 0 0 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.82); border-radius: 22px; background: rgba(226,241,247,.65); }
.ny-feature-card .ny-feature-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.ny-feature-card:hover .ny-feature-visual img { transform: scale(1.08) translateY(-2px); }
.ny-feature-card .ny-feature-veins img { object-position: center 44%; }
.ny-feature-card > h3,.ny-feature-card > h4,.ny-feature-card > p { margin-inline: 6px; }
.ny-feature-card h3 { margin: 0; color: var(--ny-navy); font-size: 28px; font-weight: 900; letter-spacing: -.04em; }
.ny-feature-card .ny-ar { margin-top: 5px; color: var(--ny-pink); font-size: 19px; font-weight: 750; }
.ny-feature-card p { color: #647e8e; font-size: 12px; line-height: 1.65; }
.ny-feature-dark { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.2); background: linear-gradient(145deg,rgba(20,56,77,.97),rgba(53,109,147,.9)); box-shadow: 0 30px 75px rgba(20,56,77,.22); }
.ny-feature-dark h3 { color: #fff; }
.ny-feature-dark .ny-ar { color: #ff8fc5; }
.ny-feature-dark p { color: rgba(255,255,255,.7); }

/* About pattern */
.ny-about-section { padding-block: clamp(70px,9vw,125px); background: radial-gradient(circle at 0 50%,rgba(223,22,121,.08),transparent 30%),#f9fcfe; }
.ny-about-columns { gap: clamp(35px,6vw,80px); }
.ny-logo-card { min-height: 520px; padding: 45px; display: flex; align-items: center; justify-content: center; border-radius: 38px; }
.ny-logo-card .wp-block-image { width: min(80%,390px); }
.ny-logo-card .wp-block-image img { filter: drop-shadow(0 20px 28px rgba(26,76,104,.13)); }
.ny-about-copy .ny-section-title { font-size: clamp(42px,5vw,65px); }
.ny-qualification-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ny-qualification { min-height: 100px; padding: 15px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: rgba(255,255,255,.55); box-shadow: inset 0 1px 0 #fff; }
.ny-qualification .wp-block-image { width: 40px; flex: 0 0 40px; margin: 0; }
.ny-qualification p { margin: 0; color: var(--ny-navy); font-size: 11px; font-weight: 800; }
.ny-qualification .ny-ar { margin-top: 4px; color: var(--ny-blue-deep); font-size: 10px; font-weight: 650; }

/* Services — all cards are normal editable Groups */
.ny-cardio-section { padding-block: clamp(70px,9vw,125px); color: #fff; background: linear-gradient(145deg,#0b293b,#245c7a); }
.ny-cardio-section .ny-label { color: #ff8fc5; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.07); }
.ny-cardio-section .ny-section-title { color: #fff; }
.ny-cardio-section .ny-section-title strong { color: #ff8fc5; }
.ny-cardio-section .ny-section-ar { color: #b8d9e8; }
.ny-cardio-section .ny-section-ar strong { color: #fff; }
.ny-service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.ny-service-card { min-height: 89px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.075); box-shadow: inset 0 1px 0 rgba(255,255,255,.09); transition: transform .25s ease,background .25s ease; }
.ny-service-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); }
.ny-service-card .wp-block-image { width: 45px; flex: 0 0 45px; margin: 0; }
.ny-service-card p { margin: 0; color: #fff; font-size: 12px; font-weight: 800; }
.ny-service-card .ny-ar { margin-top: 4px; color: #b7d4e2; font-size: 10.5px; font-weight: 650; }
.ny-phlebo-section { padding-block: clamp(70px,9vw,120px); background: radial-gradient(circle at 100% 0,rgba(223,22,121,.14),transparent 32%),linear-gradient(180deg,#fff8fc,#edf7fb); }
.ny-phlebo-section .ny-service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ny-phlebo-section .ny-service-card { min-height: 125px; border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.58); box-shadow: 0 17px 45px rgba(24,73,101,.08),inset 0 1px 0 #fff; }
.ny-phlebo-section .ny-service-card p { color: var(--ny-navy); }
.ny-phlebo-section .ny-service-card .ny-ar { color: var(--ny-blue-deep); }
.ny-medical-note { max-width: 780px; margin-inline: auto; padding: 14px 18px; border: 1px solid rgba(223,22,121,.14); border-radius: 15px; background: rgba(255,255,255,.55); text-align: center; font-size: 11px; }

/* Journey */
.ny-journey-section { padding-block: clamp(70px,9vw,120px); background: linear-gradient(180deg,#f8fcfe,#eaf5fa); }
.ny-step-card { min-height: 280px; padding: 27px; border-radius: 28px; }
.ny-step-card .wp-block-image { width: 58px; margin: 0 0 28px; }
.ny-step-card h3 { color: var(--ny-navy); font-size: 26px; font-weight: 900; letter-spacing: -.04em; }
.ny-step-card .ny-ar { color: var(--ny-blue-deep); font-size: 18px; font-weight: 750; }
.ny-step-card p { color: #688190; font-size: 12px; line-height: 1.65; }

/* FAQ */
.ny-faq-section { padding-block: clamp(70px,9vw,120px); background: radial-gradient(circle at 8% 18%,rgba(100,149,185,.15),transparent 30%),#f8fcfe; }
.ny-faq-columns { gap: clamp(35px,6vw,75px); }
.ny-faq-copy .ny-section-title { font-size: clamp(41px,5vw,65px); }
.ny-faq-list .wp-block-details { margin-bottom: 10px; padding: 0; overflow: hidden; border-radius: 20px; }
.ny-faq-list summary { min-height: 78px; padding: 18px 20px; display: flex; align-items: center; color: var(--ny-navy); font-size: 12px; font-weight: 850; cursor: pointer; }
.ny-faq-list .wp-block-details > :not(summary) { margin-inline: 20px; }
.ny-faq-list .wp-block-details > p:last-child { margin-bottom: 20px; }
.ny-faq-list .ny-ar { color: var(--ny-blue-deep); }

/* Editable appointment section and dynamic block */
.ny-rdv-section { padding-block: clamp(70px,9vw,120px); color: #fff; background: linear-gradient(145deg,#102f42,#2a6381); }
.ny-rdv-shell { padding: clamp(24px,4vw,48px); border-color: rgba(255,255,255,.2); border-radius: 38px; background: linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.05)); box-shadow: 0 38px 90px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.25); }
.ny-rdv-shell > .wp-block-columns { gap: clamp(30px,5vw,60px); }
.ny-rdv-copy .ny-label { color: #ff8fc5; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.07); }
.ny-rdv-copy .ny-section-title { color: #fff; }
.ny-rdv-copy .ny-section-title strong { color: #ff8fc5; }
.ny-rdv-copy .ny-section-ar { color: #b8d9e8; }
.ny-contact-chip { padding: 11px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.055); }
.ny-contact-chip .wp-block-image { width: 40px; flex: 0 0 40px; margin: 0; }
.ny-contact-chip p { margin: 0; color: rgba(255,255,255,.52); font-size: 9px; }
.ny-contact-chip p + p { margin-top: 3px; color: #fff; font-size: 12px; font-weight: 850; }

/* Contact & map */
.ny-contact-section { padding-block: clamp(70px,9vw,120px); background: linear-gradient(180deg,#f8fcfe,#eaf5fa); }
.ny-contact-columns { gap: clamp(35px,6vw,75px); }
.ny-map-card { position: relative; min-height: 500px; border-radius: 36px; background: linear-gradient(145deg,rgba(214,235,244,.84),rgba(255,255,255,.42)); }
.ny-map-card::before,.ny-map-card::after { content: ""; position: absolute; z-index: 0; left: -15%; width: 130%; height: 18px; border-radius: 20px; background: rgba(255,255,255,.85); box-shadow: 0 2px 3px rgba(40,85,110,.05); }
.ny-map-card::before { top: 36%; transform: rotate(9deg); }
.ny-map-card::after { top: 61%; transform: rotate(-12deg); }
.ny-map-logo { position: absolute; z-index: 2; top: 42%; left: 50%; width: 74px; padding: 10px; border: 4px solid rgba(255,255,255,.9); border-radius: 23px 23px 23px 7px; background: var(--ny-navy); box-shadow: 0 18px 38px rgba(20,56,77,.25); transform: translate(-50%,-50%) rotate(-45deg); }
.ny-map-logo img { transform: rotate(45deg); }
.ny-map-button { position: absolute; z-index: 3; right: 20px; bottom: 20px; left: 20px; }
.ny-map-button .wp-block-button,.ny-map-button .wp-block-button__link { width: 100%; }
.ny-contact-copy .ny-section-title { font-size: clamp(42px,5vw,68px); }
.ny-address-card { padding: 18px; border-left: 3px solid var(--ny-pink); border-radius: 0 15px 15px 0; background: rgba(255,255,255,.55); }
.ny-address-card p { margin: 0; color: var(--ny-navy); font-size: 13px; font-weight: 800; }
.ny-address-card p + p { margin-top: 4px; color: #6c8593; font-size: 11px; font-weight: 500; }
.ny-hours-card { padding: 15px; border-radius: 18px; }
.ny-hour-row { min-height: 43px; border-bottom: 1px solid rgba(100,149,185,.13); }
.ny-hour-row:last-child { border-bottom: 0; }
.ny-hour-row p { margin: 0; font-size: 10px; }
.ny-hour-row p:first-child { color: var(--ny-navy); font-weight: 800; }
.ny-hour-row p:last-child { color: var(--ny-blue-deep); font-weight: 850; }

/* Footer part */
.ny-fse-footer { padding-block: 58px 24px; color: rgba(255,255,255,.62); background: var(--ny-navy-deep); }
.ny-footer-main { gap: clamp(28px,5vw,65px); }
.ny-footer-brand .wp-block-site-logo img { border-radius: 16px; }
.ny-footer-brand .wp-block-site-title { color: #fff; font-weight: 900; }
.ny-footer-brand .wp-block-site-tagline { color: #ff8fc5; }
.ny-footer-title { color: #fff; font-size: 28px; font-weight: 900; letter-spacing: -.04em; }
.ny-footer-ar { color: #ff8fc5; font-size: 19px; font-weight: 750; }
.ny-footer-links a { color: rgba(255,255,255,.68); }
.ny-footer-links a:hover { color: #ff8fc5; }
.ny-footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.36); font-size: 9px; }

/* Motion layer — progressive enhancement, disabled when users prefer reduced motion. */
.ny-motion-ready .ny-animate { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .75s cubic-bezier(.22,1,.36,1),transform .75s cubic-bezier(.22,1,.36,1); transition-delay: var(--ny-delay,0ms); will-change: opacity,transform; }
.ny-motion-ready .ny-animate.ny-in { opacity: 1; transform: translateY(0) scale(1); }
@keyframes nyFloatCard { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(.35deg); } }
@keyframes nyPortraitFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes nyOrbitPulse { 0%,100% { transform: scale(.96); opacity: .55; } 50% { transform: scale(1.035); opacity: 1; } }
@keyframes nyIconPulse { 0%,100% { filter: drop-shadow(0 0 0 rgba(223,22,121,0)); } 50% { filter: drop-shadow(0 8px 13px rgba(223,22,121,.18)); } }
.ny-float-card { animation: nyFloatCard 5.8s ease-in-out infinite; }
.ny-float-card-two { animation-delay: -2.4s; }
.ny-doctor-photo { animation: nyPortraitFloat 7s ease-in-out infinite; }
.ny-portrait-orbit { animation: nyOrbitPulse 6.5s ease-in-out infinite; transform-origin: center; }
.ny-service-card .wp-block-image img,.ny-step-card .wp-block-image img,.ny-qualification .wp-block-image img { animation: nyIconPulse 5s ease-in-out infinite; }
.ny-service-card:nth-child(2n) .wp-block-image img,.ny-qualification:nth-child(2n) .wp-block-image img { animation-delay: -2.5s; }
.ny-hero-shell { isolation: isolate; }
.ny-hero-shell::before { content: ""; position: absolute; z-index: 1; top: -60%; left: -18%; width: 120px; height: 210%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent); transform: rotate(24deg); animation: nyGlassShine 9s ease-in-out infinite; pointer-events: none; }
@keyframes nyGlassShine { 0%,22% { left: -22%; opacity: 0; } 38% { opacity: .65; } 62%,100% { left: 115%; opacity: 0; } }

/* Gutenberg editor usability */
.editor-styles-wrapper .ny-fse-header { position: relative; top: auto; }
.editor-styles-wrapper .ny-doctor-photo { position: relative; right: auto; bottom: auto; width: min(92%,410px); margin-inline: auto; }
.editor-styles-wrapper .ny-float-card { position: relative; inset: auto; width: max-content; margin: 8px; }
.editor-styles-wrapper .ny-map-logo { position: relative; top: auto; left: auto; margin: 100px auto 0; transform: rotate(-45deg); }
.editor-styles-wrapper .ny-float-card,.editor-styles-wrapper .ny-doctor-photo,.editor-styles-wrapper .ny-portrait-orbit,.editor-styles-wrapper .ny-service-card img,.editor-styles-wrapper .ny-step-card img,.editor-styles-wrapper .ny-qualification img { animation: none; }
.editor-styles-wrapper .ny-animate { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .ny-header-inner { flex-wrap: wrap; padding-block: 10px; }
  .ny-fse-header .wp-block-navigation { order: 3; width: 100%; }
  .ny-hero-columns,.ny-about-columns,.ny-faq-columns,.ny-contact-columns,.ny-rdv-shell > .wp-block-columns { flex-wrap: wrap !important; }
  .ny-hero-columns > .wp-block-column,.ny-about-columns > .wp-block-column,.ny-faq-columns > .wp-block-column,.ny-contact-columns > .wp-block-column,.ny-rdv-shell > .wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
  .ny-hero-copy,.ny-about-copy,.ny-faq-copy,.ny-contact-copy,.ny-rdv-copy { text-align: center; }
  .ny-hero-copy .ny-label,.ny-about-copy .ny-label,.ny-faq-copy .ny-label,.ny-contact-copy .ny-label,.ny-rdv-copy .ny-label { margin-inline: auto; }
  .ny-hero-actions,.ny-trust-row { justify-content: center; }
  .ny-portrait-wrap { width: min(100%,570px); margin-inline: auto; }
  .ny-logo-card { width: min(100%,590px); margin-inline: auto; }
  .ny-phlebo-section .ny-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ny-map-card { order: 2; }
  .ny-contact-copy { order: 1; }
  .ny-address-card,.ny-hours-card { text-align: left; }
}

@media (max-width: 782px) {
  body.admin-bar .ny-fse-header { top: 46px; }
  .ny-fse-header { position: relative; top: auto !important; }
  .ny-header-rdv { display: none; }
  .ny-header-brand { min-width: 0; }
  .ny-dual-copy { flex-wrap: wrap !important; }
  .ny-dual-copy > .wp-block-column { flex-basis: 100% !important; }
  .ny-dual-copy > .wp-block-column:last-child { padding: 12px 0 0; border-top: 1px solid rgba(223,22,121,.16); border-left: 0; }
  .ny-hero-shell { min-height: auto; border-radius: 28px; }
  .ny-hero-copy h1 { font-size: clamp(42px,12vw,59px); }
  .ny-portrait-wrap { min-height: 510px; }
  .ny-doctor-photo { right: 50%; width: min(84%,320px); transform: translateX(50%); }
  .ny-doctor-photo img { height: 500px; }
  .ny-portrait-orbit { right: 50%; width: 370px; transform: translateX(50%); }
  .ny-float-card-one { right: 0; }
  .ny-float-card-two { left: 0; }
  .ny-expertise-cards,.ny-journey-cards { flex-wrap: wrap !important; }
  .ny-expertise-cards > .wp-block-column,.ny-journey-cards > .wp-block-column { flex-basis: 100% !important; }
  .ny-feature-card { min-height: 330px; }
  .ny-qualification-grid,.ny-service-grid,.ny-phlebo-section .ny-service-grid { grid-template-columns: 1fr; }
  .ny-service-card,.ny-phlebo-section .ny-service-card { min-height: 86px; }
  .ny-map-card { min-height: 410px; }
  .ny-footer-main { flex-wrap: wrap !important; }
  .ny-footer-main > .wp-block-column { flex-basis: 100% !important; text-align: center; }
  .ny-footer-brand { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
