@charset "UTF-8";
/*
Theme Name: Thème FSE Q Base WP 👨🏼‍✈️
Theme URI: 
Author: Q Base WP
Author URI: https://capitainewp.io
Description: Thème agence pour le Full Site Editing
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: q-base
*/
/****************************************************************************/
/* BASE
/****************************************************************************/
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/****************************************************************************/
/* TEMPLATE PARTS
/****************************************************************************/
.home header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

body:not(.home) header {
  border-bottom: 1px solid var(--wp--preset--color--primary);
}

header .wp-block-image {
  z-index: 10000000;
  position: relative;
}
header .wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
  color: var(--wp--preset--color--primary);
}
header .wp-block-navigation .current-menu-item .wp-block-navigation-item__content:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--wp--preset--color--primary);
  position: absolute;
  bottom: 0;
}
@media screen and (max-width: 1320px) {
  header .wp-block-image {
    max-width: 240px;
  }
}

footer {
  border-top: 1px solid var(--wp--preset--color--primary);
}
footer a {
  text-decoration: none;
}
footer .wp-block-navigation ul {
  padding-left: var(--wp--preset--spacing--s);
}
footer .wp-block-navigation ul li {
  gap: 0.5em;
}
footer .wp-block-navigation ul li:before {
  content: "";
  background-color: var(--wp--preset--color--primary);
  border: 2px solid var(--wp--preset--color--white);
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  margin-left: -1em;
}
footer > .wp-block-group > .wp-block-columns > .wp-block-column:first-child:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./assets/svg/footer-shape.svg") no-repeat left;
}

/****************************************************************************/
/* ELEMENTS
/****************************************************************************/
a[href^="tel:"] {
  text-decoration: none;
}

.wp-block-button {
  z-index: 10;
}
.wp-block-button a {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.wp-block-button.is-style-default a {
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  outline: 2px solid transparent;
}
.wp-block-button.is-style-default a:hover {
  background-color: var(--wp--preset--color--secondary);
  border-color: var(--wp--preset--color--white);
  outline: 2px solid var(--wp--preset--color--primary);
}

.is-style-alt a {
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  outline: 2px solid transparent;
}
.is-style-alt a:hover {
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--white);
  outline: 2px solid var(--wp--preset--color--secondary);
}

.is-style-tertiary a {
  border: 2px solid var(--wp--preset--color--secondary);
  outline: 2px solid transparent;
  transition: all 0.3s ease-in-out;
}
.is-style-tertiary a:hover {
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--white);
  outline: 2px solid var(--wp--preset--color--secondary);
}

.is-style-fourth a {
  border: 2px solid transparent;
  outline: 2px solid transparent;
  transition: all 0.3s ease-in-out;
}
.is-style-fourth a:hover {
  background-color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--white);
  outline: 2px solid var(--wp--preset--color--secondary);
}

.is-style-link-classic a {
  display: inline-block;
  padding: 0;
  text-decoration: none;
  color: var(--wp--preset--color--dark);
  font-weight: var(--wp--custom--font-weight--bold);
  position: relative;
}
.is-style-link-classic a:before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--wp--preset--color--dark);
  transition: all 0.3s ease-in-out;
}
.is-style-link-classic a:after {
  content: "";
  opacity: 0;
  position: absolute;
  bottom: -7px;
  right: -20px;
  width: 14px;
  height: 14px;
  background-color: var(--wp--preset--color--dark);
  border-radius: 50%;
  border: 3px solid var(--wp--preset--color--white);
  outline: 4px solid var(--wp--preset--color--dark);
  transition: all 0.3s ease-in-out;
}
.is-style-link-classic a:hover:before {
  width: 120%;
}
.is-style-link-classic a:hover:after {
  opacity: 1;
  right: -38px;
}

