/*
Theme Name: Ndesign-child
Template: ndesign
Version: 1.0.1784616088
Updated: 2026-07-21 06:41:28

*/


:root {
  /* --- palette (edit here to reskin) --- */
  --sfh-ink:        #1f2a33; /* main text, footer */
  --sfh-ink-2:      #52616b; /* muted text, disclaimer */
  --sfh-bg:         #f5f8f7; /* page background */
  --sfh-paper:      #ffffff; /* cards */
  --sfh-primary:    #1f8a8c; /* teal - clean air */
  --sfh-accent:     #e2683f; /* coral - action / highlight */
  --sfh-gold:       #e6b24a; /* amber - figures / warm accent */
  --sfh-primary-soft:#e7f2f2; /* callout tint */
  --sfh-line:       #dfe6e5; /* borders */
 
  /* --- base type (edit here) --- */
  --sfh-fs-base:    18px;    /* paragraphs, lists, tables */
  --sfh-lh-base:    1.72;
  --sfh-fs-small:   14px;    /* disclaimer / fine print */
 
  /* --- shape --- */
  --sfh-radius:     14px;
}
 
/* ---------- base typography (body elements only) ---------- */
.sfh-content {
  color: var(--sfh-ink);
}
.sfh-content p,
.sfh-content li,
.sfh-content td,
.sfh-content th {
  font-size: var(--sfh-fs-base);
  line-height: var(--sfh-lh-base);
}
.sfh-content li { margin-bottom: 8px; }
.sfh-content > *:first-child { margin-top: 0; }
 
/* ---------- content lists (bulleted + numbered) ---------- */
/* :not(.sfh-resources) keeps the resource-link list untouched */
.sfh-content ul.wp-block-list:not(.sfh-resources),
.sfh-content ol.wp-block-list:not(.sfh-resources) {
  list-style: none;
  margin: 18px 0;
  padding-left: 2px;
}
.sfh-content ul.wp-block-list:not(.sfh-resources) > li,
.sfh-content ol.wp-block-list:not(.sfh-resources) > li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
/* square teal bullet */
.sfh-content ul.wp-block-list:not(.sfh-resources) > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: calc(var(--sfh-lh-base) * 0.5em);
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--sfh-primary);
  transform: translateY(-50%);
}
/* numbered circle */
.sfh-content ol.wp-block-list:not(.sfh-resources) {
  counter-reset: sfh-li;
}
.sfh-content ol.wp-block-list:not(.sfh-resources) > li {
  counter-increment: sfh-li;
  padding-left: 42px;
}
.sfh-content ol.wp-block-list:not(.sfh-resources) > li::before {
  content: counter(sfh-li);
  position: absolute;
  left: 0;
  top: calc(var(--sfh-lh-base) * 0.5em);
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  line-height: 27px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--sfh-primary);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(31, 138, 140, .28);
}
 
/* ---------- links ---------- */
.sfh-content a {
  color: var(--sfh-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color .15s ease;
}
.sfh-content a:hover { color: var(--sfh-accent); }
 
/* ---------- headings + airflow accent ---------- */
.sfh-content h1 { color: var(--sfh-ink); line-height: 1.15; }
.sfh-content h2 {
  color: var(--sfh-ink);
  position: relative;
  margin-top: 2.1em;
  padding-bottom: 12px;
}
.sfh-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sfh-primary), var(--sfh-gold));
}
.sfh-content h3 {
  color: var(--sfh-ink);
  border-left: 3px solid var(--sfh-gold);
  padding-left: 12px;
  margin-top: 1.6em;
}
 
