:root {
  --foam: #f3fbff;
  --mist: #e3f2f7;
  --cream: #eef7fb;
  --paper: #f8fcff;
  --river: #2d7494;
  --river-bright: #65b7d0;
  --river-dark: #123f51;
  --deep: #092b3b;
  --moss: #4c8da5;
  --sage: #9bc8d7;
  --clay: #7fb9ca;
  --walnut: #2a6177;
  --ink: #14313b;
  --muted: #5f7881;
  --line: #cbdfe7;
  --shadow: 0 18px 42px rgba(18, 59, 67, 0.14);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(77, 157, 179, 0.18), transparent 28rem),
    radial-gradient(circle at 94% 18%, rgba(45, 111, 138, 0.1), transparent 26rem),
    linear-gradient(180deg, #eef9fd, #f7fcff 24rem, #eaf5fa 52rem);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
li {
  line-height: 1.64;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--river-dark);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

h3,
h4,
h5,
h6 {
  color: var(--river-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(143, 190, 204, 0.42);
  background:
    linear-gradient(180deg, rgba(238, 248, 251, 0.96), rgba(229, 243, 247, 0.9)),
    radial-gradient(circle at 12% 0%, rgba(77, 157, 179, 0.2), transparent 20rem);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(18, 59, 67, 0.07);
}

.nav {
  width: min(1240px, calc(100% - 24px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: grid;
  text-decoration: none;
  color: var(--river-dark);
  font-weight: 900;
  line-height: 1.05;
}

.brand small {
  color: #276f91;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 3px;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 8px;
  color: var(--river-dark);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background:
    linear-gradient(135deg, rgba(200, 230, 238, 0.88), rgba(232, 247, 250, 0.72));
  box-shadow: inset 0 0 0 1px rgba(45, 111, 138, 0.12);
}

.nav-links .contact-link {
  background: linear-gradient(135deg, #0b3448, #277ea0);
  color: white;
  padding-inline: 12px;
  box-shadow: 0 8px 18px rgba(18, 59, 67, 0.16);
}

main {
  overflow: hidden;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.col,
.col-12 {
  grid-column: 1 / -1;
}

.col-lg {
  grid-column: span 6;
}

.row > .col-lg:only-child {
  grid-column: 1 / -1;
}

.col-md-3 {
  grid-column: span 3;
}

.col-md-4 {
  grid-column: span 4;
}

.col-md-6 {
  grid-column: span 6;
}

.col-md-8 {
  grid-column: span 8;
}

.col-lg-4 {
  grid-column: span 4;
}

.col-lg-8 {
  grid-column: 3 / span 8;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.kedit {
  padding: 54px 0;
}

.kedit:first-child {
  padding-top: 72px;
}

.keditDark {
  color: white;
  background:
    linear-gradient(135deg, rgba(18, 59, 67, 0.76), rgba(45, 111, 138, 0.48)),
    var(--river-dark);
}

.keditDark h1,
.keditDark h2,
.keditDark h3,
.keditDark h4,
.keditDark h5,
.keditDark h6,
.keditDark a {
  color: white;
}

.keditDark[data-background],
.keditDark[data-src] {
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: center;
  background-image:
    linear-gradient(135deg, rgba(18, 59, 67, 0.74), rgba(45, 111, 138, 0.4)),
    var(--hero-image, url("assets/pxl_20230819_164205099_exported_2066.jpg"));
  background-size: cover;
  background-position: center 46%;
}

#kpg_665140 {
  min-height: clamp(330px, 42vw, 500px);
}

.display-3 {
  font-size: clamp(2.9rem, 6.8vw, 5.7rem);
  line-height: 0.98;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 700;
}

.koPreTitle {
  margin-bottom: 8px;
  color: var(--river);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.keditDark .koPreTitle {
  color: rgba(255, 255, 255, 0.84);
}

.koSeparator {
  width: 96px !important;
  height: 7px !important;
  margin: 18px auto 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #236d8e, #65b7d0, #d6f2fb) !important;
}

.koSeparatorLeft {
  margin-left: 0;
}

.koButtons,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 11px 17px;
  background: linear-gradient(135deg, #1f6f91, #44a9c6);
  color: white !important;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(18, 63, 81, 0.16);
}

.btn-outline-light,
.button.secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.btn-light {
  background: rgba(255, 255, 255, 0.96);
  color: var(--river-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.btn-primary,
.btn-color1,
.btn-color2,
.button.primary {
  background: linear-gradient(135deg, #1f6f91, #44a9c6);
}

.btn-outline-secondary,
.btn-outline-color2 {
  background: rgba(248, 252, 255, 0.54);
  border: 1px solid rgba(45, 116, 148, 0.36);
  color: var(--river-dark) !important;
  box-shadow: none;
}

.btn:hover,
.button:hover {
  transform: translateY(-1px);
}

.breadcrumb {
  display: none;
}

.kedit:not(.keditDark):nth-child(even) {
  background:
    linear-gradient(120deg, rgba(226, 242, 248, 0.9), rgba(246, 252, 255, 0.78)),
    repeating-linear-gradient(135deg, rgba(45, 111, 138, 0.045) 0 18px, transparent 18px 46px);
  border-top: 1px solid rgba(203, 223, 231, 0.86);
  border-bottom: 1px solid rgba(203, 223, 231, 0.86);
}

.kedit[style*="--color1"],
.kedit[style*="--color2"] {
  background:
    linear-gradient(120deg, rgba(226, 242, 248, 0.92), rgba(246, 252, 255, 0.82)),
    repeating-linear-gradient(135deg, rgba(45, 111, 138, 0.05) 0 18px, transparent 18px 46px) !important;
}

.bg-white,
.keditWhite,
.shadow-lg,
.rounded-2,
.card {
  background: rgba(248, 252, 255, 0.96) !important;
  border: 1px solid var(--line);
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(18, 59, 67, 0.08) !important;
}

.p-4 {
  padding: 18px;
}

.p-5 {
  padding: clamp(22px, 4vw, 44px);
}

.mt-5 {
  margin-top: 32px;
}

.mb-3,
.mb-md-4,
.mb-4,
.mb-5 {
  margin-bottom: 18px;
}

.py-4 {
  padding-top: 24px;
  padding-bottom: 24px;
}

.px-5 {
  padding-left: clamp(0px, 3vw, 28px);
  padding-right: clamp(0px, 3vw, 28px);
}

.kimgRatio,
.kimgRatio1,
.kimgRatio2,
.figure,
.img-in-content {
  overflow: hidden;
  border-radius: 8px;
}

.kimgRatio img,
.figure img {
  width: 100%;
  height: clamp(240px, 26vw, 340px);
  object-fit: cover;
  object-position: center 42%;
  border-radius: 8px;
}

.kimgRatio1 img,
.kimgRatio2 img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.kfilter11 .row {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 160px);
  align-items: center;
}

.kfilter11 .col-12.col-md {
  grid-column: 1;
}

.kfilter11 .col-6.col-md-3 {
  grid-column: 2;
  width: 100%;
}

.kfilter11 .kimgRatio1 img,
.kfilter11 .kimgRatio2 img {
  width: 100%;
  height: clamp(120px, 13vw, 155px);
  object-fit: cover;
  object-position: center;
}

.row.justify-content-center.text-center .kimgRatio img,
.row.justify-content-center.text-center .mb-4.kimgRatio img {
  height: clamp(240px, 25vw, 330px);
}

#kpg_538799 .row.justify-content-center.text-center.mt-5 {
  grid-template-columns: 1fr;
  gap: 22px;
}

#kpg_538799 .row.justify-content-center.text-center.mt-5 > [class*="col-"] {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

#kpg_538799 .bg-white {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  text-align: left;
}

#kpg_538799 .bg-white .kimgRatio {
  min-height: 100%;
}

#kpg_538799 .bg-white .kimgRatio img {
  height: 100%;
  min-height: 135px;
  max-height: 170px;
}

#kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio),
#kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(210px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  text-align: left;
  padding: 20px;
  margin-bottom: 22px;
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 59, 67, 0.08);
}

#kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .px-5,
#kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .px-5 {
  grid-row: 1 / span 2;
  padding: 0;
}

#kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2,
#kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .keditable,
#kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2,
#kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .keditable {
  grid-column: 2;
}

#kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2::after,
#kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2::after {
  content: "";
  display: block;
  width: 96px;
  height: 7px;
  margin: 18px 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #236d8e, #65b7d0, #d6f2fb);
}

