/* =============================================================================
   Viva Talent — shared components
   Every value below was read from Figma ND8Vh51S7xfOXKOvIZ7Dn2 (page 354:1299).
   CSS defaults follow the INSTANCES used on the 5 page frames; where a main
   component draws a different default, it is noted in components/*.html.
   Strokes marked INSIDE in Figma are drawn as inset box-shadows (no layout shift).
   Mobile first (Figma Mobile 375) · desktop ≥ 1024px (Figma Desktop 1440).
   px line-heights are Figma's values rounded half-up — Figma text boxes are whole-pixel (see base.css).
   ============================================================================= */

/* -----------------------------------------------------------------------------
   BUTTONS — Button/Primary 194:27 · Button/Secondary 194:43 · Button/Accent 194:59
   ----------------------------------------------------------------------------- */
.vt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  flex: none;
  padding: 15px 28px;
  border: 0; border-radius: var(--vt-radius-pill);
  font-family: var(--vt-font-text); font-weight: 600;
  font-size: 15px; line-height: 15px;           /* UI/Pill Label */
  white-space: nowrap; cursor: pointer;
  color: var(--cliente-p1-rol-deep);
  background: transparent;
}
.vt-btn:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 0; }
.vt-btn:active { opacity: var(--vt-state-active-opacity); }
.vt-btn[disabled], .vt-btn[aria-disabled="true"] { opacity: var(--vt-state-disabled-opacity); cursor: not-allowed; }
a.vt-btn[aria-disabled="true"] { pointer-events: none; }   /* a link cannot be disabled natively: block the click */

/* Primary — dark pill + round arrow "dot" (instances: fill deep, dot secondary) */
.vt-btn--primary {
  justify-content: flex-start;
  padding: 15px 8px 15px 28px;
  background: var(--cliente-p1-rol-deep);
  color: var(--vt-base-white);
}
.vt-btn__dot {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: var(--vt-radius-pill);
  background: var(--cliente-p1-rol-secondary);
  color: var(--cliente-p1-rol-deep);
  font-size: 16px; line-height: 19px; font-weight: 600;
}
/* Header "Register a Vacancy" override (360:89): fill link-on-dark, text azul-800 */
.vt-btn--sky { background: var(--cliente-p2-rol-link-on-dark); color: var(--cliente-p1-azul-lima-azul-800); }

/* Secondary — outline (Ground=light) */
.vt-btn--secondary { box-shadow: inset 0 0 0 1.5px var(--vt-neutral-200); }
.vt-btn--secondary:hover { background: var(--vt-neutral-50); }            /* 194:31 */
/* Secondary — Ground=dark (207:165) */
.vt-btn--on-dark { box-shadow: inset 0 0 0 1.5px var(--vt-raw-white-a40); color: var(--vt-base-white); }
.vt-btn--on-dark:hover { background: var(--vt-raw-white-a08); }           /* 207:167 */
.vt-btn--on-dark:focus-visible { outline-color: var(--vt-semantic-link-on-dark); }

/* Filled overrides used on the pages */
.vt-btn--white { background: var(--vt-base-white); }                        /* Accent Tone=white 209:204 */
.vt-btn--white:hover { background: var(--vt-raw-state-white-hover); }
.vt-btn--cyan  { background: var(--vt-semantic-field); }                    /* Accent Tone=cyan 194:44 */
.vt-btn--lime  { background: var(--cliente-p2-rol-accent); }                /* "Drop CV" 360:88 */
/* footer "Subscribe" 201:55. Figma fills it secondary #0460D9: deep text on it is 3.39:1 (fails AA for 15px).
   Contrast fix 2026-10-20 (Juan OK): the next shade of the same Viva blue ramp, tertiary #1583D1 — deep text 4.80:1,
   fill vs the #1E1962 footer slab 3.79:1 (was 2.69). */
.vt-btn--blue  { background: var(--cliente-p1-rol-tertiary); padding-inline: 24px; }

/* -----------------------------------------------------------------------------
   CIRCLE BUTTON — 195:44 (44 × 44)
   ----------------------------------------------------------------------------- */
