.sg-home-hero,
.sg-home-feature,
.sg-home-local {
    --sg-ink: #251e1b;
    --sg-muted: #62524c;
    --sg-red: #a4292b;
    --sg-red-dark: #842022;
    --sg-paper: #faf5f0;
    --sg-line: #e9ded6;
    color: var(--sg-ink);
}

.sg-home-hero {
    background: var(--sg-paper);
    border-bottom: 1px solid var(--sg-line);
}

.sg-home-hero__inner {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}

.sg-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 70px);
    padding-block: clamp(34px, 5vw, 68px);
}

.sg-home-hero h1 {
    margin: 0 0 16px;
    color: var(--sg-ink);
    font-size: clamp(34px, 3.85vw, 54px);
    letter-spacing: -.035em;
    line-height: 1.09;
}

.sg-home-hero p {
    max-width: 43ch;
    margin: 0;
    color: var(--sg-muted);
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.6;
}

.sg-home-hero__actions,
.sg-home-local__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 22px;
}

.sg-home-hero__actions br,
.sg-home-local__actions br {
    display: none;
}

.sg-home-hero__action,
.sg-home-local__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 7px 16px;
    border: 1px solid var(--sg-red);
    border-radius: 6px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: var(--sg-red-dark);
    background: transparent;
}

.sg-home-hero__action--primary,
.sg-home-local__action--primary {
    background: var(--sg-red);
    color: #fff;
}

.sg-home-hero__action:hover,
.sg-home-local__action:hover {
    background: var(--sg-red-dark);
    border-color: var(--sg-red-dark);
    color: #fff;
}

.sg-home-hero__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgb(55 34 25 / 9%);
}

.sg-home-feature .section-content {
    padding-block: 30px 8px;
}

.sg-home-feature .section-content > .row {
    max-width: 1230px;
    margin-inline: auto;
}

.sg-home-feature__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 18px;
    flex-wrap: wrap;
    margin-bottom: 17px;
}

.sg-home-feature__header > p {
    width: auto;
    margin: 0;
}

.sg-home-feature__header h2 {
    width: auto;
}

.sg-home-feature__header h2,
.sg-home-local h2 {
    margin: 0;
    color: var(--sg-ink);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.sg-home-feature__header a {
    color: var(--sg-red-dark);
    font-weight: 650;
    text-underline-offset: 3px;
}

.sg-home-feature__header a:hover {
    text-decoration: underline;
}

.sg-home-feature .product-small.box {
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--sg-line);
    border-radius: 8px;
    background: #fff;
}

.sg-home-feature .product-small.box .box-text {
    padding: 12px 11px 14px;
    text-align: left;
}

.sg-home-feature .product-small.box .product-title a {
    display: -webkit-box;
    overflow: hidden;
    min-height: 4.05em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: .97em;
    font-weight: 600;
    line-height: 1.35;
    color: var(--sg-ink);
}

.sg-home-feature .product-small.box .price {
    font-variant-numeric: tabular-nums;
    color: var(--sg-red-dark);
}

.sg-home-local {
    width: min(100% - 40px, 1200px);
    margin: 4px auto 36px;
    border: 1px solid var(--sg-line);
    border-radius: 10px;
    background: var(--sg-paper);
}

.sg-home-local__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 18px 30px;
    padding: clamp(19px, 3vw, 34px);
}

.sg-home-local h2 {
    font-size: clamp(23px, 2.7vw, 33px);
}

.sg-home-local p {
    margin: 8px 0 0;
    color: var(--sg-muted);
    line-height: 1.55;
}

.sg-home-local__office strong {
    display: block;
    color: var(--sg-ink);
    font-size: 1.09em;
}

.sg-home-local__office p {
    margin-top: 4px;
}

.sg-home-local__actions {
    margin-top: 12px;
}

.sg-home-local__guide {
    color: var(--sg-red-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 700px) {
    .sg-home-hero__inner,
    .sg-home-local {
        width: calc(100% - 28px);
    }

    .sg-home-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding-block: 19px 15px;
    }

    .sg-home-hero h1 {
        max-width: 17ch;
        margin-bottom: 11px;
        font-size: clamp(29px, 8.5vw, 40px);
    }

    .sg-home-hero__actions {
        margin-top: 15px;
    }

    .sg-home-hero__image {
        max-height: 205px;
        object-fit: cover;
        object-position: center 67%;
        border-radius: 8px;
    }

    .sg-home-feature .section-content {
        padding-block: 22px 4px;
    }

    .sg-home-feature__header {
        margin-bottom: 10px;
    }

    .sg-home-feature .product-small.box .box-text {
        padding: 9px 8px 11px;
    }

    .sg-home-local__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .sg-home-local {
        margin-bottom: 26px;
    }
}


@media (max-width: 350px) {
    .sg-home-hero__actions {
        gap: 8px;
    }

    .sg-home-hero__action {
        padding-inline: 11px;
        font-size: .92rem;
    }
}
