/* Global visual harmonization across all pages */

:root {
    --hedla-arrow-gold: var(--hedla-sunlit-clay);
}

/* Smaller headings/subheadings and tighter rhythm */
h2,
.dg-heading,
.default-block-heading,
.block-title-text-cta__heading,
.block-multiple-pillar__heading,
.block-text-stats-col-video-col__heading {
    font-size: clamp(1.3rem, 2.1vw, 1.2rem) !important;
    line-height: 1.2 !important;
}

.section-header .section-header__super-title,
.block-multiple-pillar__preheading {
    margin-bottom: 6px !important;
}

.section-header .section-header__super-title p,
.dg-super-title p,
.block-multiple-pillar__preheading {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.section-header__text .default-block-heading {
    margin-top: 0 !important;
}

/* Keep banner CTA transparent on hover (DISCOVER WHO WE ARE) */
.multiple-pillars-home .block-multiple-pillars__desktop .block-multiple-pillar__ctablocklink:hover,
.multiple-pillars-home .block-multiple-pillars__mobile .block-multiple-pillar__ctablocklink:hover {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Sustainability headline: keep uppercase and balanced wrapping */
.text-split-image-ctas__blockhead,
.text-split-image-ctas__blockhead_mob,
.compare_block-2 .block-title-text-cta__heading {
    text-transform: uppercase !important;
}

/* Sustainability headline: keep in two balanced lines on desktop */
@media (min-width: 992px) {
    .text-split-image-ctas__blockhead {
        text-transform: uppercase !important;
        max-width: 760px;
        font-size: clamp(1.9rem, 2.2vw, 2.35rem) !important;
        line-height: 1.15 !important;
        text-wrap: balance;
    }
}

.text-split-image-ctas__blockhead .light-text,
.text-split-image-ctas__blockhead_mob .light-text,
.compare_block-2 .block-title-text-cta__heading,
.compare_block-2 .block-title-text-cta__heading .light-text {
    text-transform: uppercase !important;
}

/* Latest news card titles in normal title case */
.block-latest-news h6,
.block-latest-news .post_release {
    text-transform: none !important;
}

/* Keep card links/mega intro links interactive */
.hedla-header .hedla-mega-menu__intro-cta,
.hedla__card-link,
.hedla__card-link-2 {
    position: relative;
    overflow: visible;
    background-image: none !important;
}

/* White-background section CTAs: Rothschild-like text link + left gold arrow */
.bg-white .btn.btn-primary.hedla-btn-green,
.block-text-autoplay-video .btn.btn-primary.hedla-btn-green,
.block-title-text-cta .btn.btn-primary.hedla-btn-green,
.block-latest-news .btn.btn-primary.hedla-btn-green,
.block-title-twocol-plain-text .btn.btn-primary.hedla-btn-green,
.block-title-twocol-plain-text-collage .btn.btn-primary.hedla-btn-green {
    position: relative;
    display: inline-block;
    background: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    padding: 0 0 0 32px !important;
    color: var(--hedla-twilight-indigo) !important;
    line-height: 1.35;
}

/* .bg-white .btn.btn-primary.hedla-btn-green::before, */
/* .block-text-autoplay-video .btn.btn-primary.hedla-btn-green::before, */
/* .block-title-text-cta .btn.btn-primary.hedla-btn-green::before, */
/* .block-latest-news .btn.btn-primary.hedla-btn-green::before, */
.block-title-twocol-plain-text .btn.btn-primary.hedla-btn-green::before,
.block-title-twocol-plain-text-collage .btn.btn-primary.hedla-btn-green::before,
.hedla-header .hedla-mega-menu__intro-cta::before {
    content: "\203A";
    color: var(--hedla-arrow-gold);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translate(-12px, -52%);
    opacity: 1;
    font-size: 1.4em;
    line-height: 1;
    transition: transform .22s ease, opacity .22s ease, color .22s ease;
}
.bg-white .btn.btn-primary.hedla-btn-green::before {
    content: "\203A";
    color: var(--hedla-arrow-gold);
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translate(-12px, -52%);
    opacity: 1;
    font-size: 1.4em;
    line-height: 1;
    transition: transform .22s ease, opacity .22s ease, color .22s ease;
}
.block-title-text-cta .btn.btn-primary.hedla-btn-green::before {
    content: "\203A";
    color: var(--hedla-arrow-gold);
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translate(-12px, -52%);
    opacity: 1;
    font-size: 1.4em;
    line-height: 1;
    transition: transform .22s ease, opacity .22s ease, color .22s ease;
}

.block-latest-news .btn.btn-primary.hedla-btn-green::before {
    content: "\203A";
    color: var(--hedla-arrow-gold);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translate(-12px, -52%);
    opacity: 1;
    font-size: 1.4em;
    line-height: 1;
    transition: transform .22s ease, opacity .22s ease, color .22s ease;
}
.block-text-autoplay-video .btn.btn-primary.hedla-btn-green::before {
    content: "\203A";
    color: var(--hedla-arrow-gold);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translate(-12px, -52%);
    opacity: 1;
    font-size: 1.4em;
    line-height: 1;
    transition: transform .22s ease, opacity .22s ease, color .22s ease;
}

.bg-white .btn.btn-primary.hedla-btn-green:hover,
.block-text-autoplay-video .btn.btn-primary.hedla-btn-green:hover,
.block-title-text-cta .btn.btn-primary.hedla-btn-green:hover,
.block-latest-news .btn.btn-primary.hedla-btn-green:hover,
.block-title-twocol-plain-text .btn.btn-primary.hedla-btn-green:hover,
.block-title-twocol-plain-text-collage .btn.btn-primary.hedla-btn-green:hover,
.hedla-header .hedla-mega-menu__intro-cta:hover {
    color: var(--hedla-dark-amaranth) !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.bg-white .btn.btn-primary.hedla-btn-green:hover::before,
.block-text-autoplay-video .btn.btn-primary.hedla-btn-green:hover::before,
.block-title-text-cta .btn.btn-primary.hedla-btn-green:hover::before,
.block-latest-news .btn.btn-primary.hedla-btn-green:hover::before,
.block-title-twocol-plain-text .btn.btn-primary.hedla-btn-green:hover::before,
.block-title-twocol-plain-text-collage .btn.btn-primary.hedla-btn-green:hover::before,
.hedla-header .hedla-mega-menu__intro-cta:hover::before {
    opacity: 1;
    transform: translate(-5px, -52%);
    color: var(--hedla-dark-amaranth);
}

/* Blog Read more: nav-like line draw only (no arrow) */
.block-latest-news .hedla__card-link,
.block-latest-news .hedla__card-link-2 {
    color: var(--hedla-charcoal) !important;
    padding-left: 0 !important;
    text-decoration: none !important;
    background-image: linear-gradient(currentColor, currentColor) !important;
    background-repeat: no-repeat !important;
    background-position: left 100% !important;
    background-size: 0 1.5px !important;
    transition: color .25s ease, background-size .25s ease !important;
}

.block-latest-news .hedla__card-link::before,
.block-latest-news .hedla__card-link-2::before {
    display: none !important;
    content: none !important;
}

.block-latest-news .hedla__card-link:hover,
.block-latest-news .hedla__card-link-2:hover {
    color: var(--hedla-dark-amaranth) !important;
    background-size: 100% 1.5px !important;
}

/* All News button: reduce arrow/text gap */
.block-latest-news .btn.btn-primary.hedla-btn-green.block-latest-news__all-items,
.block-latest-news .btn.btn-primary.hedla-btn-green {
    padding-left: 24px !important;
}

.block-latest-news .btn.btn-primary.hedla-btn-green.block-latest-news__all-items::before,
.block-latest-news .btn.btn-primary.hedla-btn-green::before {
    transform: translate(-9px, -52%) !important;
}

.block-latest-news .btn.btn-primary.hedla-btn-green.block-latest-news__all-items:hover::before,
.block-latest-news .btn.btn-primary.hedla-btn-green:hover::before {
    transform: translate(-3px, -52%) !important;
}

.block-latest-news .btn.btn-primary.hedla-btn-green.block-latest-news__all-items:hover,
.block-latest-news .btn.btn-primary.hedla-btn-green:hover {
    padding-left: 24px !important;
}

/* Side-by-side CTAs: white default, golden hover, tighter arrow gap */
.block-offset-images-cta .btn.btn-primary.hedla-btn-green,
.compare_block .btn.btn-primary.hedla-btn-green {
    background: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    color: var(--hedla-white) !important;
    background-image: none !important;
}

.block-offset-images-cta .btn.btn-primary.hedla-btn-green::before,
.compare_block .btn.btn-primary.hedla-btn-green::before {
    content: "\203A" !important;
    display: block !important;
    color: var(--hedla-white) !important;
    opacity: 1 !important;
    transform: translate(-10px, -52%) !important;
    left: 17px !important;
}

.block-offset-images-cta .btn.btn-primary.hedla-btn-green:hover,
.compare_block .btn.btn-primary.hedla-btn-green:hover {
    color: var(--hedla-sunlit-clay) !important;
    background-image: none !important;
    padding: 0 0 0 22px !important;
}

.block-offset-images-cta .btn.btn-primary.hedla-btn-green:hover::before,
.compare_block .btn.btn-primary.hedla-btn-green:hover::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(-4px, -52%) !important;
}

/* Sustainability CTA: nav-like, white default, gold on hover */
.text-split-image-ctas .btn.btn-primary.hedla-btn-green,
.compare_block-2 .btn.btn-primary.hedla-btn-green {
    background: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: var(--hedla-white) !important;
    min-width: 0 !important;
    padding: 0 !important;
    background-image: linear-gradient(currentColor, currentColor) !important;
    background-repeat: no-repeat !important;
    background-position: left 100% !important;
    background-size: 0 1.5px !important;
    transition: color .25s ease !important;
}

.text-split-image-ctas .btn.btn-primary.hedla-btn-green::before,
.compare_block-2 .btn.btn-primary.hedla-btn-green::before {
    display: none !important;
    content: none !important;
}

.text-split-image-ctas .btn.btn-primary.hedla-btn-green:hover,
.compare_block-2 .btn.btn-primary.hedla-btn-green:hover {
    color: var(--hedla-sunlit-clay) !important;
    background-size: 100% 1.5px !important;
    transition: color .25s ease, background-size .25s ease !important;
    padding: 0 !important;
}

/* Banner DISCOVER CTA: white line draw on hover (no color change) */
.block-multiple-pillar__ctablocklink {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--hedla-white) !important;
    border: none !important;
    display: inline-block !important;
    width: auto !important;
    max-width: max-content !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    background-image: linear-gradient(currentColor, currentColor) !important;
    background-repeat: no-repeat !important;
    background-position: left 100% !important;
    background-size: 0 1.5px !important;
    transition: background-size .25s ease !important;
}

.block-multiple-pillar__ctablocklink:hover,
.block-multiple-pillar__ctablocklink:focus {
    color: var(--hedla-white) !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    background-image: linear-gradient(currentColor, currentColor) !important;
    background-repeat: no-repeat !important;
    background-position: left 100% !important;
    background-size: 100% 1.5px !important;
}

.block-multiple-pillar__ctablocklink::before,
.block-multiple-pillar__ctablocklink::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
}

