/*=========== GLOBAL STYLES ===========*/

/* Reset and base styles */
:where(.wp-site-blocks *:focus) {
  outline-width: 2px;
  outline-style: solid;
}

:where(.wp-site-blocks) > * {
  margin-block-start: 0 !important;
  margin-block-end: 0;
}

.entry-content {
  margin-block-start: 0 !important;
}

/* Typography */
p {
  text-align: justify;
}

.justified-text {
  text-align: justify !important;
}

/* Buttons */
button {
  background-color: #232026;
  border: none;
}

button:focus,
a:focus {
  outline: none;
  box-shadow: none;
}

button a:hover {
  color: white;
}

.arrow-button {
  display: inline-flex;
  height: 35px;
  padding: 4px 11px;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  color: white;
  background: transparent;
  border: none;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border: 2px solid transparent !important;
}

.arrow-button .arrow {
  font-size: 20px;
}

.arrow-button.right .arrow {
  order: -1; /* Arrow before text */
}

.arrow-button.left .arrow {
  order: -1;
}

.arrow-button:hover {
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.50) !important;
}

.arrow-button:active {
  border-radius: 30px;
  border: 2px solid var(--gold-50, rgba(170, 146, 73, 0.50));
  background: var(--Gold, #8A7242);
}

.read-more-button {
  gap: 13px !important;
  border: 2px solid transparent !important;
  align-items: center;
}

.read-more-button:hover {
  text-decoration: none !important;
  color: white !important;  
  border: 2px solid rgba(255, 255, 255, 0.50) !important;
  border-radius: 30px !important;
  background: rgba(217, 217, 217, 0.00) !important;  
}

.read-more-button:active {
  border-radius: 30px;
  border: 2px solid var(--gold-50, rgba(170, 146, 73, 0.50)) !important;
  background: var(--Gold, #8A7242) !important;
}

/* Images */
.food-menu-image {
  width: 100% !important;
  height: auto !important;
}

.food-menu-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

.img-hover-bigger {
  transition: all 0.2s ease-in-out;
}

.img-hover-bigger:hover {
  transform: scale(1.08);
}

.wp-block-post-featured-image {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

/* Navigation */
nav a, .lang-item a {
  transition: all 0.3s ease;
}

/* Bold styling */
nav a:hover, .lang-item a:hover {
  color: white;
  text-decoration: none;
  text-shadow: 0.6px 0 0 currentColor;
}

/* Language selector items appearing horizontally*/
.lang-item {
  display: inline;
  list-style-type: none;
  padding: 5px;
}

/* Current menu item underline styling */
.current-menu-item > a,
.current_page_item > a {
  text-decoration: underline !important;
}

nav svg {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(76deg) brightness(101%) contrast(101%);  
}

.wp-block-navigation__responsive-container-open svg {
  color: #000000;
}

/* Details/summary elements */
.details-menu > summary {
  list-style-type: none;
  cursor: pointer;
}

.details-menu > summary::-webkit-details-marker,
.details-menu > summary::marker {
  display: none;
}

.details-menu > summary::before {
  content: '→ ';
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  margin-right: 0.5em;
}

.details-menu[open] > summary::before {
  transform: rotate(90deg);
}

details summary {
  outline: none;
}

.details-menu {
  border-radius: 14px;
}

/* Scroll animations */
.scroll-animation {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.scroll-animation.visible {
  opacity: 1;
  transform: translateY(0);
}

/*=========== HEADER STYLES ===========*/

header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* Hide mobile landing image */
.mobile-landing-image {
  display: none !important;	
}
body.home .desktop-landing-image {
  display: block !important;	
}

/* Responsive logo */
.logo-responsive {
  @media screen and (min-width: 1230px) {
    display: none;
  }
}

/* Navigation */
.navigation-langue {
  @media (max-width: 1350px) {
    flex-direction: row-reverse;
  }
}

/*=========== FOOTER STYLES ===========*/

/* Linear gradient from dark grey to dark gold */
footer {
  background: linear-gradient(180deg, #232026 0%, #8A7242 100%);
}

footer p {
  text-align: start;
}

.column-footer a {
  font-size: 16px;
  transition: all 0.3s ease;
}

.column-footer a:hover {
  color: white;
  text-decoration: none;
  text-shadow: 0.6px 0 0 currentColor;
}

.column-copyright a {
  font-size: 12px;
  font-weight: 300;
  transition: all 0.3s ease;
}

.column-copyright a:hover {
  color: white;
  text-decoration: none;
  text-shadow: 0.6px 0 0 currentColor;
}

.colonne-footer-full-height {
  display: flex !important;
  flex-wrap: wrap !important;
  align-content: space-between !important;
}

.colonne-empilee {
  display: flex;
  flex-direction: column;
}

/* Footer map */
footer .embd-map {
  height: 300px;
  width: 450px;
}

/*=========== LANGUAGE HANDLING ===========*/

/* Hide elements based on the active language */
body.fr .header-en,
body.fr .header-de,
body.fr .header-kk,
body.fr .header-ru,
body.fr .footer-en,
body.fr .footer-de,
body.fr .footer-kz,
body.fr .footer-ru {
  display: none !important;
}

body.en .header-fr,
body.en .header-de,
body.en .header-kk,
body.en .header-ru,
body.en .footer-fr,
body.en .footer-de,
body.en .footer-kz,
body.en .footer-ru {
  display: none !important;
}

body.de .header-fr,
body.de .header-en,
body.de .header-kk,
body.de .header-ru,
body.de .footer-fr,
body.de .footer-en,
body.de .footer-kz,
body.de .footer-ru {
  display: none !important;
}

body.kk .header-fr,
body.kk .header-en,
body.kk .header-de,
body.kk .header-ru,
body.kk .footer-fr,
body.kk .footer-en,
body.kk .footer-de,
body.kk .footer-ru {
  display: none !important;
}

body.ru .header-fr,
body.ru .header-en,
body.ru .header-de,
body.ru .header-kk,
body.ru .footer-fr,
body.ru .footer-en,
body.ru .footer-de,
body.ru .footer-kz {
  display: none !important;
}

/* Different typography for languages using cyrillic alphabet */
body.kk.home h3,
body.kk h1,
body.kk h2,
body.ru.home h3,
body.ru h1,
body.ru h2,
body.kk.single-pos h1,
body.ru.single-pos h1 {
  font-family: 'Exo 2';
}

body.kk p,
body.kk a,
body.ru p,
body.ru a {
  font-family: 'Open Sans' !important;
}  

body.kk.single-post main a,
body.kk.single-post main a {
  text-decoration: underline;  
}

.typo-button-kz p {
  font-family: 'Open Sans';
}

.header-kk span {
  font-family: 'Open Sans', sans-serif !important;
}

/* Polylang switcher typography */
.pll-switcher-select {
  font-family: 'DM Sans';
}

/*=========== PAGE SPECIFIC STYLES ===========*/

/* Homepage */
.homepage-only {
  display: none !important;
  width: 100%;
}

body.home .homepage-only.desktop-landing-image > img {
  width: 100% !important;
  height: 85vh !important;
}

body.home .homepage-only {
  display: block;
}

/* Menu items */
.menu-description {
  margin-top: 20px !important;
}

.titre-et-detail-plat {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end;
  align-self: stretch;
}

.menu-prix-custom {
  align-self: flex-end;
}

.wp-block-post-template > li > .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
}

.wp-block-post-template > li:nth-child(even) > .wp-block-columns {
  flex-direction: row-reverse;
}

.menu-titre-etiquette {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* Articles */
.article-title a:hover {
  text-decoration: none !important;
  text-shadow: 0.6px 0 0 currentColor !important;
}

/* Pagination */
.page-numbers.current {
  font-size: 20px !important;
  text-decoration: underline;
}

/* Widgets */
.widget.widget_polylang ul li a:hover {
  text-decoration: none;
  text-shadow: 0.5px 0 0 currentColor !important;  
}

/*=========== COMPONENT STYLES ===========*/

/* Spacers */
.espaceur-entre-boutons {
  height: 35px;
}

.underline-group {
  width: max-content;
}

.underline-part {
  width: 30%;
  min-width: 5rem;
  float: left;
  height: 3px
}

.underlined-title {
  width: max-content;
  padding-bottom: .25em !important;
  max-width: 80vw;
  text-align: left
}

/* Columns */
.horaires {
  min-width: 320px;
}


/* Image grids */
.decouvrir-img {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 10px;
}

.lower-img {
  display: flex;
  padding: 50px 0px 0px 0px;
  align-items: center;
  gap: 10px;
}

/*=========== COOKIE CONSENT ===========*/

#cmplz-cookiebanner-container {
  font-family: 'Open Sans';
}  

#cmplz-document {
  max-width: 1114px;  
}

#cmplz-document p, #cmplz-document i {
  font-size: 18px;  
}

#cmplz-document h2 {
  font-size: 26px;  
}

.cmplz-always-active {
  color: black !important;
}  

.cmplz-btn.cmplz-manage-consent.manage-consent-1.cmplz-show {
  display: none !important;  
}  

.cookies-per-purpose * {
  background-color: rgba(138,114,66,0.25) !important;
  border: 0px;
}

.cookies-per-purpose * * {
  background-color: rgba(138,114,66,0) !important;
}

#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose, 
#cmplz-document .cmplz-dropdown .cookies-per-purpose, 
.editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown .cookies-per-purpose {
  border: 0px !important;
}

#cmplz-cookies-overview .cmplz-dropdown, 
#cmplz-document .cmplz-dropdown, 
.editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown,
#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category,
#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose, 
#cmplz-document .cmplz-dropdown .cookies-per-purpose, 
.editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown .cookies-per-purpose {
  background-color: rgba(138,114,66,0.25) !important;
}

.cmplz-category-header, .cmplz-service-header {
  background-color: rgba(138,114,66,0.5) !important;
}

#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
  color: white !important;
}

