:root {
   --v2-ink: #30262d;
   --v2-ink-deep: #231a20;
   --v2-muted: #6f6468;
   --v2-paper: #fffdf9;
   --v2-cream: #f7f1e9;
   --v2-cream-deep: #efe5da;
   --v2-coral: #e65d60;
   --v2-coral-dark: #c94750;
   --v2-coral-soft: #d98f8e;
   --v2-rose: #ecd8d2;
   --v2-line: #e1d7cf;
   --v2-line-soft: #eee6df;
   --v2-white: #ffffff;
   --v2-serif: "Newsreader", Georgia, "Times New Roman", serif;
   --v2-sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

html {
   scroll-behavior: smooth;
}

body.research-v2 {
   min-width: 320px;
   margin: 0;
   background: var(--v2-paper);
   color: var(--v2-ink);
   font-family: var(--v2-sans);
   font-size: 17px;
   line-height: 1.65;
   -webkit-font-smoothing: antialiased;
   text-rendering: optimizeLegibility;
}

.research-v2 ::selection {
   background: rgba(230, 93, 96, 0.22);
   color: var(--v2-ink-deep);
}

.research-v2 img {
   max-width: 100%;
   height: auto;
}

.research-v2 strong,
.research-v2 b {
   font-family: var(--v2-sans);
   font-weight: 700;
}

.research-v2 a,
.research-v2 a:visited {
   color: var(--v2-coral-dark);
   text-decoration-color: rgba(201, 71, 80, 0.36);
   text-decoration-thickness: 1px;
   text-underline-offset: 0.2em;
}

.research-v2 a:hover {
   color: #a8323e;
   text-decoration-color: currentColor;
}

.research-v2 a:focus-visible {
   outline: 3px solid rgba(230, 93, 96, 0.34);
   outline-offset: 4px;
   border-radius: 2px;
}

.skip-link {
   position: fixed;
   top: 12px;
   left: 12px;
   z-index: 1000;
   padding: 9px 14px;
   color: var(--v2-white) !important;
   background: var(--v2-ink-deep);
   border-radius: 3px;
   transform: translateY(-180%);
   transition: transform 160ms ease;
}

.skip-link:focus {
   transform: translateY(0);
}

/* Centered primary navigation */

.site-header {
   position: relative;
   z-index: 20;
   background: rgba(255, 253, 249, 0.98);
   border-top: 4px solid var(--v2-coral);
   border-bottom: 1px solid var(--v2-line);
}

.header-inner {
   display: flex;
   justify-content: center;
   width: min(100% - 40px, 1160px);
   min-height: 78px;
   margin: 0 auto;
}

#nav-wrap {
   display: flex;
   align-items: center;
}

#nav-wrap ul,
#nav-wrap li {
   margin: 0;
   padding: 0;
}

ul#nav {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 12px;
   min-height: 74px;
   list-style: none;
}

ul#nav li {
   list-style: none;
}

ul#nav li a,
ul#nav li a:visited {
   display: block;
   position: relative;
   padding: 10px 12px;
   color: var(--v2-ink);
   font-size: 14px;
   font-weight: 600;
   letter-spacing: 0.075em;
   line-height: 1.2;
   text-decoration: none;
   text-transform: uppercase;
}

ul#nav li a::after {
   content: "";
   position: absolute;
   right: 12px;
   bottom: 3px;
   left: 12px;
   height: 2px;
   background: var(--v2-coral);
   transform: scaleX(0);
   transform-origin: center;
   transition: transform 160ms ease;
}

ul#nav li a:hover,
ul#nav li a:focus-visible,
ul#nav li a[aria-current="page"] {
   color: var(--v2-coral-dark);
}

ul#nav li a:hover::after,
ul#nav li a[aria-current="page"]::after {
   transform: scaleX(1);
}

/* Page introduction and field index */

.research-masthead {
   position: relative;
   overflow: hidden;
   color: var(--v2-white);
   background: var(--v2-ink-deep);
}

.research-masthead-inner {
   position: relative;
   z-index: 1;
   width: min(100% - 80px, 1120px);
   margin: 0 auto;
   padding: 72px 0 58px;
}

.page-kicker {
   margin: 0 0 17px;
   color: var(--v2-coral);
   font-size: 13px;
   font-weight: 700;
   letter-spacing: 0.18em;
   line-height: 1.35;
   text-transform: uppercase;
}

.masthead-copy {
   display: block;
}

.masthead-copy h1 {
   margin: 0;
   color: var(--v2-white);
   font-family: var(--v2-serif);
   font-size: clamp(68px, 8vw, 104px);
   font-weight: 500;
   letter-spacing: -0.055em;
   line-height: 0.88;
}

