/* Styles are scoped to this template. Fonts are already loaded by the Olertis theme. */
.ai-jewelry-studio {
    --ais-green: var(--green, #166754);
    --ais-ink: #1d302d;
    --ais-milk: var(--milk, #fff8ef);
    --ais-gutter: clamp(20px, 4vw, 64px);
    --ais-shell: 1400px;
    --ais-reading: 1120px;
    --ais-edge: #15463b;
    --ais-side-tint: #e6eee9;
    --ais-title-size: clamp(34px, 4.7vw, 64px);
    --ais-hero-padding: clamp(48px, 6.2vw, 96px);
    --ais-workspace-overlap: clamp(20px, 3vw, 32px);
    color: var(--ais-ink);
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 350;
    line-height: 1.7;
}

.ai-jewelry-studio .ai-jewelry-studio__container {
    padding: 0;
}

.ai-jewelry-studio .ai-jewelry-studio__page {
    margin: 0;
    padding: 0;
}

.ai-jewelry-studio .ai-jewelry-studio__shell {
    box-sizing: border-box;
    width: calc(100% - var(--ais-gutter) - var(--ais-gutter));
    max-width: var(--ais-shell);
    margin-inline: auto;
}

.ai-jewelry-studio .ai-jewelry-studio__header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: var(--ais-hero-padding);
    background: var(--ais-edge);
    color: var(--ais-milk);
    text-align: center;
}

.ai-jewelry-studio .ai-jewelry-studio__hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.ai-jewelry-studio .ai-jewelry-studio__header--has-image::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    content: "";
}

.ai-jewelry-studio .ai-jewelry-studio__header-inner {
    position: relative;
    max-width: 1040px;
}

.ai-jewelry-studio .ai-jewelry-studio__title {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    color: var(--ais-milk);
    -webkit-text-stroke: 1px currentColor;
    font-family: "Boska-Variable", Georgia, serif;
    font-size: var(--ais-title-size);
    font-weight: 500;
    font-style: normal;
    line-height: 1.14;
    letter-spacing: -0.015em;
    text-align: center;
    text-transform: none;
    text-shadow: none;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.ai-jewelry-studio .ai-jewelry-studio__below-header {
    /* Same boundaries as the studio shell; the center stays completely white. */
    --ais-side-width: max(var(--ais-gutter), calc((100% - var(--ais-shell)) / 2));
    display: flow-root;
    background-color: #fff;
    background-image: linear-gradient(
        to right,
        var(--ais-side-tint) 0%,
        #fff var(--ais-side-width),
        #fff calc(100% - var(--ais-side-width)),
        var(--ais-side-tint) 100%
    );
}

.ai-jewelry-studio .ai-jewelry-studio__body {
    display: flow-root;
    padding-block: 0 clamp(56px, 7vw, 104px);
}

.ai-jewelry-studio .ai-jewelry-studio__workspace {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin: calc(0px - var(--ais-workspace-overlap)) 0 clamp(40px, 5vw, 72px);
}

.ai-jewelry-studio .ai-jewelry-studio__intro {
    --ais-orbit-top: -148px;
    --ais-orbit-right: -136px;
    --ais-star-scale: 1.16;
    box-sizing: border-box;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 4vw, 64px);
    width: 100%;
    padding: clamp(24px, 4vw, 56px);
    overflow: hidden;
    border: 1px solid #eee9de;
    border-radius: 18px;
    background: #fbf8f0;
    box-shadow: 0 12px 32px rgba(21, 70, 59, 0.08);
}

.ai-jewelry-studio .ai-jewelry-studio__intro::before,
.ai-jewelry-studio .ai-jewelry-studio__stars {
    position: absolute;
    top: var(--ais-orbit-top);
    right: var(--ais-orbit-right);
    box-sizing: border-box;
    width: 312px;
    height: 312px;
    overflow: hidden;
    border: 1px solid #bda160;
    border-radius: 50%;
    pointer-events: none;
}

.ai-jewelry-studio .ai-jewelry-studio__intro::before {
    z-index: -1;
    background: #fff;
    content: "";
}

