/* ===== Blog hero ===== */
.nh-blog-hero {
  text-align: center;
  margin: 0 0 2.8rem;
}

.nh-blog-hero__eyebrow {
  margin-bottom: 1.6rem;
}

.nh-blog-hero__eyebrow svg {
  width: 1.2rem;
  height: 1.2rem;
}

.nh-blog-hero__heading {
  font-size: 3.2rem;
  font-weight: 900;
  margin: 0 0 1.2rem;
  letter-spacing: -0.02em;
  color: var(--nh-charcoal);
}

.nh-blog-hero__heading em {
  font-style: normal;
  color: var(--nh-amber-gold);
}

.nh-blog-hero__subtitle {
  max-width: 62rem;
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--nh-body);
}

/* ===== Blog filter pills ===== */
.nh-blog-filter__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 2.8rem 0 3.2rem;
}

.nh-blog-filter__pill {
  padding: 0.9rem 1.8rem;
  border-radius: var(--nh-radius-pill);
  border: 1px solid var(--nh-border);
  background: var(--nh-white);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--nh-body);
  cursor: pointer;
  font-family: inherit;
}

.nh-blog-filter__pill.is-active {
  background: var(--nh-charcoal);
  border-color: var(--nh-charcoal);
  color: var(--nh-cream);
}

/* ===== Featured article ===== */
.nh-blog-feature {
  display: grid;
  grid-template-columns: 42% 1fr;
  background: var(--nh-white);
  border: 1px solid var(--nh-border);
  border-radius: var(--nh-radius-xl);
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 2rem;
}

.nh-blog-feature__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26rem;
  background: linear-gradient(140deg, var(--nh-amber-gold), var(--nh-amber-deep));
}

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

.nh-blog-feature__media svg {
  width: 8rem;
  height: 8rem;
  color: rgba(255, 255, 255, 0.85);
}

.nh-blog-feature__badge {
  position: absolute;
  top: 1.6rem;
  inset-inline-end: 1.6rem;
  background: var(--nh-charcoal);
  color: var(--nh-cream);
  font-size: 1.2rem;
  font-weight: 800;
  padding: 0.6rem 1.2rem;
  border-radius: var(--nh-radius-pill);
}

.nh-blog-feature__body {
  padding: 3.2rem 3.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nh-blog-feature__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.nh-blog-feature__tag {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--nh-amber-deep);
  background: var(--nh-sand);
  padding: 0.4rem 1.1rem;
  border-radius: var(--nh-radius-pill);
}

.nh-blog-feature__read-time {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--nh-muted);
}

.nh-blog-feature__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--nh-charcoal);
  line-height: 1.4;
  margin: 0 0 1.2rem;
}

.nh-blog-feature__excerpt {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--nh-body);
  margin: 0 0 1.6rem;
}

.nh-blog-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--nh-amber-deep);
}

.nh-blog-feature__link .icon-arrow {
  width: 1.2rem;
  transform: scaleX(-1);
}

/* ===== Blog grid ===== */
.nh-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Same WebKit guard as .nh-cat-grid > li: let items shrink below the
   image's intrinsic width, or iPhone Safari blows the column up. */
.nh-blog__grid > * {
  min-width: 0;
}

@media screen and (max-width: 989px) {
  .nh-blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .nh-blog__grid {
    grid-template-columns: 1fr;
  }
}

.nh-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--nh-white);
  border: 1px solid var(--nh-border);
  border-radius: var(--nh-radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.nh-blog-card:hover {
  transform: translateY(-3px);
}

.nh-blog-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.nh-blog-card__media--tint-0 {
  background: var(--nh-sand);
}

.nh-blog-card__media--tint-1 {
  background: var(--nh-blush);
}

.nh-blog-card__media--tint-2 {
  background: var(--nh-sage-tint);
}

.nh-blog-card__media--tint-3 {
  background: var(--nh-cool-grey);
}

/* Same WebKit guard as .nh-cat-card__media img in nahleh-collection.css:
   percentage heights inside an aspect-ratio box misresolve on iPhone. */
.nh-blog-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.nh-blog-card__media svg {
  width: 4.4rem;
  height: 4.4rem;
  color: var(--nh-amber-deep);
  opacity: 0.75;
}

.nh-blog-card__badge {
  position: absolute;
  top: 1.2rem;
  inset-inline-end: 1.2rem;
  background: var(--nh-white);
  color: var(--nh-ink);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: var(--nh-radius-pill);
}

.nh-blog-card__body {
  padding: 1.8rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-grow: 1;
}

.nh-blog-card__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--nh-charcoal);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nh-blog-card__excerpt {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--nh-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.nh-blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--nh-border);
}

