.chernov-single--service .chernov-page-heading,
.chernov-single--sample .chernov-page-heading,
.chernov-single--article .chernov-page-heading {
    padding-bottom: 2.5rem;
}

.chernov-single--sample .chernov-single__content {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.chernov-single--sample .chernov-single__content > .chernov-rich-text {
    margin-inline: auto;
}

.chernov-single--sample .chernov-sample-actions {
    max-width: var(--reading);
    margin-right: auto;
    margin-left: auto;
}

.chernov-sample-note {
    max-width: var(--reading);
    margin: 3rem auto 1rem;
    padding: 1.5rem;
    border-left: 3px solid var(--color-brass);
    background: var(--color-paper);
}

.chernov-sample-note h2 {
    margin-bottom: .8rem;
    font-size: 1.35rem;
}

.chernov-sample-breadcrumbs,
.chernov-service-breadcrumbs {
    padding-block: 1.5rem 3rem;
}

.chernov-single--article .chernov-page-heading h1 {
    max-width: 960px;
}

.chernov-single--article .chernov-posts-section {
    padding-top: 3rem;
}

.chernov-single--article .chernov-posts-section .chernov-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chernov-page-template-default .chernov-content-section {
    padding-top: 3.5rem;
}

/* Other legal services page */
.chernov-other-hero {
    background: var(--color-surface) !important;
}

.chernov-other-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .7fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
}

.chernov-other-hero__contact {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--radius-md);
    color: var(--color-surface);
    background: var(--color-ink);
}

.chernov-other-hero__contact > h2 {
    margin-bottom: 1rem;
    color: var(--color-surface);
}

.chernov-other-description {
    background: var(--color-paper) !important;
}

.chernov-other-price {
    padding-block: clamp(3.5rem, 6vw, 5rem);
    background: var(--color-surface) !important;
}