.multiple-pillars-home .block-multiple-pillars__desktop .block-multiple-pillar__ctablocklink:after,
.multiple-pillars-home .block-multiple-pillars__mobile .block-multiple-pillar__ctablocklink:after {
    display: none !important;
    content: none !important;
}

/* Contact strip consistency */
.block-get-in-touch .item-holder {
    background: var(--hedla-twilight-indigo) !important;
    background-image: none !important;
}

.block-get-in-touch .item-holder-2 {
    background: var(--hedla-charcoal) !important;
    background-image: none !important;
}

.block-get-in-touch__text-wrapper-heading,
.block-get-in-touch__text-wrapper-heading-sub,
.get_in_touch_text_heading {
    color: var(--hedla-white) !important;
    font-family: var(--font-raleway) !important;
    font-weight: 400 !important;
}

.block-get-in-touch__text-wrapper-text {
    color: var(--hedla-isabelline-silver) !important;
    opacity: 1 !important;
}

/* Contact us CTA: match Farmers' Assistance Program CTA */
.block-get-in-touch .btn.btn-primary.hedla-btn-green,
.block-get-in-touch .btn.btn-primary {
    background: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    color: var(--hedla-white) !important;
    background-image: none !important;
}

.block-get-in-touch .btn.btn-primary.hedla-btn-green::before,
.block-get-in-touch .btn.btn-primary::before {
    content: "\203A" !important;
    display: block !important;
    color: var(--hedla-white) !important;
    opacity: 1 !important;
    transform: translate(-10px, -52%) !important;
    left: 13px !important;
}

.block-get-in-touch .btn.btn-primary.hedla-btn-green:hover,
.block-get-in-touch .btn.btn-primary:hover {
    color: var(--hedla-sunlit-clay) !important;
    background: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding: 0 0 0 22px !important;
}

.block-get-in-touch .btn.btn-primary.hedla-btn-green:hover::before,
.block-get-in-touch .btn.btn-primary:hover::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(-4px, -52%) !important;
}

/* Mega menu intro CTA: white default, gold on hover */
.hedla-header .hedla-mega-menu__intro-cta,
.hedla-header .hedla-mega-menu__intro-cta.btn.btn-primary.hedla-btn-green {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    color: var(--hedla-white) !important;
    text-decoration: none !important;
}

.hedla-header .hedla-mega-menu__intro-cta::before,
.hedla-header .hedla-mega-menu__intro-cta.btn.btn-primary.hedla-btn-green::before {
    content: "\203A" !important;
    display: block !important;
    color: var(--hedla-white) !important;
    opacity: 1 !important;
    left: 10px !important;
    top: 50% !important;
    transform: translate(-10px, -52%) !important;
}

.hedla-header .hedla-mega-menu__intro-cta:hover,
.hedla-header .hedla-mega-menu__intro-cta:focus,
.hedla-header .hedla-mega-menu__intro-cta.btn.btn-primary.hedla-btn-green:hover,
.hedla-header .hedla-mega-menu__intro-cta.btn.btn-primary.hedla-btn-green:focus {
    color: var(--hedla-sunlit-clay) !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding: 0 0 0 22px !important;
}

.hedla-header .hedla-mega-menu__intro-cta:hover::before,
.hedla-header .hedla-mega-menu__intro-cta:focus::before,
.hedla-header .hedla-mega-menu__intro-cta.btn.btn-primary.hedla-btn-green:hover::before,
.hedla-header .hedla-mega-menu__intro-cta.btn.btn-primary.hedla-btn-green:focus::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(-4px, -52%) !important;
}

/* Mega menu left panel parity: WHAT WE DO matches WHO WE ARE */
#myDiv1 .hedla-mega-menu__intro,
#myDiv2 .hedla-mega-menu__intro {
    background-color: var(--hedla-twilight-indigo) !important;
}

/* Remove hover underline from logo links across pages */
.hedla-header-navbar__logo-wrapper > a,
.hedla-header-mobile-navbar__logo-wrapper > a,
.hedla-header-navbar__logo-wrapper > a:hover,
.hedla-header-navbar__logo-wrapper > a:focus,
.hedla-header-mobile-navbar__logo-wrapper > a:hover,
.hedla-header-mobile-navbar__logo-wrapper > a:focus {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    background-size: 0 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Enforce header logo size globally */
.hedla-header-navbar__logo {
    width: 235px !important;
    max-width: 235px !important;
    height: auto !important;
}

.hedla-header-mobile-navbar__logo {
    width: 165px !important;
    max-width: 165px !important;
    height: auto !important;
}

/* Footer brochure links: no underline effect */
.bro_download_btn,
.bro_download_btn:hover,
.bro_download_btn:focus,
.footer__file a,
.footer__file a:hover,
.footer__file a:focus {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    background-size: 0 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* -------------------------------------------------------------------------- */
/* Cross-page CTA parity with home (applies on non-home pages) */
/* -------------------------------------------------------------------------- */

/* Prevent inherited global link/button underline stacks (fixes double underline) */
body:not(.home) .btn.btn-primary.hedla-btn-green,
body:not(.home) .btn.btn-primary.hedla-btn-white,
body:not(.home) .block-twocol-grid-images-text-cta__cta,
body:not(.home) .block-image-overlap-text-cta__cta {
    text-decoration: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
    box-shadow: none !important;
}

body:not(.home) .btn.btn-primary.hedla-btn-green:hover,
body:not(.home) .btn.btn-primary.hedla-btn-white:hover,
body:not(.home) .block-twocol-grid-images-text-cta__cta:hover,
body:not(.home) .block-image-overlap-text-cta__cta:hover {
    text-decoration: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
    box-shadow: none !important;
}

/* White-surface CTA style -> match home "OUR VALUE CHAIN" CTA */
body:not(.home) .block-columns-text-cta .btn.btn-primary.hedla-btn-green,
body:not(.home) .block-twocol-grid-images-text-cta__cta,
body:not(.home) .block-image-overlap-text-cta__cta.btn.btn-primary.hedla-btn-green {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--hedla-twilight-indigo) !important;
    line-height: 1.35 !important;
}

body:not(.home) .block-columns-text-cta .btn.btn-primary.hedla-btn-green::before,
body:not(.home) .block-twocol-grid-images-text-cta__cta::before,
body:not(.home) .block-image-overlap-text-cta__cta.btn.btn-primary.hedla-btn-green::before {
    content: "\203A" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    display: block !important;
    opacity: 1 !important;
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(0, -52%) !important;
    font-size: 1.12em !important;
    line-height: 1 !important;
    transition: transform .22s ease, color .22s ease !important;
}

body:not(.home) .block-columns-text-cta .btn.btn-primary.hedla-btn-green:hover,
body:not(.home) .block-columns-text-cta .btn.btn-primary.hedla-btn-green:focus,
body:not(.home) .block-twocol-grid-images-text-cta__cta:hover,
body:not(.home) .block-twocol-grid-images-text-cta__cta:focus,
body:not(.home) .block-image-overlap-text-cta__cta.btn.btn-primary.hedla-btn-green:hover,
body:not(.home) .block-image-overlap-text-cta__cta.btn.btn-primary.hedla-btn-green:focus {
    color: var(--hedla-dark-amaranth) !important;
    padding: 0 0 0 22px !important;
    border-color: transparent !important;
    background: transparent !important;
}

body:not(.home) .block-columns-text-cta .btn.btn-primary.hedla-btn-green:hover::before,
body:not(.home) .block-columns-text-cta .btn.btn-primary.hedla-btn-green:focus::before,
body:not(.home) .block-twocol-grid-images-text-cta__cta:hover::before,
body:not(.home) .block-twocol-grid-images-text-cta__cta:focus::before,
body:not(.home) .block-image-overlap-text-cta__cta.btn.btn-primary.hedla-btn-green:hover::before,
body:not(.home) .block-image-overlap-text-cta__cta.btn.btn-primary.hedla-btn-green:focus::before {
    color: var(--hedla-dark-amaranth) !important;
    transform: translate(6px, -52%) !important;
}

/* Image/dark background CTA style -> match home Farmers' Assistance CTA */
body:not(.home) .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-white,
body:not(.home) .image-cta-only .btn.btn-primary.hedla-btn-white,
body:not(.home) .block-offset-images-cta .btn.btn-primary.hedla-btn-green,
body:not(.home) .compare_block .btn.btn-primary.hedla-btn-green,
body:not(.home) .compare_block-2 .btn.btn-primary.hedla-btn-green,
body:not(.home) .text-split-image-ctas .btn.btn-primary.hedla-btn-green {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--hedla-white) !important;
    line-height: 1.35 !important;
}

