/* Resources page (/resources/) — matches design artboards 13a (desktop) and 13b (mobile). */

.res-intro { padding-bottom: 0; }
.res-intro .intro { max-width: 820px; margin: 0; text-wrap: pretty; }
.res-intro .intro a { font-weight: 700; }

/* Two magazine-style columns of link lists on desktop, one column on phones. */
.res-lists { padding-top: 36px; }
/* Single column: the groups are collapsed by default, so the list stays short. */
.res-columns { max-width: 820px; }
.res-group { break-inside: avoid; margin-bottom: 28px; }
.res-group h2 {
  margin: 0 0 6px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--brick); line-height: 1.4;
}
.res-row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 13px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit;
}
.res-row:hover .res-row__title { color: var(--brick); }
.res-row__title { display: block; font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.res-row__sub { display: block; font-size: 14px; line-height: 1.55; color: var(--warm-400); margin-top: 2px; }
.res-row__open { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brick); white-space: nowrap; }
@media (max-width: 600px) {
  .res-lists { padding-top: 24px; }
  .res-group { margin-bottom: 20px; }
  .res-row { padding: 11px 0; }
  .res-row__title { font-size: 15px; }
  .res-row__sub { font-size: 13px; }
}

/* Each group is collapsible so the page stays short; click a heading to open it. */
.res-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.res-group summary::-webkit-details-marker { display: none; }
.res-group summary h2 { margin: 0; font-size: 15px; letter-spacing: .16em; color: var(--navy); }
.res-group summary::after { content: "+"; font-size: 24px; line-height: 1; font-weight: 400; color: var(--brick); flex: none; }
.res-group[open] summary::after { content: "\2013"; }
.res-group summary:hover h2 { color: var(--brick); }
.res-group[open] summary h2 { color: var(--brick); }
.res-group summary:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; border-radius: 3px; }
.res-group[open] summary { margin-bottom: 4px; }
