/* VELUGI homepage: style the existing editable Page Builder content. */
#html-body.cms-index-index .retail-home-hero {
    box-sizing: border-box;
    background-color: var(--velugi-warm-cream) !important;
    background-image: url('../images/velugi-emblem.png') !important;
    background-repeat: no-repeat !important;
    background-position: right 36px center !important;
    background-size: 280px 280px !important;
    border: 1px solid var(--velugi-forest-sage) !important;
    border-radius: 16px;
    padding: 56px 360px 56px 48px !important;
    margin-top: 28px !important;
    margin-bottom: 32px !important;
    color: var(--velugi-text);
    overflow-wrap: break-word;
}
#html-body.cms-index-index .retail-home-hero h1 {
    max-width: 760px;
    text-wrap: balance;
    margin: 14px 0 24px !important;
    font-size: 50px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -1.4px;
    color: var(--velugi-heading);
}
#html-body.cms-index-index .retail-home-hero [data-content-type="text"] {
    max-width: 620px;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px;
    line-height: 1.6;
    color: var(--velugi-text);
}
#html-body.cms-index-index .retail-home-hero [data-content-type="text"] p { margin: 0; }
#html-body.cms-index-index .retail-home-hero [data-content-type="text"]:first-child {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--velugi-heading);
}
#html-body.cms-index-index .retail-home-hero [data-content-type="buttons"] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px !important;
}
#html-body.cms-index-index .retail-home-hero [data-content-type="button-item"] {
    margin: 0 !important;
    max-width: 100%;
}
#html-body.cms-index-index .retail-home-hero [data-content-type="button-item"] a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 48px;
    max-width: 100%;
    margin: 0 !important;
    padding: 12px 18px !important;
    border: 1px solid var(--velugi-forest-sage) !important;
    border-radius: 6px !important;
    background: var(--velugi-button-secondary-bg) !important;
    color: var(--velugi-button-secondary-text) !important;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none !important;
    white-space: normal;
}
#html-body.cms-index-index .retail-home-hero [data-content-type="button-item"]:first-child a {
    background: var(--velugi-button-primary-bg) !important;
    color: var(--velugi-button-primary-text) !important;
}
#html-body.cms-index-index .retail-home-hero [data-content-type="button-item"] a:hover,
#html-body.cms-index-index .retail-home-hero [data-content-type="button-item"] a:active {
    background: var(--velugi-charcoal) !important;
    border-color: var(--velugi-charcoal) !important;
    color: var(--velugi-warm-cream) !important;
}
#html-body.cms-index-index .retail-home-hero [data-content-type="button-item"] a:focus-visible {
    outline: 2px solid var(--velugi-focus-on-light);
    outline-offset: 4px;
}
@media (min-width: 768px) and (max-width: 1100px) {
    #html-body.cms-index-index .retail-home-hero {
        padding: 40px 250px 40px 32px !important;
        background-size: 200px 200px !important;
        background-position: right 24px center !important;
    }
    #html-body.cms-index-index .retail-home-hero h1 { font-size: 40px; }
}
@media (max-width: 767px) {
    #html-body.cms-index-index .retail-home-hero {
        padding: 32px 24px !important;
        margin-top: 20px !important;
        margin-bottom: 24px !important;
        border-radius: 12px;
        background-image: none !important;
    }
    #html-body.cms-index-index .retail-home-hero h1 {
        font-size: 36px;
        line-height: 1.16;
        letter-spacing: -.8px;
        margin: 12px 0 20px !important;
    }
    #html-body.cms-index-index .retail-home-hero [data-content-type="text"] { font-size: 16px; }
    #html-body.cms-index-index .retail-home-hero [data-content-type="text"]:first-child { font-size: 11px; }
}
@media (max-width: 767px) {
    #html-body.cms-index-index .retail-home-hero [data-content-type="button-item"] { width: 100%; }
    #html-body.cms-index-index .retail-home-hero [data-content-type="button-item"] a { width: 100%; }
}
