/* blog.css */

/* Hero Section */
.bl-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: #000;
  text-align: center;
}

.bl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.bl-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transform: scale(1.05);
  animation: blHeroScale 20s ease-out forwards;
}
@keyframes blHeroScale {
  to { transform: scale(1); }
}

.bl-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 40%, #000 100%);
}

.bl-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bl-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
}
.bl-eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: currentColor;
}

.bl-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.bl-hero-title em {
  font-style: italic;
  color: var(--primary);
}

.bl-hero-lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.6;
}

/* Animations */
.anim-cinematic {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.anim-cinematic.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.anim-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Blog List Section */
.bl-list-section {
  background: #000;
  padding: 6rem 2rem 10rem;
  border-radius: 0 0 80px 80px;
  position: relative;
  z-index: 11;
}
.bl-list-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
}

.bl-post {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.bl-post:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
}

.bl-post-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.bl-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bl-post:hover .bl-post-media img {
  transform: scale(1.05);
}

.bl-post-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  flex: 1;
}

.bl-post-meta {
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.bl-post-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
}
.bl-post:hover .bl-post-title {
  color: var(--primary);
}

.bl-post-excerpt {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.bl-post-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 0.25rem;
  transition: all 0.3s ease;
  margin-top: auto;
}
.bl-post-link span {
  transition: transform 0.3s ease;
}
.bl-post-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.bl-post-link:hover span {
  transform: translateX(4px);
}

/* Reveal Animation for Posts */
.bl-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Blog Detail Hero */
.bl-detail-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: #000;
  text-align: center;
}
.bl-detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.bl-detail-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(20%);
}
.bl-detail-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 40%, #000 100%);
}
.bl-detail-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bl-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: opacity 0.3s ease;
}
.bl-back-link:hover {
  opacity: 0.8;
}

.bl-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.bl-author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px;
  object-fit: contain;
}
.bl-author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.bl-author-info strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}
.bl-author-info small {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

/* Blog Content (Editorial) */
.bl-detail-content {
  position: relative;
  background: #000;
  border-radius: 0 0 80px 80px;
  color: rgba(255,255,255,0.85);
  font-size: 1.1875rem;
  line-height: 1.8;
  padding: 0 2rem 8rem;
  margin-top: -100px; /* Overlap hero */
  z-index: 10;
}
.bl-detail-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #090a0d; /* Deep premium black */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 4rem 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.bl-lead {
  font-size: 1.35rem;
  color: var(--primary);
  line-height: 1.7;
  font-style: italic;
  font-family: var(--font-serif);
  margin-bottom: 3rem;
  text-align: center;
}

.bl-detail-content p.has-dropcap::first-letter {
  font-family: var(--font-serif);
  float: left;
  font-size: 4.5rem;
  line-height: 0.8;
  margin-top: 0.2rem;
  margin-right: 0.75rem;
  color: var(--primary);
  font-weight: 300;
}

.bl-detail-content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #fff;
  margin: 4rem 0 1.5rem;
  font-weight: 400;
}

.bl-detail-content p {
  margin-bottom: 1.5rem;
}

.bl-detail-content blockquote {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.6;
  color: #fff;
  text-align: center;
  font-style: italic;
}
.bl-detail-content blockquote span {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bl-figure {
  margin: 3rem 0;
}
.bl-figure img {
  width: 100%;
  border-radius: 8px;
  height: auto;
}
.bl-figure figcaption {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  margin-top: 1rem;
  font-style: italic;
}

.bl-share {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.bl-share-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.bl-share-links {
  display: flex;
  gap: 2rem;
}
.bl-share-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.bl-share-links a:hover {
  color: var(--primary);
}

.bl-wp {
  margin-top: -80px;
  padding-top: 140px;
  z-index: 10;
}

