/*  Theme Name:   Kadence-child
Theme URI:    https://www.kadencewp.com/kadence-theme/
Description:  Astra en version enfant
Author:       Justforcom  
Author URI:   https://www.kadencewp.com/
Template:     kadence  
Version:      0.1.0 */


  .acf-hidden {
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    height: 0;
    overflow: hidden;
  }
  .acf-field {
    transition: opacity 0.4s ease;
  }

#fullscreen-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 1.8em;
    padding: 0.3em 0.5em;
    border-radius: 8px;
    cursor: pointer;
    z-index: 9999;
    transition: background 0.3s ease;
}
#fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}


.structure-display {
  margin-left: auto;
  padding: 0.5em 1em;
  font-size: 1rem;
  font-weight: bold;
  color: #0073aa;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .structure-display {
    display: block;
    text-align: center;
    padding: 0.5em 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #ddd;
    margin-left: 0;
  }
}

.menu-item-structure {
  margin-left: auto;
  padding: 0.5em 1em;
  font-size: 1rem;
  color: #0073aa;
}
@media (max-width: 768px) {
  .menu-item-structure {
    margin-left: 0;
    text-align: center;
    display: block;
    border-top: 1px solid #ddd;
  }
}


.menu-item-structure-mobile {
  background-color: #f0f0f0;
  padding: 1em;
  text-align: center;
  font-size: 1rem;
  border-bottom: 1px solid #ddd;
}

.structure-name-mobile {
	display: none;
}

@media (max-width: 768px) {
	.structure-name-mobile {
		display: inline-block;
		color: white;
		font-weight: bold;
		font-size: 1rem;
		margin-left: 1rem;
		vertical-align: middle;
	}
}

.structure-name {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #000;
}


.structure-name-header {
  order: -1;
  margin-right: auto;
  padding-left: 1rem;
  font-weight: bold;
  font-size: 1rem;
  color: #000;
  display: flex;
  align-items: center;
}

/* Positionner dans la ligne du header principal */
.kadence-header .site-header-main-section-left {
  display: flex;
  align-items: center;
}

.structure-in-header {
  font-weight: 600;
  margin-right: auto;
  padding-right: 1rem;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

