/* ========== Why Mountainside block — .ms-why (image + pillars + callout) ========== */
body.template-block-builder .ms-why, body.template-page .ms-why,
.editor-styles-wrapper .ms-why {
    --ms-why-green-dark: #284227;
    --ms-why-green-mid: #46704c;
    --ms-why-gold: #a08c5b;
    --ms-why-gold-light: #c4ad82;
    --ms-why-bg: #f8f7f0;
    --ms-why-white: #ffffff;
    --ms-why-ink: #241f21;
    --ms-why-ink-soft: #4a4547;
    --ms-why-serif: var(--font-heading, 'Lora', Georgia, serif);
    --ms-why-sans: var(--font-body, 'Roboto', sans-serif);
    background: var(--ms-why-bg);
    padding: 60px 0 0;
}

body.template-block-builder .ms-why .ms-why__inner, body.template-page .ms-why .ms-why__inner,
.editor-styles-wrapper .ms-why .ms-why__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
}

body.template-block-builder .ms-why .ms-why__media, body.template-page .ms-why .ms-why__media,
.editor-styles-wrapper .ms-why .ms-why__media {
    position: relative;
    overflow: hidden;
    background: var(--ms-why-bg);
}

body.template-block-builder .ms-why .ms-why__img, body.template-page .ms-why .ms-why__img,
.editor-styles-wrapper .ms-why .ms-why__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.template-block-builder .ms-why .ms-why__copy, body.template-page .ms-why .ms-why__copy,
.editor-styles-wrapper .ms-why .ms-why__copy {
    padding: 72px 64px 72px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--ms-why-bg);
}

body.template-block-builder .ms-why .ms-why__eyebrow, body.template-page .ms-why .ms-why__eyebrow,
.editor-styles-wrapper .ms-why .ms-why__eyebrow {
    font-family: var(--ms-why-sans);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ms-why-gold);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.template-block-builder .ms-why .ms-why__eyebrow::before, body.template-page .ms-why .ms-why__eyebrow::before,
.editor-styles-wrapper .ms-why .ms-why__eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--ms-why-gold);
    flex-shrink: 0;
}

body.template-block-builder .ms-why .ms-why__title, body.template-page .ms-why .ms-why__title,
.editor-styles-wrapper .ms-why .ms-why__title {
    font-family: var(--ms-why-serif);
    font-size: clamp(1.7rem, 2.4vw, 2.4rem);
    font-weight: 400;
    color: var(--ms-why-green-dark);
    line-height: 1.25;
    margin: 0 0 16px;
}

body.template-block-builder .ms-why .ms-why__title em, body.template-page .ms-why .ms-why__title em,
.editor-styles-wrapper .ms-why .ms-why__title em {
    font-style: italic;
    color: var(--ms-why-green-mid);
}

body.template-block-builder .ms-why .ms-why__intro, body.template-page .ms-why .ms-why__intro,
.editor-styles-wrapper .ms-why .ms-why__intro {
    font-family: var(--ms-why-sans);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--ms-why-ink-soft);
    margin-bottom: 40px;
    max-width: 480px;
}

body.template-block-builder .ms-why .ms-why__intro p, body.template-page .ms-why .ms-why__intro p,
.editor-styles-wrapper .ms-why .ms-why__intro p {
    margin: 0;
}

body.template-block-builder .ms-why .ms-why__pillars, body.template-page .ms-why .ms-why__pillars,
.editor-styles-wrapper .ms-why .ms-why__pillars {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

body.template-block-builder .ms-why .ms-why__pillar, body.template-page .ms-why .ms-why__pillar,
.editor-styles-wrapper .ms-why .ms-why__pillar {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(40, 66, 39, 0.1);
    align-items: start;
}

body.template-block-builder .ms-why .ms-why__pillar:first-child, body.template-page .ms-why .ms-why__pillar:first-child,
.editor-styles-wrapper .ms-why .ms-why__pillar:first-child {
    border-top: 1px solid rgba(40, 66, 39, 0.1);
}

body.template-block-builder .ms-why .ms-why__pillar-dot, body.template-page .ms-why .ms-why__pillar-dot,
.editor-styles-wrapper .ms-why .ms-why__pillar-dot {
    width: 6px;
    height: 6px;
    background: var(--ms-why-gold);
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
}

body.template-block-builder .ms-why .ms-why__pillar-text strong, body.template-page .ms-why .ms-why__pillar-text strong,
.editor-styles-wrapper .ms-why .ms-why__pillar-text strong {
    display: block;
    font-family: var(--ms-why-sans);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--ms-why-green-dark);
    margin-bottom: 3px;
    letter-spacing: 0.02em;
}