.ai-jewelry-studio .ai-jewelry-studio__stars {
    z-index: 1;
    border-color: transparent;
}

.ai-jewelry-studio .ai-jewelry-studio__star {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: calc(var(--ais-star-size) * var(--ais-star-scale));
    height: calc(var(--ais-star-size) * var(--ais-star-scale) * 1.23);
    background: #a98c50;
    clip-path: polygon(50% 0%, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0% 50%, 42% 42%);
    transform: translate(var(--ais-star-x), var(--ais-star-y)) rotate(var(--ais-star-angle, 0deg));
    transform-origin: center;
}

.ai-jewelry-studio .ai-jewelry-studio__star:nth-child(1) {
    --ais-star-size: 16px;
    --ais-star-x: 62px;
    --ais-star-y: 166px;
}

.ai-jewelry-studio .ai-jewelry-studio__star:nth-child(2) {
    --ais-star-size: 20px;
    --ais-star-x: 122px;
    --ais-star-y: 168px;
    --ais-star-angle: 14deg;
}

.ai-jewelry-studio .ai-jewelry-studio__star:nth-child(3) {
    --ais-star-size: 12px;
    --ais-star-x: 26px;
    --ais-star-y: 218px;
    --ais-star-angle: -18deg;
}

.ai-jewelry-studio .ai-jewelry-studio__star:nth-child(4) {
    --ais-star-size: 22px;
    --ais-star-x: 78px;
    --ais-star-y: 232px;
}

.ai-jewelry-studio .ai-jewelry-studio__star:nth-child(5) {
    --ais-star-size: 14px;
    --ais-star-x: 146px;
    --ais-star-y: 222px;
    --ais-star-angle: 18deg;
}

.ai-jewelry-studio .ai-jewelry-studio__star:nth-child(6) {
    --ais-star-size: 18px;
    --ais-star-x: 80px;
    --ais-star-y: 266px;
    --ais-star-angle: -12deg;
}

.ai-jewelry-studio .ai-jewelry-studio__star:nth-child(7) {
    --ais-star-size: 15px;
    --ais-star-x: 132px;
    --ais-star-y: 272px;
}

.ai-jewelry-studio .ai-jewelry-studio__intro-media {
    position: relative;
    isolation: isolate;
    min-width: 0;
    aspect-ratio: 5 / 6;
}

.ai-jewelry-studio .ai-jewelry-studio__intro-media::before {
    position: absolute;
    top: -22px;
    left: -18px;
    z-index: -1;
    width: 38%;
    height: 56%;
    border-radius: 8px;
    background: #fff;
    pointer-events: none;
    content: "";
}

.ai-jewelry-studio .ai-jewelry-studio__intro-image {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    border: 4px solid #fbf8f0;
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
}

.ai-jewelry-studio .ai-jewelry-studio__intro-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding-block: 20px;
    text-align: left;
    overflow-wrap: anywhere;
}

