/* ===============================================
   restaurierung.at — V1 Preserved Rails
   2026 modernization
   =============================================== */

/* ---------- Fonts (self-hosted EB Garamond, SIL OFL 1.1: _fonts/OFL.txt) ---------- */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('_fonts/eb-garamond-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('_fonts/eb-garamond-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('_fonts/eb-garamond-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('_fonts/eb-garamond-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F2EDDD;
  --matting: #FBF6E6;
  --walnut: #8b6534;
  --walnut-dim: #6b4a22;
  --walnut-dark: #5a4318;
  --ink: #1a1a1a;
  --sub-ink: #2a2116;
  --divider: rgba(139, 101, 52, 0.25);
  --divider-strong: rgba(139, 101, 52, 0.35);
  --shadow-mat: 0 2px 10px rgba(99, 71, 36, 0.10);
  --error: #8b2d2d;
  --focus: 2px solid var(--walnut-dark);
  --serif: 'EB Garamond', Georgia, serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.65;
}
body {
  font-size: 1rem;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; }

/* One consistent keyboard focus indicator for everything interactive. */
:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nowrap { white-space: nowrap; }

/* ---------- Frame ---------- */

.page-container {
  display: grid;
  grid-template-columns: 1px 1fr 1px;
  min-height: 100vh;
}
.page-container > .rail {
  background: var(--walnut);
}
.page-container > .inner {
  padding: 36px 42px 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- Topbar ---------- */

.top-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 16px;
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--walnut-dim);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--walnut);
  margin-bottom: 46px;
}
.top-bar a {
  color: inherit;
  text-decoration: underline dotted var(--walnut);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.top-bar .date { justify-self: start; }
/* Keep the line height while the date is filled in by script. */
.top-bar .date:empty::before { content: "\00a0"; }
.top-bar .crumb {
  justify-self: center;
  text-align: center;
}
.top-bar .domain { justify-self: end; }
.top-bar .menu-link {
  display: none;
  padding-block: 12px; /* tap target; the negative margin keeps the row height */
  margin-block: -12px;
}

/* ---------- Content: two-column ---------- */

.main-content-area {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.main-content-area.layout-text {
  grid-template-columns: minmax(0, 44rem);
}

/* ---------- Headings ---------- */

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 2.375rem;
  line-height: 1.1;
  margin: -6px 0 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h2.list-heading,
.legal h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--ink);
}
.legal h2 { margin-top: 28px; }

/* ---------- Lede + body ---------- */

.lede {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--sub-ink);
  margin: 0 0 18px;
  max-width: 48ch;
}

p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sub-ink);
  margin: 0 0 14px;
}

main a[href^="mailto:"] { overflow-wrap: anywhere; }
h1, .legal h2, dialog.impressum .dlg-title, dialog.impressum .dlg-h { overflow-wrap: break-word; hyphens: auto; }
dialog.impressum a[href^="mailto:"] { overflow-wrap: anywhere; }

main a {
  text-decoration: underline;
  text-decoration-color: var(--walnut);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.signoff {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--walnut-dark);
  margin-top: 26px;
  line-height: 1.7;
}
.nav-hint {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--walnut-dim);
}
.legal ul {
  margin: 0 0 14px;
  padding-left: 1.2em;
}
.legal li {
  margin: 0 0 6px;
  color: var(--sub-ink);
}
.legal-note {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--walnut-dim);
}
.legal .meta {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--walnut-dim);
  margin-top: 28px;
}

/* ---------- Lists: no glyph, hairline dividers ---------- */

ul.items {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
ul.items li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sub-ink);
  padding: 14px 0;
  border-top: 1px solid var(--divider);
}
ul.items li:last-child {
  border-bottom: 1px solid var(--divider);
}
ul.items li em,
ul.items li .sub {
  font-style: italic;
  color: var(--walnut-dim);
}
ul.items li .sub {
  display: block;
  margin-top: 6px;
}
ul.items + p { margin-top: 22px; }

