:root {
    --jvcr-bg: var(--color-bg-blue, #101a2f);
    --jvcr-bg-2: #14284a;
    --jvcr-card: var(--color-block-blue, #0b1529);
    --jvcr-gold: var(--color-yellow, #ffd45a);
    --jvcr-text: #f7f8fb;
    --jvcr-muted: rgba(238, 242, 250, .58);
    --jvcr-line: rgba(226, 235, 250, .14);
    --jvcr-line-strong: rgba(226, 235, 250, .24);
    --jvcr-radius-xl: 42px;
    --jvcr-radius-lg: 30px;
    --jvcr-radius-md: 22px;
    --jvcr-shadow: 0 28px 80px rgba(2, 9, 24, .28);
}

body.jvcr-active {
    overflow-x: hidden;
}

.jvcr-page,
.jvmr-safe-v2 .jvcr-page {
    position: relative;
    isolation: isolate;
    color: var(--jvcr-text);
    background:
        radial-gradient(60rem 38rem at 86% 10%, rgba(66, 119, 191, .15), transparent 70%),
        linear-gradient(180deg, transparent, rgba(15, 30, 55, .22));
}

.jvcr-page *,
.jvcr-showcase * {
    box-sizing: border-box;
}

.jvcr-container {
    width: min(1440px, calc(100% - 64px));
    margin-inline: auto;
}

.jvcr-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 38px 0 28px;
    color: var(--jvcr-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.jvcr-breadcrumb a {
    color: var(--jvcr-text);
    text-decoration: none;
}

.jvcr-eyebrow {
    display: inline-block;
    color: var(--jvcr-muted);
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.jvcr-archive-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--jvcr-line);
    border-radius: var(--jvcr-radius-xl);
    padding: clamp(34px, 5vw, 76px);
    background:
        radial-gradient(42rem 28rem at 82% 26%, rgba(255, 212, 90, .10), transparent 72%),
        linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
    box-shadow: var(--jvcr-shadow);
}

.jvcr-archive-hero::after {
    content: "";
    position: absolute;
    right: -5%;
    top: -28%;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 212, 90, .16);
    box-shadow: 0 0 0 80px rgba(255, 212, 90, .015), 0 0 0 160px rgba(255, 212, 90, .012);
    pointer-events: none;
}

.jvcr-archive-hero h1,
.jvcr-case-hero h1,
.jvcr-showcase h2,
.jvcr-section h2,
.jvcr-result-card h2,
.jvcr-evidence h2,
.jvcr-showcase-note h2,
.jvcr-archive-cta h2,
.jvcr-prose-card h2,
.jvcr-consultation h2 {
    margin: 0;
    color: var(--jvcr-text);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.jvcr-archive-hero h1 {
    max-width: 970px;
    margin-top: 18px;
    font-size: clamp(44px, 5.4vw, 82px);
}

.jvcr-archive-hero > p {
    max-width: 820px;
    margin: 26px 0 0;
    color: var(--jvcr-muted);
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.55;
}

.jvcr-archive-hero__stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 44px;
}

.jvcr-archive-hero__stats div {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 190px;
    padding: 16px 20px;
    border: 1px solid var(--jvcr-line);
    border-radius: 999px;
    background: rgba(10, 21, 41, .42);
    backdrop-filter: blur(14px);
}

.jvcr-archive-hero__stats strong {
    color: var(--jvcr-gold);
    font-size: 23px;
}

.jvcr-archive-hero__stats span {
    color: var(--jvcr-muted);
    font-size: 13px;
}

.jvcr-showcase {
    position: relative;
    isolation: isolate;
    margin: clamp(70px, 9vw, 132px) 0;
    min-width: 0;
}

.jvcr-showcase--home {
    margin-inline: 0;
}

.jvcr-showcase__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 38px;
    align-items: end;
    margin-bottom: 36px;
}

.jvcr-showcase__head h2 {
    max-width: 880px;
    margin-top: 12px;
    font-size: clamp(38px, 4.25vw, 68px);
}

.jvcr-showcase__head p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--jvcr-muted);
    font-size: 17px;
    line-height: 1.55;
}

.jvcr-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 68px;
    min-width: max-content;
    padding: 8px 9px 8px 28px;
    overflow: hidden;
    border-radius: 999px;
    color: #091326;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: none;
}

.jvcr-button--gold {
    background: var(--jvcr-gold);
}

.jvcr-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(108deg, transparent 0 34%, rgba(255,255,255,.76) 47%, transparent 59% 100%);
    transform: translateX(-145%);
    opacity: 0;
    pointer-events: none;
}

.jvcr-button__icon {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
}

.jvcr-button__icon > span,
.jvcr-arrow > span,
.jvcr-slider__nav > span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-56%, -50%) rotate(-45deg);
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.jvcr-button__icon > span::after,
.jvcr-arrow > span::after,
.jvcr-slider__nav > span::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 23px;
    height: 2px;
    background: currentColor;
    transform-origin: right center;
    transform: rotate(45deg);
}

.jvcr-tabs {
    display: flex;
    gap: 12px;
    width: max-content;
    max-width: 100%;
    padding: 7px;
    margin-bottom: 30px;
    border: 1px solid var(--jvcr-line);
    border-radius: 999px;
    background: rgba(8, 18, 36, .42);
    backdrop-filter: blur(16px);
}

.jvcr-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 54px;
    padding: 10px 23px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--jvcr-muted);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.jvcr-tab__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(255,255,255,.04);
}

.jvcr-tab.is-active {
    background: #fff;
    color: #0b1529;
}

.jvcr-tab.is-active .jvcr-tab__dot {
    background: var(--jvcr-gold);
}

.jvcr-panels,
.jvcr-panel-wrap,
.jvcr-panel,
.jvcr-slider {
    min-width: 0;
}

.jvcr-panel-wrap[hidden] {
    display: none !important;
}

.jvcr-slider {
    position: relative;
}

.jvcr-slider__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.jvcr-slider__viewport::-webkit-scrollbar {
    display: none;
}

.jvcr-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 44px) / 3);
    gap: 22px;
    align-items: stretch;
}

.jvcr-slider__slide {
    min-width: 0;
    scroll-snap-align: start;
    height: 100%;
}

.jvcr-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 430px;
    height: 100%;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--jvcr-line-strong);
    border-radius: var(--jvcr-radius-lg);
    background:
        linear-gradient(160deg, rgba(255,255,255,.035), transparent 40%),
        var(--jvcr-card);
    box-shadow: 0 18px 50px rgba(2, 9, 24, .18);
    transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}

.jvcr-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(430px circle at var(--jvcr-card-x, 50%) var(--jvcr-card-y, 50%), rgba(255, 212, 90, .16), transparent 48%);
    opacity: 0;
    transition: opacity .32s ease;
    pointer-events: none;
}

.jvcr-card__link {
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: inherit;
}

.jvcr-card__top,
.jvcr-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.jvcr-card__index {
    color: var(--jvcr-gold);
    font-size: 46px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.07em;
}