.ff-btn-submit {
  cursor: pointer;
  background: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--white);
  border: 2px solid transparent;
  padding-top: calc(var(--wp--preset--spacing--xs) - 2px);
  padding-right: var(--wp--preset--spacing--s);
  padding-bottom: calc(var(--wp--preset--spacing--xs) - 2px);
  padding-left: var(--wp--preset--spacing--s);
  font-size: var(--wp--preset--font-size--xs);
  font-family: var(--wp--preset--font-family--secondary);
  text-transform: uppercase;
  font-weight: var(--wp--custom--font-weight--extrabold);
  transition: all 0.3s ease-in-out;
  outline: 2px solid transparent;
}
.ff-btn-submit:hover {
  outline: 2px solid var(--wp--preset--color--secondary);
}

.rank-math-breadcrumb {
  text-align: center;
}
.rank-math-breadcrumb a {
  text-decoration: none;
}
.rank-math-breadcrumb a, .rank-math-breadcrumb p {
  color: var(--wp--preset--color--dark-alt);
}

.ff-el-group .ff-el-input--label.ff-el-is-required.asterisk-right label:after {
  color: var(--wp--preset--color--dark);
}
.ff-el-group.ff-el-form-left, .ff-el-group.ff-el-form-hide_label {
  display: flex;
  align-items: stretch;
}
.ff-el-group.ff-el-form-left .ff-el-input--label, .ff-el-group.ff-el-form-hide_label .ff-el-input--label {
  width: auto;
  padding: 20px 8px 4px 0px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--wp--preset--color--dark);
  transition: all 0.3s ease;
  color: var(--wp--preset--color--dark);
}
.ff-el-group.ff-el-form-left .ff-el-input--label.active, .ff-el-group.ff-el-form-hide_label .ff-el-input--label.active {
  padding: 12px 8px 12px 8px;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
}
.ff-el-group.ff-el-form-left .ff-el-input--label.active.ff-el-is-required.asterisk-right label:after, .ff-el-group.ff-el-form-hide_label .ff-el-input--label.active.ff-el-is-required.asterisk-right label:after {
  color: var(--wp--preset--color--white);
}
.ff-el-group.ff-el-form-left .ff-el-input--content, .ff-el-group.ff-el-form-hide_label .ff-el-input--content {
  margin-left: 0;
  flex: 1;
}
.ff-el-group.ff-el-form-left input[type=text], .ff-el-group.ff-el-form-left input[type=email], .ff-el-group.ff-el-form-left input[type=tel], .ff-el-group.ff-el-form-hide_label input[type=text], .ff-el-group.ff-el-form-hide_label input[type=email], .ff-el-group.ff-el-form-hide_label input[type=tel] {
  height: 100%;
  border: 0;
  border-bottom: 1px solid var(--wp--preset--color--dark);
}
.ff-el-group.ff-el-form-left input[type=text]::-moz-placeholder, .ff-el-group.ff-el-form-left input[type=email]::-moz-placeholder, .ff-el-group.ff-el-form-left input[type=tel]::-moz-placeholder, .ff-el-group.ff-el-form-hide_label input[type=text]::-moz-placeholder, .ff-el-group.ff-el-form-hide_label input[type=email]::-moz-placeholder, .ff-el-group.ff-el-form-hide_label input[type=tel]::-moz-placeholder {
  color: var(--wp--preset--color--white);
}
.ff-el-group.ff-el-form-left input[type=text]::placeholder, .ff-el-group.ff-el-form-left input[type=email]::placeholder, .ff-el-group.ff-el-form-left input[type=tel]::placeholder, .ff-el-group.ff-el-form-hide_label input[type=text]::placeholder, .ff-el-group.ff-el-form-hide_label input[type=email]::placeholder, .ff-el-group.ff-el-form-hide_label input[type=tel]::placeholder {
  color: var(--wp--preset--color--white);
}
.ff-el-group .ff-el-form-control {
  outline: 0;
  font-size: var(--wp--preset--font-size--xs);
  font-family: var(--wp--preset--font-family--secondary);
  background: transparent;
}
.ff-el-group .ff-el-form-control::-moz-placeholder {
  visibility: hidden;
}
.ff-el-group .ff-el-form-control::placeholder {
  visibility: hidden;
}