.kedit .row:has(.kimgRatio) {
  align-items: center;
}

.kedit .row:has(.kimgRatio) .col-container {
  min-width: 0;
}

.kedit .row:not(.justify-content-center) > .col-lg:has(.kimgRatio) {
  grid-column: span 5;
}

.kedit .row:not(.justify-content-center) > .col-lg:not(:has(.kimgRatio)) {
  grid-column: span 7;
}

.kedit .row:not(.justify-content-center) > .col-lg:has(.kimgRatio) .kimgRatio {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.kedit .row:not(.justify-content-center) > .col-lg:has(.kimgRatio) .kimgRatio img {
  height: clamp(230px, 24vw, 320px);
}

#kpg_458214 .kimgRatio img {
  height: clamp(230px, 24vw, 320px);
}

#kpg_458214 .row {
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px;
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 59, 67, 0.08);
}

#kpg_458214 .col-md-4 {
  grid-column: 1;
}

#kpg_458214 .col-md-8 {
  grid-column: 2;
}

#kpg_458214 .kimgRatio {
  max-width: 320px;
  margin: 0 auto;
}

.figure.float-start {
  float: left;
  width: min(220px, 30%);
  margin: 0 28px 18px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.figure-caption {
  padding: 10px;
  color: var(--muted);
  font-weight: 800;
}

.koHeader2 {
  max-width: 840px;
  margin: 0 auto 10px;
}

.koHeader2 + .keditable,
.container.text-center > .keditable {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--walnut);
  font-size: 1.1rem;
  font-weight: 650;
}

