body {
  --home-green: #205747;
  --home-dark: #123f33;
  --home-deep: #0f372d;
  --home-cream: #ece9e1;
  --home-white: #fffefa;
}

.blog-hero {
  background-image: linear-gradient(rgb(0 0 0 / 3%), rgb(0 0 0 / 5%)), var(--coconuts-blog-hero, url('../images/blog/hero.webp'));
  background-position: center;
  background-size: cover;
  height: calc(100svh - 6.25rem);
  min-height: 43rem;
  position: relative;
}

.blog-hero .booking-callout {
  bottom: 20%;
  right: 11%;
}

.blog-hero .booking-bar {
  bottom: 9.5%;
}

.blog-hero__dots {
  bottom: 2rem;
  display: flex;
  gap: 0.75rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.blog-hero__dots span {
  background: rgb(255 255 255 / 75%);
  border-radius: 50%;
  height: 0.85rem;
  width: 0.85rem;
}

.blog-hero__dots span:first-child {
  background: var(--home-green);
}

.blog-container {
  margin-inline: auto;
  max-width: 1640px;
  padding-inline: clamp(1.25rem, 4.5vw, 5rem);
  width: 100%;
}

.blog-index {
  padding-block: clamp(5rem, 8vw, 9rem);
}

.blog-index__layout,
.blog-single__layout {
  display: grid;
  gap: clamp(3rem, 6vw, 7rem);
  grid-template-columns: minmax(0, 1fr) 310px;
}

.blog-index .eyebrow,
.blog-related .eyebrow,
.blog-sidebar .eyebrow {
  color: #567068;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.blog-index h1,
.blog-related h2,
.blog-sidebar h2,
.blog-feature h2,
.blog-card h3,
.blog-single h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.blog-index h1 {
  color: var(--home-dark);
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  margin: 0 0 4rem;
}

.blog-sidebar {
  position: relative;
}

.blog-sidebar::after {
  background: url('../images/blog/pattern.png') center / contain no-repeat;
  content: '';
  height: 24rem;
  opacity: 0.18;
  position: absolute;
  right: -3rem;
  top: 20rem;
  width: 24rem;
  z-index: -1;
}

.blog-sidebar .search-form {
  align-items: center;
  background: #f3f3f1;
  border-radius: 0.45rem;
  display: flex;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.blog-sidebar .search-form label {
  flex: 1;
}

.blog-sidebar .search-field {
  background: transparent;
  border: 0;
  min-height: 2.8rem;
  padding: 0.6rem 1rem;
  width: 100%;
}

.blog-sidebar .search-submit {
  background: transparent;
  border: 0;
  color: var(--home-dark);
  font-size: 0;
  min-height: 2.8rem;
  padding: 0 1rem;
}

.blog-sidebar .search-submit::before {
  content: '⌕';
  font-size: 1.5rem;
}

.blog-sidebar h2 {
  color: var(--home-dark);
  font-size: 1.65rem;
  margin: 0 0 1.25rem;
}

.blog-archives {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-archives li {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.blog-archives a {
  color: #567068;
  text-decoration: none;
}

.blog-feature {
  border-radius: 0.75rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-bottom: 4.5rem;
  overflow: hidden;
}

.blog-feature__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.blog-feature__content {
  background: var(--home-green);
  color: #fff;
  padding: clamp(2rem, 4vw, 4rem);
}

.blog-feature time,
.blog-card time,
.blog-single time {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.blog-feature h2 {
  font-size: clamp(2.3rem, 3.2vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1.5rem;
}

.blog-feature h2 a,
.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-feature p {
  line-height: 1.5;
}

.blog-feature .outline-button {
  display: inline-block;
  margin-top: 1.25rem;
}

.blog-grid {
  display: grid;
  gap: 2rem 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  background: var(--home-cream);
  border-radius: 0.75rem;
  color: #52675f;
  overflow: hidden;
}

.blog-card__image {
  display: block;
  position: relative;
}

.blog-card__image img {
  aspect-ratio: 1.1 / 0.9;
  object-fit: cover;
  width: 100%;
}

.blog-anniversary {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  bottom: -0.6rem;
  color: #139b4c;
  display: flex;
  flex-direction: column;
  height: 5.5rem;
  justify-content: center;
  line-height: 0.8;
  position: absolute;
  right: -0.75rem;
  transform: rotate(-5deg);
  width: 5.5rem;
}

.blog-anniversary b {
  font-family: var(--font-serif);
  font-size: 2.65rem;
  font-style: italic;
}

.blog-anniversary small {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card__content {
  padding: 2rem;
}

.blog-card h3 {
  color: var(--home-dark);
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.blog-card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.blog-card .outline-button {
  display: inline-block;
  margin-top: 0.8rem;
}

.blog-index .navigation.pagination {
  margin-top: 5rem;
  text-align: center;
}

.blog-single {
  padding-block: clamp(5rem, 8vw, 9rem);
}

.blog-single__image {
  margin-bottom: 2.5rem;
  position: relative;
}

.blog-single__image > img {
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  width: 100%;
}

.blog-anniversary--large {
  bottom: -1rem;
  height: 8rem;
  right: -1rem;
  width: 8rem;
}

.blog-anniversary--large b {
  font-size: 4rem;
}

.blog-single__header h1 {
  color: var(--home-dark);
  font-size: clamp(2.5rem, 3.8vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.blog-single__content {
  color: #52675f;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.55;
}

.blog-share {
  border-top: 1px solid #e2e1dc;
  display: flex;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
}

.blog-share a {
  align-items: center;
  color: var(--home-dark);
  display: flex;
  font-size: 1.8rem;
  font-weight: 700;
  height: 2.5rem;
  justify-content: center;
  text-decoration: none;
  width: 2.5rem;
}

.blog-related {
  background: var(--home-green);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(5rem, 7vw, 8rem);
  position: relative;
}

.blog-related::after {
  background: url('../images/blog/pattern.png') center / contain no-repeat;
  content: '';
  height: 48rem;
  opacity: 0.35;
  position: absolute;
  right: -10rem;
  top: 1rem;
  width: 48rem;
}

.blog-related .blog-container {
  position: relative;
  z-index: 1;
}

.blog-related .eyebrow,
.blog-related h2 {
  color: #fff;
}

.blog-related h2 {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  margin: 0 0 3.5rem;
}

.blog-related__archive {
  display: block;
  margin: 3rem auto 0;
  width: max-content;
}

@media (max-width: 1100px) {
  .blog-index__layout,
  .blog-single__layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .blog-hero {
    height: 48rem;
    min-height: 0;
  }

  .blog-hero .booking-callout {
    display: none;
  }

  .blog-hero .booking-bar {
    bottom: 1.25rem;
  }

  .blog-hero__dots {
    bottom: 22rem;
  }

  .blog-index__layout,
  .blog-single__layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    border-top: 1px solid #e1e2de;
    padding-top: 3rem;
  }

  .blog-single__layout .blog-sidebar {
    grid-row: 2;
  }
}

@media (max-width: 700px) {
  .blog-feature {
    grid-template-columns: 1fr;
  }

  .blog-feature__image img {
    aspect-ratio: 1.15 / 0.9;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card__content {
    padding: 1.5rem;
  }

  .blog-single__image > img {
    aspect-ratio: 1 / 1;
  }

  .blog-anniversary--large {
    height: 6rem;
    width: 6rem;
  }

  .blog-anniversary--large b {
    font-size: 3rem;
  }

  .blog-related::after,
  .blog-sidebar::after {
    display: none;
  }
}
