/* Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

#ocean-suppliers,
#river-suppliers,
#expedition-suppliers {
  display: none;
}

/* --- Sticky Header: Positioning & Transitions --- */
#hide-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: background-color 0.4s ease, top 0.4s ease-in-out !important;
}

#hide-header .elementor-widget-container,
#hide-header .elementor-widget-container * {
  transition: color 0.3s ease, fill 0.3s ease, stroke 0.3s ease;
}


/* --- State 1: Initial (Transparent on Hero Pages) --- */
#hide-header:not(.scrolled) {
  background-color: transparent;
}

/* Styles for WHITE text/icons in transparent header */
#hide-header:not(.scrolled) > .elementor-container .elementor-heading-title,
#hide-header:not(.scrolled) > .elementor-container .elementor-nav-menu a,
#hide-header:not(.scrolled) > .elementor-container .elementor-button,
#hide-header:not(.scrolled) > .elementor-container .dce-hamburger-menu-label {
    color: #ffffff !important;
}


/* --- State 2: Scrolled or Non-Hero Page (Solid) --- */
#hide-header.scrolled {
  background-color: #ece8ef;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Styles for DARK text/icons in solid header */
#hide-header.scrolled > .elementor-container .elementor-heading-title,
#hide-header.scrolled > .elementor-container .elementor-nav-menu a,
#hide-header.scrolled > .elementor-container .elementor-button,
#hide-header.scrolled > .elementor-container .dce-hamburger-menu-label {
  color: #201818 !important;
}


/*
==================================================================
  FINAL HEADER ICON & TEXT COLOR OVERRIDE
==================================================================
*/

/* --- White styles for TRANSPARENT header --- */
#hide-header:not(.scrolled) .elementor-element-65c84cf .elementor-heading-title,
#hide-header:not(.scrolled) .elementor-widget-dce-animatedoffcanvasmenu svg line,
#hide-header:not(.scrolled) .elementor-element-a9e750f svg path {
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: #ffffff !important;
}
/* CORRECTED RULE: Makes telephone number white in transparent state */
#hide-header:not(.scrolled) .elementor-element-b4ccaca .elementor-heading-title strong {
    color: #ffffff !important;
}


/* --- Dark styles for SCROLLED header --- */
#hide-header.scrolled .elementor-element-65c84cf .elementor-heading-title,
#hide-header.scrolled .elementor-widget-dce-animatedoffcanvasmenu svg line,
#hide-header.scrolled .elementor-element-a9e750f svg path {
    color: #201818 !important;
    stroke: #201818 !important;
    fill: #201818 !important;
}
/* CORRECTED RULE: Makes telephone number dark in scrolled state */
#hide-header.scrolled .elementor-element-b4ccaca .elementor-heading-title strong {
    color: #201818 !important;
}


/*
==================================================================
  Content Layout Fix for Basic Pages (Constrained Width)
==================================================================
*/
.is-no-hero-page:not(.home):not(.front-page) main#content.site-main {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* WordPress Admin Bar Compatibility */
.admin-bar #hide-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #hide-header {
    top: 46px;
  }
}

/* Style the breadcrumb container */
#breadcrumbs {
    font-size: 12px;
    font-family: 'Merriweather Sans', sans-serif;
    color: #201818;
    margin: 10px 0;
}

#breadcrumbs a {
    color: #201818;
    text-decoration: none;
    font-weight: normal;
    font-size: 12px;
    font-family: 'Merriweather Sans', sans-serif;
}

#breadcrumbs a:hover {
    color: #201818;
    text-decoration: underline;
}

#breadcrumbs span {
    color: #999;
    font-size: 12px;
    font-family: 'Merriweather Sans', sans-serif;
}

#breadcrumbs .breadcrumb_last {
    color: #201818;
    font-weight: normal;
    text-decoration: none;
    font-size: 12px;
    font-family: 'Merriweather Sans', sans-serif;
}

.post-thumbnail img,
.wp-post-image {
    position: relative;
    display: block;
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.hero-section .post-title {
    text-align: center;
    z-index: 10;
    font-size: 3rem;
    color: #fff;
}

.intro-text {
    padding: 0 10px;
}

.my-readmore-wrapper {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

#my-collapsible-content {
    max-height: 800px;
    overflow: hidden;
    overflow-x: hidden;
    position: relative;
    transition: max-height 0.7s ease-out;
}

#my-collapsible-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #F8F5F9);
}

#my-collapsible-content.is-open {
    max-height: 5000px;
    transition: max-height 1s ease-in;
}

#my-collapsible-content.is-open::after {
    display: none;
}
  
.dce-repeater-destinations .dce-acf-repeater-item {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #EAEAEA !important;
}

.dce-repeater-destinations .e-far-check-circle {
    fill: #8B776A !important;
    width: 1.2em !important;
    margin-right: 20px !important;
    margin-top: 2px;
}

.dce-repeater-destinations .dce-acf-repeater-item > div:first-of-type {
    text-transform: none !important;
}

.dce-repeater-destinations .dce-acf-repeater-item > div:nth-of-type(2) {
    flex-basis: 100%;
    padding-left: 50px;
    margin-top: 5px;
    font-size: 0.9em;
    color: #555;
}

.dce-repeater-destinations .dce-acf-repeater-item:last-child {
    border-bottom: none !important;
}

/*
==================================================================
  Homepage Full-Width Fix
==================================================================
*/
body.home div#content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 1024px) {
    .admin-bar #hide-header {
        top: 46px;
    }
    #hide-header:not(.scrolled) {
    background-color: transparent !important;
    }
}

@media (max-width: 767px) {
    .dce-repeater-destinations .dce-acf-repeater-item {
        position: relative !important;
        padding-left: 45px !important;
    }

    .dce-repeater-destinations .e-far-check-circle {
        position: absolute !important;
        left: 0;
        top: 12px;
    }
    
    .dce-repeater-destinations .dce-acf-repeater-item > div {
        flex-basis: auto !important;
        padding-left: 0 !important;
    }
}