/*
 * Elena Doroshenko 2.1 Final — inner-page art direction.
 * Loaded LAST. It restores a coherent designed background system to every
 * internal page and keeps foreground/background contrast coupled.
 */

/* --------------------------------------------------------------------------
   Inner-page canvas
   -------------------------------------------------------------------------- */
body.ed-signature-v210.ed-inner-page {
  --ed-v210-paper: #fbf8f2;
  --ed-v210-paper-2: #f4eee5;
  --ed-v210-powder: #dce7ee;
  --ed-v210-powder-2: #cbdbe6;
  --ed-v210-blue: #315d8c;
  --ed-v210-blue-deep: #0b315a;
  --ed-v210-teal: #4f7d7b;
  --ed-v210-gold: #b88439;
  --ed-v210-gold-soft: #e8c982;
  --ed-v210-ink: #243746;
  --ed-v210-muted: #5f6f7c;
  background: var(--ed-v210-paper);
}

body.ed-signature-v210 .ed-inner-main,
body.ed-signature-v210 .ed-content-page {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--ed-v210-ink);
  background:
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)),
    url("../decor/paper-grain.svg"),
    var(--ed-v210-paper);
}

/* --------------------------------------------------------------------------
   Designed hero — clear geometric underlays, no smoke/cloud effect
   -------------------------------------------------------------------------- */
body.ed-signature-v210 .ed-inner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  padding: 22px 0 78px;
  color: var(--ed-v210-ink);
  background:
    linear-gradient(112deg, rgba(255,253,249,.99) 0 49%, rgba(239,245,248,.96) 49% 100%),
    url("../decor/paper-grain.svg");
}

body.ed-signature-v210 .ed-inner-hero::before {
  position: absolute;
  z-index: -2;
  top: -12%;
  right: -9%;
  width: min(63vw, 930px);
  height: 122%;
  content: "";
  background:
    radial-gradient(circle at 61% 39%, rgba(255,255,255,.36) 0 5%, transparent 5.4%),
    linear-gradient(145deg, rgba(112,151,181,.78), rgba(187,211,224,.70));
  border-radius: 48% 0 0 58% / 54% 0 0 46%;
  transform: rotate(-3deg);
  box-shadow: inset 1px 0 0 rgba(255,255,255,.48);
}

body.ed-signature-v210 .ed-inner-hero::after {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -4%;
  width: min(51vw, 760px);
  aspect-ratio: 1 / 1;
  content: "";
  background: transparent;
  border: 1px solid rgba(184,132,57,.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px rgba(255,255,255,.055),
    0 0 0 144px rgba(11,49,90,.035);
  transform: none;
  filter: none;
  pointer-events: none;
}

body.ed-signature-v210 .ed-inner-hero__wash {
  z-index: -1;
  top: auto;
  right: auto;
  bottom: -210px;
  left: -210px;
  width: 560px;
  height: 560px;
  background:
    radial-gradient(circle at center, rgba(232,201,130,.18) 0 43%, transparent 44%),
    transparent;
  border: 1px solid rgba(184,132,57,.16);
  border-radius: 50%;
  opacity: 1;
}

body.ed-signature-v210 .ed-breadcrumbs {
  position: relative;
  z-index: 2;
  padding: 16px 0 46px;
}

body.ed-signature-v210 .ed-inner-hero__grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .7fr);
  gap: clamp(48px, 7vw, 104px);
}

body.ed-signature-v210 .ed-inner-hero__copy {
  max-width: 790px;
  padding: clamp(18px, 3vw, 34px) 0;
}

body.ed-signature-v210 .ed-inner-hero__copy .ed-overline {
  color: #8e632b;
}

body.ed-signature-v210 .ed-inner-hero__copy h1 {
  max-width: 900px;
  color: var(--ed-navy);
  text-wrap: balance;
}

body.ed-signature-v210 .ed-inner-hero__copy > p {
  max-width: 710px;
  color: #536572;
}

