.pm-efp2{width:100%;}

/* ===== Expert card layout (theme-resistant) ===== */
.pm-efp2-expert{width:100%;}

.pm-efp2-card{
  background: #e5e5e5 !important;
  border: 1px solid var(--pm-efp2-border, #e5e5e5);
  border-radius: 10px;
  overflow: hidden;
}

.pm-efp2-card__header{
  padding: 14px 20px 10px;
  background: #e5e5e5 !important;
}

.pm-efp2-h2{
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  /* keep on one line when possible, but allow wrap on small screens */
  white-space: nowrap;
}

@media (max-width: 420px){
  .pm-efp2-h2{white-space: normal;}
}

.pm-efp2-card__content{
  display: flex;
  gap: 16px;
  padding: 0 20px 20px;
  background: #e5e5e5 !important;
}

.pm-efp2-card__media{
  flex: 0 0 auto;
  margin-left: 6px;
  background: transparent !important;
}

/* Force the expert photo size even if theme overrides img rules */
.pm-efp2-card__media .pm-efp2-avatar{
  width: 160px !important;
  height: 270px !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover;
  border-radius: 8px;
}

.pm-efp2-avatar--placeholder{
  width: 160px;
  height: 270px;
  border-radius: 8px;
  background: rgba(0,0,0,.05);
}

.pm-efp2-card__body{
  flex: 1 1 auto;
  min-width: 0;
  background: transparent !important;
}

.pm-efp2-meta{margin-bottom: 10px;}

/* plus spécifique que "h3" */
.pm-efp2 h3 {
  font-family: var(--body-font-family), Arial, Helvetica, sans-serif;
font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  margin-top: 0 !important;
}





.pm-efp2-expertline{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.pm-efp2-expertname{font-weight: 700;}

.pm-efp2-expertjob{opacity: .8;}

.pm-efp2-expertline::after{
  content: "";
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--pm-efp2-hr-color, rgba(0,0,0,.12));
  margin-top: 8px;
}

.pm-efp2-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 768px){
  .pm-efp2-grid{grid-template-columns: 1fr;}
}

.pm-efp2-h4{margin: 0 0 8px; font-size: 15px; font-weight: 800;}

.pm-efp2-reco{
  list-style: none;
  margin: 0;
  padding: 0;
}

.pm-efp2-reco__item{
  position: relative;
  margin: 0 0 8px;
  padding-left: 22px;
}

.pm-efp2-reco__item::before{
  content: "\2713"; /* checkmark */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pm-efp2-accent, #ffc107);
  font-weight: 900;
}

.pm-efp2-block--tip{
  background: linear-gradient(90deg, var(--pm-efp2-tip-grad-start, #ffd54d), var(--pm-efp2-tip-grad-end, #ffffff));
  border-radius: 10px;
  padding: 12px;
  padding-right: 6px;
}

.pm-efp2-tip{margin:0;}

.pm-efp2-actions{display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px;  padding-bottom: 6px;
}

.pm-efp2-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration:none !important;
  font-weight: 700;
}

.pm-efp2-btn--primary{
  background: var(--pm-efp2-accent, #ffc107);
  color: #111;
}

.pm-efp2-btn--primary:hover,
.pm-efp2-btn--primary:hover *{
  color: #fff !important;
}

.pm-efp2-btn--ghost{
  background: #fff !important;
  border: 1px solid var(--pm-efp2-border, #e5e5e5);
  color: #111 !important;
}


/* Responsive: stack media above text on smaller screens */
@media (max-width: 768px){
  .pm-efp2-card__content{flex-direction: column;}
  .pm-efp2-card__media .pm-efp2-avatar,
  .pm-efp2-avatar--placeholder{width: 160px !important; height: 270px !important;}
}

/* ===== FAQ full width section (inherits theme section styles) ===== */
.pm-efp2-faq-section{width:100%;}

.pm-efp2-faq__list{width:100%;}

.pm-efp2-faq__item{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  margin: 10px 0;
  background: #fff;
  overflow: hidden;
}

.pm-efp2-faq__q{
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
}

.pm-efp2-faq__a{padding: 0 14px 14px;}

.pm-efp2-btn--ghost:hover,
.pm-efp2-btn--ghost:hover *{
  background: #f7f7f7 !important;
  color: #111 !important;
}





/* si tu as des icônes SVG */
a.pm-efp2-btn.pm-efp2-btn--ghost:hover svg,
a.pm-efp2-btn.pm-efp2-btn--ghost:hover svg * {
  fill: #f2c100 !important;
  stroke: #f2c100 !important;
}