.keditable ul,
.koCheckList {
  padding-left: 0;
  list-style: none;
}

.keditable li,
.koCheckList li {
  position: relative;
  padding-left: 25px;
  margin: 8px 0;
}

.keditable li::before,
.koCheckList li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--river);
  box-shadow: 0 0 0 3px rgba(45, 111, 138, 0.16);
}

.keditable a:not(.btn) {
  color: var(--river-dark);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 111, 138, 0.28);
}

.keditable a:not(.btn):hover {
  color: var(--river);
}

.col-lg-8.p-0.mx-auto,
.col-lg-8.mx-auto {
  grid-column: 3 / span 8;
}

.position-relative {
  position: relative;
}

.koIconHolder {
  display: none;
}

blockquote {
  margin: 0;
}

.kedit h5.keditable {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--river-dark);
}

.keditDark h5.keditable {
  color: white;
}

.social_footer,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer {
  margin-top: 46px;
  background:
    radial-gradient(circle at 18% 0%, rgba(101, 183, 208, 0.24), transparent 22rem),
    linear-gradient(135deg, #06283a, #123f51 48%, #1e6f8d);
  color: var(--foam);
  padding: 38px 0;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.footer a {
  color: var(--foam);
  font-weight: 850;
}

.fine-print {
  margin-bottom: 6px;
  color: rgba(245, 251, 248, 0.76);
  font-size: 0.92rem;
}

#searchHolder,
#contentAreaElement {
  display: none;
}

.accordion {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.accordion .card {
  overflow: hidden;
}

.card-header {
  padding: 0;
  background: rgba(45, 111, 138, 0.1);
}

.card-header a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  color: var(--river-dark);
  font-weight: 900;
  text-decoration: none;
}

.card-body {
  padding: 18px;
}

.collapse {
  display: block;
}

.blogList,
.koBlogList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.blogList img,
.koBlogList img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 930px) {
  .site-header {
    position: static;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .col,
  .col-lg,
  .col-12,
  .col-md-3,
  .col-md-4,
  .col-md-6,
  .col-md-8,
  .col-lg-4,
  .col-lg-8,
  .col-lg-8.p-0.mx-auto,
  .col-lg-8.mx-auto {
    grid-column: 1 / -1;
  }

  .figure.float-start {
    float: none;
    width: 100%;
    margin: 0 0 22px;
  }

  .row > [class*="col-"]:has(.kimgRatio),
  .row > [class*="col-"]:has(.kimgRatio1),
  .row > [class*="col-"]:has(.kimgRatio2),
  #kpg_538799 .bg-white .kimgRatio {
    order: -1;
  }

  #kpg_538799 .bg-white {
    grid-template-columns: 1fr;
  }

  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio),
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) {
    grid-template-columns: minmax(210px, 0.38fr) minmax(0, 1fr);
    padding: 20px;
    overflow: visible;
  }

  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .px-5,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > .px-5,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .keditable,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > h2,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > .keditable,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .px-5,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > .px-5,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .keditable,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > h2,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > .keditable {
    grid-column: 2;
  }

  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .px-5,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > .px-5,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .px-5,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > .px-5 {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .keditable,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .keditable {
    padding-left: 18px;
    padding-right: 18px;
  }

  .kimgRatio img,
  .figure img,
  #kpg_538799 .bg-white .kimgRatio img {
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    background: var(--paper);
  }

  .kfilter11 .row {
    grid-template-columns: 1fr;
  }

  .kfilter11 .col-12.col-md,
  .kfilter11 .col-6.col-md-3 {
    grid-column: 1;
  }

  .kfilter11 .col-6.col-md-3 {
    order: -1;
  }

  .kfilter11 .kimgRatio1 img,
  .kfilter11 .kimgRatio2 img {
    height: auto;
    max-height: none;
    object-fit: contain;
    background: var(--paper);
  }

  #kpg_458214 .row {
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  }

  #kpg_458214 .col-md-4 {
    grid-column: 1;
  }

  #kpg_458214 .col-md-8 {
    grid-column: 2;
  }

  .social_footer,
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-links a {
    font-size: 0.84rem;
    padding: 8px 9px;
  }

  .koButtons,
  .actions {
    flex-direction: column;
  }

  .btn,
  .button {
    width: 100%;
  }

  #kpg_458214 .row {
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
  }

  #kpg_458214 .col-md-4,
  #kpg_458214 .col-md-8 {
    grid-column: 1;
  }

  #kpg_458214 .col-md-8 {
    padding: 18px;
  }

  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio),
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) {
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
  }

  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .px-5,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > .px-5,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .keditable,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > h2,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > .keditable,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .px-5,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > .px-5,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .keditable,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > h2,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio):nth-child(even) > .keditable {
    grid-column: 1;
  }

  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2,
  #kpg_963074 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .keditable,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > h2,
  #kpg_560489 .row.justify-content-center.text-center > .col-md-6:has(.kimgRatio) > .keditable {
    padding-left: 18px;
    padding-right: 18px;
  }

  .kedit {
    padding: 38px 0;
  }
}

