/* Ayala Geo — WCAG AA contrast corrections. Load after the site's stylesheet. */
:root {
    --eq-readable-teal: #007181;
    --eq-readable-grey: #707070;
}

.top_sec .desk_cat_nomenu:not(:hover),
.top_sec .desk_cat_link:not(:hover):not(.w--open) {
    color: var(--eq-readable-grey);
}

.article_add {
    background-color: var(--eq-readable-grey);
}

.article_add:hover,
.article_add:focus-visible,
.top_sec .top_tel,
.top_sec .top_tel_mob,
.contact_fix .contact_fix_toggle,
.button_submit,
.add_pdf_button,
.tour_menu_link.blue,
.tour_menu_link.blue:hover,
.form_button.footer:hover {
    background-color: var(--eq-readable-teal);
}

.top_sec .top_tel:hover,
.top_sec .top_tel_mob:hover,
.button_submit:hover,
.add_pdf_button:hover {
    background-color: #005460;
}

.article_autor,
.org_land_title,
.route_day_txt,
.shedula_item_link,
.lectures_item_link,
.cookies_link,
.check_label_link:not(.fix),
.tour_menu_link:not(.blue),
.txt_field.footer,
.txt_field.main_search {
    color: var(--eq-readable-teal);
}

.cookies_link,
.check_label_link:not(.fix),
.shedula_item_link,
.lectures_item_link {
    text-decoration: underline;
}

.cookies_link:hover,
.check_label_link:not(.fix):hover,
.shedula_item_link:hover,
.lectures_item_link:hover {
    color: #005460;
    text-decoration: underline;
}

.txt_field.footer::placeholder,
.txt_field.main_search::placeholder,
.contact_fix_field::placeholder,
.reg_txt_field::placeholder {
    color: var(--eq-readable-teal);
    opacity: 1;
}

.txt_field.footer,
.txt_field.main_search,
.txt_field.footer:focus,
.txt_field.main_search:focus,
.reg_txt_field,
.reg_txt_field:focus,
.reg_check_box:not(.w--redirected-checked),
.check_button:not(.w--redirected-checked) {
    border-color: var(--eq-readable-teal);
}

.reg_check_box.footer.w--redirected-checked {
    background-color: var(--eq-readable-teal);
    border-color: var(--eq-readable-teal);
}

.tours_info_link,
.tours_info_link:hover {
    background-color: var(--eq-readable-teal);
}

.hl_title_group {
    opacity: 1;
}

.hl_info_title {
    color: #e5e5e5;
}

.add_hl_txt {
    color: #ffcf91;
}

/* Stabilize contrast over changing destination photographs. */
.main_hl_link > :is(.hl_title, .hl_subtitle, div),
.tours_hl_name > .tours_hl_title {
    background-color: rgb(0 0 0 / 70%);
}

/* Campaign copy uses an inline white foreground. Give the copy a darker surface. */
#ZA_CAMP_IN_PAGE_TITLE_3_CID_100904 .za-direction-rtl,
#ZA_CAMP_IN_PAGE_BUTTON_1_CID_107554 .za-align-center {
    background-color: var(--eq-readable-teal) !important;
}

.contact_fix .contact_fix_list {
    background-color: var(--eq-readable-teal);
}

.contact_fix_list .check_label_link.fix,
.contact_fix_list .check_label_link.fix:hover {
    color: #fff;
    text-decoration: underline;
}

#contactFRmcountrySel:has(option[value=""]:checked) {
    color: #505050 !important;
}


/* Keep hover states readable when the original site swaps to a lighter accent. */
.breadcrumb_link:hover,
.breadcrumb_link:focus-visible {
    color: var(--eq-readable-teal);
    text-decoration: underline;
}

.main_search_but:hover,
.shedule_info_button:not(.waiting):not(.end):hover {
    background-color: var(--eq-readable-teal);
}

.shedule_info_button.waiting:hover {
    color: #076839;
    border-color: #076839;
    background-image: url('/images/ar_left_green.svg');
}

/* White icons need a stable surface over photos and moving video. */
.gallery_icon,
.main_video_sec .main_soc_block .soc_link,
.sound_on,
.sound_off {
    background-color: rgb(0 0 0 / 70%);
}

.sound_on,
.sound_off {
    opacity: 1;
}

.slider_nav_arrow:not(.disabled):not([aria-disabled="true"]) {
    background-color: var(--eq-readable-teal);
}

.slider_nav_arrow:not(.disabled):not([aria-disabled="true"]):hover {
    background-color: #005460;
}

.tour_menu_link:not(.blue) .tour_menu_ic {
    filter: brightness(.65);
}

.hl_info_gr .status_icon[src$="/ic_stat_fly_1.svg"] {
    filter: brightness(1.45);
}

/* Two tones keep keyboard focus visible on light, dark and photographic surfaces. */
body :is(a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [tabindex]):focus-visible,
body .txt_field.main_search:focus-visible,
body label.w-checkbox:has(input:focus-visible) :is(.check_button, .reg_check_box) {
    outline: 3px solid #111;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #fff;
}

@media (forced-colors: active) {
    body :is(a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [tabindex]):focus-visible,
    body .txt_field.main_search:focus-visible,
    body label.w-checkbox:has(input:focus-visible) :is(.check_button, .reg_check_box) {
        outline-color: Highlight;
    }
}


/* Additional lecture links, required markers and content colors. */
.lecture_hl_link,
.reg_info_link.lect {
    color: var(--eq-readable-teal);
}

.form_star:not(.no) {
    color: #b00020;
}

:is(.content_block.tour, .hotels_content_block) span[style*="color: red;" i] {
    color: #b00020 !important;
}

/* These tour links set the original low-contrast background inline. */
a.add_pdf_button[style*="background-color: #12acbe" i] {
    background-color: var(--eq-readable-teal) !important;
}

a.add_pdf_button[style*="background-color: #12acbe" i]:hover {
    background-color: #005460 !important;
}

@media (min-width: 992px) {
    .tours_hl_info > .hl_pict_bgr.dark {
        background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 72%));
    }

    .tours_hl_info:focus-within {
        opacity: 1;
        padding-top: 1.2rem;
    }
}

.article_content p a[href]:not(:has(img)),
.about_content p a[href]:not(:has(img)),
.about_content a[href^="mailto:"] {
    text-decoration: underline;
}
