/*
Theme Name: Pacific Puddle Jump Child
Theme URI: https://www.webcaruel.fr/
Description: Thème enfant personnalisé pour Pacific Puddle Jump basé sur Divi.
Author: Webcaruel
Author URI: https://www.webcaruel.fr/
Template: Divi
Version: 1.0.0
*/

@import url("../Divi/style.css");

@font-face {
    font-family: 'LeoSans';
    src: url('fonts/LEonardo-Demo-Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Bandeau défilant */
.ppj-bandeau-defilant {
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    position: relative;
}

.ppj-marquee {
  display: flex;
  overflow: hidden;
}

.ppj-marquee-inner {
  display: flex;
  animation: defilement-loop 80s linear infinite;
}

@keyframes defilement-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


.ppj-breve-titre {
    display: inline-block;
    margin: 0 15px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
}

.ppj-breve-titre:hover {
    color: #f6a296;
}

.ppj-vague {
    vertical-align: middle;
    margin: 0 10px;
    height: 16px;
}

/* dernière news */
.ppj-last-news-card {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    font-family: 'Montserrat', sans-serif;
    color: black;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    padding: 20px;
    background-color: #eee;
    overflow: hidden; /* pour contenir l'overlay */
}

/* Overlay noir */
.ppj-last-news-card::before {
    content: '';
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background: rgba(0, 0, 0, 0.2); /* noir 20% */
    z-index: 1;
}

@media screen and (max-width: 767px) {
    .ppj-last-news-card {
        height: 80vh;
    }
}
@media screen and (min-width: 767px) {
    .ppj-last-news-card {
        height: 90vh;
    }
}

.ppj-last-news-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ppj-last-news-heading {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
}

.ppj-last-news-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ppj-last-news-title {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.ppj-arrow-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.ppj-arrow-link:hover {
    transform: translateX(5px);
}

.ppj-last-news-arrow {
    height: 40px;
    width: auto;
    vertical-align: middle;
}


.ppj-last-news-meta {
    font-size: 0.8rem;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.ppj-category {
    font-weight: bold;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    .ppj-last-news-heading{
        line-height: 100%;
    }

    .ppj-last-news-arrow{
        width: 40px;
        height: auto;
    }

    .ppj-last-news-content {
        padding:15px;
    }
}

/* 4 news */
.ppj-news-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.ppj-news-card-link {
    display: block;
    text-decoration: none;
    color: black;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    border-right: 4px solid transparent;
    border-radius: 20px;
    padding: 6px;
    background-color: transparent;
}

.ppj-news-card-thumb-wrapper {
    overflow: hidden;
    border-radius: 16px;
    transition: box-shadow 0.3s ease;
}

/* Effet de "bordure extérieure" au hover */
.ppj-news-card-link:hover .ppj-news-card-thumb-wrapper {
    box-shadow: 7px 7px 0px 0px #f6a296;
}


.ppj-news-card-thumb {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

/*.ppj-news-card-link:hover .ppj-news-card-thumb {
    transform: scale(1.02);
}*/

.ppj-news-card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 5px 5px;
    gap: 10px;
}

.ppj-news-card-text {
    flex: 1;
}

.ppj-news-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: black;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.ppj-news-card-link:hover .ppj-news-card-title {
    color: #f6a296;
}

.ppj-news-card-meta {
    font-size: 0.8rem;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
}

.ppj-news-card-category {
    font-weight: bold;
    text-transform: uppercase;
}

.ppj-news-card-arrow-link {
    margin-top: 2px;
    display: inline-block;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.ppj-news-card-link:hover .ppj-news-card-arrow-link {
    transform: translateX(5px);
}

.ppj-news-card-arrow {
    height: 24px;
    width: auto;
}

/* Responsive */
@media screen and (max-width: 767px) {
    .ppj-news-card-grid {
        grid-template-columns: 1fr;
    }

    .ppj-news-card-thumb {
        height: 160px;
    }

    .ppj-news-card-content {
        align-items: flex-start;
        flex-direction: row;
    }

    .ppj-news-card-arrow-link {
        align-self: flex-end;
        margin-top: 10px;
    }

    .ppj-last-news-hero-excerpt {
      max-width: 90% !important;
    }
}


/* CTA bouton menu */
.right-button-container {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
}
.right-button-wrapper {
  position: relative;
  display: inline-block;
  margin: 0;
}
.right-button-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  border-radius: 25px;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.right-button-wrapper:hover::before {
  opacity: 1;
}
.right-button-front {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 6px 20px;
  font-family: 'leosans';
  font-size: 14px;
  font-weight: 800;
  color: black;
  background: transparent;
  border: 2px solid black;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.1s ease, background-color 0.1s ease;
  line-height: 1.1;
}
.right-button-front:hover {
  transform: translate(4px, -4px);
  background: white;
}

/* Texte sous menu */
.ppj-footer-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
}

.ppj-footer-text p {
    color: #000000;
}

/* Any question */

.ppj-ask-btn {
    position: fixed;
    top: 250px;
    right: 0;
    background-color: #f7a296;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 25px 0 0 25px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 9999;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    max-width: 50px;
}

.ppj-ask-icon {
    width: 20px;
    height: auto;
    margin-right: 10px;
    flex-shrink: 0;
}

.ppj-ask-text {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
    .ppj-ask-btn:hover {
        max-width: 220px;
    }

    .ppj-ask-btn:hover .ppj-ask-text {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile click toggle */
@media (hover: none), (pointer: coarse) {
    .ppj-ask-btn.expanded {
        max-width: 220px;
    }

    .ppj-ask-btn.expanded .ppj-ask-text {
        opacity: 1;
        visibility: visible;
    }
}

/* menu */
.centrer-verticalement {
  display: flex;
  flex-direction: column;
  justify-content: center;

/* Et les déclinaisons avec préfixes pour obtenir un résultat homogène sur les divers navigateurs  */
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
}

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    margin-right: 30px !important;
    margin-left: 30px !important;
}

.et_mobile_menu {
    border: none;
}

.et_mobile_menu li a {
    color: #000000;
}

/* Switcher langue */
.country-selector.weglot-dropdown .wgcurrent a, .country-selector.weglot-dropdown .wgcurrent span {
    padding-right: 15px;
}

.country-selector.weglot-dropdown .wgcurrent {
    border: none;
}

.country-selector.weglot-dropdown .wgcurrent:after {
    transform: rotate(-0deg);
}

.country-selector.weglot-dropdown ul {
    border: none;
}

.wg-li {
    list-style: none;
}

.modules-cote-a-cote{
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
}

.et_pb_code_0_tb_header a.right-button {
    margin-bottom: 0 !important;
}

/* gabarit brève */
.et_post_meta_wrapper{
    display: none;
}

.container {
    width: 90%;
    max-width: 1600px;
    margin: auto;
    position: relative;
}

/* Sous menu */
.ppj-sous-menu-container {
    display: inline-block;
}

.ppj-sous-menu {
    list-style: none;
    padding: 0 !important;
    margin: 0;
    list-style-type: none !important;
}

.ppj-sous-menu li {
    padding-right: 15px !important;
    position: relative;
    margin-bottom: 15px;
}

.ppj-sous-menu a {
    font-family: 'Montserrat', sans-serif;
    font-size: 58px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    display: inline-block;
    transition: color 0.3s ease;
    line-height: 65px;
}

@media (max-width: 767px) {
    .ppj-sous-menu a {
        font-size: 28px;
        line-height: 100%;
    }
}

@media (min-width: 767px) {
    .ppj-sous-menu a::after {
      content: '';
      display: inline-block;
      width: 45px;
      height: 45px;
      margin-left: 10px; /* espace entre mot et point */
      background-color: #F7A296;
      border-radius: 50%;
      opacity: 0;
      transform: translateX(-6px);
      transition: transform 0.3s ease, opacity 0.3s ease;
      vertical-align: middle;
      margin-top: -4px;
  }
}

.ppj-sous-menu a:hover {
    color: #F7A296;
}

.ppj-sous-menu a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* liste partenaires */

/* Liste partenaires */
.ppj-partners-list {
  display: grid;
  gap: 60px;                 /* espace entre les partenaires */
}

/* Une ligne partenaire : logo à gauche, infos à droite */
.ppj-partner {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* logo / texte */
  align-items: center;
  gap: 40px;
}

/* Colonne gauche : logo */
.ppj-partner-logo img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.ppj-partner-logo {
    display: flex;
    align-content: center;
    justify-content: center;
}

/* Colonne droite : titre, descriptif, flèche */
.ppj-partner-info {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  align-content: start;
}

.ppj-partner-title {
  color: #000000;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 26px;
}

.ppj-partner-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #222;
}

/* Flèche */
.ppj-partner-arrow {
  justify-self: start;
  display: inline-block;
  transition: transform .25s ease;
}
.ppj-partner-arrow img {
  width: 28px;               /* ajuste la taille selon ton SVG */
  height: auto;
  display: block;
}
.ppj-partner-arrow:hover {
  transform: translateX(6px);
}

/* Responsive */
@media (max-width: 900px) {
  .ppj-partner { grid-template-columns: 1fr; }
  .ppj-partner-logo { order: 1; }
  .ppj-partner-info { order: 2; }
}


/* liste news avec filtres */

/* Barre de catégories au-dessus des news */
.ppj-newsfilter-container { display: inline-block; margin-bottom: 25px; }
.ppj-newsfilter { list-style: none; margin: 0; padding: 0; }
.ppj-newsfilter li { display: block; margin: 8px 0; }

/* même style que ton sous-menu */
.ppj-newsfilter-link {
  position: relative;
  font-family: 'Montserrat', sans-serif; /* ou 'leosans' si tu veux */
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  display: inline-block;
  transition: color .3s ease;
}

/* rond rose qui apparaît à DROITE du texte */
.ppj-newsfilter-link::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  border-radius: 50%;
  background-color: #F7A296;
  opacity: 0;
  transform: translateX(-6px);
  transition: transform .3s ease, opacity .3s ease;
  vertical-align: middle;
}

/* hover + état courant */
.ppj-newsfilter-link:hover,
.ppj-newsfilter-link.current {
  color: #F7A296;
}
.ppj-newsfilter-link:hover::after,
.ppj-newsfilter-link.current::after {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive (optionnel) */
@media (max-width: 767px) {
  .ppj-newsfilter-link { font-size: 22px; }
}


.current-menu-item a{
    font-weight: 400 !important;
}

/* Pagination */
.ppj-pagination {
  text-align: center;
  margin-top: 40px;
  font-family: 'Montserrat', sans-serif;
}

.ppj-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 12px;
}

.ppj-pagination li {
  display: inline-block;
}

.ppj-pagination a,
.ppj-pagination span {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  padding: 6px 12px;
  border-radius: 50%;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* état courant */
.ppj-pagination .current {
  color: #F7A296;
}

/* hover */
.ppj-pagination a:hover {
  color: #F7A296;
}


/* Fil ariane */

.ppj-home-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: black;
}

.ppj-breadcrumbs {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  color: #444;
}

.ppj-breadcrumbs a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ppj-breadcrumbs a:hover {
  color: #F7A296;
}


/* Dernière news hero */
.ppj-last-news-hero {
  position: relative;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  color: #222;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  height: 0;
}

/* Overlay noir */
.ppj-last-news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2); /* noir 20% */
  z-index: 1;
  border-radius: inherit; /* suit le border-radius */
}

.ppj-last-news-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;  /* <-- clé ici */
  height: 100%;
  padding: 40px;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
}

