/*
 * Accessibility overrides (task T11). Last file of every page bundle, so these rules win
 * over the theme CSS without touching the vendor/theme sources.
 *
 *  1. Contrast: the theme blue (--gotur-base #2ca3bf) is only 2.96:1 on white. The same hue
 *     is darkened to --gotur-base-a11y (4.81:1 on white, also the background for white text)
 *     and lightened to --gotur-base-on-dark (4.80:1 on the dark footer #143b4a).
 *     --gotur-base itself is NOT redefined, so decorative backgrounds/borders keep their colour.
 *  2. Heading levels: helper classes that keep the old tag's size/weight when a tag was
 *     changed to the correct level.
 *  3. Target size >= 24px for small tap targets (the visible size does not change).
 *  4. English header: keep .main-menu__list on one line between 1200px and 1599px.
 */

:root {
    --gotur-base-a11y: #227c92;
    --gotur-base-on-dark: #34b2d0;
}

/* ---------------------------------------------------------------------------
   1a. Theme-blue TEXT on light backgrounds (#fff / #effcff / #f3fdff)
   --------------------------------------------------------------------------- */
a {
    color: var(--gotur-base-a11y);
}

html .sec-title__title span,
html .client-carousel__title,
html .how-to-work__title,
html .destinations-card__title,
html .main-header__call__subtitle,
html .listing-card-four__price__sub,
html .blog-card-three__cetagory span,
html .blog-card-three__date,
html .blog-card-two--one .blog-card-two__content__btn,
html .blog-two-card__link a,
html .blog-card-three__bottom a,
html .page-header__title,
html .gotur-breadcrumb li,
html .about-one__button__call span,
html .tour-listing-details__title,
html .tour-listing-details__info-area__text .tour-listing-details__info-area__title,
html .tour-listing-details__sidebar__title,
html .destination-details__title,
html .destination-details__sidebar__list li span,
html .contact-top__item__text,
html .contact-page__title,
html .sidebar-two__form__total,
html .sidebar-two__form__add,
html .testimonials-two-card__author__name,
html .sidebar__posts__meta,
html .sidebar__posts__meta a,
html .blog-details .blog-details-card__title,
html .blog-details__meta__title,
html .team-card__title,
html .cart-page__cart-total__item span,
html .cart-page__cart-total__item:last-child .cart-page__cart-total-amount,
html .checkout-page__billing-address__title,
html .checkout-page__your-order__title,
html .login-page__top__section-subtitle,
html .login-page__top__btn button,
html .faq-accordion .active .accordion-title h4,
html .faq-accordion .active .accordion-title .accordion-title__text,
html .product-details__comment__card__title,
html .product-details__form-ratings span,
html .Privacy .title,
html .language-switcher .active,
html .title-attachment {
    color: var(--gotur-base-a11y);
}

/* Strike-through price grey (#888, 3.54:1) */
html .listing-card-four__price del {
    color: #6b6b6b;
}

/* ---------------------------------------------------------------------------
   1b. Theme-blue TEXT on the dark footer (#143b4a): lighten the same hue
   --------------------------------------------------------------------------- */
html .footer-widget__list__subtitle,
html .span-segl,
html .btnmore-foot button,
html .btnmore-foot a {
    color: var(--gotur-base-on-dark);
}

/* ---------------------------------------------------------------------------
   1c. WHITE text on a theme-blue background: darken the background
   --------------------------------------------------------------------------- */
html .gotur-btn,
html .main-header--two .main-header__inner,
html .sticky-header--cloned.main-header--two .main-header__inner,
html .main-footer__bottom,
html .post-pagination li.active a,
html .blog-card-two__btn,
html .blog-card__date,
html .blog-card-two__date,
html .blog-two-card__date,
html .blog-details .blog-details-card__date,
html .about-five--two .about-five__thumb__text,
html .listing-card-two__discount,
html .listing-card-two__featured,
html .listing-card-four__featured,
html .listing-card-four__meta,
html .offer-one__card,
html .destinations-card__group-card__text:last-child,
html .comments-one__card__reply,
html .tour-listing-details__destination__btn,
html .tablepersonal thead,
html .nav-tabs .active-btn .nav-link,
html .country-code,
html .new-luxury-btn-primary,
html .villa-price,
html .progress-step.active span,
html .bespoke-progress-step.active span,
html .choice-item input:checked + span,
html .bespoke-choice input:checked + span,
html .luxury-hotel-features span {
    background-color: var(--gotur-base-a11y);
}