.vt-circle-btn {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: var(--vt-radius-pill);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-200);
  color: var(--vt-semantic-ink);
}
.vt-circle-btn:hover { background: var(--vt-neutral-50); }
.vt-circle-btn:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 0; }
/* Disabled buttons keep their resting fill on hover (a disabled <button> still matches :hover). */
.vt-btn--secondary:is([disabled], [aria-disabled="true"]):hover, .vt-btn--on-dark:is([disabled], [aria-disabled="true"]):hover { background: transparent; }
.vt-btn--white:is([disabled], [aria-disabled="true"]):hover, .vt-circle-btn:is([disabled], [aria-disabled="true"]):hover { background: var(--vt-base-white); }

/* -----------------------------------------------------------------------------
   CHIP — 195:22 (32 high)
   ----------------------------------------------------------------------------- */
.vt-chip {
  display: inline-flex; align-items: center; flex: none;
  height: 32px; padding: 0 16px;
  border-radius: var(--vt-radius-pill);
  background: var(--vt-neutral-50);
  box-shadow: inset 0 0 0 1px var(--vt-neutral-100);
  font-size: 13px; line-height: 16px; font-weight: 600;
  color: var(--vt-neutral-700);
  white-space: nowrap;
}
a.vt-chip:hover { background: var(--vt-neutral-100); }                     /* 195:4 */
.vt-chip--cyan {
  background: var(--vt-raw-chip-cyan-bg);
  box-shadow: inset 0 0 0 1px var(--vt-raw-chip-cyan-line);
  color: var(--cliente-p1-rol-primary);                                     /* instance override of #005E90 */
}
a.vt-chip--cyan:hover { background: var(--vt-raw-chip-cyan-line); }         /* 195:14 */
.vt-chip:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 0; }

/* -----------------------------------------------------------------------------
   INPUT — Input/Pill 195:33 (56 high) + field label (VT/Label)
   ----------------------------------------------------------------------------- */
.vt-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.vt-input {
  display: block; width: 100%; height: 56px;
  padding: 0 24px;
  border: 0; border-radius: var(--vt-radius-pill);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-200);
  font-size: 15px; line-height: 18px; font-weight: 400;
  color: var(--vt-semantic-ink);
  appearance: none;
}
.vt-input::placeholder { color: var(--vt-neutral-500); opacity: 1; }
.vt-input:hover { box-shadow: inset 0 0 0 1.5px var(--vt-raw-state-focus); }   /* 195:25 */
.vt-input:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 0; }

/* -----------------------------------------------------------------------------
   CHECKBOX — 369:1124 (20 × 20, r6)
   ----------------------------------------------------------------------------- */
.vt-checkbox {
  appearance: none; flex: none;
  width: 20px; height: 20px; margin: 0;
  border-radius: var(--vt-radius-6);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-200);
  cursor: pointer;
}
.vt-checkbox:checked {
  background: var(--cliente-p1-rol-secondary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 10.5L8.5 13.5L14.5 6.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  box-shadow: none;
}
.vt-checkbox:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 0; }

/* -----------------------------------------------------------------------------
   HEADER — 2 rows · 361:68 (Desktop 360:123 / Mobile 360:3261)
   ----------------------------------------------------------------------------- */
.vt-header { background: var(--cliente-p1-rol-deep); color: var(--vt-base-white); }
.vt-header--overlay { background: transparent; }                            /* Ground=overlay 360:124 */
.vt-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 76px 1px auto 1px;
  grid-template-areas: "logo tools" "div div" "ctas ctas" "line line";
}
.vt-header__logo  { grid-area: logo; align-self: center; justify-self: start; width: 109px; height: 56px; }
.vt-header__logo img { width: 109px; height: 56px; }
.vt-header__tools { grid-area: tools; display: flex; align-items: center; gap: 10px; }
.vt-header__div   { grid-area: div; background: var(--vt-raw-white-a16); }
.vt-header__line  { grid-area: line; background: var(--vt-raw-white-a16); }
.vt-header__ctas  { grid-area: ctas; display: flex; align-items: center; gap: 10px; padding: 12px 0 14px; }
.vt-header__dropcv   { height: 48px; padding: 0 22px; }
.vt-header__register { flex: 1 1 auto; height: 48px; padding: 0 7px 0 20px; justify-content: space-between; }
.vt-header__nav { grid-area: nav; display: none; }