body:not(.home) .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-white::before,
body:not(.home) .image-cta-only .btn.btn-primary.hedla-btn-white::before,
body:not(.home) .block-offset-images-cta .btn.btn-primary.hedla-btn-green::before,
body:not(.home) .compare_block .btn.btn-primary.hedla-btn-green::before,
body:not(.home) .compare_block-2 .btn.btn-primary.hedla-btn-green::before,
body:not(.home) .text-split-image-ctas .btn.btn-primary.hedla-btn-green::before {
    content: "\203A" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    display: block !important;
    opacity: 1 !important;
    color: var(--hedla-white) !important;
    transform: translate(0, -52%) !important;
    font-size: 1.12em !important;
    line-height: 1 !important;
    transition: transform .22s ease, color .22s ease !important;
}

body:not(.home) .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-white:hover,
body:not(.home) .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-white:focus,
body:not(.home) .image-cta-only .btn.btn-primary.hedla-btn-white:hover,
body:not(.home) .image-cta-only .btn.btn-primary.hedla-btn-white:focus,
body:not(.home) .block-offset-images-cta .btn.btn-primary.hedla-btn-green:hover,
body:not(.home) .block-offset-images-cta .btn.btn-primary.hedla-btn-green:focus,
body:not(.home) .compare_block .btn.btn-primary.hedla-btn-green:hover,
body:not(.home) .compare_block .btn.btn-primary.hedla-btn-green:focus,
body:not(.home) .compare_block-2 .btn.btn-primary.hedla-btn-green:hover,
body:not(.home) .compare_block-2 .btn.btn-primary.hedla-btn-green:focus,
body:not(.home) .text-split-image-ctas .btn.btn-primary.hedla-btn-green:hover,
body:not(.home) .text-split-image-ctas .btn.btn-primary.hedla-btn-green:focus {
    color: var(--hedla-sunlit-clay) !important;
    padding: 0 0 0 22px !important;
    border-color: transparent !important;
    background: transparent !important;
}

body:not(.home) .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-white:hover::before,
body:not(.home) .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-white:focus::before,
body:not(.home) .image-cta-only .btn.btn-primary.hedla-btn-white:hover::before,
body:not(.home) .image-cta-only .btn.btn-primary.hedla-btn-white:focus::before,
body:not(.home) .block-offset-images-cta .btn.btn-primary.hedla-btn-green:hover::before,
body:not(.home) .block-offset-images-cta .btn.btn-primary.hedla-btn-green:focus::before,
body:not(.home) .compare_block .btn.btn-primary.hedla-btn-green:hover::before,
body:not(.home) .compare_block .btn.btn-primary.hedla-btn-green:focus::before,
body:not(.home) .compare_block-2 .btn.btn-primary.hedla-btn-green:hover::before,
body:not(.home) .compare_block-2 .btn.btn-primary.hedla-btn-green:focus::before,
body:not(.home) .text-split-image-ctas .btn.btn-primary.hedla-btn-green:hover::before,
body:not(.home) .text-split-image-ctas .btn.btn-primary.hedla-btn-green:focus::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(6px, -52%) !important;
}

/* Sustainability page partner CTAs -> left-arrow style parity with Farmers CTA */
body:not(.home) .block-partnerships-card-carousel__contwrap-button .btn.btn-primary.hedla-btn-green {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--hedla-twilight-indigo) !important;
    line-height: 1.35 !important;
}

body:not(.home) .block-partnerships-card-carousel__contwrap-button .btn.btn-primary.hedla-btn-green::before {
    content: "\203A" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    display: block !important;
    opacity: 1 !important;
    color: var(--hedla-twilight-indigo) !important;
    transform: translate(0, -52%) !important;
    font-size: 1.12em !important;
    line-height: 1 !important;
    transition: transform .22s ease, color .22s ease !important;
}

body:not(.home) .block-partnerships-card-carousel__contwrap-button .btn.btn-primary.hedla-btn-green:hover,
body:not(.home) .block-partnerships-card-carousel__contwrap-button .btn.btn-primary.hedla-btn-green:focus {
    color: var(--hedla-sunlit-clay) !important;
    border-color: transparent !important;
    background: transparent !important;
    padding: 0 0 0 22px !important;
}

body:not(.home) .block-partnerships-card-carousel__contwrap-button .btn.btn-primary.hedla-btn-green:hover::before,
body:not(.home) .block-partnerships-card-carousel__contwrap-button .btn.btn-primary.hedla-btn-green:focus::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(6px, -52%) !important;
}

/* Contact block parity with home page */
body:not(.home) .block-get-in-touch .item-holder {
    background: var(--hedla-twilight-indigo) !important;
    background-image: none !important;
}

body:not(.home) .block-get-in-touch .item-holder-2 {
    /* background: var(--hedla-twilight-indigo) !important; */
    background: var(--hedla-charcoal) !important;
    background-image: none !important;
}

body:not(.home) .block-get-in-touch__text-wrapper-heading,
body:not(.home) .block-get-in-touch__text-wrapper-heading-sub,
body:not(.home) .block-get-in-touch__text-wrapper-heading .light-text,
body:not(.home) .get_in_touch_text_heading {
    color: var(--hedla-white) !important;
}

body:not(.home) .block-get-in-touch__text-wrapper-text {
    color: var(--hedla-isabelline-silver) !important;
    opacity: 1 !important;
}

body:not(.home) .block-get-in-touch .btn.btn-primary,
body:not(.home) .block-get-in-touch .btn.btn-primary.hedla-btn-green {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--hedla-white) !important;
}

body:not(.home) .block-get-in-touch .btn.btn-primary::before,
body:not(.home) .block-get-in-touch .btn.btn-primary.hedla-btn-green::before,
.block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green::before {
    content: "\203A" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    display: block !important;
    opacity: 1 !important;
    color: var(--hedla-white) !important;
    transform: translate(0, -52%) !important;
    font-size: 1.12em !important;
    line-height: 1 !important;
    transition: transform .22s ease, color .22s ease !important;
}

body:not(.home) .block-get-in-touch .btn.btn-primary:hover,
body:not(.home) .block-get-in-touch .btn.btn-primary:focus,
body:not(.home) .block-get-in-touch .btn.btn-primary.hedla-btn-green:hover,
body:not(.home) .block-get-in-touch .btn.btn-primary.hedla-btn-green:focus {
    color: var(--hedla-sunlit-clay) !important;
    border-color: transparent !important;
    background: transparent !important;
    padding: 0 0 0 22px !important;
}

body:not(.home) .block-get-in-touch .btn.btn-primary:hover::before,
body:not(.home) .block-get-in-touch .btn.btn-primary:focus::before,
body:not(.home) .block-get-in-touch .btn.btn-primary.hedla-btn-green:hover::before,
body:not(.home) .block-get-in-touch .btn.btn-primary.hedla-btn-green:focus::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(6px, -52%) !important;
}

/* News & insights cards parity with home latest-news cards */
body:not(.home) .news-insights-container .bt-caption h4,
body:not(.home) .news-insights-container .news-insights-blog-heading-archive {
    text-transform: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    font-family: var(--font-raleway) !important;
    color: var(--hedla-twilight-indigo) !important;
}

body:not(.home) .news-insights-container .news-insights-blog-heading-archive:hover,
body:not(.home) .news-insights-container .news-insights-blog-heading-archive:focus {
    color: var(--hedla-dark-amaranth) !important;
    background-image: none !important;
    background-size: 0 0 !important;
}

