/* ========================================
   PLATEAU ELEMENTS — SINGLE VIEW PAGES
   ======================================== */

/* ----------------------------------------
   SHARED SINGLE RESETS
   ---------------------------------------- */
.wp-plateau.pe-single {
  background: var(--pe-black);
  color: var(--pe-white);
  min-height: 100vh;
}

.wp-plateau.pe-single h1,
.wp-plateau.pe-single h2,
.wp-plateau.pe-single h3,
.wp-plateau.pe-single h4,
.wp-plateau.pe-single h5,
.wp-plateau.pe-single h6 {
  color: var(--pe-white);
  font-family: var(--pe-font-body);
  font-weight: 700;
}

.wp-plateau.pe-single a {
  color: var(--pe-amber);
  transition: color 0.3s ease;
}

.wp-plateau.pe-single a:hover {
  color: var(--pe-amber-bright);
}

.wp-plateau.pe-single p {
  color: var(--pe-grey-light);
  line-height: 1.7;
}

.wp-plateau.pe-single img {
  max-width: 100%;
  height: auto;
}

/* ----------------------------------------
   NEWS SINGLE — HERO
   (Reuses page-hero pattern structure)
   ---------------------------------------- */
.wp-plateau.pe-single-news .pe-news-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

.wp-plateau.pe-single-news .pe-news-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wp-plateau.pe-single-news .pe-news-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-plateau.pe-single-news .pe-news-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.3) 100%
  );
}

.wp-plateau.pe-single-news .pe-news-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--pe-amber);
  z-index: 3;
}

.wp-plateau.pe-single-news .pe-news-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.wp-plateau.pe-single-news .pe-news-hero-label {
  font-family: var(--pe-font-condensed);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pe-amber);
  margin-bottom: 16px;
}

.wp-plateau.pe-single-news .pe-news-hero h1 {
  font-family: var(--pe-font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--pe-white);
  margin-bottom: 0;
}

/* Hero animations */
.wp-plateau.pe-single-news .pe-news-hero-content > * {
  animation: pesFadeUp 0.7s ease both;
}

.wp-plateau.pe-single-news .pe-news-hero-label {
  animation-delay: 0.1s;
}

.wp-plateau.pe-single-news .pe-news-hero h1 {
  animation-delay: 0.3s;
}

@keyframes pesFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------
   NEWS SINGLE — CONTENT
   ---------------------------------------- */
.wp-plateau.pe-single-news .pe-news-content {
  background: var(--pe-charcoal);
  padding: 64px 0 80px;
}

.wp-plateau.pe-single-news .pe-news-content .pe-container {
  max-width: 900px;
}

.wp-plateau.pe-single-news .pe-news-content p {
  font-family: var(--pe-font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--pe-grey-light);
  margin-bottom: 24px;
}

.wp-plateau.pe-single-news .pe-news-content h2,
.wp-plateau.pe-single-news .pe-news-content h3,
.wp-plateau.pe-single-news .pe-news-content h4 {
  font-family: var(--pe-font-condensed);
  font-weight: 700;
  color: var(--pe-white);
  margin-top: 40px;
  margin-bottom: 16px;
}

.wp-plateau.pe-single-news .pe-news-content h2 {
  font-family: var(--pe-font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 1px;
}

.wp-plateau.pe-single-news .pe-news-content h3 {
  font-size: 22px;
  letter-spacing: 1px;
}

.wp-plateau.pe-single-news .pe-news-content img {
  border-radius: 2px;
  margin: 32px 0;
}

.wp-plateau.pe-single-news .pe-news-content blockquote {
  border-left: 3px solid var(--pe-amber);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--pe-graphite);
}

.wp-plateau.pe-single-news .pe-news-content blockquote p {
  font-size: 18px;
  font-style: italic;
  color: var(--pe-white);
  margin-bottom: 0;
}

.wp-plateau.pe-single-news .pe-news-content ul,
.wp-plateau.pe-single-news .pe-news-content ol {
  color: var(--pe-grey-light);
  padding-left: 24px;
  margin-bottom: 24px;
}