/* ---------- callout card (short version / start here) ---------- */
.sfh-content .sfh-callout {
  position: relative;
  background: var(--sfh-primary-soft);
  border-left: 5px solid var(--sfh-primary);
  border-radius: var(--sfh-radius);
  padding: 22px 26px 22px 60px;
  margin: 28px 0;
  font-style: normal;
}
.sfh-content .sfh-callout::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 26px;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231f8a8c'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%208h12a3%203%200%201%200-3-3'/%3E%3Cpath%20d='M3%2012h16a3%203%200%201%201-3%203'/%3E%3Cpath%20d='M3%2016h9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sfh-content .sfh-callout p { margin: 0 0 10px; }
.sfh-content .sfh-callout p:last-child { margin-bottom: 0; }
.sfh-content .sfh-callout cite { display: none; }
 
/* ---------- sample legal clause "paper" card ---------- */
.sfh-content .sfh-sample {
  background: var(--sfh-paper);
  border: 1px solid var(--sfh-line);
  border-top: 3px solid var(--sfh-gold);
  border-radius: var(--sfh-radius);
  padding: 20px 26px;
  margin: 22px 0;
  box-shadow: 0 6px 22px rgba(31, 42, 51, .06);
}
.sfh-content .sfh-sample p { font-style: italic; margin: 0 0 8px; }
.sfh-content .sfh-sample p:last-child { margin-bottom: 0; }
.sfh-content .sfh-sample strong { font-style: normal; color: var(--sfh-primary); }
.sfh-content .sfh-sample cite { display: none; }
 
/* ---------- stat table ---------- */
.sfh-content .sfh-stat-table { margin: 26px 0; }
.sfh-content .sfh-stat-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sfh-paper);
  border-radius: var(--sfh-radius);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(31, 42, 51, .06);
}
.sfh-content .sfh-stat-table th {
  background: var(--sfh-primary);
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 14px 18px;
  border: 0;
}
.sfh-content .sfh-stat-table td {
  padding: 13px 18px;
  border: 0;
  border-bottom: 1px solid var(--sfh-line);
}
.sfh-content .sfh-stat-table tr:last-child td { border-bottom: 0; }
.sfh-content .sfh-stat-table td:last-child {
  font-weight: 700;
  color: var(--sfh-accent);
  white-space: nowrap;
}
 
/* ---------- images ---------- */
.sfh-content .sfh-hero { margin: 6px 0 30px; }
.sfh-content .sfh-hero img,
.sfh-content .sfh-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--sfh-radius);
  box-shadow: 0 14px 40px rgba(31, 42, 51, .12);
}
.sfh-content .sfh-figure { margin: 26px 0; }
.sfh-content .sfh-figure figcaption,
.sfh-content .sfh-hero figcaption {
  margin-top: 8px;
  font-size: var(--sfh-fs-small);
  color: var(--sfh-ink-2);
  text-align: center;
}
 
/* ---------- airflow separator ---------- */
.sfh-content hr.wp-block-separator {
  border: 0;
  height: 3px;
  width: 100%;
  max-width: 180px;
  margin: 36px auto;
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--sfh-primary), var(--sfh-gold), transparent);
}
 
/* ---------- resource / external links list ---------- */
.sfh-content .sfh-resources { padding-left: 0; list-style: none; }
.sfh-content .sfh-resources li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px dashed var(--sfh-line);
  position: relative;
}
.sfh-content .sfh-resources li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sfh-gold);
}
 
/* ---------- disclaimer / fine print ---------- */
.sfh-content .sfh-disclaimer {
  margin-top: 42px;
  padding: 18px 22px;
  border-top: 2px solid var(--sfh-line);
  background: rgba(31, 138, 140, .04);
  border-radius: 0 0 var(--sfh-radius) var(--sfh-radius);
  color: var(--sfh-ink-2);
}
.sfh-content .sfh-disclaimer p,
.sfh-content .sfh-disclaimer li {
  font-size: var(--sfh-fs-small);
  line-height: 1.6;
}
 
/* ---------- responsive ---------- */
@media (max-width: 600px) {
  :root { --sfh-fs-base: 17px; }
  .sfh-content .sfh-callout { padding: 20px 20px 20px 54px; }
  .sfh-content .sfh-stat-table table { font-size: 15px; }
}
 