.nh-blog-card__date,
.nh-blog-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--nh-muted);
}

.nh-blog-card__read-time svg {
  width: 1.2rem;
  height: 1.2rem;
}

.nh-blog__pagination {
  margin-top: 4rem;
}

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

  .nh-blog-feature__media {
    min-height: 18rem;
  }

  .nh-blog-feature__body {
    padding: 2.4rem 2rem;
  }
}

/* ===== Newsletter ===== */
.nh-newsletter {
  background: var(--nh-charcoal);
  border-radius: var(--nh-radius-xl);
  padding: 4rem 3rem;
  text-align: center;
}

.nh-newsletter__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: var(--nh-radius-md);
  background: rgba(235, 177, 52, 0.15);
  color: var(--nh-amber-gold);
  margin-bottom: 1.8rem;
}

.nh-newsletter__icon svg {
  width: 2rem;
  height: 2rem;
}

.nh-newsletter__heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--nh-cream);
  margin: 0 0 1rem;
}

.nh-newsletter__subtitle {
  max-width: 50rem;
  margin: 0 auto 2.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(251, 248, 243, 0.65);
}

.nh-newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 48rem;
  margin: 0 auto;
}

.nh-newsletter-form__input {
  flex: 1 1 26rem;
  min-width: 0;
  height: 5.4rem;
  padding: 0 1.8rem;
  border-radius: var(--nh-radius-md);
  border: none;
  background: var(--nh-white);
  color: var(--nh-ink);
  font-size: 1.4rem;
  font-family: inherit;
}

.nh-newsletter-form__submit {
  height: 5.4rem;
  padding: 0 2.6rem;
  border-radius: var(--nh-radius-md);
  border: none;
  background: var(--nh-amber);
  color: var(--nh-white);
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  flex: 0 0 auto;
}

.nh-newsletter__message {
  margin: 1.6rem 0 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--nh-amber-gold);
}

/* ===== Article page ===== */
.nh-article__wrap {
  max-width: 76rem;
  margin: 0 auto;
}

.nh-article__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.nh-article__read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--nh-muted);
}

.nh-article__read-time svg {
  width: 1.4rem;
  height: 1.4rem;
}

.nh-article__tag {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--nh-sage);
  background: var(--nh-sage-tint);
  padding: 0.5rem 1.3rem;
  border-radius: var(--nh-radius-pill);
}

.nh-article__title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--nh-charcoal);
  margin: 0 0 1.4rem;
}

.nh-article__excerpt {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--nh-body);
  margin: 0 0 2.4rem;
}

.nh-article__divider {
  border: none;
  border-top: 1px solid var(--nh-border);
  margin: 0 0 2rem;
}

.nh-article__byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.nh-article__author {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nh-article__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: var(--nh-amber);
  color: var(--nh-white);
  flex-shrink: 0;
}

.nh-article__avatar svg {
  width: 1.9rem;
  height: 1.9rem;
}

.nh-article__author-name {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--nh-charcoal);
}

.nh-article__author-subtitle {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--nh-muted);
}

.nh-article__share-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--nh-body);
}

.nh-article__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: var(--nh-radius-md);
  border: 1px solid var(--nh-border);
  background: var(--nh-white);
  color: var(--nh-ink);
  cursor: pointer;
  flex-shrink: 0;
}

.nh-article__icon-btn svg {
  width: 1.6rem;
  height: 1.6rem;
}

.nh-article__icon-btn--accent {
  color: var(--nh-sage);
  border-color: var(--nh-sage-tint);
}

.nh-article__hero {
  border-radius: var(--nh-radius-xl);
  overflow: hidden;
  margin: 0 auto 3.2rem;
  height: var(--nh-article-hero-height, 320px);
  width: var(--nh-article-hero-width, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--nh-amber-gold), var(--nh-amber-deep));
}

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

.nh-article__hero svg {
  width: 10rem;
  height: 10rem;
  color: rgba(255, 255, 255, 0.85);
}

.nh-article__content {
  color: var(--nh-body);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.85;
}