@media (min-width: 1024px) {
  .vt-header__inner {
    grid-template-columns: 1fr auto auto;
    grid-template-rows: 88px 1px 54px 1px;
    grid-template-areas: "logo tools ctas" "div div div" "nav nav nav" "line line line";
    column-gap: 12px;
  }
  .vt-header__menu { display: none; }
  .vt-header__ctas { padding: 0; gap: 12px; }
  .vt-header__dropcv   { height: 65px; padding: 0 40px; }
  .vt-header__register { flex: none; height: 64px; padding: 0 8px 0 28px; justify-content: flex-start; }
  .vt-header__nav { display: flex; align-items: center; gap: 20px; }
}
.vt-header__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; line-height: 15px; font-weight: 500;                     /* UI/Nav Link */
  color: var(--vt-semantic-link-on-dark);
}
.vt-header__link .vt-icon { color: var(--vt-semantic-link-on-dark); }
/* Sub-menus (client order, content matrix rows 9-10). Figma draws the chevrons, not the panel: dp-uiux gate. */
body > .vt-header { position: relative; z-index: 50; }   /* its view-transition-name makes a stacking context: without this the panel paints under the hero */
.vt-header__item { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.vt-header__caret {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0;
  border: 0; border-radius: 4px; background: none; color: var(--vt-semantic-link-on-dark); cursor: pointer;
}
.vt-header__caret:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 0; }
.vt-header__caret .vt-icon { transition: transform 160ms ease-out; }
.vt-header__item.is-open .vt-header__caret .vt-icon { transform: rotate(180deg); }
.vt-header__sub {
  display: none; position: absolute; z-index: 40; top: 100%; left: -12px; min-width: 232px; margin: 0; padding: 8px;
  list-style: none; border-radius: var(--vt-radius-24); background: var(--vt-base-white); box-shadow: var(--vt-shadow-card);
  --vt-raw-state-focus: var(--vt-semantic-ink);   /* the header's white ring would vanish on this white panel */
}
.vt-header__item.is-open .vt-header__sub { display: block; }
@media (hover: hover) { .vt-header__item:not(.is-dismissed):hover .vt-header__sub { display: block; } }
.vt-header__sublink {
  display: block; padding: 10px 14px; border-radius: 16px;
  font-size: 15px; line-height: 20px; font-weight: 500; color: var(--vt-semantic-ink);
}
.vt-header__sublink:hover { background: var(--vt-neutral-50); }
.vt-header__sublink:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 0; }
.vt-header__sep { width: 1px; height: 16px; background: var(--vt-raw-white-a22); flex: none; }

/* -----------------------------------------------------------------------------
   FOOTER — Footer • Desktop 201:38 · Footer · Mobile 364:681
   ----------------------------------------------------------------------------- */
.vt-footer { background: var(--vt-semantic-slab); color: var(--cliente-p1-rol-tint-200); padding-block: 48px 28px; }
.vt-footer__top {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 24px; row-gap: 36px; align-items: start;
}
.vt-footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; }
.vt-footer__logo { width: 109px; height: 56px; }
.vt-footer__text { margin-top: 20px; font-size: 14.5px; line-height: 23px; } /* Figma 23.2 — its text boxes round to whole px (46 for 2 lines) */
.vt-footer__form { margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.vt-footer__email {
  flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 12px 0 20px; /* Figma text overruns the 20px right pad (201:53) */
  border: 0; border-radius: var(--vt-radius-pill); background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--vt-raw-white-a32);
  font-size: 15px; line-height: 15px; font-weight: 600;
  color: var(--cliente-p1-rol-tint-200);
}
.vt-footer__email::placeholder { color: var(--cliente-p1-rol-tint-200); opacity: 1; }
.vt-footer__col { padding-bottom: 11px; }                                   /* trailing _gap11 in Figma */
.vt-footer__heading {
  font-size: 11.5px; line-height: 14px; font-weight: 700;       /* Figma 13.8 → box 14 */
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--vt-base-white);
}
.vt-footer__links { margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.vt-footer__links a { display: block; font-size: 14.5px; line-height: 23px; color: var(--cliente-p1-rol-tint-200); }
.vt-footer__links a:hover { color: var(--vt-base-white); }
.vt-footer__base { margin-top: 36px; border-top: 1px solid var(--vt-raw-white-a16); padding-top: 24px; }
/* VT/Meta. Figma colours it tertiary #1583D1: 3.79:1 on the #1E1962 slab (fails AA for 13px). Contrast fix
   2026-10-20 (Juan OK): brand cyan #00AFEF, the token already used on this slab (.hm-step__num) — 6.11:1. */
.vt-footer__copy { font-size: 13px; line-height: 19px; color: var(--vt-semantic-field); }
.vt-footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 1024px) {
  .vt-footer { padding-block: 72px 34px; }
  .vt-footer__top { grid-template-columns: 266px repeat(4, minmax(0, 1fr)); column-gap: 32px; row-gap: 0; }
  .vt-footer__brand { grid-column: auto; }
  .vt-footer__col { padding-bottom: 0; }
  .vt-footer__links .vt-footer__gap2 { margin-top: 11px; }                 /* Desktop master keeps two _gap11 frames (201:70 + 201:72) */
  .vt-footer__base { margin-top: 52px; }
}

