/* Margin Styles */
@media (min-width: 751px) {
    .cmp-article-text--wide {
        grid-area: 1/3/span 1/span 10;
    }
}

/* Pre-title Color and Size Styles */
.cmp-article-text__pretitle--black {
    color: #232222;
}

.cmp-article-text__pretitle--large {
    font-size: 1.5rem;
    /* Larger font size as per design comp */
    line-height: 1.2;
}

/* etc. */


/* Hero Image START */


.HeroImage--eyebrow {
    font-family: "Roboto Condensed", Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.25rem;
    display: block;
}

.HeroImage--subhead {
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 1.875rem;
    color: #ffffff;
}

.HeroImage--ctas {
    margin: -7px;
}

.HeroImage--ctas .Button {
    margin: 10px 7px;
}

.HeroImage--ctas .Button.secondary {
    background-color: transparent;
}

.HeroImage--primarySecondaryLinks {
    grid-area: 1 / 2 / span 1 / span 12;
    grid-row-start: 2;
}

@media (min-width: 751px) {

    .HeroImage--ctas {
        display: flex;
    }

    .HeroImage--primarySecondaryLinks {
        margin-top: -7.845rem;
    }

    .HeroImage.text-dark .HeroImage--eyebrow,
    .HeroImage.text-dark .HeroImage--subhead {
        color: var(--c-grey-dark);
    }
}

@media (max-width: 750px) {

    .HeroImage--eyebrow {
        color: #7AB800;
        margin-bottom: 2rem;
    }

    .HeroImage--subhead {
        color: var(--c-grey-dark);
        margin-bottom: 2rem;
    }

    .HeroImage--primarySecondaryLinks {
        grid-row-start: 3;
        margin-top: 1rem;
    }

    .HeroImage--ctas .Button {
        width: 100%;
        margin: 10px 0;
    }

    .HeroImage--ctas {
        margin: 0;
    }
}

@media (min-width: 1151px) {

    .HeroImage--inner .HeroImage--image.full-width,
    .HeroImage--inner .HeroImage--bg.full-width {
        grid-area: 1 / 1 / span 1 / -1;
    }


    .HeroImage--primarySecondaryLinks {
        grid-area: 1 / 3 / span 1 / span 10;
        grid-row-start: 2;
    }
}


/* Hero Image END */


/* Square Image Contact Cards START */

.ContactCard--image .Picture [data-sizes=auto] {
    object-fit: cover;
    object-position: center;
}

/* Image Size: 50% (default for contacts) */
.ContactCard--image--half .Picture {
    width: 50%;
}

/* Image Size: 100% (for distributors / office locations) */
.ContactCard--image--full .Picture {
    width: 100%;
}

.TeaserLeftRight--image .Picture {
    aspect-ratio: 1/1;
    max-width: 538px;
}

@media (max-width: 750px) {
    .TeaserLeftRight--image .Picture {
        max-width: 100%;
    }
}

@media (min-width: 751px) {
    .rectangleTeaserLeftRight .TeaserLeftRight--media {
        grid-area: 1/2/span 1/span 8;
    }

    .rectangleTeaserLeftRight .TeaserLeftRight--image .Picture {
        aspect-ratio: unset;
        max-width: 100%;
    }

    .rectangleTeaserLeftRight .TeaserLeftRight--image .Picture.format_1x1:before {
        padding-bottom: 75%;
    }


    .TeaserLeftRight--inner.rectangleTeaserLeftRight {
        align-items: end;
    }

    .rectangleTeaserLeftRight .TeaserLeftRight--content {
        margin-bottom: 3.125rem;
    }
}

@media (min-width: 1151px) {
    .TeaserLeftRight.right .rectangleTeaserLeftRight .TeaserLeftRight--media {
        grid-column-start: 6;
    }

    .rectangleTeaserLeftRight .TeaserLeftRight--content {
        grid-area: 1/9/span 1/span 4;
    }

    .TeaserLeftRight.right .rectangleTeaserLeftRight .TeaserLeftRight--media {
        grid-column-start: 6;
    }

    .TeaserLeftRight--inner:not(.rectangleTeaserLeftRight) .TeaserLeftRight--image {
        max-width: 538px;
    }
}


