/* Resources hub + homepage video section. Namespaced rs- to avoid collisions. */
.rs-hero { position: relative; overflow: hidden; background: #0b2f4d; color: #fff; padding: 9rem 0 5rem; min-height: min(92vh, 860px); display: flex; align-items: center; }
.rs-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% 20%, rgba(23,96,158,.55), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(242,102,34,.18), transparent 70%); pointer-events: none; }
.rs-hero .container { position: relative; }
.rs-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.rs-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.06; letter-spacing: -0.015em; color: #fff; margin: 0 0 1.5rem; }
.rs-hero-sub { font-size: 1.2rem; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 0 2.25rem; }
.rs-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.rs-btn-ghost { display: inline-flex; align-items: center; gap: .5rem; padding: .95rem 1.75rem; border: 2px solid rgba(255,255,255,.55); border-radius: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.rs-btn-ghost:hover, .rs-btn-ghost:focus-visible { background: #fff; color: #0b2f4d; }
.rs-hero-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; font-size: .95rem; }
.rs-hero-links a { color: rgba(255,255,255,.75); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.rs-hero-links a:hover { color: #fff; border-color: #fff; }
.rs-featured { margin: 0; }
.rs-featured .video-facade { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); }
.rs-featured figcaption { margin-top: 1rem; font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.5; }
.rs-featured figcaption strong { color: #fff; display: block; font-size: 1.05rem; }

.rs-section { padding: 5.5rem 0; }
.rs-section.alt { background: #f4f7fa; }
.rs-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.rs-head h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; margin: 0 0 .75rem; color: var(--text-primary); }
.rs-head p { margin: 0; max-width: 56ch; color: var(--text-secondary); font-size: 1.1rem; line-height: 1.65; }
.rs-more { font-weight: 600; color: var(--color-blue); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.rs-more:hover { color: var(--color-orange); }

.rs-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }
.rs-videos.three { grid-template-columns: repeat(3, 1fr); }
.rs-videos.four { grid-template-columns: repeat(4, 1fr); }
.rs-videos .video-card { margin: 0; }
.rs-videos .video-facade { aspect-ratio: 4 / 3; overflow: hidden; }

.rs-library { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.rs-tile { display: flex; flex-direction: column; gap: .75rem; padding: 2rem; background: #fff; border: 1px solid #dde5ec; border-radius: 14px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; grid-column: span 2; }
.rs-tile:hover, .rs-tile:focus-visible { border-color: var(--color-blue); box-shadow: 0 12px 32px rgba(11,47,77,.12); }
.rs-tile.wide { grid-column: span 3; }
.rs-tile.feature { grid-column: span 3; background: #0b2f4d; color: #fff; border-color: #0b2f4d; }
.rs-tile.feature h3, .rs-tile.feature p { color: #fff; }
.rs-tile.feature .rs-go { color: #ffb08a; }
.rs-tile i, .rs-tile svg { width: 28px; height: 28px; color: var(--color-orange); }
.rs-tile h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 0; color: var(--text-primary); line-height: 1.2; }
.rs-tile p { margin: 0; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.rs-go { font-weight: 600; color: var(--color-blue); }

.rs-rows { border-top: 1px solid #dde5ec; }
.rs-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem .5rem; border-bottom: 1px solid #dde5ec; text-decoration: none; color: inherit; }
.rs-row:hover h3, .rs-row:focus-visible h3 { color: var(--color-blue); }
.rs-row h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 .25rem; color: var(--text-primary); }
.rs-row p { margin: 0; color: var(--text-secondary); line-height: 1.55; }
.rs-row .rs-ico { width: 56px; height: 56px; border-radius: 12px; background: #e8f0f7; display: grid; place-items: center; color: var(--color-blue); }
.rs-row .rs-go { white-space: nowrap; }

.hp-videos { padding: var(--space-20, 5rem) 0; background: #0b2f4d; color: #fff; }
.hp-videos .x-h2 { color: #fff; }
.hp-videos .x-lede { color: rgba(255,255,255,.8); }
.hp-videos .x-eyebrow { color: #ffb08a; }
.hp-videos .video-card { background: #fff; color: var(--text-primary); }
.hp-videos .rs-videos { margin: 2.5rem 0; }
.hp-videos .x-center { text-align: center; }

@media (max-width: 960px) {
  .rs-hero { padding: 7rem 0 3.5rem; min-height: 0; }
  .rs-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .rs-videos.three, .rs-videos.four { grid-template-columns: 1fr 1fr; }
  .rs-tile, .rs-tile.wide, .rs-tile.feature { grid-column: span 6; }
}
@media (max-width: 600px) {
  .rs-section { padding: 3.5rem 0; }
  .rs-videos.three, .rs-videos.four { grid-template-columns: 1fr; }
  .rs-row { grid-template-columns: 44px 1fr; }
  .rs-row .rs-ico { width: 44px; height: 44px; }
  .rs-row .rs-go { grid-column: 2; }
  .rs-hero-ctas a { width: 100%; justify-content: center; text-align: center; }
}
