/* Visual Guides refresh. Uses the existing site system; shared chrome stays unchanged.
 * Hallmark review is recorded in the release report after browser verification. */
html, body { overflow-x: clip; }
.ui2-product-employer-visuals {
  --vg-ink: var(--ui2-text-primary);
  --vg-muted: var(--ui2-text-secondary);
  --vg-red: var(--ui2-brand-primary);
  --vg-line: var(--ui2-border);
  --vg-cream: var(--ui2-surface-muted);
  --vg-focus: var(--ui2-focus);
  --vg-accent: var(--ui2-brand-secondary);
  --vg-paper: var(--ui2-surface);
  --vg-soft: var(--ui2-pastel-yellow);
  --vg-backdrop: rgb(16 35 63 / .78);
  --vg-control-border: #8793a5;
  font-family: var(--ui2-font-family);
}
.ui2-product-employer-visuals .vg-shell { width: min(1240px, calc(100% - 48px)); padding: 28px 0 64px; }
.vg-shell :is(h1,h2,h3) { min-width: 0; overflow-wrap: anywhere; font-style: normal; text-wrap: pretty; }
.ui2-product-employer-visuals main .ui2-hub-hero { width: 100% !important; margin: 0 !important; padding: 32px !important; gap: 32px; background: var(--vg-cream); border: 0; }
.ui2-product-employer-visuals .ui2-hub-hero h1 { color: var(--vg-ink); font-size: clamp(30px,4vw,48px); line-height: 1.25; }
.ui2-product-employer-visuals .ui2-hub-hero__media { height: 210px; }
.ui2-product-employer-visuals .vg-eyebrow { display: block; margin-bottom: 12px; color: var(--ui2-red-dark); font-size: 13px; letter-spacing: .04em; }
.vg-hero-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 16px; color: var(--vg-ink); font-weight: 750; text-decoration: none; }
.vg-hero-link span { color: var(--vg-accent); }
.vg-section { margin-top: 40px; scroll-margin-top: 100px; }
.vg-section-heading { align-items: center; margin-bottom: 16px; }
.vg-section h2 { font-size: clamp(24px,2.5vw,32px); line-height: 1.35; color: var(--vg-ink); }
.vg-section-heading p { margin-top: 6px; font-size: 15px; }
.vg-search-panel { padding: 20px; border-color: var(--vg-line); border-radius: var(--ui2-radius-md); background: var(--vg-cream); box-shadow: none; }
.vg-search-controls input,.vg-search-controls select { background: var(--vg-paper); border-color: var(--vg-control-border); font-size: 16px; }
.vg-search-controls input::placeholder { color: var(--vg-muted); }
.vg-filter-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vg-filter-reset,.vg-zoom-button,.vg-empty-state button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--vg-control-border); border-radius: var(--ui2-radius-sm); color: var(--vg-red); background: var(--vg-paper); cursor: pointer; font-weight: 700; white-space: nowrap; }
.vg-filter-reset:disabled { opacity: .55; cursor: not-allowed; }
.vg-result-summary { font-size: 14px; }
.vg-is-filtering > [aria-labelledby="featured-title"],.vg-is-filtering > [aria-labelledby="category-title"],.vg-is-filtering > [aria-labelledby="situation-title"] { display: none; }
.vg-is-filtering > .vg-topic-browser { display: none; }
.vg-topic-browser { margin-top: 24px; border-bottom: 1px solid var(--vg-line); padding-bottom: 16px; }
.vg-topic-browser > summary { min-height: 44px; padding-block: 8px; cursor: pointer; font-weight: 750; color: var(--vg-ink); }
.vg-topic-browser > summary span { margin-left: 12px; color: var(--vg-muted); font-weight: 400; font-size: 13px; white-space: nowrap; }
.vg-topic-browser .vg-section { margin-top: 20px; }
.vg-topic-browser [aria-labelledby="category-title"] .vg-section-heading { display: none; }
.vg-empty-state { padding: 32px 24px; border: 1px dashed var(--vg-control-border); border-radius: var(--ui2-radius-md); text-align: center; color: var(--vg-muted); }
.vg-empty-state[hidden] { display: none; }
.vg-category-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.vg-filter-tile { padding: 14px; border-radius: var(--ui2-radius-sm); background: var(--vg-paper); border-color: var(--vg-line); transition: border-color .18s ease, background .18s ease; }
.vg-filter-tile strong { font-size: 16px; color: var(--vg-ink); line-height: 1.5; }
.vg-filter-tile span { line-height: 1.6; }
.vg-filter-tile:hover,.vg-filter-tile[aria-pressed="true"] { background: var(--vg-soft); border-color: var(--vg-control-border); }
.vg-situation-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.vg-situation-grid .vg-filter-tile { min-height: 44px; padding: 8px 14px; border-radius: var(--ui2-radius-pill); }
.vg-situation-grid .vg-filter-tile strong { font-size: 14px; white-space: nowrap; }
.vg-situation-grid .vg-filter-tile span { display: none; }
[aria-labelledby="situation-title"] { margin-top: 24px; }
[aria-labelledby="situation-title"] h2 { font-size: 20px; }
[aria-labelledby="situation-title"] .vg-section-heading p { display: none; }
.vg-card { border-color: var(--vg-line); border-radius: var(--ui2-radius-md); box-shadow: none; background: var(--vg-paper); transition: transform .18s ease, box-shadow .18s ease; }
.vg-shell .vg-card[hidden] { display: none; }
@media(hover:hover) { .vg-card:hover { transform: translateY(-3px); box-shadow: var(--ui2-shadow-card); } }
.vg-card-media { background: var(--vg-cream); }
.vg-card:hover .vg-card-media img { transform: none; }
.vg-card-body { padding: 16px; }
.vg-card h3 { font-size: 19px; line-height: 1.5; margin: 8px 0; }
.vg-card p { font-size: 14px; line-height: 1.75; margin-bottom: 12px; }
.vg-chip { width: fit-content; max-width: 100%; color: var(--vg-ink); background: var(--vg-soft); padding: 4px 10px; font-size: 12px; font-weight: 700; }
.ui2-product-employer-visuals .vg-card h3 a { min-height: 0; }
.vg-card-link { font-size: 14px; color: var(--ui2-red-dark); white-space: nowrap; }
[aria-labelledby="featured-title"] .vg-card { display: grid; grid-template-columns: 112px minmax(0,1fr); }
[aria-labelledby="featured-title"] .vg-card-media { align-self: start; border-radius: 12px; margin: 12px 0 12px 12px; }
[aria-labelledby="featured-title"] .vg-card-body { padding: 12px; }
[aria-labelledby="featured-title"] .vg-card h3 { font-size: 16px; }
[aria-labelledby="featured-title"] .vg-card p { display: none; }
[aria-labelledby="featured-title"] .vg-card-link { font-size: 13px; }
[aria-labelledby="latest-title"] .vg-card-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
#search-title,#latest-title,#guide-images,#employer-actions,#related-guides { scroll-margin-top: 100px; }
.vg-breadcrumb { align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; }
.vg-breadcrumb a { white-space: nowrap; }
.vg-breadcrumb [aria-current="page"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(500px,100%); }
.vg-detail-hero { max-width: 920px; gap: 12px; }
.vg-detail-hero h1 { color: var(--vg-ink); font-size: clamp(28px,3.4vw,44px); line-height: 1.4; }
.vg-detail-hero .vg-intro { font-size: 18px; color: var(--vg-muted); line-height: 1.7; }
.vg-reading-time { font-size: 13px; }
.vg-reading-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; border-bottom: 1px solid var(--vg-line); padding-bottom: 12px; }
.vg-reading-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--vg-red); text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.vg-reading-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.vg-detail-layout { grid-template-columns: minmax(0,550px) minmax(0,1fr); gap: 48px; margin-top: 24px; }
.vg-reader-hint { color: var(--vg-muted); font-size: 13px; margin: 0 0 12px; }
.vg-carousel { position: static; min-width: 0; }
.vg-carousel-track { margin: 0; padding: 0; gap: 16px; list-style: none; position: relative; }
.vg-slide { flex-basis: 100%; box-shadow: none; border-radius: var(--ui2-radius-md); }
.vg-carousel-toolbar { grid-template-columns: 44px minmax(0,1fr) 48px 44px; gap: 8px; }
.ui2-product-employer-visuals .vg-dots { justify-content: center; }
.ui2-product-employer-visuals .vg-dot { flex: 1 1 0; min-width: 24px; max-width: 44px; height: 44px; }
.vg-dot::after { background: var(--vg-control-border); }
.vg-dot[aria-current="true"]::after { background: var(--vg-accent); width: 18px; border-radius: 8px; transform: translate(-50%,-50%); }
.vg-arrow { border-color: var(--vg-control-border); color: var(--vg-red); background: var(--vg-paper); }
.vg-arrow:disabled { cursor: not-allowed; opacity: .45; }
.vg-zoom-button { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
.vg-copy h2 { color: var(--vg-ink); font-size: 24px; line-height: 1.5; }
.vg-copy p,.vg-copy li { color: var(--vg-ink); line-height: 1.85; }
.vg-copy li+li { margin-top: 10px; }
.vg-copy section { margin-bottom: 32px; }
.vg-original-copy { margin-bottom: 32px; padding: 12px 16px; border: 1px solid var(--vg-line); border-radius: var(--ui2-radius-sm); }
.vg-original-copy > summary { min-height: 44px; padding-block: 8px; cursor: pointer; font-weight: 700; }
.vg-original-copy > section { margin: 16px 0 0; }
.vg-original-copy h2 { font-size: 20px; }
.vg-related-grid { grid-template-columns: minmax(0,1fr); }
.vg-related-card { padding: 16px 0; border: 0; border-bottom: 1px solid var(--vg-line); border-radius: 0; background: var(--vg-paper); }
.vg-related-card strong { color: var(--vg-red); line-height: 1.7; }
.vg-related-card span { color: var(--vg-muted); font-size: 13px; }
.vg-cta { padding: 28px; border: 1px solid var(--vg-line); border-radius: var(--ui2-radius-md); background: var(--vg-cream); color: var(--vg-ink); }
.vg-cta h2 { color: var(--vg-ink); font-size: 26px; }
.vg-cta a { color: var(--vg-paper); background: var(--vg-accent); border-radius: var(--ui2-radius-sm); white-space: nowrap; }
.vg-viewer { width: min(1120px,calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--ui2-radius-md); background: var(--vg-paper); color: var(--vg-ink); }
.vg-viewer::backdrop { background: var(--vg-backdrop); }
.ui2-product-employer-visuals.vg-viewer-open { overflow: hidden; }
.vg-viewer-toolbar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--vg-paper); border-bottom: 1px solid var(--vg-line); }
.vg-viewer-title { margin: 0; flex: 1; font-size: 16px; }
.vg-viewer-counter { white-space: nowrap; font-size: 14px; }
.vg-viewer-close,.vg-viewer-prev,.vg-viewer-next { min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--vg-control-border); border-radius: var(--ui2-radius-sm); color: var(--vg-ink); background: var(--vg-paper); cursor: pointer; white-space: nowrap; }
.vg-viewer button:disabled { opacity: .45; cursor: not-allowed; }
.vg-viewer-stage { overflow: auto; max-height: calc(100dvh - 190px); background: var(--vg-cream); }
.vg-viewer-stage:focus-visible { outline-offset: -3px; }
.vg-viewer-image { width: 100%; max-width: 1024px; height: auto; margin: auto; }
.vg-viewer-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--vg-paper); }
@media(min-width:1100px) and (min-height:1000px) { .vg-carousel { position: sticky; top: 94px; } }
@media(max-width:1050px) {
  .vg-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  [aria-labelledby="latest-title"] .vg-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  [aria-labelledby="featured-title"] .vg-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vg-detail-layout { gap: 28px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media(max-width:800px) {
  .ui2-product-employer-visuals .vg-shell { width: calc(100% - 32px); padding-top: 18px; }
  .ui2-product-employer-visuals main .ui2-hub-hero { width: 100% !important; padding: 24px !important; margin: 0 !important; }
  .vg-detail-layout { grid-template-columns: minmax(0,1fr); }
  .vg-carousel { max-width: 550px; width: 100%; margin-inline: auto; }
  .vg-detail-hero .vg-intro { font-size: 16px; }
  .vg-section-heading { align-items: start; flex-direction: column; }
  [aria-labelledby="latest-title"] .vg-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .vg-section { margin-top: 30px; }
  .vg-search-panel { padding: 14px; gap: 10px; }
  .vg-search-controls { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .vg-search-controls input { grid-column: 1 / -1; }
  .vg-search-controls select { padding-inline: 8px; font-size: 14px; }
  .vg-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vg-category-grid .vg-filter-tile:last-child { grid-column: 1 / -1; }
  .vg-category-grid .vg-filter-tile { padding: 12px; }
  .vg-category-grid .vg-filter-tile span { font-size: 12px; }
  [aria-labelledby="featured-title"] .vg-card-grid,[aria-labelledby="latest-title"] .vg-card-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  [aria-labelledby="latest-title"] .vg-card { display: grid; grid-template-columns: 104px minmax(0,1fr); }
  [aria-labelledby="latest-title"] .vg-card-media { margin: 12px 0 12px 12px; border-radius: 10px; align-self: start; }
  .vg-card-body { padding: 12px; }
  .vg-card h3 { font-size: 16px; margin: 6px 0; }
  .vg-card p { font-size: 13px; margin-bottom: 4px; }
  .vg-card-link { font-size: 13px; }
  .vg-breadcrumb { row-gap: 0; margin-bottom: 14px; }
  .vg-breadcrumb [aria-current="page"] { display: none; }
  .vg-breadcrumb span[aria-hidden]:last-of-type { display: none; }
  .vg-reading-nav { gap: 16px; margin-top: 12px; }
  .vg-detail-layout { margin-top: 18px; }
  .vg-cta { padding: 20px; }
  .vg-cta h2 { font-size: 23px; }
  .vg-viewer-image { min-width: 680px; max-width: none; }
}
@media(prefers-reduced-motion:reduce) { .vg-shell *, .vg-viewer * { scroll-behavior:auto !important; transition:none !important; } }
