/* Shared brand colors and component themes.
 * Owns brand defaults and theme integration adjustments for shared components.
 * Elementor's explicit widget settings retain their existing precedence.
 * Dark, hover/focus and responsive states intentionally have separate rules.
 */
body {
    --tk-tool-soft: #F4F7FB;
    background: #F4F7FB;
    color: #172033;
    --tk-blue: #006887;
    --tk-blue-dark: #00536B;
    --tk-tool-blue: #006887;
    --bs-link-color: #006887;
    --bs-link-hover-color: #00536b;
    --bs-primary: #006887;
    --bs-primary-rgb: 0,104,135;
}
body .tk-home-hero {
    background: radial-gradient(ellipse at 10% 15%,#F4F7FB,transparent 60%),linear-gradient(120deg,#F4F7FB,#FCFDFE);
}
body .tk-home-eyebrow {
    color: #006887;
}
body .tk-home-eyebrow:before {
    background: #9ED14B;
    box-shadow: 0 0 0 5px #9ED14B30;
}
body .tk-home-hero__checks {
    color: #496470;
}
body .tk-home-hero__checks li:before {
    color: #006887;
}
body .tk-modern-tour-listing {
    background: linear-gradient(120deg,#F4F7FB,#F4F7FB);
    border-color: #d9e4e9;
}
body .tk-modern-tour-listing:before {
    background: #9ED14B;
}
body .tk-home-heading>span,
body .tk-tool-heading>span {
    color: #006887;
}
body .tk-modern-tour-card__link {
    color: #006887;
}
body .tk-modern-tour-card__meta strong {
    color: #006887;
}
body .tk-weekend-card {
    border-color: #d9e4e9;
}
body .tk-weekend-card>a {
    color: #006887;
}
body .tk-weather-icon {
    color: #006887;
}
body .tk-stat__icon {
    opacity: 1;
}
body .tk-registration-banner {
    background: #F4F7FB;
    box-shadow: none;
}
body .tk-registration-banner:before {
    background: none;
}
body .tk-registration-banner:after {
    border-color: #c7decd;
}
body .tk-registration-banner h2 {
    color: #172033;
}
body .tk-registration-banner p,
body .tk-registration-banner__eyebrow {
    color: #006887;
}
body .tk-registration-banner__route path {
    stroke: #006887;
}
body .tk-home-feature__content>span {
    background: #9ED14B;
    color: #172033;
}
body .tk-detailed-search-head {
    background: linear-gradient(110deg,#F4F7FB,#F4F7FB);
    border-radius: 24px;
    padding: 28px;
}
body .tk-detailed-search-head__eyebrow {
    color: #006887;
}
body .tk-detailed-search-head__count {
    background: #F4F7FB;
    color: #123d49;
}
body .tk-detailed-filter-card {
    background: #F4F7FB;
    border-color: #d9e4e9;
}
body .tk-detailed-field-label i,
body .range__info i {
    color: #006887;
}
body .tk-tour-result-card__favourite {
    background: #9ED14B;
    color: #172033;
}
body .tk-tour-result-card__location svg {
    color: #006887;
    stroke: #006887;
}
body.dark .tk-home-hero {
    background: radial-gradient(ellipse at 10% 15%,#133b48,transparent 65%),linear-gradient(120deg,#0e2028,#10262e);
}
body.dark .tk-modern-tour-listing,
body.dark .tk-registration-banner,
body.dark .tk-detailed-search-head {
    background: #112E38;
    border-color: #344d3e;
}
body.dark .tk-stats {
    border-color: #344d3e;
}
body.dark .tk-registration-banner h2 {
    color: #f4f7f4;
}
body.dark .tk-stats p,
body.dark .tk-stat small,
body.dark .tk-registration-banner p,
body.dark .tk-home-hero__checks {
    color: #bed3dd;
}
body.dark .tk-home-eyebrow,
body.dark .tk-home-heading>span,
body.dark .tk-tool-heading>span,
body.dark .tk-detailed-search-head__eyebrow {
    color: #9ED14B;
}
body.dark .tk-weekend-card {
    background: #173741;
    border-color: #51482c;
}
body.dark .tk-detailed-filter-card {
    background: #112e38;
    border-color: #344d3e;
}
/* Accent surfaces and statistics. */
body .tk-detailed-filter-card button[type=submit],
body .tk-home-planner__bar>span:last-child {
    background: #006887;
    border-color: #006887;
    color: #fff;
}
body .tk-stats {
    background: #006887;
}
body .tk-stats .tk-tool-heading h2,
body .tk-stat strong {
    color: #fff;
}
body .tk-stats .tk-tool-heading>span,
body .tk-stat__icon,
body .tk-stat:nth-child(2) .tk-stat__icon,
body .tk-stat:nth-child(5) .tk-stat__icon {
    color: #9ED14B;
}
body .tk-stats .tk-tool-heading p,
body .tk-stat small {
    color: #e2eff3;
}
body .tk-stat {
    border-color: #ffffff30;
}
body .tk-weekend-card {
    background: #fff;
    border-top: 4px solid #9ED14B;
}
body .tk-home-planner__map svg path[stroke="#006887"] {
    stroke: #006887;
}
body.dark {
    background: #0e2028;
    color: #f4f7fb;
}
body.dark .tk-stats {
    background: #006887;
}
body.dark .tk-stat strong,
body.dark .tk-stats h2 {
    color: #fff;
}
body.dark .tk-stat__icon {
    color: #9ED14B;
}
body.dark .tk-weekend-card {
    border-top-color: #9ED14B;
}
/* Petrol is the action color; lime is reserved for decorative accents. */
body .tk-home-button--primary,
body .tk-home-button--ghost,
body .tk-registration-banner__primary,
body .tk-registration-banner__secondary,
body .tk-detailed-category.is-active,
body .tk-detailed-view-switch .is-active,
body .tekeregj-header-search__submit {
    background: #006887;
    border-color: #006887;
    color: #fff;
}
body .tk-home-button:hover,
body .tk-registration-banner__actions a:hover,
body .tekeregj-header-search__submit:hover {
    background: #00536B;
    border-color: #00536B;
    color: #fff;
}
body input[type=checkbox],
body input[type=range] {
    accent-color: #006887;
}
body.dark .tk-modern-tour-card__link,
body.dark .tk-weekend-card>a {
    color: #80C9DB;
}
/* Shared controls and Elementor menu overrides across all page templates. */
body.dark {
    --bs-link-color: #80c9db;
    --bs-link-hover-color: #afe2ee;
}
body .elementor .elementor-element header .navbar-nav li[data-depth="0"].menu-item:hover > .nav-link,
body .elementor .elementor-element header .navbar-nav.nav-right ul.dropdown-menu li:hover a.dropdown-item,
body .elementor .elementor-element header .navbar-nav.nav-right ul.dropdown-menu li:hover a.dropdown-item span,
body .elementor .elementor-element header .navbar-nav li.button.menu-item:hover > .nav-link {
    color: #00536b;
}
body .elementor .elementor-element header .navbar-nav li[data-depth="0"].menu-item:hover > .nav-link > .icon {
    fill: #00536b;
}
body.dark .elementor .elementor-element header .navbar-nav li[data-depth="0"].menu-item:hover > .nav-link,
body.dark .elementor .elementor-element header .navbar-nav.nav-right ul.dropdown-menu li:hover a.dropdown-item,
body.dark .elementor .elementor-element header .navbar-nav.nav-right ul.dropdown-menu li:hover a.dropdown-item span {
    color: #80c9db;
}
body .elementor .elementor-element .tk-category-hero__eyebrow,
body .elementor .elementor-element .tk-category-hero__more {
    color: #006887;
}
body.dark .elementor .elementor-element .tk-category-hero__eyebrow,
body.dark .elementor .elementor-element .tk-category-hero__more {
    color: #80c9db;
}
body .elementor .elementor-element .tk-category-hero__more:hover {
    color: #00536b;
}
body.dark .elementor .elementor-element .tk-category-hero__more:hover {
    color: #afe2ee;
}
/* Route Planner integration: theme branding shared by planner, public explorer,
   saved routes and route detail. No plugin scripts or geometry are replaced. */
:root,
body .trp-app,
body .trp-route-frame {
    --trp-blue: #006887 !important;
    --trp-blue-dark: #00536b !important;
    --trp-blue-soft: #e8f2f4 !important;
    --trp-bg: #F4F7FB !important;
    --trp-panel: #ffffff !important;
    --trp-border: #d4e4e9 !important;
}
body.dark .trp-app,
body.dark .trp-route-frame,
body.dark-mode .trp-app,
body.dark-mode .trp-route-frame,
body.is-dark .trp-app,
body.is-dark .trp-route-frame,
html[data-theme="dark"] .trp-app,
html[data-theme="dark"] .trp-route-frame,
.dark-theme .trp-app,
.dark-theme .trp-route-frame {
    --trp-blue: #006887 !important;
    --trp-blue-dark: #00536b !important;
    --trp-blue-soft: rgba(0,104,135,.2) !important;
    --trp-bg: #0e2028 !important;
    --trp-panel: #173741 !important;
    --trp-border: #315d6b !important;
}
body.dark .trp-viewer-nav a:hover,
body.dark .trp-route-frame .trp-comments-shell a,
body.dark .trp-route-photo-card__body > div a {
    color: #80c9db;
}
body .trp-app button:focus-visible,
body .trp-app a:focus-visible,
body .trp-app input:focus-visible,
body .trp-app select:focus-visible,
body .trp-app textarea:focus-visible {
    outline: 3px solid rgba(0,104,135, 0.25) !important;
}
body .trp-search:focus-within {
    box-shadow: 0 0 0 3px rgba(0,104,135, 0.1) !important;
}
body .trp-profile:hover,
body .trp-profile.is-active {
    border-color: rgba(0,104,135, 0.4) !important;
}
body .trp-tool-row button:hover:not(:disabled) {
    border-color: rgba(0,104,135, 0.45) !important;
}
body .trp-switch input:focus-visible + i {
    outline: 3px solid rgba(0,104,135, 0.25) !important;
}
body .trp-location-marker {
    box-shadow: 0 0 0 8px rgba(0,104,135, 0.18), 0 2px 9px rgba(35, 38, 47, 0.3) !important;
}
body .trp-map-file-tools button,
body .trp-map-file-tools a {
    box-shadow: 0 4px 14px rgba(0,104,135,.24) !important;
}
body .trp-map-file-tools button:hover:not(:disabled),
body .trp-map-file-tools a:hover {
    box-shadow: 0 6px 18px rgba(0,104,135,.32) !important;
}
body [data-trp-component="public-routes"] .trp-route-card:hover,
body [data-trp-component="public-routes"] .trp-route-card:focus-visible,
body [data-trp-component="public-routes"] .trp-route-card.is-map-active {
    background: linear-gradient(90deg, rgba(0,104,135,.1), var(--trp-panel) 32%) !important;
    border-color: rgba(0,104,135,.48) !important;
    box-shadow: 0 8px 22px rgba(0,104,135,.1) !important;
}
body .trp-public-search:focus-within {
    box-shadow: 0 0 0 3px rgba(0,104,135, .11) !important;
}
body .trp-public-filter[open] summary {
    box-shadow: 0 0 0 3px rgba(0,104,135, .1) !important;
}
body .trp-public-plan {
    box-shadow: 0 8px 24px rgba(0,104,135, .3) !important;
}
body .trp-mini-map-blue-overlay {
    background: rgba(0,104,135, .22) !important;
}
body .trp-route-card__fallback path {
    filter: drop-shadow(0 2px 2px rgba(0,104,135,.25)) !important;
}
body [data-trp-component="my-routes"] .trp-route-grid.is-list-view .trp-route-card:hover,
body [data-trp-component="my-routes"] .trp-route-grid.is-list-view .trp-route-card:focus-within {
    background: linear-gradient(90deg, rgba(0,104,135,.09), var(--trp-panel) 22%) !important;
    border-color: rgba(0,104,135,.42) !important;
    box-shadow: 0 10px 28px rgba(0,104,135,.12) !important;
}
body .trp-weather-grid article:hover,
body .trp-weather-grid article:focus-visible,
body .trp-weather-grid article.is-weather-active {
    box-shadow: 0 0 0 3px rgba(0,104,135,.12) !important;
}
body .trp-loading span {
    border-color: #d4e4e9;
    border-top-color: #006887;
}
/* Banner variants, map controls and listing typography. */
body .tk-home-hero .tk-home-button--ghost {
    background: #F4F7FB;
    border-color: #F4F7FB;
    color: #006887;
}
body .tk-home-hero .tk-home-button--ghost:hover,
body .tk-home-hero .tk-home-button--ghost:focus-visible {
    background: #e2eef1;
    border-color: #e2eef1;
    color: #00536b;
}
body .tk-registration-banner .tk-registration-banner__primary,
body .tk-registration-banner .tk-registration-banner__secondary {
    background: #006887;
    border-color: #006887;
    color: #fff;
}
body .tk-registration-banner .tk-registration-banner__primary:hover,
body .tk-registration-banner .tk-registration-banner__secondary:hover,
body .tk-registration-banner .tk-registration-banner__primary:focus-visible,
body .tk-registration-banner .tk-registration-banner__secondary:focus-visible {
    background: #00536b;
    border-color: #00536b;
    color: #fff;
}
body .leaflet-control-layers input[type=radio],
body .leaflet-control-layers input[type=checkbox] {
    accent-color: #006887;
}
body .trp-public-explorer .trp-route-card__actions a,
body .trp-public-explorer .trp-route-card__actions button,
body .trp-route-card__actions a,
body .trp-route-card__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
    min-height: 34px;
    box-sizing: border-box;
    margin: 0;
}
body .trp-route-card__actions .trp-route-action-icon {
    padding: 0;
}
body .trp-route-card__actions svg {
    display: block;
    flex-shrink: 0;
}
body .tk-detailed-results-grid.is-list .tk-tour-result-card__details span,
body .tk-detailed-results-grid.is-list .tk-tour-result-card__details em {
    font-family: "Poppins",sans-serif;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: normal;
    font-weight: 400;
}
body .tk-detailed-results-grid.is-list .tk-tour-result-card__details b {
    font-family: "Poppins",sans-serif;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: normal;
}
body .tk-detailed-results-grid.is-list .tk-tour-result-card__details b {
    font-weight: 600;
}
body .tk-category-hero h1,
body .tk-detailed-search-head h1,
body.single-tour .entry-title {
    color: #006887;
}
body.dark .tk-category-hero h1,
body.dark.single-tour .entry-title {
    color: #80c9db;
}
.tk-search-page-content:empty {
    display: none;
}
.page-template-pagetemplate-tour-search-detailed .tk-detailed-search-head__count {
    text-align: right;
    margin: 12px 0;
}
/* Compact community actions; plugin accessible names and handlers stay intact. */
body [data-trp-component="public-routes"] .trp-route-card__actions a,
body [data-trp-component="public-routes"] .trp-route-card__actions button {
    height: 32px;
    min-height: 32px;
    line-height: 1;
    padding: 0 10px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
body [data-trp-component="public-routes"] .trp-route-card__actions .trp-card-share {
    width: 32px;
    min-width: 32px;
    height: 32px;
    padding: 0;
    flex: 0 0 32px;
}
body [data-trp-component="public-routes"] .trp-route-card__actions [data-card-share="instagram"] {
    font-size: 0;
    gap: 0;
}
body [data-trp-component="public-routes"] .trp-route-card__actions [data-card-share="instagram"]::before {
    content: "";
    display: block;
    width: 17px;
    height: 17px;
    background: currentColor;
    -webkit-mask: url("../../img/instagram-camera.svg") center/contain no-repeat;
    mask: url("../../img/instagram-camera.svg") center/contain no-repeat;
}
/* The horizontal scroll viewport must not clip a button shadow. */
body .tk-detailed-category,
body .tk-detailed-category:hover,
body .tk-detailed-category:focus,
body .tk-detailed-category.is-active {
    box-shadow: none;
}
body.page-template-pagetemplate-tour-search-detailed .main-inner,
body.page-template-pagetemplate-taxonomylist .main-inner {
    padding-top: 30px;
}
.tk-search-hero-frame {
    position: relative;
    margin-bottom: 24px;
}
body .tk-search-hero-frame .tk-category-hero {
    margin-bottom: 0;
}
body .tk-search-hero-count {
    position: absolute;
    right: 24px;
    top: 18px;
    z-index: 3;
    color: #fff;
    background: rgba(0,55,72,.72);
    border-radius: 8px;
    padding: 6px 10px;
    font-family: "Poppins",sans-serif;
    font-size: 13px;
    line-height: 1.4;
    pointer-events: none;
}
body .tk-search-hero-count strong {
    color: inherit;
    font-weight: 700;
}
@media (max-width:767px) {
body.page-template-pagetemplate-tour-search-detailed .main-inner,
body.page-template-pagetemplate-taxonomylist .main-inner {
    padding-top: 24px;
}

body .tk-search-hero-frame .tk-category-hero__content {
    padding-top: 60px;
}

body .tk-search-hero-count {
    right: 16px;
    top: 14px;
    font-size: 12px;
}

}
