body.page-type-photo-album { background: #f7f7f5; }
.pm-album { --album-ink: #18202b; --album-muted: #5a6673; --album-paper: #fff; --album-line: #e5e7eb; color: var(--album-ink); }
html.dark-theme .pm-album { --album-ink: #f3f5f7; --album-muted: #bec6d1; --album-paper: #1b222e; --album-line: #36404c; }
html.dark-theme body.page-type-photo-album { background: #111820; }
.pm-album__header { position: relative; isolation: isolate; display: flex; align-items: end; min-height: clamp(380px, 42vw, 530px); overflow: hidden; background: #121b29; color: #fff; padding: clamp(34px, 4vw, 52px) 20px clamp(38px, 4vw, 54px); }
.pm-album__hero-image { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pm-album__header::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 14, 24, .94) 0%, rgba(7, 14, 24, .78) 48%, rgba(7, 14, 24, .22) 100%), linear-gradient(0deg, rgba(7, 14, 24, .52), transparent 65%); pointer-events: none; }
.pm-album__header-inner { position: relative; z-index: 2; }
.pm-album__header-inner, .pm-album__gallery-wrap { width: min(100%, 1160px); margin-inline: auto; }
.pm-album__eyebrow { margin: 0 0 16px; color: #f1a6a8; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pm-album__eyebrow span { color: #8491a4; margin-inline: 8px; }
.pm-album__header h1 { max-width: 850px; margin: 0; font: 800 clamp(2.1rem, 3.4vw, 3.2rem)/1.12 'PM Outfit', system-ui, sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.pm-album__intro { max-width: 710px; margin: 18px 0 0; color: #dae1e9; font-size: clamp(.98rem, 1.3vw, 1.09rem); line-height: 1.6; }
.pm-album__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 13px; margin-top: 18px; color: #cad3de; font-size: .83rem; font-weight: 600; }
.pm-album__meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #f06b70; }
.pm-album__gallery-wrap { padding: clamp(24px, 3vw, 36px) 20px 80px; }
.pm-album__section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.pm-album__section-kicker { margin: 0 0 5px; color: #bd3037; font-size: .73rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.pm-album__section-head h2 { margin: 0; color: var(--album-ink); font: 750 clamp(1.45rem, 2.4vw, 2rem)/1.2 var(--font-heading, 'Outfit', sans-serif); }
.pm-album__section-head > p { margin: 0 0 3px; color: var(--album-muted); font-size: .86rem; }
.pm-album__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pm-album__item { min-width: 0; margin: 0; padding: 0 0 14px; background: var(--album-paper); border: 1px solid var(--album-line); border-radius: 18px; overflow: hidden; }
.pm-album__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #e6e9ed; cursor: zoom-in; text-align: left; overflow: hidden; aspect-ratio: 4 / 3; }
.pm-album__open img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pm-album__view { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 12px; align-items: center; padding: 9px 13px; border-radius: 8px; background: rgba(14, 20, 29, .88); color: #fff; font-size: .78rem; font-weight: 700; }
.pm-album__view span { font-size: 1.05rem; line-height: 1; }
.pm-album__item figcaption { padding: 13px 17px 0; color: var(--album-ink); font-size: .89rem; line-height: 1.48; }
.pm-album .pm-album__ad { position: relative; box-sizing: border-box; display: block; grid-column: 1 / -1; width: 100%; min-height: 140px; margin: 4px 0; padding: 28px 0 12px; border-block: 1px solid var(--album-line); background: transparent; color: var(--album-muted); }
.pm-album .pm-album__gallery-wrap > .pm-album__ad { margin-top: 28px; }
.pm-album .pm-album__ad > .pm-content-ad__label { position: absolute; top: 8px; left: 0; width: 100%; font: 600 9px/1.2 system-ui, sans-serif; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.pm-album__open:focus-visible, .pm-album-lightbox button:focus-visible { outline: 3px solid #ff7b7e; outline-offset: -3px; }
.pm-album__empty { padding: 35px 24px; border: 1px solid var(--album-line); border-radius: 16px; background: var(--album-paper); color: var(--album-muted); }
.pm-album__subjects { width: min(100%, 1160px); margin: 0 auto 72px; padding: 0 20px; }
.pm-album__subjects h2 { margin: 0 0 16px; color: var(--album-ink); font: 750 1.25rem/1.25 'PM Outfit', system-ui, sans-serif; }
.pm-album__subject-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pm-album__subject-links a { display: inline-flex; gap: 10px; align-items: center; min-height: 42px; padding: 8px 13px; border: 1px solid var(--album-line); border-radius: 9px; background: var(--album-paper); color: var(--album-ink); font-size: .86rem; font-weight: 700; text-decoration: none; }
.pm-album__subject-links a:hover { border-color: #c6383e; }
.pm-album__subject-links span { color: var(--album-muted); font-size: .72rem; font-weight: 600; }
.pm-album-lightbox[hidden] { display: none !important; }
.pm-album-lightbox { position: fixed; z-index: 20001; inset: 0; display: flex; flex-direction: column; background: rgba(8, 12, 20, .97); color: #fff; }
body.pm-album-lightbox-open { overflow: hidden; }
.pm-album-lightbox__close { align-self: end; min-width: 44px; min-height: 44px; margin: 12px 16px 0; padding: 6px 13px; border: 1px solid #647080; border-radius: 9px; background: #252e3c; color: #fff; cursor: pointer; font: 700 .85rem/1 var(--font-body, sans-serif); }
.pm-album-lightbox__close span { margin-left: 9px; font-size: 1.4rem; vertical-align: -.1em; }
.pm-album-lightbox__stage { display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; gap: 12px; align-items: center; flex: 1; min-height: 0; width: min(100%, 1320px); margin-inline: auto; padding: 10px 16px 24px; }
.pm-album-lightbox__nav { width: 48px; height: 48px; border: 1px solid #647080; border-radius: 50%; background: #252e3c; color: #fff; cursor: pointer; }
.pm-album-lightbox__nav span { font-size: 2rem; line-height: 1; }
.pm-album-lightbox__nav:disabled { opacity: .3; cursor: default; }
.pm-album-lightbox__media { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; height: 100%; text-align: center; }
.pm-album-lightbox__media img { display: block; max-width: 100%; max-height: calc(100dvh - 165px); width: auto; height: auto; object-fit: contain; }
.pm-album-lightbox__media p { max-width: 750px; margin: 14px 0 4px; font-size: .94rem; line-height: 1.45; }
.pm-album-lightbox__media p:empty { display: none; }
.pm-album-lightbox__count { color: #aeb9c6; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 680px) {
  .pm-album__header { min-height: 390px; padding: 30px 16px 36px; }
  .pm-album__header::before { background: linear-gradient(0deg, rgba(7, 14, 24, .94), rgba(7, 14, 24, .58)); }
  .pm-album__header h1 { font-size: clamp(2rem, 7vw, 2.7rem); }
  .pm-album__intro { margin-top: 14px; }
  .pm-album__gallery-wrap { padding: 24px 16px 40px; }
  .pm-album__subjects { padding: 0 16px; margin-bottom: 55px; }
  .pm-album__section-head { display: block; }
  .pm-album__section-head > p { margin-top: 7px; }
  .pm-album__grid { grid-template-columns: 1fr; gap: 17px; }
  .pm-album .pm-album__ad { min-height: 282px; margin: 8px 0; }
  .pm-album-lightbox__stage { position: relative; display: block; padding: 8px 16px 68px; }
  .pm-album-lightbox__nav { position: absolute; bottom: 16px; width: 44px; height: 44px; }
  .pm-album-lightbox__nav:first-child { left: 20px; }
  .pm-album-lightbox__nav:last-child { right: 20px; }
  .pm-album-lightbox__media img { max-height: calc(100dvh - 200px); }
}
