/* 17 · Resources — Figma 393:4714 (Desktop 393:4715 · Mobile 398:5622)
   Line-heights follow Figma's text boxes, which round each line to a whole pixel
   (27.9 → 28, 29.4 → 29, 24.8 → 25). */

/* Filter bar — 393:4770 / 398:5657 */
.rs-filter { padding-block: 28px 0; }
.rs-filter__inner { display: flex; flex-direction: column; gap: 20px; }
.rs-filter__row { display: flex; flex-direction: column; gap: 14px; }
.rs-filter__label { line-height: 15px; }                                  /* 12 / 14.52 → box 15 (393:4778) */
.rs-select { position: relative; display: block; }
.rs-select__control { padding: 0 52px 0 24px; cursor: pointer; }          /* select 393:4779 · pad 0/20/0/24 + 16 icon + 8 gap */
.rs-select__icon { position: absolute; right: 20px; top: 50%; margin-top: -8px; color: var(--vt-semantic-ink); pointer-events: none; transition: transform var(--vt-dur-2) var(--vt-ease-out); }
.rs-select:focus-within .rs-select__icon { transform: translate3d(0, 2px, 0); }
.rs-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Featured — 393:4792 / 398:5675 */
.rs-featured { padding-block: 40px 56px; }
.rs-featured__inner { display: flex; flex-direction: column; gap: 20px; }
.rs-featured__title {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 32px; line-height: 38px; letter-spacing: -0.8px;
  color: var(--vt-semantic-ink);
}
.rs-feature {
  display: flex; flex-direction: column; gap: 20px;
  padding: 12px 12px 24px;
  border-radius: var(--vt-radius-32);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.rs-feature__media { display: block; flex: none; height: 210px; border-radius: 20px; overflow: hidden; }
.rs-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.rs-feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-inline: 10px; min-width: 0; }
.rs-feature__headline {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 28px; line-height: 29px; letter-spacing: -0.56px;
  color: var(--vt-semantic-ink);
}
.rs-feature__standfirst { font-size: 16px; line-height: 25px; color: var(--vt-semantic-body); }
.rs-feature__meta { font-size: 14px; line-height: 17px; color: var(--vt-semantic-meta); white-space: pre-wrap; }
.rs-feature__cta { height: 56px; }

/* Latest — 393:4806 / 398:5686 */
.rs-latest { background: var(--cliente-p1-rol-surface); padding-block: 56px; }
.rs-latest__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.rs-latest__title {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 34px; line-height: 34px; letter-spacing: -0.68px;
  color: var(--vt-semantic-ink);
}
.rs-latest__sub { margin-top: 16px; font-size: 16px; line-height: 25px; color: var(--vt-semantic-body); }
.rs-latest__grid { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.rs-latest__pagination { margin-top: 16px; }
/* Card/Resource text boxes round to whole px in Figma (27.6 → 28 · 18.85 → 19) */
.page-resources .vt-card-resource__title { line-height: 28px; }
.page-resources .vt-card-resource__date { line-height: 19px; }

/* Newsletter — 393:4910 / 398:5705 */
.rs-newsletter .vt-cta-band__sub { line-height: 25px; }

@media (min-width: 1024px) {
  .rs-filter { padding-block: 48px 0; }
  .rs-filter__row { flex-direction: row; align-items: flex-end; gap: 16px; }
  .rs-filter__search { flex: 1 1 auto; }
  .rs-filter__category { flex: 0 0 320px; }

  .rs-featured { padding-block: 64px 96px; }
  .rs-featured__inner { gap: 32px; }
  .rs-featured__title { font-size: 44px; line-height: 53px; letter-spacing: -1.1px; }
  .rs-feature { flex-direction: row; align-items: center; gap: 48px; padding: 16px 48px 16px 16px; }
  .rs-feature__media { width: 560px; height: 360px; border-radius: var(--vt-radius-24); }
  .rs-feature__text { flex: 1 1 0; padding-inline: 0; }
  .rs-feature__headline { font-size: 40px; line-height: 42px; letter-spacing: -0.8px; }
  .rs-feature__standfirst { font-size: 18px; line-height: 28px; }

  .rs-latest { padding-block: 104px; }
  .rs-latest__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .rs-latest__title { font-size: 56px; line-height: 56px; letter-spacing: -1.4px; }
  .rs-latest__sub { max-width: 339px; font-size: 20px; line-height: 31px; }
  .rs-latest__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .rs-latest__pagination { margin-top: 40px; display: flex; justify-content: center; }

  .rs-newsletter .vt-cta-band__title { max-width: 616px; }
  .rs-newsletter .vt-cta-band__sub { max-width: 418px; line-height: 29px; }
}
