.blog-page {
  background: #f0f2f5;
}

.blog-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  padding: 4rem 6vw;
}

.blog-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 36, 33, .84), rgba(18, 36, 33, .42), rgba(18, 36, 33, .18));
}

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

.blog-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.blog-hero__copy h2 {
  color: #fff;
  font-size: 2.6rem;
  line-height: 1.08;
  margin: .35rem 0 .75rem;
}

.blog-hero__copy p {
  color: rgba(255, 255, 255, .9);
  font-size: 1.05rem;
  max-width: 620px;
}

.blog-kicker {
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .78rem;
  font-weight: 700;
}

.blog-shell {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.blog-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(130px, 1fr)) auto;
  gap: .8rem;
  align-items: end;
  background: #fff;
  border: 1px solid #ded8ca;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(33, 42, 38, .05);
}

.blog-filters label {
  display: block;
  margin-bottom: .25rem;
  color: #36514b;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-filters input,
.blog-filters select {
  width: 100%;
}

.blog-filters__actions {
  display: flex;
  gap: .45rem;
  align-items: stretch;
  align-self: end;
}

.blog-filters__actions .button,
.blog-filters__actions button.button,
.blog-filters__actions a.button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.blog-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin: -.25rem 0 1rem;
  color: #675d52;
  font-size: .9rem;
}

.blog-active-filters strong {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: .2rem .65rem;
  border: 1px solid #d5cbbb;
  background: #fff;
  color: #203c37;
  font-size: .82rem;
  font-weight: 700;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.5rem;
  align-items: start;
}

.newsletter-issue,
.newsletter-card,
.blog-note-card,
.newsletter-empty {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(33, 42, 38, .08);
}

.newsletter-issue {
  padding: 0;
  overflow: hidden;
}

.newsletter-issue__image {
  margin: -2rem -2rem 1.5rem;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-bottom: 1px solid #ded8ca;
}

.newsletter-issue__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.newsletter-issue__masthead {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 2px solid #203c37;
  padding-bottom: .75rem;
  margin-bottom: 1.25rem;
  color: #36514b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .78rem;
}

.newsletter-issue h1 {
  font-size: 2.25rem;
  line-height: 1.12;
  margin: 0 0 .65rem;
  color: #182b28;
}

.newsletter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  color: #7b5d44;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

.newsletter-body {
  color: #33413d;
  line-height: 1.65;
  font-size: 1rem;
}

.social-post .newsletter-body {
  columns: auto;
}

.newsletter-body h2,
.newsletter-body h3 {
  break-after: avoid;
  color: #203c37;
  line-height: 1.2;
}

.newsletter-body blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid #9a5335;
  color: #4f5c58;
}

.newsletter-body figure,
.newsletter-body img,
.newsletter-body iframe,
.newsletter-body video,
.newsletter-body audio {
  break-inside: avoid;
  max-width: 100%;
}

.newsletter-body figure {
  margin: 1.25rem 0;
}

.newsletter-body img,
.newsletter-body video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ded8ca;
}

.newsletter-body iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #111;
}

.newsletter-body audio {
  display: block;
  width: 100%;
}

.newsletter-body figcaption {
  margin-top: .4rem;
  color: #746b60;
  font-size: .88rem;
  line-height: 1.45;
}

.blog-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: -1rem 0 1.35rem;
}

.blog-tag-list a,
.blog-topic-list a {
  text-decoration: none;
  border: 1px solid #d8cebf;
  background: #fbfaf6;
  color: #36514b;
}

.blog-tag-list a {
  padding: .28rem .65rem;
  font-size: .84rem;
  font-weight: 700;
}

.blog-tag-list a:hover,
.blog-topic-list a:hover,
.blog-topic-list a.is-active {
  border-color: #9a5335;
  color: #9a5335;
}

.newsletter-attachment {
  display: grid;
  gap: .75rem;
  margin-top: 1.5rem;
}

.newsletter-attachment img,
.newsletter-attachment video {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #111;
  border: 1px solid #ded8ca;
}

.newsletter-attachment audio {
  width: 100%;
}

.newsletter-attachment iframe {
  width: 100%;
  min-height: 520px;
  border: 1px solid #ded8ca;
  background: #fff;
}

.newsletter-attachment .button {
  justify-self: start;
}

.newsletter-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ece6d8;
  font-size: .9rem;
}

.newsletter-footer a {
  color: #7b5d44;
}

.blog-sidebar {
  display: grid;
  gap: 1rem;
}

.newsletter-card {
  padding: 1rem;
}

