/*
 * Meine Blickwinkel — editorial photo collection.
 * Kept separate from the generated Elementor compatibility stylesheet.
 */

body.bw-web-photo-gallery {
  background: #0d1214;
}

body.bw-web-photo-gallery .bw-photo-page,
body.bw-web-photo-gallery .bw-photo-page > .elementor-element,
body.bw-web-photo-gallery .bw-photo-page .elementor-widget-shortcode,
body.bw-web-photo-gallery .bw-photo-page .elementor-widget-container,
.bw-photo-gallery {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bw-photo-gallery {
  --bw-photo-coal: var(--coal, #111619);
  --bw-photo-coal-soft: var(--coal-soft, #181f22);
  --bw-photo-coal-lift: var(--coal-lift, #222a2e);
  --bw-photo-cream: var(--cream, #f3f0ea);
  --bw-photo-cream-dim: var(--cream-dim, #c9c7c1);
  --bw-photo-slate: var(--slate, #6b7378);
  --bw-photo-slate-light: var(--slate-light, #9fa5a8);
  --bw-photo-copper: var(--copper, #c86e3f);
  --bw-photo-copper-light: var(--copper-light, #e39464);
  --bw-photo-line: var(--line, rgba(243, 240, 234, 0.13));
  --bw-photo-shadow: 0 34px 88px rgba(0, 0, 0, 0.34);
  position: relative;
  min-width: 0;
  color: var(--bw-photo-cream);
  background: var(--bw-photo-coal);
  overflow: clip;
}

.bw-photo-gallery *,
.bw-photo-gallery *::before,
.bw-photo-gallery *::after {
  box-sizing: border-box;
}

.bw-photo-gallery a {
  color: inherit;
  text-decoration: none;
}

.bw-photo-gallery button {
  font: inherit;
}

.bw-photo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--bw-photo-copper-light);
  font-family: var(--font-geist-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.75rem;
  font-weight: 680;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bw-photo-eyebrow > span {
  width: 38px;
  height: 2px;
  background: currentColor;
}

.bw-photo-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(720px, calc(100svh - 76px));
  border-bottom: 1px solid var(--bw-photo-line);
  isolation: isolate;
  overflow: hidden;
}

.bw-photo-hero__image,
.bw-photo-hero__shade,
.bw-photo-hero__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bw-photo-hero__image {
  z-index: -3;
  display: block;
  object-fit: cover;
  object-position: var(--bw-photo-focus, 50% 50%);
  animation: bw-photo-hero-reveal 1.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bw-photo-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 10, 12, 0.94) 0%, rgba(6, 10, 12, 0.72) 38%, rgba(6, 10, 12, 0.16) 76%),
    linear-gradient(0deg, rgba(6, 10, 12, 0.93) 0%, rgba(6, 10, 12, 0.12) 58%, rgba(6, 10, 12, 0.34) 100%);
}

.bw-photo-hero__grain {
  z-index: -1;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 74% 62%, rgba(255, 255, 255, 0.13) 0 0.5px, transparent 0.8px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.bw-photo-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 64px));
  margin-inline: auto;
  padding: clamp(100px, 14vh, 164px) 0 clamp(90px, 12vh, 132px);
}

.bw-photo-hero h1 {
  max-width: 1020px;
  margin: 25px 0 0;
  font-size: clamp(4.3rem, 9.1vw, 10rem);
  font-weight: 730;
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-wrap: balance;
  animation: bw-photo-rise 0.85s 0.16s both;
}

.bw-photo-hero h1 em,
.bw-photo-intro h2 em,
.bw-photo-collection__head h2 em,
.bw-photo-finale h2 em {
  color: var(--bw-photo-copper-light);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.bw-photo-hero__lead {
  max-width: 690px;
  margin: 33px 0 0;
  color: rgba(243, 240, 234, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.72;
  animation: bw-photo-rise 0.85s 0.26s both;
}

.bw-photo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  animation: bw-photo-rise 0.85s 0.36s both;
}

.bw-photo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 56px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.bw-photo-button:hover,
.bw-photo-button:focus-visible {
  transform: translateY(-2px);
}

.bw-photo-button:focus-visible,
.bw-photo-filter:focus-visible,
.bw-photo-card__open:focus-visible,
.bw-photo-dialog button:focus-visible,
.bw-photo-dialog a:focus-visible {
  outline: 3px solid var(--bw-photo-copper-light);
  outline-offset: 4px;
}

.bw-photo-button--primary {
  color: #fff;
  background: var(--bw-photo-copper);
}

.bw-photo-button--primary:hover,
.bw-photo-button--primary:focus-visible {
  background: var(--bw-photo-copper-light);
}

.bw-photo-button--ghost {
  border-color: rgba(243, 240, 234, 0.38);
  background: rgba(17, 22, 25, 0.3);
  backdrop-filter: blur(12px);
}

.bw-photo-button--ghost:hover,
.bw-photo-button--ghost:focus-visible {
  color: var(--bw-photo-coal);
  background: var(--bw-photo-cream);
}

.bw-photo-hero__aside {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100% - 1320px) / 2));
  bottom: 52px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  border-top: 1px solid rgba(243, 240, 234, 0.25);
  border-bottom: 1px solid rgba(243, 240, 234, 0.25);
  background: rgba(9, 13, 15, 0.34);
  backdrop-filter: blur(14px);
}

.bw-photo-hero__aside > div {
  display: grid;
  gap: 3px;
  min-width: 112px;
  padding: 17px 20px 16px;
  border-right: 1px solid rgba(243, 240, 234, 0.18);
}

.bw-photo-hero__aside > div:last-child {
  border-right: 0;
}

.bw-photo-hero__aside strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.bw-photo-hero__aside span,
.bw-photo-hero__credit small {
  color: rgba(243, 240, 234, 0.62);
  font-family: var(--font-geist-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bw-photo-hero__credit {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(243, 240, 234, 0.82);
  font-size: 0.75rem;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right bottom;
}

.bw-photo-hero__credit::before {
  width: 42px;
  height: 1px;
  background: rgba(243, 240, 234, 0.42);
  content: "";
}

.bw-photo-hero__credit small {
  letter-spacing: 0.05em;
  text-transform: none;
}

.bw-photo-intro {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.12fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(32px, 5vw, 74px);
  padding-block: clamp(110px, 11vw, 164px);
  border-bottom: 1px solid var(--bw-photo-line);
}

.bw-photo-section-number {
  align-self: start;
  color: var(--bw-photo-slate-light);
  font-family: var(--font-geist-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.bw-photo-intro h2,
.bw-photo-collection__head h2,
.bw-photo-finale h2 {
  max-width: 820px;
  margin: 22px 0 0;
  font-size: clamp(2.8rem, 5.4vw, 6.1rem);
  font-weight: 680;
  line-height: 0.93;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.bw-photo-intro__copy {
  display: grid;
  gap: 19px;
}

.bw-photo-intro__copy p,
.bw-photo-collection__aside > p,
.bw-photo-finale__inner > p {
  margin: 0;
  color: var(--bw-photo-slate-light);
  font-size: 0.91rem;
  line-height: 1.78;
}

.bw-photo-collection__aside {
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 18px;
}

.bw-photo-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(227, 148, 100, 0.5);
  border-radius: 999px;
  color: var(--bw-photo-copper-light) !important;
  font-size: 0.75rem;
  font-weight: 700;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.bw-photo-admin-link:hover,
.bw-photo-admin-link:focus-visible {
  color: #fff !important;
  border-color: var(--bw-photo-copper);
  background: var(--bw-photo-copper);
}

.bw-photo-admin-link:focus-visible {
  outline: 3px solid var(--bw-photo-copper-light);
  outline-offset: 3px;
}

.bw-photo-gallery--empty {
  min-height: 65vh;
  padding-block: 140px;
  color: var(--bw-photo-cream);
  background: var(--bw-photo-coal);
}

.bw-photo-empty {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.bw-photo-empty h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
}

.bw-photo-empty > p:not(.bw-photo-eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--bw-photo-slate-light);
  line-height: 1.75;
}

.bw-photo-empty > a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--bw-photo-copper);
  font-weight: 700;
}

.bw-photo-collection {
  padding-block: clamp(96px, 9vw, 142px) clamp(120px, 11vw, 170px);
  background:
    radial-gradient(circle at 86% 3%, rgba(200, 110, 63, 0.12), transparent 25%),
    var(--bw-photo-coal);
}

.bw-photo-collection__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 47px;
}

.bw-photo-collection__head h2 {
  font-size: clamp(2.7rem, 4.8vw, 5.2rem);
}

.bw-photo-filter-shell {
  position: sticky;
  z-index: 24;
  top: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding: 13px 14px;
  border: 1px solid var(--bw-photo-line);
  border-radius: 3px 18px 3px 3px;
  background: rgba(17, 22, 25, 0.88);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

body.admin-bar .bw-photo-filter-shell {
  top: 108px;
}

.bw-photo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.bw-photo-filter {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--bw-photo-slate-light);
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 680;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.bw-photo-filter:hover {
  color: var(--bw-photo-cream);
  border-color: var(--bw-photo-line);
}

.bw-photo-filter.is-active {
  color: #fff;
  border-color: var(--bw-photo-copper);
  background: var(--bw-photo-copper);
}

.bw-photo-result {
  flex: 0 0 auto;
  margin: 0;
  padding-right: 8px;
  color: var(--bw-photo-slate-light);
  font-family: var(--font-geist-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bw-photo-result strong {
  color: var(--bw-photo-cream);
  font-size: 0.78rem;
}

.bw-photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(12px, 1.35vw, 20px);
}

.bw-photo-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--bw-photo-coal-soft);
  contain: layout paint;
}

.bw-photo-card[hidden] {
  display: none !important;
}

.bw-photo-card--standard {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}

.bw-photo-card--wide {
  grid-column: span 8;
  aspect-ratio: 16 / 9;
}

.bw-photo-card--panorama {
  grid-column: 1 / -1;
  aspect-ratio: 2.35 / 1;
}

.bw-photo-card__open {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 1px solid var(--bw-photo-line);
  border-radius: 2px 28px 2px 2px;
  background: var(--bw-photo-coal-soft);
}

.bw-photo-card__no-script-inquiry {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 48px;
	margin-top: 0.65rem;
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(236, 143, 91, 0.5);
	color: var(--bw-photo-accent, #ec8f5b);
	font-weight: 700;
	text-decoration: none;
}

.bw-photo-card__open:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--bw-photo-copper-light);
}

.bw-photo-card__open::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: border-color 220ms ease;
}

.bw-photo-card__open:hover::after,
.bw-photo-card__open:focus-visible::after {
  border-color: rgba(227, 148, 100, 0.76);
}

.bw-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--bw-photo-focus, 50% 50%);
  transition: transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bw-photo-card__open:hover img,
.bw-photo-card__open:focus-visible img {
  transform: scale(1.035);
}

.bw-photo-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6, 10, 12, 0.92) 0%, rgba(6, 10, 12, 0.06) 64%),
    linear-gradient(90deg, rgba(6, 10, 12, 0.22), transparent 60%);
  transition: background 300ms ease;
}

