/* Quiet editorial pages: original content, readable measure, no repeated media. */
.resource-page { background:#fff; color:#151515; padding:170px 56px 100px; }
.rp-shell { max-width:1250px; margin:0 auto; }
.resource-page .rp-hero { max-width:1050px; margin-bottom:72px; }
.resource-page .rp-hero h1 { margin:0 0 30px; font-size:clamp(46px,5.3vw,82px); line-height:1.04; letter-spacing:-.055em; font-weight:400; text-wrap:balance; }
.resource-page .rp-hero p { max-width:760px; margin:0; font-size:21px; line-height:1.55; color:#555; }
.rp-section { display:grid; grid-template-columns:minmax(220px,.65fr) minmax(0,1fr); gap:70px; padding:42px 0; border-top:1px solid #d9d9d9; }
.resource-page h2 { font-size:32px; line-height:1.15; letter-spacing:-.035em; font-weight:400; margin:0; text-wrap:balance; }
.rp-prose p, .rp-prose li, .rp-case p, .rp-faq p { font-size:18px; line-height:1.6; color:#505050; }
.rp-prose p { margin:0 0 22px; }
.rp-prose p:last-child { margin-bottom:0; }
.rp-prose ul { margin:0; padding-left:22px; }
.rp-prose li { padding-left:6px; margin-bottom:16px; }
.rp-prose li:last-child { margin-bottom:0; }
.rp-source, .rp-back { display:block; margin-top:36px; font-size:15px; line-height:1.5; color:#555; }
.rp-source a, .rp-back { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
.rp-date { color:#666; font-size:14px; margin:0 0 24px; }
.rp-articles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.rp-article { border-radius:16px; background:#f3f3f3; padding:32px; display:flex; flex-direction:column; align-items:flex-start; }
.rp-article time { font-size:14px; color:#626262; margin-bottom:24px; }
.resource-page .rp-article h2 { font-size:30px; margin:0 0 20px; }
.rp-article h2 a { text-decoration:none; }
.rp-article p { color:#555; font-size:16px; line-height:1.55; margin:0 0 30px; }
.rp-read { margin-top:auto; color:#151515; font-size:15px; text-decoration:none; display:inline-flex; gap:16px; padding:10px 0; }
.rp-read:hover, .rp-article h2 a:hover { text-decoration:underline; text-underline-offset:4px; }
.rp-cases { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.rp-case { background:#f3f3f3; padding:36px; border-radius:16px; }
.rp-stat { display:block; font-size:clamp(42px,4.5vw,64px); font-weight:400; letter-spacing:-.045em; line-height:1; margin:36px 0 28px; }
.rp-case p { font-size:17px; margin:0 0 22px; }
.rp-case p:last-child { margin-bottom:0; }
.rp-faq { max-width:960px; }
.rp-faq details { border-top:1px solid #d9d9d9; }
.rp-faq details:last-child { border-bottom:1px solid #d9d9d9; }
.rp-faq summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:27px 0; font-size:25px; line-height:1.25; letter-spacing:-.025em; cursor:pointer; }
.rp-faq summary::-webkit-details-marker { display:none; }
.rp-faq summary span { width:24px; text-align:center; flex:none; font-weight:300; transition:transform .2s ease; }
.rp-faq details[open] summary span { transform:rotate(45deg); }
.rp-faq p { max-width:800px; margin:0; padding:0 35px 28px 0; }
.rp-action { border-top:1px solid #d9d9d9; padding-top:40px; margin-top:12px; }
.rp-action p { color:#666; font-size:14px; line-height:1.5; max-width:560px; margin:20px 0 0; }
.resource-page a:focus-visible, .rp-faq summary:focus-visible { outline:2px solid #151515; outline-offset:6px; border-radius:3px; }
@media(max-width:800px) {
 .resource-page { padding:132px 26px 72px; }
 .resource-page .rp-hero { margin-bottom:48px; }
 .resource-page .rp-hero h1 { font-size:clamp(38px,8.9vw,62px); margin-bottom:24px; }
 .resource-page .rp-hero p { font-size:18px; line-height:1.5; }
 .rp-section { grid-template-columns:1fr; gap:25px; padding:32px 0; }
 .resource-page h2 { font-size:29px; }
 .rp-prose p, .rp-prose li, .rp-faq p { font-size:16px; }
 .rp-articles, .rp-cases { grid-template-columns:1fr; gap:16px; }
 .rp-article, .rp-case { padding:26px; }
 .resource-page .rp-article h2 { font-size:28px; }
 .rp-faq summary { font-size:23px; padding:24px 0; }
 .rp-faq p { padding-right:0; }
 .rp-action .ib-button { max-width:100%; }
 .rp-action .ib-label { white-space:normal; }
}
@media(max-width:359px) {
 .resource-page { padding-left:20px; padding-right:20px; }
 .resource-page .rp-hero h1 { font-size:36px; }
 .rp-article, .rp-case { padding:22px; }
 .rp-faq summary { font-size:21px; }
}
@media(prefers-reduced-motion:reduce) {.rp-faq summary span { transition:none; }}
/* An article keeps its own supplied photograph on the rail, index and detail. */
.rp-feature-image, .rp-card-image { margin:0; overflow:hidden; border-radius:12px; background:#f3f3f3; }
.rp-feature-image { aspect-ratio:16/9; max-height:600px; margin:0 0 32px; }
.rp-card-image { aspect-ratio:4/3; width:100%; margin-bottom:26px; }
.rp-feature-image img, .rp-card-image img { display:block; width:100%; height:100%; object-fit:cover; }
.rp-article { padding:0; background:transparent; border-radius:0; }
.rp-articles { gap:50px 28px; }
@media(max-width:800px) {
 .rp-feature-image { aspect-ratio:4/3; }
 .rp-articles { gap:42px; }
}
/* Zypsy article composition; Carabela content and header own the outer boundary.
   Source: shared.css .article-header_*, .episode_component.is-large,
   .episode-content_sticky, .episode-share_component and related-link hover. */
.resource-page.rp-article-page { --rp-background:#151515; --rp-text:#fff; padding-top:220px; background:var(--rp-background); color:var(--rp-text); transition:none; }
.resource-page.rp-article-page p { color:var(--rp-text); }
.rp-article-header-row { display:grid; grid-template-columns:auto 57.8488%; justify-content:space-between; align-items:start; gap:16px; margin-bottom:28px; }
.rp-blog-pill { border-radius:100px; padding:6px 13px; background:color-mix(in srgb,var(--rp-text) 8%,transparent); font-size:14px; line-height:1.2; text-decoration:none; color:var(--rp-text); }
.rp-article-heading { width:85.4271%; }
.resource-page .rp-article-heading h1 { margin:0; font-size:clamp(36px,3.35vw,48px); line-height:1.08; letter-spacing:-.035em; font-weight:400; text-wrap:balance; color:var(--rp-text); }
.rp-article-meta { display:flex; flex-wrap:wrap; gap:12px 22px; margin-top:56px; font-size:12px; line-height:1.4; color:var(--rp-text); }
.rp-article-cover { margin:0; width:100%; aspect-ratio:1.9; overflow:hidden; border-radius:4px; }
.rp-article-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.rp-reading { padding-top:120px; }
.rp-reading-grid { display:grid; grid-template-columns:40.6977% minmax(0,42.5rem); gap:24px; align-items:start; }
.rp-sidebar { position:sticky; top:160px; min-width:0; }
.rp-sidebar-content { width:59.2857%; }
.resource-page .rp-sidebar h2 { font-size:15px; line-height:1.35; letter-spacing:0; margin:0 0 22px; color:var(--rp-text); }
.rp-sidebar p { font-size:15px; line-height:1.45; margin:0 0 30px; color:var(--rp-text); }
.rp-sidebar-contact { display:inline-flex; align-items:center; justify-content:space-between; gap:20px; width:100%; padding-bottom:9px; border-bottom:1px solid color-mix(in srgb,var(--rp-text) 30%,transparent); font-size:15px; text-decoration:none; color:var(--rp-text); }
.resource-page .rp-sidebar .rp-related-heading { margin-top:64px; }
.rp-related-link { display:block; padding:24px 0; border-top:1px solid color-mix(in srgb,var(--rp-text) 20%,transparent); color:var(--rp-text); text-decoration:none; font-size:15px; line-height:1.4; }
.rp-related-link:last-child { border-bottom:1px solid color-mix(in srgb,var(--rp-text) 20%,transparent); }
.rp-related-inner { display:flex; align-items:flex-end; }
.rp-related-thumb { display:block; flex:none; width:0%; opacity:0; margin-left:-24px; padding-right:24px; transform:translateX(-100%); transition:all .4s; }
.rp-related-thumb img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.rp-reading-copy { min-width:0; }
.rp-reading-copy p, .rp-reading-copy li { color:var(--rp-text); font-size:20px; line-height:1.6; letter-spacing:.005em; }
.rp-reading-copy p { margin:0 0 20px; }
.resource-page .rp-reading-copy h2 { color:var(--rp-text); font-size:36px; line-height:1.13; letter-spacing:-.03em; margin:64px 0 24px; }
.rp-reading-copy ul { margin:16px 0 40px; padding-left:24px; }
.rp-reading-copy li { margin-bottom:12px; }
.rp-reading-copy .rp-source { margin-top:56px; font-size:15px; }
.rp-reading-copy .rp-back { color:var(--rp-text); }
.rp-article-page a:focus-visible { outline-color:var(--rp-text); }
@media(min-width:992px) {
 .rp-related-link:is(:hover,:focus-visible) .rp-related-thumb { width:37%; opacity:1; transform:translateX(0); margin-left:0; }
}
@media(max-width:991px) {
 .resource-page.rp-article-page { padding-top:160px; }
 .rp-article-header-row { grid-template-columns:auto 70%; }
 .rp-article-heading { width:100%; }
 .rp-reading-grid { grid-template-columns:1fr; }
 .rp-sidebar { display:none; position:static; }
 .rp-reading-copy { max-width:760px; }
 .rp-reading { padding-top:80px; }
}
@media(max-width:767px) {
 .resource-page.rp-article-page { padding:144px 24px 72px; }
 .rp-article-header-row { grid-template-columns:1fr; gap:28px; justify-items:start; }
 .resource-page .rp-article-heading h1 { font-size:36px; line-height:1.12; }
 .rp-article-meta { margin-top:30px; gap:10px 18px; }
 .rp-reading { padding-top:64px; }
 .rp-reading-copy p, .rp-reading-copy li { font-size:18px; line-height:1.6; }
 .resource-page .rp-reading-copy h2 { font-size:30px; margin-top:48px; }
}
@media(max-width:359px) {
 .resource-page.rp-article-page { padding-inline:20px; }
 .resource-page .rp-article-heading h1 { font-size:32px; }
 .rp-reading-copy p, .rp-reading-copy li { font-size:17px; }
}
@media(prefers-reduced-motion:reduce) {.rp-related-thumb { transition:none; }}
/* Article-only persistent dark page and navigation. The route class is emitted
   before paint; :has keeps non-scripted page previews on the same surface. */
html:has(body.page-resource-article),
html:has([data-resource-article]),
html body:is(.page-resource-article,:has([data-resource-article])),
html body:is(.page-resource-article,:has([data-resource-article])) main {
 background:#151515; color:#fff;
}
html body:is(.page-resource-article,:has([data-resource-article])) .header.bank-header {
 background:#151515; color:#fff;
}
html body:is(.page-resource-article,:has([data-resource-article])) .header .nav-cutout {
 background:#151515; color:#fff;
}
html body:is(.page-resource-article,:has([data-resource-article])) .nav-cutout::before,
html body:is(.page-resource-article,:has([data-resource-article])) .nav-cutout::after {display:none;}
html body:is(.page-resource-article,:has([data-resource-article])) .header .brand img,
html body:is(.page-resource-article,:has([data-resource-article])) .pm-brand img {filter:brightness(0) invert(1);}
html body:is(.page-resource-article,:has([data-resource-article])) .header :is(nav#navigation,.mega-menu) {background:#151515;color:#fff;}
html body:is(.page-resource-article,:has([data-resource-article])) .header :is(nav#navigation>a,.dropdown-toggle,.mega-menu a,.menu-toggle) {color:#fff;}
html body:is(.page-resource-article,:has([data-resource-article])) .header .menu-toggle > span:not(.cm-trigger-label):not(.cm-trigger-cross) {background:#fff;}
html body:is(.page-resource-article,:has([data-resource-article])) :is(.header,.mobile-menu) .language-switch {background:#242424;color:#fff;}
html body:is(.page-resource-article,:has([data-resource-article])) :is(.header,.mobile-menu) .language-switch a {color:#cfcfcf!important;}
html body:is(.page-resource-article,:has([data-resource-article])) :is(.header,.mobile-menu) .language-switch a[aria-current=true] {background:#fff;color:#151515!important;}
html body:is(.page-resource-article,:has([data-resource-article])) .header-actions .bank-button {
 --kt-fill:#242424;--kt-fill-hover:#343434;--kt-ink:#fff;
 --kt-icon-fill:#fff;--kt-icon-ink:#151515;--kt-icon-ink-hover:#151515;
 background:var(--kt-fill);color:var(--kt-ink);
}
html body:is(.page-resource-article,:has([data-resource-article])) .header-actions .button-disc {background:#fff;color:#151515;}
html body:is(.page-resource-article,:has([data-resource-article])) :is(.page-overview-toggle,.pm-close) {background:#242424;color:#fff;border-color:#555;}
html body:is(.page-resource-article,:has([data-resource-article])) :is(.page-overview-toggle,.pm-close):hover {background:#343434;}
html body:is(.page-resource-article,:has([data-resource-article])) :is(.page-menu,.pm-header,.pm-footer) {background:#151515;color:#fff;border-color:#444;}
html body:is(.page-resource-article,:has([data-resource-article])) .pm-pages a {color:#fff;border-color:#444;}
html body:is(.page-resource-article,:has([data-resource-article])) .pm-pages :is(p,.pm-link-arrow) {color:#b7b7b7;}
html body:is(.page-resource-article,:has([data-resource-article])) .pm-pages a[aria-current=page] .pm-link-arrow::after {background:#fff;}
html body:is(.page-resource-article,:has([data-resource-article])) .pm-footer {border-top:1px solid #444;}
html body:is(.page-resource-article,:has([data-resource-article])) .pm-footer button {color:#fff;}
html body:is(.page-resource-article,:has([data-resource-article])) :is(.header,.page-menu) :is(a,button):focus-visible {outline-color:#fff;}
html body:is(.page-resource-article,:has([data-resource-article])) .mobile-menu {--cm-accent:#fff;--cm-black:#151515;--cm-white:#fff;}
html body:is(.page-resource-article,:has([data-resource-article])) .cm-page-frozen {background:#151515;}