.newsletter-card h3 {
  margin: 0 0 .85rem;
  color: #203c37;
}

.issue-link {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem 0;
  border-top: 1px solid #ece6d8;
  text-decoration: none;
  color: #263936;
}

.issue-link:hover,
.issue-link.is-active {
  color: #9a5335;
}

.issue-link small {
  color: #83766b;
  white-space: nowrap;
}

.blog-topic-list {
  display: grid;
  gap: .5rem;
}

.blog-topic-list a {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  padding: .52rem .65rem;
  font-size: .9rem;
}

.blog-topic-list small {
  color: #83766b;
}

.newsletter-card--image {
  padding: 0;
  overflow: hidden;
}

.newsletter-card--image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.newsletter-card--image h3,
.newsletter-card--image p {
  padding-left: 1rem;
  padding-right: 1rem;
}

.newsletter-card--image h3 {
  margin-top: 1rem;
}

.newsletter-card--image p {
  padding-bottom: 1rem;
  color: #4f5c58;
}

.blog-recent {
  margin-top: 2rem;
}

.blog-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-section-head h2 {
  margin: 0;
  color: #203c37;
}

.blog-section-head p {
  margin: 0;
  color: #71675c;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.blog-note-card {
  padding: 0;
  overflow: hidden;
}

.blog-note-card__image {
  display: block;
  margin: -1rem -1rem .85rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid #ded8ca;
}

.blog-note-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .18s ease;
}

.blog-note-card__image:hover img {
  transform: scale(1.03);
}

.blog-note-card__date,
.blog-note-card__meta {
  color: #827466;
  font-size: .84rem;
}

.blog-note-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .65rem;
}

.blog-note-card h3 {
  margin: .35rem 0 .5rem;
  line-height: 1.2;
}

.blog-note-card h3 a {
  color: #203c37;
  text-decoration: none;
}

.blog-note-card h3 a:hover {
  color: #9a5335;
}

.blog-note-card p {
  color: #475551;
  margin-bottom: .75rem;
}

.social-post {
  color: #1f2933;
}

.social-post__header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  padding: 1rem 1rem .65rem;
}

.social-post__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #176c4f;
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
}

.social-post__identity {
  min-width: 0;
}

.social-post__identity strong,
.social-post__identity span {
  display: block;
}

.social-post__identity strong {
  color: #1f2933;
  line-height: 1.2;
}

.social-post__identity span {
  color: #68727d;
  font-size: .86rem;
  line-height: 1.35;
}

.social-post__badge {
  align-self: start;
  border: 1px solid #d3d9df;
  border-radius: 999px;
  color: #176c4f;
  font-size: .75rem;
  font-weight: 700;
  padding: .18rem .55rem;
}

.social-post__title {
  margin: 0;
  padding: 0 1rem .5rem;
  color: #17212b;
}

.social-post h1.social-post__title {
  font-size: 1.55rem;
  line-height: 1.2;
}

.social-post h3.social-post__title {
  font-size: 1.12rem;
  line-height: 1.25;
}

.blog-note-card h3.social-post__title {
  margin: 0;
}

.social-post__title a {
  color: inherit;
  text-decoration: none;
}

.social-post__title a:hover {
  color: #176c4f;
}

.social-post .newsletter-meta,
.social-post .blog-tag-list,
.social-post .newsletter-body,
.social-post__excerpt,
.social-post__meta {
  padding-left: 1rem;
  padding-right: 1rem;
}

.social-post .newsletter-meta {
  margin-bottom: .75rem;
  color: #68727d;
}

.social-post .blog-tag-list {
  margin: 0 0 .85rem;
}

.social-post .newsletter-body {
  padding-bottom: .85rem;
}

.social-post__excerpt {
  margin: 0 0 .85rem;
}

.social-post__media {
  display: block;
  width: 100%;
  margin: .25rem 0 0;
  background: #111;
  border-top: 1px solid #dfe3e8;
  border-bottom: 1px solid #dfe3e8;
}

.social-post__media img,
.social-post__media video {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #111;
}

.social-post__media audio {
  display: block;
  width: calc(100% - 2rem);
  margin: 1rem;
}

.social-post__media iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
  background: #fff;
}

.social-post__media .button {
  margin: .85rem 1rem 1rem;
}

.social-post__attachment {
  padding: 0 1rem;
}

.social-post__stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 1rem;
  color: #68727d;
  font-size: .88rem;
}

.social-post__stats > span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .18rem;
  align-items: center;
}

.social-post__stats strong {
  color: #203c37;
  font-weight: 800;
}

.social-post__stats a {
  color: #68727d;
  text-decoration: none;
}

