/* One editorial finish for Resources, Guides and Tools. No browser-default links. */
:is(.rh,.gl,.gd,.ch,.tl,.sf) a:not(.btn) { color: var(--d-ink); text-decoration-color: #b6bbc5; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:is(.rh,.gl,.gd,.ch,.tl,.sf) a:not(.btn):hover { color: var(--d-pink); text-decoration-color: currentColor; }
:is(.rh,.gl,.gd,.ch,.tl,.sf) a:focus-visible { outline: 3px solid var(--d-pink); outline-offset: 4px; border-radius: 3px; }
.gd-breadcrumbs { padding: 16px 0; font-size: .8rem; }
.gd-breadcrumbs a { color: var(--d-slate); text-decoration: none; }
.gd-breadcrumbs a:hover { color: var(--d-pink); }
.rs-photo { margin: 0; position: relative; overflow: hidden; border-radius: 20px; background: var(--d-warm); }
.rs-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.rh-hero-photo { height: 390px; }
.rh-hero-photo img { object-position: center 20%; }
.rh-hero-photo figcaption { position: absolute; bottom: 18px; left: 18px; right: 18px; width: fit-content; max-width: calc(100% - 36px); box-sizing: border-box; background: #ffffffed; color: var(--d-ink); padding: 12px 16px; border-radius: 10px; font-size: .85rem; font-weight: 600; }
.rh > .rh-paths { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0 0 44px; }
.rh a.rh-path--guides { color: white; }
.rh a.rh-path--guides:hover { color: white; }
.rh-path-action { border-top: 1px solid #ffffff30; padding-top: 18px; }
.rh-path--tools .rh-path-action { border-color: var(--d-line); }
.rs-tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.rs-tool-card { padding: 28px; border: 1px solid var(--d-line); border-radius: 14px; display: flex; flex-direction: column; align-items: start; background: #f8f9fb; }
.rs-tag { color: var(--d-pink); font-size: .72rem; text-transform: uppercase; font-weight: 700; letter-spacing: .07em; }
.rs-tool-card h3 { font-size: 1.4rem; line-height: 1.25; margin: 16px 0 12px; }
.rs-tool-card p { color: var(--d-slate); line-height: 1.65; font-size: .93rem; margin: 0 0 24px; }
.rs-action { display: inline-flex; justify-content: space-between; gap: 40px; width: 100%; border-top: 1px solid var(--d-line); padding-top: 16px; margin-top: auto; font-size: .9rem; font-weight: 700; text-decoration: none; }
.gl-feature { overflow: hidden; }
.gl-feature-image { height: 210px; margin: -30px -30px 24px; }
.gl-feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.ch-hero { max-width: none; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 44px; align-items: center; padding: 32px 0; }
.ch-hero-photo { height: 430px; }
.ch-hero-photo img { object-position: center 20%; }
.ch-card { border-radius: 14px; box-shadow: 0 4px 16px #18223d04; }
.ch-card-link, .ch-overview-link { text-underline-offset: 4px; }
.gd-toc { border-radius: 14px; }
.gd-source-list li { margin-bottom: 18px; }
.tl-hero { max-width: none; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 48px; align-items: center; }
.tl-hero-photo { height: 310px; }
.tl-card-foot a.btn { color: white; }
.tl-related { text-decoration: none; font-weight: 600; }
.gd .vs-eyebrow a { color: var(--d-pink); text-decoration: none; }
.gd-toc a { text-decoration: none; }
.gd-toc a:hover { text-decoration: underline; }
.sf-sources a { font-weight: 600; }
.sf-nav a { text-decoration: none; }
@media (max-width: 899px) {
  .ch-hero, .tl-hero { grid-template-columns: 1fr; gap: 24px; }
  .ch-hero-photo, .tl-hero-photo { height: 240px; }
  .rh-hero-photo { height: 300px; }
}
@media (max-width: 619px) {
  .rh > .rh-paths, .rs-tool-grid { grid-template-columns: 1fr; }
  .rh-hero-photo, .ch-hero-photo, .tl-hero-photo { height: 210px; }
  .rh-hero-photo, .ch-hero-photo { height: 280px; }
  .rh-hero { padding-bottom: 28px; }
  .rs-tool-card { padding: 24px; }
  .gl-feature-image { margin: -24px -24px 20px; height: 180px; }
  .ch-hero { padding-top: 20px; }
}
@media print { .sf .rs-photo { display: none; } }
/* Article headers use the full library width; reading remains a comfortable column. */
.gd { max-width: none; }
.gd > :is(.gd__sec,.gd-toc,.gd-notice,.mkt-sec) { max-width: 760px; margin-inline: auto; }
.gd__hero { max-width: none; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 44px; align-items: center; padding: 32px 0; }
.gd__hero h1 { font-size: clamp(1.9rem,3.5vw,2.8rem); line-height: 1.1; letter-spacing: -.035em; }
.gd__hero-img { margin: 0; height: 440px; }
.gd__hero-img img { height: 100%; object-fit: cover; }
.gd .mkt-hero__sub { max-width: none; font-size: 1rem; line-height: 1.7; }
:is(.gd,.ch) .vs-src a { color: var(--d-ink); }
:is(.gd,.ch) .vs-src a:hover { color: var(--d-pink); }
:is(.gd,.ch) .vs-src ul { padding-left: 20px; }
:is(.gd,.ch) .vs-src li { padding: 14px 0; border-bottom: 1px solid var(--d-line); }
@media (max-width: 899px) {
  .gd__hero { grid-template-columns: 1fr; gap: 24px; }
  .gd__hero-img { height: 240px; }
}
@media (max-width: 619px) { .gd__hero-img { height: 210px; } }