/* Mobile polish: header spacing, drill-menu footer color, footer-bar copy fit */
@media (max-width: 991px) {
    .hedla-header-mobile-navbar {
        height: 70px !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .hedla-nav-drill {
        margin-top: 56px !important;
    }

    .hedla-nav__bottom-options {
        background-color: var(--hedla-twilight-indigo) !important;
    }

    .footer__bar-copy {
        font-size: 15px !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
        padding-right: 66px !important;
        white-space: nowrap !important;
    }
}

/* Our Partners: Sustainability CTA should match Contact Us CTA pattern */
body.page-template-our-partners .block-hero-text-cta__ctas,
body.page-template-our-partners-php .block-hero-text-cta__ctas {
    display: flex !important;
    justify-content: flex-end !important;
}

body.page-template-our-partners .visit_btn.respo-visit,
body.page-template-our-partners-php .visit_btn.respo-visit {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    color: var(--hedla-white) !important;
    font-family: var(--font-open-sans) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
}

body.page-template-our-partners .visit_btn.respo-visit img,
body.page-template-our-partners-php .visit_btn.respo-visit img {
    display: none !important;
}

body.page-template-our-partners .visit_btn.respo-visit::before,
body.page-template-our-partners-php .visit_btn.respo-visit::before {
    content: "\203A" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translate(0, -52%) !important;
    color: var(--hedla-white) !important;
    font-size: 1.12em !important;
    line-height: 1 !important;
    transition: transform .22s ease, color .22s ease !important;
}

body.page-template-our-partners .visit_btn.respo-visit::after,
body.page-template-our-partners-php .visit_btn.respo-visit::after {
    content: none !important;
    display: none !important;
}

body.page-template-our-partners .visit_btn.respo-visit:hover,
body.page-template-our-partners .visit_btn.respo-visit:focus,
body.page-template-our-partners-php .visit_btn.respo-visit:hover,
body.page-template-our-partners-php .visit_btn.respo-visit:focus {
    color: var(--hedla-sunlit-clay) !important;
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    text-decoration: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
}

body.page-template-our-partners .visit_btn.respo-visit:hover::before,
body.page-template-our-partners .visit_btn.respo-visit:focus::before,
body.page-template-our-partners-php .visit_btn.respo-visit:hover::before,
body.page-template-our-partners-php .visit_btn.respo-visit:focus::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(6px, -52%) !important;
}

/* Our Partners: support current CTA class in template (btn btn-primary hedla-btn-green) */
body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    color: var(--hedla-white) !important;
    font-family: var(--font-open-sans) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
}

body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green::before,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green::before {
    content: "\203A" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    display: block !important;
    opacity: 1 !important;
    color: var(--hedla-white) !important;
    transform: translate(0, -52%) !important;
    font-size: 1.12em !important;
    line-height: 1 !important;
    transition: transform .22s ease, color .22s ease !important;
}

body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green:hover,
body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green:focus,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green:hover,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green:focus {
    color: var(--hedla-sunlit-clay) !important;
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    text-decoration: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
}

body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green:hover::before,
body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green:focus::before,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green:hover::before,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green:focus::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(6px, -52%) !important;
}

/* Hard-specific fallback: Our Partners Sustainability CTA hover */
body.page-template-our-partners .block-hero-text-cta .block-hero-text-cta__content--right .block-hero-text-cta__ctas a.visit_btn.respo-visit:hover,
body.page-template-our-partners .block-hero-text-cta .block-hero-text-cta__content--right .block-hero-text-cta__ctas a.visit_btn.respo-visit:focus,
body.page-template-our-partners-php .block-hero-text-cta .block-hero-text-cta__content--right .block-hero-text-cta__ctas a.visit_btn.respo-visit:hover,
body.page-template-our-partners-php .block-hero-text-cta .block-hero-text-cta__content--right .block-hero-text-cta__ctas a.visit_btn.respo-visit:focus {
    color: var(--hedla-sunlit-clay) !important;
}

body.page-template-our-partners .block-hero-text-cta .block-hero-text-cta__content--right .block-hero-text-cta__ctas a.visit_btn.respo-visit:hover::before,
body.page-template-our-partners .block-hero-text-cta .block-hero-text-cta__content--right .block-hero-text-cta__ctas a.visit_btn.respo-visit:focus::before,
body.page-template-our-partners-php .block-hero-text-cta .block-hero-text-cta__content--right .block-hero-text-cta__ctas a.visit_btn.respo-visit:hover::before,
body.page-template-our-partners-php .block-hero-text-cta .block-hero-text-cta__content--right .block-hero-text-cta__ctas a.visit_btn.respo-visit:focus::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(6px, -52%) !important;
}

/* Corporate Governance: heading/sub-heading font parity with Contact block */
body.page-template-corporate-governance .page-content__hero-title,
body.page-template-corporate-governance-php .page-content__hero-title,
body.page-template-corporate-governance .block-title-text-cta__heading,
body.page-template-corporate-governance-php .block-title-text-cta__heading,
body.page-template-corporate-governance .wp-block-hedla-multi-tab-menu-images__tabs-headline,
body.page-template-corporate-governance-php .wp-block-hedla-multi-tab-menu-images__tabs-headline,
body.page-template-corporate-governance .wp-block-hedla-multi-tab-menu-images__tabs-menu .nav.nav-pills .nav-link,
body.page-template-corporate-governance-php .wp-block-hedla-multi-tab-menu-images__tabs-menu .nav.nav-pills .nav-link,
.heading-section .block-title-text-cta__heading,
.wp-block-hedla-multi-tab-menu-images__tabs-headline,
.wp-block-hedla-multi-tab-menu-images__tabs-menu .nav.nav-pills .nav-link {
    font-family: var(--font-raleway) !important;
    font-weight: 400 !important;
}

/* Contact page: align section colors with theme */
body.page-template-contact-us .contact-us__topic,
body.page-template-contact-us-php .contact-us__topic,
.contact-us.hedlajs-contact-form-wrapper .contact-us__topic {
    background-color: var(--hedla-twilight-indigo) !important;
}

body.page-template-contact-us .contact-us_select option,
body.page-template-contact-us-php .contact-us_select option,
.contact-us.hedlajs-contact-form-wrapper .contact-us_select option {
    background-color: var(--hedla-twilight-indigo) !important;
    color: var(--hedla-white) !important;
}

body.page-template-contact-us .contact-us__form-standard-fields,
body.page-template-contact-us-php .contact-us__form-standard-fields,
body.page-template-contact-us .contact-us__section-title_description,
body.page-template-contact-us-php .contact-us__section-title_description,
body.page-template-contact-us .contact-us__section-title_description-1,
body.page-template-contact-us-php .contact-us__section-title_description-1,
.contact-us.hedlajs-contact-form-wrapper .contact-us__form-standard-fields,
.contact-us.hedlajs-contact-form-wrapper .contact-us__section-title_description,
.contact-us.hedlajs-contact-form-wrapper .contact-us__section-title_description-1 {
    background-color: var(--hedla-dim-grey) !important;
}

body.page-template-contact-us .contact-us__section-title_description h2,
body.page-template-contact-us-php .contact-us__section-title_description h2,
body.page-template-contact-us .contact-us__section-title_description-1 h2,
body.page-template-contact-us-php .contact-us__section-title_description-1 h2,
.contact-us.hedlajs-contact-form-wrapper .contact-us__section-title_description h2,
.contact-us.hedlajs-contact-form-wrapper .contact-us__section-title_description-1 h2 {
    color: var(--hedla-white) !important;
    font-family: var(--font-raleway) !important;
    font-weight: 400 !important;
}

body.page-template-contact-us .contact-us__section-title_description p,
body.page-template-contact-us-php .contact-us__section-title_description p,
body.page-template-contact-us .contact-us__section-title_description-1 p,
body.page-template-contact-us-php .contact-us__section-title_description-1 p,
.contact-us.hedlajs-contact-form-wrapper .contact-us__section-title_description p,
.contact-us.hedlajs-contact-form-wrapper .contact-us__section-title_description-1 p {
    color: var(--hedla-white) !important;
    opacity: 1 !important;
}

/* -------------------------------------------------------------------------- */
/* Round 2 cross-page refinements */
/* -------------------------------------------------------------------------- */

:root {
    --wp--preset--color--black: var(--hedla-charcoal);
}

/* Header logo slightly smaller + menu text slightly larger */
body .hedla-header-navbar__logo {
    /* width: 220px !important; */
    width: 200px !important;
    max-width: 220px !important;
    height: auto !important;
}

body .hedla-header-mobile-navbar__logo {
    width: 152px !important;
    max-width: 152px !important;
    height: auto !important;
}

@media (min-width: 992px) {
    body .hedla-header-navbar__menu-item-link {
        font-size: 13.5px !important;
    }
}

/* Mega menu: left intro panel should be indigo everywhere */
body #myDiv1 .hedla-mega-menu__intro,
body #myDiv2 .hedla-mega-menu__intro,
body .hedla-header .hedla-mega-menu__intro {
    background-color: var(--hedla-twilight-indigo) !important;
}

/* Mega menu typography update for intro heading + right-side menu headings */
body .hedla-header .hedla-mega-menu__intro-title,
body .hedla-header .hedla-mega-menu__link,
body .hedla-header .hedla-mega-menu__expand .hedla-mega-menu__expand-content .hedla-mega-menu__link {
    font-family: var(--font-raleway) !important;
}