.fluentform .ff-dropzone .ff_upload_btn.ff-btn {
  border-radius: 0;
  border: 1px solid var(--wp--preset--color--dark);
  padding: 12px;
}
.fluentform .ff-dropzone .ff_upload_btn.ff-btn span {
  color: var(--wp--preset--color--secondary);
}

.fluentform textarea {
  border: 1px solid var(--wp--preset--color--dark);
  padding: var(--wp--preset--spacing--xxs);
  outline-color: var(--wp--preset--color--primary);
}
.fluentform .ff-dropzone {
  margin-bottom: 0;
}
.fluentform .ff-dropzone .ff-uploaded-list {
  margin-top: 6px !important;
}
.fluentform .ff-dropzone + .ff-custom_html {
  margin-top: 0;
}
.fluentform .ff-dropzone + .ff-custom_html p {
  margin-top: 0;
  font-size: clamp(0.75rem, 0.75rem + 0vw, 0.75rem);
}

.wp-rgpd-block {
  font-size: clamp(0.75rem, 0.75rem + 0vw, 0.75rem);
}
.wp-rgpd-block p {
  margin: 0;
}
.wp-rgpd-block .wp-rgpd-block__content {
  height: 60px;
  overflow-y: auto;
}

figure img {
  box-sizing: border-box;
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}

.is-style-rounded img {
  outline: 7px solid var(--wp--preset--color--accent);
}

.wp-block-column {
  position: relative;
}
.wp-block-column .wp-block-image:first-child {
  max-width: 540px;
}
.wp-block-column .wp-block-image + .wp-block-image.is-style-rounded {
  position: absolute;
  max-width: 446px;
  height: auto;
  bottom: -10%;
  right: 30px;
  z-index: 1;
}
@media (max-width: 1024px) {
  .wp-block-column .wp-block-image:first-child {
    max-width: 100%;
  }
  .wp-block-column .wp-block-image + .wp-block-image.is-style-rounded {
    max-width: 280px;
    bottom: 0;
  }
}

@media screen and (max-width: 600px) {
  .wp-block-media-text {
    gap: var(--wp--preset--spacing--s);
  }
}
.is-style-contrast {
  position: relative;
}
.is-style-contrast .wp-block-columns {
  position: relative;
  z-index: 2;
}
.is-style-contrast:after {
  content: "";
  display: block;
  width: 100%;
  height: 170px;
  background: url("./assets/svg/lamanage-shape.svg") no-repeat left;
  position: absolute;
  top: 40px;
  background-size: cover;
  left: 0;
  z-index: 1;
  opacity: 0.15;
}
@media (max-width: 768px) {
  .is-style-contrast:after {
    height: 180px;
  }
}
@media (min-width: 1560px) {
  .is-style-contrast:after {
    height: 226px;
    top: 60px;
  }
}

.wp-block-gallery:after {
  content: "";
  display: block;
  width: 100%;
  height: 226px;
  background: url("./assets/svg/lamanage-shape.svg") no-repeat left;
  position: absolute;
  top: -120px;
  background-size: cover;
  left: 0;
  z-index: -1;
  opacity: 0.15;
}
@media (max-width: 768px) {
  .wp-block-gallery:after {
    height: 180px;
    top: -50px;
  }
}

.home .wp-block-media-text .wp-block-media-text__content {
  position: relative;
  z-index: 2;
}
.home .wp-block-media-text .wp-block-media-text__content:after {
  content: "";
  display: block;
  width: 100vw;
  height: 170px;
  background: url("./assets/svg/lamanage-shape.svg") no-repeat left;
  position: absolute;
  top: 50px;
  background-size: cover;
  left: 0;
  z-index: -1;
  opacity: 0.15;
}
.home .wp-block-media-text .wp-block-media-text__media {
  z-index: 2;
  height: 100%;
}
.home .wp-block-media-text .wp-block-media-text__media img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 1560px) {
  .home .wp-block-media-text:after {
    height: 226px;
    top: 60px;
  }
}

