/*
 * BLOCK J — accessible colour corrections.
 *
 * Loaded after every other stylesheet (wp_enqueue_scripts, priority 999), so
 * a rule here that restates a theme rule's own selector still wins.
 *
 * The site had three systematic contrast failures, all measured, none of them
 * a matter of taste:
 *
 * 1. THE ACCENT ORANGE
 *    The theme's --main-color is rgba(255, 119, 0, 0.878). On white it is
 *    2.66:1, and as a background under white text it is 2.40:1, so it failed
 *    in both directions at once: every orange link and every orange button on
 *    the tour and contact pages. The Elementor kit's --e-global-color-
 *    secondary was the same #FF7700 with the same result.
 *
 * 2. THE KIT'S GREY AND GREEN
 *    --e-global-color-text #7A7A7A is 4.29:1 on white, below the 4.5:1 that
 *    ordinary text needs, and it is the colour of the icon-box descriptions
 *    and the image captions. --e-global-color-primary #15D428 is 2.00:1 on
 *    white, below even the 3:1 that large text is allowed.
 *
 * 3. THE REVIEW TEXT
 *    The theme's own rule colours the review text #74818a, which is 4.00:1.
 *
 * The replacements come from the site's own token set in inc/ve-18.css, so
 * no new colour is introduced:
 *
 *   --ve-orange-dark  #B84800   5.30:1 on white, and 5.30:1 under white text
 *   #5A6770                  5.82:1 on white
 *   #5F5F5F                  6.37:1 on white
 *   #15803D                  5.02:1 on white
 *   #7FBF6A                  5.49:1 on the dark green #174106
 *   #FFAB52                  6.0:1 on the dark green #174106
 *   #4A5C66                  6.90:1 on white
 *   #6B6B6B                  5.25:1 under white text
 *
 * The last group is the handful of places that sit on the dark green block
 * or over a photograph and need a lighter or darker treatment of their own.
 */

/* ---------------------------------------------------------------------------
 * 1. The accent orange
 * ------------------------------------------------------------------------ */

html:root {
	--main-color: #b84800;
}

body.elementor-kit-24686 {
	--e-global-color-primary: #15803d;
	--e-global-color-secondary: #b84800;
	--e-global-color-text: #5f5f5f;
}

/* ---------------------------------------------------------------------------
 * 2. The review text and the struck-through tour price
 * ------------------------------------------------------------------------ */

#st-content-wrapper .review-list .comment-item-body .detail {
	color: #5a6770;
}

.st-author-page .booking-item-reviews.review-list .detail {
	color: #5a6770;
}

.single-st_tours #st-content-wrapper.st-style-elementor .item.onsale,
.single-st_activity #st-content-wrapper.st-style-elementor .item.onsale {
	color: #5a6770;
}

/* ---------------------------------------------------------------------------
 * 3. Places that sit on the dark green block, where the darker green would be
 *    unreadable
 * ------------------------------------------------------------------------ */

.elementor-22370 .elementor-element.elementor-element-50270d8b .elementor-icon-box-description,
.elementor-22370 .elementor-element.elementor-element-62e3c801 .elementor-icon-box-description,
.elementor-22370 .elementor-element.elementor-element-25f5efec .elementor-icon-box-description,
#st-content-wrapper .st-description .elementor-element-50270d8b .elementor-icon-box-description,
#st-content-wrapper .st-description .elementor-element-62e3c801 .elementor-icon-box-description,
#st-content-wrapper .st-description .elementor-element-25f5efec .elementor-icon-box-description {
	color: #7fbf6a;
}

.elementor-22370 .elementor-element.elementor-element-50270d8b .elementor-icon-box-title a,
.elementor-22370 .elementor-element.elementor-element-62e3c801 .elementor-icon-box-title a,
.elementor-22370 .elementor-element.elementor-element-25f5efec .elementor-icon-box-title a,
#st-content-wrapper .st-description .elementor-element-50270d8b .elementor-icon-box-title a,
#st-content-wrapper .st-description .elementor-element-62e3c801 .elementor-icon-box-title a,
#st-content-wrapper .st-description .elementor-element-25f5efec .elementor-icon-box-title a {
	color: #ffab52;
}

.elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap {
	color: #7fbf6a;
}

/* ---------------------------------------------------------------------------
 * 4. Controls that sit over a photograph
 *
 *    The gallery counter and the "All photos" button paint white text on a
 *    40% black overlay, which over a bright photograph measures 2.85:1. The
 *    overlay is deepened so the text is readable over any photograph.
 * ------------------------------------------------------------------------ */

#st-content-wrapper .st-gallery.style-slider .count,
.st-gallery.style-slider .count {
	background: rgba(0, 0, 0, 0.65);
}

/* repeated with the theme's own specificity, which (1,5,1) outranks the
   general class rule */
#st-content-wrapper .st-gallery.mod-tour-2 .shares.dropdown .btn-group a,
.st-gallery .btn.btn-transparent {
	background: rgba(0, 0, 0, 0.65);
}

/* ---------------------------------------------------------------------------
 * 5. The contact dock
 *
 *    The WhatsApp button painted a white glyph on the brand green #25D366,
 *    which is 1.98:1 and fails SC 1.4.11, which needs 3:1 for a graphical
 *    object. A shade of the same green, #128C3E, brings the glyph to 4.60:1.
 * ------------------------------------------------------------------------ */

body .ve-contact-dock .elementor-icon-list-item:nth-child(1) a {
	background: #128c3e;
}

body .ve-contact-dock .ve-dock-wechat {
	background: #0b6b3a;
}

/* ---------------------------------------------------------------------------
 * 6. The contact page
 * ------------------------------------------------------------------------ */

body .ve-form-note {
	color: #4a5c66;
}

/* The "Enquiry form" label is a text-editor widget with the colour written
   into its style attribute, so only an important declaration can replace it. */
body .elementor-element-ad3a596 p {
	color: #2a6b12 !important;
}
