/* Editorial components, scoped to the Resources hub and its native Post archives. */
.gp-resources { background: var(--gp-color-cream-light); color: var(--gp-color-ink); }
.gp-resources :where(h1,h2,h3,p,figure,.wp-block-buttons) { margin-block: 0; }
.gp-resources-section { padding-block: clamp(44px,5vw,72px); }
.gp-resources h1 { font-size: clamp(40px,4.3vw,64px); line-height: 1.07; letter-spacing: -.04em; }
.gp-resources h2 { font-size: clamp(30px,3vw,42px); line-height: 1.15; }
.gp-resources-intro { color: var(--gp-color-muted); line-height: 1.7; margin-top: 18px !important; max-width: 760px; }
.gp-resources-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.gp-resources-hero-copy { display: grid; gap: 24px; }
.gp-resources-hero-copy > p:not(.gp-eyebrow) { color: var(--gp-color-muted); line-height: 1.75; }
.gp-resources-hero img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--gp-radius-large); border-bottom: 6px solid var(--gp-color-yellow); }
.gp-resources-featured,.gp-resources-topics { background: var(--gp-color-cream); }
.gp-resources .wp-block-query { margin-top: 32px; }
.gp-resources .wp-block-post-template { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 28px; padding: 0; list-style: none; }
.gp-resources .wp-block-post-template > li { min-width: 0; display: flex; flex-direction: column; align-items: start; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--gp-color-line); }
.gp-resources .wp-block-post-featured-image { width: 100%; }
.gp-resources .wp-block-post-featured-image img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--gp-radius-small); }
.gp-resources .wp-block-post-terms { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--gp-color-green); }
.gp-resources .wp-block-post-terms a,.gp-resources .wp-block-post-title a { text-decoration: none; }
.gp-resources .wp-block-post-title { font-size: clamp(22px,2vw,27px); line-height: 1.2; }
.gp-resources .wp-block-post-excerpt { font-size: 15px; line-height: 1.7; color: var(--gp-color-muted); }
.gp-resources .wp-block-read-more { margin-top: auto; font-size: 13px; font-weight: 750; padding-block: 8px; text-underline-offset: 5px; }
.gp-resources-topic-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; margin-top: 32px; }
.gp-resources-topic { border-top: 2px solid var(--gp-color-yellow); padding-top: 20px; }
.gp-resources-topic h3 { font-size: 20px; line-height: 1.3; }
.gp-resources-topic a { text-decoration: none; }
.gp-resources-topic p { margin-top: 14px; color: var(--gp-color-muted); font-size: 14px; line-height: 1.7; }
.gp-resources .gp-solution-final { padding-top: 40px; }
.gp-resource-article { max-width: 820px; margin-inline: auto; padding: 56px var(--gp-gutter); }
.gp-resource-article h1 { margin-block: 24px 32px; }
.gp-resource-article .wp-block-post-content > * + * { margin-top: 24px; }
.gp-resource-article .wp-block-post-content { line-height: 1.8; }
.gp-resource-article .wp-block-post-content h2 { margin-top: 40px; font-size: 28px; }
.gp-resource-article .gp-resource-draft-note { border-left: 3px solid var(--gp-color-yellow); padding: 16px; background: var(--gp-color-cream); }
.gp-resources-breadcrumb { font-size: 13px; margin-bottom: 24px !important; }
@media (max-width:1199.98px) {
 .gp-resources .wp-block-post-template { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .gp-resources-topic-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .gp-resources-hero-grid { gap: 32px; }
}
@media (max-width:899.98px) { .gp-resources-hero-grid { grid-template-columns: 1fr; } }
@media (max-width:767px) {
 .gp-resources .wp-block-post-template,.gp-resources-topic-grid { grid-template-columns: 1fr; }
 .gp-resources .gp-solution-final { padding-top: 20px; }
}