@media screen and (max-width: 768px) {
  .wp-block-media-text {
    gap: var(--wp--preset--spacing--s);
  }
  .wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: 100% !important;
  }
  .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media {
    grid-column: 1;
    grid-row: 1;
  }
  .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content {
    grid-column: 1;
    grid-row: 2;
  }
}
#map {
  height: 425px;
}
#map .marker-default {
  background: url("./assets/svg/map-icon.svg") no-repeat center center;
  background-color: var(--wp--preset--color--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
#map .marker-default .mapboxgl-popup-content {
  width: 240px;
  padding: 16px;
}
#map .marker-default .mapboxgl-popup-content .h3 {
  font-size: var(--wp--preset--font-size--m);
  line-height: var(--wp--custom--line-height--narrow);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: var(--wp--custom--font-weight--bold);
  color: var(--wp--preset--color--primary);
}

/** default is 600px pass to 1024px for button burger and container */
@media (max-width: 1120px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  .wp-block-navigation__responsive-container, .wp-block-navigation__responsive-container.is-menu-open {
    padding: var(--wp--preset--spacing--s) var(--wp--preset--spacing--s);
  }
  .wp-block-navigation__responsive-container-close, .wp-block-navigation__responsive-container-open {
    background-color: var(--wp--preset--color--accent-light);
    padding: var(--wp--preset--spacing--xs);
  }
}
@media (max-width: 1120px) {
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
  }
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 8em;
}

ul.wp-block-list {
  list-style: none;
  padding-left: var(--wp--preset--spacing--xs);
}
ul.wp-block-list li {
  position: relative;
  padding-left: 1.2rem;
}
ul.wp-block-list li:before {
  content: "";
  border: 2px solid var(--wp--preset--color--dark);
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 11px;
  box-sizing: border-box;
  border-radius: 50%;
}
ul.wp-block-list.has-s-font-size li:before {
  top: 10px;
}

body.gdpr-infobar-visible {
  position: relative;
}
body.gdpr-infobar-visible::after {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  top: -150px;
  left: 0;
  z-index: 9980;
}
body.gdpr-infobar-visible .mgbutton {
  border-radius: 0px !important;
}
body.gdpr-infobar-visible .change-settings-button:hover {
  color: var(--wp--preset--color--fifth) !important;
}
body.gdpr-infobar-visible aside#moove_gdpr_cookie_info_bar {
  z-index: 9990;
}
@media all and (max-width: var(--grid-breakpoint-sm)) {
  body.gdpr-infobar-visible aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
    padding-top: 60px;
  }
}
body.gdpr-infobar-visible aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-infobar-allow-all {
  order: 2 !important;
}
body.gdpr-infobar-visible aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-infobar-reject-btn {
  order: 1 !important;
}
@media all and (max-width: var(--grid-breakpoint-sm)) {
  body.gdpr-infobar-visible aside#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-button-holder {
    position: absolute;
    top: 30px;
    right: 10px;
  }
}

.gdpr_lightbox {
  z-index: 99970;
}

.grecaptcha-badge {
  visibility: hidden;
}