.chernov-other-price .chernov-section__title {
    max-width: 26ch;
    margin-bottom: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

@media (max-width: 1023px) {
    .chernov-single--article .chernov-posts-section .chernov-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chernov-other-hero__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .chernov-single--article .chernov-posts-section .chernov-post-grid {
        grid-template-columns: 1fr;
    }

    .chernov-other-hero__contact {
        padding: 1.5rem;
    }
}

/* Service page v2 visual contract. Content and certificates keep their existing owners. */
.chernov-single--service {
    --container: 1240px;
}

.chernov-single--service .chernov-container {
    width: min(var(--container), calc(100% - 32px));
}

.chernov-single--service .chernov-service-breadcrumbs {
    padding-block: .9375rem;
}

.chernov-single--service .chernov-service-breadcrumbs .chernov-breadcrumbs {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chernov-single--service .chernov-service-breadcrumbs .chernov-breadcrumbs ol {
    flex-wrap: nowrap;
    overflow: hidden;
}

.chernov-single--service .chernov-service-breadcrumbs .chernov-breadcrumbs li:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chernov-single--service .chernov-hero--service {
    min-height: clamp(29.375rem, 36.1vw, 32.5rem);
}

.chernov-single--service .chernov-hero--service .chernov-hero__inner {
    align-items: center;
}

.chernov-single--service .chernov-hero--service .chernov-hero__content {
    width: min(47rem, 64%);
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.chernov-single--service .chernov-hero--service .chernov-hero__media {
    inset: 0 0 0 auto;
    width: 62%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 70%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 70%, transparent 100%);
}

.chernov-single--service .chernov-hero--service .chernov-hero__media img {
    object-position: center center;
}

.chernov-single--service .chernov-hero--service .chernov-hero__scrim {
    background: linear-gradient(90deg, var(--color-ink) 0%, var(--color-ink) 18%, rgba(8, 26, 40, .94) 42%, rgba(8, 26, 40, .3) 78%, rgba(8, 26, 40, .05) 100%);
}

.chernov-single--service .chernov-hero--service h1,
.chernov-single--service .chernov-service-summary__copy h2,
.chernov-single--service .chernov-service-summary__copy h3,
.chernov-single--service .chernov-service-detail__content h2,
.chernov-single--service .chernov-service-detail__content h3,
.chernov-single--service .chernov-service-price h2,
.chernov-single--service .chernov-faq > .chernov-container > h2,
.chernov-single--service .chernov-related-services > .chernov-container > h2 {
    font-family: Georgia, "Times New Roman", serif;
}

.chernov-single--service .chernov-hero--service h1 {
    max-width: 14ch;
    font-weight: 700;
    font-size: clamp(2.125rem, 3.2vw, 2.875rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.chernov-single--service .chernov-hero--service .chernov-eyebrow {
    margin-bottom: .625rem;
    font-size: .75rem;
}

.chernov-single--service .chernov-hero--service .chernov-hero__text {
    max-width: 42rem;
    margin-top: 1.5rem;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    font-weight: 400;
    line-height: 1.62;
}

.chernov-single--service .chernov-hero--service .chernov-hero__actions {
    gap: .75rem;
    margin-top: 1.875rem;
}

.chernov-single--service .chernov-hero--service .chernov-hero__phone {
    min-height: 48px;
    padding: .75rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--radius-sm);
    color: var(--color-surface) !important;
    font-weight: 600;
}

.chernov-single--service .chernov-hero--service .chernov-hero__phone:hover,
.chernov-single--service .chernov-hero--service .chernov-hero__phone:focus-visible {
    border-color: var(--color-brass);
    color: var(--color-surface) !important;
    background: rgba(255, 255, 255, .08);
}

.chernov-single--service .chernov-service-summary {
    padding: 4.375rem 0;
    background: var(--color-paper) !important;
}

.chernov-single--service .chernov-service-summary__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(20.625rem, .55fr);
    align-items: start;
    gap: 2rem;
}

.chernov-single--service .chernov-service-summary__copy {
    padding: 2.375rem 2.625rem;
    border-left: 3px solid var(--color-brass);
    background: var(--color-surface);
}

.chernov-single--service .chernov-service-summary__copy .chernov-rich-text {
    max-width: none;
    font-size: 1rem;
    line-height: 1.62;
}

.chernov-single--service .chernov-service-summary__copy .chernov-rich-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 2.5vw, 1.9rem);
    line-height: 1.16;
}

.chernov-single--service .chernov-service-summary__copy .chernov-rich-text h2:first-child {
    margin-top: 0;
}

.chernov-single--service .chernov-service-price {
    padding: 4.5rem 0;
    background: #ece7de !important;
}

.chernov-single--service .chernov-service-detail {
    padding: 5.125rem 0;
    background: var(--color-paper) !important;
}

.chernov-single--service .chernov-service-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, var(--reading)) 270px;
    justify-content: center;
    align-items: start;
    gap: 4.75rem;
}

.chernov-single--service .chernov-service-detail__main {
    min-width: 0;
}

.chernov-single--service .chernov-service-detail__main > .chernov-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.chernov-single--service .chernov-service-detail__main > .chernov-eyebrow::after {
    height: 1px;
    flex: 1 1 auto;
    background: var(--color-line);
    content: "";
}

.chernov-single--service .chernov-service-detail__main > .chernov-eyebrow,
.chernov-single--service .chernov-service-detail__content,
.chernov-single--service .chernov-service-toc,
.chernov-single--service .chernov-service-toc nav {
    max-width: var(--reading);
    margin-inline: auto;
}

.chernov-single--service .chernov-service-detail__content {
    font-size: 1rem;
    line-height: 1.68;
}

.chernov-single--service .chernov-service-detail__lead {
    margin-bottom: 1.75rem;
    padding: 1.5rem 1.75rem;
    border-left: 3px solid var(--color-brass);
    background: var(--color-surface);
}

.chernov-single--service .chernov-service-detail__lead > :last-child {
    margin-bottom: 0;
}