/* Mega menu underline should span full row width for both single links and sub-menu links */
body .hedla-header .hedla-mega-menu__link {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    color: var(--hedla-charcoal) !important;
    background-image: linear-gradient(var(--hedla-dark-amaranth), var(--hedla-dark-amaranth)) !important;
    background-repeat: no-repeat !important;
    background-position: left calc(100% - 1px) !important;
    background-size: 0 1px !important;
}

body .hedla-header .hedla-mega-menu__expand-link {
    display: flex !important;
}

body .hedla-header .hedla-mega-menu__link:hover,
body .hedla-header .hedla-mega-menu__link:focus {
    background-size: 100% 1px !important;
}

body .hedla-header .hedla-mega-menu__expand-content .hedla-mega-menu__back-link.hedla-mega-menu__link,
body .hedla-nav-drill .hedla-nav__link {
    color: var(--hedla-charcoal) !important;
}

/* Mobile drill menu: enforce full-width underline on every item */
body .hedla-nav-drill .hedla-nav__link {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-image: linear-gradient(var(--hedla-dark-amaranth), var(--hedla-dark-amaranth)) !important;
    background-repeat: no-repeat !important;
    background-position: left calc(100% - 1px) !important;
    background-size: 0 1px !important;
    transition: color .25s ease, background-size .25s ease !important;
}

body .hedla-nav-drill .hedla-nav__link:hover,
body .hedla-nav-drill .hedla-nav__link:focus {
    background-size: 100% 1px !important;
}

body .hedla-nav-drill .hedla-nav__collapsed-list .link-unstyled {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
    background-image: linear-gradient(var(--hedla-dark-amaranth), var(--hedla-dark-amaranth)) !important;
    background-repeat: no-repeat !important;
    background-position: left calc(100% - 1px) !important;
    background-size: 0 1px !important;
    transition: color .25s ease, background-size .25s ease !important;
}

body .hedla-nav-drill .hedla-nav__collapsed-list .link-unstyled:hover,
body .hedla-nav-drill .hedla-nav__collapsed-list .link-unstyled:focus {
    background-size: 100% 1px !important;
}

/* While underline draws, hide separator only on true-hover devices (desktop) */
@media (hover: hover) and (pointer: fine) {
    body .hedla-nav-drill .hedla-nav__item {
        transition: border-bottom-color .2s ease !important;
    }

    body .hedla-nav-drill .hedla-nav__item:hover {
        border-bottom-color: transparent !important;
    }

    body .hedla-nav-drill .hedla-nav__collapsed-list li {
        transition: border-bottom-color .2s ease !important;
    }

    body .hedla-nav-drill .hedla-nav__collapsed-list li:hover {
        border-bottom-color: transparent !important;
    }
}

/* Touch/mobile: always keep gray separators visible */
@media (hover: none), (pointer: coarse) {
    body .hedla-nav-drill .hedla-nav__item,
    body .hedla-nav-drill .hedla-nav__collapsed-list li {
        border-bottom-color: #eaeaea !important;
    }
}

/* Mobile sub-menu drawer: remove extra trailing underline at drawer end */
body .hedla-nav-drill .hedla-nav__expand-content .hedla-nav__items {
    border-bottom: none !important;
}

/* Mobile menu language label: always white */
body .hedla-nav-drill .header-globe-title,
body .hedla-nav-drill .header-globe-title a,
body .hedla-nav-drill .header-globe-title a:link,
body .hedla-nav-drill .header-globe-title a:visited,
body .hedla-nav-drill .header-globe-title a:hover,
body .hedla-nav-drill .header-globe-title a:focus,
body .hedla-nav-drill #header-current-language-label {
    color: #fff !important;
}

/* Mega menu close icon in indigo */
body .hedla-header .hedla-mega-menu__close-icon {
    background-image: none !important;
    border: 1px solid var(--hedla-twilight-indigo) !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: 25px !important;
    right: 20px !important;
    width: 33px !important;
    height: 34px !important;
    display: block !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    z-index: 9999 !important;
    transform: none !important;
}

@media (min-width: 1200px) {
    body .hedla-header .hedla-mega-menu__close-icon {
        right: calc(50% - 555px) !important;
    }
}

body .hedla-header .hedla-mega-menu__close-icon::before {
    content: "";
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 12px !important;
    height: 1.5px !important;
    background-color: var(--hedla-twilight-indigo) !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
    border-radius: 2px !important;
}

body .hedla-header .hedla-mega-menu__close-icon::after {
    content: "";
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 12px !important;
    height: 1.5px !important;
    background-color: var(--hedla-twilight-indigo) !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
    border-radius: 2px !important;
}

body .hedla-header .hedla-mega-menu__close-icon:hover::before,
body .hedla-header .hedla-mega-menu__close-icon:focus::before,
body .hedla-header .hedla-mega-menu__close-icon:hover::after,
body .hedla-header .hedla-mega-menu__close-icon:focus::after {
    background-color: var(--hedla-dark-amaranth) !important;
    height: 1.8px !important;
}

/* -------------------------------------------------------------------------- */
/* Final fix: Our Partners Sustainability CTA = Farmers' Assistance CTA style */
/* -------------------------------------------------------------------------- */
body.page-template-our-partners .block-hero-text-cta__ctas,
body.page-template-our-partners-php .block-hero-text-cta__ctas {
    display: flex !important;
    justify-content: flex-end !important;
}

body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit {
    position: relative !important;
    display: inline-block !important;
    min-width: 0 !important;
    padding: 0 0 0 22px !important;
    margin: 0 !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    color: var(--hedla-white) !important;
    background-image: none !important;
    background-size: 0 0 !important;
}

body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit::before,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit::before {
    content: "\203A" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    opacity: 1 !important;
    color: var(--hedla-white) !important;
    transform: translate(-10px, -52%) !important;
    font-size: 1.12em !important;
    line-height: 1 !important;
    transition: color .22s ease, transform .22s ease !important;
}

body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit:hover,
body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit:focus,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit:hover,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit:focus {
    color: var(--hedla-sunlit-clay) !important;
    padding: 0 0 0 22px !important;
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
}

body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit:hover::before,
body.page-template-our-partners .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit:focus::before,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit:hover::before,
body.page-template-our-partners-php .block-hero-text-cta__ctas .btn.btn-primary.hedla-btn-green.visit_btn.respo-visit:focus::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(-4px, -52%) !important;
}

/* Keep heading/sub-heading spacing aligned with home banner rhythm */
body .section-header .section-header__super-title,
body .section-header__super-title,
body .dg-super-title,
body .block-multiple-pillar__preheading {
    margin-bottom: 6px !important;
}

body .section-header__text .default-block-heading,
body .section-header__text .block-title-text-cta__heading {
    margin-top: -4px !important;
}

/* Dual-tone headings should be uniform regular weight */
body .block-title-text-cta__heading.default-block-heading.dg-heading,
body .block-hero-text-cta__content__heading.default-block-heading.dg-heading,
body .block-offset-images-cta__block__header.dg-heading,
body .image-cta-only__image-wrapper-image-container-text-wrapper .default-block-heading.dg-heading {
    font-weight: 400 !important;
}

body .block-title-text-cta__heading.default-block-heading.dg-heading .light-text,
body .block-hero-text-cta__content__heading.default-block-heading.dg-heading .light-text,
body .block-offset-images-cta__block__header.dg-heading .light-text,
body .image-cta-only__image-wrapper-image-container-text-wrapper .default-block-heading.dg-heading .light-text {
    font-weight: 400 !important;
}

/* "Find out more" style CTAs should be bold */
body .hedla-header .hedla-mega-menu__intro-cta,
body .block-hero-text-cta__ctas .btn,
body .block-twocol-grid-images-text-cta__cta,
body .image-cta-only__read-button,
body .block-inline-images-text-cta__bannercta,
body .seed-capital-link {
    font-weight: 700 !important;
}

/* Grains page Rice/Millets cards: add Read more CTA treatment */
body .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore {
    position: absolute;
    left: 28px;
    bottom: 10px;
    display: inline-block;
    color: var(--hedla-white) !important;
    font-family: var(--font-raleway) !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    background: transparent !important;
    background-image: none !important;
    padding-left: 18px;
    transition: color .25s ease !important;
}

body .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hedla-white);
    font-size: 1.15em;
    line-height: 1;
    transition: color .25s ease, transform .25s ease !important;
}

body .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore:hover,
body .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore:focus,
body .wp-block-hedla-text-product-image-menu .block-what-we-do__image:hover .block-what-we-do__category-readmore {
    color: var(--hedla-sunlit-clay) !important;
    background-image: none !important;
}

body .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore:hover::before,
body .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore:focus::before,
body .wp-block-hedla-text-product-image-menu .block-what-we-do__image:hover .block-what-we-do__category-readmore::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(4px, -50%);
}