.facetwp-facet-type_navire {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--s);
}
.facetwp-facet-type_navire .facetwp-checkbox {
  color: var(--wp--preset--color--white);
  background: var(--wp--preset--color--secondary);
  padding-top: calc(var(--wp--preset--spacing--xs) - 2px);
  padding-right: var(--wp--preset--spacing--s);
  padding-bottom: calc(var(--wp--preset--spacing--xs) - 2px);
  padding-left: var(--wp--preset--spacing--s);
  font-size: var(--wp--preset--font-size--xs);
  font-family: var(--wp--preset--font-family--secondary);
  font-weight: var(--wp--custom--font-weight--extrabold);
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  outline: 2px solid transparent;
}
.facetwp-facet-type_navire .facetwp-checkbox:hover, .facetwp-facet-type_navire .facetwp-checkbox.checked {
  background: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--white);
  outline: 2px solid var(--wp--preset--color--secondary);
}
.facetwp-facet-type_navire .facetwp-checkbox .facetwp-display-value {
  padding: 0;
}
.facetwp-facet-type_navire .facetwp-checkbox .facetwp-counter {
  display: none;
}

.section-grid {
  row-gap: var(--wp--preset--spacing--m);
}
.section-grid .wp-block-image {
  overflow: hidden;
}
.section-grid img {
  transition: all 0.3s ease-in-out;
}
.section-grid > .wp-block-group:hover img {
  transform: scale(1.05);
}
.section-grid > .wp-block-group:hover .is-style-link-classic a:before {
  width: 110%;
}
.section-grid > .wp-block-group:hover .is-style-link-classic a:after {
  opacity: 1;
  right: -28px;
}

@media screen and (max-width: 996px) {
  .is-grid.is-grid-sm {
    grid-template-columns: repeat(2, 1fr);
  }
}

.text-xxs {
  font-size: clamp(0.75rem, 0.75rem + 0vw, 0.75rem);
}

/****************************************************************************/
/* TEMPLATE
/****************************************************************************/
html {
  scroll-behavior: smooth;
}

main,
.wp-block-template-part,
.entry-content {
  margin-top: 0;
}

.wp-site-blocks {
  max-width: 1920px;
  margin: 0 auto;
}

.is-style-overlay {
  position: relative;
}
.is-style-overlay:after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--wp--preset--color--dark);
  opacity: 0.3;
  z-index: 1;
}
.is-style-overlay > .wp-block-group {
  z-index: 2;
}