.chernov-single--service .chernov-service-detail__lead + h2 {
    margin-top: 0;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-line);
}

.chernov-single--service .chernov-service-detail__content h2 {
    margin-top: 2.625rem;
    margin-bottom: 1.125rem;
    font-size: clamp(1.6rem, 2.5vw, 1.8rem);
    line-height: 1.18;
}

.chernov-single--service .chernov-service-detail__content h2:first-child {
    margin-top: 0;
}

.chernov-single--service .chernov-service-detail__content h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
}

.chernov-single--service .chernov-service-toc {
    position: sticky;
    top: 1.5rem;
    padding: 0;
    background: var(--color-paper) !important;
}

.chernov-single--service .chernov-service-toc nav {
    padding: 1.375rem 1.5rem;
    border-left: 3px solid var(--color-brass);
    background: rgba(255, 255, 255, .7);
}

.chernov-single--service .chernov-service-toc ol {
    display: grid;
    gap: .3rem;
    margin: 0;
    padding-left: 1.25rem;
}

.chernov-single--service .chernov-service-toc a {
    color: var(--color-muted);
    font-size: .9375rem;
    line-height: 1.45;
}

.chernov-single--service .chernov-faq {
    padding: 4.75rem 0;
}

.chernov-single--service .chernov-faq__eyebrow,
.chernov-single--service .chernov-related-services__eyebrow {
    margin-bottom: .5rem;
}

.chernov-single--service .chernov-faq > .chernov-container > h2,
.chernov-single--service .chernov-related-services > .chernov-container > h2 {
    font-size: clamp(2rem, 3.2vw, 2.25rem);
    line-height: 1.08;
}

.chernov-single--service .chernov-faq__question {
    min-height: 4.375rem;
    font-size: 1.125rem;
    line-height: 1.4;
}

.chernov-single--service .chernov-faq__answer {
    font-size: .9375rem;
    line-height: 1.65;
}

.chernov-single--service .chernov-related-services {
    padding: 4.75rem 0;
    background: #ece7de !important;
}

.chernov-single--service .chernov-related-services__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 1.5rem 0 0;
    padding: 0;
    border-top: 1px solid rgba(8, 26, 40, .18);
    list-style: none;
}

.chernov-single--service .chernov-related-services__list li:nth-child(odd) {
    border-right: 1px solid rgba(8, 26, 40, .18);
}

