/* Shared public design. Editorial text, media and the hand-drawn frames stay intact. */
.nfk-public {
  --nfk-ink: #373732;
  --nfk-plum: #813877;
  --nfk-plum-dark: #682d60;
  --nfk-leaf: #edf2e5;
  --nfk-paper: #fbf8ef;
  --bs-body-font-family: "NfK Community", sans-serif;
  --bs-body-color: var(--nfk-ink);
  --bs-primary: #813877;
  --bs-primary-rgb: 129, 56, 119;
  font-family: var(--bs-body-font-family);
  color: var(--nfk-ink);
  font-size: 1.1rem;
  line-height: 1.7;
}
.nfk-public h1,.nfk-public h2,.nfk-public h3,.nfk-public h4,
.nfk-public .NfkfontSecond,.nfk-public .NfKQuote {font-family:inherit}
.nfk-public h1,.nfk-public h2,.nfk-public h3 {line-height:1.2;overflow-wrap:anywhere}
.nfk-public h2 {color:var(--nfk-plum);font-size:clamp(1.8rem,3vw,2.6rem)}
.nfk-public h3 {font-size:1.55rem}
.nfk-public a {color:var(--nfk-plum);text-underline-offset:.22em}
.nfk-public a:hover {color:var(--nfk-plum-dark)}
.nfk-public .cms-text {line-height:1.75}
.nfk-public .btn-primary {
  --bs-btn-bg:var(--nfk-plum);--bs-btn-border-color:var(--nfk-plum);
  --bs-btn-hover-bg:var(--nfk-plum-dark);--bs-btn-hover-border-color:var(--nfk-plum-dark);
  --bs-btn-active-bg:var(--nfk-plum-dark);--bs-btn-active-border-color:var(--nfk-plum-dark);
  color:#fff;border-radius:24px 15px 22px 15px;padding:.65rem 1.3rem;font-size:1.05rem;
}
.nfk-public .btn-primary:hover,.nfk-public .btn-primary:focus {color:#fff}
.nfk-public .nfk-infobar {background-color:#f1e6ef!important;font-size:.95rem!important;padding:.5rem 0!important}
.nfk-infobar>.container-lg>.row {align-items:center;justify-content:space-between}
.nfk-infobar .col-3,.nfk-infobar .col-2,.nfk-infobar .col-4 {width:auto;flex:0 1 auto}
.nfk-public .navbar {padding:.8rem 0 1.1rem}
.nfk-public .navbar-brand img {height:104px;width:auto;max-width:100%;object-fit:contain}
.nfk-public .navbar-nav {gap:.25rem}
.nfk-public .navbar .nav-link {font-size:1.35rem!important;padding:.65rem .85rem;color:#65425f;border-radius:18px 10px 20px 10px}
.nfk-public .navbar .nav-link:hover,.nfk-public .navbar .nav-link:focus-visible {background:#f5edf4;color:var(--nfk-plum-dark)}
.nfk-public .dropdown-menu {padding:.6rem;border:1px solid #e4d3e0;border-radius:16px 10px 20px 10px;box-shadow:0 8px 22px #59324f12;font-size:1.05rem}
.nfk-public .dropdown-item {padding:.5rem .9rem;border-radius:9px;white-space:normal}
.nfk-public .dropdown-item:hover,.nfk-public .dropdown-item:focus {background:#f1e6ef;color:var(--nfk-plum-dark)}
/* The original image frame remains above the images, without changed sizing or masking. */
.nfk-public .carousel-item {transition-duration:.45s;transition-timing-function:ease-in-out}
.nfk-public .carousel-fade .active.carousel-item-start,
.nfk-public .carousel-fade .active.carousel-item-end {transition:opacity 0s .45s}
.nfk-public .carousel-control-prev,.nfk-public .carousel-control-next {opacity:.85}
.nfk-public .carousel-control-prev:hover,.nfk-public .carousel-control-next:hover {opacity:1}
.nfk-public .nfk-landing-carousel .custom-caption.bg-dark {background-color:rgba(45,30,42,.72)!important;padding:1.2rem 1.5rem;border-radius:22px 12px 26px 14px;max-width:850px}
.nfk-public .nfk-landing-carousel .custom-caption h2 {color:#fff}
.nfk-public .nfk-landing-carousel .custom-caption p {margin-bottom:.6rem;line-height:1.45}
.nfk-public .nfk-quote {max-width:940px;padding-top:2rem;padding-bottom:1rem}
.nfk-public .nfk-quote .NfKQuote {font-size:clamp(1.65rem,3vw,2.5rem)!important;line-height:1.45}
.nfk-public .nfk-quote .blockquote-footer {color:#756274}
.nfk-public .nfk-landing-divider {min-height:110px}
.nfk-public .nfk-navigation {padding-bottom:2rem}
.nfk-navigation>.row {row-gap:1.8rem}
.nfk-public .nfk-navigation .card {width:100%;padding:.4rem .6rem 1.2rem;background:transparent}
.nfk-public .nfk-navigation .card-title {font-size:1.65rem;margin-bottom:.3rem}
.nfk-navigation .card-img-wrapper {border-radius:18px;transition:transform .18s ease}
.nfk-navigation .card-img-wrapper:hover {transform:translateY(-3px)}
.nfk-navigation .card-img-wrapper:focus-visible {outline:3px solid var(--nfk-plum);outline-offset:3px}
.nfk-public .testimonial-slider {padding-top:1rem;padding-bottom:3rem}
.nfk-public .testimonial-slider .card {background:var(--nfk-paper);border:1px solid #eae2d4!important;border-radius:22px 12px 26px 14px;overflow:hidden;box-shadow:3px 5px 0 #f1ecdf}
.nfk-public .testimonial-slider .card-body {padding:1.4rem}
.nfk-public .testimonial-slider .card-title {color:var(--nfk-plum);font-size:1.4rem!important}
.nfk-public .testimonial-slider .card-text {font-size:1.05rem}
.nfk-public .downloads {max-width:1080px;padding-top:1rem;padding-bottom:2rem}
.nfk-public .downloads>article {margin-bottom:2rem!important;padding:2rem!important;background:var(--nfk-paper);border:1px solid #eae2d4!important;border-radius:22px 12px 26px 14px;box-shadow:3px 5px 0 #f1ecdf}
.nfk-public .downloads h2 {font-size:clamp(1.6rem,3vw,2.3rem)!important}
.nfk-public .downloads .image-box {margin:auto;border-radius:10px}
.nfk-public .nfk-contacts {max-width:1140px;padding-top:1rem;padding-bottom:2rem}
.nfk-public .nfk-contacts>.row>.col-lg-2,.nfk-public .nfk-contacts>.row>.col-lg-1 {display:none}
.nfk-public .nfk-contacts>.row>.col-lg-9 {width:100%}
.nfk-contacts section>div {width:100%;padding:2rem 1.4rem;background:#f2f5ed;border:1px solid #dfe6d5;border-radius:22px 12px 26px 14px;overflow-wrap:anywhere}
.nfk-public .nfk-contacts h2 {font-size:1.8rem}
.nfk-public .cms-block {max-width:940px;padding:1.5rem 1.2rem}
.nfk-public .cms-block>.cms-text {font-size:1.15rem}
.nfk-public .nfk-legal .nfk-document-title {font-size:clamp(2rem,5vw,3rem);color:var(--nfk-plum)}
.nfk-public .nfk-footer {background:#77446f!important;margin-top:3rem;padding-top:1rem}
.nfk-footer>.border-bottom:empty {display:none!important}
.nfk-public .nfk-footer h6 {font-size:1.05rem;letter-spacing:.035em;line-height:1.5}
.nfk-public .nfk-footer p {font-size:1rem;line-height:1.6}
.nfk-public .nfk-footer a {color:#fff}
.nfk-public .nfk-footer a:hover {color:#f0dfed}
.nfk-footer section>.container-fluid {max-width:1140px}
.nfk-public .nfk-footer img {max-width:260px;width:100%;height:auto}
@media(max-width:991px) {
  .nfk-public .navbar-brand img {height:85px}
  .nfk-public .navbar-nav {padding-top:1rem;gap:.2rem}
  .nfk-public .navbar .nav-link {font-size:1.2rem!important}
  .nfk-public .dropdown-menu {box-shadow:none}
}
@media(max-width:767px) {
  .nfk-public {font-size:1.05rem}
  .nfk-public .nfk-infobar {padding:.2rem 0!important}
  .nfk-public .navbar {padding:.6rem 0}
  .nfk-public .nfk-quote {padding-top:1.5rem}
  .nfk-public .nfk-quote .fs-1 {font-size:1.7rem!important}
  .nfk-public .nfk-navigation .card {padding-bottom:.5rem}
  .nfk-public .nfk-navigation .card-title {font-size:1.5rem}
  .nfk-public .downloads>article {padding:1.5rem .7rem!important;margin-left:0;margin-right:0;row-gap:1.5rem}
  .nfk-public .downloads>article>.col-6 {width:100%}
  .nfk-public .nfk-contacts section>div {padding:1.5rem 1.1rem}
  .nfk-public .nfk-footer {margin-top:2rem}
}
@media(prefers-reduced-motion:reduce) {
  .nfk-public .carousel-item,.nfk-public .carousel-fade .active.carousel-item-start,
  .nfk-public .carousel-fade .active.carousel-item-end {transition:none!important}
  .nfk-navigation .card-img-wrapper {transition:none}
  .nfk-navigation .card-img-wrapper:hover {transform:none}
}
/* Information remains fully readable rather than inside a narrow rotating caption. */
.nfk-public .nfk-information {max-width:1140px;padding-bottom:2rem}
.nfk-information-section {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:2.5rem;margin:2rem 0 3.5rem;padding-bottom:3rem;border-bottom:2px dashed #dfc9de}
.nfk-information-section:last-child {border-bottom:0;padding-bottom:0}
.nfk-information-section:nth-child(even)>.nfk-info-image {grid-column:2;grid-row:1}
.nfk-information-section:nth-child(even)>.nfk-information-copy {grid-column:1;grid-row:1}
.nfk-public .nfk-information-section .nfk-info-image {max-height:none}
.nfk-public .nfk-information-section .nfk-card-image {display:block;width:100%;height:auto;max-height:680px;object-fit:contain}
.nfk-information-copy {padding:1.8rem;background:#fbf8ef;border:1px solid #eae2d4;border-radius:22px 12px 26px 14px;box-shadow:3px 5px 0 #f1ecdf;min-width:0}
.nfk-public .nfk-information-text-only {display:block;max-width:790px;margin-left:auto;margin-right:auto}
.nfk-information-copy h2 {font-size:clamp(1.8rem,3vw,2.4rem);color:var(--nfk-plum)}
.nfk-public .nfk-information-copy .cms-text {font-size:1.12rem;line-height:1.75;white-space:normal;margin-bottom:0}
@media(max-width:767px) {
  .nfk-information-section {grid-template-columns:1fr;gap:1.2rem;margin-bottom:2.5rem;padding-bottom:2rem}
  .nfk-information-section:nth-child(even)>.nfk-info-image,
  .nfk-information-section:nth-child(even)>.nfk-information-copy {grid-column:auto;grid-row:auto}
  .nfk-information-copy {padding:1.5rem}
}

/* Portrait windows hide the colour strips embedded in the four legacy photos.
   Keep their full height and crop the side margins; originals are untouched. */
.nfk-public .testimonial-slider .img-wrapper {
  padding-top:0;
  aspect-ratio:2 / 3;
  background:#edf2e5;
}
.nfk-public .testimonial-slider .img-wrapper .nfk-team-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-width:0;
  max-width:none;
  transform:none;
  object-fit:cover;
  object-position:center;
}
.nfk-public .testimonial-slider .nfk-team-legacy-frame .nfk-team-image {
  top:-1%;
  left:-1%;
  width:102%;
  height:102%;
}
/* Preserve the lettering on the existing square placeholder. */
.nfk-public .testimonial-slider .img-wrapper:not(.nfk-team-legacy-frame) .nfk-team-image {
  object-fit:contain;
}

/* Stretch each visible pair to the taller card, including long biographies. */
.nfk-public .testimonial-slider .carousel-item > .row {align-items:stretch}
.nfk-public .testimonial-slider .carousel-item .card {height:auto;align-self:stretch}
.nfk-public .testimonial-slider .img-wrapper {flex-shrink:0}
.nfk-public .testimonial-slider .card-body {flex:1}

/* A recognisable tree behind the crown and root cards, with a visible trunk. */
.nfk-community .nfk-growth-tree {display:flex;flex-direction:column;padding:110px 1.5rem 100px;isolation:isolate}
.nfk-tree-crown {order:1}
.nfk-tree-roots {order:2}
.nfk-tree-background {position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:-1;pointer-events:none}
.nfk-community .nfk-tree-crown>.nfk-tree-label {display:table;margin:0 auto 2rem;padding:.35rem 1rem;background:#fffffff2;border-radius:20px}
.nfk-community .nfk-crown-grid {max-width:1000px;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem clamp(100px,18vw,230px);align-items:stretch}
.nfk-community .nfk-crown-grid>.nfk-leaf {padding:1.6rem;background:#f0f4e8f5;box-shadow:3px 5px 0 #dce5cdf0}
.nfk-community .nfk-crown-grid>.nfk-leaf-2,
.nfk-community .nfk-crown-grid>.nfk-leaf-3 {background:#f2edf5f5;box-shadow:3px 5px 0 #e4d9e8f0}
.nfk-community .nfk-tree-roots {margin-top:150px;padding:0 0 1rem;border:0}
.nfk-community .nfk-roots-grid article {background:#fbf8eff5;box-shadow:2px 4px 0 #eee6d4cc}
@media(max-width:991px) {
  .nfk-community .nfk-growth-tree {padding:80px 1rem}
  .nfk-community .nfk-crown-grid {gap:1.5rem 80px}
  .nfk-community .nfk-tree-roots {margin-top:110px}
}
@media(max-width:767px) {
  .nfk-community .nfk-growth-tree {padding:0;gap:2.5rem}
  .nfk-community .nfk-crown-grid {grid-template-columns:minmax(0,1fr);gap:1.5rem}
  .nfk-community .nfk-tree-roots {order:0;margin-top:0;padding:0}
  .nfk-tree-background {display:none}
  .nfk-community .nfk-tree-crown {padding-top:2rem;border-top:2px dashed #dfc7df}
  .nfk-community .nfk-crown-grid>.nfk-leaf {padding:1.5rem}
}