.jvcr-card__direction {
    max-width: 65%;
    padding: 9px 13px;
    border: 1px solid var(--jvcr-line);
    border-radius: 999px;
    color: var(--jvcr-muted);
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.jvcr-card__title {
    margin: 34px 0 14px;
    color: var(--jvcr-text);
    font-size: clamp(22px, 1.9vw, 31px);
    line-height: 1.16;
    font-weight: 500;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.jvcr-card__summary {
    margin: 0;
    color: var(--jvcr-muted);
    font-size: 15px;
    line-height: 1.48;
}

.jvcr-card__result {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid var(--jvcr-line);
    color: rgba(255,255,255,.82);
    font-size: 13px;
    line-height: 1.42;
}

.jvcr-card__result > span:first-child {
    color: var(--jvcr-gold);
    font-weight: 700;
}

.jvcr-card__footer {
    margin-top: auto;
    padding-top: 26px;
}

.jvcr-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--jvcr-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.jvcr-card__meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jvcr-card__meta span + span::before {
    content: "•";
    margin-right: 8px;
}

.jvcr-arrow {
    position: relative;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border: 1px solid var(--jvcr-line-strong);
    border-radius: 50%;
    color: #fff;
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.jvcr-card--military .jvcr-card__index {
    color: #fff;
}

.jvcr-card--military .jvcr-card__direction {
    border-color: rgba(255, 212, 90, .34);
    color: var(--jvcr-gold);
}

.jvcr-slider__controls {
    display: grid;
    grid-template-columns: 48px minmax(120px, 1fr) 48px;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
}

.jvcr-slider__progress {
    position: relative;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
}

.jvcr-slider__progress > span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 22%;
    border-radius: inherit;
    background: #fff;
    transform-origin: left center;
    transition: width .2s ease;
}

.jvcr-slider__nav {
    position: relative;
    width: 48px;
    height: 48px;
    border: 1px solid var(--jvcr-line);
    border-radius: 50%;
    background: rgba(8,18,36,.45);
    color: #fff;
    cursor: pointer;
}

.jvcr-slider__nav--prev > span {
    transform: translate(-44%, -50%) rotate(135deg);
}

.jvcr-slider__nav:disabled {
    opacity: .3;
    cursor: default;
}

.jvcr-empty {
    padding: 38px;
    border: 1px dashed var(--jvcr-line-strong);
    border-radius: var(--jvcr-radius-lg);
    color: var(--jvcr-muted);
}

.jvcr-archive-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 42px;
    margin: 110px 0 80px;
    padding: clamp(34px, 5vw, 70px);
    overflow: hidden;
    border: 1px solid rgba(255, 212, 90, .28);
    border-radius: var(--jvcr-radius-xl);
    background:
        radial-gradient(36rem 24rem at 80% 50%, rgba(255, 212, 90, .12), transparent 70%),
        rgba(9, 20, 39, .52);
}

.jvcr-archive-cta h2 {
    max-width: 850px;
    margin-top: 14px;
    font-size: clamp(34px, 4vw, 62px);
}

.jvcr-archive-cta p {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--jvcr-muted);
    font-size: 16px;
    line-height: 1.55;
}

/* Single case */
.jvcr-case-hero {
    position: relative;
    isolation: isolate;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    padding: clamp(34px, 5vw, 76px);
    overflow: hidden;
    border: 1px solid var(--jvcr-line);
    border-radius: var(--jvcr-radius-xl);
    background: linear-gradient(135deg, #11213f, #0d172b 76%);
    box-shadow: var(--jvcr-shadow);
}

.jvcr-case-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: inherit;
    background-image: var(--jvcr-hero-image);
    background-size: cover;
    background-position: 72% 50%;
    opacity: .21;
    filter: saturate(.45) contrast(1.1);
}

.jvcr-case-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(8,18,35,.98) 0%, rgba(8,18,35,.86) 52%, rgba(8,18,35,.52) 100%),
        linear-gradient(180deg, transparent 45%, rgba(8,18,35,.8));
}

.jvcr-case-hero__content {
    max-width: 1050px;
}

.jvcr-case-hero__direction {
    display: inline-flex;
    padding: 9px 15px;
    border: 1px solid rgba(255, 212, 90, .42);
    border-radius: 999px;
    color: var(--jvcr-gold);
    font-size: 12px;
    text-transform: uppercase;
}

.jvcr-case-hero h1 {
    margin-top: 22px;
    font-size: clamp(38px, 5vw, 74px);
    overflow-wrap: anywhere;
}

.jvcr-case-hero h1 > span {
    color: var(--jvcr-gold);
}

.jvcr-case-hero__content > p {
    max-width: 850px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.72);
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.55;
}

.jvcr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.jvcr-tags span {
    padding: 9px 13px;
    border: 1px solid var(--jvcr-line);
    border-radius: 999px;
    color: var(--jvcr-muted);
    background: rgba(8,18,36,.38);
    font-size: 11px;
}

.jvcr-case-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 34px;
}

.jvcr-prose-card,
.jvcr-result-card,
.jvcr-evidence,
.jvcr-showcase-note,
.jvcr-consultation {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--jvcr-line);
    border-radius: var(--jvcr-radius-lg);
    background: rgba(9, 20, 39, .62);
}

.jvcr-prose-card {
    padding: clamp(28px, 4vw, 52px);
}

.jvcr-prose-card--legal {
    background:
        radial-gradient(30rem 22rem at 90% 0%, rgba(255, 212, 90, .08), transparent 70%),
        rgba(9, 20, 39, .62);
}

.jvcr-prose-card h2,
.jvcr-result-card h2,
.jvcr-evidence h2,
.jvcr-showcase-note h2,
.jvcr-consultation h2 {
    margin-top: 12px;
    font-size: clamp(30px, 3vw, 46px);
}

.jvcr-prose {
    margin-top: 22px;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.65;
}

.jvcr-prose p {
    margin: 0 0 1em;
}

.jvcr-prose p:last-child {
    margin-bottom: 0;
}

.jvcr-section,
.jvcr-result-layout,
.jvcr-showcase-note,
.jvcr-consultation,
.jvcr-related {
    margin-top: clamp(70px, 8vw, 118px);
}

.jvcr-section__head {
    margin-bottom: 32px;
}

.jvcr-section__head h2 {
    margin-top: 12px;
    font-size: clamp(36px, 4vw, 62px);
}

.jvcr-section__head--inline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.jvcr-text-link {
    color: var(--jvcr-gold);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
}

.jvcr-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.jvcr-step-card {
    position: relative;
    min-width: 0;
    min-height: 290px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--jvcr-line);
    border-radius: var(--jvcr-radius-md);
    background: var(--jvcr-card);
}

.jvcr-step-card__number {
    display: block;
    color: var(--jvcr-gold);
    font-size: 58px;
    line-height: 1;
    font-weight: 500;
}

.jvcr-step-card h3 {
    margin: 40px 0 12px;
    color: var(--jvcr-text);
    font-size: 19px;
    line-height: 1.25;
    font-weight: 500;
}

.jvcr-step-card p {
    margin: 0;
    color: var(--jvcr-muted);
    font-size: 14px;
    line-height: 1.5;
}

.jvcr-result-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
}

.jvcr-result-card,
.jvcr-evidence {
    padding: clamp(28px, 4vw, 52px);
}

.jvcr-result-card {
    border-color: rgba(255, 212, 90, .30);
    background:
        radial-gradient(32rem 24rem at 0% 100%, rgba(255, 212, 90, .08), transparent 70%),
        rgba(9, 20, 39, .68);
}