.nh-article__content > *:first-child {
  margin-top: 0;
}

.nh-article__content h2,
.nh-article__content h3,
.nh-article__content h4 {
  font-weight: 800;
  color: var(--nh-charcoal);
  margin: 3rem 0 1.2rem;
}

.nh-article__content p {
  margin: 0 0 1.6rem;
}

.nh-article__content a {
  color: var(--nh-amber-deep);
  text-decoration-color: var(--nh-amber);
}

.nh-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--nh-radius-md);
  margin: 1rem 0;
}

/* Default bullet list: amber dot marker */
.nh-article__content ul {
  list-style: none;
  margin: 0 0 1.6rem;
  padding-inline-start: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nh-article__content ol {
  margin: 0 0 1.6rem;
  padding-inline-start: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.nh-article__content ul li {
  position: relative;
  padding-inline-start: 2rem;
}

.nh-article__content ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.85rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--nh-amber);
}

/* Checklist variant: add class="nh-checklist" to a <ul> in the article's HTML source
   to render sage checkmark bullets instead of amber dots. */
.nh-article__content ul.nh-checklist li {
  padding-inline-start: 3.2rem;
}

.nh-article__content ul.nh-checklist li::before {
  content: '✓';
  width: 2.2rem;
  height: 2.2rem;
  top: 0;
  background: var(--nh-sage-tint);
  color: var(--nh-sage);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quick-tip callout: <div class="nh-callout"><p class="nh-callout__heading">...</p><p>...</p></div> */
.nh-callout {
  background: var(--nh-sand);
  border-radius: var(--nh-radius-lg);
  padding: 2.2rem 2.6rem;
  margin: 0 0 2.4rem;
}

.nh-callout__heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--nh-amber-deep);
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 0 1rem !important;
}

.nh-callout__heading svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nh-callout p:last-child {
  margin-bottom: 0 !important;
}

/* Embedded product card: see snippets/nahleh-article-product.liquid for the markup to paste
   into an article's HTML source. */
.nh-article-product {
  display: flex;
  border-radius: var(--nh-radius-xl);
  overflow: hidden;
  text-decoration: none;
  margin: 0 0 2.4rem;
}

.nh-article-product__media {
  flex: 0 0 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  background: linear-gradient(140deg, var(--nh-amber-gold), var(--nh-amber-deep));
}

.nh-article-product__media svg {
  width: 6rem;
  height: 6rem;
  color: rgba(255, 255, 255, 0.85);
}

.nh-article-product__body {
  flex: 1;
  background: var(--nh-charcoal);
  padding: 2.6rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}

.nh-article-product__label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nh-amber-gold);
}

.nh-article-product__title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--nh-cream);
  margin: 0;
}

.nh-article-product__price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--nh-cream);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.nh-article-product__price s {
  font-size: 1.2rem;
  color: rgba(251, 248, 243, 0.5);
  font-weight: 600;
}

.nh-article-product__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--nh-amber);
  color: var(--nh-white);
  font-weight: 800;
  font-size: 1.3rem;
  padding: 1rem 1.8rem;
  border-radius: var(--nh-radius-md);
  margin-top: 0.6rem;
  width: fit-content;
}

.nh-article__share {
  display: flex;
  justify-content: center;
}

.nh-article__related {
  max-width: 100rem;
  margin: 5rem auto 0;
  padding-top: 4rem;
  border-top: 1px solid var(--nh-border);
}

.nh-article__related-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--nh-charcoal);
  margin: 0 0 2rem;
}

.nh-article__back {
  max-width: 100rem;
  margin: 2.8rem auto 0;
  display: flex;
  justify-content: right;
}

.nh-article__back a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--nh-amber-deep);
  text-decoration: none;
}

.nh-article__back .icon-arrow {
  width: 1.2rem;
  transform: scaleX(-1);
}

.nh-article__comments {
  max-width: 76rem;
  margin: 5rem auto 0;
  padding-top: 4rem;
  border-top: 1px solid var(--nh-border);
}

.nh-article__comments h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--nh-charcoal);
}

@media screen and (max-width: 749px) {
  .nh-blog__heading,
  .nh-article__title {
    font-size: 2.2rem;
  }

  .nh-article-product {
    flex-direction: column;
  }

  .nh-article__byline {
    align-items: flex-start;
  }
}
