:root {
  color-scheme: light;
  --wyc-bg: #ffffff;
  --wyc-section-bg: #f3f5f5;
  --wyc-cream: #f7f5e7;
  --wyc-text: #494b51;
  --wyc-muted: #6a6d75;
  --wyc-heading: #101218;
  --wyc-blue: #4175fc;
  --wyc-blue-dark: #084af3;
  --wyc-border: #e6e8ee;
  --wyc-border-strong: #d8dce6;
  --wyc-white: #fff;
  --wyc-shadow: 0 10px 28px rgba(16, 18, 24, .06);
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Montserrat", sans-serif;
  background: var(--wyc-bg);
  color: var(--wyc-text);
}

body {
  margin: 0;
  background: var(--wyc-bg);
  overflow-x: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
  background: var(--wyc-white);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  color: var(--wyc-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.site-brand span {
  display: inline-block;
  margin-left: 8px;
  color: var(--wyc-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--wyc-heading);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--wyc-blue-dark);
}

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 42px;
  color: var(--wyc-muted);
}

.site-footer p {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--wyc-border);
  font-size: 14px;
  line-height: 1.6;
}

.wyc-case-resources-page {
  box-sizing: border-box;
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 0;
  color: var(--wyc-text);
  overflow-x: hidden;
}

.wyc-case-resources-page,
.wyc-case-resources-page * {
  box-sizing: border-box;
}

.wyc-case-resources-page a {
  color: var(--wyc-blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wyc-case-resources-page a:hover {
  color: var(--wyc-heading);
}

.wyc-case-resources-page h1,
.wyc-case-resources-page h2,
.wyc-case-resources-page h3 {
  max-width: 100%;
  color: var(--wyc-heading);
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 18px;
  overflow-wrap: break-word;
}

.wyc-case-resources-page h1 {
  max-width: 900px;
  font-size: clamp(42px, 5vw, 65px);
  line-height: 1.18;
}

.wyc-case-resources-page h2 {
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.25;
}

.wyc-case-resources-page p,
.wyc-case-resources-page li {
  max-width: 100%;
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.wyc-resource-hero {
  position: relative;
  margin-bottom: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--wyc-border);
}

.wyc-resource-eyebrow {
  margin: 0 0 14px;
  color: var(--wyc-blue-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.wyc-resource-lede {
  max-width: 900px;
  margin-bottom: 22px;
  color: #2b2e36;
  font-size: clamp(19px, 2vw, 23px) !important;
  line-height: 1.55 !important;
}

.wyc-resource-section {
  margin: clamp(42px, 6vw, 72px) 0;
}

.wyc-resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.wyc-resource-panel,
.wyc-resource-callout {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--wyc-border);
  border-radius: 8px;
  background: var(--wyc-white);
  box-shadow: var(--wyc-shadow);
}

.wyc-resource-callout {
  border-left: 5px solid var(--wyc-blue);
}

.wyc-resource-warning {
  border-left: 5px solid var(--wyc-blue-dark);
}

.wyc-resource-detail-list,
.wyc-resource-card-list,
.wyc-resource-link-list,
.wyc-resource-timeline {
  padding: 0;
  margin: 0;
  list-style: none;
}

.wyc-resource-detail-list li,
.wyc-resource-card-list li,
.wyc-resource-link-list li,
.wyc-resource-timeline li {
  margin: 0;
  border-top: 1px solid var(--wyc-border);
  padding: 13px 0;
}

.wyc-resource-detail-list li:first-child,
.wyc-resource-timeline li:first-child {
  border-top: 0;
  padding-top: 0;
}

.wyc-resource-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wyc-resource-card-list li {
  min-height: 100%;
  padding: 20px 20px 20px 22px;
  border: 1px solid var(--wyc-border);
  border-left: 4px solid var(--wyc-blue);
  border-radius: 8px;
  background: var(--wyc-white);
  box-shadow: var(--wyc-shadow);
}

.wyc-resource-card-list--thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wyc-resource-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wyc-resource-link-list li {
  padding: 22px;
  border: 1px solid var(--wyc-border);
  border-radius: 8px;
  background: var(--wyc-white);
  box-shadow: var(--wyc-shadow);
}

.wyc-resource-link-list a {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--wyc-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.wyc-resource-link-list span {
  display: block;
  color: var(--wyc-muted);
}

.wyc-case-resources-page .wp-block-button__link,
.wyc-case-resources-page .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 30px;
  background: var(--wyc-blue);
  color: var(--wyc-white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.wyc-case-resources-page .wp-block-button__link:hover,
.wyc-case-resources-page .wp-element-button:hover {
  background: #084af3;
  color: var(--wyc-white);
}

.wyc-resource-pdf-actions {
  margin-bottom: 18px;
}

.wyc-resource-pdf-actions p {
  margin: 0;
}

.wyc-resource-pdf-preview {
  width: 100%;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--wyc-border-strong);
  border-radius: 8px;
  background: var(--wyc-white);
  box-shadow: var(--wyc-shadow);
}

.wyc-resource-pdf-preview iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  background: var(--wyc-white);
}

.wyc-case-resources-page details {
  padding: 24px;
  border: 1px solid var(--wyc-border-strong);
  border-radius: 8px;
  background: var(--wyc-section-bg);
}

.wyc-case-resources-page summary {
  cursor: pointer;
  color: var(--wyc-heading);
  font-size: 20px;
  font-weight: 600;
}

.wyc-case-resources-page pre {
  max-height: 540px;
  margin: 22px 0 0;
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--wyc-border-strong);
  border-radius: 8px;
  background: var(--wyc-white);
  color: #33363d;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.wyc-resource-ocr-note {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--wyc-muted);
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.wyc-resource-ocr pre {
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
}

@media (max-width: 860px) {
  .wyc-case-resources-page {
    width: auto;
    max-width: none;
    margin-right: 18px;
    margin-left: 18px;
    padding: 42px 0 58px;
  }

  .wyc-case-resources-page h1 {
    font-size: 38px;
  }

  .wyc-case-resources-page h2 {
    font-size: 30px;
  }

  .wyc-resource-grid,
  .wyc-resource-card-list,
  .wyc-resource-card-list--thirds,
  .wyc-resource-link-list {
    grid-template-columns: 1fr;
  }

  .wyc-resource-panel,
  .wyc-resource-callout,
  .wyc-resource-card-list li,
  .wyc-resource-link-list li {
    padding: 20px;
  }

  .wyc-resource-pdf-preview {
    min-height: 460px;
  }

  .wyc-resource-pdf-preview iframe {
    height: 460px;
  }
}


@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }
}
