
/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 128px;
}

/* Container */
.container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.prose {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
  column-count: 1;
}

/* Rows use flex instead of floats */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: 0;
  margin-right: 0;
}

/* Columns default to full width */
.column,
.columns {
  flex: 1 1 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* For devices larger than 400px */
@media (min-width: 400px) {
  .container {
    width: 85%;
    padding: 0;
  }
}

/* For devices larger than 1000px */
@media (min-width: 1000px) {
  .container {
    width: 80%;
  }

  /* remove old float behavior */
  .column,
  .columns {
    flex: 0 0 auto;
    margin-left: 4%;
  }

  .column:first-child,
  .columns:first-child {
    margin-left: 0;
  }

  /* Column widths (preserve original Skeleton percentages) */
  .one.column,
  .one.columns            { flex-basis: 4.66666666667%;  max-width: 4.66666666667%; }
  .two.columns            { flex-basis: 13.3333333333%;  max-width: 13.3333333333%; }
  .three.columns          { flex-basis: 22%;             max-width: 22%; }
  .four.columns           { flex-basis: 30.6666666667%;  max-width: 30.6666666667%; }
  .five.columns           { flex-basis: 39.3333333333%;  max-width: 39.3333333333%; }
  .six.columns            { flex-basis: 48%;             max-width: 48%; }
  .seven.columns          { flex-basis: 56.6666666667%;  max-width: 56.6666666667%; }
  .eight.columns          { flex-basis: 65.3333333333%;  max-width: 65.3333333333%; }
  .nine.columns           { flex-basis: 74%;             max-width: 74%; }
  .ten.columns            { flex-basis: 82.6666666667%;  max-width: 82.6666666667%; }
  .eleven.columns         { flex-basis: 91.3333333333%;  max-width: 91.3333333333%; }
  .twelve.columns         { flex-basis: 100%;            max-width: 100%; margin-left: 0; }

  .one-third.column       { flex-basis: 30.6666666667%;  max-width: 30.6666666667%; }
  .two-thirds.column      { flex-basis: 65.3333333333%;  max-width: 65.3333333333%; }

  .one-half.column        { flex-basis: 48%;             max-width: 48%; }
}

/* Colors
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
/* Orange */
--color-orange-50: #fef1ec;
--color-orange-100: #fee2d9;
--color-orange-200: #fdc2aa;
--color-orange-300: #fda376;
--color-orange-400: #f58220;
--color-orange-500: #ca6a18;
--color-orange-600: #a15311;
--color-orange-700: #7a3e0a;
--color-orange-800: #552905;
--color-orange-900: #321602;
--color-orange-950: #230d01;


/* Blue */
--color-blue-50: #f1f3fb;
--color-blue-100: #e0e5f6;
--color-blue-200: #c0cbed;
--color-blue-300: #a0b3e5;
--color-blue-400: #7e9adc;
--color-blue-500: #5e85d4;
--color-blue-600: #4c6eb3;
--color-blue-700: #3c5991;
--color-blue-800: #2d4470;
--color-blue-900: #1f3052;
--color-blue-950: #101b32;


/* Grey */
--color-grey-50: #f6f6f6;
--color-grey-100: #ebebeb;
--color-grey-200: #d7d7d7;
--color-grey-300: #c4c4c4;
--color-grey-400: #a6a6a6;
--color-grey-500: #898989;
--color-grey-600: #6a6a6a;
--color-grey-700: #505050;
--color-grey-800: #373737;
--color-grey-900: #1d1d1d;
--color-grey-950: #131313;


/* Red */
--color-red-50: #fceded;
--color-red-100: #fadfdf;
--color-red-200: #f6baba;
--color-red-300: #f39898;
--color-red-400: #f07171;
--color-red-500: #ee3636;
--color-red-600: #c52b2b;
--color-red-700: #961e1e;
--color-red-800: #691212;
--color-red-900: #400707;
--color-red-950: #290303;


/* Green */
--color-green-50: #e8fdf6;
--color-green-100: #d0fbed;
--color-green-200: #a1f7da;
--color-green-300: #72f3c8;
--color-green-400: #43efb6;
--color-green-500: #14eba4;
--color-green-600: #10b981;
--color-green-700: #0c8d62;
--color-green-800: #085e41;
--color-green-900: #042f21;
--color-green-950: #021710;


/* Yellow */
--color-yellow-50: #fff5ee;
--color-yellow-100: #ffeadc;
--color-yellow-200: #ffd8bd;
--color-yellow-300: #ffc390;
--color-yellow-400: #ffb15b;
--color-yellow-500: #f59e0b;
--color-yellow-600: #c27c07;
--color-yellow-700: #8f5a03;
--color-yellow-800: #623c01;
--color-yellow-900: #351f00;
--color-yellow-950: #221200;


/* This should be refactored at some point */
--surface-page: #ffffff;
--surface-white: #ffffff;
--surface-dark: var(--color-blue-900);
--surface-important: var(--color-orange-100);
--surface-information: var(--color-blue-700);
--surface-gradient-blue: linear-gradient(0deg, var(--color-blue-900) 0%, var(--color-blue-500) 100%);
--surface-gradient-orange: linear-gradient(0deg, var(--color-orange-600) 0%, var(--color-orange-400) 100%);
--surface-gradient-information: linear-gradient(0deg, var(--color-blue-950) 0%, var(--color-blue-600) 100%);


--border-light: var(--color-grey-200);
--border-dark: var(--color-blue-900);
--border-information: var(--color-blue-700);
--border-important: var(--color-orange-300);


--text-on-light: var(--color-grey-900);
--text-on-color: var(--color-grey-50);
--text-information: var(--color-blue-700);

--text-link: var(--color-orange-500);
--text-link-hover: var(--color-orange-400);
}