@media (min-width: 751px) and (max-width: 1150px) {
    .rectangleTeaserLeftRight .TeaserLeftRight--media {
        grid-area: 1/2/span 1/span 11;
    }

    .rectangleTeaserLeftRight .TeaserLeftRight--content {
        grid-area: 1/8/span 1/span 6;
    }

    .TeaserLeftRight:not(.right) .rectangleTeaserLeftRight .TeaserLeftRight--content {
        width: auto;
    }

    .TeaserLeftRight.right .rectangleTeaserLeftRight .TeaserLeftRight--media {
        grid-column-start: 3;
    }
}

/* Square Image Contact Cards END */


/* Hero Text Component START */

.HeroText--eyebrow {
    font-size: 14px;
    color: var(--c-grey-dark);
    margin: 0 0 16px;
    display: block;
    line-height: 1.7;
    text-transform: uppercase;
    font-weight: 400;
}

@media (max-width: 750px) {
    .HeroText--eyebrow {
        font-size: 14px;
        margin: 0 0 10px;
        line-height: 1.1;
    }
}

.HeroText--image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.HeroText--image-auto {
    display: block;
    width: 100%;
    height: 100%;
}

.HeroText--image+.HeroText--bg {
    display: none;
}

@media (min-width: 751px) {
    .HeroText--image:not(.full-width) {
        grid-area: 1 / 2 / span 1 / span 12;
    }
}


/* Hero Text Component END */

/* Link List START */

.textColor-green .LinkListLink .LinkListLink--title {
    color: #7AB800;
}

/* Social Share START */

.social-share {
    display: grid;
    margin-top: 50px;
    margin-bottom: 100px;
    grid-gap: 0px 3.125rem;
    grid-gap: 0px var(--grid-gap);
    grid-template-columns: calc(max(50px, (100vw - 0px - 1340px) * 0.5) - 3.125rem) repeat(12, 1fr) calc(max(50px, (100vw - 0px - 1340px) * 0.5) - 3.125rem);
    grid-template-columns: calc(var(--site-margin) - var(--grid-gap)) repeat(12, 1fr) calc(var(--site-margin) - var(--grid-gap));
}

.social-share-inner {
    display: flex;
    align-items: center;
    grid-area: 1 / 3 / span 1 / span 10;
}

.social-share-inner>a {
    margin-right: 15px;
}

.social-share-inner>a:hover img {
    opacity: 0.8;
}

@media (max-width: 750px) {
    .social-share {
        margin-bottom: 80px;
    }

    .social-share .social-share-inner {
        grid-area: 1 / 2 / span 1 / span 10;
    }
}

/* Social Share END */


/* Image Component START */

.cmp-custom-image-wrapper {
    display: grid;
    grid-gap: 0px 3.125rem;
    grid-gap: 0px var(--grid-gap);
    grid-template-columns: calc(max(50px, (100vw - 0px - 1340px) * 0.5) - 3.125rem) repeat(12, 1fr) calc(max(50px, (100vw - 0px - 1340px) * 0.5) - 3.125rem);
    grid-template-columns: calc(var(--site-margin) - var(--grid-gap)) repeat(12, 1fr) calc(var(--site-margin) - var(--grid-gap));
}


@media (min-width: 751px) {
    .cmp-custom-image-wrapper .cmp-image-inner {
        grid-area: 1 / 1 / span 1 / span 14;
    }

    .cmp-custom-image-wrapper.cmp-image--wide .cmp-image-inner {
        grid-area: 1 / 2 / span 1 / span 12;
    }

    .cmp-custom-image-wrapper.cmp-image--narrow .cmp-image-inner {
        grid-area: 1 / 3 / span 1 / span 10;
    }

    .cmp-custom-image-wrapper.cmp-image--tiny .cmp-image-inner {
        grid-area: 1 / 5 / span 1 / span 6;
    }
}

@media (max-width: 750px) {
    .cmp-custom-image-wrapper .cmp-image-inner {
        grid-area: 1 / 2 / span 1 / span 12;
    }
}

.cmp-custom-image-wrapper .cmp-image-inner .cmp-image {
    height: 100%;
}

.cmp-custom-image-wrapper .cmp-image-inner .cmp-image__image {
    height: 100%;
    object-fit: contain;
}

.cmp-custom-image-wrapper.mt-small {
    margin-top: 1rem;
}

.cmp-custom-image-wrapper.mt-medium {
    margin-top: 2rem;
}