.water-hero {
  position: relative;
  min-height: clamp(420px, 58vw, 620px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
}

.water-hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 47, 56, 0.76), rgba(18, 59, 67, 0.34) 46%, rgba(15, 47, 56, 0.1)),
    linear-gradient(180deg, rgba(15, 47, 56, 0.04), rgba(15, 47, 56, 0.62)),
    url("assets/takikawa-waterfall-river-header.jpg") center / cover no-repeat;
}

.water-hero__content {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 56px;
}

.water-hero .eyebrow,
.water-hero h1,
.water-hero .lead {
  color: white;
}

.water-hero h1 {
  max-width: 760px;
  text-shadow: 0 2px 20px rgba(15, 47, 56, 0.36);
}

.water-hero .lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
}

.home-section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

.home-section__header {
  max-width: 760px;
  margin-bottom: 28px;
}

.home-section__header p {
  color: var(--walnut);
  font-weight: 650;
}

.home-intro {
  padding-top: 62px;
}

.flow-list {
  display: grid;
  gap: 14px;
}

.flow-card {
  display: grid;
  grid-template-columns: clamp(210px, 26vw, 300px) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: center;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(248, 252, 255, 0.97), rgba(239, 249, 253, 0.92)),
    radial-gradient(circle at 92% 12%, rgba(77, 157, 179, 0.12), transparent 13rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(18, 59, 67, 0.07);
}