.bw-photo-card__open:hover .bw-photo-card__shade,
.bw-photo-card__open:focus-visible .bw-photo-card__shade {
  background:
    linear-gradient(0deg, rgba(6, 10, 12, 0.9) 0%, rgba(6, 10, 12, 0.02) 69%),
    linear-gradient(90deg, rgba(6, 10, 12, 0.12), transparent 60%);
}

.bw-photo-card__index {
  position: absolute;
  top: 18px;
  left: 19px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 240, 234, 0.36);
  border-radius: 50%;
  color: rgba(243, 240, 234, 0.88);
  background: rgba(8, 12, 14, 0.38);
  backdrop-filter: blur(10px);
  font-family: var(--font-geist-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.bw-photo-card__copy {
  position: absolute;
  right: 24px;
  bottom: 23px;
  left: 24px;
  display: grid;
  gap: 8px;
}

.bw-photo-card__copy small {
  color: var(--bw-photo-copper-light);
  font-family: var(--font-geist-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bw-photo-card__copy strong {
  max-width: 780px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 2.55rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.bw-photo-card--standard .bw-photo-card__copy strong {
  font-size: clamp(1.22rem, 1.75vw, 1.85rem);
}

.bw-photo-card__copy > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 0;
  overflow: hidden;
  color: rgba(243, 240, 234, 0.72);
  font-size: 0.75rem;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: max-width 300ms ease, opacity 220ms ease, transform 220ms ease;
}

.bw-photo-card__copy i {
  color: var(--bw-photo-copper-light);
  font-size: 1rem;
  font-style: normal;
}

.bw-photo-card__open:hover .bw-photo-card__copy > span,
.bw-photo-card__open:focus-visible .bw-photo-card__copy > span {
  max-width: 150px;
  opacity: 1;
  transform: translateY(0);
}

.bw-photo-finale {
  position: relative;
  border-top: 1px solid var(--bw-photo-line);
  border-bottom: 1px solid var(--bw-photo-line);
  background:
    linear-gradient(112deg, rgba(200, 110, 63, 0.2), transparent 46%),
    linear-gradient(180deg, #182124, #101618);
  overflow: hidden;
}

.bw-photo-finale::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 76px 76px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 76%);
  pointer-events: none;
}

.bw-photo-finale__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(92px, 10vw, 146px);
}

.bw-photo-finale h2 {
  max-width: 940px;
  font-size: clamp(3rem, 5.8vw, 6.7rem);
}

.bw-photo-finale__inner > p {
  max-width: 660px;
  margin-top: 28px;
}

.bw-photo-finale .bw-photo-button {
  margin-top: 35px;
}

.bw-photo-dialog {
  width: min(1580px, calc(100vw - 44px));
  max-width: none;
  height: min(94dvh, 980px);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(243, 240, 234, 0.18);
  border-radius: 3px 30px 3px 3px;
  color: var(--bw-photo-cream, #f3f0ea);
  background: #0d1214;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
  overflow: hidden;
}

.bw-photo-dialog[open] {
  animation: bw-photo-dialog-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bw-photo-dialog::backdrop {
  background: rgba(3, 6, 7, 0.86);
  backdrop-filter: blur(12px);
}

.bw-photo-dialog__surface {
  display: grid;
  grid-template-rows: 66px minmax(0, 1fr);
  width: 100%;
  height: 100%;
}

.bw-photo-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px 0 26px;
  border-bottom: 1px solid rgba(243, 240, 234, 0.13);
  background: #111719;
}

.bw-photo-dialog__bar p {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.bw-photo-dialog__bar p > span,
.bw-photo-dialog__bar small {
  font-family: var(--font-geist-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bw-photo-dialog__bar p > span {
  color: var(--bw-photo-copper-light, #e39464);
}

.bw-photo-dialog__bar small {
  color: var(--bw-photo-slate-light, #9fa5a8);
}

.bw-photo-dialog__close,
.bw-photo-dialog__share,
.bw-photo-dialog__nav {
  border: 0;
  color: var(--bw-photo-cream, #f3f0ea);
  background: transparent;
  cursor: pointer;
}

.bw-photo-dialog__close {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 4px 0 14px;
  color: var(--bw-photo-cream-dim, #c9c7c1);
  font-size: 0.75rem;
}

.bw-photo-dialog__close span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(243, 240, 234, 0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 1.15rem;
}

.bw-photo-dialog__content {
  display: grid;
  grid-template-columns: minmax(0, 1.82fr) minmax(330px, 0.68fr);
  min-height: 0;
}

.bw-photo-dialog__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  background:
    radial-gradient(circle at center, #1a2022, #090d0f 72%),
    #090d0f;
  overflow: hidden;
  touch-action: pan-y;
}

.bw-photo-dialog__stage img {
  display: block;
  width: 100%;
  height: 100%;
  padding: clamp(14px, 2.2vw, 34px);
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(0.992);
  transition: opacity 180ms ease, transform 260ms ease;
}

.bw-photo-dialog__stage img.is-ready {
  opacity: 1;
  transform: scale(1);
}

.bw-photo-dialog__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(243, 240, 234, 0.25);
  border-radius: 50%;
  background: rgba(9, 13, 15, 0.62);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.bw-photo-dialog__nav:hover {
  color: #fff;
  border-color: var(--bw-photo-copper-light, #e39464);
  background: var(--bw-photo-copper, #c86e3f);
}

.bw-photo-dialog__nav--prev {
  left: 20px;
}

.bw-photo-dialog__nav--next {
  right: 20px;
}

.bw-photo-dialog__story {
  min-width: 0;
  padding: clamp(34px, 4vw, 62px) clamp(28px, 3.3vw, 50px);
  border-left: 1px solid rgba(243, 240, 234, 0.13);
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 110, 63, 0.14), transparent 35%),
    #13191b;
  overflow-y: auto;
}

.bw-photo-dialog__category {
  margin: 0;
  color: var(--bw-photo-copper-light, #e39464);
  font-family: var(--font-geist-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  font-weight: 680;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bw-photo-dialog__story h2 {
  margin: 20px 0 0;
  color: var(--bw-photo-cream, #f3f0ea);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 3.25vw, 4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.bw-photo-dialog__caption {
  margin: 24px 0 0;
  color: var(--bw-photo-slate-light, #9fa5a8);
  font-size: 0.84rem;
  line-height: 1.75;
}

.bw-photo-dialog__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.bw-photo-dialog__tags span {
  padding: 7px 10px;
  border: 1px solid rgba(243, 240, 234, 0.12);
  border-radius: 999px;
  color: var(--bw-photo-cream-dim, #c9c7c1);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.75rem;
}

.bw-photo-dialog__facts {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  border-top: 1px solid rgba(243, 240, 234, 0.13);
}

.bw-photo-dialog__facts > div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(243, 240, 234, 0.1);
}

.bw-photo-dialog__facts > div[hidden] {
  display: none;
}

.bw-photo-dialog__facts dt,
.bw-photo-dialog__facts dd {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
}

.bw-photo-dialog__facts dt {
  color: var(--bw-photo-slate-light, #9fa5a8);
  font-family: var(--font-geist-mono, ui-monospace, monospace);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bw-photo-dialog__facts dd {
  color: var(--bw-photo-cream-dim, #c9c7c1);
}

.bw-photo-dialog__offer {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(227, 148, 100, 0.3);
  border-radius: 2px 18px 2px 2px;
  background:
    linear-gradient(135deg, rgba(200, 110, 63, 0.16), transparent 62%),
    rgba(255, 255, 255, 0.025);
}

.bw-photo-dialog__offer-label {
  margin: 0;
  color: var(--bw-photo-copper-light, #e39464);
  font-family: var(--font-geist-mono, ui-monospace, monospace);
  font-size: 0.65rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bw-photo-dialog__offer h3 {
  margin: 10px 0 0;
  color: var(--bw-photo-cream, #f3f0ea);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.08;
}

.bw-photo-dialog__offer > p:not(.bw-photo-dialog__offer-label) {
  margin: 11px 0 0;
  color: var(--bw-photo-slate-light, #9fa5a8);
  font-size: 0.76rem;
  line-height: 1.62;
}

.bw-photo-dialog__offer-actions {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.bw-photo-dialog__inquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 720;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.bw-photo-dialog__inquiry:hover,
.bw-photo-dialog__inquiry:focus-visible {
  transform: translateY(-1px);
}

.bw-photo-dialog__inquiry--primary {
  color: #fff;
  background: var(--bw-photo-copper, #c86e3f);
}

.bw-photo-dialog__inquiry--primary:hover,
.bw-photo-dialog__inquiry--primary:focus-visible {
  background: var(--bw-photo-copper-light, #e39464);
}

.bw-photo-dialog__inquiry--secondary {
  border-color: rgba(243, 240, 234, 0.22);
  color: var(--bw-photo-cream, #f3f0ea);
  background: rgba(9, 13, 15, 0.22);
}

.bw-photo-dialog__inquiry--secondary:hover,
.bw-photo-dialog__inquiry--secondary:focus-visible {
  border-color: rgba(227, 148, 100, 0.75);
  background: rgba(200, 110, 63, 0.12);
}

.bw-photo-dialog__offer small {
  display: block;
  margin-top: 12px;
  color: var(--bw-photo-slate, #6b7378);
  font-size: 0.64rem;
  line-height: 1.5;
}

.bw-photo-dialog__share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid rgba(243, 240, 234, 0.16);
  border-radius: 8px;
  color: var(--bw-photo-cream, #f3f0ea);
  font-size: 0.75rem;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.bw-photo-dialog__share:hover {
  color: #fff;
  border-color: rgba(227, 148, 100, 0.65);
  background: rgba(200, 110, 63, 0.14);
}

.bw-photo-dialog__status {
  min-height: 1.2em;
  margin: 10px 0 0;
  color: var(--bw-photo-copper-light, #e39464);
  font-size: 0.75rem;
}

body.bw-photo-dialog-open {
  overflow: hidden !important;
}

@keyframes bw-photo-hero-reveal {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes bw-photo-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bw-photo-dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1120px) {
  .bw-photo-hero__aside {
    display: none;
  }

  .bw-photo-intro {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .bw-photo-intro__copy {
    grid-column: 2;
    max-width: 740px;
  }

  .bw-photo-card--standard,
  .bw-photo-card--wide {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
  }

  .bw-photo-card--panorama {
    aspect-ratio: 16 / 7;
  }

  .bw-photo-dialog {
    width: calc(100vw - 24px);
    height: calc(100dvh - 24px);
  }

  .bw-photo-dialog__content {
    grid-template-columns: minmax(0, 1.52fr) minmax(310px, 0.72fr);
  }
}

@media (max-width: 820px) {
  .bw-photo-hero {
    min-height: max(660px, calc(100svh - 68px));
  }

  .bw-photo-hero__shade {
    background:
      linear-gradient(90deg, rgba(6, 10, 12, 0.86), rgba(6, 10, 12, 0.2)),
      linear-gradient(0deg, rgba(6, 10, 12, 0.94), rgba(6, 10, 12, 0.08) 68%, rgba(6, 10, 12, 0.34));
  }

  .bw-photo-hero__inner,
  .bw-photo-intro,
  .bw-photo-collection__head,
  .bw-photo-filter-shell,
  .bw-photo-grid,
  .bw-photo-finale__inner {
    width: min(100% - 38px, 1320px);
  }

  .bw-photo-hero h1 {
    font-size: clamp(4rem, 15vw, 7rem);
  }

  .bw-photo-hero__credit {
    display: none;
  }

  .bw-photo-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bw-photo-section-number {
    writing-mode: initial;
    transform: none;
  }

  .bw-photo-intro__copy {
    grid-column: auto;
  }

  .bw-photo-collection__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bw-photo-filter-shell {
    top: 68px;
    align-items: flex-start;
    padding: 12px;
  }

  body.admin-bar .bw-photo-filter-shell {
    top: 114px;
  }

  .bw-photo-filters {
    flex-wrap: nowrap;
    max-width: calc(100% - 72px);
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .bw-photo-filters::-webkit-scrollbar {
    display: none;
  }

  .bw-photo-filter {
    flex: 0 0 auto;
  }

  .bw-photo-result {
    padding: 13px 4px 0 0;
  }

  .bw-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bw-photo-card--standard,
  .bw-photo-card--wide,
  .bw-photo-card--panorama {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .bw-photo-dialog {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .bw-photo-dialog__surface {
    grid-template-rows: 60px minmax(0, 1fr);
  }

  .bw-photo-dialog__content {
    display: block;
    min-height: 0;
    overflow-y: auto;
  }

  .bw-photo-dialog__stage {
    height: min(62vh, 600px);
    min-height: 370px;
  }

  .bw-photo-dialog__story {
    min-height: 0;
    border-top: 1px solid rgba(243, 240, 234, 0.13);
    border-left: 0;
    overflow: visible;
  }
}

@media (max-width: 560px) {
  .bw-photo-hero {
    min-height: calc(100svh - 68px);
  }

  .bw-photo-hero__inner {
    padding-bottom: 66px;
  }

  .bw-photo-hero h1 {
    max-width: 360px;
    font-size: clamp(3.9rem, 19vw, 6.1rem);
    line-height: 0.86;
  }

  .bw-photo-hero__lead {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .bw-photo-hero__actions {
    display: grid;
  }

  .bw-photo-button {
    width: 100%;
  }

  .bw-photo-intro {
    padding-block: 82px;
  }

  .bw-photo-intro h2,
  .bw-photo-collection__head h2,
  .bw-photo-finale h2 {
    font-size: clamp(2.55rem, 13vw, 4.15rem);
  }

  .bw-photo-collection {
    padding-block: 76px 96px;
  }

  .bw-photo-collection__head {
    margin-bottom: 30px;
  }

  .bw-photo-filter-shell {
    margin-bottom: 14px;
    border-radius: 2px 14px 2px 2px;
  }

  .bw-photo-result span {
    display: none;
  }

  .bw-photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bw-photo-card--standard,
  .bw-photo-card--wide,
  .bw-photo-card--panorama {
    grid-column: 1;
    aspect-ratio: 4 / 3;
  }

  .bw-photo-card__open {
    border-radius: 2px 22px 2px 2px;
  }

  .bw-photo-card__copy {
    right: 19px;
    bottom: 18px;
    left: 19px;
  }

  .bw-photo-card__copy strong,
  .bw-photo-card--standard .bw-photo-card__copy strong {
    font-size: clamp(1.35rem, 7.5vw, 2rem);
  }

  .bw-photo-card__copy > span {
    display: none;
  }

  .bw-photo-card__index {
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
  }

  .bw-photo-finale__inner {
    padding-block: 82px 96px;
  }

  .bw-photo-dialog__bar {
    padding-inline: 16px 12px;
  }

  .bw-photo-dialog__bar small,
  .bw-photo-dialog__close {
    font-size: 0;
  }

  .bw-photo-dialog__stage {
    height: 47vh;
    min-height: 300px;
  }

  .bw-photo-dialog__stage img {
    padding: 8px;
  }

  .bw-photo-dialog__nav {
    top: auto;
    bottom: 14px;
    width: 44px;
    height: 44px;
    transform: none;
  }

  .bw-photo-dialog__nav--prev {
    left: 14px;
  }

  .bw-photo-dialog__nav--next {
    right: 14px;
  }

  .bw-photo-dialog__story {
    padding: 34px 22px 56px;
  }

  .bw-photo-dialog__story h2 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .bw-photo-dialog__facts > div {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 14px;
  }
}

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

  .bw-photo-card img,
  .bw-photo-card__open:hover img,
  .bw-photo-card__open:focus-visible img,
  .bw-photo-hero__image {
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .bw-photo-filter,
  .bw-photo-card__open,
  .bw-photo-button,
  .bw-photo-dialog__inquiry,
  .bw-photo-dialog__share,
  .bw-photo-dialog__nav {
    border: 1px solid ButtonText;
  }
}
