/* Keep the existing home page. All rules below are confined to that page. */
body.home .kt-adv-heading705_9cfff0-05 {
    max-width: 960px;
    margin: 0 auto;
    font-size: clamp(18px, 1.9vw, 26px);
    font-weight: 500;
    line-height: 1.5;
    text-wrap: balance;
}
body.home .entry-content .wp-block-kadence-spacer .kt-block-spacer {
    height: 48px !important;
}
body.home .kadence-columnbshhomeRoomGridcol > .kt-inside-inner-col > h2 {
    margin: 0 0 32px;
    text-align: center;
    font-size: clamp(24px, 2.1vw, 30px);
    font-weight: 600;
}
/* Square photography with a separate, quiet caption line. */
body.home .benssur-home-category-grid,
body.home .benssur-home-category-grid > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 32px 24px;
}
body.home .benssur-home-category-grid > .wp-block-group__inner-container { grid-column: 1 / -1; }
body.home .benssur-home-category-grid .benssur-home-category {
    grid-column: span 2;
    min-width: 0;
    position: relative;
    margin: 0 !important;
    padding: 0;
    background: transparent;
    border-radius: 0;
}
body.home .benssur-home-category-grid .benssur-home-category--dining { grid-column: span 3; }
body.home .benssur-home-category::before,
body.home .benssur-home-category::after { content: none; }
body.home .benssur-home-category figure {
    position: relative;
    margin: 0;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fff;
}
body.home .benssur-home-category figure a { display: block; width: 100%; height: 100%; }
body.home .benssur-home-category img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    border-radius: 0 !important;
    transition: transform .25s ease;
}
body.home .benssur-home-category--dining img { object-fit: cover; object-position: center; }
body.home .benssur-home-category h3 {
    position: static;
    margin: 14px 0 0 !important;
    color: #252b30;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    text-shadow: none;
}
body.home .benssur-home-category h3 a {
    display: block;
    color: inherit;
}
body.home .benssur-home-category:focus-within { outline: 2px solid #355d91; outline-offset: 5px; }
body.home .benssur-home-category figure a:focus-visible { outline: 2px solid #355d91; outline-offset: -4px; }
@media (hover: hover) and (pointer: fine) {
    body.home .benssur-home-category:hover img { transform: scale(1.025); }
    body.home .benssur-home-category h3 a:hover { color: var(--global-palette1, #355d91); }
}
@media (prefers-reduced-motion: reduce) {
    body.home .benssur-home-category img { transition: none; transform: none !important; }
}
body.home .kt-adv-heading705_d69e30-ae {
    max-width: 800px;
    margin-inline: auto;
    line-height: 1.75;
    text-wrap: pretty;
}
body.home .kadence-column705_9947d5-c2 > .kt-inside-inner-col > p {
    line-height: 1.75;
    text-wrap: pretty;
}
@media (max-width: 767px) {
    /* Keep the existing shared card; give its name/price group usable phone width. */
    body.home .benssur-home-selection-products .kadence-column4965_7b3f88-c1 > .kt-inside-inner-col {
        padding-inline: 12px !important;
    }
    body.home .kt-product-carousel-wrap:has(.benssur-home-selection-products) .splide__arrow {
        top: 90px;
    }
    body.home .benssur-home-category-grid,
    body.home .benssur-home-category-grid > .wp-block-group__inner-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    body.home .benssur-home-category-grid .benssur-home-category {
        grid-column: span 1;
    }
    body.home .benssur-home-category-grid .benssur-home-category--dining {
        grid-column: span 1;
    }
    body.home .benssur-home-category h3 {
        margin-top: 10px !important;
        font-size: 16px;
    }
    body.home .entry-content .wp-block-kadence-spacer .kt-block-spacer {
        height: 36px !important;
    }
}
@media (max-width: 359px) {
    body.home .benssur-home-category-grid,
    body.home .benssur-home-category-grid > .wp-block-group__inner-container { gap: 12px; }
    body.home .benssur-home-category h3 { font-size: 15px; }
}

/* Local follow-up: square category photos, plain links, and a two-column help section. */
body.home a,
body.home a:hover,
body.home a:focus {
    text-decoration: none !important;
}
body.home a:focus-visible {
    outline: 2px solid var(--global-palette1, #355d91);
    outline-offset: 4px;
}
body.home .benssur-home-help > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    column-gap: clamp(32px, 5vw, 80px);
    align-items: start;
    padding-top: 24px;
    padding-bottom: 24px;
}
body.home .benssur-home-help .kt-adv-heading705_25504d-11 {
    margin: 0;
    text-align: left;
    font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.25;
}
body.home .benssur-home-help .kt-adv-heading705_d69e30-ae {
    max-width: none;
    margin: 0;
    text-align: left;
}
body.home .benssur-home-help-contact {
    margin: 20px 0 0;
    font-size: 16px;
}
@media (max-width: 767px) {
    body.home .benssur-home-help > .kt-row-column-wrap {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 20px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

/* Four existing reasons, arranged as a calm two-column text grid. */
body.home .kt-adv-heading705_e9b6e2-b1 { margin-bottom: 36px; }
body.home .benssur-home-reasons,
body.home .benssur-home-reasons > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 56px;
    margin: 0;
}
body.home .benssur-home-reasons > .wp-block-group__inner-container { grid-column: 1 / -1; }
body.home .benssur-home-reason {
    min-width: 0;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #e0e3e6;
}
body.home .benssur-home-reason h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}
body.home .benssur-home-reason p {
    margin: 0;
    max-width: 60ch;
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
}
@media (max-width: 767px) {
    body.home .benssur-home-reasons,
    body.home .benssur-home-reasons > .wp-block-group__inner-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    body.home .kt-adv-heading705_e9b6e2-b1 { margin-bottom: 28px; }
    body.home .benssur-home-reason { padding-top: 18px; }
    body.home .benssur-home-reason h3 { font-size: 19px; }
}

/* The large dining photo spans the same height as the four-chair gallery. */
body.home .kb-row-layout-id705_708645-df > .kt-row-column-wrap {
    align-items: stretch;
    column-gap: 24px;
}
body.home .kb-row-layout-id705_708645-df .kb-gallery-id-705_3f4c0b-f0 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
}
body.home .kb-row-layout-id705_708645-df .kb-gallery-id-705_3f4c0b-f0 > .kadence-blocks-gallery-item {
    width: auto !important;
    max-width: none;
    min-width: 0;
    padding: 0;
}
body.home .kb-row-layout-id705_708645-df figcaption,
body.home .kb-row-layout-id705_708645-df .kb-gallery-id-705_3f4c0b-f0 .kadence-blocks-gallery-item__caption {
    box-sizing: border-box;
    min-height: 58px;
    margin: 0;
    padding: 10px 0 0;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}
@media (min-width: 768px) {
    body.home .kadence-column705_bc9e1d-fe { display: flex; }
    body.home .kadence-column705_bc9e1d-fe > .kt-inside-inner-col {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
    }
    body.home .kb-image705_c79fa9-db { display: flex; flex: 1; }
    body.home .kb-image705_c79fa9-db > figure {
        display: flex;
        flex-direction: column;
        flex: 1;
        width: 100%;
        margin: 0;
    }
    body.home .kb-image705_c79fa9-db .kb-advanced-image-link {
        display: block;
        position: relative;
        flex: 1;
        min-height: 0;
    }
    body.home .kb-image705_c79fa9-db img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    body.home .kb-image705_c79fa9-db figcaption { flex: 0 0 58px; }
}
@media (max-width: 767px) {
    body.home .kb-row-layout-id705_708645-df > .kt-row-column-wrap { row-gap: 24px; }
    body.home .kb-row-layout-id705_708645-df .kb-gallery-id-705_3f4c0b-f0 { gap: 20px 16px; }
    body.home .kb-image705_c79fa9-db figure { margin: 0; width: 100%; }
    body.home .kb-row-layout-id705_708645-df figcaption,
    body.home .kb-row-layout-id705_708645-df .kb-gallery-id-705_3f4c0b-f0 .kadence-blocks-gallery-item__caption {
        font-size: 14px;
        line-height: 1.4;
    }
    body.home .kb-image705_c79fa9-db figcaption { min-height: 0; }
    body.home .kb-row-layout-id705_708645-df .kb-gallery-id-705_3f4c0b-f0 .kadence-blocks-gallery-item__caption { min-height: 50px; }
}

/* Remove the native gallery's outer negative margins and tile padding. */
body.home .kb-row-layout-id705_708645-df .kb-gallery-id-705_3f4c0b-f0 { margin: 0 !important; }
body.home .kb-row-layout-id705_708645-df .kb-gallery-id-705_3f4c0b-f0 > li { padding: 0 !important; }
body.home .kb-image705_c79fa9-db figcaption,
body.home .kb-row-layout-id705_708645-df .kadence-blocks-gallery-item__caption {
    display: block;
    font-size: 16px !important;
    line-height: 1.5 !important;
    padding: 10px 0 0 !important;
    margin: 0 !important;
}
@media (max-width: 767px) {
    /* All five dining products share one two-column grid on phones. */
    body.home .kb-row-layout-id705_708645-df > .kt-row-column-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px 16px;
    }
    body.home .kb-row-layout-id705_708645-df > .kt-row-column-wrap > .wp-block-kadence-column,
    body.home .kb-row-layout-id705_708645-df > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col,
    body.home .kb-image705_c79fa9-db,
    body.home .kb-gallery-wrap-id-705_3f4c0b-f0,
    body.home .kb-row-layout-id705_708645-df .kb-gallery-id-705_3f4c0b-f0 { display: contents; }
    body.home .kb-image705_c79fa9-db > figure { display: block; min-width: 0; margin: 0; }
    body.home .kb-image705_c79fa9-db .kb-advanced-image-link { display: block; width: 100%; aspect-ratio: 1; }
    body.home .kb-image705_c79fa9-db img { display: block; width: 100%; height: 100%; object-fit: cover; }
    body.home .kb-image705_c79fa9-db figcaption,
    body.home .kb-row-layout-id705_708645-df .kadence-blocks-gallery-item__caption {
        min-height: 50px;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

/* Phone dining gallery: PEBBLE leads, followed by two chairs per row. */
@media (max-width: 767px) {
    body.home .kb-image705_c79fa9-db > figure { grid-column: 1 / -1; }
    body.home .kb-image705_c79fa9-db figcaption { min-height: 0; }
}

/* A square PEBBLE photo still aligns with the two chair rows.
   The 24px column gap and 58px caption row require left/right widths
   of half + 17px and half - 41px. The chair grid keeps square photos. */
@media (min-width: 768px) {
    body.home .kb-row-layout-id705_708645-df > .kt-row-column-wrap {
        grid-template-columns: minmax(0, calc(50% + 17px)) minmax(0, calc(50% - 41px));
    }
    body.home .kb-image705_c79fa9-db .kb-advanced-image-link {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 1;
    }
}


/* Category rules use the shared divider colour and native perspective/centred paint. */
body.home .benssur-home-category-grid {
    --bsh-category-divider-x: 12px;
    --bsh-category-divider-y: 16px;
    --bsh-category-divider-colour: var(--benssur-line, #4a5058);
}
body.home .benssur-home-category-grid .benssur-home-category::before,
body.home .benssur-home-category-grid .benssur-home-category::after {
    content: "";
    display: block;
    position: absolute;
    background: transparent;
    box-sizing: border-box;
    pointer-events: none;
}
body.home .benssur-home-category-grid .benssur-home-category::before {
    top: calc(-1 * var(--bsh-category-divider-y));
    bottom: calc(-1 * var(--bsh-category-divider-y));
    left: calc(100% + var(--bsh-category-divider-x));
    right: auto;
    width: 0;
    transform: perspective(1px) translateX(-50%);
    border-right: 1px solid var(--bsh-category-divider-colour);
}
body.home .benssur-home-category-grid .benssur-home-category::after {
    left: calc(-1 * var(--bsh-category-divider-x));
    right: calc(-1 * var(--bsh-category-divider-x));
    top: calc(100% + var(--bsh-category-divider-y));
    bottom: auto;
    height: 0;
    transform: perspective(1px) translateY(-50%);
    border-top: 1px solid var(--bsh-category-divider-colour);
}
@media (min-width: 768px) {
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(-n+2)::before { top: 0; }
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(n+6)::before { bottom: 0; }
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(2)::before,
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(5)::before,
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(8)::before,
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(n+6)::after { display: none; }
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(1)::after,
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(3)::after { left: 0; }
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(2)::after,
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(5)::after { right: 0; }
}
@media (max-width: 767px) {
    body.home .benssur-home-category-grid {
        --bsh-category-divider-x: 8px;
        --bsh-category-divider-y: 8px;
    }
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(-n+2)::before { top: 0; }
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(n+7)::before { bottom: 0; }
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(even)::before,
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(n+7)::after { display: none; }
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(odd)::after { left: 0; }
    body.home .benssur-home-category-grid .benssur-home-category:nth-child(even)::after { right: 0; }
}
@media (max-width: 359px) {
    body.home .benssur-home-category-grid {
        --bsh-category-divider-x: 6px;
        --bsh-category-divider-y: 6px;
    }
}