/* Non-home page hero CTA hover: keep text color, no underline, indigo background */
body:not(.home) .page-hero__title-button.btn.btn-sm.btn-primary.hedla-btn-outline-white:hover,
body:not(.home) .page-hero__title-button.btn.btn-sm.btn-primary.hedla-btn-outline-white:focus {
    background-color: var(--hedla-twilight-indigo) !important;
    border-color: var(--hedla-twilight-indigo) !important;
    color: var(--hedla-white) !important;
    text-decoration: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
    box-shadow: none !important;
}

/* Private labels hero heading */
body.page-template-private-labels .page-content__hero-title,
body.page-template-private-labels-php .page-content__hero-title {
    font-size: 28px !important;
    color: var(--hedla-twilight-indigo) !important;
}
.single-product-page__media-text{
    background: var(--hedla-twilight-indigo) !important;
}
/* Digits should use IBM Plex Serif */
body .timeline .swiper-slide .timeline-year,
body .timeline-year-m,
body .steps-block .step__heading-number,
body .sustainabilityinfographicno .no {
    font-family: "IBM Plex Serif", serif !important;
}

/* Value-chain/partners + sustainability digits in indigo */
body .steps-block .step__heading-number,
body .sustainabilityinfographicno .no {
    color: var(--hedla-sunlit-clay) !important;
}

/* Our Value Chain / Our Partners right-side image panel background */
body.page-template-our-value-chain .steps-block__right,
body.page-template-our-value-chain-php .steps-block__right,
body.page-template-our-partners .steps-block__right,
body.page-template-our-partners-php .steps-block__right,
body.page-template-our-value-chain .step-bg.steps-block__right,
body.page-template-our-value-chain-php .step-bg.steps-block__right,
body.page-template-our-partners .step-bg.steps-block__right,
body.page-template-our-partners-php .step-bg.steps-block__right {
    background: var(--hedla-isabelline-silver) !important;
    background-color: var(--hedla-isabelline-silver) !important;
}

/* Replace hard black text utilities with charcoal */
body .has-black-color,
body .blog-para-highlight,
body .sustainabilityinfographic-etgpriority h4,
body .sus_partner h5 {
    color: var(--hedla-charcoal) !important;
}

body [style*="color:#000"],
body [style*="color: #000"],
body [style*="color:black"],
body [style*="color: black"] {
    color: var(--hedla-charcoal) !important;
}

/* Final consistency sweep */
body .timeline .swiper-slide .timeline-year,
body .timeline-year-m {
    /* color: var(--hedla-twilight-indigo) !important; */
    color: var(--hedla-sunlit-clay) !important;
}

body .default-block-heading.dg-heading,
body .default-block-heading.dg-heading .light-text {
    font-weight: 400 !important;
}

body .visit_btn.respo-visit,
body .hedla__card-link,
body .hedla__card-link-2,
body .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore {
    font-weight: 700 !important;
}

body .hedla-header .hedla-mega-menu__link {
    position: relative !important;
    padding-right: 0 !important;
    background-image: none !important;
}

body .hedla-header .hedla-mega-menu__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background-color: var(--hedla-dark-amaranth);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .24s ease;
}

body .hedla-header .hedla-mega-menu__link:hover::after,
body .hedla-header .hedla-mega-menu__link:focus::after {
    transform: scaleX(1);
}

/* -------------------------------------------------------------------------- */
/* Round 3 targeted fixes */
/* -------------------------------------------------------------------------- */

/* Sustainability page timeline counters should stay white */
body.page-template-sustainability .sustainabilityinfographicno .no,
body.page-template-sustainability-php .sustainabilityinfographicno .no,
body.page-template-sustainability-2 .sustainabilityinfographicno .no,
body.page-template-sustainability-2-php .sustainabilityinfographicno .no {
    color: var(--hedla-white) !important;
}

/* CSR framework downloads: mirror Corporate Governance thin underline style */
body.page-template-sustainability-2 #CSR .csr-link,
body.page-template-sustainability-2-php #CSR .csr-link,
body.page-template-sustainability #CSR .csr-link,
body.page-template-sustainability-php #CSR .csr-link {
    display: inline-block;
    padding-bottom: 2px;
    text-decoration: none !important;
    background-image: linear-gradient(var(--hedla-dark-amaranth), var(--hedla-dark-amaranth)) !important;
    background-repeat: no-repeat !important;
    background-position: left 100% !important;
    background-size: 0 1px !important;
}

body.page-template-sustainability-2 #CSR .csr-link:hover,
body.page-template-sustainability-2 #CSR .csr-link:focus,
body.page-template-sustainability-2-php #CSR .csr-link:hover,
body.page-template-sustainability-2-php #CSR .csr-link:focus,
body.page-template-sustainability #CSR .csr-link:hover,
body.page-template-sustainability #CSR .csr-link:focus,
body.page-template-sustainability-php #CSR .csr-link:hover,
body.page-template-sustainability-php #CSR .csr-link:focus {
    text-decoration: none !important;
    color: var(--hedla-dark-amaranth) !important;
    background-size: 100% 1px !important;
}

/* Keep navbar font-size bump only in visible top navbar, not mega menu */
@media (min-width: 1440px) {
    body .hedla-header .hedla-mega-menu__link {
        font-size: 22px !important;
    }
}

body .hedla-header .hedla-mega-menu__expand .hedla-mega-menu__expand-content .hedla-mega-menu__link {
    font-size: 1.1rem !important;
}

body .hedla-header .hedla-mega-menu__expand-content .hedla-mega-menu__back-link.hedla-mega-menu__link {
    font-size: 24px !important;
}

/* Private-labels: middle text panel should be indigo */
body.page-template-private-labels .single-product-page__media-text,
body.page-template-private-labels-php .single-product-page__media-text,
body.page-template-private-labels .single-product-page__media-text p,
body.page-template-private-labels-php .single-product-page__media-text p {
    background: var(--hedla-twilight-indigo) !important;
    background-color: var(--hedla-twilight-indigo) !important;
}

/* Mobile drill menu: align submenu plus icon to the far right */
@media (max-width: 990px) {
    .hedla-nav__collapse-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px;
    }

    .hedla-nav__collapse-link-icon {
        float: none !important;
        position: static !important;
        top: auto !important;
        margin-left: auto !important;
        flex: 0 0 auto;
    }
}

/* Grains cards: keep CTA on right side (not below heading) */
@media (min-width: 768px) {
    body.page-template-grains .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore,
    body.page-template-grains-php .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore {
        left: auto !important;
        right: 28px !important;
        bottom: 34px !important;
    }
}

/* Grains page explicit wrapper targets */
@media (min-width: 768px) {
    .grains-page .block-what-we-do__category-readmore {
        left: auto !important;
        right: 28px !important;
        bottom: 34px !important;
    }
}

/* Vegetables cards (Potatoes/Onions): match Grains right-aligned CTA */
@media (min-width: 768px) {
    body.page-template-vegetables .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore,
    body.page-template-vegetables-php .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore,
    .vegetables-page .block-what-we-do__category-readmore {
        left: auto !important;
        right: 28px !important;
        bottom: 34px !important;
    }
}

/* Grains + Vegetables cards (mobile): keep CTA right-aligned like desktop */
@media (max-width: 767px) {
    body.page-template-grains .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore,
    body.page-template-grains-php .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore,
    .grains-page .block-what-we-do__category-readmore,
    body.page-template-vegetables .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore,
    body.page-template-vegetables-php .wp-block-hedla-text-product-image-menu .block-what-we-do__category-readmore,
    .vegetables-page .block-what-we-do__category-readmore {
        left: auto !important;
        right: 18px !important;
        /* bottom: 10px !important; */
        bottom: 35px !important;
        text-align: right !important;
    }
}

/* Grains + Vegetables category cards: image zoom on hover (Rice/Millets/Potatoes/Onions) */
body.page-template-grains .wp-block-hedla-text-product-image-menu .block-what-we-do__image,
body.page-template-grains-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image,
body.page-template-vegetables .wp-block-hedla-text-product-image-menu .block-what-we-do__image,
body.page-template-vegetables-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image {
    position: relative;
    overflow: hidden;
}

body.page-template-grains .wp-block-hedla-text-product-image-menu .block-what-we-do__image::after,
body.page-template-grains-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image::after,
body.page-template-vegetables .wp-block-hedla-text-product-image-menu .block-what-we-do__image::after,
body.page-template-vegetables-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
    background-repeat: inherit;
    transform: scale(1);
    transition: transform .4s ease;
}

body.page-template-grains .wp-block-hedla-text-product-image-menu .block-what-we-do__image:hover::after,
body.page-template-grains .wp-block-hedla-text-product-image-menu .block-what-we-do__image:focus::after,
body.page-template-grains-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image:hover::after,
body.page-template-grains-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image:focus::after,
body.page-template-vegetables .wp-block-hedla-text-product-image-menu .block-what-we-do__image:hover::after,
body.page-template-vegetables .wp-block-hedla-text-product-image-menu .block-what-we-do__image:focus::after,
body.page-template-vegetables-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image:hover::after,
body.page-template-vegetables-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image:focus::after {
    transform: scale(1.08);
}

