/* Hallmark v2.0.0 | shape: role detail | theme: existing VkusVill site | hero: split photo | nav: existing | signature: work in context */
/* critique: keep the application button visible and make preparation for each role easy to scan. */
html, body { overflow-x: clip; }
.role-page { --role-divider: 1px solid var(--line); }
.role-page :focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.role-page .skip {
  position: absolute;
  top: 12px;
  left: 12px;
  clip-path: inset(50%);
}
.role-page .skip:focus { clip-path: none; }
.role-page .btn--lg { min-height: 48px; padding-block: 15px; }
.role-page .btn--sm { min-height: 44px; }
.role-page .btn:active { transform: translate(-1px,-1px); }
.role-page .btn { justify-content: center; }
.role-page .h2,
.role-page h1 { min-width: 0; overflow-wrap: break-word; }
.role-page .hdr__nav a[aria-current] { color: var(--orange); text-decoration: underline; text-underline-offset: 5px; }
.role-hero { background: var(--sand); border-bottom: 2px solid var(--ink); padding-block: clamp(36px, 6vw, 88px); }
.role-hero__in { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 5vw, 76px); }
.role-hero h1 { font: 900 clamp(38px, 5.2vw, 73px)/1.05 var(--serif); letter-spacing: -.04em; text-wrap: balance; }
.role-hero p { max-width: 34ch; margin-block: 20px 24px; color: var(--ink-2); font-size: clamp(17px, 2.2vw, 21px); }
.role-hero img { width: 100%; border: 2px solid var(--ink); border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; }
.role-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 4vw, 52px); padding-block: 24px; }
.role-facts div { min-width: 0; }
.role-facts div + div { border-left: var(--role-divider); padding-left: clamp(16px, 4vw, 52px); }
.role-facts dt { color: var(--ink-2); font-size: 15px; }
.role-facts dd { min-width: 0; font-weight: 700; }
.role-duties { border-top: var(--role-divider); padding-block: clamp(52px, 7vw, 96px); }
.role-duties__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(28px, 6vw, 92px); }
.role-duties li { padding-block: 20px; border-bottom: var(--role-divider); }
.role-duties li:first-child { padding-top: 0; }
.role-duties h3 { font: 700 21px/1.25 var(--serif); margin-bottom: 8px; }
.role-duties p, .role-notes p { color: var(--ink-2); }
.role-notes { background: var(--sand); padding-block: clamp(48px, 7vw, 92px); }
.role-notes .h2 { max-width: 20ch; }
.role-notes p { max-width: 68ch; margin-top: 20px; }
.role-notes .role-example { padding: 16px; border: var(--role-divider); border-radius: 12px; font-weight: 600; color: var(--ink); }
.role-source { display: inline-block; margin-top: 20px; font-size: 15px; text-underline-offset: 3px; }
.role-page .faq { background: var(--cream); }
.role-next { padding-block: clamp(40px, 6vw, 72px); border-block: var(--role-divider); }
.role-next__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 36px; }
.role-next h2 { font: 700 clamp(22px, 3vw, 32px)/1.24 var(--serif); }
.role-next nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.role-next a { font-weight: 600; text-underline-offset: 4px; }
.role-page .cta .btn { color: var(--ink); }
.role-page .cta .h2 { color: var(--white); }
.role-page a:hover:not(.btn) { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) {
  .role-hero__in, .role-duties__in { grid-template-columns: minmax(0, 1fr); }
  .role-hero h1 { max-width: 17ch; }
  .role-hero img { max-height: 390px; }
  .role-facts { grid-template-columns: minmax(0, 1fr); padding-block: 20px; gap: 12px; }
  .role-facts div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; }
  .role-facts div + div { border-left: 0; border-top: var(--role-divider); padding: 12px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .role-page *, .role-page *::before, .role-page *::after { animation: none; transition: none; }
}