@media (max-width: 1280px) {
    html .sticky-header--cloned.main-header--two {
        background-color: var(--gotur-base-a11y);
    }
}

/* Header: language switch and the current menu item sat dark-on-blue (4.0:1). On the darker
   band they are white. */
html .langsw {
    color: #fff !important;
}

html .langsw:hover {
    color: #143b4a !important;
}

html .main-menu .main-menu__list > li.current > a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 8px;
}

/* ---------------------------------------------------------------------------
   2. Heading helpers: same look as the old tag, lower specificity than any component class
   --------------------------------------------------------------------------- */
:is(h1, h2, h3, h4, h5, h6):where(.as-h3) {
    font-size: 1.5rem;
    font-weight: 600;
}

:is(h1, h2, h3, h4, h5, h6):where(.as-h4) {
    font-size: calc(1.275rem + 0.3vw);
    font-weight: 500;
}

@media (min-width: 1200px) {
    :is(h1, h2, h3, h4, h5, h6):where(.as-h4) {
        font-size: 1.5rem;
    }
}

:is(h1, h2, h3, h4, h5, h6):where(.as-h5) {
    font-size: 1.25rem;
    font-weight: 500;
}

:is(h1, h2, h3, h4, h5, h6):where(.as-h6) {
    font-size: 1rem;
    font-weight: 500;
}

/* Tour plan accordion: the title tag went h4 -> h3, keep the rules that targeted `h4` */
.faq-accordion .accordion-title h3.accordion-title__text {
    margin-top: -7px;
    margin-bottom: -7px;
    position: relative;
    transition: all 500ms ease;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 155%;
    text-shadow: 0 0 0.1px currentColor;
    padding-right: 20px;
}

.faq-accordion .active .accordion-title h3.accordion-title__text {
    color: var(--gotur-base-a11y);
}

.tour-listing-details__ture-plan .faq-accordion .active .accordion-title h3.accordion-title__text {
    color: var(--gotur-black, #143b4a);
}

[dir="rtl"] .faq-accordion .accordion-title h3.accordion-title__text,
html[lang="ar"] .faq-accordion .accordion-title h3.accordion-title__text {
    padding-right: 0;
    padding-left: 20px;
}

/* Luxury "why book" cards: h4 -> h3 */
.why-book-card h3 {
    margin-bottom: 12px;
    font-size: 19px;
    font-weight: 600;
}

/* ---------------------------------------------------------------------------
   3. Target size >= 24x24
   --------------------------------------------------------------------------- */
/* owl dots: the button is the target; keep the 10px dot centred, no layout change */
.owl-carousel .owl-dots .owl-dot {
    min-width: 24px;
    min-height: 24px;
    margin-top: -2px;
    margin-bottom: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* hamburger: 24x14 lines -> 24x24 hit area, offset so the header height is unchanged */
.mobile-nav__btn {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: -5px;
    margin-bottom: -5px;
}

/* wishlist heart on tour cards */
.listing-card-two__price > a {
    display: inline-block;
    padding: 4px;
    margin: -4px;
}

.main-header__info__item,
.cart-icon1 {
    min-width: 24px;
    min-height: 24px;
}

/* ---------------------------------------------------------------------------
   4. English header (1200-1599px): keep the 8 menu items on one line
   --------------------------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1599px) {
    html[lang="en"] .main-header--two .main-menu .main-menu__list > li + li {
        margin-left: 16px;
    }

    html[lang="en"] .main-header--two .main-header__nav {
        margin-left: 16px;
    }
}

@media (min-width: 1200px) and (max-width: 1299px) {
    html[lang="en"] .main-menu .main-menu__list > li > a {
        font-size: 15.5px;
    }
}

/* Multi-word English items ("Luxury Collection", "Contact Us") must not break inside the item. */
@media (min-width: 1200px) {
    html[lang="en"] .main-menu .main-menu__list > li > a {
        white-space: nowrap;
    }
}
