:root {
  --navy-950: #061725;
  --navy-900: #0a2133;
  --navy-800: #12344a;
  --navy-700: #194761;
  --aqua-500: #22b8a7;
  --aqua-100: #dff7f2;
  --amber-500: #f2a65a;
  --ink-900: #17242e;
  --ink-700: #455761;
  --line: #dbe5e9;
  --paper: #ffffff;
  --mist: #f3f7f8;
  --shadow: 0 18px 50px rgba(6, 23, 37, .09);
  --radius-lg: 24px;
  --radius-md: 16px;
  --content: 1180px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.site-modern {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink-900);
  background: var(--mist);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body.site-modern a {
  color: #0d6d78;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.site-modern a:hover {
  color: #084c58;
}

body.site-modern img,
body.site-modern picture,
body.site-modern video,
body.site-modern canvas,
body.site-modern svg,
body.site-modern iframe,
body.site-modern embed,
body.site-modern object {
  max-width: 100%;
}

body.site-modern img {
  height: auto;
}

body.site-modern iframe,
body.site-modern video {
  width: 100%;
}

body.site-modern pre,
body.site-modern code,
body.site-modern kbd,
body.site-modern samp {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

body.site-modern input,
body.site-modern button,
body.site-modern textarea,
body.site-modern select {
  max-width: 100%;
  font: inherit;
}

body.site-modern #page {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

body.site-modern .inner-wrap,
.modern-header__bar,
.modern-hero__copy,
.modern-nav__inner,
.modern-footer__inner,
.modern-footer__bottom {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.modern-header {
  position: relative;
  z-index: 20;
  color: #fff;
  background: var(--navy-950);
}

.modern-hero {
  min-height: 304px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  background:
    linear-gradient(100deg, rgba(6, 23, 37, .88) 0%, rgba(6, 23, 37, .62) 43%, rgba(6, 23, 37, .17) 76%, rgba(6, 23, 37, .34) 100%),
    url("/assets/hero-boats.webp") center 54% / cover no-repeat;
}

.modern-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(to top, rgba(6, 23, 37, .68), transparent);
  pointer-events: none;
}

.modern-header__bar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.modern-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff !important;
  text-decoration: none;
}

.modern-brand__mark {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 18px;
  color: #fff;
  background: rgba(6, 23, 37, .44);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.modern-brand__mark svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modern-brand__text {
  display: grid;
  gap: 1px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}

.modern-brand__text strong {
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.modern-brand__text small {
  color: rgba(255, 255, 255, .78);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.modern-hero__copy {
  padding-bottom: 42px;
}

.modern-hero__copy p {
  width: fit-content;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  background: rgba(6, 23, 37, .34);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
  font-size: .83rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.modern-nav {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(6, 23, 37, .94);
  box-shadow: 0 8px 22px rgba(6, 23, 37, .18);
}

.modern-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modern-nav li {
  margin: 0;
  padding: 0;
}

.modern-nav a {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, .83) !important;
  font-size: .91rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.modern-nav a:hover,
.modern-nav a[aria-current="page"] {
  border-bottom-color: var(--amber-500);
  color: #fff !important;
  background: rgba(255, 255, 255, .07);
}

.modern-menu-toggle {
  display: none;
  width: 48px;
  height: 44px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  background: rgba(6, 23, 37, .46);
  cursor: pointer;
}

.modern-menu-toggle > span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: #fff;
}

body.site-modern #main {
  min-width: 0;
  padding: 42px 0 72px;
  background:
    radial-gradient(circle at 8% 0%, rgba(34, 184, 167, .09), transparent 25rem),
    var(--mist);
}

body.site-modern #main > .inner-wrap {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 30px;
  align-items: start;
}

body.site-modern #primary,
body.site-modern #secondary {
  width: auto;
  min-width: 0;
  float: none;
}

body.site-modern #primary:only-child {
  grid-column: 1 / -1;
}

