/* Small layout bridge between Cardan's archived theme and the rebuilt pages. */
:root {
  --ink: #454545;
  --green: #008542;
  --green-dark: #006331;
  --paper: #f6f7f5;
  --line: #d7d7d7;
  --muted: #828282;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: #fff;
  background-image: url("/_assets/893e7f1853c7.svg");
  background-repeat: no-repeat;
  background-position: right top;
  font: 1.7rem/1.88 Montserrat, Arial, sans-serif;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid #e4b351; outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 1rem; background: #fff; }
.skip:focus { left: 1rem; }

header.site-head {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 0 1.5rem;
  background: #fff;
  font-size: inherit;
  white-space: normal;
}
.head-inner, .foot-inner, .foot-bottom {
  width: min(117rem, calc(100% - 4rem));
  margin-right: auto;
  margin-left: auto;
}
.head-inner {
  min-height: 10rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; line-height: 0; text-decoration: none; }
.brand img { display: block; width: 23.5rem; max-width: 43vw; height: auto; }
.brand-foot img { filter: brightness(0) invert(1); }
nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.2rem; margin: 0; padding: 0; list-style: none; }
nav a { color: var(--green); font-size: 1.6rem; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--green-dark); }

.page { width: min(117rem, calc(100% - 4rem)); margin: 0 auto 10rem; }
main header.hero, main header.home-hero {
  display: block;
  margin: 0;
  padding: 4rem 0 3rem;
  color: var(--ink);
  font-size: inherit;
  white-space: normal;
}
.crumbs { padding: 2rem 0; color: var(--muted); font-size: 1.4rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green-dark); }
h1, h2, h3, h4, h5, h6 { color: #001309; font-family: Montserrat, Arial, sans-serif; font-weight: 600; line-height: 1.2; }
h1 { max-width: 90rem; margin: 0 0 2rem; font-size: 4rem; letter-spacing: 0; }
h2 { margin: 0 0 2rem; font-size: 3.4rem; letter-spacing: 0; }
h3 { margin: 0 0 1.5rem; font-size: 2.2rem; }
p { margin: 0 0 2rem; }
section { margin: 5rem 0; }
section p { max-width: 82rem; }
.eyebrow { margin: 0 0 1.4rem; color: var(--green); font-size: 1.4rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.lede { max-width: 82rem; color: #555; font-size: 2.1rem; line-height: 1.6; }
.home-hero { padding-top: 6rem !important; }
.home-hero:after { display: none; }
.home-cover { position: relative; height: clamp(24rem, 43vw, 70rem); margin: 5rem 0 0; overflow: hidden; background: #ecefed; }
.home-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero figure, .article-figure { margin: 4rem 0; }
.hero img, .article-figure img { display: block; width: 100%; max-height: 70rem; aspect-ratio: 16/9; object-fit: cover; }
figcaption { margin-top: .8rem; color: var(--muted); font-size: 1.4rem; }

.button { display: inline-block; padding: 1.2rem 2.8rem; border: 0; border-radius: 3rem; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-.2rem); background: var(--green-dark); color: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; margin: 5rem 0; }
.card { overflow: hidden; padding: 0 0 2rem; border: 0; background: var(--green); color: #fff; box-shadow: 0 .6rem 2rem rgba(0,0,0,.12); transition: transform .15s ease-out; }
.card:nth-child(even) { background: #454545; }
.card:hover { transform: translateY(-.6rem); }
.card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card a { color: #fff; text-decoration: none; }
.card h2 { margin: 2rem 2rem 1rem; color: #fff; font-size: 2.2rem; }
.card p { margin: 0 2rem 1.3rem; color: rgba(255,255,255,.94); font-size: 1.6rem; }
.card .more { display: inline-block; margin: 0 2rem; color: #fff; font-weight: 600; }
.card .more:hover { text-decoration: underline; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.action { padding: 4rem; border: 0; background: var(--green); color: #fff; }
.action h2, .action h3 { color: #fff; }
.action a:not(.button) { color: #fff; text-decoration: underline; text-underline-offset: .3rem; }
.related { margin: 5rem 0; padding: 3rem 0 0; border-top: 1px solid var(--line); }
.related ul { padding-left: 2rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; margin: 2rem 0; border-collapse: collapse; }
th, td { padding: 1.2rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f0f2f0; color: #001309; }
.site-map-list { columns: 2; column-gap: 4rem; }
.site-map-list li { break-inside: avoid; padding: .4rem 0; }

footer.site-foot {
  margin: 10rem 0 0;
  padding: 6rem 0 2rem;
  background: #454545;
  color: #fff;
}
.foot-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 5rem; }
.brand-foot { color: #fff; }
.foot-inner h2 { margin: 0 0 1rem; color: #fff; font-size: 2.2rem; }
.foot-inner a:not(.brand) { display: block; margin: .5rem 0; color: #fff; font-size: 1.7rem; line-height: 1.8; }
.foot-inner p { margin-top: 2rem; color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.28); color: #ddd; font-size: 1.4rem; }
.foot-bottom a { color: #fff; }

@media (max-width: 991px) {
  .head-inner { min-height: 8rem; align-items: center; }
  nav ul { gap: 1rem 1.5rem; }
  nav a { font-size: 1.5rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body { font-size: 1.5rem; }
  header.site-head { padding: 0 1rem; }
  .head-inner { width: calc(100% - 2rem); min-height: 0; align-items: flex-start; flex-direction: column; gap: 1.5rem; padding: 1.7rem 0; }
  .brand img { width: 19.6rem; }
  nav ul { gap: .8rem 1.5rem; }
  nav a { font-size: 1.5rem; }
  .page { width: calc(100% - 3rem); }
  main header.hero, main header.home-hero { padding: 3rem 0 2rem; }
  .home-hero { padding-top: 4rem !important; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.4rem; }
  .lede { font-size: 1.8rem; }
  .home-cover { height: 56vw; min-height: 22rem; margin-top: 3rem; }
  .card-grid, .split { grid-template-columns: 1fr; }
  .split { gap: 2rem; padding: 3rem 0; }
  .action { padding: 2.5rem; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .foot-inner>div:first-child { grid-column: 1/-1; }
  .site-map-list { columns: 1; }
}
@media (max-width: 420px) {
  .head-inner, .foot-inner, .foot-bottom { width: calc(100% - 2.8rem); }
  .card-grid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 2rem; }
  .foot-inner>div:first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