.wp-plateau.pe-single-news .pe-news-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.wp-plateau.pe-single-news .pe-news-content a {
  color: var(--pe-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 168, 36, 0.4);
  transition: text-decoration-color 0.3s ease;
}

.wp-plateau.pe-single-news .pe-news-content a:hover {
  text-decoration-color: var(--pe-amber);
}

.wp-plateau.pe-single-news .pe-news-content .divider-title {
  color: var(--pe-grey-light);
}

/* ----------------------------------------
   NEWS SINGLE — META STRIP
   ---------------------------------------- */
.wp-plateau.pe-single-news .pe-news-meta-strip {
  background: var(--pe-black-warm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 20px 0;
}

.wp-plateau.pe-single-news .pe-news-meta-strip .pe-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wp-plateau.pe-single-news .pe-news-meta-items {
  display: flex;
  gap: 32px;
}

.wp-plateau.pe-single-news .pe-news-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pe-font-condensed);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pe-grey-light);
}

.wp-plateau.pe-single-news .pe-news-meta-label {
  color: var(--pe-grey-light);
  font-weight: 700;
}

.wp-plateau.pe-single-news .pe-news-meta-item + .pe-news-meta-item {
  padding-left: 32px;
  border-left: 1px solid var(--pe-steel);
}

/* ----------------------------------------
   NEWS SINGLE — BACK LINK
   ---------------------------------------- */
.wp-plateau.pe-single-news .pe-news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pe-font-condensed);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-amber);
  transition: gap 0.3s ease, color 0.3s ease;
  border-bottom: none !important;
}

.wp-plateau.pe-single-news .pe-news-back-link:hover {
  gap: 14px;
  color: var(--pe-amber-bright);
  border-bottom: none !important;
}

.wp-plateau.pe-single-news .pe-news-back-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------------------
   NEWS SINGLE — CONTENT REFINEMENTS
   ---------------------------------------- */
.wp-plateau.pe-single-news .pe-news-content h1 {
  font-family: var(--pe-font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 1px;
  line-height: 1.05;
  margin-top: 40px;
  margin-bottom: 16px;
}

.wp-plateau.pe-single-news .pe-news-content h3 {
  font-family: var(--pe-font-condensed);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.wp-plateau.pe-single-news .pe-news-content h4 {
  font-family: var(--pe-font-condensed);
  font-size: 17px;
  font-weight: 600;
}

.wp-plateau.pe-single-news .pe-news-content hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 40px 0;
}

.wp-plateau.pe-single-news .pe-news-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ----------------------------------------
   PROJECT SINGLE — HEADER
   ---------------------------------------- */
.wp-plateau.pe-single-project .pe-project-header {
  padding: 140px 16px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wp-plateau.pe-single-project .pe-project-header h1 {
  font-family: var(--pe-font-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 0;
}

/* ----------------------------------------
   PROJECT SINGLE — TWO COLUMN LAYOUT
   ---------------------------------------- */
.wp-plateau.pe-single-project .pe-project-columns {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 80px;
}

/* ----------------------------------------
   PROJECT SINGLE — MAIN CONTENT (left col)
   ---------------------------------------- */
.wp-plateau.pe-single-project .pe-project-section {
  margin-bottom: 40px;
}

.wp-plateau.pe-single-project .pe-project-section h3 {
  font-family: var(--pe-font-condensed);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-amber);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pe-steel);
}

.wp-plateau.pe-single-project .pe-project-section p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--pe-grey-light);
  margin-bottom: 16px;
}

.wp-plateau.pe-single-project .pe-project-section p:first-of-type {
  font-size: 19px;
}

.wp-plateau.pe-single-project .pe-project-section a {
  color: var(--pe-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 168, 36, 0.4);
  transition: text-decoration-color 0.3s ease;
}

.wp-plateau.pe-single-project .pe-project-section a:hover {
  text-decoration-color: var(--pe-amber);
}

/* Gallery & video containers */
.wp-plateau.pe-single-project .pe-project-gallery {
  margin-bottom: 40px;
}