.social-post__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
  border-top: 1px solid #e7ebef;
  padding: .45rem;
}

.social-post__action,
.social-post__actions a,
.social-post__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  min-height: 40px;
  margin: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  padding: .56rem .5rem;
  color: #52606d;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.social-post__action-icon {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  color: inherit;
  font-size: .95rem;
  line-height: 1;
}

.social-post__actions a:hover,
.social-post__actions button:hover,
.social-post__actions button.is-active,
.social-post__actions a.is-active,
.social-post__actions a:focus-visible,
.social-post__actions button:focus-visible {
  background: #f3f5f7;
  color: #176c4f;
}

.social-post__actions a:focus-visible,
.social-post__actions button:focus-visible {
  outline: 2px solid rgba(23, 108, 79, .35);
  outline-offset: 2px;
}

.social-post__actions button:active,
.social-post__actions a:active {
  transform: translateY(1px);
}

.social-post__action--like.is-active {
  background: #fff0f2;
  color: #b4233b;
}

.social-post__action--share.is-active {
  background: #eef8f3;
  color: #176c4f;
}

.social-post__action.is-confirming .social-post__action-icon {
  animation: blog-action-pop .26s ease;
}

.social-post__action.is-busy {
  color: #7c8794;
}

.social-post__actions button:disabled {
  cursor: wait;
  opacity: .7;
}

@keyframes blog-action-pop {
  0% {
    transform: scale(.82);
  }
  60% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}

.blog-comments {
  border-top: 1px solid #e7ebef;
  padding: 1.1rem 1rem 1rem;
  background: #fbfcfd;
}

.blog-comments[hidden] {
  display: none !important;
}

.blog-comments h2 {
  margin: 0 0 .85rem;
  color: #203c37;
  font-size: 1.1rem;
}

.blog-comments__list {
  display: grid;
  gap: .85rem;
}

.blog-comments__empty {
  margin: 0;
  color: #68727d;
}

.blog-comment {
  border: 1px solid #e1e6eb;
  border-radius: 8px;
  padding: .75rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(33, 42, 38, .04);
}

.blog-comment--reply {
  margin-top: .65rem;
  border-color: #d8e7df;
  background: #fbfffd;
}

.blog-comment strong,
.blog-comment time {
  display: block;
}

.blog-comment strong {
  color: #1f2933;
}

.blog-comment time {
  color: #68727d;
  font-size: .82rem;
}

.blog-comment p {
  margin: .45rem 0 0;
  color: #33413d;
}

.blog-comment__reply-button {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin: .55rem 0 0;
  border: 0;
  background: transparent;
  color: #176c4f;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}

.blog-comment__reply-button:hover,
.blog-comment__reply-button:focus-visible {
  text-decoration: underline;
}

.blog-comment__replies {
  margin-top: .65rem;
  padding-left: .9rem;
  border-left: 3px solid #d8e7df;
}

.blog-comment-form {
  display: grid;
  gap: .55rem;
  margin-top: 1rem;
  border-top: 1px solid #e7ebef;
  padding-top: 1rem;
}

.blog-comment-form[hidden] {
  display: none !important;
}

.blog-comment-form--reply {
  margin-top: .65rem;
  border-top: 0;
  padding: .75rem;
  background: #f3f8f5;
  border-radius: 8px;
}

.blog-comment-form label {
  color: #36514b;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-comment-form input,
.blog-comment-form textarea {
  width: 100%;
  border-color: #d8dee5;
  background: #fff;
}

.blog-comment-form textarea {
  resize: vertical;
  min-height: 96px;
}

.blog-comment-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.blog-comment-form__status {
  color: #68727d;
  font-size: .9rem;
}

.blog-comment-form__status.is-success {
  color: #176c4f;
  font-weight: 700;
}

.blog-comment-form__status.is-error {
  color: #a33b2f;
  font-weight: 700;
}

.newsletter-empty {
  padding: 2rem;
  text-align: center;
}

@media (max-width: 980px) {
  .blog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .blog-filters__actions {
    flex-wrap: wrap;
  }

  .blog-hero {
    min-height: 360px;
    padding: 3rem 1.25rem;
  }

  .blog-hero__copy h2 {
    font-size: 2rem;
  }

  .newsletter-issue {
    padding: 1.25rem;
  }

  .newsletter-issue__image {
    margin: -1.25rem -1.25rem 1.25rem;
  }

  .newsletter-issue h1 {
    font-size: 1.7rem;
  }

  .newsletter-issue__masthead,
  .blog-section-head {
    display: block;
  }

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