.cmp-custom-image-wrapper.mt-large {
    margin-top: 4rem;
}

.cmp-custom-image-wrapper.mb-small {
    margin-bottom: 1rem;
}

.cmp-custom-image-wrapper.mb-medium {
    margin-bottom: 2rem;
}

.cmp-custom-image-wrapper.mb-large {
    margin-bottom: 4rem;
}

/* Image Component END */

/* HTML Block Schedulr START */

body .schedulr-events {
    margin-top: 50px;
    display: grid;
    grid-gap: 0px 3.125rem;
    grid-gap: 0px var(--grid-gap);
    grid-template-columns: calc(max(50px, (100vw - 0px - 1340px) * 0.5) - 3.125rem) repeat(12, 1fr) calc(max(50px, (100vw - 0px - 1340px) * 0.5) - 3.125rem);
    grid-template-columns: calc(var(--site-margin) - var(--grid-gap)) repeat(12, 1fr) calc(var(--site-margin) - var(--grid-gap));
}



body .schedulr-events__bottom_text {
    font-size: 18px;
    color: #545860;
}

body .schedulr-events__bottom_text a {
    color: #7AB800 !important;
}

body .schedulr-events-inner {
    grid-area: 1 / 2 / span 1 / span 12;
}

body .schedulr-events__bottom_text {
    grid-area: 2 / 2 / span 1 / span 12;
}

body .schedulr-events__bottom_text+.schedulr-events__bottom_text {
    grid-area: 3 / 2 / span 1 / span 12;
}

@media(min-width: 751px) {
    body .schedulr-events-inner {
        grid-area: 1 / 3 / span 1 / span 10;
    }

    body .schedulr-events__bottom_text {
        grid-area: 2 / 3 / span 1 / span 10;
    }

    body .schedulr-events__bottom_text+.schedulr-events__bottom_text {
        grid-area: 3 / 3 / span 1 / span 10;
    }
}


body .schedulr-events__item_date {
    font-family: "Roboto Condensed", Helvetica, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    color: #7AB800;
    margin-bottom: 6px;
}

body .schedulr-events__item_title {
    font-family: "Roboto Condensed", Helvetica, sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    color: #232222;
}

body .schedulr-signup-form {
    max-width: 1150px;
    margin: 50px auto;
}

/* HTML Block Schedulr END */


.youtube-placeholder {
    font-style: italic;
}


/* Japanese (CJK) typography START
   Scoped to the Japan site via <html lang="ja">, already emitted by page.html. */


/* 1. Japanese glyph fallback. Extends the Latin families with CJK-only faces
   (unicode-range), so the ~70 font-family rules in _legacy.scss resolve Japanese
   without edits. Weights MUST mirror _legacy.scss exactly - a range or an extra
   weight shifts which Latin face wins and re-wraps English headings. */

@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 400;
    src: local("Hiragino Kaku Gothic ProN W3"), local("HiraKakuProN-W3"),
         local("Hiragino Sans"), local("Yu Gothic Medium"), local("YuGothic"),
         local("Yu Gothic"), local("Meiryo"), local("Noto Sans JP"),
         local("Noto Sans CJK JP"), local("MS PGothic");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+31F0-31FF,
                   U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F,
                   U+FF00-FFEF;
}

@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 500;
    src: local("Hiragino Kaku Gothic ProN W6"), local("HiraKakuProN-W6"),
         local("Hiragino Sans W6"), local("Yu Gothic Bold"), local("YuGothic-Bold"),
         local("Meiryo Bold"), local("Noto Sans JP Bold"),
         local("Noto Sans CJK JP Bold"), local("MS PGothic");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+31F0-31FF,
                   U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F,
                   U+FF00-FFEF;
}

@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 600;
    src: local("Hiragino Kaku Gothic ProN W6"), local("HiraKakuProN-W6"),
         local("Hiragino Sans W6"), local("Yu Gothic Bold"), local("YuGothic-Bold"),
         local("Meiryo Bold"), local("Noto Sans JP Bold"),
         local("Noto Sans CJK JP Bold"), local("MS PGothic");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+31F0-31FF,
                   U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F,
                   U+FF00-FFEF;
}

