/* Blog list & post base styles */

#blog {
  position: relative;
  padding: 140px 0 80px 0;
}

.blog-hero {
  padding: 0 40px 40px 40px;
}

.blog-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.blog-hero-copy {
  flex: 1.2;
}

.blog-hero-copy p {
  max-width: 540px;
}

.blog-hero-decor {
  flex: 1;
  position: relative;
  min-height: 220px;
}

.blog-hero-blob {
  position: absolute;
  border-radius: 100%;
  filter: blur(0.5px);
}

.blog-hero-blob-green {
  width: 260px;
  height: 260px;
  top: 10%;
  right: 5%;
  background: var(--green);
  opacity: 0.9;
}

.blog-hero-blob-blue {
  width: 210px;
  height: 210px;
  bottom: 0;
  left: 10%;
  background: var(--bright-blue);
  opacity: 0.9;
}

.blog-list-wrapper {
  padding: 0 40px 40px 40px;
}

.blog-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: 25px;
  box-shadow: 0 0 25px -5px rgb(233, 233, 233);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.12);
}

.blog-card-content {
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
}

.blog-card-category {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--bright-blue);
}

.blog-card-date {
  font-size: 13px;
  color: #7c8aa4;
}

.blog-card-title {
  font-size: 24px;
  margin-top: 6px;
}

.blog-card-excerpt {
  margin-top: 10px;
  margin-bottom: 16px;
}

.blog-card .button-container {
  margin-top: auto;
}

.blog-empty {
  text-align: center;
  margin: 40px 0;
}

/* Blog post */

#blog-post {
  padding: 140px 0 80px 0;
}

.blog-post-hero {
  padding: 0 40px 30px 40px;
}

.blog-post-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
}

.blog-post-meta {
  flex: 1.4;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--bright-blue);
}

.blog-back-link i {
  margin: 0 6px 0 0;
}

.blog-post-category {
  margin-bottom: 6px;
}

.blog-post-meta-line {
  font-size: 14px;
  color: #7c8aa4;
}

.blog-post-body {
  padding: 0 40px 40px 40px;
}

.blog-post-body-inner {
  max-width: 900px;
  margin: 0 auto;
}

.blog-content {
  font-size: 16px;
  line-height: 1.6;
}

.blog-section {
  margin-bottom: 26px;
}

.blog-section h2,
.blog-section h3 {
  margin-bottom: 8px;
}

.blog-section ul {
  margin: 8px 0 8px 20px;
}

.blog-section li {
  margin: 4px 0;
}

.blog-not-found {
  padding: 0 40px 40px 40px;
}

.blog-not-found-inner {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  border-radius: 25px;
  box-shadow: 0 0 25px -5px rgb(233, 233, 233);
  padding: 40px 32px;
  text-align: left;
}