/*=========== RESPONSIVE STYLES ===========*/

@media (max-width: 1350px) {
  .navigation-langue {
    flex-direction: row-reverse;
  }
}  

@media (max-width: 1230px) {
  .nav-responsive li {
    text-align: center;
  }
  
  .nav-responsive li+li {
    font-weight: bold;
    transform: scale(1.5);
  }
  
  .nav-responsive li a {
    color: white;
    margin: 15px;
    text-decoration-color: white !important;
  }
  
  .nav-responsive li a span {
    color: white;
  }
}

@media (max-width: 1024px) {
  /* Typography adjustments on smaller devices */
  .is-style-typo-header-header-item,
  .is-style-typo-header-header-item-underlined,
  .is-style-typo-header-header-item-bold,
  .is-style-typo-header-header-item-underlinedplusbold,
  .is-style-typo-body-bouton,
  .is-style-typo-body-bouton-bold,
  .arrow-button p,
  .is-style-typo-body-page-numbers-page---default,
  .is-style-typo-body-page-numbers-page---hover,
  .is-style-typo-body-page-numbers-on-page---default,
  .is-style-typo-body-page-numbers-on-page---hover,
  .is-style-typo-footer-h-footer {
    font-size: 16px !important; 
    line-height: 19px !important;
  }

  .is-style-typo-body-texte {
    font-size: 14px !important;
    line-height: 17px !important;
  }

  .is-style-typo-body-texte-semi-bold {
    font-size: 16px !important;
    line-height: 19px !important;
  }

  .is-style-typo-body-sous-titre {
    font-size: 19px !important;
    line-height: 23px !important;
  }

  .is-style-typo-body-détails-plats {
    font-size: 13px !important;
    line-height: 16px !important;
  }

  .is-style-typo-body-prix {
    font-size: 19px !important;
    line-height: 23px !important;
  }

  .is-style-typo-body-titre-article,
  .is-style-typo-footer-avis---nom,
  .is-style-typo-footer-avis---date,
  .is-style-typo-footer-avis---texte {
    font-size: 12px !important;
    line-height: 14px !important;
  }

  .is-style-typo-body-fournisseurs {
    font-size: 18px !important;
    line-height: 22px !important;
  }

  .is-style-typo-body-titles-h1 {
    font-size: 29px !important;
    line-height: 35px !important;
  }

  .is-style-typo-body-titles-h2 {
    font-size: 24px !important;
    line-height: 29px !important;
  }

  .is-style-typo-body-titles-h3 {
    font-size: 18px !important; 
    line-height: 22px !important;
  }
  
  .underline-part {
    height: 1.5px;
  }
  
  .article-actualites {
    gap: 1.5em;
  }
  
  .arrow-button svg {
    width: 35px;
  }
  
  .espaceur-entre-boutons {
    height: 35px;
  }
  
  /* Hide desktop landing image */
  .desktop-landing-image {
    display: none !important;	
  }
  body.home .desktop-landing-image {
	display: none !important;
  }	
  body.home .mobile-landing-image {
    display: block !important;	
  }
}