/* Text Colors
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.text-on-color {color: var(--text-on-color);}
.text-gradient-orange {
  background: var(--surface-gradient-orange);
  background-clip: text; 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-information {
  background: var(--surface-gradient-information);
  background-clip: text; 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* BG
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.bg-dark {background: var(--surface-dark);}

/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
  font-size: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4rem);
  font-size: 14px;
  line-height: 18px;
  font-weight: 300;
  font-family: "Barlow", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-on-light);
  background-color: var(--surface-page);
  padding: 0;
  margin: 0;
  padding-top: 4rem; /* Offset for fixed header */
}

main {flex: 1;}


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 300; }
h1 { font-size: 24px; line-height: 30px; font-weight: 700 }
h2 { font-size: 20px; line-height: 28px; font-weight: 600 }
h3 { font-size: 18px; line-height: 24px; font-weight: 500 }
h4 { font-size: 16px; line-height: 24px; font-weight: 400 }
h5 { font-size: 15px; line-height: 22px; font-weight: 400 }
h6 { font-size: 14px; line-height: 20px; font-weight: 400 }
.post-title { font-size: 30px; line-height: 34px; font-weight: 700 }
.stat-big {font-size: 32px; line-height: 40px; font-weight: 600; margin: 0; }
.stat-small {font-size: 14px; line-height: 14px; font-weight: 400; margin: 0 0 8px 0; color: var(--color-grey-700);}
.disclaimer {font-size: 12px; font-style: italic;}

blockquote {
  display: block;
  margin: 0;


}
blockquote p {
  color: var(--text-information);
  margin: 0.5rem;
  padding: 0.5rem;
  font-size: 16px; 
  line-height: 20px; 
  font-weight: 400;
  font-style: italic;
}

.prose h1 {padding-top: 3rem;}

.prose h1, 
.prose h2 {
  text-align: center;
  margin-top:32px;
  margin-bottom: 8px;
  background: var(--surface-gradient-information);
  background-clip: text; 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prose strong {
  font-weight: 500;
  color: var(--text-information)
}

.prose img {
  max-width: 100%;
}

.prose li > p {
  margin-bottom: 0;
}

/* Larger than phablet */
@media (min-width: 550px) {
  p  { font-size: 16px; line-height: 24px }
  h1 { font-size: 36px; line-height: 40px }
  h2 { font-size: 30px; line-height: 36px }
  h3 { font-size: 24px; line-height: 32px }
  h4 { font-size: 20px; line-height: 28px }
  h5 { font-size: 18px; line-height: 28px }
  h6 { font-size: 16px; line-height: 24px }
  li  { font-size: 16px; line-height: 24px }
  .post-title { font-size: 72px; line-height: 80px; font-weight: 700; }


  blockquote p {
  color: var(--text-information);
  margin: 1rem;
  padding: 1rem;
  font-size:18px; 
  line-height: 28px; 
  font-style: italic;
  }

}

p {
  margin-top: 0;
  margin-bottom: 0; }

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

.lede {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-information);
}

.text-balance {
  text-wrap: balance;
}

