/* page.royalty-rates.css · Royalty Rates only: placement and size of the page's own w-royalty-rates- classes (brief 016). */

/* ---- R1, the rules paragraph: the lede's second paragraph (024 #3): body-M, ink 3, 24 below the lede, on 1–6 ---- */
.w-royalty-rates-quiet { color: var(--ink-3); }
.w-royalty-rates-hero .w-royalty-rates-lede2 { margin-top: 24px; }

/* ---- R0: R-88598 twice, two plates (020): Payment (Project Records) over Period (Search Results), 24 apart on 7–12 ---- */
/* 024 #1, #2: three columns inside the plate, nothing pans; below 600 the cells stack (the candidate's stack mode) */
.w-royalty-rates-two { display: flex; flex-direction: column; gap: 32px; }   /* pass 3: two row figures on the ground, 32 apart */

/* ---- R5 (032 #1, #2): two papers. The three rows of one Search Results list on 1–7, as tall as the rows, caption under;
   R-25126's Party Relationship panel whole on 8–12 (passage capped at 220 with the drawer's fade); tops aligned. The
   counts paragraph, its citation and the Delhi case on 1–6, 48 under the rows plate's caption; nothing under the pair.
   Below 1200: rows plate and caption, the panel, then the text. ---- */
.w-royalty-rates-r5g { margin-top: var(--gap-ev); }
@media (min-width: 1200px) {
  .w-royalty-rates-r5g { grid-template-rows: auto 1fr; }
  .w-royalty-rates-r5a { grid-column: 1 / 8; grid-row: 1; }
  .w-royalty-rates-r5b { grid-column: 8 / 13; grid-row: 1 / 3; }
  .w-royalty-rates-r5t { grid-column: 1 / 7; grid-row: 2; margin-top: 48px; }
}
@media (max-width: 1199px) {
  .w-royalty-rates-r5b { margin-top: var(--gap-pair); }
  .w-royalty-rates-r5t { margin-top: var(--gap-ev); }
}

/* ---- R8: pass 3 pilot, the Functional Analysis site figure (system v1.31); the page places nothing in it ---- */

/* ---- R2 (037 · 2): the table directly under the hero, with its heading. The lede's last line to the heading: 120 at L
   (the hero ends 96 below its lede, so the chapter opens 24 down); 96 in M and S. The heading at h2 size on 1–9, 40, the
   table; the system's chapter gap (160) to the sales level. ---- */
.w-royalty-rates-r2 { padding-top: 24px; }
@media (max-width: 1199px) { .w-royalty-rates-r2 { padding-top: 0; } }
.w-royalty-rates-r2h { grid-column: 1 / span 9; margin-bottom: 40px; }
@media (max-width: 1199px) { .w-royalty-rates-r2h { grid-column: 1 / -1; } }
@media (max-width: 599px) { .w-royalty-rates-r2h { margin-bottom: 32px; } }

/* ---- R2: the table's columns (037 · 2; R38: the Count column is out, the five kept in proportion): 26 · 17 · 14 · 18 · 25
   percent; the header labels on one bottom baseline; "View in" names at 500, ink 1 ---- */
.w-royalty-rates-c3 { width: 26%; }
.w-royalty-rates-c15 { width: 17%; }
.w-royalty-rates-c15b { width: 14%; }
.w-royalty-rates-c2 { width: 18%; }
.w-royalty-rates-c25 { width: 25%; }
.w-royalty-rates-tab thead th { vertical-align: bottom; }
@media (min-width: 1200px) {
  .w-royalty-rates-tab tbody td:nth-child(4) { font-weight: 500; color: var(--ink-1); }
}
@media (max-width: 1199px) {
  .w-royalty-rates-tab tbody td:nth-child(4) .w-cell-v { font-weight: 500; color: var(--ink-1); }
}
/* 028 #6: on the phone the label column (meta) is 132 wide */
@media (max-width: 599px) {
  .w-table.w-royalty-rates-tab tbody td { grid-template-columns: 132px minmax(0, 1fr); }
}

/* ---- R3 (R22, 037 · 4): the h2 on 1–5 and, under it on 1–6, the app's chart 9 (sized fit), 40 under the heading; the
   text on 7–12 runs through both rows. At L the chart is 464 at --k 1.25 (580, six columns). Below 1200: heading, text,
   then the plate at the evidence gap, the chart as wide as the plate allows. ---- */
@media (min-width: 1200px) {
  .w-royalty-rates-r3g { grid-template-rows: auto 1fr; }
  .w-royalty-rates-r3t { grid-row: 1 / 3; }
  .w-royalty-rates-r3ev { grid-column: 1 / span 6; grid-row: 2; margin-top: 40px; }
  .w-royalty-rates-ipd .w-bx { width: 580px; max-width: 100%; }   /* pass 2 (4a): on the ground, the plate's 580 kept */
}
@media (max-width: 1199px) {
  .w-royalty-rates-r3ev { grid-column: 1 / -1; margin-top: var(--gap-ev); }
  .w-royalty-rates-ipd .w-bx { width: 480px; max-width: 100%; }
}

/* ---- the film (024): the phone sees the film's open right side, where its marks are; L and M keep the system's 60% ---- */
.w-royalty-rates-hero { --film-pos-s: 88% 50%; }

/* ---- R27 (2): the film from 1200, made for 0% 0% ---- */
.w-royalty-rates-hero { --film-pos-l: 0% 0%; }

/* ---- pass 1 · 3 (system v1.26): the still's focus below 1200 ---- */
.w-royalty-rates-hero { --film-still-m: 100% 50%; --film-still-s: 85% 100%; }