@media only screen and (max-width: 768px) {
  .img-nodisplay {
    flex-basis: 0% !important;
  }
  .bigger-column {
    flex-basis: 30% !important
  }
}

@media only screen and (min-width: 768px) {
  .centered-list {
    width: max-content
  }
}

@media (max-width: 781px) {
  .colonne-empilee {
    min-width: 300px;
    max-width: 300px;
  }
  
  .footer-deux-colonnes {
    display: flex;
    justify-content: center;
  }
  
  .menu-items-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .menu-items-container li {
    flex-basis: 45%;
  }
  
  .mobile-nav-logo {
    max-width: 70%;
  }
}

@media (min-width: 600px) {
  /* Keep hiding the expanded menu */
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }

  /* Keep showing the button to open the menu */
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
}

@media (min-width: 1350px) {
  /* Show the expanded menu */
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: block;
  }

  /* Hide the button to open the menu */
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Spacers */
  .espaceur {
    height: 50px !important;
  }

  .espaceur-entre-boutons {
    height: 20px !important;
  }

  /* Image grids */
  .decouvrir-img {
    display: flex;
    flex-direction: row;
    gap: 10%;
  }

  .decouvrir-img > div {
    flex-basis: 45% !important;
    margin: 0px;
  }

  /* Hide elements */
  .img-hide {
    display: none;
  }

}

@media (max-width: 576px) {
  footer p {
    text-align: center;
  }
}

@media only screen and (max-width: 360px) {
  .horaires {
    min-width: initial;
  }

  .two-column-horaire > * > p {
    font-size: .9em;
  }
}

/* Navigation responsive container */
.wp-block-navigation__responsive-container.is-menu-open {
  background-color: #232026 !important;
}