/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: var(--text-link); text-decoration: none; }
a:hover {
  color: var(--text-link-hover); text-decoration: underline;}

.link-inherit {
  color: inherit;
  font-weight: inherit;
}


.prose a {
  color: var(--text-link);
  text-decoration: none;
  position: relative;
}

.prose a:hover {
  color: var(--text-link-hover);
  text-decoration: none;
}

/* Add icon top-right of link */
.prose a::after {
  content: "↗\FE0E"; /* force text not emoji */
  font-size: 0.75em;
  margin-left: 0.25em;
  position: relative;
  top: -0.25em; 
}





/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  padding: 0 1rem;
  color: var(--color-grey-600);
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 38px;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid var(--color-grey-600);
  cursor: pointer; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: var(--text-link-hover);
  border-color: var(--text-link-hover);
  outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: var(--text-on-color);
  background-image: var(--surface-gradient-orange);
  border: none; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: var(--text-on-important);
  background-color: var(--surface-gradient-orange);
  border-color: var(--border-important); }


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: none; /* remove default bullets */
  padding-left: 0;  /* reset */
  margin-top: 0;
}

ul li {
  position: relative;
  padding-left: 1.2rem; /* space for custom bullet */
  margin-bottom: 0.5rem;
}

ul li::before {
  content: '›';              /* custom bullet */
  position: absolute;
  left: 0;                   /* stick bullet to left edge */
  top: 0;                    /* align with first line */
  color: #333;
}

ol {
  list-style: decimal inside;
  padding-left: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 0 0 0 1.5rem;
  font-size: 100%;
}

ul.no-bullets {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}


ul.no-bullets li {
  margin-left: 0;
  padding-left: 0;
  text-indent: 0;
}


ul.no-bullets li::before {
content: none;
}

ul.no-bullets a {
  color: inherit;
}


/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 1rem; }

/* Padding Classes */
:root {
  --space-0: 0;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
}

/* All sides */
.p-0  { padding: var(--space-0); }
.p-4  { padding: var(--space-4); }
.p-8  { padding: var(--space-8); }
.p-12 { padding: var(--space-12); }
.p-16 { padding: var(--space-16); }
.p-20 { padding: var(--space-20); }
.p-24 { padding: var(--space-24); }
.p-28 { padding: var(--space-28); }
.p-32 { padding: var(--space-32); }

/* X-axis (left + right) */
.px-0  { padding-left: var(--space-0); padding-right: var(--space-0); }
.px-4  { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-8  { padding-left: var(--space-8); padding-right: var(--space-8); }
.px-12 { padding-left: var(--space-12); padding-right: var(--space-12); }
.px-16 { padding-left: var(--space-16); padding-right: var(--space-16); }
.px-20 { padding-left: var(--space-20); padding-right: var(--space-20); }
.px-24 { padding-left: var(--space-24); padding-right: var(--space-24); }
.px-28 { padding-left: var(--space-28); padding-right: var(--space-28); }
.px-32 { padding-left: var(--space-32); padding-right: var(--space-32); }

/* Y-axis (top + bottom) */
.py-0  { padding-top: var(--space-0); padding-bottom: var(--space-0); }
.py-4  { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8  { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }
.py-24 { padding-top: var(--space-24); padding-bottom: var(--space-24); }
.py-28 { padding-top: var(--space-28); padding-bottom: var(--space-28); }
.py-32 { padding-top: var(--space-32); padding-bottom: var(--space-32); }

/* Individual sides */
.pt-0  { padding-top: var(--space-0); }
.pt-4  { padding-top: var(--space-4); }
.pt-8  { padding-top: var(--space-8); }
.pt-12 { padding-top: var(--space-12); }
.pt-16 { padding-top: var(--space-16); }
.pt-20 { padding-top: var(--space-20); }
.pt-24 { padding-top: var(--space-24); }
.pt-28 { padding-top: var(--space-28); }
.pt-32 { padding-top: var(--space-32); }

.pr-0  { padding-right: var(--space-0); }
.pr-4  { padding-right: var(--space-4); }
.pr-8  { padding-right: var(--space-8); }
.pr-12 { padding-right: var(--space-12); }
.pr-16 { padding-right: var(--space-16); }
.pr-20 { padding-right: var(--space-20); }
.pr-24 { padding-right: var(--space-24); }
.pr-28 { padding-right: var(--space-28); }
.pr-32 { padding-right: var(--space-32); }

.pb-0  { padding-bottom: var(--space-0); }
.pb-4  { padding-bottom: var(--space-4); }
.pb-8  { padding-bottom: var(--space-8); }
.pb-12 { padding-bottom: var(--space-12); }
.pb-16 { padding-bottom: var(--space-16); }
.pb-20 { padding-bottom: var(--space-20); }
.pb-24 { padding-bottom: var(--space-24); }
.pb-28 { padding-bottom: var(--space-28); }
.pb-32 { padding-bottom: var(--space-32); }

.pl-0  { padding-left: var(--space-0); }
.pl-4  { padding-left: var(--space-4); }
.pl-8  { padding-left: var(--space-8); }
.pl-12 { padding-left: var(--space-12); }
.pl-16 { padding-left: var(--space-16); }
.pl-20 { padding-left: var(--space-20); }
.pl-24 { padding-left: var(--space-24); }
.pl-28 { padding-left: var(--space-28); }
.pl-32 { padding-left: var(--space-32); }

/* Gap Classes */
.gap-4 {gap: var(--space-4);}
.gap-8 {gap: var(--space-8);}
.gap-16 {gap: var(--space-16);}

/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%; }
.u-max-full-width {
  max-width: 100%; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }
.u-flex {
  display: flex;}
.u-col {
  flex-direction: column;}
.u-space-between {
  justify-content: space-between;
}

.u-flex-end {
  display: flex;
  justify-content: end;

}

.hide-on-mobile {
display: block;
}

@media (max-width: 999px) {
.hide-on-mobile {
display: none;
}
}



/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }


/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }


/* Custom classes
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Nav Menu
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Link in site-head partial for screen readers */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  z-index: 9999;
}

/* Layout */
.site-header {
  background: var(--surface-page);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000; /* ensure it stays above other content */
}
.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem; /* 64px */
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
}

/* Mobile Nav Menu */
.nav {
  display: none; /* hidden by default */
  position: absolute;
  top: 4rem; 
  left: 0;
  width: 100vw; 
  max-height: calc(100vh - 4rem); 
  overflow-y: auto;
  background: var(--surface-page);
  padding: 1rem 0;
  z-index: 998;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Show menu when toggled */
.nav.open {
  display: block;
}

/* Mobile nav list */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

/* Links */
.nav-link {
  color: var(--text-on-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  display: block;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text-link-hover);
  text-decoration: none;
  background: var(--color-grey-100);
}

/* Mobile menu button */
.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  color: var(--text-dark);
}

/* Desktop styles */
@media (min-width: 550px) {
  .nav {
    position: static; /* back to normal flow */
    width: auto;
    max-height: none;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    display: block !important;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.5rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-link {
    color: var(--text-on-light);
  }

  .nav-link:hover,
  .nav-link:focus {
    color: var(--text-link);
    text-decoration: none;
    background: var(--color-grey-100);
  }
}


/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.default-footer {
  background: var(--surface-dark);
}

.footer-logo {
  max-height: 100px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}

.left-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
}

