/* Blog Single Hero Section */
.blog-single-hero {
  position: relative;
  background: url('../images/background.png') top center / 100% 400px no-repeat;
  padding: 20px 20px 0;
  text-align: center;
  margin-top: 0;
}

.blog-single-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-green, #006a4f);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin: 50px 0 24px;
  transition: gap 0.3s ease;
  justify-content: center;
  width: 100%;
}

.project-back-link:hover {
  gap: 12px;
}

.project-back-link svg {
  stroke: currentColor;
}

.blog-single-title {
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin: 0 auto 54px;
  max-width: 1000px;
  line-height: 1.2;
  text-align: center;
}

.blog-single-image {
  width: 100%;
  margin-top: 40px;
  margin-bottom: -80px;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.blog-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content Section */
.project-content {
  background: white;
  padding: 140px 20px 80px;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto !important;
}

.project-content-container {
  grid-column: 1;
}

.project-content aside {
  grid-column: 2;
}

/* Typography inside content */
.content-section {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4 {
  color: #000;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
}

.content-section h2 {
  font-size: 28px;
}

.content-section h3 {
  font-size: 22px;
}

.content-section p {
  margin-bottom: 24px;
}

.content-section img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
}

/* Blockquote Styling */
.content-section blockquote,
.content-section .wp-block-quote {
  margin: 40px 0;
  padding: 24px 32px;
  background: transparent;
  border-left: 4px solid var(--primary-green, #006a4f);
  font-size: 20px;
  font-style: normal;
  color: #000;
  line-height: 1.6;
  font-weight: 500;
}

.content-section blockquote cite,
.content-section .wp-block-quote cite {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 16px;
  font-weight: normal;
}

/* Light grey box */
.content-section .has-background {
  padding: 32px;
  margin: 40px 0;
}

/* Sidebar info */
.card-info {
  width: 100%;
  padding: 0;
  position: sticky;
  top: 120px;
}

.label {
  font-weight: 600;
  font-size: 14px;
  color: #000;
  margin-bottom: 4px;
}

.date {
  font-size: 16px;
  color: #181D27;
  margin-top: 0;
  margin-bottom: 24px;
  font-weight: 400;
}

.tag {
  display: inline-block;
  background-color: #F5F5F5;
  color: #414651;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 24px 0;
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #eafaf0;
  color: var(--primary-green, #006a4f);
  text-decoration: none;
  transition: all 0.2s ease;
}

.icon:hover {
  background-color: var(--primary-green, #006a4f);
  color: white;
}

/* ================================
   Mobile Responsive (< 768px)
================================ */
@media (max-width: 768px) {
  .blog-single-hero {
    padding: 80px 15px 120px;
  }

  .blog-single-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .blog-single-image {
    max-height: 250px;
    margin-bottom: -40px;
  }

  .project-content {
    padding: 80px 15px 60px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-content-container {
    order: 1;
    grid-column: 1;
  }

  .project-content aside {
    order: 2;
    grid-column: 1;
  }

  .card-info {
    position: static;
    padding: 24px;
    background: #f9f9f9;
    border-radius: 12px;
  }

  .content-section blockquote {
    font-size: 16px;
    padding: 16px 20px;
  }
}

/* ================================
   Tablet Responsive (769px – 1024px)
================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .project-content {
    padding: 60px 40px 80px;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
  }

  .blog-single-title {
    font-size: 36px;
  }
}