/*
 * Final palette contract for hero accent words.
 *
 * The hero has legacy restoration layers with !important text-fill rules.
 * Keep this cache-busted layer last and bind every supported palette directly
 * so a stale legacy declaration cannot leave the accent word red.
 */

html[data-palette] body .copp-hero__copy h1 span,
html[data-palette] body .copp-news-hero__title span,
html[data-palette] body .copp-gallery-hero__title span,
html[data-palette] body .copp-knowledge-hero__title span {
    color: var(--copp-red) !important;
    -webkit-text-fill-color: var(--copp-red) !important;
}

html[data-palette="1"] body :is(.copp-hero__copy h1 span, .copp-news-hero__title span, .copp-gallery-hero__title span, .copp-knowledge-hero__title span) {
    color: #775b45 !important;
    -webkit-text-fill-color: #775b45 !important;
}

html[data-palette="2"] body :is(.copp-hero__copy h1 span, .copp-news-hero__title span, .copp-gallery-hero__title span, .copp-knowledge-hero__title span) {
    color: #4a5a6a !important;
    -webkit-text-fill-color: #4a5a6a !important;
}

html[data-palette="3"] body :is(.copp-hero__copy h1 span, .copp-news-hero__title span, .copp-gallery-hero__title span, .copp-knowledge-hero__title span) {
    color: #0056d6 !important;
    -webkit-text-fill-color: #0056d6 !important;
}

html[data-palette="4"] body :is(.copp-hero__copy h1 span, .copp-news-hero__title span, .copp-gallery-hero__title span, .copp-knowledge-hero__title span) {
    color: #b73824 !important;
    -webkit-text-fill-color: #b73824 !important;
}

html[data-palette="5"] body :is(.copp-hero__copy h1 span, .copp-news-hero__title span, .copp-gallery-hero__title span, .copp-knowledge-hero__title span) {
    color: #006a9e !important;
    -webkit-text-fill-color: #006a9e !important;
}

html[data-palette="6"] body :is(.copp-hero__copy h1 span, .copp-news-hero__title span, .copp-gallery-hero__title span, .copp-knowledge-hero__title span) {
    color: #477515 !important;
    -webkit-text-fill-color: #477515 !important;
}

html[data-palette="7"] body :is(.copp-hero__copy h1 span, .copp-news-hero__title span, .copp-gallery-hero__title span, .copp-knowledge-hero__title span) {
    color: #b51219 !important;
    -webkit-text-fill-color: #b51219 !important;
}

html[data-palette="8"] body :is(.copp-hero__copy h1 span, .copp-news-hero__title span, .copp-gallery-hero__title span, .copp-knowledge-hero__title span) {
    color: #a35b00 !important;
    -webkit-text-fill-color: #a35b00 !important;
}

html[data-palette="9"] body :is(.copp-hero__copy h1 span, .copp-news-hero__title span, .copp-gallery-hero__title span, .copp-knowledge-hero__title span) {
    color: #006f78 !important;
    -webkit-text-fill-color: #006f78 !important;
}

html[data-palette="10"] body :is(.copp-hero__copy h1 span, .copp-news-hero__title span, .copp-gallery-hero__title span, .copp-knowledge-hero__title span) {
    color: #3654c8 !important;
    -webkit-text-fill-color: #3654c8 !important;
}