.chernov-single--service .chernov-related-services__list a {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 1.25rem;
    align-items: start;
    gap: 1rem;
    min-height: 4.5rem;
    padding: 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(8, 26, 40, .18);
    color: var(--color-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
    text-decoration: none;
}

.chernov-single--service .chernov-related-services__number {
    padding-top: .22rem;
    color: var(--color-brass-hover);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: .72rem;
    font-weight: 800;
}

.chernov-single--service .chernov-related-services__body {
    min-width: 0;
}

.chernov-single--service .chernov-related-services__body strong {
    display: block;
    color: var(--color-ink);
    font-size: 1.08rem;
    line-height: 1.3;
}

.chernov-single--service .chernov-related-services__body small {
    display: block;
    margin-top: .45rem;
    color: var(--color-muted);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: .78rem;
    font-weight: 400;
    line-height: 1.45;
}

.chernov-single--service .chernov-related-services__arrow {
    color: var(--color-brass-hover);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    transition: transform .18s ease;
}

.chernov-single--service .chernov-related-services__list a:hover .chernov-related-services__arrow,
.chernov-single--service .chernov-related-services__list a:focus-visible .chernov-related-services__arrow {
    transform: translateX(.2rem);
}

@media (max-width: 1023px) {
    .chernov-single--service .chernov-hero--service {
        min-height: 29.375rem;
    }

    .chernov-single--service .chernov-hero--service .chernov-hero__content {
        width: min(42rem, 64%);
    }

    .chernov-single--service .chernov-hero--service .chernov-hero__media {
        width: 58%;
    }

    .chernov-single--service .chernov-service-summary__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .chernov-single--service .chernov-service-detail__grid {
        grid-template-columns: minmax(0, var(--reading));
        gap: 1.75rem;
    }

    .chernov-single--service .chernov-service-toc {
        position: static;
        order: -1;
        width: 100%;
    }
}

@media (max-width: 760px) {
    .chernov-single--service .chernov-container {
        width: min(var(--container), calc(100% - 24px));
    }

    .chernov-single--service .chernov-hero--service {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .chernov-single--service .chernov-hero--service .chernov-hero__inner {
        order: 1;
        min-height: 0;
    }

    .chernov-single--service .chernov-hero--service .chernov-hero__media {
        position: relative;
        order: 2;
        inset: auto;
        width: 100%;
        aspect-ratio: 16 / 10;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 100%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 100%);
    }

    .chernov-single--service .chernov-hero--service .chernov-hero__media img {
        object-position: center center;
    }

    .chernov-single--service .chernov-hero--service .chernov-hero__scrim {
        display: none;
    }

    .chernov-single--service .chernov-hero--service .chernov-hero__content {
        width: auto;
        padding: 2.125rem 0 1.875rem;
    }

    .chernov-single--service .chernov-hero--service h1 {
        font-size: 2rem;
    }

    .chernov-single--service .chernov-hero--service .chernov-hero__text {
        margin-top: 1.125rem;
        font-size: 1rem;
    }

    .chernov-single--service .chernov-hero--service .chernov-hero__actions {
        display: grid;
        width: 100%;
        margin-top: 1.5rem;
    }

    .chernov-single--service .chernov-hero--service .chernov-hero__actions > * {
        width: 100%;
        justify-content: center;
    }

    .chernov-single--service .chernov-service-summary {
        padding: 2.375rem 0;
    }

    .chernov-single--service .chernov-service-summary__grid {
        grid-template-columns: 1fr;
        gap: .875rem;
    }

    .chernov-single--service .chernov-service-summary__copy {
        padding: 1.5rem 1.375rem 1.5rem 1.5625rem;
    }

    .chernov-single--service .chernov-service-summary__copy .chernov-rich-text h2 {
        font-size: 1.55rem;
    }

    .chernov-single--service .chernov-service-price {
        padding: 3rem 0;
    }

    .chernov-single--service .chernov-service-detail {
        padding: 3.25rem 0;
    }

    .chernov-single--service .chernov-service-detail__content {
        font-size: 1rem;
    }

    .chernov-single--service .chernov-service-detail__lead {
        padding: 1.25rem 1.125rem;
    }

    .chernov-single--service .chernov-service-detail__content h2 {
        font-size: 1.5625rem;
    }

    .chernov-single--service .chernov-service-toc nav {
        padding: 1.125rem;
    }

    .chernov-single--service .chernov-service-toc a {
        font-size: .9375rem;
    }

    .chernov-single--service .chernov-faq,
    .chernov-single--service .chernov-related-services {
        padding: 3.125rem 0;
    }

    .chernov-single--service .chernov-faq > .chernov-container > h2,
    .chernov-single--service .chernov-related-services > .chernov-container > h2 {
        font-size: 2rem;
    }

    .chernov-single--service .chernov-faq__question {
        min-height: 4rem;
        font-size: 1rem;
        line-height: 1.4;
    }

    .chernov-single--service .chernov-faq__answer {
        padding-right: 0;
        font-size: .9375rem;
    }

    .chernov-single--service .chernov-related-services__list {
        grid-template-columns: 1fr;
    }

    .chernov-single--service .chernov-related-services__list li:nth-child(odd) {
        border-right: 0;
    }

    .chernov-single--service .chernov-related-services__list a {
        min-height: 3.75rem;
        grid-template-columns: 2rem minmax(0, 1fr) 1rem;
        padding: 1.125rem .375rem;
    }
}

@media (max-width: 360px) {
    .chernov-single--service .chernov-container {
        width: calc(100% - 24px);
    }
}