.flow-card img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 7px;
}

.flow-card h3,
.flow-card p {
  margin-bottom: 0;
}

.flow-card h3 {
  margin-bottom: 6px;
}

.photo-current-section {
  padding-top: 10px;
}

.photo-current {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.photo-current figure {
  margin: 0;
  padding: 10px;
  background: rgba(248, 252, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 63, 81, 0.09);
}

.photo-current__wide {
  grid-column: span 2;
}

.photo-current img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: 6px;
}

.photo-current__wide img {
  max-height: 360px;
}

.about-river {
  border-top: 1px solid rgba(203, 223, 231, 0.86);
}

.about-river__photo {
  float: left;
  width: 220px;
  margin: 4px 28px 18px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 12px 30px rgba(18, 59, 67, 0.08);
}

.about-river__photo img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 6px;
}

.about-river__photo figcaption {
  display: block;
  padding: 9px 2px 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.about-river__copy {
  max-width: 800px;
}

.about-river__copy p {
  color: var(--ink);
}

.testimonial-section {
  border-top: 1px solid rgba(203, 223, 231, 0.86);
}

.testimonial-grid {
  display: grid;
  gap: 14px;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 16px;
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(18, 59, 67, 0.07);
}

.testimonial-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 220px;
  object-fit: contain;
  justify-self: center;
  border-radius: 7px;
}

.testimonial-card p {
  margin-bottom: 10px;
  color: var(--river-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.55;
}

.testimonial-card cite {
  color: var(--walnut);
  font-style: normal;
  font-weight: 850;
}

@media (max-width: 760px) {
  .water-hero {
    min-height: 420px;
  }

  .water-hero__content {
    padding: 54px 0 38px;
  }

  .about-river,
  .testimonial-card {
    grid-template-columns: 1fr;
  }

  .photo-current {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-current__wide {
    grid-column: span 2;
  }

  .testimonial-card img {
    width: auto;
    height: auto;
    max-width: min(100%, 280px);
    max-height: 280px;
    object-fit: contain;
    justify-self: start;
    background: var(--paper);
  }

  .about-river__photo {
    float: left;
    width: min(220px, 42vw);
    margin: 4px 22px 16px 0;
  }

  .about-river__photo img {
    height: 170px;
  }
}

@media (max-width: 560px) {
  .flow-card {
    grid-template-columns: 1fr;
  }

  .photo-current {
    grid-template-columns: 1fr;
  }

  .photo-current__wide {
    grid-column: auto;
  }

  .flow-card img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    background: var(--paper);
  }
}

@media (max-width: 460px) {
  .about-river__photo {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }

  .about-river__photo img {
    height: auto;
  }
}

/* Editorial page redesign */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 380px;
  display: flex;
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(15, 54, 61, 0.78), rgba(15, 54, 61, 0.38) 54%, rgba(15, 54, 61, 0.12)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.page-hero__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 56px;
}

.page-kicker,
.eyebrow {
  letter-spacing: 0.04em;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
}

.page-main {
  padding: 0 0 66px;
}

.editorial-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.editorial-section + .editorial-section {
  border-top: 1px solid rgba(203, 223, 231, 0.86);
}