/* -----------------------------------------------------------------------------
   PAGE HERO — 364:700 (Desktop 364:690 / Mobile 364:699) + breadcrumb
   Fills (bottom → top): gradient deep→azul-800→primary · optional photo @ 20 %
   ----------------------------------------------------------------------------- */
.vt-page-hero { position: relative; overflow: hidden; background: var(--vt-gradient-deep); color: var(--vt-base-white); }
.vt-page-hero[data-photo]::before {
  content: ""; position: absolute; inset: 0;
  background: var(--vt-hero-photo-m, var(--vt-hero-photo)) center / cover no-repeat;
  opacity: 0.2; pointer-events: none;
}
.vt-page-hero__inner { position: relative; display: flex; flex-direction: column; gap: 28px; padding-block: 36px 52px; }
.vt-page-hero__titles { display: flex; flex-direction: column; gap: 16px; }
.vt-page-hero__title {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 40px; line-height: 40px; letter-spacing: -1px;
  color: var(--vt-base-white);
}
.vt-page-hero__intro { font-size: 16px; line-height: 25px; color: var(--cliente-p1-rol-tint-200); }
@media (min-width: 1024px) {
  .vt-page-hero__inner { gap: 40px; padding-block: 64px 96px; }
  .vt-page-hero__titles { gap: 22px; }
  .vt-page-hero__title { max-width: 1000px; font-size: 72px; line-height: 69px; letter-spacing: -1.8px; }
  .vt-page-hero__intro { max-width: 720px; font-size: 19px; line-height: 29px; }
}
.vt-accent-rule { display: block; width: 64px; height: 5px; border-radius: var(--vt-radius-3); background: var(--vt-raw-lime); }

.vt-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 13px; line-height: 16px; }
.vt-breadcrumb__trail { font-weight: 500; color: var(--vt-raw-sky); white-space: pre; }
.vt-breadcrumb__current { font-weight: 600; color: var(--vt-base-white); }
@media (min-width: 1024px) { .vt-breadcrumb { font-size: 14px; line-height: 17px; } }

/* -----------------------------------------------------------------------------
   CARD / SECTOR — 367:613 (Tone=light 367:604 · Tone=dark 367:612)
   ----------------------------------------------------------------------------- */
.vt-card-sector {
  display: flex; flex-direction: column; gap: 22px;
  padding: 20px 16px 20px 18px;
  border-radius: var(--vt-radius-28);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.vt-card-sector__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vt-card-sector__title {
  flex: 1 1 auto; min-width: 0;
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 18px; line-height: 21px; letter-spacing: -0.27px;
  color: var(--vt-semantic-ink);
}
.vt-card-sector__icon { display: none; color: var(--cliente-p1-rol-secondary); }  /* hidden on Mobile instances */
.vt-card-sector__count { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--cliente-p1-rol-primary); }
.vt-card-sector--dark { background: var(--vt-semantic-slab); box-shadow: none; }
.vt-card-sector--dark .vt-card-sector__title { color: var(--vt-base-white); }
.vt-card-sector--dark .vt-card-sector__icon  { color: var(--vt-raw-lime); }
.vt-card-sector--dark .vt-card-sector__count { color: var(--vt-raw-sky); }
@media (min-width: 1024px) {
  .vt-card-sector { gap: 36px; padding: 26px 24px 26px 28px; }
  .vt-card-sector__title { font-size: 24px; line-height: 28px; letter-spacing: -0.36px; }
  .vt-card-sector__icon { display: inline-block; }
  .vt-card-sector__count { font-size: 14px; line-height: 17px; }
}

