/* MCAP Solutions component styles.
 * Design tokens, typography, spacing scale and global elements are in theme.json.
 */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Nunito+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --mcap-blue: #94a0c5;
  --mcap-green: #558a8c;
  --mcap-brown: #4d453a;
  --mcap-red: #cd8163;
  --mcap-sand: #e4e0d4;
  --mcap-white: #fff;
  --mcap-canvas: #fff;
  --mcap-line: #c9c2b2;
}

html { scroll-behavior: smooth; }
body { background: var(--mcap-canvas); color: var(--mcap-brown); font-family: 'Nunito Sans', Arial, sans-serif; font-weight: 400; }
body, .wp-site-blocks, p, li, input, select, button, .wp-block-navigation { font-family: 'Nunito Sans', Arial, sans-serif; }
h1, h2, h3, h4, h5, h6, .wp-block-post-title, .wp-block-site-title { color: var(--mcap-brown); font-family: 'Nunito', Arial, sans-serif; letter-spacing: -.025em; text-wrap: balance; }
a { color: var(--mcap-brown); text-underline-offset: .18em; }
a:hover { color: var(--mcap-green); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--mcap-red); outline-offset: 3px; }

/* Header and footer */
.mcap-site-header { border-bottom: 1px solid rgba(77, 69, 58, .18); }
.mcap-site-header .wp-block-navigation-item__content { font-weight: 700; text-decoration: none; }
.mcap-site-header .current-menu-item > .wp-block-navigation-item__content { box-shadow: inset 0 -2px 0 var(--mcap-red); }
.mcap-site-footer { border-top: 4px solid var(--mcap-red); }
.mcap-site-footer p { font-family: 'Nunito', Arial, sans-serif; font-weight: 700; letter-spacing: .05em; }

