/* The Squeeze — editorial guide system built on the storefront design tokens. */

body.ns-guide-page {
  --ns-paper: var(--paper);
  --ns-card: var(--paper);
  --ns-ink: var(--ink);
  --ns-forest: var(--forest);
  --ns-soft: var(--paper-2);
  --ns-border: var(--hair);
  --ns-lime: var(--sage-2);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
}

.ns-guide-page main {
  overflow: hidden;
}

.ns-guide-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ns-guide-wrap--article {
  width: min(1050px, calc(100% - 40px));
}

.ns-guide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--ns-forest);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ns-guide-eyebrow::before {
  width: 1.4rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.ns-guide-breadcrumbs {
  padding-block: 1.25rem 0;
  font-size: 0.88rem;
  color: #5f6f69;
}

.ns-guide-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ns-guide-breadcrumbs li:not(:last-child)::after {
  margin-left: 0.55rem;
  color: #98a7a1;
  content: "/";
}

.ns-guide-breadcrumbs a {
  color: var(--ns-forest);
  font-weight: 700;
  text-decoration: none;
}

.ns-guide-breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

/* Hub */
.ns-guides-hero {
  padding-block: 4.5rem 5.5rem;
}

.ns-guides-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.ns-guides-hero h1,
.ns-guide-header h1 {
  margin: 1rem 0 0;
  color: var(--ns-ink);
  font-size: clamp(2.8rem, 6.4vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.ns-guides-hero h1 em,
.ns-guide-header h1 em {
  color: var(--ns-forest);
  font-style: normal;
}

.ns-guides-hero-lede {
  max-width: 42rem;
  margin: 1.65rem 0 0;
  color: #4f625b;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.ns-guides-hero-note {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  color: #4f625b;
  font-size: 0.9rem;
}

.ns-guides-hero-note span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ns-soft);
  color: var(--ns-forest);
  font-weight: 800;
}

.ns-guides-hero-visual {
  position: relative;
  min-height: 450px;
}

.ns-guides-hero-photo {
  width: calc(100% - 2.6rem);
  height: 100%;
  min-height: 450px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 1.8rem;
  background: var(--ns-forest);
  box-shadow: var(--ns-shadow-lg);
}

.ns-guides-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
}

.ns-guides-hero-label {
  position: absolute;
  bottom: 2rem;
  left: 0;
  max-width: 15.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 0.9rem;
  background: var(--ns-card);
  box-shadow: var(--ns-shadow);
  transform: rotate(-2deg);
}

.ns-guides-hero-label strong,
.ns-guides-hero-label span {
  display: block;
}

.ns-guides-hero-label strong {
  font-family: var(--f-display);
  font-size: 1.03rem;
}

.ns-guides-hero-label span {
  margin-top: 0.3rem;
  color: #617069;
  font-size: 0.78rem;
}

.ns-guides-library {
  padding-block: 5.5rem 6.5rem;
  border-block: 1px solid var(--ns-border);
  background: #edf3e8;
}

.ns-guides-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.ns-guides-section-head h2,
.ns-guides-values h2,
.ns-related-guides h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.ns-guides-section-head p {
  max-width: 29rem;
  margin: 0;
  color: #52645d;
}