.wp-block-query .wp-block-post-template {
  row-gap: var(--wp--preset--spacing--m);
}
.wp-block-query li.post:not(:has(.wp-block-post-featured-image)) {
  background-color: var(--wp--preset--color--primary);
  position: relative;
  min-height: 280px;
}
.wp-block-query li.post:not(:has(.wp-block-post-featured-image)):after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./assets/svg/news-shape.svg") no-repeat;
  background-size: contain;
  z-index: 1;
}
.wp-block-query li.post:not(:has(.wp-block-post-featured-image)) > .wp-block-group {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  padding-top: var(--wp--preset--spacing--m);
  padding-bottom: var(--wp--preset--spacing--m);
  padding-left: var(--wp--preset--spacing--l) !important;
  padding-right: var(--wp--preset--spacing--l) !important;
}
.wp-block-query li.post:not(:has(.wp-block-post-featured-image)) > .wp-block-group .wp-block-post-title {
  color: var(--wp--preset--color--white) !important;
}
.wp-block-query li.post:not(:has(.wp-block-post-featured-image)) .wp-block-read-more {
  color: var(--wp--preset--color--white);
}
.wp-block-query li.post:not(:has(.wp-block-post-featured-image)) .wp-block-read-more:before, .wp-block-query li.post:not(:has(.wp-block-post-featured-image)) .wp-block-read-more:after {
  background-color: var(--wp--preset--color--white);
}
.wp-block-query li.post:not(:has(.wp-block-post-featured-image)) .wp-block-read-more:after {
  border-color: var(--wp--preset--color--primary);
  outline-color: var(--wp--preset--color--white);
}
.wp-block-query li.post .wp-block-post-featured-image, .wp-block-query li.flotte .wp-block-post-featured-image, .wp-block-query li.activite .wp-block-post-featured-image, .wp-block-query article .wp-block-post-featured-image {
  overflow: hidden;
}
.wp-block-query li.post img, .wp-block-query li.flotte img, .wp-block-query li.activite img, .wp-block-query article img {
  transition: all 0.3s ease-in-out;
}
.wp-block-query li.post:hover .wp-block-post-featured-image img, .wp-block-query li.flotte:hover .wp-block-post-featured-image img, .wp-block-query li.activite:hover .wp-block-post-featured-image img, .wp-block-query article:hover .wp-block-post-featured-image img {
  transform: scale(1.05);
}
.wp-block-query li.post:hover .wp-block-read-more:before, .wp-block-query li.post:hover .wp-block-post-excerpt__more-link:before, .wp-block-query li.flotte:hover .wp-block-read-more:before, .wp-block-query li.flotte:hover .wp-block-post-excerpt__more-link:before, .wp-block-query li.activite:hover .wp-block-read-more:before, .wp-block-query li.activite:hover .wp-block-post-excerpt__more-link:before, .wp-block-query article:hover .wp-block-read-more:before, .wp-block-query article:hover .wp-block-post-excerpt__more-link:before {
  width: 115%;
}
.wp-block-query li.post:hover .wp-block-read-more:after, .wp-block-query li.post:hover .wp-block-post-excerpt__more-link:after, .wp-block-query li.flotte:hover .wp-block-read-more:after, .wp-block-query li.flotte:hover .wp-block-post-excerpt__more-link:after, .wp-block-query li.activite:hover .wp-block-read-more:after, .wp-block-query li.activite:hover .wp-block-post-excerpt__more-link:after, .wp-block-query article:hover .wp-block-read-more:after, .wp-block-query article:hover .wp-block-post-excerpt__more-link:after {
  opacity: 1;
  right: -2em;
}
.wp-block-query li.post .wp-block-read-more, .wp-block-query li.post .wp-block-post-excerpt__more-link, .wp-block-query article .wp-block-read-more, .wp-block-query article .wp-block-post-excerpt__more-link {
  display: inline-block;
  text-decoration: none;
  color: var(--wp--preset--color--dark);
  font-weight: var(--wp--custom--font-weight--bold);
  position: relative;
}
.wp-block-query li.post .wp-block-read-more:before, .wp-block-query li.post .wp-block-post-excerpt__more-link:before, .wp-block-query article .wp-block-read-more:before, .wp-block-query article .wp-block-post-excerpt__more-link:before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--wp--preset--color--dark);
  transition: all 0.3s ease-in-out;
}
.wp-block-query li.post .wp-block-read-more:after, .wp-block-query li.post .wp-block-post-excerpt__more-link:after, .wp-block-query article .wp-block-read-more:after, .wp-block-query article .wp-block-post-excerpt__more-link:after {
  content: "";
  opacity: 0;
  position: absolute;
  bottom: -7px;
  right: -20px;
  width: 14px;
  height: 14px;
  background-color: var(--wp--preset--color--dark);
  border-radius: 50%;
  border: 2px solid var(--wp--preset--color--white);
  outline: 2px solid var(--wp--preset--color--dark);
  transition: all 0.3s ease-in-out;
}
.wp-block-query li.post .wp-block-read-more:hover:before, .wp-block-query li.post .wp-block-post-excerpt__more-link:hover:before, .wp-block-query article .wp-block-read-more:hover:before, .wp-block-query article .wp-block-post-excerpt__more-link:hover:before {
  width: 115%;
}
.wp-block-query li.post .wp-block-read-more:hover:after, .wp-block-query li.post .wp-block-post-excerpt__more-link:hover:after, .wp-block-query article .wp-block-read-more:hover:after, .wp-block-query article .wp-block-post-excerpt__more-link:hover:after {
  opacity: 1;
  right: -2em;
}

