@font-face { font-family: WafPhotosText; font-style: normal; font-weight: 400; src: url('assets/fonts/regular.woff') format('woff'); }
@font-face { font-family: WafPhotosText; font-style: normal; font-weight: 700; src: url('assets/fonts/bold.woff') format('woff'); }
@font-face { font-family: WafPhotosHead; font-style: normal; font-weight: 700; src: url('assets/fonts/alternates-bold.woff') format('woff'); }
@font-face { font-family: WafPhotosDe; font-style: normal; font-weight: 700; src: url('assets/fonts/bold.woff') format('woff'); unicode-range: U+0434; }
.waf-photos {
  --ink: #20243a;
  --link: #145b80;
  width: min(750px, calc(100% - 64px));
  margin: 32px auto 72px;
  color: var(--ink);
  background: white;
  font: 400 18px/1.68 WafPhotosText, Arial, sans-serif;
  overflow-wrap: break-word;
}
.waf-photos *, .waf-photos *::before, .waf-photos *::after { box-sizing: border-box; }
.waf-photos :is(h1, h2, h3, summary) {
  font-family: WafPhotosDe, WafPhotosHead, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
.waf-photos h1 { margin: 0 0 24px; font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -.035em; }
.waf-photos h2 { font-size: 29px; margin: 2em 0 .7em; scroll-margin-top: 24px; }
.waf-photos picture, .waf-photos img { display: block; }
.waf-photos img { width: 100%; height: auto; }
.waf-photos header img { border-radius: 16px; }
.waf-photos nav { margin: 20px 0 24px; border-block: 3px solid #0b9dd7; border-bottom: 1px solid #dce3eb; }
.waf-photos summary { font-size: 19px; padding: 13px 0; cursor: pointer; }
.waf-photos nav ol { margin: 0 0 12px; padding-inline-start: 24px; columns: 2; column-gap: 40px; font-size: 14px; }
.waf-photos nav li { padding: .25em 0; break-inside: avoid; }
.waf-photos a { color: var(--link); text-underline-offset: 3px; }
.waf-photos a:hover { text-decoration-thickness: 2px; }
.waf-photos :is(a, summary, button, [tabindex]):focus-visible { outline: 3px solid #15577a; outline-offset: 3px; }
.waf-photos p { margin: 0 0 1em; }
.waf-photos section :is(ul, ol), .waf-photos > ul { padding-inline-start: 1.6em; margin: 0 0 1em; }
.waf-photos section li, .waf-photos > ul > li { margin-bottom: 4px; }
.waf-photos figure { margin: 24px 0; }
.waf-photos .wfp-enlarge { display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.waf-photos dialog { color: var(--ink); width: min(1100px, 96vw); max-width: 96vw; height: 90vh; height: 90dvh; max-height: 96dvh; background: #fff; border: 0; border-radius: 14px; padding: 0; }
.waf-photos dialog[open] { display: flex; flex-direction: column; }
.waf-photos dialog::backdrop { background: rgb(32 40 60 / 78%); }
.waf-photos .wfp-tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-bottom: 1px solid #dce3eb; }
.waf-photos .wfp-tools button { min-width: 44px; min-height: 44px; border: 1px solid #dce3eb; border-radius: 8px; padding: 6px 12px; background: #eff7fb; color: var(--ink); font: 700 16px WafPhotosText, Arial, sans-serif; cursor: pointer; }
.waf-photos .wfp-tools button:disabled { opacity: .45; cursor: default; }
.waf-photos .wfp-tools button:last-child { margin-inline-start: auto; background: var(--ink); color: white; }
.waf-photos .wfp-pan { overflow: auto; overscroll-behavior: contain; flex: 1; min-height: 0; background: #f4f5fc; }
.waf-photos .wfp-stage { display: grid; place-items: center; min-width: 100%; width: max-content; min-height: 100%; }
@media (max-width: 640px) {
  .waf-photos { width: calc(100% - 36px); margin-block: 20px 48px; font-size: 16px; }
  .waf-photos h1 { margin-bottom: 16px; }
  .waf-photos h2 { font-size: 24px; }
  .waf-photos nav { margin-top: 16px; }
  .waf-photos nav ol { columns: 1; }
}

.waf-photos h3 { margin: 1.8em 0 .7em; font-size: 22px; }
.waf-photos .wfp-stage img { max-width: none; }
.waf-photos dialog:not([open]) { display: none; }
@media (max-width: 640px) {
  .waf-photos h3 { font-size: 20px; }
}

.waf-photos code { font: inherit; overflow-wrap: anywhere; background: #eff7fb; padding: .1em .2em; border-radius: 3px; }
.waf-photos .wfp-table-scroll { overflow-x: auto; margin: 24px 0; }
.waf-photos table { border-collapse: collapse; width: 100%;  font-size: .93em; }
.waf-photos :is(td, th) { border-bottom: 1px solid #dce3eb; text-align: left; padding: 12px; vertical-align: top;  }
.waf-photos thead th { background: #eff7fb; }
.waf-photos tbody th { font-weight: 400; }
@media (max-width: 640px) { .waf-photos :is(td, th) { padding: 9px 6px; } }

.waf-photos .wfp-table-wide { min-width: 740px; }
.waf-photos .wfp-table-wide :is(th, td):first-child { width: 100px; white-space: nowrap; }