/* -----------------------------------------------------------------------------
   CARD / JOB · ROW — 364:721 (desktop list row)
   ----------------------------------------------------------------------------- */
.vt-card-job-row {
  display: flex; align-items: center; gap: 40px;
  padding: 28px 32px;
  border-radius: var(--vt-radius-28);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.vt-card-job-row__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.vt-card-job-row__pills { display: flex; gap: 8px; padding-bottom: 6px; }
.vt-card-job-row__title {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 26px; line-height: 30px; letter-spacing: -0.39px;
  color: var(--vt-semantic-ink);
}
.vt-card-job-row__meta { font-size: 14px; line-height: 17px; color: var(--vt-semantic-meta); white-space: pre-wrap; }
.vt-card-job-row__excerpt { font-size: 15px; line-height: 23px; color: var(--vt-semantic-body); }
.vt-card-job-row__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.vt-card-job-row__salary {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 22px; line-height: 26px; letter-spacing: -0.22px;
  color: var(--vt-semantic-ink); white-space: nowrap;
}
.vt-card-job-row__closes { font-size: 13px; line-height: 16px; color: var(--vt-semantic-meta); }
.vt-card-job-row__actions { display: flex; align-items: center; gap: 10px; padding-top: 10px; }

/* -----------------------------------------------------------------------------
   CARD / JOB — 196:71 (stacked card; used on Mobile)
   ----------------------------------------------------------------------------- */
.vt-card-job {
  display: flex; flex-direction: column;
  padding: 28px;
  border-radius: var(--vt-radius-28);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.vt-card-job__pills { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 22px; }
.vt-card-job__title {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 28px; line-height: 32px; letter-spacing: -0.42px;
  color: var(--vt-semantic-ink);
}
.vt-card-job__employer { margin-top: 10px; font-size: 13px; line-height: 19px; color: var(--vt-semantic-meta); }
.vt-card-job__rows { padding: 24px 0 22px; }
.vt-card-job__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 45px; border-top: 1px solid var(--vt-neutral-100);
}
.vt-card-job__row:last-child { height: 46px; border-bottom: 1px solid var(--vt-neutral-100); }
.vt-card-job__link { font-size: 15px; line-height: 15px; font-weight: 600; color: var(--cliente-p1-rol-primary); }

/* -----------------------------------------------------------------------------
   CARD / LINK — 375:2236
   ----------------------------------------------------------------------------- */
.vt-card-link {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 30px;
  border-radius: var(--vt-radius-28);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.vt-card-link__title {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 24px; line-height: 29px; letter-spacing: -0.36px;
  color: var(--vt-semantic-ink);
}
.vt-card-link__desc { font-size: 15px; line-height: 23px; color: var(--vt-semantic-body); }
.vt-card-link__go { font-size: 15px; line-height: 18px; font-weight: 600; color: var(--cliente-p1-rol-primary); }

/* -----------------------------------------------------------------------------
   PAGINATION — 365:707 (Desktop 365:705 / Mobile 365:706)
   ----------------------------------------------------------------------------- */
.vt-pagination { display: flex; align-items: center; gap: 8px; }
.vt-pagination__page {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: var(--vt-radius-pill);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-200);
  font-size: 15px; line-height: 18px; font-weight: 600;
  color: var(--vt-semantic-ink);
}
.vt-pagination__page[aria-current="page"] { background: var(--cliente-p1-rol-deep); box-shadow: none; color: var(--vt-base-white); }
.vt-pagination__page--gap { background: none; box-shadow: none; }
.vt-pagination--mobile { justify-content: space-between; width: 100%; }
.vt-pagination__label { font-size: 14px; line-height: 17px; font-weight: 600; color: var(--vt-semantic-ink); }

/* Article hero (399:6045 / 400:6179): the photo fill exists on Desktop only */
@media (min-width: 1024px) {
  .vt-page-hero[data-photo]::before { background-image: var(--vt-hero-photo); }
  .vt-page-hero[data-photo-desktop]::before {
    content: ""; position: absolute; inset: 0;
    background: var(--vt-hero-photo) center / cover no-repeat;
    opacity: 0.2; pointer-events: none;
  }
}

/* -----------------------------------------------------------------------------
   CARD / RESOURCE — 214:1946 (State=default 197:35)
   Stroke is drawn above the image (Figma paints frame strokes over children).
   ----------------------------------------------------------------------------- */
.vt-card-resource {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--vt-radius-28);
  background: var(--vt-base-white);
}
.vt-card-resource::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100); pointer-events: none;
}
.vt-card-resource__media { height: 196px; }
.vt-card-resource__media img { width: 100%; height: 100%; object-fit: cover; }
.vt-card-resource__body { display: flex; flex-direction: column; padding: 26px; }
.vt-card-resource__meta { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; }
.vt-card-resource__date { font-size: 13px; line-height: 19px; color: var(--vt-semantic-meta); }
.vt-card-resource__title {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 24px; line-height: 28px; letter-spacing: -0.36px;
  color: var(--vt-semantic-ink);
}
.vt-card-resource__standfirst { margin-top: 14px; font-size: 15px; line-height: 24px; color: var(--vt-semantic-body); }
.vt-card-resource__more { margin-top: 22px; font-size: 15px; line-height: 15px; font-weight: 600; color: var(--cliente-p1-rol-primary); }

