/* NFBABY V2 article details. Scoped to category 3 via body.nf-news-detail. */

html.nf-v1-pc body.nf-news-detail .nf-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 64px;
  font-size: var(--nf-text-base);
}

html.nf-v1-pc body.nf-news-detail .nf-article-main,
html.nf-v1-pc body.nf-news-detail .nf-article-aside {
  display: block;
  width: 100%;
  padding: 0;
}

html.nf-v1-pc body.nf-news-detail .nf-article-main {
  min-width: 0;
}

html.nf-v1-pc body.nf-news-detail .article_title h1 {
  margin: 0;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--nf-color-line);
  color: var(--nf-color-ink);
  font-size: clamp(30px, 2.25vw, 38px);
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
}

html.nf-v1-pc body.nf-news-detail .article_con {
  max-width: var(--nf-reading);
  padding: 30px 0 8px;
}

html.nf-v1-pc body.nf-news-detail .article_con #newsde {
  padding: 0;
  color: var(--nf-color-ink-soft);
  font-size: 17px;
  line-height: 1.9;
  text-indent: 0;
}

html.nf-v1-pc body.nf-news-detail .article_con #newsde p,
html.nf-v1-pc body.nf-news-detail .article_con #newsde li {
  margin: 0 0 18px;
  color: var(--nf-color-ink-soft);
  font-size: 17px;
  line-height: 1.9;
  text-indent: 0;
}

html.nf-v1-pc body.nf-news-detail .article_con #newsde h2,
html.nf-v1-pc body.nf-news-detail .article_con #newsde h3 {
  color: var(--nf-color-ink);
  font-weight: 650;
  text-indent: 0;
}

html.nf-v1-pc body.nf-news-detail .article_con #newsde h2 {
  margin: 30px 0 12px;
  font-size: 25px;
  line-height: 1.45;
}

html.nf-v1-pc body.nf-news-detail .article_con #newsde h3 {
  margin: 24px 0 10px;
  font-size: 21px;
  line-height: 1.5;
}

html.nf-v1-pc body.nf-news-detail .article_con #newsde img {
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: var(--nf-radius-md);
}

html.nf-v1-pc body.nf-news-detail .nf-article-actions {
  margin-top: 22px;
  text-align: left;
}

.nf-news-detail .nf-article-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid var(--nf-color-blue);
  border-radius: var(--nf-radius-sm);
  color: var(--nf-color-blue-deep);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.nf-news-detail .nf-article-back:hover,
.nf-news-detail .nf-article-back:focus-visible {
  background: var(--nf-color-blue);
  color: #fff;
}

html.nf-v1-pc body.nf-news-detail .nf-article-support {
  position: sticky;
  top: 24px;
  overflow: hidden;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--nf-color-line);
  border-top: 4px solid var(--nf-color-teal);
  border-radius: var(--nf-radius-md);
  background: linear-gradient(180deg, #f7fbfb 0%, #fff 100%);
  box-shadow: var(--nf-shadow-sm);
}

html.nf-v1-pc body.nf-news-detail .nf-article-support__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--nf-color-teal-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

html.nf-v1-pc body.nf-news-detail .nf-article-support h2 {
  margin: 0 0 12px;
  color: var(--nf-color-ink);
  font-size: 26px;
  font-weight: 650;
  line-height: 1.35;
}

html.nf-v1-pc body.nf-news-detail .nf-article-support p {
  margin: 0 0 22px;
  color: var(--nf-color-ink-soft);
  font-size: 15px;
  line-height: 1.75;
  text-indent: 0;
}

html.nf-v1-pc body.nf-news-detail .nf-article-support__cta {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--nf-radius-sm);
  background: var(--nf-color-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 650;
}

html.nf-v1-pc body.nf-news-detail .nf-article-support__cta:hover,
html.nf-v1-pc body.nf-news-detail .nf-article-support__cta:focus-visible {
  background: var(--nf-color-blue-deep);
  color: #fff;
  transform: translateY(-1px);
}

html.nf-v1-pc body.nf-news-detail .nf-article-support__phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--nf-color-line);
  color: var(--nf-color-ink-soft);
  font-size: 13px;
}