/* ---------- Matted image ---------- */

.matted {
  margin: 0;
  background: var(--matting);
  border: 1px solid var(--walnut);
  padding: 10px;
  box-shadow: var(--shadow-mat);
  display: block;
}
.matted img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--walnut);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-address {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--walnut-dim);
  text-align: center;
  margin: 0;
}
.footer-address a {
  color: inherit;
  text-decoration: underline dotted var(--walnut);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.footer-nav {
  display: flex;
  column-gap: 18px;
  row-gap: 0;
  font-size: 0.875rem;
  color: var(--ink);
  flex-wrap: wrap;
  justify-content: center;
  font-variant: small-caps;
  letter-spacing: 0.06em;
}
.footer-nav a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  display: inline-block;
  padding: 10px 2px;
  transition: text-decoration-color 0.15s, color 0.15s;
}
.footer-legal {
  display: inline-flex;
  column-gap: inherit;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a[aria-current="page"] {
  text-decoration-color: var(--walnut);
  color: var(--walnut-dim);
}

/* ---------- Carousel ---------- */

.carousel {
  position: relative;
  width: 100%;
}
.carousel-stage,
.carousel-static {
  position: relative;
}
.carousel-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  touch-action: pan-y pinch-zoom;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.carousel-slide[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide > .matted,
.carousel-static > .matted {
  height: 100%;
}
.carousel-static > .matted {
  aspect-ratio: 4 / 3;
}
/* Show every picture whole inside the mat (no cropping). */
.carousel-slide .matted img,
.carousel-static .matted img,
.wipe .wipe-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.carousel-controls button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--walnut);
  background: var(--matting);
  color: var(--walnut-dark);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, color 0.15s;
}
.carousel-controls button:focus-visible {
  background: var(--walnut);
  color: var(--matting);
}

.carousel-caption {
  text-align: center;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--walnut-dim);
  margin: 12px auto 0;
  max-width: 44ch;
  min-height: 1.65em;
}
.carousel-meta {
  text-align: center;
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--walnut-dim);
  margin: 4px 0 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 10px auto 0;
  flex-wrap: wrap;
}
.carousel-dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}
.carousel-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid var(--walnut);
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  transition: background 0.15s;
}
.carousel-dots button.is-pair::before {
  width: 12px;
  height: 12px;
}
.carousel-dots button[aria-current="true"]::before {
  background: var(--walnut);
}
.carousel-dots button:focus-visible {
  outline-offset: -2px;
}

.carousel-message {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 4 / 3;
  font-style: italic;
  color: var(--walnut-dim);
}
.carousel-static ~ .carousel-message {
  aspect-ratio: auto;
  padding: 10px 0 0;
  font-size: 0.875rem;
}

/* Desktop: arrows sit just outside the mat, never on the picture. */
@media (min-width: 961px) {
  .carousel-stage,
  .carousel-static {
    padding: 0 52px;
  }
}

/* ---------- Before/after wipe ---------- */

.carousel-slide > .matted.wipe-mat {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wipe {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.wipe .wipe-layer {
  position: absolute;
  inset: 0;
}
/* The "nachher" layer shows to the right of the bar, the "vorher" layer to the left. */
.wipe .wipe-layer.wipe-after {
  clip-path: inset(0 0 0 var(--wipe-pos, 50%));
}
.wipe input[type="range"].wipe-handle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none; /* pointer drags are handled on .wipe; the range serves keyboard and screen readers */
}
.wipe .wipe-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--walnut);
  left: var(--wipe-pos, 50%);
  transform: translateX(-50%);
  pointer-events: none;
}
.wipe .wipe-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid var(--walnut);
  background: var(--matting);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.wipe .wipe-handle:focus-visible ~ .wipe-bar::before {
  box-shadow: 0 0 0 3px var(--matting), 0 0 0 5px var(--walnut-dark), 0 0 0 7px var(--matting);
}
.wipe .wipe-label {
  position: absolute;
  top: 10px;
  font-size: 0.75rem;
  font-style: italic;
  font-family: var(--serif);
  color: var(--walnut-dark);
  background: var(--matting);
  padding: 2px 8px;
  border: 1px solid var(--walnut);
  pointer-events: none;
}
.wipe .wipe-label.vorher { left: 10px; }
.wipe .wipe-label.nachher { right: 10px; }
.wipe .wipe-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--walnut-dark);
  background: var(--matting);
  padding: 4px 10px;
  border: 1px solid var(--walnut);
  pointer-events: none;
  opacity: 0.9;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.wipe.wipe-used .wipe-hint { opacity: 0; }