/* -----------------------------------------------------------------------------
   TABS — pill tabs (Employer Portal 388:4043 / 391:4408 · Account 397:5544)
   Mobile: horizontal scroller clipped to the column (391:4408 clips a 705px row)
   ----------------------------------------------------------------------------- */
.vt-tabs-scroller { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.vt-tabs-scroller::-webkit-scrollbar { display: none; }
.vt-tabs { display: flex; gap: 8px; width: max-content; }
.vt-tab {
  display: inline-flex; align-items: center; flex: none;
  height: 42px; padding: 0 22px;
  border-radius: var(--vt-radius-pill);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-200);
  font-size: 15px; line-height: 18px; font-weight: 600;
  color: var(--vt-semantic-ink); white-space: nowrap;
}
.vt-tab[aria-current="page"] { background: var(--cliente-p1-rol-deep); box-shadow: none; color: var(--vt-base-white); }

/* -----------------------------------------------------------------------------
   STATUS PILL — 30 high (pill/* frames on Employer Portal 388:4094…)
   ----------------------------------------------------------------------------- */
.vt-status {
  display: inline-flex; align-items: center; flex: none;
  height: 30px; padding: 0 14px; border-radius: var(--vt-radius-pill);
  font-size: 13px; line-height: 16px; font-weight: 600; white-space: nowrap;
}
.vt-status--neutral { background: var(--vt-neutral-50); box-shadow: inset 0 0 0 1px var(--vt-neutral-100); color: var(--vt-neutral-700); } /* Draft · Submitted */
.vt-status--cyan    { background: var(--vt-raw-chip-cyan-bg); box-shadow: inset 0 0 0 1px var(--vt-raw-chip-cyan-line); color: var(--cliente-p1-rol-primary); } /* Live · Under review */
.vt-status--lime    { background: var(--vt-raw-lime); color: var(--cliente-p1-rol-deep); }            /* Pending approval · Interview */
.vt-status--muted   { background: var(--vt-neutral-100); color: var(--vt-semantic-meta); }            /* Expired */
.vt-status--tint    { background: var(--cliente-p1-rol-tint-200); color: var(--cliente-p1-rol-primary); } /* Filled / Closed · Shortlisted */

/* -----------------------------------------------------------------------------
   ACCOUNT BAND — gradient band on signed-in pages (388:4036 / 391:4401)
   ----------------------------------------------------------------------------- */
.vt-account-band { background: var(--vt-gradient-deep); color: var(--vt-base-white); padding-block: 36px 40px; }
.vt-account-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.vt-account-band__copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vt-account-band__eyebrow { font-size: 14px; line-height: 17px; font-weight: 500; color: var(--vt-raw-sky); }
.vt-account-band__title {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 40px; line-height: 40px; letter-spacing: -1px;
  color: var(--vt-base-white);
}
.vt-account-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (min-width: 1024px) {
  .vt-account-band { padding-block: 56px; }
  .vt-account-band__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .vt-account-band__title { font-size: 60px; line-height: 60px; letter-spacing: -1.5px; }
}

/* -----------------------------------------------------------------------------
   KEY / VALUE ROWS — Applicant record rows 388:4221 (41 high + hairline)
   ----------------------------------------------------------------------------- */
