/* One canonical “Шаг за шагом” layout for the homepage and every event page.
   Loaded last so page-specific polish cannot quietly change the card geometry. */
html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) {
  text-align: center;
}

html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) > .eyebrow,
html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .w-heading .eyebrow {
  margin: 0 0 16px !important;
  color: #8a5360 !important;
  font: 500 10px/1.5 'Manrope', sans-serif !important;
  letter-spacing: .18em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) > h2,
html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .w-heading > h2 {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  max-width: 24ch !important;
  margin: 0 auto 28px !important;
  padding: 0 !important;
  color: #551025 !important;
  font: 400 clamp(36px, 5vw, 62px)/1 'Cormorant Garamond', Georgia, serif !important;
  letter-spacing: -.025em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  transform: none !important;
}

html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .w-heading {
  display: block !important;
  margin: 0 auto 28px !important;
  text-align: center !important;
}

html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .w-heading > p {
  max-width: 54ch !important;
  margin: 12px auto 0 !important;
  color: #6d5f5d !important;
  font: 400 14px/1.7 'Manrope', sans-serif !important;
  text-align: center !important;
}

html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track {
  display: flex !important;
  gap: 28px !important;
  overflow-x: auto !important;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none;
}

html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 761px) {
  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step {
    display: grid !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 420px !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
    /* Keep the number, title and description as one centered text group. */
    grid-template-rows: minmax(0, 1fr) auto auto auto minmax(0, 1fr) !important;
    align-content: stretch !important;
    column-gap: clamp(28px, 4vw, 56px) !important;
    row-gap: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ede1db !important;
    color: #251b1b !important;
    text-align: left !important;
    scroll-snap-align: start !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > img,
  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > picture {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 / 6 !important;
    align-self: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > picture > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > .number {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: end !important;
    margin: 0 30px 8px 0 !important;
    color: #8a5360 !important;
    font: 400 62px/1 'Cormorant Garamond', Georgia, serif !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > h3 {
    grid-column: 2 !important;
    grid-row: 3 !important;
    align-self: end !important;
    margin: 0 30px 8px 0 !important;
    padding: 0 !important;
    color: #251b1b !important;
    font: 400 clamp(30px, 3.1vw, 42px)/1.04 'Cormorant Garamond', Georgia, serif !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    transform: none !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > p {
    grid-column: 2 !important;
    grid-row: 4 !important;
    align-self: end !important;
    max-width: 390px !important;
    margin: 0 30px 0 0 !important;
    padding: 0 !important;
    color: #625754 !important;
    font: 400 16px/1.6 'Manrope', sans-serif !important;
    text-align: left !important;
    transform: none !important;
  }
}

@media (max-width: 760px) {
  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) > h2,
  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .w-heading > h2 {
    max-width: 20ch !important;
    margin-bottom: 22px !important;
    font-size: clamp(34px, 9vw, 46px) !important;
    line-height: 1.02 !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .w-heading > p {
    margin-top: 10px !important;
    font-size: 12px !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track {
    gap: 14px !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 0 28px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ede1db !important;
    color: #251b1b !important;
    text-align: left !important;
    scroll-snap-align: start !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > img,
  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > picture {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > picture > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > .number {
    position: static !important;
    align-self: flex-start !important;
    grid-column: auto !important;
    grid-row: auto !important;
    float: none !important;
    transform: none !important;
    margin: 24px 24px 8px !important;
    color: #8a5360 !important;
    font: 400 48px/1 'Cormorant Garamond', Georgia, serif !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > h3 {
    margin: 0 24px 12px !important;
    padding: 0 !important;
    color: #251b1b !important;
    font: 400 34px/1.04 'Cormorant Garamond', Georgia, serif !important;
    text-align: left !important;
    text-transform: uppercase !important;
  }

  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) .steps.carousel-track > .step > p {
    max-width: none !important;
    margin: 0 24px !important;
    padding: 0 !important;
    color: #625754 !important;
    font: 400 14px/1.65 'Manrope', sans-serif !important;
    text-align: left !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body main :is(#approach, .unified-process, .event-process, .w-process, #w-process) * {
    scroll-behavior: auto !important;
  }
}

/* Wedding pages: keep the shared editorial system, with the requested
   compact hierarchy and readable, unwarped photography. */
html[data-page="weddings"] .w-hero-copy{width:min(58%,720px)!important;max-width:720px!important}
html[data-page="weddings"] .w-hero h1{max-width:16ch!important}
html[data-page="weddings"] .w-about-photo{height:clamp(230px,24vw,340px)}
html[data-page="weddings"] .w-about-photo img{opacity:1;mask-image:linear-gradient(90deg,#000 0%,#000 88%,transparent 100%)}
html[data-page="weddings"] #w-values .w-values-layout{grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr) minmax(180px,.8fr);gap:clamp(24px,3vw,42px)}
html[data-page="weddings"] #w-values .w-values-layout>img{display:block;height:clamp(300px,32vw,430px);object-fit:cover;object-position:center;filter:grayscale(.2);mask-image:linear-gradient(90deg,#000 0%,#000 88%,transparent 100%)}
html[data-page="weddings"] #w-values .w-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
html[data-page="weddings"] #w-values .w-benefits article{padding:12px 0;text-align:left}
html[data-page="weddings"] #w-values .w-benefits h3{font-size:11px;line-height:1.55}
html[data-page="weddings"] #w-values .w-benefits p{font-size:12px;line-height:1.6}
html[data-page="weddings"] #w-services .w-heading>p{max-width:48ch}
html[data-page="weddings"] #w-services .formats .format h3 span{max-width:30ch;line-height:1.65}
html[data-page^="wedding"] .w-gallery figcaption{display:none!important}
html[data-page="wedding-full"] .w-intro-media>img,
html[data-page="wedding-partial"] .w-intro-media>img,
html[data-page="wedding-consultation"] .w-intro-media>img,
html[data-page="wedding-coordination"] .w-intro-media>img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:1.42;object-fit:cover;object-position:center}
html[data-page="wedding-full"] .w-hero-media{z-index:1!important}
html[data-page="wedding-full"] .w-hero-inner{z-index:2!important}
html[data-page="wedding-full"] .w-hero-media video{pointer-events:auto;object-fit:cover}
html[data-page="wedding-full"] .w-hero:after{pointer-events:none}
html[data-page="wedding-full"] .w-hero-inner{pointer-events:none}
html[data-page="wedding-full"] .w-hero-copy{pointer-events:auto}
html[data-page="wedding-full"] .w-nowrap{white-space:nowrap}
html[data-page^="wedding-"] .w-included .w-heading>p{margin-inline:auto;text-align:center;max-width:42ch}
html[data-page^="wedding-"] .w-support img{height:clamp(270px,28vw,390px);object-fit:cover;object-position:center;filter:grayscale(.2);mask-image:none}

/* The intro photo is wrapped in <picture>; size the wrapper itself so the
   two-column grid cannot stretch the image to the height of the copy. */
@media(min-width:761px){
 html[data-page^="wedding-"] .w-intro-media{min-width:0;align-self:center}
 html[data-page^="wedding-"] .w-intro-media>picture{display:block;width:100%;height:auto;aspect-ratio:1.42;overflow:hidden}
 html[data-page^="wedding-"] .w-intro-media>picture>img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center}
}

/* In the wedding steps, each heading and description sit directly below its
   number; the text group is vertically centered alongside the photo. */
@media(max-width:760px){
 html[data-page="weddings"] .w-hero-copy{width:100%!important;max-width:none!important}
 html[data-page="weddings"] .w-hero h1{max-width:17ch!important;font-size:clamp(42px,10.5vw,58px)!important;line-height:1.02!important}
 html[data-page="weddings"] .w-about-grid{min-height:0;padding:28px 0}
 html[data-page="weddings"] #w-values .w-values-layout{display:block}
 html[data-page="weddings"] #w-values .w-values-layout>div:first-child{padding:10px 0 25px}
 html[data-page="weddings"] #w-values .w-values-layout>img{display:block;width:100%;height:auto;aspect-ratio:1.45;object-fit:cover;margin-top:24px}
 html[data-page="weddings"] #w-values .w-benefits{grid-template-columns:1fr 1fr;gap:12px 18px}
 html[data-page="weddings"] #w-values .w-benefits h3{font-size:10px}
 html[data-page="weddings"] #w-values .w-benefits p{font-size:11px}
 html[data-page="wedding-full"] .w-hero-media{z-index:0!important}
 html[data-page="wedding-full"] .w-hero-inner{z-index:1!important}
 html[data-page^="wedding-"] .w-support img{height:auto;aspect-ratio:1.4}
 html[data-page^="wedding-"] .w-included .w-heading>p{margin:14px auto 0!important;text-align:center!important}
}

/* On phones, let wedding photographs keep their source proportions. Several
   portrait and landscape originals were forced into the same fixed frames. */
@media(max-width:760px){
 html[data-page^="wedding"] main img{
  display:block;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:initial!important;
  object-position:center!important;
 }
 html[data-page^="wedding"] .w-about-photo{
  height:auto!important;
  margin:0!important;
 }
 html[data-page^="wedding"] .w-about-photo img{
  mask-image:none!important;
 }
 html[data-page^="wedding"] .w-hero-media:has(>img){
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:auto!important;
 }
 html[data-page^="wedding"] .w-hero-media>img{
  position:static!important;
 }
}

@media(max-width:760px){
 html[data-page="weddings"] .w-about-grid{
  grid-template-columns:minmax(0,1fr)!important;
  gap:20px!important;
 }
 html[data-page="weddings"] .w-about-photo{
  grid-column:1/-1!important;
  width:100%!important;
  aspect-ratio:16/9!important;
 }
 html[data-page="weddings"] .w-about-photo img{
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
 }
}

/* The wedding landing hero is an image-backed full-screen cover. The general
   mobile image rule above is for editorial photos; keep it from pulling the
   hero image into normal document flow. */
@media(max-width:760px){
 html[data-page="weddings"] .w-hero{
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-end!important;
  height:100svh!important;
  min-height:650px!important;
  padding:0!important;
  overflow:hidden!important;
 }
 html[data-page="weddings"] .w-hero-media:has(img){
  position:absolute!important;
  inset:0!important;
  order:0!important;
  z-index:-1!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
 }
 html[data-page="weddings"] .w-hero-media img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
  object-position:center 48%!important;
 }
 html[data-page="weddings"] .w-hero:after{display:block!important}
 html[data-page="weddings"] .w-hero-inner{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  width:88%!important;
  margin:0 auto!important;
  padding:125px 0 max(17vh,130px)!important;
 }
 html[data-page="weddings"] .w-hero-copy{width:100%!important;max-width:100%!important}
}

/* The full-organization format uses the approved still in its hero on every
   screen size; its film remains in the dedicated lower section. */
@media(min-width:761px){
 html[data-page="wedding-full"] .w-hero-media .w-format-hero-photo{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 45%!important}
 html[data-page="wedding-full"] .w-hero-media .w-format-hero-video{display:none!important}
 html[data-page="wedding-full"] .w-hero>.hero-sound-button{display:none!important}
}
@media(max-width:760px){
 html[data-page="wedding-full"] .w-hero{position:relative!important;display:flex!important;flex-direction:row!important;align-items:flex-end!important;height:100svh!important;min-height:610px!important;padding:0!important;overflow:hidden!important}
 html[data-page="wedding-full"] .w-hero-media:has(.w-format-hero-photo){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important}
 html[data-page="wedding-full"] .w-hero-media .w-format-hero-photo{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 52%!important}
}

@media(max-width:760px){
 html[data-page^="wedding"] .premium-gallery-section .w-gallery[data-premium-gallery] figure img{
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  aspect-ratio:4/3!important;
  object-fit:cover!important;
  object-position:center!important;
 }
}

/* Internal event galleries use one calm, consistent photo frame. The image
   itself is cropped inside the frame so mixed portrait/landscape originals
   cannot change the height of a slide or break the gallery rail. */
html[data-page^="wedding"] .premium-gallery-section [data-premium-gallery].premium-gallery-slider{
 display:flex!important;
 align-items:stretch!important;
 gap:clamp(12px,1.6vw,22px)!important;
}
html[data-page^="wedding"] .premium-gallery-section [data-premium-gallery].premium-gallery-slider>figure,
html[data-page^="wedding"] .premium-gallery-section [data-premium-gallery].premium-gallery-slider>[data-gallery-slide]{
 flex:0 0 min(28vw,390px)!important;
 width:min(28vw,390px)!important;
 height:auto!important;
 aspect-ratio:3/2!important;
 margin:0!important;
 overflow:hidden!important;
 scroll-snap-align:start;
}
html[data-page^="wedding"] .premium-gallery-section [data-premium-gallery].premium-gallery-slider>figure img,
html[data-page^="wedding"] .premium-gallery-section [data-premium-gallery].premium-gallery-slider>[data-gallery-slide] img{
 display:block!important;
 width:100%!important;
 height:100%!important;
 max-height:none!important;
 aspect-ratio:3/2!important;
 object-fit:cover!important;
 object-position:center!important;
}
@media(max-width:760px){
 html[data-page^="wedding"] .premium-gallery-section [data-premium-gallery].premium-gallery-slider{gap:12px!important}
 html[data-page^="wedding"] .premium-gallery-section [data-premium-gallery].premium-gallery-slider>figure,
 html[data-page^="wedding"] .premium-gallery-section [data-premium-gallery].premium-gallery-slider>[data-gallery-slide]{
  flex-basis:78vw!important;
  width:78vw!important;
  aspect-ratio:4/3!important;
 }
 html[data-page^="wedding"] .premium-gallery-section [data-premium-gallery].premium-gallery-slider>figure img,
 html[data-page^="wedding"] .premium-gallery-section [data-premium-gallery].premium-gallery-slider>[data-gallery-slide] img{
  height:100%!important;
  aspect-ratio:4/3!important;
 }
}

/* Keep wedding format heroes predictable on phones: copy first, one full
   width still beneath it, and actions in a clean vertical stack. The full
   organization page is intentionally excluded because its mobile film hero
   remains full-screen. */
@media(max-width:760px){
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  overflow:hidden!important;
  background:var(--w-cream,#f6f0eb)!important;
 }
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero:after{display:none!important}
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero .w-hero-inner{
  order:0!important;
  display:block!important;
  width:calc(100% - 48px)!important;
  margin:0 auto!important;
  padding:112px 0 30px!important;
 }
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero .w-hero-copy{
  width:100%!important;
  max-width:none!important;
 }
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero h1{
  max-width:12ch!important;
  margin:0 0 18px!important;
  font-size:clamp(30px,8.7vw,36px)!important;
  color:#581328!important;
  text-shadow:none!important;
  line-height:1.02!important;
  overflow-wrap:normal!important;
  text-wrap:balance;
 }
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero .w-hero-copy>p:not(.w-eyebrow){
  max-width:38ch!important;
  margin:0 0 20px!important;
  font-size:18px!important;
  color:#3d292d!important;
  text-shadow:none!important;
  line-height:1.65!important;
 }
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero .w-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:12px!important;
  margin:0!important;
 }
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero .w-actions>*{max-width:100%!important;margin:0!important}
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero .w-hero-media{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  order:1!important;
  z-index:0!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:4/3!important;
  overflow:hidden!important;
 }
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero .w-hero-media picture{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
 }
 html[data-page^="wedding-"]:not([data-page="wedding-full"]) .w-service-hero .w-hero-media img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  aspect-ratio:4/3!important;
  object-fit:cover!important;
  object-position:center 42%!important;
 }
}


/* Wedding pages share the same editorial display type and process-card grid.
   These overrides stay inside the wedding family; the business homepage is
   intentionally untouched. */
html[data-page^="wedding"] main :is(h1,h2){
 font-family:'Cormorant Garamond',Georgia,serif!important;
 font-style:normal!important;
 font-weight:400!important;
}
/* The landing's responsibility carousel already covers these eight subjects.
   Keep the separate duplicate detail carousel off the wedding homepage. */
html[data-page="weddings"] #w-details{display:none!important}

/* Give the landing story photo enough width to balance its headline and copy. */
@media(min-width:761px){
 html[data-page="weddings"] .w-about-grid{
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;
  grid-template-rows:auto auto 1fr!important;
  column-gap:clamp(32px,5vw,76px)!important;
  row-gap:clamp(18px,2vw,30px)!important;
  align-items:end!important;
 }
 html[data-page="weddings"] .w-about-grid>h2{grid-column:1!important;grid-row:1!important;align-self:end!important}
 html[data-page="weddings"] .w-about-photo{grid-column:2!important;grid-row:1/4!important;height:auto!important;min-height:0!important;
  height:auto!important;aspect-ratio:1.28!important;align-self:stretch!important;margin:0!important;overflow:hidden}
 html[data-page="weddings"] .w-about-copy{grid-column:1!important;grid-row:2!important;align-self:end!important}
 html[data-page="weddings"] .w-values-list{grid-column:1!important;grid-row:3!important;align-self:end!important}
}
html[data-page="weddings"] .w-about-photo img{
 width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;
 mask-image:linear-gradient(90deg,#000 0%,#000 94%,transparent 100%)!important;
}

/* Keep the wedding “why us” photo in a fixed natural frame. */
html[data-page="weddings"] #w-values .w-values-layout{
 grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr) minmax(240px,.95fr)!important;
}
html[data-page^="wedding"] #w-values .w-values-layout>img{
 width:100%!important;height:auto!important;aspect-ratio:4/3!important;
 min-height:0!important;
  height:auto!important;max-height:none!important;object-fit:cover!important;object-position:center!important;
 mask-image:none!important;filter:none!important;
}
@media(max-width:760px){
 html[data-page="weddings"] .w-about-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important;gap:18px!important}
 html[data-page="weddings"] .w-about-grid>*{grid-column:1!important;grid-row:auto!important}
 html[data-page="weddings"] .w-about-photo{height:auto!important;aspect-ratio:16/10!important}
 html[data-page="weddings"] .w-about-photo img{height:100%!important;object-fit:cover!important}
}

/* Wedding landing: keep the veil fully inside frame, mirror the full-service
   wedding gallery, and use the birthday landing's four burgundy feature cards. */
html[data-page="weddings"] .w-about-photo{
 width:100%!important;height:auto!important;min-height:0!important;
  height:auto!important;max-height:none!important;
 aspect-ratio:3/2!important;align-self:center!important;overflow:visible!important;
 background:transparent!important;
}
html[data-page="weddings"] .w-about-photo img{
 display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;
 object-position:center!important;mask-image:none!important;
}
html[data-page="weddings"] #w-values{
 padding:70px 0 78px!important;background:#f6f0eb!important;color:#251b1a!important;
}
html[data-page="weddings"] #w-values:before{display:none!important}
html[data-page="weddings"] #w-values .w-values-layout{width:calc(100% - 48px)!important;max-width:1320px!important;margin:0 auto!important}
html[data-page="weddings"] #w-values .w-values-layout>div:first-child{padding:0!important}
html[data-page="weddings"] #w-values h2{
 margin:0 0 30px!important;color:#681024!important;
 font:400 clamp(34px,4vw,52px)/1.05 'Cormorant Garamond',Georgia,serif!important;
}
html[data-page="weddings"] #w-values .w-benefits{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;
}
html[data-page="weddings"] #w-values .w-benefits article{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;
 min-height:230px!important;padding:30px 25px!important;border:0!important;border-radius:2px!important;
 background:#681024!important;color:#fff!important;text-align:left!important;
 transition:transform .35s ease,background-color .35s ease!important;
}
html[data-page="weddings"] #w-values .w-benefits article:hover{transform:translateY(-5px)!important;background:#7a1b32!important}
html[data-page="weddings"] #w-values .w-benefits .editorial-icon{width:52px!important;height:52px!important;margin:0 0 22px!important;color:#fff!important}
html[data-page="weddings"] #w-values .w-benefits h3{
 margin:0 0 12px!important;color:#fff!important;font:500 15px/1.4 'Manrope',Arial,sans-serif!important;
 text-transform:uppercase!important;
}
html[data-page="weddings"] #w-values .w-benefits p{margin:0!important;color:#fff!important;font-size:18px!important;
  color:#3d292d!important;
  text-shadow:none!important;line-height:1.65!important;opacity:.9}
