/* Optional: replace none with url("https://your-site.example/approved-niutao-photo.jpg"). */
.nf { --hero-photo: none; --ink:#301820; --green:#991a33; --paper:#fff; --gold:#fff; color:var(--ink); background:var(--paper); font:1rem/1.65 system-ui,sans-serif; }
.nf * {box-sizing:border-box}
.nf h1,.nf h2,.nf h3,.nf p {margin:0 0 .7em}
.nf h1,.nf h2,.nf h3 {line-height:1.08; font-family:Georgia,serif; text-wrap:balance}
.nf h1 {font-size:clamp(2.7rem,8vw,6.4rem); max-width:12ch}
.nf h2 {font-size:clamp(1.7rem,4vw,2.8rem)}
.nf h3 {font-size:1.5rem}
.nf a {color:inherit;text-underline-offset:.24em}
.nf a:focus-visible {outline:3px solid currentColor;outline-offset:4px}
.nf-wrap {width:min(1140px,calc(100% - 2.5rem));margin-inline:auto}
.nf-bar {background:#fff}
.nf-bar .nf-wrap {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem 2rem;padding-block:1.15rem}
.nf-brand {font:700 1.35rem Georgia,serif;text-decoration:none}
.nf-menu {display:flex;flex-wrap:wrap;gap:.45rem 1.2rem}
.nf-menu a {text-decoration:none;font-size:.93rem;font-weight:650}
.nf-menu a:hover,.nf-menu [aria-current="page"] {text-decoration:underline}
.nf-hero {color:#fff;background:linear-gradient(110deg,#4f0c19 0%,#680f20e0 55%,#891c3299),var(--hero-photo) center/cover no-repeat,#a72843;padding-block:clamp(3rem,10vw,8rem);border-bottom:5px solid var(--gold)}
.nf-inner {padding-block:clamp(2.5rem,6vw,4.25rem)}
.nf-inner h1 {font-size:clamp(2.4rem,6vw,4.5rem)}
.nf-kicker {color:var(--gold);font-weight:750;letter-spacing:.16em;text-transform:uppercase;font-size:.78rem}
.nf-lead {max-width:52ch;font-size:clamp(1rem,2.5vw,1.19rem)}
.nf-actions {display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.5rem}
.nf-button {display:inline-block;padding:.65rem 1rem;border:1px solid var(--gold);border-radius:.3rem;background:var(--gold);color:var(--ink)!important;font-weight:750;text-decoration:none}
.nf-button + .nf-button {background:transparent;color:#fff!important;border-color:#fff}
.nf-button:hover,.nf-card a:hover {text-decoration:underline}
.nf-section {padding-block:clamp(2rem,5vw,4rem)}
.nf-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:1rem;margin-top:1.3rem}
.nf-card {background:white;border:1px solid #efd4da;border-top:3px solid #ab1833;border-radius:.45rem;padding:1.45rem}
.nf-card a {color:var(--green);font-weight:750}
.nf-band {background:#fff0f2}
.nf-footer {background:#680f20;color:white;padding-block:1.35rem}
.nf-footer .nf-wrap {display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem}
.nf-skip {position:absolute;left:1rem;transform:translateY(-300%);background:#fff;padding:.6rem;z-index:5}
.nf-skip:focus {transform:none}

body.niutao-page-layout {
  margin: 0;
}

.wp-site-blocks .nf {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  display: flex;
  flex-direction: column;
}

.wp-site-blocks .nf > #niutao-content {
  flex: 1;
}

/* Niutao blue and white */
.wp-site-blocks .nf {
  --ink: #301820;
  --green: #991a33;
  --paper: #fff;
  --gold: #fff;
}
.nf .nf-bar { border-bottom: 1px solid #f2dade; }
.nf .nf-brand { display: inline-flex; align-items: center; gap: .7rem; }
.nf .nf-logo { width: 3.1rem; height: 3.1rem; object-fit: contain; vertical-align: middle; }
.nf .nf-hero {
  background: linear-gradient(110deg,#680f20 0%,#9c1630e8 58%,#b82241b3),
    var(--hero-photo) center/cover no-repeat,#ab1833;
  border-bottom-color: #eab9c4;
}
.nf .nf-card { border-color: #efd4da; border-top-color: #ab1833; }
.nf .nf-band, .nf .nf-staff { background: #fff0f2; }
.nf .nf-staff { padding: .7rem 0; text-align: right; }
.nf .nf-footer { background: #680f20; }
.nf .nf-section img { max-width: 100%; height: auto; }
