/* Efrei Site Helper basic styles */
.entry-content .efrei-hero,
.page .efrei-hero,
.wp-site-blocks .efrei-hero {
  position: relative;
  width: 100vw !important;
  max-width: none !important;
  height: 100vh;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.3);
}

/* Empêcher le défilement horizontal */
body {
  overflow-x: hidden;
}

.efrei-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.efrei-card__media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.efrei-card__body {
  padding: 14px;
}

.efrei-card__role {
  margin: 6px 0 8px;
  font-weight: 600;
  color: #374151;
}

.efrei-card__bio {
  color: #4b5563;
}

.efrei-ide__title {
  font-weight: 700;
  margin: 12px 0 8px;
}

.efrei-alert {
  padding: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
}

.efrei-tabs {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
}

.efrei-tabs .efrei-tab {
  display: none; /* JS will activate */
}

.efrei-tabs .efrei-tabs__nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.efrei-tabs__btn {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.efrei-tabs__btn.is-active {
  background: #111827;
  color: white;
}

.efrei-ide__frame-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}