body.page-template-grains .wp-block-hedla-text-product-image-menu .block-what-we-do__image .block-what-we-do__image-cat,
body.page-template-grains-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image .block-what-we-do__image-cat,
body.page-template-vegetables .wp-block-hedla-text-product-image-menu .block-what-we-do__image .block-what-we-do__image-cat,
body.page-template-vegetables-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image .block-what-we-do__image-cat {
    z-index: 1;
}

body.page-template-grains .wp-block-hedla-text-product-image-menu .block-what-we-do__image h3,
body.page-template-grains .wp-block-hedla-text-product-image-menu .block-what-we-do__image .block-what-we-do__category-readmore,
body.page-template-grains-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image h3,
body.page-template-grains-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image .block-what-we-do__category-readmore,
body.page-template-vegetables .wp-block-hedla-text-product-image-menu .block-what-we-do__image h3,
body.page-template-vegetables .wp-block-hedla-text-product-image-menu .block-what-we-do__image .block-what-we-do__category-readmore,
body.page-template-vegetables-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image h3,
body.page-template-vegetables-php .wp-block-hedla-text-product-image-menu .block-what-we-do__image .block-what-we-do__category-readmore {
    position: absolute;
    z-index: 2;
}

.grains-page .block-inline-images-text-cta__bannercta {
    position: relative !important;
    display: inline-block !important;
    padding-left: 18px !important;
    text-decoration: none !important;
    background-image: none !important;
    color: var(--hedla-white) !important;
    transition: color .25s ease !important;
}

.grains-page .block-inline-images-text-cta__bannercta::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hedla-white);
    font-size: 1.1em;
    line-height: 1;
    transition: color .25s ease, transform .25s ease;
}

.grains-page .block-inline-images-text-cta__link:hover .block-inline-images-text-cta__bannercta,
.grains-page .block-inline-images-text-cta__link:focus .block-inline-images-text-cta__bannercta {
    color: var(--hedla-sunlit-clay) !important;
}

.grains-page .block-inline-images-text-cta__link:hover .block-inline-images-text-cta__bannercta::before,
.grains-page .block-inline-images-text-cta__link:focus .block-inline-images-text-cta__bannercta::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(4px, -50%);
}

/* Grains signpost (Spices / Private Labels): natural heading wrap + Rice/Millets CTA pattern */
@media (min-width: 768px) {
    .grains-signpost .colnum-2 .block-inline-images-text-cta__content {
        max-width: 560px !important;
        width: 560px !important;
    }

    .grains-signpost .colnum-2 .block-inline-images-text-cta__bannerheading {
        width: 540px !important;
    }
}

.grains-signpost .block-inline-images-text-cta__content {
    display: flex;
    flex-direction: column;
}

.grains-signpost .block-inline-images-text-cta__bannercta {
    position: relative !important;
    align-self: flex-end !important;
    display: inline-block !important;
    padding-left: 18px !important;
    color: var(--hedla-white) !important;
    text-decoration: none !important;
    background-image: none !important;
    transition: color .25s ease !important;
}

.grains-signpost .block-inline-images-text-cta__bannercta::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hedla-white);
    font-size: 1.1em;
    line-height: 1;
    transition: color .25s ease, transform .25s ease;
}

.grains-signpost .block-inline-images-text-cta__link:hover .block-inline-images-text-cta__bannercta,
.grains-signpost .block-inline-images-text-cta__link:focus .block-inline-images-text-cta__bannercta {
    color: var(--hedla-sunlit-clay) !important;
}

.grains-signpost .block-inline-images-text-cta__link:hover .block-inline-images-text-cta__bannercta::before,
.grains-signpost .block-inline-images-text-cta__link:focus .block-inline-images-text-cta__bannercta::before {
    color: var(--hedla-sunlit-clay) !important;
    transform: translate(4px, -50%);
}

/* Grains page left sidebar menu size */
.page-template-rice .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-rice .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-rice .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-rice-php .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-rice-php .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-rice-php .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-private-labels .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-private-labels .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-private-labels .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-private-labels-php .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-private-labels-php .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-private-labels-php .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-millets .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-millets .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-millets .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-millets-php .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-millets-php .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-millets-php .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-spices .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-spices .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-spices .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-spices-php .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-spices-php .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-spices-php .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-vegetables .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-vegetables .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-vegetables .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-vegetables-php .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-vegetables-php .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-vegetables-php .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-potatoes .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-potatoes .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-potatoes .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-potatoes-php .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-potatoes-php .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-potatoes-php .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-onions .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-onions .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-onions .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.page-template-onions-php .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.page-template-onions-php .block-what-we-do__sidebar .block-product-category__products > li > a,
.page-template-onions-php .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.grains-page .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.grains-page .block-what-we-do__sidebar .block-product-category__products > li > a,
.grains-page .block-what-we-do__sidebar .block-product-category__products-sub > li > a {
    font-size: 18px !important;
    line-height: 1.25 !important;
}

/* What-we-do sidebars: keep sidebar link size consistent with Grains across product pages */
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products > li > a,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products li a,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products-sub li a {
    font-size: 18px !important;
    line-height: 1.25 !important;
}

/* Product sidebars: keep underline thin (1px) across all related pages */
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products > li > a,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products-sub > li > a,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products li a,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products-sub li a {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background-image: linear-gradient(var(--hedla-dark-amaranth), var(--hedla-dark-amaranth)) !important;
    background-repeat: no-repeat !important;
    background-position: left 100% !important;
    background-size: 0 1px !important;
}

.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a:hover,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-what-we-do__list-categories > li > a:focus,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products > li > a:hover,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products > li > a:focus,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products-sub > li > a:hover,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .block-product-category__products-sub > li > a:focus,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .is-open > a,
.wp-block-hedla-text-product-image-menu .block-what-we-do__sidebar .is-open-dropdown > a {
    background-size: 100% 1px !important;
}