.field-nav {
   display: flex;
   flex-wrap: wrap;
   gap: 8px 10px;
   margin-top: 49px;
   padding-top: 24px;
   border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.field-nav a,
.field-nav a:visited {
   display: inline-flex;
   align-items: center;
   min-height: 35px;
   padding: 6px 12px;
   color: rgba(255, 255, 255, 0.77);
   border: 1px solid rgba(255, 255, 255, 0.18);
   border-radius: 2px;
   font-size: 13.5px;
   font-weight: 600;
   line-height: 1.2;
   text-decoration: none;
   transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.field-nav a:hover,
.field-nav a:focus-visible {
   color: var(--v2-white);
   background: rgba(230, 93, 96, 0.16);
   border-color: rgba(230, 93, 96, 0.75);
}

/* Research archive */

.content-outer {
   background: var(--v2-paper);
}

#page-content {
   display: block;
   width: min(100% - 80px, 1080px);
   max-width: none;
   margin: 0 auto;
   padding: 83px 0 112px;
}

#page-content > .columns,
#page-content > .column,
#primary-labor {
   float: none;
   width: 100%;
   margin: 0;
   padding: 0;
}

.section {
   scroll-margin-top: 24px;
   margin: 116px 0 22px;
   padding-top: 28px;
}

.section:first-child {
   margin-top: 0;
   padding-top: 0;
}

.section h1 {
   position: relative;
   margin: 0;
   padding-left: 25px;
   color: var(--v2-ink-deep);
   font-family: var(--v2-serif);
   font-size: clamp(43px, 5vw, 58px);
   font-weight: 500;
   letter-spacing: -0.04em;
   line-height: 1;
}

.section h1::before {
   content: "";
   position: absolute;
   top: -0.1em;
   bottom: -0.1em;
   left: 0;
   width: 5px;
   background: var(--v2-coral);
   border-radius: 999px;
}

.post {
   display: grid;
   grid-template-columns: 235px minmax(0, 1fr);
   grid-template-areas:
      "thumb title"
      "thumb content";
   column-gap: 43px;
   row-gap: 13px;
   margin: 0;
   padding: 38px 0 43px;
   border-bottom: 1px solid var(--v2-line-soft);
}

.post .entry-header {
   grid-area: title;
   align-self: end;
   width: 100%;
   margin: 0;
}

.post .entry-header h3 {
   position: relative;
   margin: 0;
   padding-left: 18px;
   color: var(--v2-ink-deep);
   font-family: var(--v2-serif);
   font-size: 31px;
   font-weight: 500;
   letter-spacing: -0.03em;
   line-height: 1.12;
}

.post .entry-header h3::before {
   content: "";
   position: absolute;
   top: 0.08em;
   bottom: 0.08em;
   left: 0;
   width: 3px;
   background: var(--v2-coral-soft);
   border-radius: 999px;
}

.flex-wrapper {
   display: contents;
}

.post .post-thumb {
   grid-area: thumb;
   align-self: start;
   width: 100%;
   margin: 0;
   aspect-ratio: 1;
   overflow: hidden;
   background: var(--v2-cream-deep);
   box-shadow: 0 14px 32px rgba(55, 38, 47, 0.12);
}

.post-img {
   display: block;
   width: 100%;
   height: auto;
}

.post .post-content {
   grid-area: content;
   min-width: 0;
   margin: 0;
   color: #51484d;
}

.post-content p {
   margin: 0 0 13px;
   color: #51484d;
   font-size: 16.5px;
   font-weight: 400;
   line-height: 1.72;
   text-align: left;
}

.post-content p.subtext,
.subtext {
   margin-top: 18px;
   margin-bottom: 0;
   padding-left: 14px;
   color: var(--v2-muted);
   border-left: 2px solid var(--v2-rose);
   font-size: 14.25px;
   line-height: 1.65;
}

.post-content u,
.subtext u {
   color: var(--v2-ink);
   font-style: italic;
   text-decoration: none;
}

.icon-wrapper {
   display: flex;
   justify-content: flex-start;
   margin-top: 17px;
}

.icon-wrapper span {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 7px;
   font-size: 0;
}

.icon-wrapper a,
.icon-wrapper a:visited {
   display: inline-flex;
   align-items: center;
   padding: 2px;
   border-radius: 999px;
   opacity: 0.9;
   text-decoration: none;
   transition: opacity 160ms ease, transform 160ms ease;
}

.icon-wrapper a:hover,
.icon-wrapper a:focus-visible {
   opacity: 1;
   transform: translateY(-1px);
}