.jvcr-result-card ul {
    display: grid;
    gap: 18px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.jvcr-result-card li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    color: rgba(255,255,255,.77);
    line-height: 1.5;
}

.jvcr-result-card li > span:first-child {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #101a2f;
    background: var(--jvcr-gold);
    font-size: 12px;
    font-weight: 700;
}

.jvcr-evidence__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.jvcr-evidence__head > span {
    color: var(--jvcr-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.jvcr-evidence__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.jvcr-evidence__item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--jvcr-line);
    border-radius: 16px;
    background: #17294a;
    cursor: zoom-in;
}

.jvcr-evidence__item.is-featured:nth-last-child(n+3) {
    grid-column: span 2;
    grid-row: span 2;
}

.jvcr-evidence__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #17294a;
}

.jvcr-evidence__zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--jvcr-gold);
    color: #101a2f;
    font-size: 23px;
}

.jvcr-showcase-note {
    padding: clamp(32px, 5vw, 68px);
    border-color: rgba(255, 212, 90, .28);
    background:
        radial-gradient(46rem 28rem at 90% 10%, rgba(255, 212, 90, .10), transparent 72%),
        rgba(9, 20, 39, .64);
}

.jvcr-showcase-note .jvcr-prose {
    max-width: 1000px;
}

.jvcr-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.jvcr-benefit-card {
    min-width: 0;
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--jvcr-line);
    border-radius: var(--jvcr-radius-md);
    background: rgba(9, 20, 39, .58);
}

.jvcr-benefit-card > span {
    color: var(--jvcr-gold);
    font-size: 12px;
}

.jvcr-benefit-card h3 {
    margin: 34px 0 13px;
    color: var(--jvcr-text);
    font-size: 19px;
    line-height: 1.25;
}

.jvcr-benefit-card p {
    margin: 0;
    color: var(--jvcr-muted);
    font-size: 14px;
    line-height: 1.55;
}

.jvcr-faq-list {
    display: grid;
    gap: 10px;
}

.jvcr-faq {
    overflow: hidden;
    border: 1px solid var(--jvcr-line);
    border-radius: 20px;
    background: var(--jvcr-card);
}

.jvcr-faq summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 20px;
    min-height: 78px;
    padding: 16px 22px;
    color: var(--jvcr-text);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.jvcr-faq summary::-webkit-details-marker {
    display: none;
}

.jvcr-faq__icon {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid var(--jvcr-line);
    border-radius: 50%;
}

.jvcr-faq__icon::before,
.jvcr-faq__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--jvcr-gold);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.jvcr-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.jvcr-faq[open] .jvcr-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.jvcr-faq__answer {
    padding: 0 22px 24px;
    border-top: 1px solid var(--jvcr-line);
}

.jvcr-consultation {
    padding: clamp(30px, 5vw, 66px);
}

.jvcr-consultation__head {
    max-width: 900px;
}

.jvcr-consultation__head > p {
    margin: 18px 0 0;
    color: var(--jvcr-muted);
    line-height: 1.55;
}

.jvcr-consultation__questions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 34px 0;
}

.jvcr-consultation fieldset {
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--jvcr-line);
    border-radius: 22px;
}

.jvcr-consultation legend {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 0 0 16px;
    color: var(--jvcr-text);
    font-size: 16px;
    line-height: 1.35;
}

.jvcr-consultation legend > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--jvcr-gold);
    color: #101a2f;
}

.jvcr-consultation fieldset > div {
    display: grid;
    gap: 8px;
}

.jvcr-consultation label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
    border-radius: 14px;
    color: var(--jvcr-muted);
    cursor: pointer;
}

.jvcr-consultation label:has(input:checked) {
    background: rgba(255, 212, 90, .09);
    color: #fff;
}

.jvcr-consultation input {
    accent-color: var(--jvcr-gold);
}

.jvcr-related {
    padding-bottom: 100px;
}

.jvcr-lightbox[hidden] {
    display: none;
}

.jvcr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 5vw;
    background: rgba(4, 10, 22, .93);
    backdrop-filter: blur(18px);
}

