/*
Theme Name: Maiko Child
Theme URI: http://demo.casethemes.com/maiko/
Author: Case-Themes
Author URI: https://themeforest.net/user/case-themes/
Description: Maiko is a premium WordPress theme designed for architecture portfolios, agencies, and businesses. With a clean and modern design, it provides responsive layouts, grid-based sections, and extensive customization options to showcase your projects effectively.
Version: 1.0.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: maiko
Text Domain: maiko-child
Tags: architecture, portfolio, design, creative, modern, minimalist, photography, agency, responsive, grid
Requires at least: 5.8 or Higher
Requires PHP: 7.4 or Higher
Tested up to: 6.4

Copyright (c) 2024 Case-Themes. All rights reserved.
This theme is licensed under the GPL-2.0+ license.
*/


/* =========================================================
   BASE / UTIL
========================================================= */
.topmenu { height: 50px; }
.hide { display: none !important; }

/* =========================================================
   TABLE WRAPPER (général)
========================================================= */
.table-wrapper{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* =========================================================
   VIRTUAL LIBRARY – TABLE "library-list"
========================================================= */
table.library-list{
  width: 100%;
  border-collapse: collapse;
}

table.library-list tbody tr:nth-child(even){ background: #f5f5f5; }
table.library-list tbody tr:hover{ background: #eaeaea; }

.library-list th,
.library-list td{
  padding: 20px 10px;
  text-align: left;
  border-bottom: 0;
  vertical-align: middle;
}

/* Header */
.library-list thead th{
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
}

/* Nom / description */
.library-list td.doc-name{
  max-width: 310px;
  white-space: normal;
  overflow: hidden;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;

  text-overflow: ellipsis;
  line-height: 1.3em;
}

.library-list td.doc-name a{
  color: #000;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}
.library-list td.doc-name a:hover{ text-decoration: underline; }

.library-list td.doc-name .doc-description{
  font-size: 14px;
  color: #666;
  line-height: 1.2;
  margin-top: 5px;
}

/* Type / Product */
.library-list td.doc-type,
.library-list td.doc-product{
  max-width: 150px;
  white-space: normal;
  line-height: 1.3em;
}

/* Icons */
.format-icon{
  width: 24px;
  height: auto;
  vertical-align: middle;
}

.download-icon{
  width: 20px;
  height: auto;
  max-height: 20px;
  vertical-align: middle;
  display: inline-block;
}

.system-icon{
  font-size: 14px;
  padding: 2px 6px;
  background-color: #f0f0f0;
  border-radius: 4px;
  display: inline-block;
}

/* Format cell */
.format-cell{
  text-align: center !important;
  vertical-align: middle !important;
}
.format-cell img.format-icon{
  display: inline-block;
  max-height: 45px;
  width: auto;
  margin: 0 auto;
}

/* Virtual Library – MOBILE */
@media (max-width: 768px){
  table.library-list{ min-width: 900px; }
}

/* =========================================================
   VIRTUAL LIBRARY – TABLE COL WIDTHS (si utilisée ailleurs)
========================================================= */
.document-table th{ text-align: left; }
.document-table th:nth-child(1){ width: 25%; }
.document-table th:nth-child(2){ width: 8%; }
.document-table th:nth-child(3){ width: 13%; }
.document-table th:nth-child(4){ width: 13%; }
.document-table th:nth-child(5){ width: 9%; }
.document-table th:nth-child(6){ width: 9%; }
.document-table th:nth-child(7){ width: 10%; }

/* =========================================================
   PAGE-ID-41886 – LIBRARY (borderless + access hide)
========================================================= */
body.page-id-41886 th,
body.page-id-41886 td,
body.page-id-41886 table{
  border: none;
}

body.page-id-41886:not(.logged-in) .facetwp-facet,
body.page-id-41886:not(.logged-in) .facetwp-sort,
body.page-id-41886:not(.logged-in) .facetwp-count,
body.page-id-41886:not(.logged-in) .facetwp-pager,
body.page-id-41886:not(.logged-in) .results-count,
body.page-id-41886:not(.logged-in) .facetwp-template,
body.page-id-41886:not(.logged-in) .table-wrapper{
  display: none !important;
}

/* =========================================================
   FACETWP – GENERAL
========================================================= */
.facetwp-facet{ margin-bottom: 0 !important; }
.facetwp-facet select{ height: auto; }

/* =========================================================
   PROJECTS – RESULTS COUNTER
========================================================= */
#projects-results-counter{
  margin-bottom: .75rem;
  font-weight: 600;
  text-align: right;
  margin-top: 15px;
}

/* =========================================================
   PROJECTS – FACETS (Year, Country, Province, City, Search, Reset)
========================================================= */
.projects-facets.facets--projects{
  width: 100%;
  display: grid;
  gap: 18px;
  align-items: center;

  grid-template-columns: 150px 240px 240px 240px minmax(260px, 1fr) 140px;

  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 20px 0;
  margin: 15px 0;
}

.projects-facets.facets--projects .facetwp-facet,
.projects-facets.facets--projects .facetwp-input-wrap,
.projects-facets.facets--projects .facet--provincestate{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.projects-facets.facets--projects select,
.projects-facets.facets--projects input{
  width: 100%;
  height: 50px;
  box-sizing: border-box;
}

/* Reset (FacetWP) */
.projects-facets.facets--projects .facetwp-reset{
  width: 100%;
  height: 50px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;

  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;

  cursor: pointer;
  transition: all .2s ease;
}
.projects-facets.facets--projects .facetwp-reset:hover{
  background: #fff !important;
  color: #000 !important;
}

/* (Optionnel) bouton custom reset */
.projects-reset-btn{
  height: 50px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  transition: all .2s ease;
}
.projects-reset-btn:hover{
  background: #fff;
  color: #000;
}

/* View all (si présent) */
.facetwp-view-all{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  min-width: 110px;
  padding: 10px;

  border: 1px solid #d9d9d9;
  background: #fff;
  color: #222;

  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;

  cursor: pointer;
  transition: all .2s ease;
}
.facetwp-view-all:hover{ background: #f5f5f5; }

@media (max-width: 980px){
  .projects-facets.facets--projects{ grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 680px){
  .projects-facets.facets--projects{ grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 420px){
  .projects-facets.facets--projects{ grid-template-columns: 1fr; }
}

/* Country text-transform */
.projects-facets.facets--projects .facetwp-facet-country select,
.projects-facets.facets--projects .facetwp-facet-country select option{
  text-transform: capitalize !important;
}
.projects-list-table td.single-project-list-country{
  text-transform: none !important;
}

/* =========================================================
   PROJECTS – TABLE
========================================================= */
table.projects-list-table{
  width: 100%;
  min-width: 1100px;
  table-layout: fixed;
  border-collapse: collapse;
}

.projects-list-table th,
.projects-list-table td{
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  font-size: 15px;        /* ✅ plus petit */
  line-height: 1.35;
  vertical-align: middle;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects-list-table th{
  background: #fafafa;
  font-weight: 600;
}

/* Colonnes */
.projects-list-table th:nth-child(1),
.projects-list-table td:nth-child(1){ width: 75px; }

.projects-list-table th:nth-child(2),
.projects-list-table td:nth-child(2){ width: 27%; }

.projects-list-table th:nth-child(3),
.projects-list-table td:nth-child(3){ width: 19%; }

.projects-list-table th:nth-child(4),
.projects-list-table td:nth-child(4){ width: 13%; }

.projects-list-table th:nth-child(5),
.projects-list-table td:nth-child(5){ width: 19%; }

.projects-list-table th:nth-child(6),
.projects-list-table td:nth-child(6){ width: 19%; }

/* Exceptions: NAME + APPLICATION multi-lignes */
.projects-list-table td:nth-child(2),
.projects-list-table td:nth-child(5){ white-space: normal; }

.projects-list-table td:nth-child(5) p{
  margin: 0 !important;
  line-height: 1.35;
}

/* Icon links */
.single-project-list-name a.proj-lightbox,
.single-project-list-name a.pxl-btn-video{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-left: 6px;
}

.single-project-list-name .proj-ico{
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}
.single-project-list-name a:hover .proj-ico{
  opacity: 1;
  transform: translateY(-1px);
}

/* =========================================================
   NEWSLETTER / VIDEO ICONS
========================================================= */
.video-wrapper,
.newsletter-wrapper{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.video-icon,
.newsletter-icon{
  width: 100px;
  height: 100px;
  border: 3px solid #00b8d4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-icon i,
.newsletter-icon i{
  font-size: 46px;
  color: #00b8d4;
  transition: color 0.3s ease;
}

.video-label,
.newsletter-label{
  font-size: 16px;
  font-weight: normal;
  color: #000;
  text-align: left;
}

.video-icon:hover,
.newsletter-icon:hover{ border-color: #009fbc; }
.video-icon:hover i,
.newsletter-icon:hover i{ color: #009fbc; }

/* =========================================================
   HOVER REVEAL (Elementor repeater)
========================================================= */
.hover-reveal{
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.elementor-repeater-item-59f459c:hover .hover-reveal{
  display: inline;
  opacity: 1;
}
.elementor-repeater-item-59f459c:hover .hover-text{ display: none; }

.elementor-repeater-item-59f459c:hover span{
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* =========================================================
   TOAST / VIDEO UI HIDES
========================================================= */
button[class*="ToastButton_module_toastButton"][class*="ToastButton_module_fullToast"]{
  display: none !important;
}

button[aria-label*="Unmute"],
button[aria-label*="Activer le son"],
button[aria-label*="Rétablir le son"]{
  display: none !important;
}

/* =========================================================
   TSPIRALIFT TABLE
========================================================= */
.tspiralift table{ min-width: 220px; }
.tspiralift td{ height: 38px; }

/* =========================================================
   ABOUT LIST
========================================================= */
.about ul{ line-height: 21px; }
.about ul li{ margin-bottom: 15px; }

/* =========================================================
   PXL THEME TWEAKS
========================================================= */
.pxl-team-carousel1 .pxl-item--image::after{ background-image: none !important; }
.pxl-team-carousel1 .pxl-item--image img{ filter: none; }

.pxl-heading .pxl-title--highlight{
  color: var(--secondary-color);
  display: contents;
}

.pxl--btn-text h3{
  font-size: 1.5em;
  line-height: 1em;
  color: #fff;
}

.pxl-banner1 .btn-banner{ padding: 6.05vw 50px 51px 43px; }

.page-id-38973 .pxl-banner1 .btn-banner{
  position: absolute;
  background-color: var(--secondary-color);
  max-width: 475px;
  padding: 50px 30px 30px;
}

.page-id-39218 .pxl-post--inner{ border-radius: 0 !important; }
.page-id-39218 .pxl-post--icon{ display: none !important; }

.page-id-39218 .pxl-service-list.layout-service-list-3 .pxl-post--featured{ border-radius: 0 !important; }
.page-id-39218 .pxl-service-list.layout-service-list-3 .pxl-post--featured img{
  border-radius: 0 !important;
  clip-path: inset(0);
}

.pxl-portfolio-grid-layout1 .pxl-grid-item .pxl-post--inner .pxl-post--content{
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 0;
  color: #f2f2f2;
}

.pxl-post--category a,
.pxl-post--title a{
  line-height: 1.0;
  display: inline-block;
}

.pxl-portfolio-grid-layout1 .pxl-grid-item .pxl-post--inner .pxl-post--holder .pxl-post--title a,
.pxl-portfolio-grid-layout1 .pxl-grid-item .pxl-post--inner .pxl-post--holder .pxl-post--category a{
  line-height: 1.0;
}

/* Désactive coins sur bouton */
.btn-default:before,
.btn-default:after,
.btn-default .pxl--btn-text:before,
.btn-default .pxl--btn-text:after{
  content: none !important;
  border: 0 !important;
}

/* =========================================================
   ELEMENTOR / MISC
========================================================= */
.elementor-39409 .elementor-element.elementor-element-99ff78b .elementor-testimonial-name{
  text-align: center;
}
.elementor-39409 .elementor-element.elementor-element-72ee3dd{ display: block; }

.elementor-image-carousel-caption{
  background-color: #000;
  color: #fff;
  width: 100%;
  padding: 10px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
}

.elementor-portfolio-item__title{ text-transform: uppercase; }

.page-id-5160 .elementor-element-1771000 .elementor-spacer-inner{
  height: 50px !important;
}

.elementor-video { pointer-events: none; }

/* =========================================================
   GALA LOGIN FORM
========================================================= */
.gala-login-form{
  padding: 40px 50px;
  max-width: 520px;
}

.gala-login-title{
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px;
}

.gala-login-intro{
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.6;
}

.gala-login-fields{ margin: 0; }

.gala-login-field{
  margin-bottom: 18px;
  position: relative;
}

.gala-login-label{
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gala-login-input{
  width: 100%;
  border: none;
  border-bottom: 1px solid #d1d1d1;
  background: transparent;
  padding: 8px 0 10px;
  font-size: 14px;
  outline: none;
}
.gala-login-input:focus{ border-bottom-color: #000; }

.gala-login-actions{ margin-top: 25px; }

.gala-login-button{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-decoration: none;
}
.gala-login-button:hover{ opacity: 0.9; }

.gala-login-arrow{ font-size: 18px; line-height: 1; }

.inner-login .button.trigger__sign-up{
  background: #000 !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 10px 25px !important;
  border: none !important;
  text-transform: none !important;
  font-weight: 500;
  display: inline-block;
  cursor: pointer;
}
.inner-login .button.trigger__sign-up:hover{
  background: #333 !important;
  color: #fff !important;
}

.gala-login-btn.btn.btn-default{
  background-color: #000;
  color: #fff;
  border-radius: 0;
  border: none;
  padding: 0 32px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}

.gala-login-btn .btn-icon-right{
  margin-left: 35px;
  font-size: 18px;
}

#login__error{
  background: #fff !important;
  border: 2px solid #cc0000 !important;
  color: #cc0000 !important;
  padding: 15px 20px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 20px;
}
#login__error p{ margin: 0; }

/* =========================================================
   ✅ GALA SOLUTIONS (FIXÉ – plus de conflits)
========================================================= */
.gala-solutions__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: start;
}

/* ✅ si tu ajoutes une classe côté HTML plus tard, ça marche aussi */
.gala-solutions--single .gala-solutions__grid{
  grid-template-columns: 1fr;
}

/* ✅ moderne : si un seul item, pas de colonne vide */
.gala-solutions__grid:has(> .gala-solutions__item:only-child){
  grid-template-columns: 1fr;
}

.gala-solutions__item{
  display: flex;
  gap: 50px;
  align-items: center;
  padding: 50px 0 0 0;
  border-top: 1px solid rgba(0,0,0,.08);
}

.gala-solutions__item:first-child{
  border-top: none;
  padding-top: 0;
}

/* Image vs texte (✅ proportions) */
.gala-solutions__media{
  flex: 0 0 25%;
  max-width: 25%;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}
.gala-solutions__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gala-solutions__content{
  flex: 1 1 75%;
  min-width: 0;
}

.gala-solutions__placeholder{
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.gala-solutions__h{
  font-size: 32px;
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.gala-solutions__p{
  font-size: 16px;
  line-height: 1.5;
}
.gala-solutions__p p:last-child{ margin-bottom: 0; }

/* CPT service : 1 colonne */
.gala-solutions--service .gala-solutions__grid{
  grid-template-columns: 1fr !important;
}

/* Bouton (plein noir) */
.gala-solutions .pxl-button{
  margin-top: 28px;
}
.gala-solutions .pxl-button > a.btn.btn-default{
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}
.gala-solutions .pxl-button > a.btn.btn-default:hover{
  background: transparent !important;
  color: #000 !important;
}

@media (max-width: 1024px){
  .gala-solutions__grid{ grid-template-columns: 1fr; }
  .gala-solutions__media{ flex: 0 0 320px; max-width: 320px; }
}

@media (max-width: 767px){
  .gala-solutions__item{ flex-direction: column; }
  .gala-solutions__media{ max-width: 100%; flex-basis: auto; }
}

/* =========================================================
   SECTION TITLES / DIVIDERS
========================================================= */
.gala-project-more-title{
  margin: 0 0 calc(var(--kit-widget-spacing, 0px) + 0px) 0;
  padding: 0 0 25px 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 24px;
  color: #000;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.gala-section-title{
  font-size: 92px;
  font-weight: 700;
  line-height: 1.1;
  color: #000;
  margin: 0;
  padding-bottom: 0;
  border: 0;
}

.gala-section-divider{
  height: 1px;
  background: #d9d9d9;
  width: 100%;
  margin-top: -17px;
  margin-bottom: 75px;
}

/* =========================================================
   VOICES – hide when empty (modern support)
========================================================= */
.voices-block:not(:has(.elementor-testimonial-content)) .elementor-widget-pxl_heading,
.voices-block:not(:has(.elementor-testimonial-content)) .elementor-widget-pxl_divider{
  display: none !important;
}
.voices-block:not(:has(.elementor-testimonial-content)){
  display: none !important;
}

/* =========================================================
   LOGOUT LINK
========================================================= */
.gala-logout-link{
  text-align: right;
  margin-bottom: 25px;
}
.gala-logout-link a{
  color: #000;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  padding: 18px 18px;
  border: 1px solid #000;
  display: inline-block;
  transition: all 0.25s ease;
}
.gala-logout-link a:hover{
  background-color: #000;
  color: #fff;
}

/* =========================================================
   POSTS MISC
========================================================= */
.post-author,
.post-comments{
  display: none !important;
}

.post-category a{ white-space: pre-wrap; }
.post-category a::before,
.post-category a::after{ content: ""; }

/* =========================================================
   CONTACT FORM
========================================================= */
.pxl-contact-form .wpcf7-acceptance .wpcf7-list-item-label{
  font-size: 12px;
  color: #666;
  display: block;
}

.pxl-contact-form .ctf-field-help {
  margin-top: -12px;
  display: block;

  font-size: 12px;
  font-style: italic;
  color: #666;
}

/* =========================================================
   SORTABLE COLS (Library table headers)
========================================================= */
th.sortable { cursor: pointer; }
th.sortable .sort-icons { cursor: pointer; }
th.sortable:hover .sort-icons { opacity: 0.8; }
th.sortable:hover { color: #000; }

/* =========================================================
   POST NAV (PXL)
========================================================= */
.pxl-post-navigation .next-post-title,
.pxl-post-navigation .prev-post-title{
  width: 320px !important;
  left: 0;
  right: 0;
}
.pxl-post-navigation .next-post-title h3,
.pxl-post-navigation .prev-post-title h3{
  font-size: 13px;
  text-align: center;
  font-weight: 500;
  text-transform: uppercase;
}

/* =========================================================
   PXL-PORTFOLIO-CAROUSEL padding fix
========================================================= */
.pxl-portfolio-carousel1 .pxl-post--inner{
  padding: 60px 41px 79px !important;
}

/* =========================================================
   MISC ADJUSTS
========================================================= */
.pxl-counter7 .pxl-counter--holder.active { left: 140px !important; }

.elementor-element-c104244{
  border-left: 1px solid #222;
  padding-left: 50px;
}

.post-tags-share > div .post-shares .social-share .social a{
  border: 1px solid #000;
}

/* =========================================================
   RESET PASSWORD button fix
========================================================= */
.gala-reset-password .btn,
.gala-reset-password button{
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
  opacity: 1 !important;
}
.gala-reset-password .btn:hover,
.gala-reset-password button:hover{
  background-color: #fff !important;
  color: #000 !important;
}

/* =========================================================
   ✅ GLOBAL TYPOGRAPHY (Inter / Jakarta)
========================================================= */
:root{
  --e-global-typography-primary-font-family: "Plus Jakarta Sans";
  --e-global-typography-text-font-family: "Inter";
}

html body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Titres + menu */
h1,h2,h3,h4,h5,h6,
.elementor-heading-title,
.pxl-heading,
.pxl-post--title,
.pxl-post--category,
nav a,
.menu a,
.pxl-menu-primary .pxl-menu-item-text{
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

/* =========================================================
   VIDEO BUTTON: garder le play + zoom au hover
========================================================= */
a.pxl-btn-video:before,
a.pxl-btn-video:after,
a.pxl-btn-video:hover:before,
a.pxl-btn-video:hover:after{
  content: none !important;
  display: none !important;
}

a.pxl-btn-video i,
a.pxl-btn-video:hover i{
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  transition: transform .25s ease, opacity .25s ease;
}

a.pxl-btn-video:hover i{
  transform: scale(1.25);
}

/* =========================================================
   Accordion titles + text
========================================================= */
.pxl-accordion--title .pxl-title-text,
.pxl-accordion--content .pxl-post--title,
.pxl-accordion--content .pxl-post--title a{
  font-weight: 700 !important;
}

.pxl-accordion--content .pxl-post--content{
  line-height: 1.5em !important;
}

/* =========================================================
   ® ™ (superscript)
========================================================= */
sup{
  font-size: 50%;
  vertical-align: super;
  position: relative;
  top: -0.2em;
}

/* =========================================================
   Post cards – interligne des titres
========================================================= */
.pxl-inner-content .pxl-post--title,
.pxl-inner-content .pxl-post--title a{
  line-height: 1.4em !important;
}

/* =========================================================
   Banner titles – bold
========================================================= */
.pxl-banner1 .pxl--btn-text h3{
  font-weight: 700 !important;
  line-height: 1.3em;
}



.post-content {
line-height:1.5em !important;
}

.has-vivid-cyan-blue-color {
line-height:1.2em !important;
}

.single-post .has-medium-font-size,
.pxl-post--content .has-medium-font-size,
.entry-content .has-medium-font-size {
    font-size: 17px !important;
}


.widget-content ul.children{
  display: none !important;
}


.facetwp-facet {
font-size: 15px;
}

.table-wrapper {
font-size: 15px;
}



#pxl-pxl_button-091d5f3-9521 .pxl--btn-text {
    font-size: 16px; 
}

#pxl-pxl_button-091d5f3-6798 .pxl--btn-text {
    font-size: 16px; /* ajuste selon ton besoin */
}

/* Bouton Reset FacetWP */
.facetwp-reset {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

/* Hover */
.facetwp-reset:hover {
    background: #fff;
    color: #000;
}


/* ONLY this button instance */
#pxl-pxl_button-995d562-6501 a.btn.btn-as-text,
#pxl-pxl_button-995d562-6501 a.btn.btn-as-text:not(.btn-stroke){
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: normal !important;
  display: inline !important;
  width: auto !important;
}

/* span interne */
#pxl-pxl_button-995d562-6501 a.btn.btn-as-text .pxl--btn-text{
  padding: 0 !important;
  margin: 0 !important;
  line-height: inherit !important;
}

/* optionnel: style lien */
#pxl-pxl_button-995d562-6501 a.btn.btn-as-text{
  text-decoration: underline;
  cursor: pointer;
}

/* Boutons partout (thème PXL / Maiko) */
.pxl-button .btn,
a.btn.btn-default,
button.btn{
  font-size: 17px;      /* ajuste */
  font-weight: 400;     /* bold */
}

/* Si ton texte est rendu dans .pxl--btn-text (comme ton exemple) */
.pxl-button .btn .pxl--btn-text{
  font-size: inherit;
  font-weight: inherit;
}



/* ===== BG VIDEO COVER + FRAMING SHIFT ===== */

@media (min-width: 1025px) {

.bg-video-lower { --bgshift: -140px; }
.bg-video-upper { --bgshift:  140px; }

.bg-video-lower.elementor-section,
.bg-video-upper.elementor-section {
  position: relative !important;
  overflow: hidden !important;
}

.bg-video-lower .elementor-background-video-container,
.bg-video-upper .elementor-background-video-container {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  overflow: hidden !important;
}

.bg-video-lower .elementor-background-video-embed,
.bg-video-upper .elementor-background-video-embed {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* COVER : aspect-ratio trick pour écraser les px inline d'Elementor */
.bg-video-lower.elementor-section .elementor-background-video-container iframe.elementor-background-video-embed,
.bg-video-upper.elementor-section .elementor-background-video-container iframe.elementor-background-video-embed {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 177.78vh !important;
  height: 56.25vw !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  transform: translate(-50%, -50%) translateY(var(--bgshift)) !important;
}

.bg-video-lower .elementor-background-overlay,
.bg-video-upper .elementor-background-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none;
}

.bg-video-lower > .elementor-container,
.bg-video-upper > .elementor-container {
  position: relative !important;
  z-index: 3 !important;
}

.bg-video-lower.pxl-section-overlay-image .pxl-overlay--image,
.bg-video-upper.pxl-section-overlay-image .pxl-overlay--image {
  display: none !important;
}

.bg-video-lower.pxl-section-overlay-image::before,
.bg-video-lower.pxl-section-overlay-image::after,
.bg-video-upper.pxl-section-overlay-image::before,
.bg-video-upper.pxl-section-overlay-image::after {
  content: none !important;
}

.bg-video-lower .pxl-overlay--image .bg-image,
.bg-video-upper .pxl-overlay--image .bg-image {
  position: absolute !important;
  inset: -10% !important;
  background-size: cover !important;
  background-position: center center !important;
  transform: translateY(var(--bgshift)) !important;
}

/* bg-video-lower : montrer le bas de l'image (équivalent à translateY(-140px)) */
.bg-video-lower .pxl-overlay--image .bg-image {
  background-position: center calc(50% + 140px) !important;
}

/* bg-video-upper : montrer le haut de l'image (équivalent à translateY(+140px)) */
.bg-video-upper .pxl-overlay--image .bg-image {
  background-position: center calc(50% - 140px) !important;
}

/* Fallback vidéo Elementor natif sur la section */
.bg-video-lower.elementor-section {
  background-position: center calc(50% - 140px) !important;
}

.bg-video-upper.elementor-section {
  background-position: center calc(50% + 140px) !important;
}
	}

/* Style pour les liens de langue Weglot */
.menu-item-weglot a {
  color: #00B8D4 !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
}

.menu-item-weglot a span.pxl-menu-item-text {
  color: #00B8D4 !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
}

.custom-404-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
    background: #f7f7f7;
}

.custom-404-inner {
    width: 100%;
    max-width: 760px;
    text-align: center;
}

.custom-404-subtitle {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #00bcd4;
}

.custom-404-title {
    margin: 0 0 20px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 700;
    color: #111;
}

.custom-404-description {
    margin: 0 auto 32px;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.custom-404-description p {
    margin: 0 0 14px;
}

.custom-404-description p:last-child {
    margin-bottom: 0;
}

.custom-404-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.custom-404-button:hover {
    background: #00bcd4;
    color: #111;
}

.error404 header,
.error404 footer {
    display: block !important;
}

.error404 header {
    background: #021E3C;
}

.error404 header {
    background-color: #000;
    height: 180px;
}

.error404 #pxl-content-area,
.error404 .container,
.error404 .row {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.error404 .custom-404-page {
    background: #f5f5f5;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:not(.btn-stroke).btn-default:not(.btn-text-nina, .btn-text-nanuk, .btn-text-smoke, .btn-text-reverse)::before,
.btn:not(.btn-stroke).btn-default:not(.btn-text-nina, .btn-text-nanuk, .btn-text-smoke, .btn-text-reverse)::after {
    content: none !important;
    display: none !important;
}

/* ── Gala Login Form – improved field design ── */

.gala-login-fields .form-group {
  margin-bottom: 24px;
}

.gala-login-fields .form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 8px;   /* ← espace label → input */
}

.gala-login-fields .form-group label + br {
  display: none;        /* supprime le <br> redondant */
}

.gala-login-fields .form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: #1a1a1a;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.gala-login-fields .form-control:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

/* ── Checkbox ── */
.gala-login-fields .checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
  cursor: pointer;
}

.gala-login-fields .checkbox label br {
  display: none;
}

.gala-login-fields .checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #1a1a1a;
  cursor: pointer;
}

/* Enlève le padding de #pxl-main sur les single projets uniquement */
.single-project #pxl-main,
.post-type-archive-project #pxl-main {
  padding: 0 !important;
}

.pxl-portfolio-carousel1 .pxl-post--inner .pxl-post--title a {
    font-size: 25px;
    line-height: 25px;
    font-weight: 400;
}

@media screen and (max-width: 1200px) {
    #pxl-header-elementor .pxl-header-branding img {
        height: 46px;
        width: auto !important;
    }
}