/* Public content typography; keep galleries, images, navigation and footer unchanged. */
body.gjs-readable-text {
    --gjs-body-text-size: 30px;
}
body.gjs-readable-text .page-content .post-content :is(h1, h2, h3, h4, h5, h6),
body.gjs-readable-text .featured-product .align-middle :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 700;
}
body.gjs-readable-text .page-content .post-content :is(p, ul, ol),
body.gjs-readable-text .featured-product .align-middle :is(p, ul, ol) {
    font-size: var(--gjs-body-text-size);
    line-height: 1.5;
    max-width: 68ch;
    margin: 0 auto 0.6em;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}
body.gjs-readable-text .page-content .post-content :is(ul, ol),
body.gjs-readable-text .featured-product .align-middle :is(ul, ol) {
    box-sizing: border-box;
    padding-inline-start: 1.4em;
}
body.gjs-readable-text .page-content .post-content li,
body.gjs-readable-text .featured-product .align-middle li {
    font-size: inherit;
    line-height: inherit;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}
/* Verkstad: preserve the service list and links, without visible bullet markers. */
body.gjs-readable-text .page-content .post-content > ul.wp-block-list.gjs-service-list {
    list-style: none;
    padding-inline-start: 0;
}
body.gjs-readable-text .page-content .post-content > ul.wp-block-list.gjs-service-list > li {
    list-style: none;
}
@media (min-width: 768px) {
    body.gjs-readable-text .page-content .post-content h1 {
        font-size: 58px;
        line-height: 1.3;
    }
    body.gjs-readable-text .page-content .post-content h2,
    body.gjs-readable-text .featured-product .align-middle h2,
    body.gjs-readable-text .featured-product .align-middle h1.gjs-business-title {
        font-size: 42px;
        line-height: 1.2;
    }
}
@media (max-width: 767px) {
    body.gjs-readable-text {
        --gjs-body-text-size: 18px;
    }
}

/* GJS home blocks v1: retain the existing Artistry layout and 540px banner crop. */
body.home .gjs-home-layout-v1 {
    display: flow-root;
}
body.home .gjs-home-layout-v1 .gjs-home-banner-image {
    margin: 0 0 2.5rem;
    height: 540px;
    overflow: hidden;
}
body.home .gjs-home-layout-v1 .gjs-home-banner-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: 50% 100%;
    image-rendering: auto;
}
body.home .gjs-home-layout-v1 .gjs-home-intro {
    margin: 0 0 2.5rem;
}
body.home .gjs-home-layout-v1 .gjs-home-columns {
    display: flex;
    flex-wrap: wrap !important;
    gap: 0;
    margin: 0 -15px;
}
body.home .gjs-home-layout-v1 .gjs-home-columns > .wp-block-column {
    flex: 0 0 100% !important;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0 15px;
}
body.home .gjs-home-layout-v1 .gjs-home-workshop-image {
    margin: 0;
}
body.home .gjs-home-layout-v1 .gjs-home-workshop-image img {
    max-width: 100%;
    height: auto;
    image-rendering: auto;
}
body.home .gjs-home-layout-v1 .align-middle p.featured-product-button {
    margin: 1.8rem 0 0;
}
@media (min-width: 768px) {
    body.home .gjs-home-layout-v1 .gjs-home-columns > .wp-block-column {
        flex-basis: 41.666667% !important;
        max-width: 41.666667%;
    }
    body.home .gjs-home-layout-v1 .gjs-home-columns > .wp-block-column:first-child {
        margin-left: 8.333333%;
    }
}

/* Match the spacing previously supplied by Artistry's empty price wrapper. */
body.home .gjs-home-layout-v1 .featured-subtitle {
    margin-top: 2rem;
}
body.home .gjs-home-layout-v1 .align-middle p.featured-product-button {
    font-size: 13px;
    line-height: 2.3;
}
/* Let the outer block share the original section margin with later sections. */
body.home .gjs-home-layout-v1 {
    margin-bottom: 2.5rem;
}
body.home .gjs-home-layout-v1 .gjs-home-intro {
    margin-bottom: 0;
}