.jvcr-lightbox img {
    display: block;
    max-width: min(1200px, 92vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(0,0,0,.55);
}

.jvcr-lightbox__close {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 2;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    background: rgba(8,18,36,.75);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .jvcr-card:hover {
        transform: translateY(-7px);
        border-color: rgba(255, 212, 90, .45);
        box-shadow: 0 30px 80px rgba(2, 9, 24, .38);
    }
    .jvcr-card:hover::before {
        opacity: 1;
    }
    .jvcr-card:hover .jvcr-arrow {
        color: #101a2f;
        background: var(--jvcr-gold);
        border-color: var(--jvcr-gold);
        transform: rotate(-8deg);
    }
    .jvcr-button:hover::before {
        animation: jvcr-shine .76s ease forwards;
        opacity: 1;
    }
    .jvcr-tab:hover:not(.is-active) {
        color: #fff;
        background: rgba(255,255,255,.04);
    }
    .jvcr-evidence__item:hover img {
        transform: scale(1.025);
    }
    .jvcr-evidence__item img {
        transition: transform .3s ease;
    }
}

@keyframes jvcr-shine {
    from { transform: translateX(-145%); }
    to { transform: translateX(145%); }
}

@media (max-width: 1120px) {
    .jvcr-slider__track {
        grid-auto-columns: calc((100% - 18px) / 2.15);
        gap: 18px;
    }
    .jvcr-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .jvcr-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .jvcr-result-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .jvcr-container {
        width: min(100% - 32px, 720px);
    }
    .jvcr-breadcrumb {
        padding-top: 24px;
    }
    .jvcr-archive-hero,
    .jvcr-case-hero {
        border-radius: 30px;
        padding: 30px 24px;
    }
    .jvcr-archive-hero h1 {
        font-size: clamp(39px, 10.5vw, 58px);
    }
    .jvcr-showcase__head,
    .jvcr-archive-cta {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .jvcr-showcase__head .jvcr-button,
    .jvcr-archive-cta .jvcr-button {
        justify-self: start;
    }
    .jvcr-tabs {
        width: 100%;
        overflow-x: auto;
        border-radius: 22px;
        scrollbar-width: none;
    }
    .jvcr-tabs::-webkit-scrollbar { display: none; }
    .jvcr-tab {
        flex: 0 0 auto;
        min-width: 210px;
    }
    .jvcr-slider__track {
        grid-auto-columns: min(86vw, 430px);
        gap: 14px;
    }
    .jvcr-card {
        min-height: 450px;
        padding: 25px;
        border-radius: 25px;
    }
    .jvcr-card__title {
        font-size: 25px;
    }
    .jvcr-slider__controls {
        grid-template-columns: 42px minmax(90px, 1fr) 42px;
        gap: 12px;
    }
    .jvcr-slider__nav {
        width: 42px;
        height: 42px;
    }
    .jvcr-case-hero {
        min-height: auto;
    }
    .jvcr-case-hero::before {
        opacity: .12;
    }
    .jvcr-case-hero::after {
        background: linear-gradient(90deg, rgba(8,18,35,.98), rgba(8,18,35,.82));
    }
    .jvcr-case-hero h1 {
        font-size: clamp(38px, 10vw, 58px);
    }
    .jvcr-case-intro,
    .jvcr-consultation__questions {
        grid-template-columns: 1fr;
    }
    .jvcr-steps-grid,
    .jvcr-benefits-grid {
        grid-template-columns: 1fr;
    }
    .jvcr-step-card,
    .jvcr-benefit-card {
        min-height: auto;
    }
    .jvcr-step-card h3,
    .jvcr-benefit-card h3 {
        margin-top: 26px;
    }
    .jvcr-evidence__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .jvcr-evidence__item.is-featured:nth-last-child(n+3) {
        grid-column: span 2;
        grid-row: auto;
    }
    .jvcr-section__head--inline {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .jvcr-container {
        width: calc(100% - 24px);
    }
    .jvcr-archive-hero,
    .jvcr-case-hero,
    .jvcr-prose-card,
    .jvcr-result-card,
    .jvcr-evidence,
    .jvcr-showcase-note,
    .jvcr-consultation,
    .jvcr-archive-cta {
        border-radius: 24px;
    }
    .jvcr-archive-hero h1,
    .jvcr-case-hero h1 {
        font-size: 36px;
        letter-spacing: -.04em;
    }
    .jvcr-showcase {
        margin-block: 68px;
    }
    .jvcr-showcase__head {
        gap: 26px;
        margin-bottom: 26px;
    }
    .jvcr-showcase__head h2,
    .jvcr-section__head h2 {
        font-size: 35px;
    }
    .jvcr-button {
        width: 100%;
        min-width: 0;
        min-height: 64px;
        padding-left: 22px;
        gap: 14px;
        white-space: normal;
    }
    .jvcr-button > span:first-child {
        min-width: 0;
        text-align: left;
    }
    .jvcr-button__icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
    .jvcr-tabs {
        gap: 6px;
        padding: 6px;
    }
    .jvcr-tab {
        min-width: 205px;
        padding-inline: 18px;
    }
    .jvcr-slider__track {
        grid-auto-columns: calc(100vw - 46px);
    }
    .jvcr-card {
        min-height: 430px;
        padding: 22px;
    }
    .jvcr-card__index {
        font-size: 40px;
    }
    .jvcr-card__direction {
        max-width: 62%;
        font-size: 10px;
    }
    .jvcr-card__summary {
        font-size: 14px;
    }
    .jvcr-arrow {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }
    .jvcr-slider__controls {
        margin-top: 20px;
    }
    .jvcr-archive-hero__stats {
        display: grid;
    }
    .jvcr-archive-hero__stats div {
        min-width: 0;
    }
    .jvcr-case-intro {
        gap: 14px;
    }
    .jvcr-prose-card,
    .jvcr-result-card,
    .jvcr-evidence,
    .jvcr-showcase-note,
    .jvcr-consultation,
    .jvcr-archive-cta {
        padding: 24px 20px;
    }
    .jvcr-prose-card h2,
    .jvcr-result-card h2,
    .jvcr-evidence h2,
    .jvcr-showcase-note h2,
    .jvcr-consultation h2 {
        font-size: 30px;
    }
    .jvcr-prose {
        font-size: 14px;
        line-height: 1.6;
    }
    .jvcr-step-card,
    .jvcr-benefit-card {
        padding: 22px;
        border-radius: 20px;
    }
    .jvcr-evidence__head {
        align-items: start;
        flex-direction: column;
    }
    .jvcr-evidence__grid {
        grid-template-columns: 1fr;
    }
    .jvcr-evidence__item,
    .jvcr-evidence__item.is-featured:nth-last-child(n+3) {
        grid-column: auto;
        aspect-ratio: 4 / 5;
    }
    .jvcr-faq summary {
        grid-template-columns: minmax(0, 1fr) 38px;
        min-height: 72px;
        padding: 15px 17px;
        font-size: 14px;
    }
    .jvcr-faq__icon {
        width: 38px;
        height: 38px;
    }
    .jvcr-faq__answer {
        padding: 0 17px 20px;
    }
    .jvcr-consultation fieldset {
        padding: 18px 15px;
    }
    .jvcr-consultation label {
        padding: 11px 8px;
    }
    .jvcr-related {
        padding-bottom: 70px;
    }
    /* Hover/aura effects are intentionally disabled on touch devices to avoid rectangular artifacts. */
    .jvcr-card::before,
    .jvcr-button::before {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jvcr-card,
    .jvcr-arrow,
    .jvcr-button::before,
    .jvcr-tab,
    .jvcr-slider__progress > span {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   v1.1.0 — precise Cases Studio integration fixes
   ========================================================= */

/* Keep the homepage cases section on the same content rail as Reviews. */
.jvcr-showcase--home {
    width: 100%;
    margin-block: clamp(76px, 8vw, 116px);
}

.jvcr-home-layout {
    display: grid !important;
    grid-template-columns: 132px minmax(0, 1fr) !important;
    column-gap: 28px !important;
    align-items: start !important;
    width: min(1280px, calc(100% - 64px)) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding: 0 !important;
}

.jvcr-home-side-label {
    width: auto !important;
    min-width: 0 !important;
    padding-top: 7px !important;
    color: var(--jvcr-muted) !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

.jvcr-home-content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.jvcr-showcase--home .jvcr-showcase__head {
    margin-bottom: 28px;
}

.jvcr-showcase--home .jvcr-showcase__head h2 {
    max-width: 650px;
    margin-top: 0;
    font-size: clamp(34px, 3.15vw, 46px);
    line-height: 1.08;
}

.jvcr-showcase--home .jvcr-showcase__head p {
    max-width: 540px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.48;
}

.jvcr-showcase--home .jvcr-button {
    min-height: 56px;
    padding: 6px 7px 6px 22px;
    font-size: 13px;
}

.jvcr-showcase--home .jvcr-button__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
}

.jvcr-showcase--home .jvcr-slider__track {
    grid-auto-columns: calc((100% - 32px) / 3);
    gap: 16px;
}

.jvcr-showcase--home .jvcr-card {
    min-height: 348px;
    padding: 24px;
    border-radius: 22px;
}

.jvcr-showcase--home .jvcr-card__index {
    font-size: 42px;
}

.jvcr-showcase--home .jvcr-card__title {
    margin-top: 27px;
    font-size: clamp(21px, 1.55vw, 27px);
}

.jvcr-showcase--home .jvcr-card__summary {
    font-size: 13px;
    line-height: 1.43;
}

.jvcr-showcase--home .jvcr-card__result {
    margin-top: 16px;
    padding-top: 15px;
    font-size: 12px;
}

.jvcr-showcase--home .jvcr-card__footer {
    padding-top: 20px;
}

.jvcr-showcase--home .jvcr-arrow {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
}

/* Archive remains spacious; individual case pages use the narrower service-page rail. */
.jvcr-archive-page .jvcr-container {
    width: min(1360px, calc(100% - 64px));
}

.jvcr-single-page .jvcr-container {
    width: min(1220px, calc(100% - 64px));
}

/* Global redesign layers must never scale or crop a case card. */
body.jvcr-active .jvcr-card,
body.jvcr-active .jvcr-card:hover {
    transform: none !important;
    scale: 1 !important;
}

body.jvcr-active .jvcr-card {
    contain: paint;
    clip-path: inset(0 round var(--jvcr-radius-lg));
}

body.jvcr-active .jvcr-showcase--home .jvcr-card {
    clip-path: inset(0 round 22px);
}

@media (hover: hover) and (pointer: fine) {
    body.jvcr-active .jvcr-card:hover {
        border-color: rgba(255, 212, 90, .45) !important;
        box-shadow: 0 24px 68px rgba(2, 9, 24, .34) !important;
    }
}

/* Criminal direction is its own controlled category. */
.jvcr-card--criminal .jvcr-card__direction {
    border-color: rgba(255, 212, 90, .34);
    color: var(--jvcr-gold);
}

/* Service-style FAQ: dark rounded rows, gold triangle, grey answer. */
.jvcr-faq-section .jvcr-section__head h2 {
    max-width: 1080px;
    color: var(--jvcr-gold);
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.06;
    font-weight: 400;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.jvcr-faq-list {
    gap: 14px;
}

.jvcr-faq {
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #071327;
    box-shadow: none;
}

.jvcr-faq summary {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    min-height: 0;
    padding: 21px 24px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.jvcr-faq summary::before {
    content: "";
    grid-column: 1;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid var(--jvcr-gold);
    transition: transform .2s ease;
}

.jvcr-faq[open] summary::before {
    transform: rotate(90deg);
}

.jvcr-faq summary > span {
    grid-column: 2;
    min-width: 0;
}

.jvcr-faq__icon {
    display: none !important;
}

.jvcr-faq__answer {
    padding: 0 24px 22px 48px;
    border-top: 0;
}

.jvcr-faq__answer .jvcr-prose {
    margin-top: 0;
    color: rgba(255,255,255,.55);
    font-size: 15px;
    line-height: 1.48;
}

/* Unified case quiz — same visual grammar as service quizzes. */
.jvcr-quiz-section__head {
    max-width: 880px;
}

.jvcr-quiz-section__head > p {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--jvcr-muted);
    line-height: 1.5;
}

.jvcr-quiz-shell {
    position: relative;
    margin-top: 34px;
    padding: clamp(22px, 3vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(255, 212, 90, .34);
    border-radius: 34px;
    background:
        radial-gradient(38rem 25rem at 92% 12%, rgba(56, 100, 164, .12), transparent 72%),
        rgba(10, 24, 47, .52);
}

.jvcr-quiz-step[hidden] {
    display: none !important;
}

.jvcr-quiz-step {
    display: grid;
    grid-template-columns: minmax(300px, .88fr) minmax(420px, 1.12fr);
    gap: 28px;
    min-height: 455px;
}

.jvcr-quiz-step__left {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 12px 12px 12px;
}

.jvcr-quiz-step__left h3 {
    max-width: 520px;
    margin: 15px 0 0;
    color: #fff;
    font-size: clamp(31px, 3.15vw, 50px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -.035em;
}

.jvcr-quiz-options {
    display: grid;
    align-content: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 26px;
    border: 1px solid var(--jvcr-line);
    border-radius: 28px;
    background: rgba(10, 24, 47, .4);
}

.jvcr-quiz-options label {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 13px 22px;
    border: 1px solid var(--jvcr-line);
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.jvcr-quiz-options label:has(input:checked) {
    border-color: #fff;
    background: rgba(255,255,255,.035);
}

.jvcr-quiz-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jvcr-quiz-radio {
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.jvcr-quiz-options input:checked + .jvcr-quiz-radio::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: #fff;
}

.jvcr-quiz-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 28px;
}

.jvcr-quiz-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 68px;
    min-width: 260px;
    padding: 8px 9px 8px 28px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: var(--jvcr-gold);
    color: #091326 !important;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;
    text-align: left;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
}

.jvcr-quiz-button--back {
    justify-content: flex-start;
    min-width: 190px;
    padding: 8px 25px 8px 9px;
    background: #fff;
}

.jvcr-quiz-button__icon {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
}

.jvcr-quiz-button--back .jvcr-quiz-button__icon {
    background: var(--jvcr-gold);
}

.jvcr-quiz-button__icon > span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-56%, -50%) rotate(-45deg);
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.jvcr-quiz-button__icon > span::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 23px;
    height: 2px;
    background: currentColor;
    transform-origin: right center;
    transform: rotate(45deg);
}

.jvcr-quiz-button__icon--back > span {
    transform: translate(-44%, -50%) rotate(135deg);
}

.jvcr-quiz-privacy {
    margin: 18px 0 0;
    color: var(--jvcr-muted);
    font-size: 12px;
    line-height: 1.4;
}

.jvcr-quiz-dots {
    position: absolute;
    right: 34px;
    bottom: 20px;
    display: flex;
    gap: 7px;
    padding: 12px 15px;
    border-radius: 999px;
    background: rgba(55, 72, 101, .72);
}

.jvcr-quiz-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.72);
}

.jvcr-quiz-dots span.is-active {
    background: var(--jvcr-gold);
}

/* Functional lightbox close and usable zoom controls. */
.jvcr-lightbox {
    display: grid;
    grid-template-rows: 1fr;
    place-items: stretch;
    padding: 76px 34px 30px;
}

.jvcr-lightbox__stage {
    width: 100%;
    height: calc(100vh - 106px);
    overflow: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 28px;
    border-radius: 22px;
    scrollbar-color: rgba(255,255,255,.65) rgba(255,255,255,.08);
}

.jvcr-lightbox__stage img {
    flex: 0 0 auto;
    max-width: none;
    max-height: none;
    margin: auto;
    object-fit: contain;
    user-select: none;
    transition: width .18s ease, height .18s ease;
}

.jvcr-lightbox__close {
    top: 22px;
    right: 28px;
    z-index: 4;
    display: grid;
    place-items: center;
}

.jvcr-lightbox__toolbar {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    padding: 6px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(8,18,36,.84);
    backdrop-filter: blur(16px);
}

.jvcr-lightbox__toolbar button {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.jvcr-lightbox__toolbar button[data-jvcr-zoom-reset] {
    min-width: 70px;
    font-size: 12px;
}

/* Popup Maker fix only while Cases Studio pages are active. */
body.jvcr-active .pum-container {
    overflow: hidden !important;
}

body.jvcr-active .pum-container .pum-close {
    top: 24px !important;
    right: 24px !important;
    width: 52px !important;
    height: 52px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 50% !important;
    background: rgba(54, 72, 104, .72) !important;
    box-shadow: none !important;
    color: #fff !important;
}

body.jvcr-active .pum-container .pum-close::after {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 300 !important;
}

body.jvcr-active .pum-container .tm-popup-master,
body.jvcr-active .pum-container .tm-content-form,
body.jvcr-active .pum-container .wpcf7,
body.jvcr-active .pum-container .wpcf7-form,
body.jvcr-active .pum-container .field-row,
body.jvcr-active .pum-container .submit-row {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.jvcr-active .pum-container .tm-popup-master input,
body.jvcr-active .pum-container .tm-popup-master textarea,
body.jvcr-active .pum-container .tm-content-form input,
body.jvcr-active .pum-container .tm-content-form textarea {
    background:
        linear-gradient(112deg, rgba(255,255,255,.055), rgba(55, 96, 153, .105) 55%, rgba(255,255,255,.035)) !important;
    background-image:
        linear-gradient(112deg, rgba(255,255,255,.055), rgba(55, 96, 153, .105) 55%, rgba(255,255,255,.035)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}

@media (max-width: 1120px) {
    .jvcr-home-layout {
        width: min(100% - 48px, 1040px) !important;
        grid-template-columns: 105px minmax(0, 1fr) !important;
        column-gap: 22px !important;
    }
    .jvcr-showcase--home .jvcr-slider__track {
        grid-auto-columns: calc((100% - 16px) / 2.15);
    }
    .jvcr-quiz-step {
        grid-template-columns: minmax(260px, .82fr) minmax(360px, 1.18fr);
    }
}

@media (max-width: 820px) {
    .jvcr-home-layout {
        width: min(100% - 32px, 720px) !important;
        grid-template-columns: 1fr !important;
        row-gap: 18px !important;
    }
    .jvcr-home-side-label {
        padding-top: 0 !important;
    }
    .jvcr-showcase--home .jvcr-showcase__head {
        grid-template-columns: 1fr;
    }
    .jvcr-showcase--home .jvcr-showcase__head .jvcr-button {
        width: auto;
        justify-self: start;
    }
    .jvcr-single-page .jvcr-container,
    .jvcr-archive-page .jvcr-container {
        width: min(100% - 32px, 720px);
    }
    .jvcr-quiz-step {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .jvcr-quiz-step__left {
        padding: 6px 4px 0;
    }
    .jvcr-quiz-actions {
        order: 3;
        margin-top: 18px;
        padding-top: 0;
    }
    .jvcr-quiz-options {
        padding: 18px;
        border-radius: 23px;
    }
    .jvcr-quiz-dots {
        position: static;
        width: max-content;
        margin: 18px 0 0 auto;
    }
}

@media (max-width: 520px) {
    .jvcr-home-layout {
        width: calc(100% - 24px) !important;
    }
    .jvcr-showcase--home .jvcr-showcase__head h2 {
        font-size: 32px;
    }
    .jvcr-showcase--home .jvcr-showcase__head p {
        font-size: 12px;
    }
    .jvcr-showcase--home .jvcr-showcase__head .jvcr-button {
        width: 100%;
    }
    .jvcr-showcase--home .jvcr-slider__track {
        grid-auto-columns: calc(100vw - 46px);
    }
    .jvcr-showcase--home .jvcr-card {
        min-height: 390px;
    }
    .jvcr-single-page .jvcr-container,
    .jvcr-archive-page .jvcr-container {
        width: calc(100% - 24px);
    }
    .jvcr-faq-section .jvcr-section__head h2 {
        font-size: 31px;
    }
    .jvcr-faq summary {
        grid-template-columns: 21px minmax(0, 1fr);
        padding: 18px;
        font-size: 13px;
    }
    .jvcr-faq__answer {
        padding: 0 18px 20px 39px;
    }
    .jvcr-quiz-shell {
        padding: 20px 16px;
        border-radius: 24px;
    }
    .jvcr-quiz-step__left h3 {
        font-size: 31px;
    }
    .jvcr-quiz-options {
        padding: 13px;
    }
    .jvcr-quiz-options label {
        grid-template-columns: 32px minmax(0, 1fr);
        min-height: 66px;
        padding: 11px 15px;
        border-radius: 26px;
        font-size: 14px;
    }
    .jvcr-quiz-radio {
        width: 30px;
        height: 30px;
    }
    .jvcr-quiz-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .jvcr-quiz-button,
    .jvcr-quiz-button--back {
        width: 100%;
        min-width: 0;
        min-height: 64px;
    }
    .jvcr-quiz-button__icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
    .jvcr-lightbox {
        padding: 72px 10px 10px;
    }
    .jvcr-lightbox__stage {
        height: calc(100vh - 82px);
        padding: 12px;
        border-radius: 16px;
    }
    .jvcr-lightbox__close {
        top: 16px;
        right: 14px;
        width: 46px;
        height: 46px;
    }
    .jvcr-lightbox__toolbar {
        top: 17px;
        left: 14px;
        transform: none;
    }
    .jvcr-lightbox__toolbar button {
        min-width: 38px;
        height: 38px;
        padding-inline: 9px;
    }
    body.jvcr-active .pum-container .pum-close {
        top: 16px !important;
        right: 16px !important;
        width: 46px !important;
        height: 46px !important;
    }
}


/* =========================================================
   v1.1.0 — final precision hardening
   ========================================================= */

/* Cases templates own their heading; prevent legacy breadcrumbs from colliding with the logo. */
body.jvcr-active .jvcr-breadcrumb,
body.post-type-archive-cases .breadcrumb,
body.post-type-archive-cases .breadcrumbs,
body.post-type-archive-cases .tm-breadcrumb,
body.post-type-archive-cases .tm-breadcrumbs,
body.single-cases .breadcrumb,
body.single-cases .breadcrumbs,
body.single-cases .tm-breadcrumb,
body.single-cases .tm-breadcrumbs,
body.tax-cases-categories .breadcrumb,
body.tax-cases-categories .breadcrumbs,
body.tax-cases-categories .tm-breadcrumb,
body.tax-cases-categories .tm-breadcrumbs {
    display: none !important;
}

/* Exact homepage rail: aligned with the reviews block rather than viewport width. */
.jvcr-home-layout {
    width: min(1240px, calc(100% - 64px)) !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    column-gap: 28px !important;
}

.jvcr-showcase--home .jvcr-home-content {
    max-width: 1100px !important;
}

.jvcr-showcase--home .jvcr-slider__viewport {
    padding-top: 3px;
}

/* Never let theme/global hover transforms enlarge or crop case cards. */
body.jvcr-active .jvcr-slider__slide,
body.jvcr-active .jvcr-slider__slide:hover,
body.jvcr-active .jvcr-card,
body.jvcr-active .jvcr-card:hover,
body.jvcr-active .jvcr-card__link,
body.jvcr-active .jvcr-card__link:hover {
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    zoom: 1 !important;
}

body.jvcr-active .jvcr-slider__viewport {
    overflow-y: clip !important;
}

/* A single case follows the same restrained reading rail as service pages. */
.jvcr-single-page .jvcr-container {
    width: min(1180px, calc(100% - 64px)) !important;
}

.jvcr-case-hero__content {
    max-width: 880px;
}

/* Quiz buttons receive the same controlled metallic sweep as the site's primary buttons. */
.jvcr-quiz-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(108deg, transparent 0 34%, rgba(255,255,255,.7) 47%, transparent 60% 100%);
    transform: translateX(-145%);
    opacity: 0;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .jvcr-quiz-button:hover::before {
        animation: jvcr-shine .76s ease forwards;
        opacity: 1;
    }
}

/* Lightbox controls must always remain clickable above the image. */
.jvcr-lightbox__close,
.jvcr-lightbox__toolbar {
    z-index: 1000002 !important;
    pointer-events: auto !important;
}

.jvcr-lightbox__stage {
    z-index: 1;
}

.jvcr-lightbox__close {
    display: grid;
    place-items: center;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

/* Popup: inset close control and remove hard rectangular aura layers around form rows. */
body.jvcr-active .pum-container .pum-close {
    top: 30px !important;
    right: 30px !important;
    z-index: 1000001 !important;
}

body.jvcr-active .pum-container .tm-popup-master::before,
body.jvcr-active .pum-container .tm-popup-master::after,
body.jvcr-active .pum-container .tm-content-form::before,
body.jvcr-active .pum-container .tm-content-form::after,
body.jvcr-active .pum-container .wpcf7::before,
body.jvcr-active .pum-container .wpcf7::after,
body.jvcr-active .pum-container .wpcf7-form::before,
body.jvcr-active .pum-container .wpcf7-form::after,
body.jvcr-active .pum-container .wpcf7-form-control-wrap::before,
body.jvcr-active .pum-container .wpcf7-form-control-wrap::after,
body.jvcr-active .pum-container .field-row::before,
body.jvcr-active .pum-container .field-row::after {
    content: none !important;
    display: none !important;
}

body.jvcr-active .pum-container .wpcf7-form-control-wrap,
body.jvcr-active .pum-container .field-row {
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 1120px) {
    .jvcr-home-layout {
        width: min(100% - 48px, 1040px) !important;
        grid-template-columns: 96px minmax(0, 1fr) !important;
    }
}

@media (max-width: 820px) {
    .jvcr-home-layout {
        width: min(100% - 32px, 720px) !important;
        grid-template-columns: 1fr !important;
    }
    .jvcr-showcase--home .jvcr-home-content {
        max-width: none !important;
    }
    .jvcr-single-page .jvcr-container {
        width: min(100% - 32px, 720px) !important;
    }
}

@media (max-width: 520px) {
    .jvcr-home-layout,
    .jvcr-single-page .jvcr-container {
        width: calc(100% - 24px) !important;
    }
    body.jvcr-active .pum-container .pum-close {
        top: 20px !important;
        right: 20px !important;
    }
    .jvcr-quiz-button::before {
        display: none !important;
    }
}

/* =========================================================
   v1.2.0 — rail alignment, per-direction numbering and mobile callback popup
   ========================================================= */

/*
 * Homepage rail: use the same three-column geometry as the native J&V
 * sections (label | 1080px content | balancing column). This keeps Кейси,
 * Команда, Відгуки and the other grey side labels on one vertical line.
 */
@media (min-width: 1181px) {
    body.home.jvcr-active .jvcr-showcase--home .jvcr-home-layout {
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns:
            var(--jv-section-side-width, 100px)
            minmax(0, var(--jv-section-content-width, 1080px))
            var(--jv-section-side-width, 100px) !important;
        column-gap: var(--jv-section-column-gap, 20px) !important;
        row-gap: 0 !important;
        justify-content: center !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.home.jvcr-active .jvcr-showcase--home .jvcr-home-side-label {
        grid-column: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 6px 0 0 !important;
        align-self: start !important;
    }

    body.home.jvcr-active .jvcr-showcase--home .jvcr-home-content {
        grid-column: 2 !important;
        width: 100% !important;
        max-width: var(--jv-section-content-width, 1080px) !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
}

/* Match the native wrapped layout on tablet instead of keeping a shifted mini-column. */
@media (min-width: 821px) and (max-width: 1180px) {
    body.home.jvcr-active .jvcr-showcase--home .jvcr-home-layout {
        box-sizing: border-box !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 25px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.home.jvcr-active .jvcr-showcase--home .jvcr-home-side-label {
        width: 100% !important;
        margin: 0 0 20px !important;
        padding: 0 !important;
    }

    body.home.jvcr-active .jvcr-showcase--home .jvcr-home-content {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: none !important;
    }
}

/* Slightly narrower text area inside archive cards without shrinking the cards. */
body.post-type-archive-cases.jvcr-active .jvcr-archive-page .jvcr-card,
body.tax-cases-categories.jvcr-active .jvcr-archive-page .jvcr-card {
    padding-left: 36px !important;
    padding-right: 36px !important;
}

/* First-visit callback popup: mobile-only recovery, isolated from consultation popups. */
@media (max-width: 767px) {
    body.jvcr-active .pum-container.jvcr-callback-popup {
        box-sizing: border-box !important;
        width: calc(100vw - 24px) !important;
        max-width: 430px !important;
        min-width: 0 !important;
        padding: 64px 22px 26px !important;
        overflow: hidden !important;
        border-radius: 24px !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .pum-content,
    body.jvcr-active .pum-container.jvcr-callback-popup .tm-popup-master,
    body.jvcr-active .pum-container.jvcr-callback-popup .tm-popup-master form {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .popup-title {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 24px !important;
        padding: 0 10px !important;
        font-size: clamp(23px, 6.4vw, 28px) !important;
        line-height: 1.08 !important;
        letter-spacing: -.025em !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .field-row {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .tm-popup-master input,
    body.jvcr-active .pum-container.jvcr-callback-popup .tm-popup-master textarea {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .submit-row {
        width: 100% !important;
        margin: 14px 0 0 !important;
        padding: 0 !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup input[type="submit"].btn-gold-master,
    body.jvcr-active .pum-container.jvcr-callback-popup .wpcf7-submit.btn-gold-master {
        box-sizing: border-box !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 15px 20px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #ffffff !important;
        background-image: none !important;
        color: #0b111e !important;
        box-shadow: none !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        text-transform: uppercase !important;
        opacity: 1 !important;
        -webkit-text-fill-color: #0b111e !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .privacy-text {
        margin: 18px 4px 0 !important;
        padding: 0 4px !important;
        line-height: 1.45 !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close {
        box-sizing: border-box !important;
        display: grid !important;
        place-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        top: 12px !important;
        right: 12px !important;
        z-index: 1000002 !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        border: 1px solid rgba(255,255,255,.14) !important;
        border-radius: 50% !important;
        background: rgba(45, 62, 91, .92) !important;
        color: #fff !important;
        box-shadow: none !important;
        font-size: 0 !important;
        line-height: 1 !important;
        cursor: pointer !important;
        pointer-events: auto !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close::before {
        content: "×" !important;
        display: block !important;
        color: #fff !important;
        font-size: 29px !important;
        font-weight: 300 !important;
        line-height: 1 !important;
        transform: translateY(-1px) !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close::after {
        content: none !important;
        display: none !important;
    }

    body.post-type-archive-cases.jvcr-active .jvcr-archive-page .jvcr-card,
    body.tax-cases-categories.jvcr-active .jvcr-archive-page .jvcr-card {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }
}


/* =========================================================
   v1.2.1 — stable media viewer, case/header clearance and
   mobile first-visit callback popup alignment
   ========================================================= */

/* Cases pages begin below the fixed/absolute site header instead of visually
   flowing underneath it. This does not affect the home-page cases section. */
body.post-type-archive-cases.jvcr-active .jvcr-archive-page,
body.tax-cases-categories.jvcr-active .jvcr-archive-page,
body.single-cases.jvcr-active .jvcr-single-page {
    padding-top: 108px !important;
}

/* Keep the gallery viewer below the persistent site navigation. Controls use
   absolute positioning inside the viewer so they cannot sit in the header. */
body.jvcr-active .jvcr-lightbox {
    --jvcr-lightbox-header-offset: 94px;
    inset: var(--jvcr-lightbox-header-offset) 0 0 !important;
    z-index: 2147483000 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 76px 28px 24px !important;
    grid-template-rows: minmax(0, 1fr) !important;
    place-items: stretch !important;
    pointer-events: auto !important;
    touch-action: none;
}

body.jvcr-active .jvcr-lightbox[hidden] {
    display: none !important;
}

body.jvcr-active .jvcr-lightbox__stage {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    padding: 24px !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
    pointer-events: auto !important;
}

body.jvcr-active .jvcr-lightbox__stage img {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    flex: 0 0 auto !important;
    margin: auto !important;
    max-width: none !important;
    max-height: none !important;
    pointer-events: auto !important;
    cursor: zoom-in;
    touch-action: none;
}

body.jvcr-active .jvcr-lightbox__toolbar,
body.jvcr-active .jvcr-lightbox__close {
    position: absolute !important;
    top: 14px !important;
    z-index: 2147483002 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

body.jvcr-active .jvcr-lightbox__toolbar {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

body.jvcr-active .jvcr-lightbox__close {
    right: 24px !important;
    left: auto !important;
    display: grid !important;
    place-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.jvcr-active .jvcr-lightbox__toolbar button,
body.jvcr-active .jvcr-lightbox__close {
    cursor: pointer !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile first-visit callback popup. The class is added by JS after reliable
   text detection, so these rules stay isolated from consultation popups. */
@media (max-width: 767px) {
    body.post-type-archive-cases.jvcr-active .jvcr-archive-page,
    body.tax-cases-categories.jvcr-active .jvcr-archive-page,
    body.single-cases.jvcr-active .jvcr-single-page {
        padding-top: 92px !important;
    }

    body.jvcr-active .jvcr-lightbox {
        --jvcr-lightbox-header-offset: 86px;
        padding: 68px 12px 14px !important;
    }

    body.jvcr-active .jvcr-lightbox__stage {
        padding: 12px !important;
        border-radius: 16px !important;
    }

    body.jvcr-active .jvcr-lightbox__toolbar,
    body.jvcr-active .jvcr-lightbox__close {
        top: 10px !important;
    }

    body.jvcr-active .jvcr-lightbox__close {
        right: 12px !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup {
        position: fixed !important;
        inset: auto !important;
        top: max(12px, env(safe-area-inset-top)) !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translateX(-50%) !important;
        box-sizing: border-box !important;
        width: calc(100vw - 32px) !important;
        max-width: 430px !important;
        min-width: 0 !important;
        max-height: calc(100dvh - 24px) !important;
        margin: 0 !important;
        padding: 82px 22px 30px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border-radius: 26px !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .pum-content,
    body.jvcr-active .pum-container.jvcr-callback-popup .tm-popup-master,
    body.jvcr-active .pum-container.jvcr-callback-popup .tm-popup-master form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .jvcr-callback-title,
    body.jvcr-active .pum-container.jvcr-callback-popup .popup-title,
    body.jvcr-active .pum-container.jvcr-callback-popup .pum-title,
    body.jvcr-active .pum-container.jvcr-callback-popup .tm-popup-title {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 28px !important;
        padding: 8px 16px 0 !important;
        font-size: clamp(24px, 7vw, 31px) !important;
        line-height: 1.1 !important;
        letter-spacing: -.03em !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .jvcr-callback-close,
    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close {
        position: absolute !important;
        top: 16px !important;
        right: 16px !important;
        left: auto !important;
        z-index: 2147483003 !important;
        box-sizing: border-box !important;
        display: grid !important;
        place-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 50% !important;
        background: rgba(45, 62, 91, .94) !important;
        color: #fff !important;
        box-shadow: none !important;
        font-size: 0 !important;
        line-height: 1 !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .jvcr-callback-close > span,
    body.jvcr-active .pum-container.jvcr-callback-popup .jvcr-callback-close::before,
    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close::before {
        content: "×" !important;
        display: block !important;
        color: #fff !important;
        font-size: 30px !important;
        font-weight: 300 !important;
        line-height: 1 !important;
        transform: translateY(-1px) !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .jvcr-callback-close::after,
    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close::after {
        content: none !important;
        display: none !important;
    }
}


/* =========================================================
   v1.3.0 — unified thin arrows and final surface cleanup
   ========================================================= */

/* All Cases Studio arrows use the same thin Arial arrow as the rest of the site. */
body.jvcr-active .jvcr-button__icon > span,
body.jvcr-active .jvcr-arrow > span,
body.jvcr-active .jvcr-slider__nav > span,
body.jvcr-active .jvcr-quiz-button__icon > span {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    background: none !important;
    transform: none !important;
}

body.jvcr-active .jvcr-button__icon > span::before,
body.jvcr-active .jvcr-arrow > span::before,
body.jvcr-active .jvcr-slider__nav > span::before,
body.jvcr-active .jvcr-quiz-button__icon > span::before {
    content: none !important;
    display: none !important;
}

body.jvcr-active .jvcr-button__icon > span::after,
body.jvcr-active .jvcr-arrow > span::after,
body.jvcr-active .jvcr-slider__nav > span::after,
body.jvcr-active .jvcr-quiz-button__icon > span::after {
    content: "→" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    background: none !important;
    color: inherit !important;
    font-family: Arial, sans-serif !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    transform: translate(-50%, -50%) !important;
}

body.jvcr-active .jvcr-slider__nav--prev > span::after,
body.jvcr-active .jvcr-quiz-button__icon--back > span::after {
    content: "←" !important;
}

/* No residual rectangular field aura on Cases pages. */
body.jvcr-active .tm-content-form > .tm-grid,
body.jvcr-active .tm-form-block__form > .tm-grid,
body.jvcr-active .pum-container .field-row,
body.jvcr-active .pum-container .wpcf7-form-control-wrap {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
}

body.jvcr-active .tm-content-form > .tm-grid::before,
body.jvcr-active .tm-content-form > .tm-grid::after,
body.jvcr-active .tm-form-block__form > .tm-grid::before,
body.jvcr-active .tm-form-block__form > .tm-grid::after,
body.jvcr-active .pum-container .field-row::before,
body.jvcr-active .pum-container .field-row::after,
body.jvcr-active .pum-container .wpcf7-form-control-wrap::before,
body.jvcr-active .pum-container .wpcf7-form-control-wrap::after {
    content: none !important;
    display: none !important;
}

/* v1.3.0: final mobile callback close alignment inside Cases contexts. */
@media (max-width: 767px) {
    body.jvcr-active .pum-container.jvcr-callback-popup {
        padding-top: 94px !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .jvcr-callback-close,
    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close {
        top: 20px !important;
        right: 20px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        display: block !important;
        place-items: initial !important;
        font-size: 0 !important;
        line-height: 0 !important;
        overflow: hidden !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .jvcr-callback-close::before,
    body.jvcr-active .pum-container.jvcr-callback-popup .jvcr-callback-close::after,
    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close::before,
    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        width: 20px !important;
        height: 2px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #fff !important;
        transform-origin: center !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .jvcr-callback-close::before,
    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close::before {
        transform: translate(-50%, -50%) rotate(45deg) !important;
    }

    body.jvcr-active .pum-container.jvcr-callback-popup .jvcr-callback-close::after,
    body.jvcr-active .pum-container.jvcr-callback-popup .pum-close::after {
        transform: translate(-50%, -50%) rotate(-45deg) !important;
    }
}