/* ---------- Gallery without JavaScript ---------- */

.gallery-noscript {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}
.gallery-noscript p {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--walnut-dim);
  margin: 6px 0 0;
}

/* ---------- Contact form ---------- */

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}
.contact-form[hidden] { display: none; }
.contact-form label {
  font-size: 0.875rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--walnut-dim);
  margin-bottom: 4px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  background: var(--matting);
  border: 1px solid var(--walnut);
  padding: 12px 14px;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--walnut-dark);
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: var(--focus);
  outline-offset: 1px;
}
.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}
.contact-form button[type="submit"] {
  background: var(--walnut);
  color: var(--matting);
  font-family: var(--serif);
  font-size: 0.875rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-start;
}
.contact-form button[type="submit"][aria-disabled="true"] {
  opacity: 0.5;
  cursor: wait;
}
.contact-form .form-note,
.contact-form .form-privacy {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--walnut-dim);
  margin: 0;
}
.contact-form .status {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--walnut-dark);
  margin: 0;
}
.contact-form .status:empty { position: absolute; } /* stays in the accessibility tree, takes no space */
.contact-form .status.error {
  color: var(--error);
}
.form-fallback {
  font-style: italic;
  color: var(--walnut-dark);
}

/* ---------- Impressum dialog ---------- */

dialog.impressum {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--walnut);
  padding: 0;
  max-width: 640px;
  width: 92%;
  max-height: 90vh;
  overflow: hidden;
  font-family: var(--serif);
}
dialog.impressum .dialog-body {
  padding: 32px 36px;
  max-height: calc(90vh - 2px);
  overflow: auto;
}
dialog.impressum .dialog-body:focus { outline: none; }
dialog.impressum::backdrop {
  background: rgba(26, 16, 0, 0.55);
}
/* Styled like headings, but plain paragraphs so the legal text adds no headings to every page. */
dialog.impressum .dlg-title {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 1.625rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 18px;
}
dialog.impressum .dlg-h {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink);
  margin: 18px 0 4px;
}
dialog.impressum p { margin: 0 0 8px; }
dialog.impressum .close {
  position: absolute;
  z-index: 1;
  top: 6px;
  right: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--walnut-dim);
  background: var(--paper);
  border-radius: 50%;
  cursor: pointer;
}

/* ---------- Hover (only on devices that really hover) ---------- */

@media (hover: hover) {
  .top-bar a:hover,
  .footer-address a:hover { color: var(--walnut-dark); }
  main a:hover { color: var(--walnut-dim); }
  .footer-nav a:hover {
    text-decoration-color: var(--walnut);
    color: var(--walnut-dim);
  }
  .carousel-controls button:hover {
    background: var(--walnut);
    color: var(--matting);
  }
  .contact-form button[type="submit"]:hover:not([aria-disabled="true"]) {
    background: var(--walnut-dark);
  }
  dialog.impressum .close:hover { color: var(--walnut-dark); }
}

/* ---------- Responsive: stacked columns from 960px ---------- */

@media (max-width: 1199px) {
  .footer-nav { max-width: 40rem; margin-inline: auto; }
}