.icon-wrapper a.paper-resource,
.icon-wrapper a.paper-resource:visited {
   box-sizing: border-box;
   justify-content: center;
   min-width: 45px;
   height: 28px;
   padding: 0 9px;
   color: var(--v2-ink);
   background: rgba(247, 241, 233, 0.72);
   border: 1px solid var(--v2-rose);
   border-radius: 3px;
   font-family: var(--v2-sans);
   font-size: 12.5px;
   font-weight: 600;
   letter-spacing: 0.035em;
   line-height: 1;
   opacity: 1;
   text-decoration: none;
   transition: color 160ms ease, background-color 160ms ease,
      border-color 160ms ease, transform 160ms ease;
}

.icon-wrapper a.paper-resource:hover,
.icon-wrapper a.paper-resource:focus-visible {
   color: var(--v2-coral-dark);
   background: var(--v2-cream);
   border-color: var(--v2-coral-soft);
}

.post:has(.post-content.no-picture) {
   grid-template-columns: 1fr;
   grid-template-areas:
      "title"
      "content";
   row-gap: 10px;
   padding-top: 27px;
   padding-bottom: 31px;
}

.post:has(.post-content.no-picture) .entry-header h3 {
   font-size: 27px;
}

.post-content.no-picture {
   grid-area: content;
}

.post-content.no-picture .subtext {
   margin-top: 0;
}

.site-footer {
   padding: 25px 30px 29px;
   color: #81767b;
   background: var(--v2-cream);
   border-top: 1px solid var(--v2-line);
   text-align: center;
}

.site-footer p {
   margin: 0;
   font-size: 13px;
   letter-spacing: 0.04em;
}

@media only screen and (max-width: 900px) {
   .research-masthead-inner,
   #page-content {
      width: min(100% - 60px, 760px);
   }

   .post {
      grid-template-columns: 200px minmax(0, 1fr);
      column-gap: 31px;
   }

   .post .entry-header h3 {
      font-size: 28px;
   }

   .post-content p {
      font-size: 15.75px;
   }
}

@media only screen and (max-width: 720px) {
   .header-inner {
      width: calc(100% - 20px);
      min-height: 69px;
   }

   ul#nav {
      gap: 0;
      min-height: 65px;
   }

   ul#nav li a,
   ul#nav li a:visited {
      padding: 10px 8px;
      font-size: 12.5px;
      letter-spacing: 0.045em;
   }

   ul#nav li a::after {
      right: 8px;
      left: 8px;
   }

   .research-masthead-inner {
      width: min(100% - 48px, 600px);
      padding: 57px 0 48px;
   }

   .masthead-copy h1 {
      font-size: clamp(64px, 20vw, 86px);
   }

   .field-nav {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 37px;
   }

   .field-nav a,
   .field-nav a:visited {
      justify-content: center;
      text-align: center;
   }

   #page-content {
      width: min(100% - 48px, 600px);
      padding: 65px 0 86px;
   }

   .section {
      margin-top: 89px;
   }

   .section h1 {
      display: block;
      padding-left: 20px;
      font-size: 43px;
   }

   .post {
      grid-template-columns: 1fr;
      grid-template-areas:
         "title"
         "thumb"
         "content";
      row-gap: 19px;
      padding: 34px 0 39px;
   }

   .post .entry-header h3 {
      font-size: 29px;
   }

   .post .post-thumb {
      width: min(100%, 430px);
   }

   .post-content p {
      font-size: 16px;
   }

   .post-content p.subtext,
   .subtext {
      font-size: 14px;
   }

   .post:has(.post-content.no-picture) {
      grid-template-columns: 1fr;
      grid-template-areas:
         "title"
         "content";
   }
}

@media only screen and (max-width: 460px) {
   .header-inner {
      width: calc(100% - 12px);
   }

   ul#nav li a,
   ul#nav li a:visited {
      padding-right: 5px;
      padding-left: 5px;
      font-size: 11.5px;
      letter-spacing: 0.015em;
   }

   ul#nav li a::after {
      right: 5px;
      left: 5px;
   }

   .research-masthead-inner,
   #page-content {
      width: calc(100% - 36px);
   }

   .field-nav {
      grid-template-columns: 1fr;
   }

   .field-nav a,
   .field-nav a:visited {
      min-height: 39px;
   }

   .section h1 {
      font-size: 39px;
   }

   .post .entry-header h3,
   .post:has(.post-content.no-picture) .entry-header h3 {
      font-size: 27px;
   }
}

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

   *,
   *::before,
   *::after {
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
   }
}