/* Haut */
.ppj-last-news-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.ppj-last-news-hero-heading {
  font-family: 'Montserrat';
  color: #ffffff;
  text-transform: uppercase !important;
  font-size: 35px;
  font-weight: 400;
  text-transform: none;
}

.ppj-last-news-hero-category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color:#ffffff;
}

/* Bas */
.ppj-last-news-hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ppj-last-news-hero-title {
  font-size: 28px;
  color: #ffffff;
  font-weight: 800;
  text-transform:uppercase;
    max-width: 50%;
  margin: 0 0 15px;
}

.ppj-last-news-hero-excerpt {
  font-size: 14px;
  line-height: 1;
  color: #ffffff;
  margin: 0 0 20px;
  max-width: 40%;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ppj-last-news-hero-footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.ppj-last-news-hero-read {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.ppj-last-news-hero-read:hover {
  color: #F7A296;
}

.ppj-last-news-hero-read img {
  width: 16px;
  height: auto;
  transition: transform 0.3s ease;
}

.ppj-last-news-hero-read:hover img {
  transform: translateX(5px);
}
/* masquer fil d'ariane dans breve */
body.single-breve  div.ppj-breadcrumbs {
  display: none;
}

#menu-item-1616 > a {
  display: none;
}
#menu-item-weglot-1616-fr{
  padding-left: 0;
}