@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 700;
    src: local("Hiragino Kaku Gothic ProN W6"), local("HiraKakuProN-W6"),
         local("Hiragino Sans W6"), local("Yu Gothic Bold"), local("YuGothic-Bold"),
         local("Meiryo Bold"), local("Noto Sans JP Bold"),
         local("Noto Sans CJK JP Bold"), local("MS PGothic");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+31F0-31FF,
                   U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F,
                   U+FF00-FFEF;
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    src: local("Hiragino Kaku Gothic ProN W3"), local("HiraKakuProN-W3"),
         local("Hiragino Sans"), local("Yu Gothic Medium"), local("YuGothic"),
         local("Yu Gothic"), local("Meiryo"), local("Noto Sans JP"),
         local("Noto Sans CJK JP"), local("MS PGothic");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+31F0-31FF,
                   U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F,
                   U+FF00-FFEF;
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 600;
    src: local("Hiragino Kaku Gothic ProN W6"), local("HiraKakuProN-W6"),
         local("Hiragino Sans W6"), local("Yu Gothic Bold"), local("YuGothic-Bold"),
         local("Meiryo Bold"), local("Noto Sans JP Bold"),
         local("Noto Sans CJK JP Bold"), local("MS PGothic");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+31F0-31FF,
                   U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F,
                   U+FF00-FFEF;
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 700;
    src: local("Hiragino Kaku Gothic ProN W6"), local("HiraKakuProN-W6"),
         local("Hiragino Sans W6"), local("Yu Gothic Bold"), local("YuGothic-Bold"),
         local("Meiryo Bold"), local("Noto Sans JP Bold"),
         local("Noto Sans CJK JP Bold"), local("MS PGothic");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+31F0-31FF,
                   U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F,
                   U+FF00-FFEF;
}

@font-face {
    font-family: "Literata";
    font-style: normal;
    font-weight: 400;
    src: local("Hiragino Mincho ProN W3"), local("HiraMinProN-W3"),
         local("Yu Mincho"), local("YuMincho"), local("MS PMincho"),
         local("Noto Serif JP"), local("Noto Serif CJK JP");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+31F0-31FF,
                   U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F,
                   U+FF00-FFEF;
}


/* 2. Baseline kinsoku. Inherited, so <html> covers the page: small kana and the
   chonpu may no longer start a line. */

html:lang(ja) {
    line-break: strict;
    word-break: normal;
    overflow-wrap: normal;
}


/* 3. Phrase-aware breaking (Chrome 119+; Safari/Firefox fall back to `normal`).
   List is explicit on purpose - a bare h1-h4 rule also re-wraps the untranslated
   English on JP pages and makes those headings taller. */

:lang(ja) .HeroText--title,
:lang(ja) .HeroText--text,
:lang(ja) .HeroText--eyebrow,
:lang(ja) .HeroImage--title,
:lang(ja) .HeroImage--subhead,
:lang(ja) .HeroImage--eyebrow,
:lang(ja) .HeroTeaser--title,
:lang(ja) .HeroTeaser--pretitle,
:lang(ja) .HeroTeaser--content,
:lang(ja) .cmp-hero-video__title,
:lang(ja) .cmp-hero-video__content p,
:lang(ja) .SectionTitle--title,
:lang(ja) .LeadText--title,
:lang(ja) .LeadText--text,
:lang(ja) .NumberFactTeaser--description,
:lang(ja) .Number--text,
:lang(ja) .TeaserLeftRight--title,
:lang(ja) .TeaserLeftRight--text,
:lang(ja) .LinkListLink--title,
:lang(ja) .LinkListLink--text,
:lang(ja) .MediaTextTeaser--title,
:lang(ja) .MediaTextTeaser--text {
    word-break: normal;
    word-break: auto-phrase;
}

/* Escape hatch when an untranslated English string wraps worse with it. */

:lang(ja) .jpn-phrase-off {
    word-break: normal;
}


/* 4. .DiscoveryGridItem--title sets `word-wrap: anywhere`, which lets Japanese
   break at any character. */

:lang(ja) .DiscoveryGridItem--title {
    word-wrap: normal;
    overflow-wrap: normal;
}


/* 5. Author control via the "Japanese: keep together" RTE style: an inline-block
   cannot break internally, so the run moves to the next line whole. QA: it also
   stops whitespace collapsing with neighbours - check underlines and mixed sizes. */

.jpn-word-wrap {
    display: inline-block;
}

/* Japanese (CJK) typography END */