body.site-modern article,
body.site-modern .page-header {
  min-width: 0;
  margin: 0 0 26px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(18, 52, 74, .08);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

body.site-modern .page-header {
  padding-block: 26px;
}

body.site-modern .page-header h1,
body.site-modern .entry-title {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

body.site-modern .entry-title a {
  color: inherit;
  text-decoration: none;
}

body.site-modern .entry-title a:hover {
  color: #0d6d78;
}

body.site-modern .entry-header {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

body.site-modern .entry-meta {
  margin-top: 12px;
  color: #667985;
  font-size: .88rem;
}

body.site-modern .entry-content {
  min-width: 0;
  color: #263944;
}

body.site-modern .entry-content > :first-child {
  margin-top: 0;
}

body.site-modern .entry-content p {
  margin: 0 0 1.25em;
}

.article-opening {
  max-width: 860px;
  margin: 0 0 26px;
  padding: 20px 22px;
  border-left: 5px solid var(--aqua-500);
  border-radius: 0 16px 16px 0;
  color: var(--navy-800);
  background: linear-gradient(135deg, #eefafa, #f8fcfc);
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  line-height: 1.72;
}

.article-opening p:last-child {
  margin-bottom: 0;
}

body.site-modern .entry-content .article-lead-image {
  margin: 0 0 26px;
}

body.site-modern .entry-content .article-lead-image img {
  width: 100% !important;
  max-height: 620px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

body.site-modern .entry-content .article-lead-image figcaption a {
  color: inherit;
}

.article-overview-title {
  margin-top: 1.35em !important;
}
body.site-modern .entry-content h2,
body.site-modern .entry-content h3,
body.site-modern .entry-content h4,
body.site-modern .entry-content h5,
body.site-modern .entry-content h6 {
  color: var(--navy-900);
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: -.02em;
  scroll-margin-top: 24px;
  overflow-wrap: anywhere;
}

body.site-modern .entry-content h2 {
  margin: 2.1em 0 .75em;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

body.site-modern .entry-content h3 {
  margin: 1.8em 0 .65em;
  font-size: clamp(1.25rem, 2.4vw, 1.68rem);
}

body.site-modern .entry-content h4 {
  margin: 1.5em 0 .6em;
  font-size: 1.18rem;
}

body.site-modern .entry-content ul,
body.site-modern .entry-content ol {
  margin: 0 0 1.4em;
  padding-left: 1.35em;
}

body.site-modern .entry-content ul {
  list-style: disc;
}

body.site-modern .entry-content ol {
  list-style: decimal;
}

body.site-modern .entry-content li {
  margin: .48em 0;
  padding-left: .2em;
}

body.site-modern .entry-content blockquote {
  margin: 1.6em 0;
  padding: 20px 24px;
  border: 0;
  border-left: 5px solid var(--aqua-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--navy-800);
  background: var(--aqua-100);
  font-size: 1.02em;
}

body.site-modern .entry-content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 26px auto;
  border-radius: 15px;
  box-shadow: 0 12px 36px rgba(6, 23, 37, .12);
}

body.site-modern .entry-content figure {
  max-width: 100% !important;
  margin: 28px auto;
}

body.site-modern .entry-content figcaption {
  margin-top: 9px;
  color: #617681;
  font-size: .86rem;
  text-align: center;
}

.table-scroll {
  width: 100%;
  margin: 1.5em 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

body.site-modern table {
  width: 100%;
  min-width: 540px;
  margin: 0;
  border-collapse: collapse;
  font-size: .94rem;
}

body.site-modern th,
body.site-modern td {
  min-width: 90px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

body.site-modern th {
  color: #fff;
  background: var(--navy-800);
  font-weight: 700;
}

body.site-modern tr:nth-child(even) td {
  background: #f7fafb;
}

.article-toc {
  margin: 0 0 30px;
  border: 1px solid #cfe2e3;
  border-radius: 16px;
  background: linear-gradient(135deg, #effafa, #f9fcfc);
  overflow: hidden;
}

.article-toc summary {
  padding: 16px 20px;
  color: var(--navy-900);
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.article-toc summary::-webkit-details-marker {
  display: none;
}

.article-toc summary::after {
  content: "+";
  float: right;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--navy-800);
}

.article-toc[open] summary::after {
  content: "−";
}

.article-toc nav {
  padding: 0 20px 18px;
}

.article-toc ol {
  margin: 0;
  padding-left: 1.35em;
}

.article-toc li {
  margin: .5em 0;
}

.article-toc li.toc-level-3 {
  margin-left: 1em;
  font-size: .94em;
}

.article-toc a {
  text-decoration: none;
}

body.site-modern .more-link,
body.site-modern .read-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 11px;
  color: #fff !important;
  background: var(--navy-800);
  font-weight: 700;
  text-decoration: none;
}

body.site-modern .more-link:hover,
body.site-modern .read-more:hover {
  background: #0d6d78;
  transform: translateY(-1px);
}

body.site-modern #secondary .widget {
  min-width: 0;
  margin: 0 0 20px;
  padding: 22px;
  border: 1px solid rgba(18, 52, 74, .08);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(6, 23, 37, .07);
}

body.site-modern #secondary .widget-title {
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--aqua-500);
  color: var(--navy-900);
  font-size: 1.05rem;
  font-weight: 760;
}

body.site-modern #secondary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-modern #secondary li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

body.site-modern #secondary li:last-child {
  border-bottom: 0;
}

body.site-modern #text-19,
body.site-modern #text-20 {
  display: none;
}

.modern-footer {
  color: rgba(255, 255, 255, .78);
  background:
    radial-gradient(circle at 85% 20%, rgba(34, 184, 167, .18), transparent 22rem),
    var(--navy-950);
}

.modern-footer__inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.3fr .95fr;
  gap: 34px;
  padding-block: 58px 44px;
}

.modern-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.modern-footer__brand strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.42rem;
}