/* Our Story timeline: stronger black overlay for readability */
body.page-template-our-story .timeline .swiper-slide::after,
body.page-template-our-story-php .timeline .swiper-slide::after {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Our Story mobile timeline year labels should match active year font */
body.page-template-our-story .multiple-pillars-platform .block-multiple-pillars__mobile .block-multiple-pillar__toggle__text,
body.page-template-our-story-php .multiple-pillars-platform .block-multiple-pillars__mobile .block-multiple-pillar__toggle__text {
    font-family: "IBM Plex Serif", serif !important;
    font-weight: 600 !important;
}

/* -------------------------------------------------------------------------- */
/* Round 4 targeted fixes */
/* -------------------------------------------------------------------------- */

/* Corporate Governance: expanded accordion headings must be indigo */
body.page-template-corporate-governance .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading:not(.collapsed),
body.page-template-corporate-governance-php .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading:not(.collapsed),
body.page-template-corporate-governance .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading[aria-expanded="true"],
body.page-template-corporate-governance-php .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading[aria-expanded="true"],
body.page-template-corporate-governance .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading:not(.collapsed) span,
body.page-template-corporate-governance-php .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading:not(.collapsed) span,
body.page-template-corporate-governance .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading[aria-expanded="true"] span,
body.page-template-corporate-governance-php .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading[aria-expanded="true"] span,
body.page-template-corporate-governance .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading:not(.collapsed) .hedla-icon,
body.page-template-corporate-governance-php .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading:not(.collapsed) .hedla-icon,
body.page-template-corporate-governance .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading[aria-expanded="true"] .hedla-icon,
body.page-template-corporate-governance-php .wp-block-hedla-multi-tab-menu-images__tabs-accordions .accordion-heading[aria-expanded="true"] .hedla-icon {
    color: var(--hedla-twilight-indigo) !important;
}

/* Seed Capital Fund - Recommended sidebar hover behavior */
.blocks-image-text-recommended-panel .block-recommended-content__main__wrapper .seed-capital-link {
    color: var(--hedla-twilight-indigo) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background-image: linear-gradient(var(--hedla-dark-amaranth), var(--hedla-dark-amaranth)) !important;
    background-repeat: no-repeat !important;
    background-position: left 100% !important;
    background-size: 0 1.5px !important;
}

.blocks-image-text-recommended-panel .block-recommended-content__main__wrapper .seed-capital-link:hover,
.blocks-image-text-recommended-panel .block-recommended-content__main__wrapper .seed-capital-link:focus {
    color: var(--hedla-dark-amaranth) !important;
    text-decoration: none !important;
    background-size: 100% 1.5px !important;
}

.blocks-image-text-recommended-panel .block-recommended-content__main__item h4 > a:hover,
.blocks-image-text-recommended-panel .block-recommended-content__main__item h4 > a:focus {
    color: var(--hedla-twilight-indigo) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
}

.blocks-image-text-recommended-panel .block-recommended-content__main__item h4 > a {
    text-decoration: none !important;
    background-image: none !important;
    background-size: 0 0 !important;
}

/* Thumbnail image links: no hover underline/disappear behavior */
.blocks-image-text-recommended-panel .block-recommended-content__main__item figure a.block-recommended-content__main__item__image {
    text-decoration: none !important;
    background-size: cover !important;
    background-position: 50% 50% !important;
    background-repeat: no-repeat !important;
}

.blocks-image-text-recommended-panel .block-recommended-content__main__item figure a.block-recommended-content__main__item__image:hover,
.blocks-image-text-recommended-panel .block-recommended-content__main__item figure a.block-recommended-content__main__item__image:focus {
    color: inherit !important;
    text-decoration: none !important;
    background-size: cover !important;
    background-position: 50% 50% !important;
    background-repeat: no-repeat !important;
    box-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

/* Contact Us form copy color fix: keep paragraph text charcoal */
body.page-template-contact-us .contact-us__section-title_description p,
body.page-template-contact-us-php .contact-us__section-title_description p,
body.page-template-contact-us .contact-us__section-title_description-1 p,
body.page-template-contact-us-php .contact-us__section-title_description-1 p,
.contact-us.hedlajs-contact-form-wrapper .contact-us__section-title_description p,
.contact-us.hedlajs-contact-form-wrapper .contact-us__section-title_description-1 p,
body.page-template-contact-us .contact-us__form p,
body.page-template-contact-us-php .contact-us__form p,
.contact-us.hedlajs-contact-form-wrapper .contact-us__form p {
    color: var(--hedla-charcoal) !important;
    opacity: 1 !important;
}

/* -------------------------------------------------------------------------- */
/* Our Partners + Our Value Chain: strict typography lock */
/* -------------------------------------------------------------------------- */
body.page-template-our-value-chain :is(.page-hero, .block-columns-text-cta, .steps-block, .block-hero-text-cta, .is-layout-flow.wp-block-column) :is(h1, h2, h3, h4, h5, h6, .default-block-heading, .block-title-text-cta__heading, .step__heading-title, .step__person-name, .step__person-info),
body.page-template-our-value-chain-php :is(.page-hero, .block-columns-text-cta, .steps-block, .block-hero-text-cta, .is-layout-flow.wp-block-column) :is(h1, h2, h3, h4, h5, h6, .default-block-heading, .block-title-text-cta__heading, .step__heading-title, .step__person-name, .step__person-info),
body.page-template-our-partners :is(.page-hero, .block-columns-text-cta, .steps-block, .block-hero-text-cta, .is-layout-flow.wp-block-column) :is(h1, h2, h3, h4, h5, h6, .default-block-heading, .block-title-text-cta__heading, .step__heading-title, .step__person-name, .step__person-info),
body.page-template-our-partners-php :is(.page-hero, .block-columns-text-cta, .steps-block, .block-hero-text-cta, .is-layout-flow.wp-block-column) :is(h1, h2, h3, h4, h5, h6, .default-block-heading, .block-title-text-cta__heading, .step__heading-title, .step__person-name, .step__person-info) {
    font-family: "Libre Baskerville", serif !important;
}

body.page-template-our-value-chain :is(.page-hero, .block-columns-text-cta, .steps-block, .block-hero-text-cta, .is-layout-flow.wp-block-column) :is(p, .step__copy, .step__copy p, .section-header p, .block-hero-text-cta__content__copy, .believe),
body.page-template-our-value-chain-php :is(.page-hero, .block-columns-text-cta, .steps-block, .block-hero-text-cta, .is-layout-flow.wp-block-column) :is(p, .step__copy, .step__copy p, .section-header p, .block-hero-text-cta__content__copy, .believe),
body.page-template-our-partners :is(.page-hero, .block-columns-text-cta, .steps-block, .block-hero-text-cta, .is-layout-flow.wp-block-column) :is(p, .step__copy, .step__copy p, .section-header p, .block-hero-text-cta__content__copy, .believe),
body.page-template-our-partners-php :is(.page-hero, .block-columns-text-cta, .steps-block, .block-hero-text-cta, .is-layout-flow.wp-block-column) :is(p, .step__copy, .step__copy p, .section-header p, .block-hero-text-cta__content__copy, .believe) {
    font-family: "Lora", serif !important;
}

body.page-template-our-value-chain :is(.steps-block .step__heading-number, .sustainabilityinfographicno .no),
body.page-template-our-value-chain-php :is(.steps-block .step__heading-number, .sustainabilityinfographicno .no),
body.page-template-our-partners :is(.steps-block .step__heading-number, .sustainabilityinfographicno .no),
body.page-template-our-partners-php :is(.steps-block .step__heading-number, .sustainabilityinfographicno .no) {
    font-family: "IBM Plex Serif", serif !important;
}

/* -------------------------------------------------------------------------- */
/* Mobile menu strict fixes */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    /* Remove container-level trailing line under drill lists */
    body .hedla-nav-drill .hedla-nav__items {
        border-bottom: 0 !important;
    }

    /* Remove trailing separator at the end of sub-menu drawers */
    body .hedla-nav-drill .hedla-nav__items.hedla-nav__expand-content {
        border-bottom: 0 !important;
    }

    body .hedla-nav-drill .hedla-nav__items.hedla-nav__expand-content .hedla-nav__item:last-child {
        border-bottom: 0 !important;
    }

    /* Keep language label white in mobile menu on all pages/states */
    body #hedla-nav-drill--standard .header-globe-title,
    body #hedla-nav-drill--standard .header-globe-title a,
    body #hedla-nav-drill--standard .header-globe-title a:link,
    body #hedla-nav-drill--standard .header-globe-title a:visited,
    body #hedla-nav-drill--standard .header-globe-title a:hover,
    body #hedla-nav-drill--standard .header-globe-title a:focus,
    body #hedla-nav-drill--standard #header-current-language-label,
    body #hedla-nav-drill--standard #header-current-language-label *,
    body #hedla-nav-drill--standard .header-globe-title font,
    body #hedla-nav-drill--standard .header-globe-title span {
        color: #fff !important;
    }
}

/* Mobile tap state: never show custom underline + grey separator together */
@media (max-width: 992px) and (hover: none), (max-width: 992px) and (pointer: coarse) {
    body .hedla-nav-drill .hedla-nav__item:has(> .hedla-nav__link:hover),
    body .hedla-nav-drill .hedla-nav__item:has(> .hedla-nav__link:focus),
    body .hedla-nav-drill .hedla-nav__item:has(> .hedla-nav__link:active) {
        border-bottom-color: transparent !important;
    }

    body .hedla-nav-drill .hedla-nav__collapsed-list li:hover,
    body .hedla-nav-drill .hedla-nav__collapsed-list li:focus,
    body .hedla-nav-drill .hedla-nav__collapsed-list li:active {
        border-bottom-color: transparent !important;
    }
}

/* Mobile submenu toggles: keep plus icon right-aligned and avoid double underline */
@media (max-width: 992px) {
    body .hedla-nav-drill .hedla-nav__link.hedla-nav__collapse-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    body .hedla-nav-drill .hedla-nav__link.hedla-nav__collapse-link .hedla-nav__collapse-link-icon {
        float: none !important;
        position: static !important;
        top: auto !important;
        margin-left: auto !important;
        flex: 0 0 auto !important;
    }

    body .hedla-nav-drill .hedla-nav__item.hedla-nav__collapse:has(> .hedla-nav__collapse-link:hover),
    body .hedla-nav-drill .hedla-nav__item.hedla-nav__collapse:has(> .hedla-nav__collapse-link:focus),
    body .hedla-nav-drill .hedla-nav__item.hedla-nav__collapse:has(> .hedla-nav__collapse-link:active),
    body .hedla-nav-drill .hedla-nav__item.hedla-nav__collapse:has(> .hedla-nav__collapse-link[aria-expanded="true"]) {
        border-bottom-color: transparent !important;
    }
}

/* Mobile sequencing: hide gray separator first, then draw underline */
@media (max-width: 992px) and (hover: none), (max-width: 992px) and (pointer: coarse) {
    body .hedla-nav-drill .hedla-nav__item {
        transition: border-bottom-color .08s ease !important;
    }

    body .hedla-nav-drill .hedla-nav__link {
        transition: color .2s ease, background-size .18s ease !important;
    }

    body .hedla-nav-drill .hedla-nav__link:hover,
    body .hedla-nav-drill .hedla-nav__link:focus,
    body .hedla-nav-drill .hedla-nav__link:active {
        transition-delay: .08s !important;
    }

    body .hedla-nav-drill .hedla-nav__item:has(> .hedla-nav__link:hover),
    body .hedla-nav-drill .hedla-nav__item:has(> .hedla-nav__link:focus),
    body .hedla-nav-drill .hedla-nav__item:has(> .hedla-nav__link:active) {
        border-bottom-color: transparent !important;
    }

    body .hedla-nav-drill .hedla-nav__link:not(:hover):not(:focus):not(:active) {
        background-size: 0 1px !important;
    }

    /* Back row should not animate underline when returning from sub-menu */
    body .hedla-nav-drill .hedla-nav__back-link.hedla-nav__link {
        background-image: none !important;
        background-size: 0 0 !important;
        transition: none !important;
    }
}

/* Footer arrows: enforce sunlit-clay across all pages */
body .block-get-in-touch .btn.btn-primary::before,
body .block-get-in-touch .btn.btn-primary.hedla-btn-green::before,
body .bro_download_btn svg path,
body .footer__bar .back-to-top .footer_icon path {
    color: var(--hedla-sunlit-clay) !important;
    fill: var(--hedla-sunlit-clay) !important;
}