.wp-plateau.pe-single-project .pe-project-gallery a:focus-visible {
  outline: 2px solid var(--pe-amber);
  outline-offset: 2px;
}

.wp-plateau.pe-single-project .pe-project-gallery img {
  border-radius: 2px;
}

.wp-plateau.pe-single-project .pe-project-video {
  margin-bottom: 40px;
}

.wp-plateau.pe-single-project .pe-project-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

/* ----------------------------------------
   PROJECT SINGLE — SIDEBAR (right col)
   ---------------------------------------- */

/* Back link */
.wp-plateau.pe-single-project .pe-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pe-font-condensed);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-amber);
  margin-bottom: 24px;
  transition: gap 0.3s ease;
  scroll-margin-top: 100px;
}

.wp-plateau.pe-single-project .pe-back-link:hover {
  gap: 14px;
  color: var(--pe-amber-bright);
}

.wp-plateau.pe-single-project .pe-back-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Detail box */
.wp-plateau.pe-single-project .pe-detail-box {
  background: var(--pe-graphite);
  border-top: 4px solid var(--pe-amber);
  padding: 28px 24px 32px;
  margin-bottom: 32px;
}

.wp-plateau.pe-single-project .pe-detail-box h3 {
  font-family: var(--pe-font-condensed);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pe-steel);
}

.wp-plateau.pe-single-project .pe-detail-box p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--pe-grey-light);
  margin-bottom: 8px;
}

.wp-plateau.pe-single-project .pe-detail-box strong {
  color: var(--pe-white);
  font-weight: 600;
}

.wp-plateau.pe-single-project .pe-detail-box-cta {
    display: none;
}

/* Testimonial cards */
.wp-plateau.pe-single-project .pe-testimonial-card {
  margin-bottom: 32px;
  padding: 24px;
  background: var(--pe-charcoal);
  border-left: 3px solid var(--pe-amber);
}

.wp-plateau.pe-single-project .pe-testimonial-card h4 {
  font-family: var(--pe-font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-grey-mid);
  margin-bottom: 12px;
}

.wp-plateau.pe-single-project .pe-testimonial-card p {
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  color: var(--pe-grey-light);
  margin-bottom: 8px;
}

.wp-plateau.pe-single-project .pe-testimonial-card .pe-testimonial-name {
  font-family: var(--pe-font-condensed);
  font-size: 13px;
  font-weight: 600;
  color: var(--pe-amber);
  letter-spacing: 1px;
}

/* Press & news links */
.wp-plateau.pe-single-project .pe-press-links {
  margin-bottom: 32px;
}

.wp-plateau.pe-single-project .pe-press-links h4 {
  font-family: var(--pe-font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-grey-mid);
  margin-bottom: 12px;
}

.wp-plateau.pe-single-project .pe-press-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wp-plateau.pe-single-project .pe-press-links li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.wp-plateau.pe-single-project .pe-press-links a {
  font-size: 14px;
  color: var(--pe-grey-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.wp-plateau.pe-single-project .pe-press-links a:hover {
  color: var(--pe-amber);
}

.wp-plateau.pe-single-project .pe-press-links a::before {
  content: '\2192';
  color: var(--pe-amber);
  font-size: 12px;
}

/* ----------------------------------------
   TEAM SINGLE
   ---------------------------------------- */
.wp-plateau.pe-single-team .pe-team-detail {
  display: flex;
  gap: 48px;
  padding-top: 140px;
  padding-bottom: 80px;
  align-items: flex-start;
}

.wp-plateau.pe-single-team .pe-team-photo {
  flex-shrink: 0;
  width: 320px;
}

.wp-plateau.pe-single-team .pe-team-photo img {
  width: 100%;
  height: auto;
  border-bottom: 4px solid var(--pe-amber);
}

.wp-plateau.pe-single-team .pe-team-info {
  flex: 1;
  min-width: 0;
}

.wp-plateau.pe-single-team .pe-team-info h1 {
  font-family: var(--pe-font-display);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 8px;
}

.wp-plateau.pe-single-team .pe-team-title {
  font-family: var(--pe-font-condensed);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--pe-amber) !important;
  margin-bottom: 24px;
}

.wp-plateau.pe-single-team .pe-team-contact {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pe-steel);
}