.modern-footer__brand p {
  max-width: 32ch;
  margin: 0;
  line-height: 1.65;
}

.modern-footer__links,
.modern-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modern-footer a {
  margin: 4px 0;
  color: rgba(255, 255, 255, .78) !important;
  text-decoration: none;
}

.modern-footer a:hover {
  color: #fff !important;
}

.modern-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .58);
  font-size: .84rem;
}

body.site-modern.legal-page #main > .inner-wrap,
body.site-modern.error404 #main > .inner-wrap {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

body.site-modern.legal-page article {
  max-width: 900px;
  margin-inline: auto;
}

body.site-modern.legal-page .entry-content h2 {
  padding-top: .25em;
  border-top: 1px solid var(--line);
}

body.site-modern .navigation,
body.site-modern .pagination {
  max-width: 100%;
  overflow-wrap: anywhere;
}

body.site-modern #scroll-up {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--navy-800);
  box-shadow: 0 10px 30px rgba(6, 23, 37, .25);
  text-decoration: none;
}

body.site-modern #scroll-up .fa::before {
  content: "↑";
  font-family: inherit;
}

body.site-modern :focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .modern-menu-toggle {
    display: block;
  }

  .modern-nav ul {
    display: none;
    padding: 10px 0 14px;
  }

  .modern-nav.is-open ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modern-nav a {
    min-height: 46px;
    border: 0;
    border-radius: 10px;
  }

  .modern-nav a:hover,
  .modern-nav a[aria-current="page"] {
    border: 0;
    background: rgba(255, 255, 255, .09);
  }

  body.site-modern #main > .inner-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  body.site-modern #secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  body.site-modern #secondary .widget {
    margin: 0;
  }

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

@media (max-width: 680px) {
  body.site-modern {
    font-size: 16px;
  }

  body.site-modern .inner-wrap,
  .modern-header__bar,
  .modern-hero__copy,
  .modern-nav__inner,
  .modern-footer__inner,
  .modern-footer__bottom {
    width: min(calc(100% - 24px), var(--content));
  }

  .modern-hero {
    min-height: 220px;
    background-position: 62% 54%;
  }

  .modern-header__bar {
    min-height: 78px;
    padding-block: 12px;
  }

  .modern-brand {
    gap: 10px;
  }

  .modern-brand__mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .modern-brand__mark svg {
    width: 34px;
    height: 34px;
  }

  .modern-brand__text strong {
    font-size: 1.18rem;
  }

  .modern-brand__text small {
    font-size: .66rem;
  }

  .modern-hero__copy {
    padding-bottom: 24px;
  }

  .modern-hero__copy p {
    font-size: .66rem;
    letter-spacing: .08em;
  }

  .modern-nav.is-open ul {
    grid-template-columns: 1fr;
  }

  body.site-modern #main {
    padding: 22px 0 48px;
  }

  body.site-modern article,
  body.site-modern .page-header {
    margin-bottom: 18px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  body.site-modern .entry-header {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

  body.site-modern .entry-content img {
    margin-block: 20px;
    border-radius: 11px;
  }

  body.site-modern #secondary {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-opening {
    padding: 17px 16px;
  }

  body.site-modern .entry-content .article-lead-image img {
    aspect-ratio: 4 / 3;
  }
  .article-toc summary {
    padding: 14px 16px;
  }

  .article-toc nav {
    padding: 0 16px 15px;
  }

  .modern-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 42px 34px;
  }

  .modern-footer__bottom {
    flex-direction: column;
    gap: 4px;
  }

  .table-scroll {
    margin-inline: 0;
  }

  body.site-modern #scroll-up {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 380px) {
  .modern-brand__text small {
    display: none;
  }

  .modern-hero__copy p {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Final legacy-theme specificity overrides */
body.site-modern #site-navigation.modern-nav {
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
  border-bottom: 0 !important;
  background: rgba(6, 23, 37, .96) !important;
}

body.site-modern #site-navigation.modern-nav .modern-nav__inner {
  background: transparent !important;
}

body.site-modern .page-header .page-title {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--navy-900);
  background: transparent;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -.035em;
}

body.site-modern .page-header .page-title span {
  display: inline;
  margin: 0;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 960px) {
  body.site-modern #site-navigation.modern-nav {
    min-height: 0 !important;
  }
}


body.site-modern .unlinked-reference {
  color: inherit;
  text-decoration: none;
}

body.site-modern .seo-generated-title {
  margin: 0 0 24px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-900);
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