.ai-jewelry-studio .ai-jewelry-studio__intro-label {
    margin: 0 0 28px;
    padding: 0;
    color: #24594b;
    font-family: "Jost", sans-serif;
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ai-jewelry-studio .ai-jewelry-studio__intro-label::after {
    display: block;
    width: 50px;
    height: 1px;
    margin-top: 28px;
    background: #c8a65e;
    content: "";
}

.ai-jewelry-studio .ai-jewelry-studio__intro-heading {
    margin: 0 0 24px;
    padding: 0;
    color: #103f33;
    -webkit-text-stroke: 1px currentColor;
    font-family: "Boska-Variable", Georgia, serif;
    font-size: clamp(36px, 4vw, 68px);
    font-weight: 500;
    font-style: normal;
    line-height: 1.07;
    letter-spacing: -0.025em;
    text-transform: none;
    text-wrap: balance;
}

.ai-jewelry-studio .ai-jewelry-studio__intro-text {
    margin: 0;
    padding: 0;
    color: #68756f;
    font-family: "Jost", sans-serif;
    font-size: clamp(18px, 1.35vw, 22px);
    font-weight: 350;
    line-height: 1.65;
}

.ai-jewelry-studio .ai-jewelry-studio__intro-copy > :last-child {
    margin-bottom: 0;
}

.ai-jewelry-studio .ai-jewelry-studio__intro--text-only {
    grid-template-columns: minmax(0, 1fr);
}

.ai-jewelry-studio .ai-jewelry-studio__intro--text-only .ai-jewelry-studio__intro-copy {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
}

.ai-jewelry-studio .ai-jewelry-studio__content {
    min-width: 0;
    color: var(--ais-ink);
    font-family: "Jost", sans-serif;
    font-size: clamp(18px, 1.4vw, 20px);
    font-weight: 350;
    line-height: 1.7;
    overflow-wrap: break-word;
}

/* Enable the theme's native utility classes without its service-page layout. */
.ai-jewelry-studio .ai-jewelry-studio__content.single_service_content {
    display: block;
    grid-template-columns: none;
    justify-content: normal;
    padding: 0;
    margin-bottom: 0;
}

.ai-jewelry-studio .ai-jewelry-studio__content > :where(:not(h2)) {
    box-sizing: border-box;
    max-width: var(--ais-reading);
    margin-inline: auto;
}

/* Keep article H2s inside the reading column; typography belongs to the theme. */
.ai-jewelry-studio .ai-jewelry-studio__content h2:not(:where(
    #olertis-ai-jewelry-studio *,
    .olertis-ajs-host *,
    .ai-jewelry-studio__benefits *,
    .ai-jewelry-studio__guide *,
    .ai-jewelry-studio__pagination *
)) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: var(--ais-reading);
    margin-inline: auto;
}

.ai-jewelry-studio .ai-jewelry-studio__content > .alignwide:where(:not(h2)),
.ai-jewelry-studio .ai-jewelry-studio__content > .alignfull:where(:not(h2)) {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}

.ai-jewelry-studio .ai-jewelry-studio__content :where(h3, h4),
.ai-jewelry-studio .ai-jewelry-studio__content :where(
    #olertis-ai-jewelry-studio h2,
    .olertis-ajs-host h2,
    .ai-jewelry-studio__benefits h2,
    .ai-jewelry-studio__guide h2
) {
    color: var(--ais-ink);
    font-family: "Boska-Variable", Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: none;
    text-wrap: balance;
}

.ai-jewelry-studio .ai-jewelry-studio__content h2:where(
    #olertis-ai-jewelry-studio *,
    .olertis-ajs-host *,
    .ai-jewelry-studio__benefits *,
    .ai-jewelry-studio__guide *
) {
    margin-top: clamp(40px, 4.5vw, 64px);
    margin-bottom: 22px;
    font-size: clamp(30px, 3vw, 42px);
}

.ai-jewelry-studio .ai-jewelry-studio__content h3 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: clamp(26px, 2.3vw, 32px);
}

.ai-jewelry-studio .ai-jewelry-studio__content h4 {
    margin-top: 28px;
    margin-bottom: 14px;
    font-size: clamp(23px, 2vw, 28px);
}

.ai-jewelry-studio .ai-jewelry-studio__content p {
    margin-top: 0;
    margin-bottom: 24px;
}

.ai-jewelry-studio .ai-jewelry-studio__content :where(ul, ol) {
    padding-inline-start: 1.35em;
    margin-top: 0;
    margin-bottom: 24px;
}

.ai-jewelry-studio .ai-jewelry-studio__content ul {
    list-style: disc;
}

.ai-jewelry-studio .ai-jewelry-studio__content ol {
    list-style: decimal;
}

.ai-jewelry-studio .ai-jewelry-studio__content li + li {
    margin-top: 8px;
}