.vt-kv { padding: 16px 0 20px; }
.vt-kv__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 42px; border-top: 1px solid var(--vt-neutral-100);
}
.vt-kv__key {
  font-size: 11.5px; line-height: 14px; font-weight: 700;
  letter-spacing: 1.38px; text-transform: uppercase; color: var(--vt-semantic-meta);
}
.vt-kv__value { font-size: 14px; line-height: 17px; font-weight: 600; color: var(--vt-semantic-ink); text-align: right; }
.vt-kv__value--link { color: var(--cliente-p1-rol-primary); }
.vt-hairline { display: block; height: 1px; background: var(--vt-neutral-100); flex: none; }

/* -----------------------------------------------------------------------------
   CTA BAND — field-coloured closing band (367:931 / 368:1096)
   ----------------------------------------------------------------------------- */
.vt-cta-band { background: var(--vt-semantic-field); padding-block: 56px; }
.vt-cta-band__inner { display: flex; flex-direction: column; gap: 28px; }
.vt-cta-band__title {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 34px; line-height: 34px; letter-spacing: -0.68px;
  color: var(--vt-semantic-ink);
}
.vt-cta-band__sub { margin-top: 16px; font-size: 16px; line-height: 25px; color: rgba(30, 25, 98, 0.82); } /* ink @ 82 % layer opacity in Figma */
.vt-cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
@media (min-width: 1024px) {
  .vt-cta-band { padding-block: 84px; }
  .vt-cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  .vt-cta-band__copy { flex: 1 1 auto; min-width: 0; }
  .vt-cta-band__title { font-size: 56px; line-height: 56px; letter-spacing: -1.4px; }
  .vt-cta-band__sub { font-size: 19px; line-height: 29px; }
  .vt-cta-band__actions { flex-wrap: nowrap; }
}

/* -----------------------------------------------------------------------------
   NARROW PHONES — below Figma's 375 frame (not drawn): rows wrap instead of overflowing.
   Nothing here applies at 375 or wider, so the Figma frames are untouched.
   ----------------------------------------------------------------------------- */
@media (max-width: 374.98px) {
  .vt-header__ctas { gap: 8px; }
  .vt-header__dropcv { padding: 0 14px; }
  .vt-header__register { min-width: 0; padding-left: 14px; font-size: 14px; }
  .ca-how__cta, .hm-how__cta, .lr-options, .vt-cta-band__actions { flex-wrap: wrap; row-gap: 12px; }
}
@media (max-width: 339.98px) {
  .vt-header__register .vt-btn__dot { display: none; }
  .vt-header__register { padding-right: 14px; }
}

/* -----------------------------------------------------------------------------
   HEADER SEARCH PANEL — content matrix row 12. Viva UI/UX Figma ND8Vh51S7xfOXKOvIZ7Dn2, header search frames
   (open desktop / open mobile; node ids pending from mkt-graphic). Approved by Juan 2026-11-04. Behaviour: js/ui.js §7.
   Desktop: a panel drops under the header and a scrim covers the page below it.
   Mobile (< 1024): a full-screen sheet above everything, header included.
   ----------------------------------------------------------------------------- */
.vt-header__search[aria-expanded="true"],
.vt-header__search[aria-expanded="true"]:hover { background: var(--cliente-p2-rol-accent); color: var(--cliente-p1-rol-deep); box-shadow: none; }
html.vt-search-open { overflow: hidden; scrollbar-gutter: stable; } /* no layout shift when the scrollbar goes (dp-uiux F1) */
.vt-search { position: fixed; left: 0; right: 0; top: var(--vt-search-top, 0px); z-index: 1010; /* above the condensed bar (900) and the menu (1000) */
  background: var(--vt-gradient-deep); color: var(--vt-base-white);
  padding-block: 28px 36px; box-shadow: 0 18px 46px rgba(1, 11, 43, 0.32); }
.vt-search[hidden], .vt-search-scrim[hidden] { display: none; }
.vt-search__inner { display: flex; flex-direction: column; gap: 16px; }
.vt-search__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vt-search__label { font-size: 12px; line-height: 15px; font-weight: 600; letter-spacing: 1.44px; text-transform: uppercase; color: var(--vt-raw-sky); }
.vt-search__close { color: var(--cliente-p1-rol-deep); }
.vt-search__form { display: flex; flex-direction: column; gap: 12px; }
.vt-search__field { position: relative; flex: 1 1 auto; }
.vt-search__field .vt-icon { position: absolute; left: 22px; top: 16px; color: var(--cliente-p1-rol-primary); pointer-events: none; }
.vt-search__field .vt-input { padding-left: 58px; height: 56px; font-size: 16px; color: var(--vt-semantic-ink); }
/* Focus ring: .vt-search is a dark ground in the "Focus ring on dark surfaces" list at the end of this file
   (white, 2px outside — the current rule; Juan's focus-ring ruling is pending). */
