html {
    scroll-behavior: smooth;
}

.notewall-paint-tinting-body .site-content,
.notewall-paint-tinting-body .ast-container,
.notewall-paint-tinting-body.ast-plain-container.ast-no-sidebar #primary,
.notewall-paint-tinting-body .site-main,
.notewall-paint-tinting-body article,
.notewall-paint-tinting-body .entry-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.notewall-paint-tinting-body .entry-content > * {
    max-width: none;
}

.notewall-paint-tinting-page {
    width: var(--nw-container-width, min(1600px, calc(100vw - 160px)));
    max-width: var(--nw-container, 1600px);
    margin: 0 auto;
    padding: 0 0 96px;
    color: #1B2830;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.nw-paint-tinting-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 238px;
    padding: 24px 40px;
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 52% 34%, rgba(255, 255, 255, .68) 0, rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .28) 0, rgba(255, 255, 255, 0) 28%),
        linear-gradient(95.19deg, #EEF8FA -1.12%, #EAF1FB 38.56%, rgba(244, 250, 253, 0) 71.02%),
        url(//notewall.ru/wp-content/themes/astra-child/assets/images/paint-tinting/hero.jpg) center right / cover no-repeat;
    box-shadow: 0 1px 4px rgba(12, 12, 13, .05);
}

.nw-paint-tinting-hero__content {
    position: relative;
    z-index: 1;
    width: min(100%, 540px);
}

.nw-paint-tinting-hero h1 {
    margin: 0 0 16px;
    color: #1B2830;
    font-size: 48px;
    font-weight: 800;
    line-height: 55px;
    letter-spacing: -1px;
}

.nw-paint-tinting-hero p {
    width: min(100%, 540px);
    margin: 0;
    color: #52666F;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.nw-paint-tinting-base {
    margin-top: 80px;
}

.nw-paint-tinting-base > h2 {
    margin: 0 0 32px;
    color: #1B2830;
    font-size: 34px;
    font-weight: 800;
    line-height: 38px;
    letter-spacing: -.5px;
}

.nw-paint-tinting-base__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.47fr) minmax(380px, 1fr);
    gap: 20px;
    align-items: stretch;
}

.nw-paint-tinting-base__summary {
    min-width: 0;
    padding-top: 4px;
}