.ai-jewelry-studio .ai-jewelry-studio__content a:where(:not(.wp-element-button):not(.wp-block-button__link):not(.btn):not(.button)) {
    color: var(--ais-green);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.ai-jewelry-studio :focus-visible {
    outline: 2px solid var(--ais-green);
    outline-offset: 4px;
}

.ai-jewelry-studio .ai-jewelry-studio__content img {
    max-width: 100%;
    height: auto;
}

.ai-jewelry-studio .ai-jewelry-studio__content figure {
    margin-block: 32px;
}

.ai-jewelry-studio .ai-jewelry-studio__content figcaption {
    margin-top: 12px;
    color: #5b6c66;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.ai-jewelry-studio .ai-jewelry-studio__content blockquote {
    padding: 20px 24px;
    margin-block: 32px;
    border-inline-start: 2px solid var(--ais-green);
    background: #f4f7f5;
}

.ai-jewelry-studio .ai-jewelry-studio__content :where(.wp-block-table, pre) {
    overflow-x: auto;
}

.ai-jewelry-studio .ai-jewelry-studio__content table {
    width: 100%;
    border-collapse: collapse;
}

.ai-jewelry-studio .ai-jewelry-studio__content :where(th, td) {
    padding: 14px 16px;
    border: 1px solid #dce5df;
    text-align: start;
    vertical-align: top;
}

.ai-jewelry-studio .ai-jewelry-studio__content th {
    background: #f4f7f5;
    font-weight: 500;
}

.ai-jewelry-studio .ai-jewelry-studio__content > :first-child:where(:not(h2)) {
    margin-top: 0;
}

.ai-jewelry-studio .ai-jewelry-studio__content > :last-child:where(:not(h2)),
.ai-jewelry-studio .ai-jewelry-studio__content blockquote > :last-child:where(:not(h2)) {
    margin-bottom: 0;
}

.ai-jewelry-studio .ai-jewelry-studio__pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #dce5df;
}

