/*
Theme Name: TailPress
Theme URI: https://github.com/jeffreyvr/tailpress
Author: Jeffrey van Rossum
Author URI: https://vanrossum.dev
Description: TailPress is a simple boilerplate WordPress theme with Tailwind CSS.
Version: 3.4.0
License: MIT
License URI: https://github.com/jeffreyvr/tailpress/blob/master/LICENSE
Text Domain: tailpress
*/
    /* Custom border radius for the video */
    .custom-video-radius {
        border-bottom-left-radius: 120px;
        border-bottom-right-radius: 120px;
      }
  
      p {margin-bottom:24px;}

p:last-child {
  margin-bottom: 0;
}


#menu-top-nav-right li a:hover {color:white;opacity:0.8;}
      .container-wind {
        max-width: 1312px;
        margin-left: auto;
        margin-right: auto;
      }

/* Hero entrance only on homepage */
body.home #top-bar .nav-intro-start {
  opacity: 0;
  transform: translateY(-10px);
}

/* Header nav hover/active underline */
#top-bar nav .menu-item:not(.button-contact) > a,
#mobile-menu .menu-item:not(.button-contact) > a {
  position: relative;
  padding-bottom: 6px;
}

#top-bar nav .menu-item.button-contact,
#mobile-menu .menu-item.button-contact {
  padding: 0 !important;
  background: none !important;
}

#top-bar nav .menu-item.button-contact > a,
#mobile-menu .menu-item.button-contact > a,
.button-contact > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem; /* matches px-6 py-4 */
  background-color: #6AC7BB !important;
  color: #111827 !important;
  border-radius: 9999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#top-bar nav .menu-item.button-contact:hover > a,
#top-bar nav .menu-item.button-contact > a:hover,
#mobile-menu .menu-item.button-contact:hover > a,
#mobile-menu .menu-item.button-contact > a:hover,
.button-contact:hover > a,
.button-contact > a:hover {
  background-color: #A8F5EB !important;
  color: #111827 !important;
}

.single-blog .prose .video-narrow,
.single-blog .prose .wp-block-video.video-narrow {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.single-blog .prose .video-narrow video,
.single-blog .prose .wp-block-video.video-narrow video {
  width: 100%;
  height: auto;
  border-radius: 40px;
  background: #000;
  object-fit: contain;
}

@media (max-width: 768px) {
  .single-blog .prose .video-narrow,
  .single-blog .prose .wp-block-video.video-narrow {
    max-width: 100%;
  }
}

#top-bar nav .menu-item:not(.button-contact) > a::after,
#mobile-menu .menu-item:not(.button-contact) > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #6AC7BB;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

#top-bar nav .menu-item:not(.button-contact) > a:hover::after,
#top-bar nav .menu-item.current-menu-item:not(.button-contact) > a::after,
#top-bar nav .menu-item.current-menu-ancestor:not(.button-contact) > a::after,
#top-bar nav .menu-item.current_page_item:not(.button-contact) > a::after,
#mobile-menu .menu-item:not(.button-contact) > a:hover::after,
#mobile-menu .menu-item.current-menu-item:not(.button-contact) > a::after,
#mobile-menu .menu-item.current-menu-ancestor:not(.button-contact) > a::after,
#mobile-menu .menu-item.current_page_item:not(.button-contact) > a::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Preserve white link color on hero (before scroll) */
#top-bar:not(.is-scrolled) nav .menu-item > a:hover {
  color: inherit !important;
}

    


  
      /* Overlay with gradient */
      .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 1;
      }

#top-bar {
  transition: background-color 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}
  
      body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-weight: 500;
        letter-spacing: -0.01em;
      }

      /* Slight negative tracking for headings/titles */
      h1, h2, h3,
      .section-title,
      .heading-tight,
      .title-tight {
        letter-spacing: -0.01em;
      }

      .button-contact {background:#6AC7BB;color:black!important;}




/* Position the dropdown below the parent */
.sub-menu {
  display: none; /* Initially hide the submenu */
  position: absolute; /* Position relative to the parent li */
  top: 100%; /* Align the submenu directly below the parent */
  left: 0; /* Align submenu to the left of the parent */
  min-width: 12rem; /* Adjust width as needed */
  background-color: white; /* Dropdown background */
  color: black; /* Dropdown text color */
  z-index: 30; /* Ensure the submenu appears above other content */
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Add a shadow for better visibility */
  padding: 0.5rem 0; /* Adjust padding as needed */
  border-radius: 0.375rem; /* Rounded corners */
}

/* Ensure parent item for dropdown is relatively positioned */
.menu-item-has-children {
  position: relative; /* This is critical for positioning the dropdown */
}

/* Show the submenu on hover of the parent item */
.group:hover .sub-menu {
  display: block;
}

#charter-scroll-container.animating {
  overflow-x: hidden;
  pointer-events: none;
}

.arrow-container {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  align-items: center;
}

.arrow {
  width: 32px;
  height: 32px;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* Subtle image zoom for clickable cards */
a img, .blog-thumb img {
  transition: transform 0.35s ease;
}

a:hover img, .blog-thumb:hover img {
  transform: scale(1.04);
}

/* Keep header logo static */
#logo img,
#logo:hover img {
  transition: none !important;
  transform: none !important;
}

/* Blog card thumbnails clip zoom */
.blog-card-thumb {
  display: block;
  overflow: hidden;
  border-radius: inherit;
}