.wp-block-query-pagination {
  padding-top: var(--wp--preset--spacing--sm);
  padding-bottom: var(--wp--preset--spacing--m);
  gap: 0;
}
.wp-block-query-pagination .page-numbers, .wp-block-query-pagination .wp-block-query-pagination-next, .wp-block-query-pagination .wp-block-query-pagination-previous {
  color: var(--wp--preset--color--secondary);
  padding-top: calc(var(--wp--preset--spacing--xs) - 2px);
  padding-bottom: calc(var(--wp--preset--spacing--xs) - 2px);
  padding-left: var(--wp--preset--spacing--s);
  padding-right: var(--wp--preset--spacing--s);
  font-weight: var(--wp--custom--font-weight--extrabold);
  text-decoration: none;
}
.wp-block-query-pagination .wp-block-query-pagination-next, .wp-block-query-pagination .wp-block-query-pagination-previous {
  padding-left: var(--wp--preset--spacing--xs);
  padding-right: var(--wp--preset--spacing--xs);
}
.wp-block-query-pagination .wp-block-query-pagination-next .wp-block-query-pagination-previous-arrow, .wp-block-query-pagination .wp-block-query-pagination-next .wp-block-query-pagination-next-arrow, .wp-block-query-pagination .wp-block-query-pagination-previous .wp-block-query-pagination-previous-arrow, .wp-block-query-pagination .wp-block-query-pagination-previous .wp-block-query-pagination-next-arrow {
  margin: 0;
}
.wp-block-query-pagination .current {
  padding-left: var(--wp--preset--spacing--sm);
  padding-right: var(--wp--preset--spacing--sm);
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--white);
}

.wp-block-query li.flotte .wp-block-button:has(a:not([href])), .wp-block-query li.flotte .wp-block-button:has(a[href=""]) {
  display: none;
}
.wp-block-query .taxonomy-type-navire a {
  text-transform: uppercase;
  font-weight: var(--wp--custom--font-weight--bold);
  font-size: clamp(0.813rem, 0.813rem + 0vw, 0.813rem);
  text-decoration: none;
  color: var(--wp--preset--color--secondary);
}
.wp-block-query .wp-block-post-excerpt__more-text {
  margin-top: var(--wp--preset--spacing--xs);
}

.wp-block-query li.flotte .wp-block-read-more, .wp-block-query li.flotte .wp-block-post-excerpt__more-link, .wp-block-query li.activite .wp-block-read-more, .wp-block-query li.activite .wp-block-post-excerpt__more-link {
  display: none;
}

.wp-block-query li.recrutement > .wp-block-group {
  position: relative;
  z-index: 10;
}
.wp-block-query li.recrutement .wp-block-post-terms a {
  text-transform: uppercase;
  font-weight: var(--wp--custom--font-weight--bold);
  font-size: clamp(0.813rem, 0.813rem + 0vw, 0.813rem);
  text-decoration: none;
  color: var(--wp--preset--color--secondary);
}
.wp-block-query li.recrutement .wp-job-data {
  text-transform: uppercase;
  font-weight: var(--wp--custom--font-weight--bold);
  color: var(--wp--preset--color--secondary);
  font-size: clamp(0.813rem, 0.813rem + 0vw, 0.813rem);
}
.wp-block-query li.recrutement .wp-block-read-more {
  display: inline-block;
  text-decoration: none;
  position: relative;
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--white);
  padding-top: calc(var(--wp--preset--spacing--xs) - 2px);
  padding-bottom: calc(var(--wp--preset--spacing--xs) - 2px);
  padding-left: var(--wp--preset--spacing--sm);
  padding-right: var(--wp--preset--spacing--sm);
  font-weight: var(--wp--custom--font-weight--bold);
  line-height: var(--wp--custom--line-height--narrow);
}
.wp-block-query li.recrutement .wp-block-read-more:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--wp--preset--color--white);
  border: 2px solid var(--wp--preset--color--white);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: -1;
  transition: all 0.3s ease-in-out;
}
.wp-block-query li.recrutement .wp-block-read-more:hover {
  background-color: var(--wp--preset--color--primary);
}
.wp-block-query li.recrutement .wp-block-read-more:hover:after {
  background: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--secondary);
}