html.nf-v1-pc body.nf-news-detail .nf-article-support__phone strong {
  color: var(--nf-color-ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

html.nf-v1-mobile body.nf-news-detail .nf-article-neighbors {
  display: grid;
  gap: 10px;
  padding: 2px 16px 10px;
}

html.nf-v1-mobile body.nf-news-detail .nf-article-neighbor {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid var(--nf-color-line);
  border-radius: 10px;
  background: var(--nf-color-mist);
}

html.nf-v1-mobile body.nf-news-detail .nf-article-neighbor span {
  color: var(--nf-color-teal-deep);
  font-size: 12px;
  font-weight: 700;
}

html.nf-v1-mobile body.nf-news-detail .nf-article-neighbor strong {
  overflow: hidden;
  color: var(--nf-color-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.nf-v1-mobile body.nf-news-detail .proCs .pageTurn {
  padding-top: 8px;
  padding-bottom: 24px;
}

html.nf-v1-mobile body.nf-news-detail .proCs .pageTurn .nf-article-back {
  width: auto;
  min-width: 112px;
  margin: 0;
}

/* V2.6.2 direct-access quarantine for audited legacy pages. */
.nf-direct-quarantine-page .nf-direct-quarantine-header h1 {
  margin-bottom: 0;
}

.nf-direct-quarantine-page .nf-direct-quarantine-wrap {
  max-width: var(--nf-reading);
}

.nf-direct-quarantine-page .nf-direct-quarantine {
  box-sizing: border-box;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--nf-color-line);
  border-top: 4px solid var(--nf-color-teal);
  border-radius: var(--nf-radius-md);
  background: linear-gradient(145deg, #f7fbfb 0%, #fff 72%);
  box-shadow: var(--nf-shadow-sm);
}

.nf-direct-quarantine-page .nf-direct-quarantine p {
  margin: 0 0 16px;
  color: var(--nf-color-ink-soft);
  line-height: 1.85;
  text-indent: 0;
}

.nf-direct-quarantine-page .nf-direct-quarantine p:last-of-type {
  margin-bottom: 0;
}

.nf-direct-quarantine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nf-direct-quarantine-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 20px;
  border: 1px solid var(--nf-color-line-strong);
  border-radius: var(--nf-radius-sm);
  background: #fff;
  color: var(--nf-color-blue-deep);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.nf-direct-quarantine-actions a:hover,
.nf-direct-quarantine-actions a:focus-visible {
  border-color: var(--nf-color-blue);
  color: var(--nf-color-blue-deep);
  transform: translateY(-1px);
}

.nf-direct-quarantine-actions a.is-primary {
  border-color: var(--nf-color-blue);
  background: var(--nf-color-blue);
  color: #fff;
}

.nf-direct-quarantine-actions a.is-primary:hover,
.nf-direct-quarantine-actions a.is-primary:focus-visible {
  background: var(--nf-color-blue-deep);
  color: #fff;
}

html.nf-v1-pc body.nf-direct-quarantine-page .nf-direct-quarantine {
  padding: 34px 36px;
}

html.nf-v1-pc body.nf-direct-quarantine-page .nf-direct-quarantine p {
  font-size: 17px;
}

html.nf-v1-mobile body.nf-direct-quarantine-page .proCs .mainCon {
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

html.nf-v1-mobile body.nf-direct-quarantine-page .nf-direct-quarantine {
  width: auto;
  margin: 18px 16px 26px;
  padding: 24px 20px;
}

html.nf-v1-mobile body.nf-direct-quarantine-page .nf-direct-quarantine p {
  font-size: 16px;
  line-height: 1.8;
}

html.nf-v1-mobile body.nf-direct-quarantine-page .nf-direct-quarantine-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}

html.nf-v1-mobile body.nf-direct-quarantine-page .nf-direct-quarantine-actions a {
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  font-size: 16px;
}

html.nf-v1-mobile body.nf-direct-quarantine-page .nf-direct-quarantine-actions a.is-primary {
  color: #fff;
}