@media (min-width: 1025px) {
    .ai-jewelry-studio {
        --ais-workspace-overlap: 164px; /* 312px arc with a -148px top offset. */
        --ais-banner-extension: calc(var(--ais-workspace-overlap) - clamp(80px, 10vw, 144px));
    }

    .ai-jewelry-studio .ai-jewelry-studio__intro {
        --ais-orbit-top: calc(var(--ais-workspace-overlap) - 312px - 1px);
        --ais-orbit-right: -156px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__header {
        /* Extend the banner to the arc without moving the title or intro card. */
        padding-bottom: calc(var(--ais-hero-padding) * 2 + var(--ais-title-size) * 1.14 + 20px + var(--ais-banner-extension));
    }
}

@media (max-width: 1024px) {
    .ai-jewelry-studio .ai-jewelry-studio__intro-heading {
        line-height: 1.22;
    }
}

@media (max-width: 767px) {
    .ai-jewelry-studio .ai-jewelry-studio__intro {
        --ais-orbit-top: -178px;
        --ais-orbit-right: -198px;
        --ais-star-scale: 0.74;
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: clamp(24px, 5vw, 32px);
        border-radius: 14px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__stars {
        z-index: -1;
    }

    .ai-jewelry-studio .ai-jewelry-studio__star:nth-child(1) {
        --ais-star-x: 37px;
        --ais-star-y: 184px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__star:nth-child(2) {
        --ais-star-x: 88px;
        --ais-star-y: 184px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__star:nth-child(3) {
        --ais-star-x: 24px;
        --ais-star-y: 218px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__star:nth-child(4) {
        --ais-star-x: 60px;
        --ais-star-y: 214px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__star:nth-child(5) {
        --ais-star-x: 98px;
        --ais-star-y: 242px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__star:nth-child(6) {
        --ais-star-x: 50px;
        --ais-star-y: 254px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__star:nth-child(7) {
        --ais-star-x: 88px;
        --ais-star-y: 278px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__intro-media {
        aspect-ratio: 1;
    }

    .ai-jewelry-studio .ai-jewelry-studio__intro-media::before {
        display: none;
    }

    .ai-jewelry-studio .ai-jewelry-studio__intro-copy {
        padding-block: 0;
    }

    .ai-jewelry-studio .ai-jewelry-studio__intro-label {
        margin-bottom: 22px;
        font-size: 11px;
        letter-spacing: 0.18em;
    }

    .ai-jewelry-studio .ai-jewelry-studio__intro-label::after {
        margin-top: 20px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__intro-heading {
        margin-bottom: 20px;
        font-size: clamp(32px, 7.5vw, 48px);
    }

    .ai-jewelry-studio .ai-jewelry-studio__content p {
        margin-bottom: 20px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__content blockquote {
        padding: 18px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__content :where(th, td) {
        padding: 10px 12px;
    }
}

/* Five studio use cases. These selectors affect only the section after the app. */
.ai-jewelry-studio .ai-jewelry-studio__benefits {
    width: 100%;
    margin-block: clamp(44px, 5vw, 68px) clamp(48px, 5.5vw, 80px);
}

.ai-jewelry-studio .ai-jewelry-studio__benefits-header {
    padding-bottom: 25px;
    margin: 0 0 28px;
    border-bottom: 1px solid #dfcda6;
    text-align: center;
}

.ai-jewelry-studio .ai-jewelry-studio__benefits .ai-jewelry-studio__benefits-title {
    padding: 0;
    margin: 0;
    color: #154f41;
    -webkit-text-stroke: 1px currentColor;
    paint-order: stroke fill;
    font-family: "Boska-Variable", Georgia, serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 500;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -0.015em;
    text-transform: none;
    text-wrap: balance;
}

.ai-jewelry-studio .ai-jewelry-studio__benefits-grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
}

.ai-jewelry-studio .ai-jewelry-studio__benefits-origin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@media (min-width: 1025px) {
    .ai-jewelry-studio .ai-jewelry-studio__benefits-origin {
        top: 100%;
    }
}

/* Opt in only after JavaScript has confirmed animation support. */
.ai-jewelry-studio .ai-jewelry-studio__benefits[data-ais-reveal="waiting"] .ai-jewelry-studio__benefit,
.ai-jewelry-studio .ai-jewelry-studio__benefits[data-ais-reveal="running"] .ai-jewelry-studio__benefit {
    opacity: 0;
}

.ai-jewelry-studio .ai-jewelry-studio__benefits[data-ais-reveal="running"] .ai-jewelry-studio__benefit {
    transform-origin: center;
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    .ai-jewelry-studio .ai-jewelry-studio__benefits[data-ais-reveal] .ai-jewelry-studio__benefit {
        opacity: 1;
    }
}

.ai-jewelry-studio .ai-jewelry-studio__benefit {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 64px) / 5);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 25px 17px 24px;
    margin: 0;
    border: 1px solid #dce6df;
    border-radius: 18px;
    background: #f2f6f3;
    box-shadow: 0 8px 24px rgba(21, 70, 59, 0.035);
    text-align: center;
}

.ai-jewelry-studio .ai-jewelry-studio__benefit--making {
    border-color: #e6dcc7;
    background: #fcf8f0;
}

.ai-jewelry-studio .ai-jewelry-studio__benefit-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 0 17px;
    color: #216757;
}

.ai-jewelry-studio .ai-jewelry-studio__benefit-icon svg {
    display: block;
    width: 58px;
    height: 58px;
    overflow: visible;
}

.ai-jewelry-studio .ai-jewelry-studio__benefit-icon .ais-icon-accent {
    stroke: #bd994d;
}

.ai-jewelry-studio .ai-jewelry-studio__benefit-icon .ais-icon-surface,
.ai-jewelry-studio .ai-jewelry-studio__benefit-icon .ais-icon-gem {
    fill: #e5eee8;
}

.ai-jewelry-studio .ai-jewelry-studio__benefit-icon .ais-icon-gem.ais-icon-accent {
    fill: #f3e8d1;
}

.ai-jewelry-studio .ai-jewelry-studio__benefit-icon .ais-icon-facets {
    stroke-width: 1.35;
}

.ai-jewelry-studio .ai-jewelry-studio__benefits .ai-jewelry-studio__benefit-title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 2.7em;
    padding: 0;
    margin: 0 0 12px;
    color: #214f42;
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    text-wrap: balance;
    overflow-wrap: normal;
}

.ai-jewelry-studio .ai-jewelry-studio__benefits .ai-jewelry-studio__benefit-text {
    padding: 0;
    margin: 0;
    color: #48635a;
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    text-transform: none;
}

.ai-jewelry-studio .ai-jewelry-studio__benefits-rule {
    position: relative;
    height: 1px;
    margin-top: 30px;
    background: #dfcda6;
}

.ai-jewelry-studio .ai-jewelry-studio__benefits-rule::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    background: #bd994d;
    transform: translate(-50%, -50%) rotate(45deg);
    content: "";
}

@media (min-width: 1025px) and (max-width: 1150px) and (hover: hover) and (pointer: fine) {
    .ai-jewelry-studio .ai-jewelry-studio__benefits .ai-jewelry-studio__benefit-title {
        min-height: 4.05em;
    }
}

/* Use viewport width so touch emulation cannot apply the tablet layout on a desktop. */
@media (min-width: 768px) and (max-width: 1024px) {
    .ai-jewelry-studio .ai-jewelry-studio__benefit {
        flex-basis: calc((100% - 32px) / 3);
        padding: 26px 22px;
    }
}

@media (max-width: 767px) {
    .ai-jewelry-studio .ai-jewelry-studio__benefits-header {
        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__benefits-grid {
        gap: 14px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__benefit {
        flex-basis: 100%;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
        column-gap: 16px;
        row-gap: 8px;
        padding: 22px 20px;
        border-radius: 16px;
        text-align: left;
    }

    .ai-jewelry-studio .ai-jewelry-studio__benefit-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 48px;
        height: 52px;
        margin: 0;
    }

    .ai-jewelry-studio .ai-jewelry-studio__benefit-icon svg {
        width: 46px;
        height: 46px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__benefits .ai-jewelry-studio__benefit-title {
        grid-column: 2;
        display: block;
        min-height: 0;
        margin: 0;
        font-size: 18px;
        text-wrap: pretty;
    }

    .ai-jewelry-studio .ai-jewelry-studio__benefits .ai-jewelry-studio__benefit-text {
        grid-column: 2;
    }
}

/* Five article chapters, placed between the benefit cards and WordPress copy. */
.ai-jewelry-studio .ai-jewelry-studio__guide {
    width: 100%;
    padding: 18px 22px 14px;
    margin: 0 auto clamp(36px, 4vw, 52px);
    border: 1px solid #dce5dd;
    border-radius: 16px;
    background: #fff;
}

.ai-jewelry-studio .ai-jewelry-studio__guide-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 0 10px 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid #dfcda6;
}

.ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-label {
    padding: 0;
    margin: 0 0 4px;
    color: #746b58;
    font-family: "Jost", sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-heading {
    padding: 0;
    margin: 0;
    color: #154f41;
    font-family: "Boska-Variable", Georgia, serif;
    font-size: clamp(25px, 2.3vw, 32px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    -webkit-text-stroke: 1px currentColor;
    paint-order: stroke fill;
}

.ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-hint {
    flex-shrink: 0;
    padding: 0 0 2px;
    margin: 0;
    color: #5c7167;
    font-size: 13px;
    line-height: 1.5;
}

.ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0;
    margin: 0;
    list-style: none;
}

.ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-item {
    min-width: 0;
    padding: 0 7px;
    margin: 0;
    list-style: none;
}

.ai-jewelry-studio .ai-jewelry-studio__guide-item + .ai-jewelry-studio__guide-item {
    border-inline-start: 1px solid #dfe5db;
}

.ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-content: start;
    gap: 7px 8px;
    min-height: 98px;
    height: 100%;
    padding: 12px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #214f42;
    font-family: "Jost", sans-serif;
    text-align: left;
    text-decoration: none;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.ai-jewelry-studio .ai-jewelry-studio__guide-link:hover,
.ai-jewelry-studio .ai-jewelry-studio__guide-link:focus-visible {
    background: #f2f6f3;
    box-shadow: inset 0 -2px 0 #bd994d;
}

.ai-jewelry-studio .ai-jewelry-studio__guide-number {
    color: #886d3d;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
}

.ai-jewelry-studio .ai-jewelry-studio__guide-arrow {
    display: block;
    width: 18px;
    height: 18px;
    color: #677e70;
}

.ai-jewelry-studio .ai-jewelry-studio__guide-link-title {
    grid-column: 1 / -1;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    text-wrap: balance;
}

.ai-jewelry-studio .ai-jewelry-studio__content :is(
    #ai-studio-how-to-use,
    #ai-studio-feasibility,
    #ai-studio-fit-and-feel,
    #ai-studio-cost,
    #ai-studio-order-process
) {
    scroll-margin-top: calc(100px + var(--wp-admin--admin-bar--height, 0px));
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ai-jewelry-studio .ai-jewelry-studio__guide {
        padding-inline: 18px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-item {
        padding-inline: 4px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-link {
        padding-inline: 7px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-link-title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .ai-jewelry-studio .ai-jewelry-studio__guide {
        padding: 16px 16px 10px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-header {
        display: block;
        padding: 0 4px 12px;
        margin-bottom: 4px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-hint {
        padding: 0;
        margin-top: 9px;
        font-size: 12px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-item {
        padding: 4px 0;
        border: 0;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-item + .ai-jewelry-studio__guide-item {
        border-top: 1px solid #dfe5db;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-link {
        grid-template-columns: 24px minmax(0, 1fr) 18px;
        align-items: start;
        column-gap: 10px;
        row-gap: 4px;
        min-height: 0;
        padding: 10px 6px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-number {
        grid-column: 1;
        grid-row: 1;
        padding-top: 2px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-link-title {
        grid-column: 2;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-link-title {
        font-size: 16px;
        text-wrap: pretty;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-arrow {
        grid-column: 3;
        grid-row: 1;
        margin-top: 2px;
    }
}

/* Open chapter index on larger screens; the phone layout stays unchanged. */
@media (min-width: 768px) {
    .ai-jewelry-studio .ai-jewelry-studio__guide {
        display: grid;
        grid-template-columns: minmax(220px, 0.85fr) minmax(0, 2fr);
        align-items: center;
        column-gap: clamp(24px, 3vw, 44px);
        padding: 22px 24px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-header {
        display: block;
        padding: 0;
        margin: 0;
        border: 0;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-header::after {
        display: block;
        width: 56px;
        height: 1px;
        margin-top: 16px;
        background: #bd994d;
        content: "";
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-heading {
        max-width: 285px;
        text-wrap: balance;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-hint {
        padding: 0;
        margin-top: 10px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(44px, auto));
        grid-auto-flow: column;
        gap: 4px 18px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-item {
        padding: 0;
        border: 0;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-link {
        grid-template-columns: 32px minmax(0, 1fr) 18px;
        align-content: center;
        align-items: center;
        gap: 0 10px;
        min-height: 44px;
        padding: 6px 8px;
        border-radius: 12px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-link:hover,
    .ai-jewelry-studio .ai-jewelry-studio__guide-link:focus-visible {
        box-shadow: none;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-number {
        display: grid;
        grid-column: 1;
        grid-row: 1;
        place-items: center;
        width: 32px;
        height: 32px;
        border: 1px solid #dfcda6;
        border-radius: 50%;
        background: #fcf8f0;
        line-height: 1;
        letter-spacing: 0.02em;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-link:hover .ai-jewelry-studio__guide-number,
    .ai-jewelry-studio .ai-jewelry-studio__guide-link:focus-visible .ai-jewelry-studio__guide-number {
        border-color: #154f41;
        background: #154f41;
        color: #fff;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-link-title {
        grid-column: 2;
        grid-row: 1;
        text-wrap: pretty;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-arrow {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ai-jewelry-studio .ai-jewelry-studio__guide {
        display: block;
        padding: 16px 18px;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-header {
        display: flex;
        padding: 0 4px 12px;
        margin-bottom: 8px;
        border-bottom: 1px solid #dfcda6;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide-header::after {
        display: none;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-heading {
        max-width: none;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-hint {
        margin-top: 0;
    }

    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-list {
        grid-template-rows: none;
        grid-auto-flow: row;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-jewelry-studio .ai-jewelry-studio__guide .ai-jewelry-studio__guide-link {
        transition: none;
    }
}

/* Cost-guide typography for WordPress article text only, excluding the studio UI. */
.ai-jewelry-studio .ai-jewelry-studio__page .ai-jewelry-studio__content :is(p, ul, ol, li):not(:where(
    #olertis-ai-jewelry-studio *,
    .ai-jewelry-studio__benefits *,
    .ai-jewelry-studio__guide *,
    .ai-jewelry-studio__pagination *
)) {
    color: #000;
    font-family: "Jost", sans-serif;
    font-weight: 300;
    line-height: normal;
    letter-spacing: normal;
}

.ai-jewelry-studio .ai-jewelry-studio__page .ai-jewelry-studio__content p:not(:where(
    #olertis-ai-jewelry-studio *,
    .ai-jewelry-studio__benefits *,
    .ai-jewelry-studio__guide *,
    .ai-jewelry-studio__pagination *
)) {
    margin-top: 0;
    margin-bottom: 16px;
}

.ai-jewelry-studio .ai-jewelry-studio__page .ai-jewelry-studio__content :is(ul, ol):not(:where(
    #olertis-ai-jewelry-studio *,
    .ai-jewelry-studio__benefits *,
    .ai-jewelry-studio__guide *,
    .ai-jewelry-studio__pagination *
)) {
    padding-inline-start: 22px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.ai-jewelry-studio .ai-jewelry-studio__page .ai-jewelry-studio__content li + li:not(:where(
    #olertis-ai-jewelry-studio *,
    .ai-jewelry-studio__benefits *,
    .ai-jewelry-studio__guide *,
    .ai-jewelry-studio__pagination *
)) {
    margin-top: 0;
}

.ai-jewelry-studio .ai-jewelry-studio__page .ai-jewelry-studio__content :is(
    h3, h4, h5, h6,
    #ai-studio-how-to-use,
    #ai-studio-feasibility,
    #ai-studio-fit-and-feel,
    #ai-studio-cost,
    #ai-studio-order-process
):not(:where(
    h2,
    #olertis-ai-jewelry-studio *,
    .ai-jewelry-studio__benefits *,
    .ai-jewelry-studio__guide *,
    .ai-jewelry-studio__pagination *
)) {
    margin-top: 35px;
    margin-bottom: 15px;
    color: #0f3029;
    -webkit-text-stroke: 1px #000;
    paint-order: stroke fill;
    font-family: "Boska-Variable", Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    text-wrap: wrap;
}

.ai-jewelry-studio .ai-jewelry-studio__page .ai-jewelry-studio__content :is(
    h3, h4, h5, h6,
    #ai-studio-how-to-use,
    #ai-studio-feasibility,
    #ai-studio-fit-and-feel,
    #ai-studio-cost,
    #ai-studio-order-process
):not(:where(
    h2,
    #olertis-ai-jewelry-studio *,
    .ai-jewelry-studio__benefits *,
    .ai-jewelry-studio__guide *,
    .ai-jewelry-studio__pagination *
)) :is(strong, b) {
    font-weight: inherit;
}

@media (min-width: 768px) {
    .ai-jewelry-studio .ai-jewelry-studio__page .ai-jewelry-studio__content :is(p, ul, ol, li):not(:where(
        #olertis-ai-jewelry-studio *,
        .ai-jewelry-studio__benefits *,
        .ai-jewelry-studio__guide *,
        .ai-jewelry-studio__pagination *,
        #ai-studio-how-to-use,
        #ai-studio-feasibility,
        #ai-studio-fit-and-feel,
        #ai-studio-cost,
        #ai-studio-order-process
    )) {
        font-size: 20px;
    }
}