/* Solutions Bank home */
body.page-id-12 .wp-block-post-title { display: none; }
body.page-id-93 .wp-block-post-title { display: none; }
body.page-id-93 main.wp-block-group { padding-top: 0; }
body.page-id-93 .wp-site-blocks > main { margin-block-start: 16px !important; }
body.page-id-98 .wp-block-post-title { display: none; }
body.page-id-98 main.wp-block-group { padding-top: 0; }
body.page-id-98 .wp-site-blocks > main { margin-block-start: 0 !important; }
body.page-id-12 main.wp-block-group { padding-top: 0; }
body.page-id-12 .wp-site-blocks > main { margin-block-start: 16px !important; }
body.page-id-12 .wp-site-blocks > main > .wp-block-group.alignfull { padding-top: 18px !important; }
.mcap-bank { max-width: 1180px; margin: 0 auto; padding: 48px 24px 80px; color: var(--mcap-brown); font-family: 'Nunito Sans', Arial, sans-serif; --mcap-ink: #4d453a; --mcap-sea: #558a8c; --mcap-sun: #cd8163; --mcap-line: #c9c2b2; }
.mcap-bank h1, .mcap-bank h2, .mcap-bank h3 { font-family: 'Nunito', Arial, sans-serif; }
.mcap-hero { display: grid; grid-template-columns: 1.5fr .7fr; gap: 48px; padding: 56px 0 42px; border-bottom: 1px solid var(--mcap-line); }
.mcap-eyebrow { color: var(--mcap-sun); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mcap-hero h1 { margin: 12px 0 22px; font-size: clamp(46px, 7vw, 84px); line-height: .96; letter-spacing: -.045em; }
.mcap-hero p { max-width: 720px; font-size: 19px; line-height: 1.55; }
.mcap-stat { align-self: end; padding: 28px; background: var(--mcap-green); color: var(--mcap-white); }
.mcap-stat strong { display: block; font-size: 44px; }
.mcap-controls { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 12px; padding: 30px 0 18px; }
.mcap-controls input, .mcap-controls select { width: 100%; padding: 13px 14px; border: 1px solid #b9c7c1; background: #fff; color: var(--mcap-ink); font: inherit; }
.mcap-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.mcap-tag { padding: 7px 10px; border: 1px solid var(--mcap-line); border-left: 4px solid var(--tag-color, #8ca9a5) !important; border-radius: 0; background: #fff; font-size: 12px; cursor: pointer; }
.mcap-tag.active { background: var(--mcap-ink); color: #fff; }
.mcap-meta { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 18px; }
.mcap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mcap-card { display: flex; min-height: 260px; flex-direction: column; padding: 26px; border-top: 5px solid var(--mcap-sea); background: #f1eee6; }
.mcap-card[data-protected="true"] { border-top-color: var(--mcap-sun); }
.mcap-card h2 { margin: 12px 0; font-size: 28px; line-height: 1.08; }
.mcap-card-image-link { display: block; overflow: hidden; margin: -26px -26px 22px; background: #d8d2c5; }
.mcap-card-image { display: block; width: 100%; height: 220px; object-fit: cover; transition: transform .3s ease; }
.mcap-card:hover .mcap-card-image { transform: scale(1.025); }
.mcap-card p { line-height: 1.55; }
.mcap-card > a:last-child { margin-top: auto; color: var(--mcap-ink); font-weight: 700; }
.mcap-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; }
.mcap-chip { padding: 5px 7px; border: 0; border-left: 4px solid var(--tag-color, #8ca9a5); border-radius: 0; background: #fff; font-size: 11px; }
.mcap-chip--action { --tag-color: #2d7d72; background: #dcebe8 !important; }
.mcap-chip--hazard { --tag-color: #d96134; background: #f6ded4 !important; }
.mcap-chip--region { --tag-color: #3d7890; background: #dceaf0 !important; }
.mcap-chip--maturity { --tag-color: #b38b2e; background: #f2e8ca !important; }
.mcap-chip--theme { --tag-color: #745b87; background: #e9e1ee !important; }
.mcap-empty { padding: 38px; border: 1px dashed #91a49c; text-align: center; }
.mcap-resources { margin-top: 70px; padding-top: 38px; border-top: 1px solid var(--mcap-line); }
.mcap-resources h2 { margin: 0 0 22px; font-size: 38px; }
.mcap-resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mcap-resource { display: block; padding: 24px; border-top: 4px solid var(--mcap-sun); background: var(--mcap-sand); color: var(--mcap-ink); text-decoration: none; }
.mcap-resource strong { display: block; margin-bottom: 8px; font-size: 21px; }
.mcap-resource span { line-height: 1.45; }
.mcap-note { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 52px; padding: 30px; background: var(--mcap-brown); color: #fff; }
.mcap-note a { color: #fff; }

/* Checkbox-filter directory prototype */
.mcap-bank--checkbox-test .mcap-directory-layout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: clamp(34px, 5vw, 72px); padding-top: 34px; align-items: start; }
.mcap-filter-sidebar { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 24px; border-top: 5px solid var(--mcap-green); background: var(--mcap-sand); }
.mcap-filter-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mcap-filter-heading h2 { margin: 0; font-size: 25px; line-height: 1.05; }
.mcap-filter-heading button { padding: 0; border: 0; background: transparent; color: var(--mcap-brown); font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mcap-filter-group { margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--mcap-line); }
.mcap-filter-group h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.1; }
.mcap-checkbox-list { display: grid; gap: 8px; }
.mcap-checkbox-option { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 9px; align-items: start; color: var(--mcap-brown); font-size: 14px; line-height: 1.3; cursor: pointer; }
.mcap-checkbox-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--mcap-green); }
.mcap-checkbox-option small { color: rgba(77, 69, 58, .7); font-variant-numeric: tabular-nums; }
.mcap-checkbox-option:hover span { color: var(--mcap-green); text-decoration: underline; text-underline-offset: 2px; }
.mcap-results-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: end; margin-bottom: 22px; }
.mcap-search-label { grid-column: 1 / -1; color: var(--mcap-brown); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mcap-results-toolbar input { box-sizing: border-box; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #9eaaa5; background: #fff; color: var(--mcap-brown); font: inherit; }
.mcap-results-toolbar strong { padding-bottom: 13px; white-space: nowrap; }
.mcap-grid--filtered { grid-template-columns: 1fr; }
.mcap-grid--filtered .mcap-card { display: block; min-height: 0; padding: 26px; }
.mcap-grid--filtered .mcap-card--has-image { display: grid; grid-template-columns: minmax(220px, 34%) minmax(0, 1fr); gap: 28px; padding: 0; }
.mcap-grid--filtered .mcap-card-image-link { height: 100%; min-height: 300px; margin: 0; }
.mcap-grid--filtered .mcap-card-image { height: 100%; }
.mcap-grid--filtered .mcap-card-content { display: flex; min-width: 0; flex-direction: column; padding: 26px; }
.mcap-grid--filtered .mcap-card:not(.mcap-card--has-image) .mcap-card-content { padding: 0; }
.mcap-grid--filtered .mcap-card-cta { margin-top: auto; font-weight: 700; }

/* Modern editorial proposal for the duplicated Home */
.mcap-bank--checkbox-test { max-width: 1320px; padding-top: 30px; }
.mcap-bank--checkbox-test .mcap-hero--proposal { position: relative; min-height: 480px; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr); gap: clamp(42px, 7vw, 100px); overflow: hidden; padding: clamp(44px, 7vw, 82px); border: 0; background: #ece8dc; isolation: isolate; }
.mcap-bank--checkbox-test .mcap-hero--proposal::before { position: absolute; right: -120px; bottom: -190px; z-index: -1; width: 430px; height: 430px; border: 70px solid rgba(205, 129, 99, .22); border-radius: 50%; content: ''; }
.mcap-bank--checkbox-test .mcap-hero--proposal::after { position: absolute; top: 0; left: 0; width: 9px; height: 100%; background: var(--mcap-red); content: ''; }
.mcap-hero-copy { align-self: center; }
.mcap-bank--checkbox-test .mcap-hero h1 { max-width: 700px; margin: 14px 0 24px; font-size: clamp(58px, 8vw, 108px); line-height: .88; }
.mcap-bank--checkbox-test .mcap-hero-copy > p { max-width: 650px; margin-bottom: 30px; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; text-wrap: pretty; }
.mcap-hero-link { display: inline-flex; gap: 14px; align-items: center; padding-bottom: 5px; border-bottom: 2px solid var(--mcap-brown); color: var(--mcap-brown); font-weight: 700; text-decoration: none; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.mcap-hero-link:hover { border-color: var(--mcap-green); color: var(--mcap-green); transform: translateX(4px); }
.mcap-hero-panel { align-self: end; padding: 28px; background: var(--mcap-brown); color: #fff; }
.mcap-hero-total { display: grid; grid-template-columns: 1fr auto; align-items: end; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.3); }
.mcap-hero-total > span:first-child { grid-column: 1 / -1; margin-bottom: 18px; color: #e6ded0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mcap-hero-total strong { font-size: 70px; line-height: .8; font-variant-numeric: tabular-nums; }
.mcap-hero-total > span:last-child { color: #fff; font-size: 18px; }
.mcap-hero-panel dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 0; }
.mcap-hero-panel dl div + div { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.28); }
.mcap-hero-panel dt { font-family: 'Nunito', Arial, sans-serif; font-size: 26px; font-weight: 700; }
.mcap-hero-panel dd { margin: 3px 0 0; color: #e6ded0; font-size: 11px; text-transform: uppercase; }
.mcap-directory-intro { display: grid; grid-template-columns: 1fr minmax(300px, .8fr); gap: 48px; align-items: end; padding: 72px 0 28px; border-bottom: 1px solid var(--mcap-line); }
.mcap-directory-intro h2 { margin: 5px 0 0; font-size: clamp(42px, 5vw, 68px); line-height: .95; }
.mcap-directory-intro > p { max-width: 520px; margin: 0; font-size: 17px; line-height: 1.55; }
.mcap-bank--checkbox-test .mcap-directory-layout { gap: clamp(38px, 5vw, 70px); padding-top: 36px; }
.mcap-bank--checkbox-test .mcap-filter-sidebar { top: 18px; padding: 26px; border-top-color: var(--mcap-red); background: #f1eee6; box-shadow: 0 14px 34px rgba(77, 69, 58, .1); }
.mcap-bank--checkbox-test .mcap-filter-heading h2 { font-size: 28px; }
.mcap-bank--checkbox-test .mcap-filter-heading button { color: var(--mcap-red); }
.mcap-bank--checkbox-test .mcap-checkbox-option { padding: 4px 0; font-size: 15px; }
.mcap-bank--checkbox-test .mcap-checkbox-option input { appearance: none; display: grid; place-content: center; border: 1px solid #8d938e; background: #fff; }
.mcap-bank--checkbox-test .mcap-checkbox-option input::before { width: 9px; height: 9px; background: var(--mcap-green); content: ''; transform: scale(0); transition: transform .15s ease; }
.mcap-bank--checkbox-test .mcap-checkbox-option input:checked { border-color: var(--mcap-green); }
.mcap-bank--checkbox-test .mcap-checkbox-option input:checked::before { transform: scale(1); }
.mcap-bank--checkbox-test .mcap-results-toolbar { position: sticky; top: 0; z-index: 3; padding: 16px 0 18px; background: rgba(255,255,255,.96); }
.mcap-bank--checkbox-test .mcap-results-toolbar input { border: 0; border-bottom: 2px solid var(--mcap-brown); background: #f5f3ed; font-size: 17px; transition: border-color .2s ease, background .2s ease; }
.mcap-bank--checkbox-test .mcap-results-toolbar input:focus { border-color: var(--mcap-green); background: #fff; outline: 3px solid rgba(85, 138, 140, .18); }
.mcap-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -5px 0 22px; }
.mcap-active-filters[hidden] { display: none; }
.mcap-active-filters button { display: inline-flex; gap: 9px; align-items: center; padding: 7px 10px; border: 0; border-left: 4px solid var(--mcap-green); background: #dcebe8; color: var(--mcap-brown); font: inherit; font-size: 12px; cursor: pointer; }
.mcap-active-filters button span { font-size: 18px; line-height: .8; }
.mcap-grid--filtered { gap: 24px; }
.mcap-bank--checkbox-test .mcap-grid--filtered .mcap-card { border-top-width: 0; border-left: 6px solid var(--mcap-green); background: #f1eee6; transition: transform .25s ease, background .25s ease; }
.mcap-bank--checkbox-test .mcap-grid--filtered .mcap-card[data-protected="true"] { border-left-color: var(--mcap-red); }
.mcap-bank--checkbox-test .mcap-grid--filtered .mcap-card:hover { background: #ece7dc; transform: translateY(-4px); }
.mcap-bank--checkbox-test .mcap-grid--filtered .mcap-card-image-link { min-height: 330px; }
.mcap-bank--checkbox-test .mcap-grid--filtered .mcap-card-content { padding: 30px; }
.mcap-bank--checkbox-test .mcap-card h2 { max-width: 660px; margin: 12px 0 18px; font-size: clamp(28px, 3vw, 40px); line-height: 1.04; }
.mcap-bank--checkbox-test .mcap-card p { max-width: 65ch; }
.mcap-bank--checkbox-test .mcap-card-cta { align-self: flex-start; padding-bottom: 4px; border-bottom: 1px solid currentColor; text-decoration: none; }
.mcap-bank--checkbox-test .mcap-resources { margin-top: 96px; padding: 54px 0 0; }
.mcap-bank--checkbox-test .mcap-resources h2 { font-size: clamp(42px, 5vw, 64px); }
.mcap-bank--checkbox-test .mcap-resource-grid { grid-template-columns: 1.3fr .85fr .85fr; }
.mcap-bank--checkbox-test .mcap-resource { min-height: 150px; border-top: 0; border-left: 5px solid var(--mcap-red); background: #ece8dc; transition: background .2s ease, transform .2s ease; }
.mcap-bank--checkbox-test .mcap-resource:hover { background: #e4e0d4; transform: translateY(-3px); }

/* Standard-page Best Practice Guides hub */
.mcap-guides-hub { box-sizing: border-box; width: min(1500px, 100%); max-width: 1500px !important; margin: 0 auto; padding: 38px clamp(20px, 4vw, 64px) 100px; color: var(--mcap-brown); }
.mcap-guides-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 52px; align-items: end; padding: clamp(48px, 7vw, 90px); background: #ece8dc; border-left: 9px solid var(--mcap-red); }
.mcap-guides-hero h1 { max-width: 780px; margin: 10px 0 0; font-size: clamp(56px, 7vw, 102px); line-height: .91; }
.mcap-guides-hero > p { max-width: 560px; margin: 0; font-size: 19px; line-height: 1.55; }
.mcap-guides-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr) 250px; gap: clamp(28px, 4vw, 64px); align-items: start; padding-top: 46px; }
.mcap-guide-menu-label { margin: 0 0 14px; color: var(--mcap-red); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mcap-hazard-menu, .mcap-subtopic-menu { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
.mcap-hazard-menu { padding: 20px 0; border-top: 4px solid var(--mcap-green); }
.mcap-hazard-buttons, .mcap-subtopic-buttons { display: flex; width: 100%; flex-direction: column; gap: 0; align-items: stretch; }
.mcap-hazard-choice, .mcap-subtopic-choice { width: 100%; margin: 0; }
.mcap-hazard-choice .wp-block-button__link { box-sizing: border-box; display: block; width: 100%; padding: 15px 12px; border: 0; border-bottom: 1px solid var(--mcap-line); border-radius: 0; background: transparent; color: var(--mcap-brown); font-size: 16px; font-weight: 700; line-height: 1.3; text-align: left; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease; }
.mcap-hazard-choice .wp-block-button__link:hover { background: #f1eee6; color: var(--mcap-brown); }
.mcap-hazard-choice.is-active .wp-block-button__link { background: var(--mcap-brown); color: #fff; }
.mcap-guide-content { min-width: 0; }
.mcap-guide-content-header { margin-bottom: 44px; padding: 0 0 28px; border-bottom: 1px solid var(--mcap-line); }
.mcap-guide-content-header h2 { margin: 5px 0 16px; font-size: clamp(48px, 6vw, 78px); line-height: .95; }
.mcap-guide-content-header p { max-width: 700px; margin: 0; font-size: 18px; line-height: 1.55; }
.mcap-guide-topic-section { scroll-margin-top: 28px; }
.mcap-guide-topic-section + .mcap-guide-topic-section { margin-top: 70px; }
.mcap-guide-topic-section > h2 { margin: 0 0 28px; padding-top: 20px; border-top: 4px solid var(--mcap-green); font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.mcap-guide-topic-section h3 { max-width: 760px; margin: 40px 0 14px; font-size: 26px; line-height: 1.15; }
.mcap-guide-topic-section p { max-width: 72ch; font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.mcap-guide-topic-section p + p { margin-top: 1.15em; }
.mcap-guide-topic-section strong { color: var(--mcap-green); }
.mcap-guide-source-link { overflow-wrap: anywhere; font-size: 14px !important; }
.mcap-subtopic-menu { padding: 20px; border-top: 4px solid var(--mcap-red); background: #f1eee6; }
.mcap-subtopic-choice .wp-block-button__link { box-sizing: border-box; display: block; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--mcap-line); border-radius: 0; background: transparent; color: var(--mcap-brown); font-size: 14px; font-weight: 600; line-height: 1.25; text-align: left; text-decoration: none; cursor: pointer; }
.mcap-subtopic-choice .wp-block-button__link:hover { color: var(--mcap-green); }
.mcap-subtopic-choice.is-active .wp-block-button__link { color: var(--mcap-green); font-weight: 700; }
.mcap-subtopic-empty { margin: 0; font-size: 14px; line-height: 1.45; }
.mcap-guide-pending { min-height: 460px; padding: clamp(40px, 7vw, 90px); background: #ece8dc; border-left: 8px solid var(--mcap-red); }
.mcap-guide-pending-number { display: block; margin: 0; color: rgba(77,69,58,.2); font-family: 'Nunito', Arial, sans-serif; font-size: 100px; font-weight: 700; line-height: .8; }
.mcap-guide-pending h2 { margin: 30px 0 16px; font-size: clamp(52px, 7vw, 84px); }
.mcap-guide-pending p { max-width: 580px; font-size: 18px; line-height: 1.55; }

/* Single solutions and taxonomy labels */
.mcap-single > .wp-block-post-title { margin-bottom: 48px; }
body.single-solution .mcap-single, body.single-solution .wp-block-post-content,
body.single-short_solution .mcap-single, body.single-short_solution .wp-block-post-content { --wp--style--global--content-size: 900px; }
body.single-solution .mcap-single > .wp-block-post-title { margin-bottom: 10px; }
body.single-solution .mcap-solution-subtitle { margin-top: 0; margin-bottom: 42px; color: var(--mcap-green); font-family: 'Nunito', Arial, sans-serif; font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 600; line-height: 1.3; }
body.single-solution .mcap-solution-subtitle a { color: inherit; text-decoration: none; }
body.single-solution .mcap-solution-subtitle a:hover,
body.single-solution .mcap-solution-subtitle a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
body.single-solution .mcap-solution-facts { margin: 8px 4px 30px; }
body.single-solution .mcap-solution-facts table { width: 100%; border: 0; border-collapse: collapse; }
body.single-solution .mcap-solution-facts td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--mcap-line); vertical-align: top; line-height: 1.5; }
body.single-solution .mcap-solution-facts td:first-child { width: 34%; background: var(--mcap-sand); color: var(--mcap-brown); }
body.single-solution .mcap-solution-facts td:last-child { background: #fff; }
body.single-solution .mcap-solution-facts a { color: var(--mcap-green); font-weight: 700; }
@media (max-width: 640px) {
  body.single-solution .mcap-solution-facts table,
  body.single-solution .mcap-solution-facts tbody,
  body.single-solution .mcap-solution-facts tr,
  body.single-solution .mcap-solution-facts td { display: block; width: 100%; box-sizing: border-box; }
  body.single-solution .mcap-solution-facts td:first-child { width: 100%; padding-bottom: 7px; border-bottom: 0; }
  body.single-solution .mcap-solution-facts td:last-child { padding-top: 8px; }
}
body.single-short_solution .mcap-short-solution-single > .wp-block-post-title { font-size: clamp(2.35rem, 4.6vw, 4.5rem); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
body.single-short_solution .mcap-short-heading { margin-top: 38px; margin-bottom: 18px; padding-top: 20px; border-top: 1px solid var(--mcap-line); color: var(--mcap-green); font-family: 'Nunito', Arial, sans-serif; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
body.single-short_solution .mcap-kicker + .mcap-short-heading { margin-top: 28px; }
body.single-short_solution .wp-block-post-content p,
body.single-short_solution .wp-block-post-content li { line-height: 1.65; }
body.single-short_solution .wp-block-post-content ul { padding-left: 1.4em; }
.mcap-section-accordion { margin-block: 0 12px; border-top: 1px solid var(--mcap-line); border-bottom: 1px solid var(--mcap-line); }
.mcap-section-accordion summary { padding: 18px 4px; color: var(--mcap-brown); font-family: 'Nunito', Arial, sans-serif; font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.mcap-section-accordion[open] { padding-bottom: 18px; }
.mcap-section-accordion[open] summary { color: var(--mcap-green); }
.mcap-section-accordion > :not(summary) { margin-inline: 4px; }
.mcap-source-block { border-left: 5px solid var(--mcap-red); background: var(--mcap-sand); }
.mcap-source-block h2 { margin-top: 0; color: var(--mcap-brown); }
.mcap-source-block a { font-weight: 700; }
.mcap-guide-intro { margin-bottom: 34px; }
.mcap-guide-single { box-sizing: border-box; width: min(1380px, calc(100vw - 64px)); max-width: none !important; }
.mcap-guide-single > .wp-block-post-content { width: 100%; max-width: none !important; }
.mcap-guide-single > .wp-block-post-title, .mcap-guide-single > .wp-block-post-featured-image, .mcap-guide-single > .mcap-contact { width: calc(100% - 280px); max-width: none; margin-left: auto !important; margin-right: 0 !important; }
.mcap-guide-single .mcap-guide-intro { width: calc(100% - 280px); max-width: none !important; margin-left: auto !important; margin-right: 0 !important; }
.mcap-guide-single .mcap-guide-layout { display: grid; width: 100%; max-width: none !important; grid-template-columns: 220px minmax(0, 1fr); gap: 60px; align-items: start; margin-inline: 0 !important; }
.mcap-guide-subnav { position: sticky; top: 24px; z-index: 4; max-height: calc(100vh - 48px); overflow-y: auto; margin: 0; padding: 20px 24px; border-left: 5px solid var(--mcap-green); background: var(--mcap-sand); }
.mcap-guide-subnav-label { margin: 0 0 10px; color: var(--mcap-red); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.mcap-guide-subnav ul { display: block; margin: 0; padding: 0; list-style: none; }
.mcap-guide-subnav li + li { margin-top: 12px; }
.mcap-guide-subnav a { color: var(--mcap-brown); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mcap-guide-subnav a:hover, .mcap-guide-subnav a:focus-visible { color: var(--mcap-green); }
.mcap-guide-section { scroll-margin-top: 32px; }
.mcap-guide-section + .mcap-guide-section { margin-top: 72px; }
.mcap-guide-section-title { margin-top: 0; padding-top: 20px; border-top: 4px solid var(--mcap-green); }
.mcap-guide-section > p { max-width: 820px; }
@supports selector(.mcap-guide-sections:has(.mcap-guide-section:target)) {
  .mcap-guide-sections:has(.mcap-guide-section:target) > .mcap-guide-section:not(:target) { display: none; }
  .mcap-guide-layout:has(#categorization-framing:target) .mcap-guide-subnav a[href="#categorization-framing"],
  .mcap-guide-layout:has(#biodiversity-ecosystems-nature:target) .mcap-guide-subnav a[href="#biodiversity-ecosystems-nature"],
  .mcap-guide-layout:has(#monitoring-management:target) .mcap-guide-subnav a[href="#monitoring-management"] { color: var(--mcap-green); text-decoration-thickness: 3px; }
}
.mcap-card h2 a { color: inherit; text-decoration: none; }
.mcap-card h2 a:hover { color: var(--mcap-green); text-decoration: underline; text-decoration-thickness: 1px; }
.is-style-post-terms-1 a, .mcap-taxonomy a, .mcap-archive-tags a { display: inline-block; margin: 4px 5px 4px 0; padding: 5px 7px; border: 0 !important; border-left: 4px solid #8ca9a5 !important; border-radius: 0 !important; box-shadow: none !important; background: #eef1ef; font-size: 12px; line-height: 1.2; text-decoration: none; }
.mcap-taxonomy-action a { border-left-color: #2d7d72 !important; background: #dcebe8; }
.mcap-taxonomy-hazard a { border-left-color: #d96134 !important; background: #f6ded4; }
.mcap-taxonomy-region a { border-left-color: #3d7890 !important; background: #dceaf0; }
.mcap-taxonomy-topic a { border-left-color: #745b87 !important; background: #e9e1ee; }
.is-style-post-terms-1 a[href*="/tag/action-"], .mcap-archive-tags a[href*="/tag/action-"] { border-left-color: #2d7d72 !important; background: #dcebe8; }
.is-style-post-terms-1 a[href*="/tag/hazard-"], .mcap-archive-tags a[href*="/tag/hazard-"] { border-left-color: #d96134 !important; background: #f6ded4; }
.is-style-post-terms-1 a[href*="/tag/region-"], .mcap-archive-tags a[href*="/tag/region-"] { border-left-color: #3d7890 !important; background: #dceaf0; }
.is-style-post-terms-1 a[href*="/tag/maturity-"], .mcap-archive-tags a[href*="/tag/maturity-"] { border-left-color: #b38b2e !important; background: #f2e8ca; }
.is-style-post-terms-1 a[href*="/tag/theme-"], .mcap-archive-tags a[href*="/tag/theme-"] { border-left-color: #745b87 !important; background: #e9e1ee; }

/* Solution and Resource archives */
.mcap-archive { color: var(--mcap-brown); }
.mcap-archive .wp-block-query-title, .mcap-archive > h1 { margin-bottom: 38px; font-size: clamp(38px, 6vw, 68px); line-height: 1; }
.mcap-archive-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px !important; }
.mcap-archive-card { box-sizing: border-box; display: flex; height: 100%; flex-direction: column; padding: 0 26px 26px; border-top: 5px solid var(--mcap-green); background: #f3eee3; }
.mcap-archive-card .wp-block-post-featured-image { margin: 0 -26px 22px; }
.mcap-archive-card .wp-block-post-featured-image img { height: 220px; object-fit: cover; }
.mcap-archive-card .wp-block-post-title { margin: 0 0 14px; font-size: 28px; line-height: 1.08; }
.mcap-archive-card .wp-block-post-excerpt { line-height: 1.5; }
.mcap-archive-taxonomies { margin-top: auto; }

@media (max-width: 800px) {
  .mcap-hero, .mcap-note { grid-template-columns: 1fr; }
  .mcap-controls { grid-template-columns: 1fr 1fr; }
  .mcap-grid, .mcap-resource-grid, .mcap-archive-grid { grid-template-columns: 1fr !important; }
  .mcap-bank--checkbox-test .mcap-directory-layout { grid-template-columns: 1fr; }
  .mcap-bank--checkbox-test .mcap-hero--proposal { min-height: 0; grid-template-columns: 1fr; padding: 42px 28px; }
  .mcap-bank--checkbox-test .mcap-hero h1 { font-size: clamp(54px, 17vw, 78px); }
  .mcap-hero-panel { width: auto; }
  .mcap-directory-intro { grid-template-columns: 1fr; gap: 18px; padding-top: 52px; }
  .mcap-bank--checkbox-test .mcap-resource-grid { grid-template-columns: 1fr; }
  .mcap-guides-hub { padding: 18px 16px 70px; }
  .mcap-guides-hero { grid-template-columns: 1fr; gap: 24px; padding: 38px 26px; }
  .mcap-guides-hero h1 { font-size: clamp(52px, 15vw, 74px); }
  .mcap-guides-layout { display: flex; flex-direction: column; gap: 28px; padding-top: 28px; }
  .mcap-hazard-menu { position: sticky; top: 0; z-index: 12; order: 1; width: 100%; max-height: none; padding: 10px; background: #fff; box-shadow: 0 4px 14px rgba(77,69,58,.12); }
  .mcap-hazard-menu .mcap-guide-menu-label { padding-left: 4px; }
  .mcap-hazard-menu button { display: inline-grid; width: calc(33.333% - 5px); min-height: 68px; grid-template-columns: 1fr; gap: 2px; vertical-align: top; }
  .mcap-hazard-menu button > span, .mcap-hazard-menu button small { grid-column: 1; }
  .mcap-subtopic-menu { position: static; order: 2; width: 100%; max-height: 230px; box-sizing: border-box; }
  .mcap-guide-content { order: 3; width: 100%; }
  .mcap-guide-topic-section p { font-size: 16px; }
  .mcap-filter-sidebar { position: static; max-height: none; }
  .mcap-grid--filtered .mcap-card--has-image { grid-template-columns: 1fr; }
  .mcap-grid--filtered .mcap-card-image-link { min-height: 220px; }
  .mcap-guide-single .mcap-guide-layout { display: block; width: 100%; }
  .mcap-guide-single { width: min(100% - 32px, 1380px); }
  .mcap-guide-single > .wp-block-post-title, .mcap-guide-single > .wp-block-post-featured-image, .mcap-guide-single > .mcap-contact, .mcap-guide-single .mcap-guide-intro { width: 100%; margin-inline: 0 !important; }
  .mcap-guide-single .mcap-guide-subnav { box-sizing: border-box; position: sticky; top: 0; z-index: 20; width: 100%; max-height: none; overflow: visible; margin: 0 0 32px; padding: 12px; border-left: 0; border-top: 4px solid var(--mcap-green); box-shadow: 0 3px 10px rgba(77, 69, 58, .14); }
  .mcap-guide-subnav-label { margin-bottom: 8px; }
  .mcap-guide-subnav ul { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mcap-guide-subnav li { display: flex; min-width: 0; }
  .mcap-guide-subnav li + li { margin-top: 0; }
  .mcap-guide-subnav a { box-sizing: border-box; display: flex; width: 100%; min-width: 0; min-height: 68px; align-items: center; padding: 12px; border: 1px solid var(--mcap-line); border-left: 5px solid var(--mcap-green); background: #fff; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; text-decoration: none; }
  .mcap-guide-sections, .mcap-guide-section { box-sizing: border-box; width: 100%; max-width: none !important; }
  .mcap-guide-section > p { max-width: none; }
  @supports selector(.mcap-guide-layout:has(.mcap-guide-section:target)) {
    .mcap-guide-layout:not(:has(.mcap-guide-section:target)) .mcap-guide-subnav a[href="#guide-overview"],
    .mcap-guide-layout:has(#categorization-framing:target) .mcap-guide-subnav a[href="#categorization-framing"],
    .mcap-guide-layout:has(#biodiversity-ecosystems-nature:target) .mcap-guide-subnav a[href="#biodiversity-ecosystems-nature"],
    .mcap-guide-layout:has(#monitoring-management:target) .mcap-guide-subnav a[href="#monitoring-management"] { border-color: var(--mcap-green); background: var(--mcap-green); color: #fff; }
  }
}

@media (max-width: 782px) {
  body.page-id-12 .wp-site-blocks > main { margin-block-start: 0 !important; }
  body.page-id-12 .wp-site-blocks > main > .wp-block-group.alignfull { padding-top: 0 !important; }
  body.page-id-12 .entry-content { margin-block-start: 3px !important; }
}

@media (max-width: 600px) {
  .mcap-site-header img { width: 190px !important; }
  .mcap-site-footer img { width: 145px !important; }
}

@media (max-width: 520px) {
  .mcap-controls { grid-template-columns: 1fr; }
}