@media(max-width:1100px){html[data-page="weddings"] #w-values .w-benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){
 html[data-page="weddings"] .w-about-photo{aspect-ratio:3/2!important}
 html[data-page="weddings"] .w-about-photo img{object-fit:contain!important}
 html[data-page="weddings"] #w-values{padding:48px 0 54px!important}
 html[data-page="weddings"] #w-values .w-benefits{grid-template-columns:1fr!important;gap:14px!important}
 html[data-page="weddings"] #w-values .w-benefits article{min-height:0!important;
  height:auto!important;padding:28px!important;display:flex!important}
 html[data-page="weddings"] #w-values .w-benefits .editorial-icon{width:58px!important;height:58px!important;margin:0 0 20px!important}
}

/* Mobile “Что входит” rail: wider premium cards, with explicit slide controls. */
html[data-page^="wedding-"] .w-included-controls{display:none}
@media(max-width:760px){
 html[data-page^="wedding-"] .editorial-page .w-included .w-benefits{
  display:flex!important;gap:14px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;
  scroll-behavior:smooth!important;padding:4px 6vw 18px!important;margin-inline:-6vw!important;
 }
 html[data-page^="wedding-"] .editorial-page .w-included .w-benefits article{
  flex:0 0 min(88vw,420px)!important;width:min(88vw,420px)!important;min-height:230px!important;
  scroll-snap-align:center!important;
 }
 html[data-page^="wedding-"] .w-included-controls:not([hidden]){
  display:flex;justify-content:flex-end;gap:10px;margin:0 0 14px;
 }
 html[data-page^="wedding-"] .w-included-arrow{
  display:grid;place-items:center;width:42px;height:42px;border:1px solid #b9959d;border-radius:50%;
  background:transparent;color:#681024;font-family:inherit;font-size:20px;line-height:1;cursor:pointer;transition:background .2s,color .2s,opacity .2s;
 }
 html[data-page^="wedding-"] .w-included-arrow:hover:not(:disabled){background:#681024;color:#fff}
 html[data-page^="wedding-"] .w-included-arrow:disabled{opacity:.38;cursor:default}
}

/* Optimized editorial images are wrapped in <picture>. The previous rules
   targeted only a direct img child, so the browser stretched this wedding
   photo to the full height of the grid row. Give the frame a stable ratio and
   crop the source without distorting it. */
@media(min-width:761px){
 html[data-page="weddings"] #w-values .w-values-layout{
  grid-template-columns:minmax(0,1.25fr) minmax(220px,.85fr) minmax(300px,1.1fr)!important;
  align-items:center!important;
 }
 html[data-page="weddings"] #w-values .w-values-layout>picture{
  display:block!important;width:100%!important;height:auto!important;min-width:0!important;
  aspect-ratio:4/3!important;align-self:center!important;overflow:hidden!important;
 }
 html[data-page="weddings"] #w-values .w-values-layout>picture>img{
  display:block!important;width:100%!important;height:100%!important;min-height:0!important;
  height:auto!important;
  max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;
  object-position:center!important;mask-image:none!important;filter:none!important;
 }
}
@media(max-width:760px){
 html[data-page="weddings"] #w-values .w-values-layout>picture{
  display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;
  margin-top:24px!important;overflow:hidden!important;
 }
 html[data-page="weddings"] #w-values .w-values-layout>picture>img{
  display:block!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;
  object-fit:cover!important;object-position:center!important;mask-image:none!important;filter:none!important;
 }
}


/* Keep service cards on the same display type as the site's editorial headings. */
html body main :is(.event-formats, .w-services) .format h3 {
  color: #fff !important;
  font: 400 clamp(25px, 2.4vw, 36px)/1.02 'Cormorant Garamond', Georgia, serif !important;
  letter-spacing: -.015em !important;
  text-transform: uppercase !important;
}
@media (max-width: 760px) {
  html body main :is(.event-formats, .w-services) .format h3 {
    font-size: clamp(27px, 7vw, 34px) !important;
  }
}
