/* Shieldify Research: the hub, the article cards and the article byline
   (2026-10-24). Loaded only on research pages, after site.css. */
.rs-section { padding-block: clamp(56px, 7vw, 104px); }
.rs-section--tint { background: #f7f6f6; }
.rs-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: clamp(24px, 3vw, 40px); }

/* The dark plate: an article's key figure, red-lit, with its minutes as bars. */
.rs-plate { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 196px; padding: 24px; color: #fff; overflow: hidden; isolation: isolate; background: radial-gradient(90% 80% at 100% 100%, rgba(225, 4, 4, 0.5), transparent 62%), radial-gradient(70% 60% at 0% 0%, rgba(158, 0, 8, 0.32), transparent 70%), #0b0a0a; }
.rs-plate::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.rs-plate b { font-size: clamp(34px, 3.4vw, 46px); font-weight: 300; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rs-plate span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.rs-plate i { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.rs-bars { position: absolute; top: 46px; right: 24px; height: 56px; width: auto; max-width: calc(100% - 48px); fill: var(--red); }
.rs-bars rect:first-child { fill: #ff4a4a; }

.rs-copy { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.rs-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.rs-copy h3 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; transition: color 0.2s var(--ease); }
.rs-copy p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.rs-meta { font-size: 13px; color: var(--ink-2); }
.rs-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 500; color: var(--ink); }
.rs-more .icon { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }

.rs-card, .rs-feature { display: flex; flex-direction: column; background: #fff; border: 1px solid #ece9e9; border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.rs-card:hover, .rs-feature:hover { border-color: #dcd7d7; box-shadow: 0 18px 40px -28px rgba(11, 10, 10, 0.35); }
.rs-card:hover h3, .rs-feature:hover h3 { color: var(--red); }
.rs-feature:hover .rs-more .icon { transform: translateX(3px); }
.rs-card:focus-visible, .rs-feature:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.rs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* The newest article, large: plate on the left, copy on the right. */
.rs-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-radius: 14px; }
.rs-feature .rs-plate { min-height: 380px; padding: clamp(28px, 3.4vw, 44px); }
.rs-feature .rs-plate b { font-size: clamp(56px, 7vw, 104px); }
.rs-feature .rs-plate span { font-size: 13px; }
.rs-feature .rs-plate i { top: clamp(28px, 3.4vw, 44px); right: clamp(28px, 3.4vw, 44px); }
.rs-feature .rs-bars { top: calc(clamp(28px, 3.4vw, 44px) + 24px); right: clamp(28px, 3.4vw, 44px); height: 120px; }
.rs-feature .rs-copy { justify-content: center; gap: 14px; padding: clamp(28px, 3.4vw, 48px); }
.rs-feature .rs-copy h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 400; line-height: 1.12; }
.rs-feature .rs-copy p { font-size: 17px; }

.rs-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.rs-about .rs-head { margin-bottom: 0; }
.rs-about-copy { display: flex; flex-direction: column; gap: 14px; }
.rs-about-copy p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 40em; }
.rs-about-copy a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(11, 10, 10, 0.3); text-underline-offset: 3px; }
.rs-about-copy a:hover { text-decoration-color: var(--red); }

/* An article's byline in its hero. */
.doc-head .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.68); }
.doc-head .article-meta > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 12px; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: 0.7; }
.doc-head .article-meta .rs-cat { padding: 4px 9px; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 999px; color: #fff; }

@media (max-width: 960px) {
  .rs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-feature { grid-template-columns: minmax(0, 1fr); }
  .rs-feature .rs-plate { min-height: 300px; }
  .rs-about { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .rs-grid { grid-template-columns: minmax(0, 1fr); }
  .doc-head .article-meta > span:last-child { flex-basis: 100%; }
  .doc-head .article-meta > span:last-child::before { display: none; }
  .rs-feature .rs-plate { min-height: 260px; }
  .rs-feature .rs-bars { height: 84px; }
  .rs-plate i { display: none; }
}