.editorial-band {
  width: 100%;
  margin: 0;
  padding: 58px 0;
  background:
    linear-gradient(135deg, rgba(226, 242, 248, 0.9), rgba(247, 252, 255, 0.78)),
    radial-gradient(circle at 90% 8%, rgba(64, 142, 166, 0.12), transparent 16rem);
  border-block: 1px solid rgba(196, 214, 216, 0.64);
}

.editorial-band > * {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--muted);
  font-weight: 650;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.82fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: center;
}

.story-panel--reverse {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.04fr);
}

.story-panel--reverse .story-copy {
  order: 2;
}

.story-copy h2,
.story-copy h3 {
  margin-bottom: 14px;
}

.story-copy p,
.story-copy li,
.plain-card p,
.detail-card p {
  color: var(--ink);
}

.story-copy p:last-child,
.plain-card p:last-child,
.detail-card p:last-child {
  margin-bottom: 0;
}

.photo-frame {
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.photo-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(18, 63, 81, 0.13);
}

.photo-frame--portrait {
  justify-self: center;
  width: min(100%, 320px);
}

.photo-frame--portrait img {
  max-height: 300px;
}

.guardian-status-section .story-panel {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
}

.guardian-status-section .photo-frame--portrait {
  justify-self: end;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.guardian-status-section .photo-frame--portrait img {
  max-height: 360px;
  box-shadow: 0 14px 34px rgba(18, 63, 81, 0.14);
}

.program-intro-panel {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: center;
}

.program-intro-photo {
  justify-self: center;
  width: min(100%, 390px);
  margin: 0;
}

.program-intro-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(18, 63, 81, 0.14);
}

.plans-intro {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.plans-intro > div {
  max-width: 760px;
}

.plans-note {
  display: grid;
  gap: 10px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(248, 252, 255, 0.98), rgba(231, 246, 252, 0.82));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(18, 63, 81, 0.08);
}

.plans-note strong {
  color: var(--river-dark);
  font-size: 1.05rem;
}

.plans-note span {
  color: var(--muted);
  line-height: 1.55;
}

.plans-feature-band {
  padding-block: 66px;
}

.plans-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 360px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.plans-feature-copy {
  max-width: 760px;
}

.planned-dog-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.planned-dog-photos figure,
.previous-litter-panel figure {
  margin: 0;
}

.planned-dog-photos img {
  width: 100%;
  height: auto;
  max-height: 310px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(18, 63, 81, 0.12);
}

.planned-pair-photo {
  margin: 0;
  align-self: center;
}

.planned-pair-photo img {
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(18, 63, 81, 0.12);
}

.previous-litter-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.previous-litter-panel figure {
  justify-self: center;
  width: min(100%, 440px);
}

.previous-litter-panel img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(18, 63, 81, 0.14);
}

.plans-go-home-panel {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
}

.resources-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.resource-quick-links {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(248, 252, 255, 0.98), rgba(231, 246, 252, 0.82));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(18, 63, 81, 0.09);
}

.resource-quick-links h3 {
  margin-bottom: 14px;
}

.resource-quick-links a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid rgba(203, 223, 231, 0.78);
  color: var(--river-dark);
  font-weight: 850;
  text-decoration: none;
}

.resource-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.resource-path-grid article {
  padding: 20px;
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 63, 81, 0.07);
}

.resource-path-grid span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--river);
  font-weight: 900;
}

.resource-path-grid a {
  color: var(--river-dark);
  font-weight: 850;
}

