/* About page — full-screen three-column layout */


.about-layout {
  height: 100%;
  column-gap: 0;
}

body.page-about .site-logo svg {
  fill: var(--pi-fill);
  color: var(--pi-fill);
}

body.page-about .menu,
body.page-about .menu a {
  color: var(--pi-fill);
}

/* ── Shared column base ──────────────────────────────────────────────────── */

.about-col {
  height: 100%;
  overflow-y: auto;
}

/* ── Left: gallery images ────────────────────────────────────────────────── */

.about-col--left {
  background: #fff;
  overflow-y: auto;
}

.about-col--left img {
  width: 100%;
  display: block;
}

/* the "1/x" counter belongs to the phone slider */
.about-gallery-count {
  display: none;
}

/* ── Middle: email + socials ─────────────────────────────────────────────── */

.about-col--middle {
  background-color: var(--pi-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5vh 3%;
}

.about-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.about-btn {
  display: block;
  width: fit-content;
  color: var(--ui-color, white);
}

.about-btn:hover {
  opacity: 1;
  color: var(--pi-bg);
}

.about-btn:hover .btn-border path {
  fill: var(--ui-color);
  stroke: var(--ui-color);
}

.about-links-mobile {
  display: none;
}

/* ── Right: description + accordion ──────────────────────────────────────── */

.about-col--right {
  background-color: var(--pi-fill);
  padding: 2rem;
  color: #fff;
  overflow-y: auto;
}

.about-description {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.about-description p + p {
  margin-top: 1em;
}

/* ── Accordion ───────────────────────────────────────────────────────────── */

.about-toggle {
  display: block;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 1.2rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  padding: 0.6rem 0;
  box-sizing: border-box;
}

.about-toggle:hover {
  opacity: 0.65;
}

.about-drawer {
  display: none;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.65;
  padding: 0.3rem 0 0.8rem;
}

.about-drawer.is-open {
  display: block;
}

.about-drawer p {
  margin-top: 0.75em;
}

.about-drawer p:first-child {
  margin-top: 0;
}

/* ── Black-text mode ─────────────────────────────────────────────────────── */

body.has-black-text.page-about .about-col--right {
  color: #000;
}

body.has-black-text.page-about .about-toggle {
  color: #000;
  border-bottom-color: rgba(0, 0, 0, 0.4);
}

body.has-black-text.page-about .about-drawer {
  color: #000;
}

body.has-black-text.page-about .about-btn {
  color: var(--ui-color, #000);
}

body.has-black-text.page-about .about-btn:hover {
  color: var(--pi-bg);
}

@media only screen and (max-width: 800px) {
  body.page-about {
    overflow-y: auto !important;
    height: auto !important;
  }

  body.page-about .main {
    flex: none;
  }

  .about-layout {
    height: auto;
  }

  .about-col {
    height: auto;
    overflow: visible;
  }

  .about-col--right  { order: 1; }
  .about-col--left   { order: 2; }
  .about-col--middle { order: 3; height: 4rem; overflow: hidden; justify-content: flex-start; }
  .about-col--middle .about-links { display: none; }

  .about-links-mobile {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }

  .about-col--right{
    padding-top: 6rem;
  }

  .about-links-mobile .about-btn {
    flex: 1;
    text-align: center;
  }

  .about-col--left {
    overflow: hidden;
    position: relative;
  }

  /* Gallery slider: full width, photos at their natural proportions, native
     swipe with snapping; about.js adds the "1/x" counter */
  .about-gallery-track {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .about-gallery-track::-webkit-scrollbar { display: none; }

  .about-gallery-track img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    display: block;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .about-gallery-count {
    display: block;
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.85);
    color: #000;
    font-size: 0.8rem;
    line-height: 1.2;
    pointer-events: none;
  }
}

/* Terms · Privacy · Returns (· Cookie settings) at the end of the right column */
.about-legal {
  margin: 2.5rem 0 1rem;
  font-size: 0.85rem;
}

.about-legal a,
.about-legal .site-link {
  color: inherit;
  text-decoration: underline;
}

.about-legal .site-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
