/* The Art page's photographic opening, shared by public editorial/service pages. */
/* One continuous navy trail, matching Galerie, between masthead and artwork. */
html[data-storefront-motion] main .r77-crumb[data-artstria-opening-trail] {
  box-sizing: border-box; inline-size: 100% !important; max-inline-size: none !important;
  margin: 0 !important; padding: 16px 4vw !important; min-block-size: 54px;
  background: #0c1640 !important; color: #f8f7f4 !important;
  border: 0 !important; border-radius: 0 !important; font-size: 12px; line-height: 1.5;
}
html[data-storefront-motion] .r77-crumb[data-artstria-opening-trail] ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; padding: 0; margin: 0;
}
html[data-storefront-motion] .r77-crumb[data-artstria-opening-trail] :is(li,a) { color: inherit !important; font-size: 12px !important; line-height: 18px !important; margin-block: 0 !important; padding-block: 0 !important; }
html[data-storefront-motion] .r77-crumb[data-artstria-opening-trail] [aria-current="page"] { color: #e8cd9f !important; }
html[data-storefront-motion] .r77-crumb[data-artstria-opening-trail] a { text-underline-offset: .22em; }
html[data-storefront-motion] .r77-crumb[data-artstria-opening-trail] a:focus-visible { outline: 2px solid #e8cd9f; outline-offset: 4px; }
html[data-storefront-motion] main > .r77-crumb {
  box-sizing: border-box;
  inline-size: min(100% - 2 * clamp(20px, 5vw, 72px), 1360px);
  min-block-size: 40px;
  margin: 0 auto;
  padding: 10px 0;
  font-size: .82rem;
}
html[data-storefront-motion] [data-artstria-opening-outer],
html[data-storefront-motion] [data-artstria-opening-shell] {
  max-inline-size: none; margin-block-start: 0 !important; padding-block-start: 0 !important;
}
html[data-storefront-motion] [data-artstria-opening-shell] { margin-block: 0 !important; padding-block: 0 !important; }
html[data-storefront-motion] [data-artstria-opening] {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
  align-items: center; isolation: isolate; overflow: clip;
  inline-size: 100vw; max-inline-size: none;
  min-block-size: clamp(32rem, calc(100svh - 6rem), 48rem);
  margin: 0; margin-inline-start: calc(50% - 50vw); padding: 0; border: 0; border-radius: 0;
  background: #07122c; color: #f8f7f4;
}
html[data-storefront-motion] [data-artstria-opening] .as-opening-media {
  position: absolute; inset: 0; z-index: -1;
  inline-size: 100%; block-size: 100%; min-block-size: 0;
  margin: 0; aspect-ratio: auto; border: 0; border-radius: 0;
  background: #07122c; overflow: hidden;
}
html[data-storefront-motion] [data-artstria-opening] .as-opening-media > img,
html[data-storefront-motion] [data-artstria-opening] .as-opening-media > picture,
html[data-storefront-motion] [data-artstria-opening] .as-opening-media > picture > img {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%;
  object-fit: cover; object-position: 60% center; border-radius: 0;
}
html[data-storefront-motion] [data-artstria-opening] .as-opening-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,18,44,.94), rgba(7,18,44,.80) 46%, rgba(7,18,44,.18));
}
html[dir="rtl"][data-storefront-motion] [data-artstria-opening] .as-opening-media::after {
  background: linear-gradient(270deg, rgba(7,18,44,.94), rgba(7,18,44,.80) 46%, rgba(7,18,44,.18));
}
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy {
  box-sizing: border-box; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  inline-size: min(100%, 1504px); margin-inline: auto;
  padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px);
  gap: 20px; text-align: start; color: #f8f7f4;
}
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy > * { margin-block: 0; }
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy h1 {
  max-inline-size: 19ch; color: #fff;
  font-size: clamp(44px, 6.2vw, 88px) !important; line-height: 1.06;
  font-weight: 500; letter-spacing: -.035em; text-align: start;
  hyphens: none; overflow-wrap: break-word; text-wrap: balance;
}
html[lang="ar"][data-storefront-motion] [data-artstria-opening] .as-opening-copy h1 { line-height: 1.25; letter-spacing: normal; }
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy > :is(p,.r90-lead,.lead,.lede,.aj-lead,.hero-sub) {
  max-inline-size: 57ch; color: #e0e5ee;
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6;
}
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy > :is(.r90-kicker,.eyebrow,.aj-kicker,.section-label) { color: #e8cd9f; font-size: .83rem; }
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy > :is(.hero-sub,.aj-note,.pmeta,.qb-note) { font-size: .82rem; }
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy :is(.r90-actions,.hero-cta,.aj-actions) {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 12px;
}
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy :is(.r90-primary,.as-showcase-primary,.aj-actions .r81-cta) {
  display: inline-flex; align-items: center; justify-content: center;
  min-block-size: 48px; padding: 12px 22px;
  background: #e8cd9f; color: #07122c; border: 1px solid #e8cd9f;
  border-radius: 4px; font-size: .9rem; font-weight: 650; text-decoration: none;
}
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy :is(.hero-cta,.r90-actions,.aj-actions) > a:first-child,
html[data-storefront-motion] [data-artstria-opening] .as-showcase-copy > div > a:first-child {
  background: #e8cd9f; color: #07122c !important; border: 1px solid #e8cd9f; border-radius: 4px !important;
  min-block-size: 48px; padding: 12px 22px;
}
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy :is(.hero-cta,.r90-actions,.aj-actions) > a + a,
html[data-storefront-motion] [data-artstria-opening] .as-showcase-copy > div > a + a {
  background: transparent; color: #fff !important; border: 1px solid #cbd2df; border-radius: 4px !important;
  min-block-size: 48px; padding: 12px 22px;
}
html[data-storefront-motion] [data-artstria-opening] .as-opening-copy :is(.r90-secondary,.aj-actions .r89-details-link) {
  display: inline-flex; align-items: center; justify-content: center;
  min-block-size: 48px; padding: 12px 22px; color: #fff;
  border: 1px solid #cbd2df; border-radius: 4px; font-size: .9rem; text-decoration: none;
}
html[data-storefront-motion] [data-artstria-opening] a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
html[data-storefront-motion] [data-artstria-opening] figcaption { z-index: 2; inset-inline: auto 20px; bottom: 16px; font-size: .7rem; }
/* Purchase controls and catalogue filters retain their compact discovery layout. */
@media (max-width: 760px) {
  html[data-storefront-motion] [data-artstria-opening] { min-block-size: 0; }
  html[data-storefront-motion] [data-artstria-opening] .as-opening-copy { padding-block: 40px 48px; gap: 18px; }
  html[data-storefront-motion] [data-artstria-opening] .as-opening-copy h1 { font-size: clamp(38px, 10.5vw, 60px) !important; max-inline-size: 18ch; }
  html[data-storefront-motion] [data-artstria-opening] .as-opening-media::after,
  html[dir="rtl"][data-storefront-motion] [data-artstria-opening] .as-opening-media::after {
    background: linear-gradient(rgba(7,18,44,.88), rgba(7,18,44,.82));
  }
}