.vt-search__submit { height: 56px; }
.vt-search__scope { font-size: 14px; line-height: 20px; color: var(--cliente-p2-rol-link-on-dark); }
.vt-search__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vt-search__quick-label { font-size: 14px; line-height: 17px; font-weight: 600; color: var(--vt-base-white); margin-right: 4px; }
.vt-search__quick .vt-chip { background: var(--vt-raw-white-a08); box-shadow: inset 0 0 0 1px var(--vt-raw-white-a32); color: var(--vt-base-white); text-decoration: none; }
.vt-search-scrim { position: fixed; left: 0; right: 0; bottom: 0; top: var(--vt-search-top, 0px); z-index: 1005; background: rgba(1, 11, 43, 0.56); }
.vt-search__mobile-head { display: flex; align-items: center; justify-content: space-between; }
.vt-search__mobile-head img { display: block; }

@media (min-width: 1024px) {
  .vt-search { padding-block: 36px 44px; }
  .vt-search__form { flex-direction: row; align-items: center; gap: 16px; }
  .vt-search__submit { width: auto; flex: none; }
  .vt-search__mobile-head { display: none; }
}
@media (max-width: 1023.98px) {
  .vt-search { top: 0; bottom: 0; padding-block: 16px 32px; overflow-y: auto; overscroll-behavior: contain; box-shadow: none; }
  .vt-search__inner { gap: 20px; }
  .vt-search__submit { width: 100%; }
  .vt-search__top .vt-search__close { display: none; }
  .vt-search-scrim { display: none; }
}

/* Focus ring on dark surfaces (WCAG 2.4.7 / 1.4.11; dp-uiux PR #8 note 4, 2026-10-29). The #3E4095 ring is barely
   visible on the navy / deep-gradient grounds, so inside them the ring turns white, drawn 2px outside the control so
   it reads against any control fill (a lime or white button included). Light surfaces keep the Figma ring.
   Kept at the END of this file so the 2px offset wins over the per-control offset 0 rules above (same specificity).
   Covers every navy / deep / slab ground in the system (dp-qa PR #9: the slab sections .hm-how, .hm-path--dark,
   .fm-sidecard--slab were missed in the first pass; swept by background token on 2026-10-29). .vt-search = the header
   search panel (matrix row 12, 2026-11-04). */
:is(.vt-header, .vt-footer, .vt-menu, .vt-mini, .vt-toast, .vt-page-hero, .vt-account-band, .vt-card-sector--dark, .hm-hero, .hm-how,
  .hm-path--dark, .ca-hero, .ca-how, .em-hero, .em-how, .hw-steps, .js-band, .lr-unlock--dark, .ac-track, .ar-cta, .fm-sidecard--slab, .vt-search) {
  --vt-raw-state-focus: var(--vt-base-white);
}
:is(.vt-header, .vt-footer, .vt-menu, .vt-mini, .vt-toast, .vt-page-hero, .vt-account-band, .vt-card-sector--dark, .hm-hero, .hm-how,
  .hm-path--dark, .ca-hero, .ca-how, .em-hero, .em-how, .hw-steps, .js-band, .lr-unlock--dark, .ac-track, .ar-cta, .fm-sidecard--slab, .vt-search) :focus-visible {
  outline-offset: 2px;
}
/* Plain links and fields on those grounds (header / footer links, the logo, the footer email field) had no ring of
   their own and fell back to the browser's thin default ring. :where() keeps this at 0-1-0, so every control that
   draws its own ring (buttons, menu links, hero buttons) keeps it. */
:where(.vt-header, .vt-footer, .vt-menu, .vt-mini, .vt-toast, .vt-page-hero, .vt-account-band, .vt-card-sector--dark, .hm-hero, .hm-how,
  .hm-path--dark, .ca-hero, .ca-how, .em-hero, .em-how, .hw-steps, .js-band, .lr-unlock--dark, .ac-track, .ar-cta, .fm-sidecard--slab, .vt-search) :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--vt-raw-state-focus);
}
