/* --- Blog index hero --- */
.blog-index {
  background-color: #f1f5f5;
}
.blog-index__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 72px 32px 56px;
  text-align: center;
  background-color: #04363b;
}
.blog-index__eyebrow {
  color: #fc861a;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.blog-index__heading {
  margin: 0;
  max-width: 42ch;
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
}
.blog-index__subheading {
  margin: 0;
  max-width: 56ch;
  color: #cfe3e5;
  font-size: 1rem;
  line-height: 1.6;
}
.blog-index__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px 96px;
}

/* --- Blog search widget --- */
.blog-search {
  scroll-margin-top: var(--sticky-height);
}
.blog-search__search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  color: #066d74;
}
.blog-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  color: #04363b;
  font-size: 0.95rem;
  font-family: inherit;
}
.blog-search__input::placeholder {
  color: #8a9a9c;
}
.blog-search__empty {
  color: #5c7376;
  font-size: 0.95rem;
  text-align: center;
}
.blog-search__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.blog-search__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: box-shadow 0.15s ease;
}
.blog-search__card[hidden] {
  display: none;
}
.blog-search__card:hover {
  box-shadow: 0 12px 24px rgba(4, 54, 59, 0.12);
}
.blog-search__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}
.blog-search__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-search__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}
.blog-search__card-title {
  margin: 0;
  color: #04363b;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}
.blog-search__card-excerpt {
  margin: 0;
  color: #5c7376;
  font-size: 0.88rem;
  line-height: 1.5;
}
.blog-search__card-link {
  color: #fc861a;
  font-size: 0.85rem;
  font-weight: 700;
}
.blog-search__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.blog-search__page-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #066d74;
  font-size: 1rem;
  cursor: pointer;
}
.blog-search__page-arrow:hover:not(:disabled) {
  background-color: #e5f5f6;
}
.blog-search__page-arrow:disabled {
  color: #c3cccd;
  cursor: not-allowed;
}
.blog-search__page-indicator {
  color: #04363b;
  font-size: 0.9rem;
  font-weight: 700;
}

/* --- Blog post --- */
.blog-post {
  background-color: #f1f5f5;
}
.blog-post__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 32px 96px;
}
.blog-post__back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: #066d74;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.blog-post__back-link:hover {
  color: #04555a;
}
.blog-post__title {
  margin: 0 0 24px;
  color: #04363b;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
}
.blog-post__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
}
.blog-post__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-post__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.blog-post__content p {
  margin: 0;
  color: #3d5c60;
  font-size: 1rem;
  line-height: 1.75;
}
.blog-post__cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background-color: #066d74;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.blog-post__cta:hover {
  background-color: #04555a;
}