.steadfast {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-bottom {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
} 

@media (max-width: 768px) {
  .row > .four.columns, .row > .eight.columns, .row > .six.columns, .row > .twelve.columns {
    width: 100%;
  }
  .left-column {
    justify-content: flex-start;
  }
  .steadfast {
    justify-content: center;
  }
} 




/* Cards
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; 
  margin: 0 auto;
  padding: 0 1rem; 
}

.banner-card {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  border: 1px solid var(--border-information);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (min-width: 750px) {
  .banner-card {
    flex-direction: row;
    min-height: 350px;
  }
}

.banner-card .left {
  min-width: 1fr;
  padding: 1.5rem;
}

.banner-card .right {
  min-width: 50%; 
  min-height: 300px;
  padding: 1.5rem;
  background-image: url('/images/content/home_relaxed-businessman.webp');
  background-size: cover;
  background-position: center;
}

.policy-card {
  position: relative;
  width: 100%;
  height: 150px;
  padding: 0.75rem;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: start;
  color: var(--text-on-color);
  text-shadow: 0px 0px 8px var(--color-grey-900);
  border: 1px solid var(--border-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.policy-card:hover {
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-dark);
  color: var(--text-on-color);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.policy-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at bottom left,
    rgba(0, 0, 0, 1) 5%,
    rgba(0, 0, 0, 0.3) 30%,
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
}

.policy-title {
  position: relative;
  width: 70%;
  font-weight: 600;
  z-index: 2;
  line-height: 1.2;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem; 
  margin: 0 auto;
  padding: 0 1rem; 
}

.article-card {
  position: relative;
  width: 100%;
  height: 250px;
  padding: 1rem;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: var(--text-on-color);
  border: 1px solid var(--border-dark);
}

.article-card:hover {
  background-size: cover;
  background-position: center;
  color: var(--text-on-color);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.article-card-info {
  z-index: 2;
  width: 100%;
}


.article-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
}


.article-title {
  margin-bottom: 4px;
  font-weight: 600;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-date {
  margin: 0;
  font-weight: 500;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-tag {
  background: var(--color-grey-400);
  color: var(--text-on-color);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px; 
  transition: background 0.2s ease;
}


.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem; 
  margin: 0 auto;
  padding: 0 1rem; 
}

.staff-card {
  display: block;
  background: var(--surface-page);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.staff-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.staff-photo {
  width: 100%;          
  height: 300px;        
  object-fit: cover;    
  object-position: top;
  border-radius: 8px 8px 0px 0px;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-dark);
}

.staff-name {
  color: var(--color-grey-800);
}

.staff-role {
  color: var(--color-grey-600);
}


.photo {
  width: 100%;          
  height: auto;        
  object-fit: cover;    
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.article-card a,
.article-card a:hover,
.article-card a:focus,
.staff-card a,
.staff-card a:hover,
.staff-card a:focus
.policy-card a,
.policy-card a:hover,
.policy-card a:focus {
  text-decoration: none;
  color: inherit;
}


/* Logo Carousel
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.logo-carousel-intro {
  color: var(--color-grey-500);
}

.logo-carousel {
  overflow: hidden;
  width: 100%;
  background: #fff;
  padding: 0.5em 0;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 15s linear infinite;
}

.carousel-slide {
  display: flex;
}

.carousel-slide img {
  height: 60px;  
  min-height: 40px;
  width: auto; 
  min-width: 80px; 
  max-width: 120px; 
  margin: 0 2em;
  object-fit: contain;
  display: block;
}



/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Hero Carousel
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.hero-banner {
  display: flex;
  align-items: center;
  color: var(--text-on-color);
  background-size: cover;
  background-position: center;
  text-shadow: 0px 0px 4px black;
  min-height: 200px;
}

/* Larger than phablet */
@media (min-width: 550px) {
  .hero-banner {
    min-height: 300px;
  }
}


/* Home Page
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.hp-hero-portrait {
  display: block;
  position: absolute;
  height: 500px;
  z-index: 10;
  left: 80%;
  top: 0%
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem; 
  margin: 0 auto;
  padding: 0 1rem; 
}



/* Print settings
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Hide print front cover normally */
.print-cover {
  display: none;
}


/* Hide elements when printing */
@media print {
  header, nav, footer, .hero-banner, .default-footer, .button-print {
  display: none !important;
}
}


/* Print-friendly adjustments */
@media print {

  body {
    display: block !important;
    min-height: auto;
    padding-top: 0;
    background: #fff;
  }

  .print-cover {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;       
    position: relative;
  }

  /* Featured image fills the page */
  .print-cover img {
    width: 100%;
    height: 80%;
    object-fit: cover;  /* Crop or scale to fill */
    display: block;
  }

  /* White strip for title at bottom */
  .print-cover-title {
    display: flex;
    flex-direction: column;
    align-items: end;
    width: 100%;
    background: #fff;
    padding-top: 2rem;
    text-align: right;
    box-sizing: border-box;
  }

  .print-cover-title h1 {
    color: var(--text-dark);
  }

  h1, h2, h3, h4, h5, h6 {
    break-after: avoid;
    break-inside: avoid;
    text-align: left !important;
    color: black;
    background: none !important;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
  }
  
  .prose h1 {
    break-before: page;
    break-inside: avoid;
    text-align: left !important;
    color: var(--text-dark);
    background: none !important;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
  }


  .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    break-before: avoid;
    break-after: avoid;
    break-inside: avoid;
    text-align: left !important;
    color: var(--text-dark);
    background: none !important;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
  }

  .post-title {
    font-size: 32px;
    text-shadow: none;
  }

  .prose img {
    max-width: 100%;
    height: auto;
    break-inside: avoid;
    display: block;
    margin: 1em 0;
  }

  blockquote {
    break-inside: avoid;
  }

  a, .prose a {
    color: black;
  }

  .prose a::after {
  content: "";
  margin-left: 0;
  }


}



/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/


/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}