body.template-block-builder .ms-why .ms-why__pillar-text span, body.template-page .ms-why .ms-why__pillar-text span,
.editor-styles-wrapper .ms-why .ms-why__pillar-text span {
    font-family: var(--ms-why-sans);
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--ms-why-ink-soft);
}

body.template-block-builder .ms-why .ms-why__callout, body.template-page .ms-why .ms-why__callout,
.editor-styles-wrapper .ms-why .ms-why__callout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--ms-why-white);
    border-left: 3px solid var(--ms-why-gold);
    padding: 20px 24px;
}

body.template-block-builder .ms-why .ms-why__callout p, body.template-page .ms-why .ms-why__callout p,
.editor-styles-wrapper .ms-why .ms-why__callout p {
    font-family: var(--ms-why-sans);
    font-weight: 300;
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--ms-why-ink-soft);
    margin: 0 0 0.75rem;
}

body.template-block-builder .ms-why .ms-why__callout p:last-child, body.template-page .ms-why .ms-why__callout p:last-child,
.editor-styles-wrapper .ms-why .ms-why__callout p:last-child {
    margin-bottom: 0;
}

body.template-block-builder .ms-why .ms-why__callout p a, body.template-page .ms-why .ms-why__callout p a,
.editor-styles-wrapper .ms-why .ms-why__callout p a {
    color: var(--ms-why-green-dark);
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

body.template-block-builder .ms-why .ms-why__callout p a:hover, body.template-page .ms-why .ms-why__callout p a:hover,
.editor-styles-wrapper .ms-why .ms-why__callout p a:hover {
    color: var(--ms-why-green-mid);
}

body.template-block-builder .ms-why .ms-why__btn-outline, body.template-page .ms-why .ms-why__btn-outline,
.editor-styles-wrapper .ms-why .ms-why__btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ms-why-sans);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ms-why-green-dark);
    text-decoration: none;
    border: 1px solid var(--ms-why-green-dark);
    padding: 10px 20px;
    border-radius: 100px;
    margin-top: 14px;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}

body.template-block-builder .ms-why .ms-why__btn-outline:hover, body.template-page .ms-why .ms-why__btn-outline:hover,
.editor-styles-wrapper .ms-why .ms-why__btn-outline:hover {
    background: var(--ms-why-green-dark);
    color: var(--ms-why-white);
}

body.template-block-builder .ms-why .ms-why__divider, body.template-page .ms-why .ms-why__divider,
.editor-styles-wrapper .ms-why .ms-why__divider {
    width: 100%;
    height: 2px;
    background: var(--ms-why-green-dark);
    margin-top: 0;
}

@media (max-width: 860px) {
    body.template-block-builder .ms-why .ms-why__inner, body.template-page .ms-why .ms-why__inner,
    .editor-styles-wrapper .ms-why .ms-why__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    body.template-block-builder .ms-why .ms-why__media, body.template-page .ms-why .ms-why__media,
    .editor-styles-wrapper .ms-why .ms-why__media {
        min-height: 300px;
    }
    body.template-block-builder .ms-why .ms-why__copy, body.template-page .ms-why .ms-why__copy,
    .editor-styles-wrapper .ms-why .ms-why__copy {
        padding: 52px 24px;
    }
    body.template-block-builder .ms-why .ms-why__intro, body.template-page .ms-why .ms-why__intro,
    .editor-styles-wrapper .ms-why .ms-why__intro {
        max-width: 100%;
    }
}