body.ed-signature-v210 .ed-inner-hero__photo {
  width: min(100%, 400px);
  height: 480px;
  border: 7px solid rgba(255,253,249,.94);
  border-radius: 46% 46% 20px 20px / 27% 27% 20px 20px;
  box-shadow:
    0 30px 75px rgba(7,31,60,.20),
    18px 18px 0 rgba(255,255,255,.18);
}

body.ed-signature-v210 .ed-inner-hero__photo::after {
  position: absolute;
  z-index: -1;
  right: -42px;
  bottom: -35px;
  width: 72%;
  height: 47%;
  content: "";
  background: linear-gradient(145deg, rgba(232,201,130,.58), rgba(184,132,57,.30));
  border-radius: 54% 18% 38% 20%;
  transform: rotate(5deg);
}

/* --------------------------------------------------------------------------
   Section underlays — every inner page has visible but restrained art direction
   -------------------------------------------------------------------------- */
body.ed-signature-v210 .ed-inner-main > .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ed-v210-ink);
  background-color: var(--ed-v210-paper);
  background-image: url("../decor/paper-grain.svg");
  background-size: 230px 230px;
}

body.ed-signature-v210 .ed-inner-main > .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote)::before {
  position: absolute;
  z-index: -2;
  top: -140px;
  right: -190px;
  width: 560px;
  height: 430px;
  content: "";
  background: linear-gradient(145deg, rgba(216,230,238,.66), rgba(239,245,248,.24));
  border-radius: 44% 56% 58% 42% / 46% 42% 58% 54%;
  transform: rotate(-8deg);
  pointer-events: none;
}

body.ed-signature-v210 .ed-inner-main > .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote)::after {
  position: absolute;
  z-index: -1;
  bottom: -250px;
  left: -220px;
  width: 510px;
  height: 510px;
  content: "";
  border: 1px solid rgba(184,132,57,.14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 90px rgba(232,201,130,.035);
  pointer-events: none;
}

body.ed-signature-v210 .ed-inner-main > .ed-page-section--tint {
  color: var(--ed-v210-ink);
  background:
    linear-gradient(116deg, rgba(234,241,245,.94) 0 42%, rgba(248,244,236,.96) 42% 100%),
    url("../decor/paper-grain.svg");
}

body.ed-signature-v210 .ed-inner-main > .ed-page-section--tint::before {
  top: -32%;
  right: auto;
  left: -13%;
  width: 52vw;
  min-width: 520px;
  height: 150%;
  background: linear-gradient(145deg, rgba(111,151,180,.16), rgba(255,255,255,.08));
  border-radius: 0 58% 42% 0 / 0 42% 58% 0;
  transform: rotate(3deg);
}

body.ed-signature-v210 .ed-page-section > .ed-shell {
  position: relative;
  z-index: 2;
}

/* Light-surface foreground is explicitly dark. */
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote),
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) p,
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) li {
  color: var(--ed-v210-ink);
}
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) h1,
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) h2,
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) h3,
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) h4 {
  color: var(--ed-navy);
}
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) .ed-overline,
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) .ed-page-question {
  color: #8e632b;
}
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) .ed-section-heading p,
body.ed-signature-v210 .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) .ed-prose > p:not(.ed-copy-hook):not(.ed-page-question) {
  color: var(--ed-v210-muted);
}

/* --------------------------------------------------------------------------
   Cards: lift content from the designed underlays
   -------------------------------------------------------------------------- */
body.ed-signature-v210 .ed-fact-panel,
body.ed-signature-v210 .ed-principles-grid article,
body.ed-signature-v210 .ed-service-detail-grid,
body.ed-signature-v210 .ed-topic-grid article,
body.ed-signature-v210 .ed-compare-grid article,
body.ed-signature-v210 .ed-proof-bar > div,
body.ed-signature-v210 .ed-link-deck a,
body.ed-signature-v210 .ed-document-card,
body.ed-signature-v210 .ed-course-archive__item,
body.ed-signature-v210 .ed-publication-row,
body.ed-signature-v210 .ed-objection-box,
body.ed-signature-v210 .ed-boundary-wide {
  box-shadow: 0 18px 52px rgba(8,43,83,.075);
}

