.blog-hero {
  position: relative;
  min-height: 460px;
  background:
    linear-gradient(rgba(0, 10, 190, 0.7), rgba(0, 10, 190, 0.45)),
    url("../images/Untitled-design-1.webp") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 24px;
  text-align: center;
}

.blog-logo {
  width: min(380px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.blog-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
}

.blog-hero h1 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.blog-intro {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 22px;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.blog-hero-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.blog-primary-link,
.blog-secondary-link {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.blog-primary-link {
  background: var(--secondary);
  color: #ffffff;
}

.blog-primary-link:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.blog-secondary-link {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.blog-secondary-link:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.blog-main {
  background: #f7f7f7;
}

.blog-listing {
  padding: 72px 24px 96px;
}

.blog-container {
  max-width: 1180px;
  margin: 0 auto;
}

.blog-listing h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1.08;
  color: #1c1c1e;
  margin-bottom: 32px;
}

.blog-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.blog-card-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.blog-card-content {
  padding: 28px 28px 30px;
}

.blog-card-date {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

.blog-card h3 {
  margin-bottom: 16px;
}

.blog-card h3 a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.15;
  color: #1c1c1e;
  text-decoration: none;
}

.blog-card h3 a:hover {
  text-decoration: underline;
}

.blog-card-content p:last-of-type {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.75;
  color: #2b2b2b;
  margin-bottom: 18px;
}

.blog-read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.blog-read-more:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .blog-hero {
    min-height: 400px;
  }

  .blog-hero-content {
    padding: 56px 20px;
  }

  .blog-hero h1 {
    font-size: 40px;
  }

  .blog-intro {
    font-size: 19px;
  }

  .blog-listing {
    padding: 56px 20px 72px;
  }

  .blog-listing h2 {
    font-size: 40px;
  }

  .blog-card-image {
    height: 240px;
  }

  .blog-card h3 a {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .blog-logo {
    width: min(260px, 74vw);
  }

  .blog-hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .blog-intro {
    font-size: 17px;
    line-height: 1.5;
  }

  .blog-primary-link,
  .blog-secondary-link {
    width: 100%;
    max-width: 280px;
  }

  .blog-listing h2 {
    font-size: 32px;
  }

  .blog-card-image {
    height: 210px;
  }

  .blog-card-content {
    padding: 22px 18px 24px;
  }

  .blog-card h3 a {
    font-size: 24px;
  }

  .blog-card-content p:last-of-type {
    font-size: 17px;
    line-height: 1.7;
  }
}

.blog-post-hero {
  background: #f7f7f7;
  padding: 72px 24px 40px;
}

.blog-post-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.blog-post-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.blog-post-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1.08;
  color: #1c1c1e;
  margin-bottom: 16px;
}

.blog-post-meta {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

.blog-post-main {
  background: #f7f7f7;
  padding: 0 24px 96px;
}

.blog-post-article {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.blog-post-featured-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.blog-post-body {
  padding: 36px 34px 40px;
}

.blog-post-body p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.8;
  color: #2b2b2b;
  margin-bottom: 24px;
}

.blog-post-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.15;
  color: #1c1c1e;
  margin: 40px 0 18px;
}

.blog-post-back-link-row {
  margin-top: 12px;
  margin-bottom: 0;
}

.blog-post-back-link {
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.blog-post-back-link:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .blog-post-hero {
    padding: 56px 20px 32px;
  }

  .blog-post-hero h1 {
    font-size: 42px;
  }

  .blog-post-main {
    padding: 0 20px 72px;
  }

  .blog-post-featured-image {
    height: 300px;
  }

  .blog-post-body {
    padding: 28px 24px 32px;
  }

  .blog-post-body p {
    font-size: 18px;
  }

  .blog-post-body h2 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .blog-post-hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .blog-post-featured-image {
    height: 220px;
  }

  .blog-post-body {
    padding: 22px 18px 26px;
  }

  .blog-post-body p {
    font-size: 17px;
    line-height: 1.7;
  }

  .blog-post-body h2 {
    font-size: 24px;
  }
}

.blog-post-cta {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background-color: #f5f5f5;
  border-left: 4px solid #222;
  border-radius: 6px;
}

.blog-post-cta p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.blog-post-inline-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 28px auto 32px;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}
