/* =========================================================
   THE PERFORMANCE ACT — BLOG POST TEMPLATE
   post.css v1
   ========================================================= */

/* ---- POST HERO ---- */
.pt-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--black);
}

.pt-hero__bg {
  position: absolute;
  inset: 0;
}

.pt-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.45);
}

.pt-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.pt-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.pt-back {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.pt-back:hover {
  color: var(--yellow);
}

.pt-hero .bl-tag {
  position: static;
  display: inline-block;
  margin-bottom: 20px;
}

.pt-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 28px;
}

.pt-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pt-hero__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
}

.pt-hero__author {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}

.pt-hero__details {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---- ARTICLE BODY ---- */
.pt-article {
  background: var(--black);
  padding: 80px 0;
}

.pt-article__body {
  max-width: 720px;
  margin: 0 auto;
}

.pt-lead {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 40px;
  border-left: 3px solid var(--yellow);
  padding-left: 24px;
}

.pt-article__body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 56px;
  margin-bottom: 20px;
}

.pt-article__body p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  margin-bottom: 20px;
}

.pt-article__body a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pt-article__body a:hover {
  opacity: 0.75;
}

.pt-article__body ul,
.pt-article__body ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.pt-article__body li {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 10px;
}

.pt-article__body li strong {
  color: var(--white);
  font-weight: 500;
}

.pt-article__body strong {
  color: var(--white);
  font-weight: 500;
}

/* ---- BLOCKQUOTE ---- */
.pt-article__body blockquote {
  margin: 48px 0;
  padding: 32px 36px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 229, 0, 0.03);
}

.pt-article__body blockquote p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ---- FIGURES ---- */
.pt-figure {
  margin: 40px 0;
}

.pt-figure--wide {
  margin-left: -60px;
  margin-right: -60px;
}

.pt-figure img {
  width: 100%;
  border-radius: 2px;
  filter: grayscale(30%) brightness(0.9);
}

.pt-figure figcaption {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 12px;
  padding-left: 2px;
}

/* ---- DIVIDER ---- */
.pt-divider {
  width: 60px;
  height: 3px;
  background: var(--yellow);
  margin: 56px 0;
}

/* ---- CLOSING CTA ---- */
.pt-closing {
  font-size: 1.05rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 400 !important;
}

/* ---- AUTHOR CARD ---- */
.pt-author {
  background: var(--gray-900, #1A1A1A);
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pt-author__card {
  display: flex;
  gap: 32px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.pt-author__image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
  border: 2px solid rgba(255, 229, 0, 0.3);
}

.pt-author__label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--yellow);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.pt-author__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pt-author__bio {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 12px;
}

.pt-author__link {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.pt-author__link:hover {
  opacity: 0.7;
}

/* ---- RELATED POSTS ---- */
.pt-related {
  background: var(--black);
  padding: 80px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pt-related__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 48px;
}

.pt-related__title span {
  color: var(--yellow);
}

.pt-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .pt-hero {
    min-height: 55vh;
    padding-bottom: 56px;
  }

  .pt-hero__title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .pt-figure--wide {
    margin-left: 0;
    margin-right: 0;
  }

  .pt-author__card {
    flex-direction: column;
    text-align: center;
  }

  .pt-related__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pt-article {
    padding: 56px 0;
  }
}

@media (max-width: 640px) {
  .pt-article__body blockquote {
    padding: 24px;
    margin: 32px 0;
  }

  .pt-article__body blockquote p {
    font-size: 1.1rem;
  }
}