body.ed-signature-v210 .ed-principles-grid article,
body.ed-signature-v210 .ed-topic-grid article,
body.ed-signature-v210 .ed-compare-grid article,
body.ed-signature-v210 .ed-proof-bar > div,
body.ed-signature-v210 .ed-link-deck a,
body.ed-signature-v210 .ed-document-card,
body.ed-signature-v210 .ed-course-archive__item,
body.ed-signature-v210 .ed-publication-row {
  background: rgba(255,253,249,.94);
  border-color: rgba(11,47,87,.11);
}

body.ed-signature-v210 .ed-compare-grid article:last-child {
  background: linear-gradient(145deg, rgba(221,233,241,.94), rgba(250,248,243,.96));
}

body.ed-signature-v210 .ed-service-detail-grid {
  background: rgba(11,47,87,.10);
  border-color: rgba(11,47,87,.11);
}
body.ed-signature-v210 .ed-service-detail-grid article {
  color: var(--ed-v210-ink);
  background:
    radial-gradient(circle at 100% 0, rgba(112,151,181,.10), transparent 30%),
    rgba(255,253,249,.97);
}
body.ed-signature-v210 .ed-service-detail-grid article h2 { color: var(--ed-navy); }
body.ed-signature-v210 .ed-service-detail-grid article p { color: var(--ed-v210-muted); }

/* --------------------------------------------------------------------------
   Financial bands: foreground and surface are inseparable
   -------------------------------------------------------------------------- */