.ns-guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.ns-guide-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(31, 92, 72, 0.15);
  border-radius: 1.25rem;
  background: var(--ns-card);
  box-shadow: 0 10px 30px rgba(21, 52, 42, 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ns-guide-card:hover {
  color: inherit;
  box-shadow: var(--ns-shadow);
  transform: translateY(-5px);
}

.ns-guide-card-art {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.ns-guide-card-art::before,
.ns-guide-card-art::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.ns-guide-card-art::before {
  top: 30px;
  right: 15%;
  width: 115px;
  height: 115px;
  border: 16px solid rgba(255, 255, 255, 0.72);
}

.ns-guide-card-art::after {
  bottom: -45px;
  left: -15px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.28);
}

.ns-guide-card-art--citrus {
  background: linear-gradient(145deg, #f7b948, #e8783d);
}

.ns-guide-card-art--greens {
  background: linear-gradient(145deg, #5f9a6f, #1f5c48);
}

.ns-guide-card-art--ocean {
  background: linear-gradient(145deg, #a9c7b7, #487a68);
}

.ns-guide-card-number {
  position: absolute;
  z-index: 1;
  bottom: 1rem;
  right: 1.1rem;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--f-display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.ns-guide-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.ns-guide-card-meta {
  color: var(--ns-forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ns-guide-card h3 {
  margin: 0.75rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.ns-guide-card p {
  margin: 0.8rem 0 1.4rem;
  color: #5b6964;
  font-size: 0.94rem;
}

.ns-guide-card-link {
  margin-top: auto;
  color: var(--ns-forest);
  font-weight: 800;
}

.ns-guides-values {
  padding-block: 6rem;
}

.ns-guides-values-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.ns-guides-value-list {
  display: grid;
  gap: 1rem;
}

.ns-guides-value {
  padding: 1.35rem 0;
  border-top: 1px solid var(--ns-border);
}

.ns-guides-value:last-child {
  border-bottom: 1px solid var(--ns-border);
}

.ns-guides-value h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.ns-guides-value p {
  margin: 0.45rem 0 0;
  color: #596b64;
}

/* Article */
.ns-guide-header {
  padding-block: 3rem 4.2rem;
  border-bottom: 1px solid var(--ns-border);
}

.ns-guide-header-inner {
  max-width: 850px;
}

.ns-guide-hero-media {
  aspect-ratio: 16 / 9;
  margin: 3rem 0 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--ns-soft);
  box-shadow: var(--ns-shadow-soft);
}

.ns-guide-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-guide-header h1 {
  max-width: 16ch;
  font-size: clamp(2.65rem, 6vw, 5.1rem);
}

.ns-guide-dek {
  max-width: 43rem;
  margin: 1.5rem 0 0;
  color: #4f625b;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.ns-guide-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
  margin-top: 1.8rem;
  color: #64756e;
  font-size: 0.88rem;
}

.ns-guide-byline strong {
  color: var(--ns-ink);
}

.ns-guide-byline-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9dadA6;
}

/* Share bar */
.ns-guide-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 1.65rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--ns-border);
  border-radius: 1rem;
  background: color-mix(in oklab, var(--ns-soft) 72%, var(--ns-card));
}

.ns-guide-share-copy {
  flex: 1 1 18rem;
  min-width: min(100%, 17rem);
  max-width: 25rem;
}

.ns-guide-share-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ns-forest);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ns-guide-share-copy strong {
  display: block;
  color: var(--ns-ink);
  font-size: 0.94rem;
  line-height: 1.4;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.ns-guide-share-actions {
  display: flex;
  flex: 2 1 29rem;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.ns-guide-share-action {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.65rem 0.9rem;
  appearance: none;
  border: 1px solid rgba(30, 58, 43, 0.22);
  border-radius: 999px;
  background: var(--ns-card);
  color: var(--ns-forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease,
    color 160ms ease, transform 160ms ease;
}

.ns-guide-share-action[data-share-method="native_share"] {
  border-color: var(--ns-forest);
  background: var(--ns-forest);
  color: var(--ns-paper);
}

.ns-guide-share-action[data-share-method="whatsapp"] {
  border-color: transparent;
  background: var(--ns-lime);
  color: var(--ns-ink);
}

.ns-guide-share-action[hidden],
.ns-guide-email-share[hidden],
.ns-guide-email-share-form[hidden],
.ns-guide-email-share-actions[hidden],
.ns-guide-email-share-status[hidden],
.ns-guide-subscribe-success[hidden],
.ns-guide-subscribe-form[hidden],
.ns-guide-subscribe-success [hidden] {
  display: none !important;
}

.ns-guide-share-status {
  flex: 1 0 100%;
  color: var(--ns-forest);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.ns-guide-share-status:empty {
  display: none;
}

@media (hover: hover) {
  .ns-guide-share-action:hover {
    border-color: var(--ns-forest);
    background: var(--ns-forest);
    color: var(--ns-paper);
    transform: translateY(-1px);
  }

  .ns-guide-share-action[data-share-method="native_share"]:hover {
    background: var(--forest-2);
  }

  .ns-guide-share-action[data-share-method="whatsapp"]:hover {
    border-color: var(--ns-forest);
  }
}

.ns-guide-share-action:active {
  transform: translateY(0);
}

/* On-site email sharing panel */
.ns-guide-email-share {
  flex: 1 0 100%;
  min-width: 0;
  margin-top: 0.15rem;
  padding: 1rem;
  border: 1px solid rgba(30, 58, 43, 0.16);
  border-radius: 0.9rem;
  background: color-mix(in oklab, var(--ns-card) 86%, #fff);
  box-shadow: 0 10px 24px rgba(21, 52, 42, 0.06);
}

.ns-guide-email-share-head {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.75rem;
  color: var(--ns-ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.ns-guide-email-share-head strong,
.ns-guide-email-share-head h2,
.ns-guide-email-share-head h3 {
  flex: 0 0 auto;
  margin: 0;
  color: var(--ns-ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
  white-space: nowrap;
}

.ns-guide-email-share-head p,
.ns-guide-email-share-head span {
  flex: 1 1 18rem;
  margin: 0;
  color: #5f6f69;
  font-size: 0.78rem;
  line-height: 1.45;
}

.ns-guide-email-share-form {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto;
  align-items: end;
  gap: 0.65rem;
  min-width: 0;
}

.ns-guide-email-share-field {
  display: block;
  min-width: 0;
  margin: 0;
}

.ns-guide-email-share-field > span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ns-ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

input.ns-guide-email-share-field,
.ns-guide-email-share-field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(30, 58, 43, 0.26);
  border-radius: 0.72rem;
  background: #fff;
  color: var(--ns-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.25;
}

input.ns-guide-email-share-field::placeholder,
.ns-guide-email-share-field input::placeholder {
  color: #6d786f;
  opacity: 1;
}

.ns-guide-email-share-actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ns-guide-email-share-submit,
.ns-guide-email-share-cancel {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.65rem 0.9rem;
  appearance: none;
  border: 1px solid var(--ns-forest);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease,
    color 160ms ease, transform 160ms ease;
}

.ns-guide-email-share-submit {
  background: var(--ns-forest);
  color: var(--ns-paper);
}

.ns-guide-email-share-cancel {
  background: transparent;
  color: var(--ns-forest);
}

.ns-guide-email-share-submit:disabled,
.ns-guide-email-share-cancel:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.ns-guide-email-share-status {
  grid-column: 1 / -1;
  min-height: 1.15rem;
  margin: 0;
  color: var(--ns-forest);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.ns-guide-email-share-status:empty {
  display: none;
}

@media (hover: hover) {
  .ns-guide-email-share-submit:hover {
    border-color: var(--forest-2);
    background: var(--forest-2);
    transform: translateY(-1px);
  }

  .ns-guide-email-share-cancel:hover {
    background: var(--ns-soft);
    transform: translateY(-1px);
  }
}

.ns-article {
  padding-block: 4rem 5.5rem;
}

.ns-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 230px;
  justify-content: space-between;
  gap: 4.5rem;
}

.ns-article-copy {
  min-width: 0;
}

.ns-article-copy > p,
.ns-article-copy li {
  color: #344b43;
  font-size: 1.04rem;
  line-height: 1.8;
}

.ns-article-copy > p {
  margin: 1.2rem 0;
}

.ns-article-copy h2 {
  margin: 3.4rem 0 1rem;
  color: var(--ns-ink);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.ns-article-copy h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.ns-article-copy ul,
.ns-article-copy ol {
  display: grid;
  gap: 0.65rem;
  margin: 1.1rem 0 1.6rem;
  padding-left: 1.4rem;
}

.ns-article-copy a:not(.ns-guide-cta-button) {
  color: var(--ns-forest);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18rem;
}

.ns-guide-summary,
.ns-guide-counter-note,
.ns-guide-safety,
.ns-guide-sources {
  margin: 0 0 2rem;
  padding: 1.5rem 1.65rem;
  border-radius: 1rem;
}

.ns-guide-summary {
  border: 1px solid var(--ns-border);
  background: var(--ns-soft);
}

.ns-guide-summary strong,
.ns-guide-counter-note strong,
.ns-guide-safety strong,
.ns-guide-sources strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--f-display);
  font-size: 1rem;
}

.ns-guide-summary p,
.ns-guide-counter-note p,
.ns-guide-safety p {
  margin: 0;
  color: #3d554c;
  line-height: 1.65;
}

.ns-guide-counter-note {
  margin-block: 2rem;
  border-left: 4px solid #e08b43;
  background: #fff5e8;
}

.ns-guide-safety {
  margin-block: 2rem;
  border: 1px solid #e4d5ae;
  background: #fffaf0;
}

.ns-guide-sources {
  margin-block: 2.5rem;
  border: 1px solid var(--ns-border);
  background: #f8faf8;
}

.ns-guide-sources ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.2rem;
}

.ns-guide-sources li {
  color: #4b5f57;
  font-size: 0.94rem;
  line-height: 1.55;
}

.ns-guide-toc {
  position: sticky;
  top: 7rem;
  align-self: start;
  padding-left: 1.25rem;
  border-left: 1px solid var(--ns-border);
}

.ns-guide-toc strong {
  display: block;
  margin-bottom: 0.9rem;
  color: #67776f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ns-guide-toc ol {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ns-guide-toc a {
  color: #486057;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.ns-guide-toc a:hover {
  color: var(--ns-forest);
}

.ns-guide-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding: 2rem;
  border-radius: 1.25rem;
  background: var(--ns-forest);
  color: #fff;
}

.ns-guide-cta h2 {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
}

.ns-guide-cta p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  line-height: 1.55;
}

.ns-guide-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--ns-lime);
  color: var(--ns-ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.ns-guide-cta-button:hover {
  background: #d5f8ad;
  color: var(--ns-ink);
}

/* Subscriber + follow endcap */
.ns-guide-subscribe {
  padding-block: clamp(3.75rem, 7vw, 5.5rem);
  border-top: 1px solid var(--ns-border);
  background: var(--ns-paper);
}

.ns-guide-subscribe-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.25rem);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: var(--ns-forest);
  box-shadow: 0 24px 58px rgba(20, 50, 39, 0.15);
  color: var(--ns-paper);
}

.ns-guide-subscribe-card::after {
  position: absolute;
  z-index: -1;
  top: -11rem;
  left: -8rem;
  width: 25rem;
  height: 25rem;
  border: 3.5rem solid rgba(198, 209, 191, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ns-guide-subscribe-copy,
.ns-guide-subscribe-form-wrap {
  min-width: 0;
}

.ns-guide-subscribe-kicker {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--ns-lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ns-guide-subscribe-copy h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--ns-paper);
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.ns-guide-subscribe-copy h2 em {
  color: var(--ns-lime);
  font-style: normal;
}

.ns-guide-subscribe-copy > p {
  max-width: 38rem;
  margin: 1.15rem 0 0;
  color: rgba(246, 242, 234, 0.8);
  font-size: 1rem;
  line-height: 1.65;
}

.ns-guide-follow-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.7rem;
  margin-top: 1.35rem;
  color: var(--ns-paper);
}

.ns-guide-follow-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration-color: rgba(246, 242, 234, 0.48);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24rem;
}

.ns-guide-follow-links a:hover {
  color: var(--ns-lime);
  text-decoration-color: currentColor;
}

.ns-guide-follow-links span {
  color: rgba(246, 242, 234, 0.45);
}

.ns-guide-subscribe-form-wrap {
  position: relative;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1.25rem;
  background: var(--ns-paper);
  box-shadow: 0 18px 42px rgba(9, 28, 20, 0.2);
  color: var(--ns-ink);
}

.ns-guide-subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.ns-guide-email-field {
  display: block;
  min-width: 0;
  margin: 0;
}

.ns-guide-email-field input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(30, 58, 43, 0.24);
  border-radius: 0.8rem;
  background: #fff;
  color: var(--ns-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.25;
}

.ns-guide-email-field input::placeholder {
  color: #6d786f;
  opacity: 1;
}

.ns-guide-subscribe-form button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.75rem 1.05rem;
  appearance: none;
  border: 1px solid var(--terra-2);
  border-radius: 0.8rem;
  background: var(--terra-2);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.ns-guide-subscribe-form button:hover {
  border-color: var(--ns-forest);
  background: var(--ns-forest);
  transform: translateY(-1px);
}

.ns-guide-subscribe-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.ns-guide-subscribe-status {
  min-height: 1.25rem;
  margin: 0.65rem 0 0;
  color: #8f3521;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.ns-guide-subscribe-success {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid rgba(30, 58, 43, 0.18);
  border-radius: 0.85rem;
  background: #edf3e8;
  color: var(--ns-ink);
  line-height: 1.45;
}

.ns-guide-subscribe-success strong {
  color: var(--ns-forest);
  font-size: 1rem;
}

.ns-guide-subscribe-success a {
  width: fit-content;
  color: var(--ns-forest);
  font-weight: 800;
  text-underline-offset: 0.2rem;
}

.ns-guide-subscribe-consent {
  margin: 0.85rem 0 0;
  color: #657169;
  font-size: 0.72rem;
  line-height: 1.5;
}

.ns-guide-subscribe-consent a {
  color: var(--ns-forest);
  font-weight: 800;
  text-underline-offset: 0.16rem;
}

.ns-guide-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.ns-guide-share-action:focus-visible,
.ns-guide-email-share-field:focus-visible,
.ns-guide-email-share-field input:focus-visible,
.ns-guide-email-share-submit:focus-visible,
.ns-guide-email-share-cancel:focus-visible,
.ns-guide-email-field input:focus-visible,
.ns-guide-subscribe-form button:focus-visible,
.ns-guide-subscribe-success a:focus-visible,
.ns-guide-subscribe-consent a:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}

.ns-guide-follow-links a:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid var(--ns-lime);
  outline-offset: 3px;
}

.ns-related-guides {
  padding-block: 5rem 6rem;
  border-top: 1px solid var(--ns-border);
  background: #f2f6ef;
}

.ns-related-guides .ns-guide-card-art {
  min-height: 120px;
}

.ns-related-guides .ns-guide-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 800px;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .ns-guides-hero-grid,
  .ns-guides-values-grid,
  .ns-article-layout,
  .ns-guide-subscribe-card {
    grid-template-columns: 1fr;
  }

  .ns-guide-share {
    align-items: flex-start;
  }

  .ns-guide-share-copy {
    flex-basis: 100%;
    max-width: 36rem;
  }

  .ns-guide-share-actions {
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .ns-guides-hero-visual {
    min-height: 390px;
  }

  .ns-guides-hero-photo,
  .ns-guides-hero-photo img {
    min-height: 390px;
  }

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

  .ns-guide-card {
    display: grid;
    grid-template-columns: 0.55fr 1fr;
  }

  .ns-guide-toc {
    position: static;
    grid-row: 1;
    padding: 1.25rem;
    border: 1px solid var(--ns-border);
    border-radius: 0.9rem;
    background: #fff;
  }

  .ns-guide-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ns-guide-wrap,
  .ns-guide-wrap--article {
    width: min(100% - 28px, 1180px);
  }

  .ns-guides-hero {
    padding-block: 3rem 4rem;
  }

  .ns-guides-hero-visual,
  .ns-guides-hero-photo,
  .ns-guides-hero-photo img {
    min-height: 330px;
  }

  .ns-guides-section-head {
    display: block;
  }

  .ns-guides-section-head p {
    margin-top: 1rem;
  }

  .ns-guide-card,
  .ns-related-guides .ns-guide-card-grid {
    grid-template-columns: 1fr;
  }

  .ns-guide-card-art {
    min-height: 135px;
  }

  .ns-guide-header {
    padding-block: 2.4rem 3rem;
  }

  .ns-guide-share {
    padding: 1rem;
  }

  .ns-guide-share-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ns-guide-share-action {
    width: 100%;
    padding-inline: 0.7rem;
    white-space: normal;
  }

  .ns-guide-email-share {
    padding: 0.85rem;
  }

  .ns-guide-email-share-head {
    display: grid;
    justify-content: start;
  }

  .ns-guide-email-share-form {
    grid-template-columns: 1fr;
  }

  .ns-guide-email-share-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ns-guide-email-share-submit,
  .ns-guide-email-share-cancel {
    width: 100%;
    padding-inline: 0.7rem;
    white-space: normal;
  }

  .ns-article {
    padding-block: 2.8rem 4rem;
  }

  .ns-guide-toc ol {
    grid-template-columns: 1fr;
  }

  .ns-guide-cta {
    grid-template-columns: 1fr;
  }

  .ns-guide-cta-button {
    width: 100%;
  }

  .ns-guide-subscribe {
    padding-block: 3.25rem;
  }

  .ns-guide-subscribe-card {
    gap: 1.75rem;
    padding: 1.35rem;
  }

  .ns-guide-subscribe-card::after {
    top: -12rem;
    left: -13rem;
  }

  .ns-guide-subscribe-form {
    grid-template-columns: 1fr;
  }

  .ns-guide-subscribe-form button {
    width: 100%;
    white-space: normal;
  }

  .ns-related-guides .ns-guide-card-grid {
    display: grid;
  }
}

@media (max-width: 400px) {
  .ns-guide-follow-links {
    display: grid;
    justify-items: start;
  }

  .ns-guide-follow-links > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-guide-share-action,
  .ns-guide-email-share-submit,
  .ns-guide-email-share-cancel,
  .ns-guide-subscribe-form button {
    transition: none;
  }

  .ns-guide-share-action:hover,
  .ns-guide-email-share-submit:hover,
  .ns-guide-email-share-cancel:hover,
  .ns-guide-subscribe-form button:hover {
    transform: none;
  }
}