.nw-paint-tinting-base__intro,
.nw-paint-tinting-base__label,
.nw-paint-tinting-base__note {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.nw-paint-tinting-base__intro {
    max-width: 610px;
    color: #3B434D;
}

.nw-paint-tinting-base__label {
    margin-top: 24px;
    color: #64727E;
}

.nw-paint-tinting-ranges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.nw-paint-tinting-ranges-nav {
    margin: 0;
}

.nw-paint-tinting-ranges__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.nw-paint-tinting-ranges__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 10px 20px;
    border: 1px solid var(--range-accent);
    border-radius: 999px;
    color: var(--range-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.notewall-paint-tinting-body .nw-paint-tinting-ranges__pill:visited {
    color: var(--range-text);
}

.notewall-paint-tinting-body .nw-paint-tinting-ranges__pill:hover {
    background: #f7fbfc;
    box-shadow: 0 6px 16px rgba(34, 134, 157, .12);
    color: var(--range-text);
    text-decoration: none;
    transform: translateY(-1px);
}

.notewall-paint-tinting-body .nw-paint-tinting-ranges__pill:focus-visible {
    outline: 3px solid #2BA8C4;
    outline-offset: 3px;
    color: var(--range-text);
    text-decoration: none;
}

.notewall-paint-tinting-body .nw-paint-tinting-ranges__pill.is-active,
.notewall-paint-tinting-body .nw-paint-tinting-ranges__pill[aria-current="location"] {
    background: #f7fbfc;
    background: color-mix(in srgb, var(--range-accent) 12%, #fff);
    box-shadow: 0 0 0 2px var(--range-accent);
    color: var(--range-text);
}

.nw-paint-tinting-ranges__range {
    color: #64727E;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
}

.nw-paint-tinting-base__note {
    max-width: 610px;
    margin-top: 28px;
    color: #3B434D;
    font-weight: 500;
}

.nw-paint-tinting-base__note span {
    color: #2BA8C4;
}

.nw-paint-tinting-cta {
    position: relative;
    min-height: 418px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(88.84deg, #309CBA -14.36%, #5CC6D9 109%);
}

.nw-paint-tinting-cta::before,
.nw-paint-tinting-cta::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    pointer-events: none;
}

.nw-paint-tinting-cta::before {
    width: 238px;
    height: 238px;
    right: -78px;
    top: -88px;
    background: rgba(255, 255, 255, .14);
}

.nw-paint-tinting-cta::after {
    width: 172px;
    height: 172px;
    left: -64px;
    bottom: -70px;
    background: rgba(255, 255, 255, .1);
}

.nw-paint-tinting-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 418px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 54px 16px;
    text-align: center;
}

.nw-paint-tinting-cta h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 800;
    line-height: 34px;
    letter-spacing: 0;
}

.nw-paint-tinting-cta p {
    max-width: 430px;
    margin: 0;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.nw-paint-tinting-cta__button {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow: 0 12px 26px rgba(43, 152, 176, .6);
    color: #249DB7;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
}

.nw-paint-tinting-cta__button:hover,
.nw-paint-tinting-cta__button:focus-visible {
    color: #1E8EA8;
    text-decoration: none;
}

.nw-paint-tinting-palette {
    margin-top: 56px;
}

.nw-paint-tinting-section + .nw-paint-tinting-section {
    margin-top: 48px;
}

.nw-paint-tinting-section {
    scroll-margin-top: 195px;
}

.nw-paint-tinting-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    color: #22869D;
    font-size: 20px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nw-paint-tinting-section__title span {
    width: 28px;
    height: 2px;
    flex: 0 0 28px;
    border-radius: 999px;
    background: #2BA8C4;
}

.nw-paint-tinting-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nw-paint-tinting-swatch {
    display: flex;
    min-height: 166px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 18px;
    border: 1px solid var(--swatch-border);
    border-radius: 16px;
    background: var(--swatch-bg);
    color: var(--swatch-fg);
    text-align: center;
}

.nw-paint-tinting-swatch__code {
    color: inherit;
    font-family: "Golos Text", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 29px;
}

.nw-paint-tinting-swatch__name {
    color: inherit;
    font-size: 24px;
    font-weight: 400;
    line-height: 33px;
}

@media (max-width: 1199px) {
    .notewall-paint-tinting-page {
        width: min(calc(100vw - 48px), 1000px);
    }

    .nw-paint-tinting-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .notewall-paint-tinting-page {
        width: min(calc(100vw - 40px), 760px);
    }

    .nw-paint-tinting-base__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nw-paint-tinting-cta {
        min-height: 390px;
        border-radius: 27px;
    }

    .nw-paint-tinting-cta__inner {
        min-height: 390px;
        padding: 40px 20px;
    }
}

@media (max-width: 767px) {
    .notewall-paint-tinting-page {
        width: 100%;
        padding: 0 0 64px;
    }

    .nw-paint-tinting-hero {
        min-height: 489px;
        align-items: flex-start;
        justify-content: center;
        padding: 32px 20px;
        background:
            linear-gradient(180deg, #EEF8FA 2.56%, #EAF1FB 47.49%, rgba(244, 250, 253, 0) 84.25%),
            url(//notewall.ru/wp-content/themes/astra-child/assets/images/paint-tinting/hero.jpg) center bottom / 165% auto no-repeat;
        text-align: center;
    }

    .nw-paint-tinting-hero__content {
        width: 100%;
    }

    .nw-paint-tinting-hero h1 {
        margin-bottom: 16px;
        font-size: 30px;
        font-weight: 700;
        line-height: 36px;
    }

    .nw-paint-tinting-hero p {
        width: 100%;
        font-size: 16px;
        line-height: 24px;
    }

    .nw-paint-tinting-base {
        margin-top: 64px;
        padding: 0 20px;
        text-align: center;
    }

    .nw-paint-tinting-base > h2 {
        margin-bottom: 20px;
        font-size: 24px;
        font-weight: 800;
        line-height: 30px;
    }

    .nw-paint-tinting-base__intro,
    .nw-paint-tinting-base__label,
    .nw-paint-tinting-base__note {
        font-size: 16px;
        line-height: 24px;
    }

    .nw-paint-tinting-base__label {
        margin-top: 24px;
    }

    .nw-paint-tinting-ranges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 15px;
        margin-top: 20px;
    }

    .nw-paint-tinting-ranges__item {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .nw-paint-tinting-ranges__item:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 190px);
    }

    .nw-paint-tinting-ranges__pill {
        width: 100%;
        min-height: 39px;
        padding: 10px 12px;
        white-space: normal;
    }

    .nw-paint-tinting-ranges__range {
        font-size: 13px;
        line-height: 18px;
        white-space: normal;
    }

    .nw-paint-tinting-base__note {
        margin-top: 24px;
    }

    .nw-paint-tinting-cta {
        width: calc(100% + 40px);
        margin: 32px -20px 0;
    }

    .nw-paint-tinting-cta h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .nw-paint-tinting-palette {
        margin-top: 64px;
        padding: 0 20px;
    }

    .nw-paint-tinting-section + .nw-paint-tinting-section {
        margin-top: 40px;
    }

    .nw-paint-tinting-section {
        scroll-margin-top: 196px;
    }

    .nw-paint-tinting-section__title {
        justify-content: center;
        margin-bottom: 20px;
        font-size: 20px;
        line-height: 27px;
    }

    .nw-paint-tinting-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 15px;
    }

    .nw-paint-tinting-swatch {
        min-height: 166px;
        gap: 16px;
        padding: 12px 8px;
    }

    .nw-paint-tinting-swatch__code {
        font-size: 16px;
        line-height: 19px;
    }

    .nw-paint-tinting-swatch__name {
        font-size: 16px;
        line-height: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .nw-paint-tinting-ranges__pill {
        transition: none;
    }
}

@media (max-width: 340px) {
    .nw-paint-tinting-base,
    .nw-paint-tinting-palette {
        padding-right: 12px;
        padding-left: 12px;
    }

    .nw-paint-tinting-hero {
        padding-right: 12px;
        padding-left: 12px;
    }

    .nw-paint-tinting-cta {
        width: calc(100% + 24px);
        margin-right: -12px;
        margin-left: -12px;
    }

    .nw-paint-tinting-grid {
        column-gap: 10px;
    }
}