.blog-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
}
.blog-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.wpcf7-form-control {
  font-size: 1rem; /* text-base */
  margin-top: 0.25rem; /* mt-1 */
  display: block;
  width: 100%; /* w-full */
  padding-left: 1rem; /* px-4 */
  padding-right: 1rem; /* px-4 */
  padding-top: 0.5rem; /* py-2 */
  padding-bottom: 0.5rem; /* py-2 */
  border-width: 1px; /* border */
  border-color: #d1d5db; /* border-gray-300 */
  border-radius: 0.5rem; /* rounded-lg */
  outline: none; /* focus:outline-none */
}


.send-button {
  border: none;
  display: inline-block;
  border-radius: 40px;
  background-image: linear-gradient(90deg, #A8F5EB 0%, #A8F5EB 50%, #6AC7BB 50%, #6AC7BB 100%);
  background-size: 200% 100%;
  background-position: right center;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 24px;
  width: auto;
  color: #111827;
  transition: background-position .35s ease, color .35s ease;
}
.send-button:hover {
  background-position: left center;
  color: #111827;
}
.wpcf7-radio {
  border:none;
  padding-left:0;
}


.wpcf7-acceptance {border:none;
padding-left:0;}

.wpcf7-list-item-label {padding-left:8px;}
.wpcf7-list-item {margin-right:16px;margin-left:0;font-size:16px;}

.wpcf7-form-control:focus {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); /* focus:ring-2 focus:ring-blue-500 */
  border-color: #3b82f6; /* focus:border-blue-500 */
}


.currency-selector {
  display: flex;
  border: 1px solid #ccc;
  width: 150px;
  padding: 5px;
  cursor: pointer;
  position: relative;
}

.currency-option {
  display: flex;
  align-items: center;
  padding: 5px;
  cursor: pointer;
}

.currency-option img.currency-icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.currency-option:hover {
  background-color: #f0f0f0;
}

.currency-option.selected {
  background-color: #d0e0ff;
}

.currency-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  border: 1px solid #ccc;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
}

.currency-selector.open .currency-options {
  display: block;
}



.clean-menu .current-menu-item .page_item li a {opacity:0!important;}

.rich-text h1 {font-size:40px!important;line-height:48px;margin-bottom:12px;font-weight:600;}


.rich-text {font-size:20px;line-height:32px;}

.rich-text img {width:auto;max-width:100%;height:auto;border-radius:32px;margin-top:32px;margin-bottom:32px;}
.rich-text img.size-full {width:100%;max-width:100%;}

.rich-text-video {
  width:100%;
  margin-top:32px;
  margin-bottom:32px;
  border-radius:24px;
  overflow:hidden;
  position:relative;
  padding-bottom:56.25%; /* 16:9 */
  height:0;
}

.charter-filter-wrapper {
  border-top: 1px solid #969696;
  padding-top: 24px;
  margin-top: 24px;
  margin-bottom: 48px;
}

.charter-filter-controls {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}


.charter-filter-select {
  border: 2px solid #3A2233;
  border-radius: 9999px;
  padding: 16px 64px 16px 24px;
  display: inline-flex;
  align-items: center;
  width: auto;
  font-size: 18px;
  line-height: 18px;
  color: #3A2233;
  font-weight: 600;
  cursor: pointer;
  background-color: transparent;
  background-image: url('assets/chevron-filter.svg');
  background-repeat: no-repeat;
  background-position: calc(100% - 24px) center;
  background-size: 20px 20px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.charter-filter-select:focus {
  outline: none;
  border-color: #6AC7BB;
}

@media (max-width: 767px) {
  .charter-filter-controls {
    flex-direction: column;
    gap: 16px;
  }

  .charter-filter-select {
    width: 100%;
  }
}

.rich-text-video iframe,
.rich-text-video embed,
.rich-text-video video,
.rich-text-video .wp-video,
.rich-text-video figure iframe,
.rich-text-video iframe.wp-embedded-content {
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
  border:0;
}
.rich-text img.size-full {width:100%;max-width:100%;}

.rich-text ul {
  list-style-type: none; /* Remove default bullet points */
  text-indent:30px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.rich-text ul li {
  position: relative;
  padding-left: 20px; /* Space for the custom bullet */
}

.rich-text ul li::before {
  content: "✔"; /* Custom bullet symbol */
  position: absolute;
  left: 0;
  color: #6AC7BB; /* Custom color for the bullet */
  font-size: 18px; /* Adjust the size of the bullet if necessary */
}

#map {
	width:100%;
	height:540px;
}



.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)){
    margin-top:0!important;
    margin-bottom: 0!important;
}
.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)){

    margin-bottom: 0!important;
}

      .button-contact {background:#6AC7BB;color:black!important;}

      .button-contact a {color:black!important;}

#menu-top-nav-right-1 .group:first-of-type > a {
  display: none!important;
}

/* Sweep hover for filled buttons */
a[class*="bg-[#6AC7BB]"],
.button-contact,
.button-contact > a {
  position: relative;
  overflow: hidden;
  background-color: #6AC7BB !important;
  color: #111827 !important;
  z-index: 0;
}

a[class*="bg-[#6AC7BB]"]:hover,
.button-contact:hover,
.button-contact > a:hover {
  color: #111827 !important;
  background-color: #6AC7BB !important;
}

a[class*="bg-[#6AC7BB]"]::after,
.button-contact::after,
.button-contact > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #A8F5EB;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: -1;
}

a[class*="bg-[#6AC7BB]"]:hover::after,
.button-contact:hover::after,
.button-contact > a:hover::after {
  transform: translateX(0);
}





@media (max-width: 768px) {
  .custom-video-radius {
    border-bottom-left-radius: 40px!important;
    border-bottom-right-radius: 40px!important;
  }
}
