:root {
  --ink: #19313b;
  --muted: #64757b;
  --green: #a7bd19;
  --green-dark: #758a00;
  --paper: #fff;
  --canvas: #f3f6f4;
  --line: #e2e9e5;
  --soft-green: #f2f6dc;
  --shadow: 0 8px 28px rgba(24, 48, 54, .07);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font: 16px/1.55 Inter, "Segoe UI", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.notice-bar {
  color: #e8eee8;
  background: var(--ink);
  font-size: 12px;
}

.notice-inner {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.recommendations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.recommendations a,
.site-footer a {
  color: #d5e889;
}

.site-header {
  background: var(--paper);
}

.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  position: relative;
  flex: 0 0 127px;
  width: 127px;
  height: 107px;
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  top: -30px;
  left: 0;
  width: 224px;
  max-width: none;
}

.brand-name,
.footer-brand > a {
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.brand-name span,
.footer-brand > a span {
  color: var(--green-dark);
}

.brand-copy {
  max-width: 210px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.search-form {
  width: 260px;
  display: flex;
  align-items: center;
  padding: 5px 7px 5px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f9fbfa;
}

.search-form input[type="search"] {
  width: 100%;
  min-width: 0;
  padding: 6px 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.search-form button,
.login-link {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.login-link {
  color: var(--ink);
  background: var(--soft-green);
}

.login-link:hover,
.search-form button:hover {
  text-decoration: none;
}

.site-nav {
  position: relative;
  z-index: 50;
  color: white;
  background: var(--ink);
}

.nav-inner {
  position: relative;
}

.nav-list,
.mobile-menu-list,
.nav-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list {
  min-height: 54px;
  display: flex;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
}

.desktop-nav {
  overflow: visible;
}

.desktop-nav .nav-submenu-toggle {
  display: none;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > .nav-item-row > a,
.mobile-menu-list > li > .nav-item-row > a {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #f7faf8;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-list li:hover > .nav-item-row > a,
.nav-list li:focus-within > .nav-item-row > a,
.nav-list li > .nav-item-row > a.current,
.mobile-menu-list > li > .nav-item-row > a.current,
.mobile-menu-list li:focus-within > .nav-item-row > a {
  color: #172b30;
  background: var(--green);
  text-decoration: none;
}

.nav-item-row {
  display: flex;
  align-items: stretch;
}

.nav-list .nav-item-row > a,
.mobile-menu-list .nav-item-row > a {
  flex: 1;
}

.nav-submenu-toggle {
  position: relative;
  width: 36px;
  flex: 0 0 36px;
  border: 0;
  color: #f7faf8;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.nav-list > li:hover > .nav-item-row > .nav-submenu-toggle,
.nav-list > li:focus-within > .nav-item-row > .nav-submenu-toggle,
.nav-list > li.is-open > .nav-item-row > .nav-submenu-toggle {
  color: var(--ink);
  background: var(--green);
}

.nav-submenu {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  min-width: 220px;
  display: none;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  background: white;
  box-shadow: var(--shadow);
}

.nav-list li:hover > .nav-submenu,
.nav-list li:focus-within > .nav-submenu,
.nav-list li.is-open > .nav-submenu {
  display: block;
}

.nav-submenu > li {
  position: relative;
}

.nav-submenu > li > .nav-submenu {
  top: -8px;
  left: 100%;
  border-radius: 12px;
}

.nav-submenu .nav-submenu-toggle {
  color: var(--ink);
}

.nav-submenu .nav-submenu-toggle:hover,
.nav-submenu .nav-submenu-toggle:focus {
  color: var(--ink);
  background: var(--soft-green);
}

.nav-submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
}

.nav-submenu a:hover {
  background: var(--soft-green);
  text-decoration: none;
}

.nav-toggle,
.mobile-nav {
  display: none;
}

.menu-error,
.error {
  margin: 12px 0;
  padding: 10px 14px;
  border: 1px solid #e5b7b7;
  border-radius: 8px;
  color: #842626;
  background: #fff1f1;
}

.breadcrumbs {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs .container {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.page-layout {
  width: min(1200px, calc(100% - 48px));
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  align-items: start;
  gap: 26px;
  margin: 0 auto;
  padding: 28px 0 54px;
}

.page-content {
  min-width: 0;
  color: var(--ink);
}

.home-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1200px, calc(100% - 48px));
  margin: 28px auto 24px;
}

.home-intro + .page-layout {
  padding-top: 0;
}

.home-eyebrow {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

.home-intro h1 {
  margin: 5px 0 0;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -.035em;
  line-height: 1.15;
}

.home-intro p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.page-content > *:first-child {
  margin-top: 0;
}

.centerbox,
.sidebox {
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.centerboxtitle {
  margin: 0;
  padding: 18px 22px 10px;
  color: var(--green-dark);
  font-size: 21px;
  font-weight: 750;
  line-height: 1.25;
}

.articlebox > .centerboxtitle {
  font-size: clamp(24px, 3vw, 34px);
}

.centerboxtext {
  padding: 12px 22px 22px;
  border-radius: 0 0 16px 16px;
  background: var(--paper);
  overflow-wrap: anywhere;
}

.centerboxtext > :first-child {
  margin-top: 0;
}

.centerboxtext img,
.sidebox img {
  max-width: 100%;
  height: auto;
}

.centerboxtext table,
.sidebox table {
  width: auto;
  max-width: 100%;
}

.page-sidebar {
  min-width: 0;
}

.home-page-layout .page-sidebar {
  padding-top: 54px;
}

.sidebox .centerboxtitle {
  padding: 17px 19px 10px;
  font-size: 17px;
}

.sidebox .centerboxtext {
  padding: 7px 19px 18px;
  color: var(--muted);
  font-size: 14px;
}

.centerboxtext a,
.sidebox a {
  font-weight: 600;
}

.centerboxtext p,
.sidebox p {
  margin: 0 0 1em;
}

.centerboxtext table,
.centerboxtext td,
.sidebox table,
.sidebox td {
  border-color: var(--line);
}

.centerboxtext th,
.sidebox th {
  padding: 7px;
  color: var(--ink);
  background: var(--soft-green);
}

.centerboxtext td,
.sidebox td {
  padding: 5px;
}

.site-footer {
  padding: 28px 0;
  color: #e8eee8;
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1.2fr;
  gap: 30px;
}

.footer-brand > a {
  color: white;
}

.footer-brand p {
  margin: 5px 0 12px;
  color: #c6d2d0;
  font-size: 13px;
}

.footer-brand span {
  font-size: 12px;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px 14px;
  font-size: 13px;
}

.footer-contact {
  flex-direction: column;
  gap: 5px;
}

.footer-contact strong {
  margin-bottom: 3px;
  color: white;
}

h1,
h2,
h3 {
  color: var(--ink);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 1000px) {
  .brand-copy {
    display: none;
  }

  .header-inner {
    gap: 18px;
  }

  .search-form {
    width: 220px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .container,
  .page-layout {
    width: min(100% - 28px, 620px);
  }

  .notice-inner {
    min-height: 35px;
    justify-content: center;
    text-align: center;
  }

  .notice-inner > span {
    display: none;
  }

  .recommendations {
    justify-content: center;
  }

  .header-inner {
    min-height: 78px;
    gap: 8px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    flex-basis: 63.5px;
    width: 63.5px;
    height: 53.5px;
  }

  .brand-mark img {
    top: -15px;
    width: 112px;
  }

  .brand-name {
    font-size: 24px;
  }

  .header-actions {
    margin-left: auto;
  }

  .search-form {
    width: 42px;
    padding: 5px;
    border: 0;
    background: transparent;
  }

  .search-form input {
    display: none;
  }

  .search-form button {
    width: 38px;
    height: 38px;
    overflow: hidden;
    padding: 0;
    font-size: 0;
  }

  .search-form button::after {
    content: "⌕";
    font-size: 23px;
  }

  .login-link {
    display: none;
  }

  .nav-inner {
    width: 100%;
  }

  .nav-toggle {
    width: 100%;
    display: block;
    padding: 13px 18px;
    border-radius: 0;
    color: white;
    background: transparent;
    font-weight: 700;
    text-align: left;
  }

  .nav-toggle:hover {
    color: var(--ink);
    background: var(--green);
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav.is-open {
    display: block;
    padding: 0 14px 12px;
  }

  .mobile-menu-list .nav-item-row > a {
    flex: 1;
    min-height: 42px;
    padding: 8px 10px;
  }

  .mobile-menu-list .nav-item-row {
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .mobile-menu-list .nav-submenu {
    position: static;
    display: none;
    padding: 0 0 5px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-menu-list li.is-open > .nav-submenu {
    display: block;
  }

  .mobile-menu-list .nav-submenu .nav-submenu {
    padding-left: 12px;
  }

  .mobile-menu-list .nav-submenu-toggle {
    position: relative;
    display: block;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .mobile-menu-list .nav-submenu-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: translate(-50%, -70%) rotate(45deg);
    transition: transform .15s ease;
  }

  .mobile-menu-list .nav-submenu-toggle[aria-expanded="true"]::after {
    transform: translate(-50%, -25%) rotate(225deg);
  }

  .mobile-menu-list .nav-submenu a {
    color: #d5e0dc;
  }

  .mobile-menu-list .nav-submenu a:hover {
    color: var(--ink);
  }

  .page-layout {
    display: block;
    padding-top: 22px;
    padding-bottom: 34px;
  }

  .home-intro {
    display: block;
    width: min(100% - 28px, 620px);
  }

  .home-intro p {
    margin-top: 12px;
  }

  .page-sidebar {
    margin-top: 24px;
    padding-top: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 420px) {
  .recommendations {
    gap: 3px;
    font-size: 11px;
  }

  .brand-mark {
    flex-basis: 54px;
    width: 54px;
    height: 46px;
  }

  .brand-mark img {
    top: -12.7px;
    width: 95px;
  }

  .brand-name {
    font-size: 22px;
  }

  .centerboxtitle {
    padding: 15px 16px 8px;
  }

  .centerboxtext {
    padding: 10px 16px 18px;
  }
}
