/* Solutions page only (/solutions). Every selector starts with .pg-solutions. Tokens come from site.css. */

/* Audience index under the page head */
.pg-solutions .audidx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(28px, 4vw, 44px); }
.pg-solutions .audidx a { display: grid; gap: 6px; align-content: start; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; min-width: 0; }
.pg-solutions .audidx a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.pg-solutions .audidx b { font: 600 1.375rem/1.15 var(--font-display); letter-spacing: -.02em; }
.pg-solutions .audidx span { color: var(--fg-2); font-size: .9375rem; }
.pg-solutions .audidx a:hover b { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .pg-solutions .audidx { grid-template-columns: minmax(0, 1fr); }
  .pg-solutions .audidx a + a { padding-left: 0; border-left: 0; }
}

.pg-solutions .aud { scroll-margin-top: 84px; }
.pg-solutions .aud__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .pg-solutions .aud__grid { grid-template-columns: minmax(0, 1fr); } }
.pg-solutions .aud__col { display: grid; gap: clamp(28px, 4vw, 40px); align-content: start; min-width: 0; }
.pg-solutions .block { display: grid; gap: 14px; align-content: start; }
.pg-solutions .block > p { color: var(--fg-2); }
.pg-solutions .block h3 { font-size: 1.3rem; }

/* Hairline list of what each desk gets */
.pg-solutions .lines { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--line); }
.pg-solutions .lines li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.pg-solutions .lines b { color: var(--fg); font-weight: 600; }

/* A day, in order: numbered rows */
.pg-solutions .daysteps { margin: 0; padding: 0; list-style: none; counter-reset: ds; display: grid; border-top: 1px solid var(--line); }
.pg-solutions .daysteps li { counter-increment: ds; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.pg-solutions .daysteps li::before { content: counter(ds); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--fill-2); color: var(--fg); font: 700 .875rem/1 var(--font-display); }

/* The right plan */
.pg-solutions .fit { display: grid; border-top: 1px solid var(--line); }
.pg-solutions .fit__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pg-solutions .fit__row b { font: 700 1.375rem/1 var(--font-display); letter-spacing: -.02em; }
.pg-solutions .fit__row .num { font: 700 1.375rem/1 var(--font-display); letter-spacing: -.02em; }
.pg-solutions .fit__row .num small { font: 500 .8125rem var(--font-text); color: var(--fg-3); margin-left: 3px; letter-spacing: 0; }
.pg-solutions .fit__row p { grid-column: 1 / -1; color: var(--fg-2); font-size: .9375rem; }

/* Sixt travel-agent money sheet */
.pg-solutions .tasheet { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.pg-solutions .tasheet dt, .pg-solutions .tasheet dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.pg-solutions .tasheet dt { font-weight: 600; }
.pg-solutions .tasheet dt small { display: block; font-weight: 400; font-size: .8125rem; color: var(--fg-3); }
.pg-solutions .tasheet dd { text-align: right; color: var(--fg-2); font-size: .875rem; padding-left: 16px; }
.pg-solutions .tasheet dt:nth-last-of-type(1), .pg-solutions .tasheet dd:last-of-type { border-bottom: 0; }

/* Employment letter (template with fields) */
.pg-solutions .letter { display: grid; gap: 12px; color: var(--fg-2); }
.pg-solutions .letter .ph { color: var(--fg); background: var(--fill); border-radius: 5px; padding: 0 4px; }

/* Lengths per company */
.pg-solutions .lens { display: grid; gap: 0; }
.pg-solutions .lens__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pg-solutions .lens__row:last-child { border-bottom: 0; }
.pg-solutions .lens__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.pg-solutions .guides { margin-top: clamp(28px, 4vw, 40px); }
.pg-solutions .guides h3 { font-size: 1.125rem; margin-bottom: 8px; }
.pg-solutions .ftable td { color: var(--fg-2); }
/* Tables become one card per row on phones (labels from data-l) */
@media (max-width: 640px) {
  .pg-solutions .ftable--stack { min-width: 0; }
  .pg-solutions .ftable--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pg-solutions .ftable--stack tr { display: grid; gap: 6px; padding: 16px; border-bottom: 1px solid var(--line); }
  .pg-solutions .ftable--stack tr:last-child { border-bottom: 0; }
  .pg-solutions .ftable--stack th, .pg-solutions .ftable--stack td { display: block; padding: 0; border: 0; white-space: normal; }
  .pg-solutions .ftable--stack tbody th { font-size: 1rem; margin-bottom: 4px; }
  .pg-solutions .ftable--stack td[data-l]::before { content: attr(data-l); display: block; font-size: .75rem; font-weight: 600; color: var(--fg-3); }
}