.resources-training-section,
.preschool-support {
  display: grid;
  grid-template-columns: minmax(240px, 0.74fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.inline-photo,
.preschool-quote figure {
  margin: 0;
}

.resources-training-section .inline-photo {
  width: min(100%, 360px);
  justify-self: end;
}

.inline-photo img,
.preschool-quote img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(18, 63, 81, 0.14);
}

.resources-training-section .inline-photo img {
  max-height: 330px;
  object-fit: contain;
}

.preschool-support {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.preschool-quote {
  display: grid;
  gap: 16px;
  width: min(100%, 320px);
  justify-self: start;
}

.preschool-quote blockquote {
  color: var(--river-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.5;
}

.preschool-quote cite {
  color: var(--walnut);
  font-style: normal;
  font-weight: 850;
}

.preschool-quote img {
  max-height: 260px;
  object-fit: contain;
}

.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.photo-pair .photo-frame img {
  max-height: 330px;
}

.photo-pair--matched {
  align-items: stretch;
}

.photo-pair--matched .photo-frame {
  aspect-ratio: 1 / 1;
  width: min(100%, 432px);
  justify-self: center;
}

.photo-pair--matched .photo-frame img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-card,
.plain-card,
.resource-card,
.article-card {
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 59, 67, 0.075);
}

.detail-card,
.plain-card {
  padding: 22px;
}

.detail-card h3,
.plain-card h3 {
  margin-bottom: 10px;
}

.detail-card strong {
  color: var(--river-dark);
}

.investment-section {
  padding-top: 70px;
}

.investment-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.investment-card {
  padding: 22px;
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 59, 67, 0.075);
}

.investment-card h3 {
  margin-bottom: 10px;
  color: var(--river-dark);
}

.investment-card strong {
  color: var(--river-dark);
}

.investment-card--primary {
  grid-row: span 2;
  background:
    radial-gradient(circle at 88% 8%, rgba(101, 183, 208, 0.28), transparent 12rem),
    linear-gradient(145deg, rgba(225, 244, 250, 0.98), rgba(248, 252, 255, 0.96));
}

.investment-card--primary p:first-of-type {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.22;
  color: var(--river-dark);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(12, 64, 89, 0.96), rgba(50, 143, 176, 0.9)),
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.2), transparent 14rem);
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 18px 38px rgba(18, 59, 67, 0.16);
}

.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.cta-panel p {
  margin-bottom: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.text-link-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.resource-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resource-card,
.article-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px;
}

.resource-card img,
.article-card img {
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 190px;
  object-fit: contain;
  justify-self: center;
  border-radius: 7px;
}

.article-card {
  align-items: start;
}

.article-meta,
.status-note {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.article-detail {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.article-detail__photo {
  margin: 0;
  position: sticky;
  top: 120px;
}

.article-detail__photo img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(18, 63, 81, 0.14);
}

.status-note {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  background: rgba(64, 142, 166, 0.12);
  border: 1px solid rgba(64, 142, 166, 0.22);
  border-radius: 999px;
  color: var(--river-dark);
}

.requirements-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.requirements-list li {
  padding: 16px;
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a,
.text-link-list a {
  font-weight: 850;
}

@media (max-width: 900px) {
  .story-panel,
  .story-panel--reverse,
  .plans-intro,
  .plans-feature-card,
  .previous-litter-panel,
  .resources-intro,
  .resources-training-section,
  .preschool-support,
  .article-detail,
  .investment-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .investment-card--primary {
    grid-row: auto;
  }

  .story-panel--reverse .story-copy {
    order: 0;
  }

  .planned-dog-photos {
    max-width: 440px;
  }

  .previous-litter-panel figure {
    justify-self: start;
  }

  .resources-training-section .inline-photo,
  .preschool-quote,
  .article-detail__photo {
    justify-self: start;
  }

  .article-detail__photo {
    position: static;
    width: min(100%, 380px);
  }

  .detail-grid,
  .resource-path-grid,
  .resource-grid,
  .article-grid,
  .requirements-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-hero {
    min-height: 330px;
  }

  .page-hero__inner {
    padding: 54px 0 38px;
  }

  .editorial-section,
  .editorial-band {
    padding-block: 42px;
  }

  .photo-pair,
  .resource-card,
  .article-card {
    grid-template-columns: 1fr;
  }

  .resource-card img,
  .article-card img {
    max-width: min(100%, 280px);
    max-height: 280px;
    justify-self: start;
  }
}