@media screen and (max-width: 480px) {
  .wp-block-column:has(#map) .wp-block-group.is-style-primary {
    flex-direction: column;
  }
}
@media screen and (max-width: 781px) {
  .wp-block-column:has(#map) .wp-block-group.is-style-primary {
    justify-content: center;
  }
}
@media screen and (min-width: 1320px) {
  .wp-block-column:has(#map) .wp-block-group.is-style-primary {
    justify-content: center;
    gap: var(--wp--preset--spacing--xl);
  }
}
/****************************************************************************/
/* PATTERNS
/****************************************************************************/
.wp-block-group.hero:has(.rank-math-breadcrumb) {
  max-width: 912px;
  margin: 0 auto;
}
.wp-block-group.hero:has(.rank-math-breadcrumb) > p {
  font-weight: var(--wp--custom--font-weight--bold);
  color: var(--wp--preset--color--dark);
}

.hero .wp-block-post-terms, .hero .wp-job-data {
  text-transform: uppercase;
  font-weight: var(--wp--custom--font-weight--bold);
  color: var(--wp--preset--color--secondary);
}
.hero .wp-block-post-terms a {
  text-decoration: none;
}
.hero .wp-block-categories-list {
  margin-top: var(--wp--preset--spacing--s);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--wp--preset--spacing--s);
  list-style: none;
}
.hero .wp-block-categories-list a {
  display: inline-block;
  text-decoration: none;
  position: relative;
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--white);
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--s);
  font-weight: var(--wp--custom--font-weight--bold);
}
.hero .wp-block-categories-list a:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--wp--preset--color--white);
  border: 2px solid var(--wp--preset--color--white);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: -1;
  transition: all 0.3s ease-in-out;
}
.hero .wp-block-categories-list a:hover {
  background-color: var(--wp--preset--color--primary);
}
.hero .wp-block-categories-list a:hover:after {
  background: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--secondary);
}

.hero-slider-swiper .swiper-button-next {
  top: auto;
  bottom: 40px;
  right: 20px;
  opacity: 0.6;
}
.hero-slider-swiper .swiper-button-next:after {
  content: "";
  background: url("./assets/svg/arrow-next.svg") no-repeat center center;
  background-size: contain;
  width: 24px;
  height: 24px;
  display: block;
}
.hero-slider-swiper .swiper-button-prev {
  top: auto;
  bottom: 40px;
  right: 40px;
  left: auto;
  opacity: 0.6;
}
.hero-slider-swiper .swiper-button-prev:after {
  content: "";
  background: url("./assets/svg/arrow-prev.svg") no-repeat center center;
  background-size: contain;
  width: 24px;
  height: 24px;
  display: block;
}
.hero-slider-swiper .swiper-button-disabled {
  display: none;
}
.hero-slider-swiper .swiper-pagination {
  right: 80px;
  width: -moz-max-content;
  width: max-content;
  left: auto;
  bottom: 30px;
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--xl);
  font-family: var(--wp--preset--font-family--primary);
  opacity: 0.6;
}
.hero-slider-swiper .swiper-pagination .swiper-pagination-current {
  font-size: clamp(2rem, 1.196rem + 2.143vw, 3.125rem);
  font-weight: var(--wp--custom--font-weight--bold);
}
.hero-slider-swiper .swiper-pagination .swiper-pagination-current:before {
  content: "0";
}
.hero-slider-swiper .swiper-pagination .swiper-pagination-total {
  font-size: clamp(1.125rem, 0.813rem + 0.833vw, 1.563rem);
  font-weight: var(--wp--custom--font-weight--light);
}
.hero-slider-swiper .swiper-pagination .swiper-pagination-total:before {
  content: "0";
}

/****************************************************************************/
/* BLOCKS
/****************************************************************************/