/* ==========================================================================
   HESP — blue headings (loaded late to override page styles)
   ========================================================================== */

/* --- Homepage --- */
.hesp-section-title:not(.hesp-section-title--light),
.hesp-feature-card__title,
.hesp-service-card__title,
.hesp-service-card__title a,
.hesp-homepage .hesp-blog-card__title,
.hesp-homepage .hesp-blog-card__title a,
.hesp-homepage .hesp-shop .hesp-shop__combined-heading {
	color: var(--hesp-heading-color, #1264AA);
}

.hesp-service-card__title a:hover,
.hesp-homepage .hesp-blog-card__title a:hover {
	color: var(--hesp-heading-color-hover, #2E97DD);
}

.hesp-partners .hesp-section-title,
.hesp-partners .hesp-section-intro {
	color: #1b1f26;
}

.hesp-service-card__image:hover + .hesp-service-card__body .hesp-service-card__title a,
.hesp-service-card__image:focus-visible + .hesp-service-card__body .hesp-service-card__title a {
	color: var(--hesp-heading-color-hover, #2E97DD);
}

/* --- Product cards --- */
.hesp-product-card__name a {
	color: var(--hesp-navy, #082e4e);
}

.hesp-product-card__name a:hover {
	color: var(--hesp-heading-color, #1264AA);
}

/* --- About --- */
.hesp-about-section-title,
.hesp-about-team-card__name {
	color: var(--hesp-heading-color, #1264AA);
}

.hesp-about-trust__title,
.hesp-about-trust-card__title {
	color: #ffffff;
}

/* --- Shop / filters --- */
.hesp-shop-category-description h2,
.hesp-shop-category-description h3,
.hesp-shop-category-description h4,
.hesp-shop-filter-group__title {
	color: var(--hesp-heading-color, #1264AA);
}

/* --- Blog --- */
.hesp-blog-card__title,
.hesp-blog-card__title a,
.hesp-blog-single-related__title,
.hesp-blog-single-nav__title,
.hesp-blog-prose h2,
.hesp-blog-prose h3,
.hesp-blog-prose h4 {
	color: var(--hesp-heading-color, #1264AA);
}

.hesp-blog-card__title a:hover {
	color: var(--hesp-heading-color-hover, #2E97DD);
}

/* --- Product page --- */
.hesp-product-info__title,
.hesp-product-warranty__title,
.hesp-product-details__title,
.hesp-product-realizations__title,
.hesp-product-cross-sell__title,
.hesp-product-empty__title,
.hesp-product-details__content h2,
.hesp-product-details__content h3 {
	color: var(--hesp-heading-color, #1264AA);
}

/* --- Cart --- */
.hesp-cart-items__title,
.hesp-cart-row__name,
.hesp-cart-row__name a {
	color: var(--hesp-heading-color, #1264AA);
}

.hesp-cart-row__name a:hover {
	color: var(--hesp-heading-color-hover, #2E97DD);
}

/* --- Account --- */
.hesp-account-card__title,
.hesp-account-auth-panel__title,
.hesp-account-dashboard__content h2,
.hesp-account-dashboard__content h3 {
	color: var(--hesp-heading-color, #1264AA);
}

/* --- Checkout --- */
.hesp-checkout-card__title,
.hesp-checkout-summary__title,
.hesp-checkout-option__title,
.hesp-checkout-success__title {
	color: var(--hesp-heading-color, #1264AA);
}

/* --- Contact --- */
.hesp-contact-form-title {
	color: var(--hesp-heading-color, #1264AA) !important;
}

.hesp-contact-details__value a {
	color: var(--hesp-heading-color, #1264AA) !important;
}

.hesp-contact-details__value a:hover {
	color: var(--hesp-heading-color-hover, #2E97DD) !important;
}

.hesp-contact-coverage__title {
	color: var(--hesp-heading-color, #1264AA);
}

/* --- Legal --- */
.hesp-legal-prose h2,
.hesp-legal-prose h3,
.hesp-legal-prose h4 {
	color: var(--hesp-heading-color, #1264AA);
}

/* --- Catalog --- */
.hesp-catalog-content .kt-tabs-title-text,
.hesp-catalog-content h2,
.hesp-catalog-content h3,
.hesp-catalog-content h4 {
	color: var(--hesp-heading-color, #1264AA);
}

/* --- 404 --- */
.hesp-404-search__title,
.hesp-404-links__title {
	color: var(--hesp-heading-color, #1264AA);
}

/* --- Services plugin --- */
.hesp-service-archive-card__title,
.hesp-service-archive-card__title a,
.hesp-service-related__title,
.hesp-service-single__content h2 {
	color: var(--hesp-heading-color, #1264AA);
}

.hesp-service-archive-card__title a:hover {
	color: var(--hesp-heading-color-hover, #2E97DD);
}

/* --- Cart drawer --- */
.hesp-cart-drawer__title,
.hesp-cart-item__name {
	color: var(--hesp-heading-color, #1264AA);
}

/* --- Heroes / dark surfaces: never force brand-blue on light text (2.5) --- */
.hesp-page-hero .hesp-section-title,
.hesp-page-hero .hesp-section-title:not(.hesp-section-title--light),
.hesp-page-hero .hesp-page-hero__title,
.hesp-page-hero h1,
.hesp-page-hero h2,
.hesp-section-title--light,
.hesp-hero__title,
.hesp-about-hero__title,
.hesp-about-cta__title,
.hesp-blog-hero__title,
.hesp-catalog-hero__title,
.hesp-legal-hero__title,
.hesp-404-hero__title {
	color: var(--hesp-text-on-dark, #ffffff);
}