.wp-plateau.pe-single-team .pe-team-contact a {
  font-family: var(--pe-font-condensed);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pe-grey-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200, 196, 187, 0.4);
}

.wp-plateau.pe-single-team .pe-team-contact a:hover {
  color: var(--pe-amber);
  text-decoration-color: var(--pe-amber);
}

.wp-plateau.pe-single-team .pe-team-bio {
  font-size: 17px;
  line-height: 1.7;
  color: var(--pe-grey-light);
}

.wp-plateau.pe-single-team .pe-team-bio p {
  margin-bottom: 16px;
}

/* ----------------------------------------
   UNICON OVERRIDES
   — Reset inherited padding/floats from
     Unicon container and grid system
   ---------------------------------------- */
.wp-plateau.pe-single#page-wrap {
  padding: 0;
}

.wp-plateau.pe-single #content {
  width: 100%;
  max-width: 100%;
  float: none;
  padding: 0;
  margin: 0;
}

.wp-plateau.pe-single #content.sixteen {
  width: 100%;
}

/* Override Unicon heading ::before icons */
.wp-plateau.pe-single h1::before,
.wp-plateau.pe-single h2::before {
  content: none;
  display: none;
}

/* Override Unicon link styles */
.wp-plateau.pe-single a:hover {
  border-bottom: none;
}

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media (max-width: 1024px) {
  .wp-plateau.pe-single-project .pe-project-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .wp-plateau.pe-single-project .pe-project-sidebar {
    order: -1;
  }

  .wp-plateau.pe-single-news .pe-news-hero {
    min-height: 440px;
  }

  .wp-plateau.pe-single-team .pe-team-detail {
    gap: 32px;
  }

  .wp-plateau.pe-single-team .pe-team-photo {
    width: 260px;
  }
}

@media (max-width: 768px) {
  .wp-plateau.pe-single-news .pe-news-meta-strip .pe-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .wp-plateau.pe-single-news .pe-news-meta-items {
    flex-wrap: wrap;
    gap: 16px;
  }

  .wp-plateau.pe-single-news .pe-news-meta-item + .pe-news-meta-item {
    padding-left: 0;
    border-left: none;
  }

  .wp-plateau.pe-single-team .pe-team-detail {
    flex-direction: column;
    padding-top: 120px;
  }

  .wp-plateau.pe-single-team .pe-team-photo {
    width: 100%;
    max-width: 320px;
  }

  .wp-plateau.pe-single-news .pe-news-hero {
    min-height: 380px;
    padding-bottom: 56px;
  }

  .wp-plateau.pe-single-project .pe-project-header {
    padding: 120px 0 40px;
  }
}

@media (max-width: 640px) {
  .wp-plateau.pe-single-news .pe-news-hero-content {
    padding: 0 24px;
  }
  .wp-plateau.pe-single-news .pe-news-meta-strip {
    padding: 16px 0;
  }

  .wp-plateau.pe-single-news .pe-news-content {
    padding: 40px 0 56px;
  }

  .wp-plateau.pe-single-news .pe-news-content h1 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .wp-plateau.pe-single-news .pe-news-content h2 {
    font-size: clamp(20px, 5.5vw, 26px);
  }

  .wp-plateau.pe-single-news .pe-news-content h3 {
    font-size: 17px;
  }

  .wp-plateau.pe-single-project .pe-project-header {
    padding: 100px 0 32px;
  }

  .wp-plateau.pe-single-project .pe-project-columns {
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 56px;
  }

  .wp-plateau.pe-single-team .pe-team-detail {
    padding-top: 100px;
    padding-bottom: 56px;
  }

  .wp-plateau.pe-single-team .pe-team-contact {
    flex-direction: column;
    gap: 12px;
  }
}