@media (max-width: 960px) {
  .main-content-area {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  /* The 2001 pictures are small: don't blow them up on tablets. */
  .main-content-area > .matted {
    width: 100%;
    max-width: 35rem;
    margin-inline: auto;
  }
  /* Homepage: greeting before the picture. */
  .layout-home > section { order: -1; }

  /* Gallery pages: heading and lede, then the pictures, then the rest of the text. */
  .layout-gallery { row-gap: 0; }
  .layout-gallery > section { display: contents; }
  .layout-gallery > section > h1 { order: 1; }
  .layout-gallery > section > .lede { order: 2; }
  .layout-gallery > .carousel { order: 3; width: 100%; max-width: 35rem; margin: 6px auto 28px; }
  .layout-gallery > section > :not(h1):not(.lede) { order: 4; }

  /* Service page: the signature follows the list of services. */
  .layout-service { row-gap: 0; }
  .layout-service > section { display: contents; }
  .layout-service > section:last-child > * { order: 4; }
  .layout-service .signoff { order: 5; }
  .layout-service h2.list-heading { margin-top: 18px; }

  /* Arrows move into the picture corners, smaller and translucent. */
  .carousel-controls {
    top: auto;
    bottom: 16px;
    left: 16px;
    right: 16px;
    transform: none;
  }
  .carousel-controls button {
    width: 40px;
    height: 40px;
    font-size: 1.375rem;
    background: rgba(251, 246, 230, 0.85);
  }
}

@media (max-width: 768px) {
  .page-container {
    grid-template-columns: 1fr;
  }
  .page-container > .rail {
    display: none;
  }
  .page-container > .inner {
    padding: 24px 16px 28px;
  }
  .top-bar {
    grid-template-columns: 1fr auto;
    row-gap: 6px;
    margin-bottom: 28px;
  }
  .top-bar .date { grid-column: 1; grid-row: 1; }
  .top-bar .menu-link {
    display: inline;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .top-bar .crumb {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
  .top-bar .domain { display: none; }
  h1 {
    font-size: 1.875rem;
  }
  dialog.impressum .dialog-body { padding: 28px 56px 28px 20px; }
  .footer-nav {
    column-gap: 18px;
  }
}

/* ---------- Motion and contrast preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .carousel-dots button::before { forced-color-adjust: none; border-color: CanvasText; }
  .carousel-dots button[aria-current="true"]::before { background: Highlight; border-color: Highlight; }
  .wipe .wipe-bar,
  .wipe .wipe-bar::before { forced-color-adjust: none; background: CanvasText; }
  .wipe .wipe-handle:focus-visible ~ .wipe-bar::before { outline: 2px solid Highlight; outline-offset: 2px; }
}

/* ---------- Print ---------- */

@media print {
  .rail,
  .menu-link,
  .carousel-controls,
  .carousel-dots,
  .wipe-hint,
  .contact-form,
  .footer-nav,
  dialog { display: none !important; }
  html, body { background: #fff; }
  .page-container { display: block; }
  .page-container > .inner { padding: 0; max-width: none; }
  .main-content-area { display: block; }
  .main-content-area > * { margin-bottom: 24px; }
  .matted,
  .main-content-area > .matted { box-shadow: none; break-inside: avoid; max-width: 9cm; margin-inline: 0; }
  .site-footer { margin-top: 12px; break-before: avoid; }
  .wipe { width: auto !important; height: auto !important; }
  .wipe .wipe-layer.wipe-before { position: static; }
  .wipe .wipe-layer.wipe-after,
  .wipe .wipe-bar,
  .wipe .wipe-label,
  .wipe .wipe-handle { display: none; }
  .carousel, .carousel-stage, .carousel-frame { break-inside: avoid; }
  .carousel-stage, .carousel-static { padding: 0; max-width: 12cm; }
  .carousel-frame { aspect-ratio: auto; }
  .carousel-slide { position: static; opacity: 1; }
  .carousel-slide[aria-hidden="true"] { display: none; }
  main a { text-decoration: none; }
}