body.ed-signature-v210 .ed-page-section--financial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: #071f39;
  background-image:
    radial-gradient(circle at 92% 8%, rgba(98,151,151,.34), transparent 25%),
    linear-gradient(123deg, #071f39 0%, #0b315a 54%, #1a5c70 100%);
}
body.ed-signature-v210 .ed-page-section--financial::before {
  position: absolute;
  z-index: -1;
  top: -235px;
  right: -105px;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(232,201,130,.21);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 86px rgba(255,255,255,.018),
    inset 0 0 0 174px rgba(255,255,255,.014);
  pointer-events: none;
}
body.ed-signature-v210 .ed-page-section--financial,
body.ed-signature-v210 .ed-page-section--financial h2,
body.ed-signature-v210 .ed-page-section--financial h3,
body.ed-signature-v210 .ed-page-section--financial p,
body.ed-signature-v210 .ed-page-section--financial li { color: #fff; }
body.ed-signature-v210 .ed-page-section--financial p,
body.ed-signature-v210 .ed-page-section--financial li { color: rgba(255,255,255,.86); }
body.ed-signature-v210 .ed-page-section--financial .ed-overline { color: #f0d6a6; }
body.ed-signature-v210 .ed-page-section--financial .ed-benefit-list li,
body.ed-signature-v210 .ed-page-section--financial .ed-financial-feature li {
  color: rgba(255,255,255,.91);
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.16);
}

/* --------------------------------------------------------------------------
   Contacts — deliberately designed, not a plain form on a white page
   -------------------------------------------------------------------------- */
body.ed-signature-v210.ed-page-kontakty .ed-inner-main > .ed-inner-hero + .ed-page-section {
  background:
    linear-gradient(108deg, #eef4f7 0 46%, #fbf7ef 46% 100%),
    url("../decor/paper-grain.svg");
}
body.ed-signature-v210.ed-page-kontakty .ed-inner-main > .ed-inner-hero + .ed-page-section::before {
  top: 7%;
  right: 54%;
  left: auto;
  width: 470px;
  height: 470px;
  background: rgba(117,157,185,.12);
  border: 1px solid rgba(49,93,140,.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 92px rgba(255,255,255,.18);
  transform: translateX(50%);
}
body.ed-signature-v210.ed-page-kontakty .ed-contact-page__methods {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: rgba(255,253,249,.72);
  border: 1px solid rgba(11,47,87,.09);
  border-radius: 30px 30px 90px 30px;
  box-shadow: 0 24px 70px rgba(7,31,60,.08);
  backdrop-filter: blur(4px);
}
body.ed-signature-v210.ed-page-kontakty .ed-contact-page__methods::after {
  position: absolute;
  right: 28px;
  bottom: 25px;
  width: 72px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(184,132,57,.7), transparent);
}
body.ed-signature-v210.ed-page-kontakty .ed-contact-page__form {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 100% 0, rgba(214,229,237,.48), transparent 27%),
    rgba(255,253,249,.96);
  border: 1px solid rgba(11,47,87,.12);
  border-radius: 28px 28px 76px 28px;
  box-shadow: 0 30px 82px rgba(7,31,60,.12);
}
body.ed-signature-v210.ed-page-kontakty .ed-contact-page__form::before {
  position: absolute;
  top: -125px;
  right: -120px;
  width: 320px;
  height: 320px;
  content: "";
  border: 1px solid rgba(184,132,57,.18);
  border-radius: 50%;
  pointer-events: none;
}
body.ed-signature-v210.ed-page-kontakty .ed-contact-page__socials a,
body.ed-signature-v210.ed-page-kontakty .ed-contact-page__email {
  background: rgba(255,255,255,.88);
  border-color: rgba(11,47,87,.10);
  box-shadow: 0 10px 28px rgba(7,31,60,.045);
}
body.ed-signature-v210.ed-page-kontakty .ed-contact-page__note {
  color: #4c4a43;
  background: linear-gradient(145deg, #fff7e8, #fbf1df);
  border-color: rgba(184,132,57,.25);
}

/* --------------------------------------------------------------------------
   Contact-form legal card — cache-proof: CSS alone fixes native legend layout.
   We intentionally do not depend on PHP output rewriting.
   -------------------------------------------------------------------------- */
body.ed-signature-v210 .edf-form .edf-legal,
body.ed-signature-v210 .ed-contact-page__form .edf-legal,
body.ed-signature-v210 .ed-modal__dialog .edf-legal {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 13px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  margin: 10px 0 0 !important;
  padding: 26px !important;
  color: #263746 !important;
  background:
    radial-gradient(circle at 100% 0, rgba(49,93,140,.075), transparent 29%),
    linear-gradient(145deg, #f7f1e8, #fffdf9) !important;
  border: 0 !important;
  border-radius: 22px !important;
  box-shadow:
    inset 0 0 0 1px rgba(8,43,83,.13),
    0 16px 40px rgba(7,31,60,.055) !important;
  overflow: hidden !important;
}

/* Native legend is semantic only; browsers can no longer paint it on an edge. */
body.ed-signature-v210 .edf-form .edf-legal > legend,
body.ed-signature-v210 .edf-form .edf-legal > .edf-legal__legend,
body.ed-signature-v210 .ed-contact-page__form .edf-legal > legend,
body.ed-signature-v210 .ed-modal__dialog .edf-legal > legend {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  max-width: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Visible title is generated in normal flow, so it cannot overlap any border. */
body.ed-signature-v210 .edf-form .edf-legal::before,
body.ed-signature-v210 .ed-contact-page__form .edf-legal::before,
body.ed-signature-v210 .ed-modal__dialog .edf-legal::before {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  content: "Подтверждения и согласия" !important;
  margin: 0 0 3px !important;
  padding: 0 !important;
  color: #082b53 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--ed-serif, Georgia, "Times New Roman", serif) !important;
  font-size: clamp(1.48rem, 2.3vw, 1.9rem) !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em !important;
  transform: none !important;
}

/* If v2.0 injected a visual heading, suppress the duplicate. */
body.ed-signature-v210 .edf-legal > .edf-legal__heading { display: none !important; }

body.ed-signature-v210 .edf-legal > p {
  margin: 0 0 4px !important;
  color: #61717e !important;
  font-size: .98rem !important;
  line-height: 1.55 !important;
}
body.ed-signature-v210 .edf-legal .edf-consent {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 15px 17px !important;
  color: #344553 !important;
  background: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(8,43,83,.09) !important;
  border-radius: 15px !important;
  box-shadow: 0 7px 22px rgba(7,31,60,.025) !important;
  font-size: .98rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}
body.ed-signature-v210 .edf-legal .edf-consent--primary {
  background: linear-gradient(135deg, rgba(237,245,249,.98), rgba(255,255,255,.94)) !important;
  border-color: rgba(49,93,140,.22) !important;
}
body.ed-signature-v210 .edf-legal .edf-consent input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  margin: 1px 0 0 !important;
  accent-color: #0b3f70 !important;
}
body.ed-signature-v210 .edf-legal .edf-consent > span {
  min-width: 0 !important;
  color: #344553 !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: auto !important;
}
body.ed-signature-v210 .edf-legal .edf-consent a {
  color: #0a3a69 !important;
  font-weight: 700 !important;
}

/* --------------------------------------------------------------------------
   Generic / legal pages get the same visual language instead of a blank sheet
   -------------------------------------------------------------------------- */
body.ed-signature-v210 .ed-content-page {
  min-height: 70vh;
  padding: clamp(54px, 7vw, 94px) 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(111,151,180,.19), transparent 25%),
    linear-gradient(130deg, rgba(255,253,249,.97), rgba(244,238,229,.92)),
    url("../decor/paper-grain.svg");
}
body.ed-signature-v210 .ed-content-page::before {
  position: absolute;
  z-index: -1;
  top: 36px;
  right: -180px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(184,132,57,.16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 92px rgba(255,255,255,.16);
}
body.ed-signature-v210 .ed-content-page__inner {
  position: relative;
  z-index: 2;
}
body.ed-signature-v210 .ed-entry-header,
body.ed-signature-v210 .ed-entry-content {
  background: rgba(255,253,249,.86);
  border: 1px solid rgba(11,47,87,.10);
  box-shadow: 0 20px 56px rgba(7,31,60,.07);
  backdrop-filter: blur(4px);
}
body.ed-signature-v210 .ed-entry-header {
  border-radius: 28px 28px 0 0;
}
body.ed-signature-v210 .ed-entry-content {
  border-top: 0;
  border-radius: 0 0 28px 28px;
}

/* --------------------------------------------------------------------------
   Closing CTA — retain designed finish on every canonical inner page
   -------------------------------------------------------------------------- */
body.ed-signature-v210 .ed-inner-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 18%, rgba(75,133,145,.30), transparent 28%),
    linear-gradient(110deg, #071f3c, #0b3c67 63%, #1b6077);
}
body.ed-signature-v210 .ed-inner-cta::before {
  position: absolute;
  z-index: -1;
  top: -210px;
  right: -80px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(232,201,130,.20);
  border-radius: 50%;
  box-shadow: inset 0 0 0 82px rgba(255,255,255,.018);
}
body.ed-signature-v210 .ed-inner-cta,
body.ed-signature-v210 .ed-inner-cta h2 { color: #fff; }
body.ed-signature-v210 .ed-inner-cta p { color: rgba(255,255,255,.80); }
body.ed-signature-v210 .ed-inner-cta .ed-overline { color: #f0d6a6; }

/* --------------------------------------------------------------------------
   Page-specific accents — recognizable internal pages within one system
   -------------------------------------------------------------------------- */
body.ed-signature-v210.ed-page-finansovaya-terapiya .ed-inner-hero::before {
  background: linear-gradient(145deg, rgba(82,132,139,.76), rgba(189,215,219,.68));
}
body.ed-signature-v210.ed-page-obrazovanie .ed-inner-hero::before {
  background: linear-gradient(145deg, rgba(191,157,98,.62), rgba(235,219,183,.72));
}
body.ed-signature-v210.ed-page-publikatsii .ed-inner-hero::before,
body.ed-signature-v210.ed-page-kursy .ed-inner-hero::before {
  background: linear-gradient(145deg, rgba(103,141,173,.73), rgba(222,230,237,.74));
}
body.ed-signature-v210.ed-page-o-mne .ed-inner-hero::before {
  background: linear-gradient(145deg, rgba(89,132,164,.74), rgba(202,220,231,.72));
}
body.ed-signature-v210.ed-page-podhod .ed-inner-hero::before,
body.ed-signature-v210.ed-page-formaty-raboty .ed-inner-hero::before {
  background: linear-gradient(145deg, rgba(99,143,173,.76), rgba(210,227,235,.72));
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  body.ed-signature-v210 .ed-inner-hero {
    min-height: 0;
    padding-bottom: 60px;
    background: linear-gradient(155deg, #fffdf9 0 58%, #edf4f7 58% 100%);
  }
  body.ed-signature-v210 .ed-inner-hero::before {
    top: auto;
    right: -24%;
    bottom: -20%;
    width: 76vw;
    height: 62%;
    border-radius: 55% 0 0 0;
  }
  body.ed-signature-v210 .ed-inner-hero::after {
    top: auto;
    right: -24%;
    bottom: -18%;
    width: 70vw;
  }
  body.ed-signature-v210 .ed-inner-hero__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  body.ed-signature-v210 .ed-inner-hero__photo {
    width: min(100%, 430px);
    height: 500px;
    justify-self: start;
  }
  body.ed-signature-v210.ed-page-kontakty .ed-contact-page__methods,
  body.ed-signature-v210.ed-page-kontakty .ed-contact-page__form {
    border-radius: 24px 24px 54px 24px;
  }
}

@media (max-width: 680px) {
  body.ed-signature-v210 .ed-inner-hero {
    padding: 12px 0 44px;
  }
  body.ed-signature-v210 .ed-breadcrumbs { padding-bottom: 26px; }
  body.ed-signature-v210 .ed-inner-hero__copy { padding: 0; }
  body.ed-signature-v210 .ed-inner-hero__copy h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  body.ed-signature-v210 .ed-inner-hero__photo {
    height: 420px;
    border-width: 5px;
    border-radius: 72px 72px 18px 18px;
  }
  body.ed-signature-v210 .ed-inner-main > .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote)::before {
    right: -260px;
    width: 460px;
    height: 370px;
    opacity: .72;
  }
  body.ed-signature-v210.ed-page-kontakty .ed-contact-page__methods,
  body.ed-signature-v210.ed-page-kontakty .ed-contact-page__form {
    padding: 22px 17px;
    border-radius: 19px 19px 38px 19px;
  }
  body.ed-signature-v210 .edf-form .edf-legal,
  body.ed-signature-v210 .ed-contact-page__form .edf-legal,
  body.ed-signature-v210 .ed-modal__dialog .edf-legal {
    gap: 11px !important;
    padding: 19px 14px 16px !important;
    border-radius: 17px !important;
  }
  body.ed-signature-v210 .edf-form .edf-legal::before,
  body.ed-signature-v210 .ed-contact-page__form .edf-legal::before,
  body.ed-signature-v210 .ed-modal__dialog .edf-legal::before {
    font-size: clamp(1.32rem, 7vw, 1.58rem) !important;
  }
  body.ed-signature-v210 .edf-legal > p {
    font-size: .92rem !important;
  }
  body.ed-signature-v210 .edf-legal .edf-consent {
    grid-template-columns: 21px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 13px 11px !important;
    border-radius: 13px !important;
    font-size: .92rem !important;
  }
  body.ed-signature-v210 .edf-legal .edf-consent input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ed-signature-v210 .ed-inner-hero::before,
  body.ed-signature-v210 .ed-inner-hero::after,
  body.ed-signature-v210 .ed-page-section::before,
  body.ed-signature-v210 .ed-page-section::after { transform: none !important; }
}
