/**
 * R. Scott Davis Photography - About Page Styles
 * All selectors prefixed with body.page-template-page-about for CSS specificity
 * Pixel-perfect match to Figma node 917:7089
 */

/* ===== Hero Section ===== */

body.page-template-page-about .about-hero {
  position: relative;
  height: 734px;
  overflow: hidden;
  width: 100%;
  background-color: #323232;
}

/* Gray name behind the image */
body.page-template-page-about .about-hero-name-bg {
  position: absolute;
  bottom: 0;
  /* left: -0.8vw; */
  left: 50%;
  transform: translate(-50%, 0);
  font-family: 'NB Architekt Std', serif;
  font-weight: bold;
  font-size: 13.26vw;
  color: #888888;
  white-space: nowrap;
  line-height: 8vw;
  z-index: 1;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Image container - covers full hero (edge-to-edge) */
body.page-template-page-about .about-hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 5;
  margin: 0 2.778vw;
}

body.page-template-page-about .about-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* White name inside the image (clipped) */
body.page-template-page-about .about-hero-name-fg {
  position: absolute;
  bottom: 0;
  /* left: -0.8vw; */
  left: 50%;
  transform: translate(-50%, 0);
  font-family: 'NB Architekt Std', serif;
  font-weight: bold;
  font-size: 13.26vw;
  color: #ffffff;
  white-space: nowrap;
  line-height: 8vw;
  z-index: 10;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Legacy class - keep for backward compat */
body.page-template-page-about .about-hero-name {
  display: none;
}

/* ===== Main Content Section ===== */

body.page-template-page-about .about-content {
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: #323232;
}

body.page-template-page-about .about-section-title {
  font-family: 'NB Architekt Std', serif;
  font-weight: bold;
  font-size: 48px;
  color: #e0d700;
  line-height: normal;
  margin: 0;
}

/* ===== Bio Columns Section ===== */

body.page-template-page-about .about-bio-columns {
  display: flex;
  gap: 24px;
}

body.page-template-page-about .about-bio-columns .bio-col {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  line-height: 24px;
}

body.page-template-page-about .about-bio-columns .bio-col p {
  margin: 0;
}

/* ===== Gallery Section ===== */

body.page-template-page-about .about-gallery-section {
  display: flex;
  gap: 48px;
  padding: 0 80px 120px 80px;
  align-items: flex-start;
  overflow: hidden;
  background-color: #323232;
}

body.page-template-page-about .about-gallery-text {
  flex: 0 0 302px;
  width: 302px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  line-height: 24px;
}

body.page-template-page-about .about-gallery-text p {
  margin: 0;
}

body.page-template-page-about .about-gallery-divider {
  width: 1px;
  background-color: #ffffff;
  align-self: stretch;
  flex-shrink: 0;
}

body.page-template-page-about .about-gallery-images {
  display: flex;
  gap: 24px;
  flex: 1;
  overflow: hidden;
  height: 441px;
}

body.page-template-page-about .about-gallery-images .gallery-img {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  height: 441px;
  flex-shrink: 0;
  object-fit: cover;
}

/* ===== Closing Section ===== */

body.page-template-page-about .about-closing {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  padding: 0 80px 120px 80px;
  background-color: #323232;
}

body.page-template-page-about .about-closing-text {
  max-width: 846px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  line-height: 24px;
  text-align: center;
  margin: 0;
}

body.page-template-page-about .about-closing-image {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  width: 100%;
  max-width: 1280px;
  height: 500px;
  object-fit: cover;
}

/* ===== Responsive: Tablet (1024px) ===== */

@media (max-width: 1024px) {
  body.page-template-page-about .about-hero {
    height: 500px;
  }

  body.page-template-page-about .about-hero-image-wrap {
    inset: 0;
    height: 100%;
  }

  /* body.page-template-page-about .about-hero-name-fg {
    left: 0;
    right: 0;
    text-align: left;
  } */

  body.page-template-page-about .about-content {
    padding: 60px 60px;
  }

  body.page-template-page-about .about-gallery-section {
    padding: 0 60px 60px 60px;
    gap: 32px;
  }

  body.page-template-page-about .about-gallery-text {
    flex: 0 0 250px;
    width: 250px;
  }

  body.page-template-page-about .about-gallery-images {
    height: 300px;
  }

  body.page-template-page-about .about-gallery-images .gallery-img {
    height: 300px;
  }

  body.page-template-page-about .about-closing {
    padding: 0 60px 60px 60px;
    gap: 32px;
  }

  body.page-template-page-about .about-closing-image {
    height: 350px;
  }
}

/* ===== Responsive: Mobile Landscape (768px) ===== */

@media (max-width: 768px) {
  body.page-template-page-about .about-hero {
    height: 400px;
  }

  body.page-template-page-about .about-hero-image-wrap {
    inset: 0;
    height: 100%;
  }

  /* body.page-template-page-about .about-hero-name-fg {
    left: 0;
    right: 0;
    text-align: left;
  } */

  body.page-template-page-about .about-content {
    padding: 40px 40px;
    gap: 20px;
  }

  body.page-template-page-about .about-section-title {
    font-size: 36px;
  }

  body.page-template-page-about .about-bio-columns {
    flex-direction: column;
    gap: 20px;
  }

  body.page-template-page-about .about-bio-columns .bio-col {
    font-size: 18px;
    line-height: 22px;
  }

  body.page-template-page-about .about-gallery-section {
    flex-direction: column;
    padding: 0 40px 40px 40px;
    gap: 24px;
    align-items: stretch;
  }

  body.page-template-page-about .about-gallery-text {
    flex: 1;
    width: auto;
    font-size: 18px;
    line-height: 22px;
  }

  body.page-template-page-about .about-gallery-divider {
    display: none;
  }

  body.page-template-page-about .about-gallery-images {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }

  body.page-template-page-about .about-gallery-images .gallery-img {
    height: 250px;
    width: 100%;
  }

  body.page-template-page-about .about-closing {
    padding: 0 40px 40px 40px;
    gap: 24px;
  }

  body.page-template-page-about .about-closing-text {
    font-size: 18px;
    line-height: 22px;
  }

  body.page-template-page-about .about-closing-image {
    height: 300px;
  }
}

/* ===== Responsive: Mobile (480px) ===== */

@media (max-width: 480px) {
  body.page-template-page-about .about-hero {
    height: 300px;
  }

  body.page-template-page-about .about-hero-image-wrap {
    inset: 0;
    height: 100%;
  }

  body.page-template-page-about .about-content {
    padding: 24px 24px;
    gap: 16px;
  }

  body.page-template-page-about .about-section-title {
    font-size: 28px;
  }

  body.page-template-page-about .about-bio-columns .bio-col {
    font-size: 16px;
    line-height: 20px;
  }

  body.page-template-page-about .about-gallery-section {
    padding: 0 24px 24px 24px;
    gap: 16px;
  }

  body.page-template-page-about .about-gallery-text {
    font-size: 16px;
    line-height: 20px;
  }

  body.page-template-page-about .about-gallery-images {
    gap: 16px;
  }

  body.page-template-page-about .about-closing {
    padding: 0 24px 24px 24px;
    gap: 16px;
  }

  body.page-template-page-about .about-closing-text {
    font-size: 16px;
    line-height: 20px;
  }

  body.page-template-page-about .about-closing-image {
    height: 200px;
  }
}
