/*
 * WCAG 2.1 AA contrast. The theme's teal #009ca6 is 3.3:1 against white; #00777e (already used by the
 * subscription panel) is 5.3:1. Grey bylines #a0a0a0 are 2.6:1 on white; #6b6b6b is 5.3:1.
 */

/* Header Subscribe button. 2MM Subscribe Header sets #009ca6 with !important, so this must outrank it. */
html body .jeg_button_1 > a.btn,
html body .jeg_button_mobile > a.btn,
html body .jeg_button_1 > a.btn:is(:link, :visited, :focus, :focus-visible, :active),
html body .jeg_button_mobile > a.btn:is(:link, :visited, :focus, :focus-visible, :active) {
	background: #00777e !important;
	border-color: #00777e !important;
}
html body .jeg_button_1 > a.btn:hover,
html body .jeg_button_mobile > a.btn:hover {
	background: #005f65 !important;
	border-color: #005f65 !important;
}

/* Section headings with white text on a teal label (heading style 1). */
.jeg_block_heading_1 .jeg_block_title span {
	background-color: #00777e;
}

/* Checkout Sign-up button. */
.woocommerce #payment #place_order {
	background-color: #00777e;
}
.woocommerce #payment #place_order:hover {
	background-color: #005f65;
}

/* Sidebar membership card (custom HTML widget): it colours itself from these variables. */
section.tmm-side-price {
	--tmm-blue: #00777e;
	--tmm-light-muted: #ffffff;
	--tmm-aqua-light: #ffffff;
}

/* Bylines, dates, reading time, breadcrumbs and next/previous captions on white.
   The theme forces author links to inherit, so the single-post colour is set on the container. */
.jeg_postblock_content > .jeg_post_meta,
.jeg_postblock_content > .jeg_post_meta a,
.jeg_postblock_content > .jeg_post_meta .meta_text,
.entry-header .jeg_post_meta.jeg_post_meta_1,
.jeg_post_meta_1 .meta_left a,
.jeg_post_meta_1 .meta_left .meta_text,
.jeg_post_meta_1 .jeg_meta_reading_time span,
html #breadcrumbs .breadcrumb_last_link a,
.jnews_prev_next_container .caption {
	color: #6b6b6b;
}

.woocommerce-info a.showlogin,
.woocommerce-info a.showcoupon,
.woocommerce-privacy-policy-text a,
.content-inner p a:not([class]),
.content-inner li a:not([class]) {
	color: #00777e;
}

/* Links inside running text must not rely on colour alone. */
.woocommerce-privacy-policy-text a,
.content-inner p a:not([class]),
.content-inner li a:not([class]) {
	text-decoration: underline;
}
