/* =========================================================
   MANHAJIYYA DESERT : couche decorative et animations.

   Structure, couleurs, typo et espacements se reglent dans Elementor.
   Ce fichier ne porte que ce que l'editeur visuel ne sait pas exprimer.

   NOTE : Elementor n'applique la classe CSS personnalisee qu'aux WIDGETS,
   pas aux conteneurs. Les conteneurs sont donc cibles par [data-id],
   qui est stable tant que l'element n'est pas supprime puis recree.
   ========================================================= */

:root {
  --mh-ease: cubic-bezier(.19, 1, .22, 1);
}

/* ---------------------------------------------------------
   1. Mise en valeur doree dans les titres
   --------------------------------------------------------- */
.mh-em em,
.mh-em i {
  font-style: italic;
  font-weight: 600;
  color: #BF9B30;
  background-image: linear-gradient(100deg, #8F6E1D 0%, #A8862A 26%, #D2AE49 50%, #A8862A 74%, #8F6E1D 100%);
  background-size: 260% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: mh-shimmer 7s linear infinite;
}

@keyframes mh-shimmer {
  to { background-position: 260% 0; }
}

.e-con[data-id="mhhero01"] {
  position: relative;
  overflow: hidden;
}
.e-con[data-id="mhhero01"]::before {
  content: "";
  position: absolute;
  top: 4%;
  left: 50%;
  width: min(58vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(238, 216, 176, .5) 0%, rgba(236, 212, 168, .18) 44%, rgba(236, 212, 168, 0) 70%);
  transform: translate(-50%, 0) scale(1);
  animation: mh-sun 11s ease-in-out infinite;
}

.e-con[data-id="mhhero01"]::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 46%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 100% at 50% 100%, rgba(255, 253, 247, .92) 0%, rgba(255, 253, 247, .42) 38%, rgba(255, 253, 247, 0) 72%);
}
.e-con[data-id="mhhero01"] > .e-con-inner {
  position: relative;
  z-index: 1;
}

@keyframes mh-sun {
  0%, 100% { transform: translate(-50%, 0) scale(1); opacity: .95; }
  50%      { transform: translate(-50%, -2%) scale(1.09); opacity: .72; }
}

.e-con[data-id="mhpar001"],
.e-con[data-id="mhhad001"],
.e-con[data-id="mhcta001"],
.e-con[data-id="mhmet020"],
.e-con[data-id="mhmet040"],
.e-con[data-id="mhprg010"] {
  position: relative;
  overflow: hidden;
}
.e-con[data-id="mhpar001"]::before,
.e-con[data-id="mhhad001"]::before,
.e-con[data-id="mhcta001"]::before,
.e-con[data-id="mhmet020"]::before,
.e-con[data-id="mhmet040"]::before,
.e-con[data-id="mhprg010"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(58% 76% at 18% 8%, rgba(226, 201, 121, .17) 0%, rgba(226, 201, 121, 0) 62%),
    radial-gradient(46% 62% at 88% 96%, rgba(191, 155, 48, .13) 0%, rgba(191, 155, 48, 0) 66%);
  animation: mh-glow 22s ease-in-out infinite;
}
.e-con[data-id="mhpar001"] > .e-con-inner,
.e-con[data-id="mhhad001"] > .e-con-inner,
.e-con[data-id="mhcta001"] > .e-con-inner {
  position: relative;
  z-index: 1;
}
.e-con[data-id="mhmet020"] > *,
.e-con[data-id="mhmet040"] > *,
.e-con[data-id="mhprg010"] > * {
  position: relative;
  z-index: 1;
}

.e-con[data-id="mhpar001"]::after,
.e-con[data-id="mhhad001"]::after,
.e-con[data-id="mhcta001"]::after {
  content: "";
  position: absolute;
  right: -180px;
  top: 50%;
  width: 720px;
  height: 720px;
  pointer-events: none;
  z-index: 0;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23e2c979' stroke-width='.9'%3E%3Cpath d='M100 4 L196 100 L100 196 L4 100 Z'/%3E%3Cpath d='M100 26 L174 100 L100 174 L26 100 Z'/%3E%3Cpath d='M100 52 L148 100 L100 148 L52 100 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%) rotate(0deg);
  animation: mh-turn 90s linear infinite;
}

@media (max-width: 767px) {
  .e-con[data-id="mhpar001"]::after,
  .e-con[data-id="mhhad001"]::after,
  .e-con[data-id="mhcta001"]::after {
    width: 420px;
    height: 420px;
    right: -150px;
    opacity: .06;
  }
}

@keyframes mh-glow {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

@keyframes mh-turn {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

.e-con[data-id="mhmet011"],
.e-con[data-id="mhmet034"],
.e-con[data-id^="mhprg1"],
.e-con[data-id^="mhblo1"] {
  transition:
    transform .5s var(--mh-ease),
    box-shadow .5s var(--mh-ease),
    border-color .4s ease;
  will-change: transform;
}
.e-con[data-id="mhmet011"]:hover,
.e-con[data-id="mhmet034"]:hover,
.e-con[data-id^="mhprg1"]:hover,
.e-con[data-id^="mhblo1"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 52px -20px rgba(27, 51, 36, .38);
  border-color: rgba(191, 155, 48, .55) !important;
}

.e-con[data-id^="mhprg1"] {
  position: relative;
  overflow: hidden;
}
.e-con[data-id^="mhprg1"]::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #E2C979, #1B3324);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .55s var(--mh-ease);
}
.e-con[data-id^="mhprg1"]:hover::after {
  transform: scaleY(1);
}

.e-con[data-id^="mhblo2"] {
  transition: transform .8s var(--mh-ease);
  will-change: transform;
}
.e-con[data-id^="mhblo1"]:hover .e-con[data-id^="mhblo2"] {
  transform: scale(1.06);
}

.e-con[data-id^="mhpar1"] .elementor-element[data-id^="mhpar3"] .elementor-heading-title {
  display: inline-block;
  transition: transform .5s var(--mh-ease), opacity .4s ease;
  opacity: .75;
}
.e-con[data-id^="mhpar1"]:hover .elementor-element[data-id^="mhpar3"] .elementor-heading-title {
  transform: translateY(-4px) scale(1.08);
  opacity: 1;
}

.elementor-element[data-id^="mhsav1"] {
  transition:
    transform .45s var(--mh-ease),
    background-color .45s ease,
    border-color .45s ease,
    box-shadow .45s var(--mh-ease);
}
.elementor-element[data-id^="mhsav1"]:hover {
  transform: translateY(-5px);
  background-color: #1B3324 !important;
  border-color: #BF9B30 !important;
  box-shadow: 0 16px 34px -16px rgba(27, 51, 36, .5);
}
.elementor-element[data-id^="mhsav1"]:hover .elementor-heading-title {
  color: #E2C979 !important;
}
.elementor-element[data-id^="mhsav1"] .elementor-heading-title {
  transition: color .45s ease;
}

.elementor-button {
  transition:
    transform .4s var(--mh-ease),
    background-color .4s ease,
    color .4s ease,
    border-color .4s ease,
    box-shadow .4s var(--mh-ease);
}
.elementor-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -14px rgba(27, 51, 36, .45);
}

.mh-diamond ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mh-diamond li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
}
.mh-diamond li::before {
  content: "\25C6";
  position: absolute;
  left: 0;
  top: 0;
  font-size: .62em;
  line-height: 2.4;
  color: #BF9B30;
}

.mh-old-price s,
.mh-old-price del {
  opacity: .5;
  text-decoration-thickness: 1px;
}

.mh-arabic {
  direction: rtl;
  font-family: "Amiri", serif;
}

.mh-link a,
.mh-link .elementor-heading-title a,
.mh-links a {
  color: inherit;
  text-decoration: none;
  transition: color .3s ease;
}
.mh-link a:hover {
  color: #BF9B30;
}
.mh-links p {
  margin: 0 0 .5rem;
}
.mh-links a:hover {
  color: #E2C979;
}

.mh-navlink a {
  position: relative;
}
.mh-navlink a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: #BF9B30;
  transition: width .4s var(--mh-ease);
}
.mh-navlink a:hover::after {
  width: 100%;
}

.elementor-accordion .elementor-tab-title a,
.elementor-accordion .elementor-accordion-title {
  color: #1B3324;
  text-decoration: none;
  transition: color .3s ease;
}
.elementor-accordion .elementor-tab-title.elementor-active a,
.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-title,
.elementor-accordion .elementor-tab-title:hover a {
  color: #BF9B30;
}

@media (max-width: 767px) {
  .mh-hide-mobile,
  .elementor-element-mhhdr030 {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-em em,
  .mh-em i,
  .e-con[data-id="mhhero01"]::before,
  .e-con[data-id="mhpar001"]::before,
  .e-con[data-id="mhhad001"]::before,
  .e-con[data-id="mhcta001"]::before,
  .e-con[data-id="mhmet020"]::before,
  .e-con[data-id="mhmet040"]::before,
  .e-con[data-id="mhprg010"]::before,
  .e-con[data-id="mhpar001"]::after,
  .e-con[data-id="mhhad001"]::after,
  .e-con[data-id="mhcta001"]::after {
    animation: none !important;
  }

  .mh-em em,
  .mh-em i {
    background: none;
    -webkit-text-fill-color: #BF9B30;
    color: #BF9B30;
    font-style: italic;
  }

  .e-con[data-id="mhmet011"],
  .e-con[data-id="mhmet034"],
  .e-con[data-id^="mhprg1"],
  .e-con[data-id^="mhblo1"],
  .e-con[data-id^="mhblo2"],
  .elementor-element[data-id^="mhsav1"],
  .elementor-button {
    transition-duration: .01ms !important;
  }

  .e-con[data-id="mhmet011"]:hover,
  .e-con[data-id="mhmet034"]:hover,
  .e-con[data-id^="mhprg1"]:hover,
  .e-con[data-id^="mhblo1"]:hover,
  .e-con[data-id^="mhblo1"]:hover .e-con[data-id^="mhblo2"],
  .elementor-element[data-id^="mhsav1"]:hover,
  .elementor-button:hover {
    transform: none !important;
  }

  .elementor-invisible {
    opacity: 1 !important;
    animation: none !important;
  }
}

/* ---------------------------------------------------------
   15. Icones header (compte / panier) : reprennent le style bouton contour
   --------------------------------------------------------- */
.mh-icon-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(27,51,36,.25);
  color: #1B3324;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.mh-icon-link a:hover {
  background-color: #BF9B30;
  border-color: #BF9B30;
  color: #FFFFFF;
}

/* =========================================================
   16. WooCommerce + pages legales + archive blog
   Habillage generique (boutons, formulaires, tableaux, cartes)
   pour les pages qui ne sont pas construites en Elementor.
   ========================================================= */

.entry-content,
.woocommerce {
  font-family: "Outfit", sans-serif;
  color: #4A5348;
}
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5,
.woocommerce h1, .woocommerce h2, .woocommerce h3,
.page-title, .entry-title,
.woocommerce-Address-title h3,
#customer_login h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #1B3324;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.entry-content a,
.woocommerce a:not(.button) {
  color: #BF9B30;
  text-decoration: none;
}
.entry-content a:hover,
.woocommerce a:not(.button):hover {
  color: #8F6E1D;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link,
.elementor-button,
a.ast-button,
.ast-woocommerce-container .single_add_to_cart_button {
  background-color: #BF9B30 !important;
  border: none !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  font-family: "Outfit", sans-serif !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.9em 1.8em !important;
  transition: background-color .3s ease, transform .3s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wp-block-button__link:hover,
a.ast-button:hover {
  background-color: #1B3324 !important;
  color: #FAF6EC !important;
  transform: translateY(-2px);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: #1B3324 !important;
  color: #FFFFFF !important;
}
.woocommerce a.button.alt:hover {
  background-color: #BF9B30 !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce table.shop_table,
.woocommerce-Input,
.woocommerce ::placeholder,
.select2-container--default .select2-selection--single {
  font-family: "Outfit", sans-serif;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-Input,
.select2-container--default .select2-selection--single {
  border: 1px solid rgba(27,51,36,.25) !important;
  border-radius: 14px !important;
  background: #FFFFFF;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: #BF9B30 !important;
  outline: none;
}

.woocommerce table.shop_table {
  border: 1px solid rgba(27,51,36,.14);
  border-radius: 14px;
  overflow: hidden;
}
.woocommerce table.shop_table th {
  background: #F1E7D3;
  color: #1B3324;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.woocommerce-MyAccount-navigation ul {
  border: 1px solid rgba(27,51,36,.14);
  border-radius: 14px;
  overflow: hidden;
}
.woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid rgba(27,51,36,.1);
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
  color: #BF9B30;
}
.woocommerce-message, .woocommerce-info {
  border-top-color: #BF9B30 !important;
}
.woocommerce-message::before, .woocommerce-info::before {
  color: #BF9B30 !important;
}

.woocommerce ul.products li.product {
  font-family: "Outfit", sans-serif;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #1B3324;
}
.woocommerce ul.products li.product .price {
  color: #BF9B30;
  font-weight: 600;
}
.woocommerce span.onsale {
  background-color: #BF9B30 !important;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
}

.ast-article-post {
  background: #FFFFFF;
  border: 1px solid rgba(27,51,36,.14);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.19,1,.22,1), box-shadow .4s ease;
}
.ast-article-post:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -24px rgba(27,51,36,.35);
}
.ast-article-post .entry-title {
  font-family: "Plus Jakarta Sans", sans-serif;
}
.ast-article-post .entry-title a {
  color: #1B3324;
}
.ast-article-post .cat-links a {
  color: #BF9B30;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.ast-article-post .ast-read-more, .ast-article-post .ast-button {
  color: #BF9B30;
}
body.blog, body.archive {
  background-color: #FAF6EC;
}

.page-template-default .entry-content,
body.page .entry-content {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
/* =========================================================
   17. Page Cours 2025-2026 (ID 1558) : memes effets que l'accueil
   ========================================================= */
.e-con[data-id="mhcrs001"] { position: relative; overflow: hidden; }
.e-con[data-id="mhcrs001"]::before {
  content: ""; position: absolute; top: 4%; left: 50%;
  width: min(58vw, 620px); aspect-ratio: 1; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(238, 216, 176, .5) 0%, rgba(236, 212, 168, .18) 44%, rgba(236, 212, 168, 0) 70%);
  transform: translate(-50%, 0) scale(1);
  animation: mh-sun 11s ease-in-out infinite;
}
.e-con[data-id="mhcrs001"]::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(120% 100% at 50% 100%, rgba(255, 253, 247, .92) 0%, rgba(255, 253, 247, .42) 38%, rgba(255, 253, 247, 0) 72%);
}
.e-con[data-id="mhcrs001"] > .e-con-inner { position: relative; z-index: 1; }

.e-con[data-id="mhcrs030"],
.e-con[data-id="mhcrs050"],
.e-con[data-id="mhcrs060"] { position: relative; overflow: hidden; }
.e-con[data-id="mhcrs030"]::before,
.e-con[data-id="mhcrs050"]::before,
.e-con[data-id="mhcrs060"]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 76% at 18% 8%, rgba(226, 201, 121, .17) 0%, rgba(226, 201, 121, 0) 62%),
    radial-gradient(46% 62% at 88% 96%, rgba(191, 155, 48, .13) 0%, rgba(191, 155, 48, 0) 66%);
  animation: mh-glow 22s ease-in-out infinite;
}
.e-con[data-id="mhcrs030"]::after,
.e-con[data-id="mhcrs050"]::after,
.e-con[data-id="mhcrs060"]::after {
  content: ""; position: absolute; right: -180px; top: 50%; width: 720px; height: 720px;
  pointer-events: none; z-index: 0; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23e2c979' stroke-width='.9'%3E%3Cpath d='M100 4 L196 100 L100 196 L4 100 Z'/%3E%3Cpath d='M100 26 L174 100 L100 174 L26 100 Z'/%3E%3Cpath d='M100 52 L148 100 L100 148 L52 100 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transform: translateY(-50%) rotate(0deg);
  animation: mh-turn 90s linear infinite;
}
.e-con[data-id="mhcrs030"] > .e-con-inner,
.e-con[data-id="mhcrs050"] > .e-con-inner,
.e-con[data-id="mhcrs060"] > .e-con-inner { position: relative; z-index: 1; }
@media (max-width: 767px) {
  .e-con[data-id="mhcrs030"]::after,
  .e-con[data-id="mhcrs050"]::after,
  .e-con[data-id="mhcrs060"]::after { width: 420px; height: 420px; right: -150px; opacity: .06; }
}

/* Cartes (l'essentiel + creneaux) : leve au survol + filet dore */
.e-con[data-id^="mhcrk"] {
  position: relative; overflow: hidden;
  transition: transform .5s var(--mh-ease), box-shadow .5s var(--mh-ease), border-color .4s ease;
  will-change: transform;
}
.e-con[data-id^="mhcrk"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 52px -20px rgba(27, 51, 36, .38);
  border-color: rgba(191, 155, 48, .55) !important;
}
.e-con[data-id^="mhcrk"]::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, #E2C979, #1B3324);
  transform: scaleY(0); transform-origin: top;
  transition: transform .55s var(--mh-ease);
}
.e-con[data-id^="mhcrk"]:hover::after { transform: scaleY(1); }
.e-con[data-id^="mhcrk"] .elementor-icon { transition: transform .5s var(--mh-ease); }
.e-con[data-id^="mhcrk"]:hover .elementor-icon { transform: rotate(-8deg) scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .e-con[data-id="mhcrs001"]::before,
  .e-con[data-id="mhcrs030"]::before, .e-con[data-id="mhcrs050"]::before, .e-con[data-id="mhcrs060"]::before,
  .e-con[data-id="mhcrs030"]::after, .e-con[data-id="mhcrs050"]::after, .e-con[data-id="mhcrs060"]::after { animation: none !important; }
  .e-con[data-id^="mhcrk"], .e-con[data-id^="mhcrk"] .elementor-icon { transition-duration: .01ms !important; }
  .e-con[data-id^="mhcrk"]:hover, .e-con[data-id^="mhcrk"]:hover .elementor-icon { transform: none !important; }
}
/* =========================================================
   18. Blog : articles (sections mhart*) + cartes d'articles
   ========================================================= */
.e-con[data-id="mhart001"] { position: relative; overflow: hidden; }
.e-con[data-id="mhart001"]::before {
  content: ""; position: absolute; top: -10%; left: 50%;
  width: min(58vw, 620px); aspect-ratio: 1; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(238, 216, 176, .5) 0%, rgba(236, 212, 168, .18) 44%, rgba(236, 212, 168, 0) 70%);
  transform: translate(-50%, 0);
  animation: mh-sun 11s ease-in-out infinite;
}
.e-con[data-id="mhart001"] > .e-con-inner { position: relative; z-index: 1; }

.e-con[data-id="mhart050"], .e-con[data-id="mhart0c1"] { position: relative; overflow: hidden; }
.e-con[data-id="mhart050"]::before, .e-con[data-id="mhart0c1"]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 76% at 18% 8%, rgba(226, 201, 121, .17) 0%, rgba(226, 201, 121, 0) 62%),
    radial-gradient(46% 62% at 88% 96%, rgba(191, 155, 48, .13) 0%, rgba(191, 155, 48, 0) 66%);
  animation: mh-glow 22s ease-in-out infinite;
}
.e-con[data-id="mhart050"]::after {
  content: ""; position: absolute; right: -180px; top: 50%; width: 720px; height: 720px;
  pointer-events: none; z-index: 0; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23e2c979' stroke-width='.9'%3E%3Cpath d='M100 4 L196 100 L100 196 L4 100 Z'/%3E%3Cpath d='M100 26 L174 100 L100 174 L26 100 Z'/%3E%3Cpath d='M100 52 L148 100 L100 148 L52 100 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transform: translateY(-50%); animation: mh-turn 90s linear infinite;
}
.e-con[data-id="mhart050"] > .e-con-inner { position: relative; z-index: 1; }
.e-con[data-id="mhart0c1"] > * { position: relative; z-index: 1; }

/* Texte de lecture */
.mh-article p { margin: 0 0 1.1em; }
.mh-article p:last-child { margin-bottom: 0; }
.mh-article h2, .mh-article h3, .mh-article h4 {
  font-family: "Plus Jakarta Sans", sans-serif; color: #12241A; font-weight: 700;
  letter-spacing: -.4px; line-height: 1.3; margin: 1.5em 0 .55em;
}
.mh-article h3 { font-size: 21px; }
.mh-article h4 { font-size: 18px; }
.mh-article strong, .mh-article b { font-weight: 600; color: #12241A; }
.mh-article a { color: #A8862A; text-decoration: underline; text-decoration-color: rgba(191,155,48,.4); text-underline-offset: 3px; transition: color .3s ease, text-decoration-color .3s ease; }
.mh-article a:hover { color: #8F6E1D; text-decoration-color: #BF9B30; }
.mh-article ul, .mh-article ol { margin: 0 0 1.2em; padding: 0; list-style: none; }
.mh-article li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; }
.mh-article ul li::before { content: "\25C6"; position: absolute; left: 0; top: 0; font-size: .62em; line-height: 2.9; color: #BF9B30; }
.mh-article ol { counter-reset: mh; }
.mh-article ol li { counter-increment: mh; }
.mh-article ol li::before { content: counter(mh) "."; position: absolute; left: 0; top: 0; color: #BF9B30; font-weight: 600; }
.mh-lead p:first-child::first-letter {
  float: left; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700;
  font-size: 3.4em; line-height: .9; margin: .08em .12em 0 0; color: #BF9B30;
}
.mh-lead { padding-bottom: 8px; border-bottom: 1px solid rgba(27,51,36,.12); margin-bottom: 8px; }
.mh-card-text h3 { margin-top: 0; font-size: 19px; }
.mh-on-dark strong, .mh-on-dark b { color: #FAF6EC; }
.mh-on-dark h3, .mh-on-dark h4 { color: #E2C979; }
.mh-on-dark a { color: #E2C979; text-decoration-color: rgba(226,201,121,.45); }
.mh-on-dark a:hover { color: #FAF6EC; }
.mh-on-dark ul li::before, .mh-on-dark ol li::before { color: #E2C979; }
.mh-article-img img {
  width: 100%; height: auto; border-radius: 22px;
  box-shadow: 0 26px 50px -30px rgba(27, 51, 36, .5);
}
.e-con[data-id^="mhartk"] { transition: transform .5s var(--mh-ease), box-shadow .5s var(--mh-ease), border-color .4s ease; }
.e-con[data-id^="mhartk"]:hover { transform: translateY(-6px); box-shadow: 0 22px 52px -20px rgba(27, 51, 36, .32); border-color: rgba(191, 155, 48, .55) !important; }

/* Cartes d'articles (widget Articles / Archive Elementor Pro) */
.mh-posts .elementor-posts-container { gap: 28px; }
.mh-posts .elementor-post__card {
  background: #FFFFFF !important; border: 1px solid rgba(27,51,36,.14); border-radius: 22px !important;
  box-shadow: none !important; overflow: hidden;
  transition: transform .5s var(--mh-ease), box-shadow .5s var(--mh-ease), border-color .4s ease;
}
.mh-posts .elementor-post:hover .elementor-post__card {
  transform: translateY(-8px); box-shadow: 0 22px 52px -20px rgba(27, 51, 36, .38) !important; border-color: rgba(191, 155, 48, .55);
}
.mh-posts .elementor-post__thumbnail img { transition: transform .8s var(--mh-ease); }
.mh-posts .elementor-post:hover .elementor-post__thumbnail img { transform: translate(-50%, -50%) scale(1.06); }
.mh-posts .elementor-post__text { padding: 0 28px !important; margin-top: 26px; }
.mh-posts .elementor-post__badge {
  background: #1B3324 !important; color: #E2C979 !important; border-radius: 999px !important;
  font-family: "Outfit", sans-serif !important; font-size: 10px !important; font-weight: 500 !important;
  letter-spacing: 1.8px; text-transform: uppercase; padding: 7px 14px !important; margin: 18px !important;
}
.mh-posts .elementor-post__title, .mh-posts .elementor-post__title a {
  font-family: "Plus Jakarta Sans", sans-serif !important; color: #12241A !important;
  font-size: 20px !important; font-weight: 700 !important; line-height: 1.3 !important; letter-spacing: -.4px;
}
.mh-posts .elementor-post__title a:hover { color: #A8862A !important; }
.mh-posts .elementor-post__excerpt p {
  font-family: "Outfit", sans-serif !important; font-size: 15px !important; font-weight: 300;
  color: #4A5348 !important; line-height: 1.7 !important;
}
.mh-posts .elementor-post__read-more {
  font-family: "Outfit", sans-serif !important; color: #A8862A !important; font-size: 12px !important;
  font-weight: 500 !important; text-transform: uppercase; letter-spacing: 1.7px; margin-bottom: 24px !important;
}
.mh-posts .elementor-post__read-more::after { content: " \2192"; display: inline-block; transition: transform .4s var(--mh-ease); }
.mh-posts .elementor-post:hover .elementor-post__read-more::after { transform: translateX(4px); }
.mh-posts .elementor-post__meta-data {
  border-top: 1px solid rgba(27,51,36,.1) !important; padding: 15px 28px !important;
  font-family: "Outfit", sans-serif !important; font-size: 12px !important; color: #6B7A6E !important;
  text-transform: uppercase; letter-spacing: 1.2px;
}
.mh-posts .elementor-pagination { margin-top: 44px; font-family: "Outfit", sans-serif; }
.mh-posts .elementor-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  border-radius: 999px; border: 1px solid rgba(27,51,36,.2); color: #1B3324; margin: 0 4px; padding: 0 12px; text-decoration: none;
}
.mh-posts .elementor-pagination .page-numbers.current, .mh-posts .elementor-pagination a.page-numbers:hover { background: #BF9B30; border-color: #BF9B30; color: #FFFFFF; }

/* Filtres de categories (archive) */
.mh-pills p { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.mh-pills a {
  display: inline-block; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(27,51,36,.22);
  color: #1B3324; font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.mh-pills a:hover { background: #BF9B30; border-color: #BF9B30; color: #FFFFFF; }
body.blog .mh-pills a[data-f="all"],
body.category-education-islamique-apprentissage .mh-pills a[data-f="education-islamique-apprentissage"],
body.category-parentalite-musulmane .mh-pills a[data-f="parentalite-musulmane"],
body.category-vie-spirituelle-developpement-personnel .mh-pills a[data-f="vie-spirituelle-developpement-personnel"] {
  background: #1B3324; border-color: #1B3324; color: #E2C979;
}

@media (prefers-reduced-motion: reduce) {
  .e-con[data-id="mhart001"]::before, .e-con[data-id="mhart050"]::before, .e-con[data-id="mhart050"]::after, .e-con[data-id="mhart0c1"]::before { animation: none !important; }
  .mh-posts .elementor-post:hover .elementor-post__card, .e-con[data-id^="mhartk"]:hover { transform: none !important; }
}
/* =========================================================
   19. Fiche produit (modele Elementor Pro ID 2110, sections mhprd*)
   ========================================================= */
.e-con[data-id="mhprd001"] { position: relative; overflow: hidden; }
.e-con[data-id="mhprd001"]::before {
  content: ""; position: absolute; top: -8%; right: -6%;
  width: min(58vw, 680px); aspect-ratio: 1; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(238, 216, 176, .55) 0%, rgba(236, 212, 168, .18) 44%, rgba(236, 212, 168, 0) 70%);
  animation: mh-glow 16s ease-in-out infinite;
}
.e-con[data-id="mhprd001"] > .e-con-inner { position: relative; z-index: 1; }
.e-con[data-id="mhprd040"] { position: relative; overflow: hidden; }
.e-con[data-id="mhprd040"]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 76% at 18% 8%, rgba(226, 201, 121, .17) 0%, rgba(226, 201, 121, 0) 62%),
    radial-gradient(46% 62% at 88% 96%, rgba(191, 155, 48, .13) 0%, rgba(191, 155, 48, 0) 66%);
  animation: mh-glow 22s ease-in-out infinite;
}
.e-con[data-id="mhprd040"]::after {
  content: ""; position: absolute; right: -180px; top: 50%; width: 720px; height: 720px;
  pointer-events: none; z-index: 0; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23e2c979' stroke-width='.9'%3E%3Cpath d='M100 4 L196 100 L100 196 L4 100 Z'/%3E%3Cpath d='M100 26 L174 100 L100 174 L26 100 Z'/%3E%3Cpath d='M100 52 L148 100 L100 148 L52 100 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transform: translateY(-50%); animation: mh-turn 90s linear infinite;
}
.e-con[data-id="mhprd040"] > .e-con-inner { position: relative; z-index: 1; }

/* Fil d'Ariane */
.mh-crumb .woocommerce-breadcrumb {
  font-family: "Outfit", sans-serif; font-size: 13px; color: #6B7A6E; margin: 0;
}
.mh-crumb .woocommerce-breadcrumb a { color: #A8862A; text-decoration: none; }
.mh-crumb .woocommerce-breadcrumb a:hover { color: #1B3324; }

/* Galerie */
.mh-gallery .woocommerce-product-gallery { margin: 0 !important; width: 100% !important; float: none !important; }
.mh-gallery .woocommerce-product-gallery__image img,
.mh-gallery .woocommerce-product-gallery__wrapper img { border-radius: 18px; }
.mh-gallery .flex-control-thumbs {
  display: grid !important; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 14px !important; padding: 0;
}
.mh-gallery .flex-control-thumbs li { width: auto !important; margin: 0 !important; float: none !important; }
.mh-gallery .flex-control-thumbs img {
  border-radius: 10px; opacity: .55; border: 1px solid rgba(27,51,36,.1);
  transition: opacity .3s ease, border-color .3s ease;
}
.mh-gallery .flex-control-thumbs img.flex-active,
.mh-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: #BF9B30; }
.mh-gallery .woocommerce-product-gallery__trigger {
  background: #FFFFFF !important; border: 1px solid rgba(27,51,36,.15); border-radius: 999px !important;
}
.mh-gallery span.onsale, .e-con[data-id="mhprd002"] span.onsale {
  background: #BF9B30 !important; color: #FFFFFF !important; border-radius: 999px !important;
  font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase;
  min-height: 0 !important; min-width: 0 !important; line-height: 1 !important; padding: 9px 16px !important;
  top: 16px !important; left: 16px !important; right: auto !important;
}

/* Prix */
.mh-price .price del { font-size: .55em; font-weight: 400; color: #6B7A6E; opacity: .7; margin-right: 10px; }
.mh-price .price ins { text-decoration: none; }

/* Bouton d'achat */
.mh-atc form.cart { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin: 0 !important; }
.mh-atc .e-atc-qty-button-holder { display: flex; width: 100%; }
.mh-atc .e-atc-qty-button-holder .single_add_to_cart_button { flex: 1 1 auto; }
.mh-atc .quantity { display: none !important; }
.mh-atc .single_add_to_cart_button {
  width: 100%; font-size: 14px !important; letter-spacing: 1.8px !important;
  padding: 20px 32px !important; box-shadow: 0 16px 30px -18px rgba(143, 110, 29, .7);
}
.woocommerce .mh-atc button.single_add_to_cart_button.button.alt { background-color: #BF9B30 !important; color: #FFFFFF !important; }
.woocommerce .mh-atc button.single_add_to_cart_button.button.alt:hover { background-color: #1B3324 !important; color: #FAF6EC !important; transform: translateY(-3px); }
.mh-atc .wc-stripe-product-checkout-container { margin-top: 0 !important; }
.mh-atc .wc-stripe-bnpl-product-message, .mh-atc .wc-stripe-clear { font-family: "Outfit", sans-serif; }

/* Description */
.mh-product-desc p:has(> b:only-child), .mh-product-desc p:has(> strong:only-child) {
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 21px; color: #12241A; margin: 1.6em 0 .6em;
}
.mh-product-desc p:has(> b:only-child) b, .mh-product-desc p:has(> strong:only-child) strong { font-weight: 700; }
.mh-product-desc img { border-radius: 18px; height: auto; }

/* Cartes produits (Vous aimerez aussi) */
.mh-products ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 !important; }
.mh-products ul.products::before, .mh-products ul.products::after { display: none !important; }
.mh-products ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important;
  background: #FFFFFF; border: 1px solid rgba(27,51,36,.14); border-radius: 22px; overflow: hidden;
  padding: 0 0 22px !important; display: flex; flex-direction: column; text-align: left;
  transition: transform .5s var(--mh-ease), box-shadow .5s var(--mh-ease), border-color .4s ease;
}
.mh-products ul.products li.product:hover {
  transform: translateY(-8px); box-shadow: 0 22px 52px -20px rgba(27, 51, 36, .38); border-color: rgba(191, 155, 48, .55);
}
.mh-products ul.products li.product a img { margin: 0 0 18px !important; border-radius: 0; aspect-ratio: 1; object-fit: cover; width: 100%; }
.mh-products ul.products li.product .woocommerce-loop-product__title {
  font-family: "Plus Jakarta Sans", sans-serif !important; font-size: 17px !important; font-weight: 700; line-height: 1.3;
  color: #12241A; padding: 0 20px !important; margin-bottom: 8px;
}
.mh-products ul.products li.product .price {
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px !important; color: #A8862A !important; font-weight: 700; padding: 0 20px; margin-bottom: 14px;
}
.mh-products ul.products li.product .price del { font-size: .8em; opacity: .55; font-weight: 400; color: #6B7A6E; }
.mh-products ul.products li.product .button {
  margin: auto 20px 0 !important; font-size: 11px !important; padding: .85em 1.4em !important; align-self: flex-start;
}
.mh-products ul.products li.product .onsale {
  background: #BF9B30 !important; border-radius: 999px !important; min-height: 0 !important; line-height: 1 !important;
  padding: 7px 12px !important; font-size: 11px; top: 12px !important; left: 12px !important; right: auto !important; margin: 0 !important;
}
@media (max-width: 1024px) { .mh-products ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .mh-products ul.products { grid-template-columns: 1fr; }
  .mh-products ul.products li.product:nth-child(n+3) { display: none !important; }
  .mh-gallery .flex-control-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .e-con[data-id="mhprd001"]::before, .e-con[data-id="mhprd040"]::before, .e-con[data-id="mhprd040"]::after { animation: none !important; }
  .mh-products ul.products li.product:hover { transform: none !important; }
}
/* =========================================================
   20. Accueil : cartes matieres cliquables vers les produits
   ========================================================= */
a.e-con[data-id^="mhprg1"] { text-decoration: none; color: inherit; cursor: pointer; }
a.e-con[data-id^="mhprg1"]:focus-visible { outline: 2px solid #BF9B30; outline-offset: 4px; }
.mh-card-cta .elementor-heading-title { display: inline-block; transition: transform .45s var(--mh-ease), color .3s ease; }
a.e-con[data-id^="mhprg1"]:hover .mh-card-cta .elementor-heading-title { transform: translateX(5px); color: #1B3324; }
.mh-inline-links a { color: #A8862A; text-decoration: underline; text-decoration-color: rgba(191,155,48,.45); text-underline-offset: 3px; }
.mh-inline-links a:hover { color: #1B3324; }
/* =========================================================
   21. Parcours : page de vente (mhprc*) et espace parcours (mhfnd*)
   ========================================================= */
.e-con[data-id="mhprc001"], .e-con[data-id="mhfnd001"] { position: relative; overflow: hidden; }
.e-con[data-id="mhprc001"]::before, .e-con[data-id="mhfnd001"]::before {
  content: ""; position: absolute; top: -8%; right: -6%;
  width: min(58vw, 680px); aspect-ratio: 1; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(238, 216, 176, .55) 0%, rgba(236, 212, 168, .18) 44%, rgba(236, 212, 168, 0) 70%);
  animation: mh-glow 16s ease-in-out infinite;
}
.e-con[data-id="mhprc001"] > .e-con-inner, .e-con[data-id="mhfnd001"] > .e-con-inner { position: relative; z-index: 1; }
.e-con[data-id="mhprc030"], .e-con[data-id="mhprc050"], .e-con[data-id="mhfnd050"] { position: relative; overflow: hidden; }
.e-con[data-id="mhprc030"]::before, .e-con[data-id="mhprc050"]::before, .e-con[data-id="mhfnd050"]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 76% at 18% 8%, rgba(226, 201, 121, .17) 0%, rgba(226, 201, 121, 0) 62%),
    radial-gradient(46% 62% at 88% 96%, rgba(191, 155, 48, .13) 0%, rgba(191, 155, 48, 0) 66%);
  animation: mh-glow 22s ease-in-out infinite;
}
.e-con[data-id="mhprc030"] > .e-con-inner, .e-con[data-id="mhprc050"] > .e-con-inner, .e-con[data-id="mhfnd050"] > .e-con-inner { position: relative; z-index: 1; }
.e-con[data-id^="mhprk"] { transition: transform .5s var(--mh-ease), box-shadow .5s var(--mh-ease), border-color .4s ease; }
.e-con[data-id^="mhprk"]:hover { transform: translateY(-8px); box-shadow: 0 22px 52px -20px rgba(27, 51, 36, .35); border-color: rgba(191, 155, 48, .55) !important; }
.mh-atc-center form.cart { align-items: center; }
.mh-parcours-desc h2 { font-size: 24px; }

/* Espace parcours : etapes */
.e-con[data-id^="mhstp"] { position: relative; }
.e-con[data-id^="mhstp"]::before {
  content: ""; position: absolute; left: 0; top: 34px; bottom: 34px; width: 3px; border-radius: 3px;
  background: linear-gradient(to bottom, #E2C979, rgba(226,201,121,0));
}
.mh-audio { width: 100%; margin: 6px 0 2px; border-radius: 999px; }
.mh-todo {
  display: inline-block; background: #F1E7D3; color: #8F6E1D; border-radius: 999px;
  font-family: "Outfit", sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 1.4px;
  text-transform: uppercase; padding: 5px 11px; margin-right: 8px;
}
.mh-arabic-block { direction: rtl; text-align: center; }

/* Espace client : liste des parcours */
.mh-parcours-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mh-parcours-card {
  display: flex; flex-direction: column; gap: 8px; padding: 28px;
  background: #FFFFFF; border: 1px solid rgba(27,51,36,.14); border-radius: 22px; text-decoration: none;
  transition: transform .5s var(--mh-ease), box-shadow .5s var(--mh-ease), border-color .4s ease;
}
.mh-parcours-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px -22px rgba(27,51,36,.35); border-color: rgba(191,155,48,.55); }
.mh-parcours-card__kicker { font-family: "Outfit", sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 2.4px; text-transform: uppercase; color: #BF9B30; }
.mh-parcours-card__title { font-family: "Plus Jakarta Sans", sans-serif; font-size: 20px; font-weight: 700; color: #12241A; line-height: 1.3; }
.mh-parcours-card__cta { font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 1.7px; text-transform: uppercase; color: #A8862A; margin-top: 6px; }
.mh-parcours-access a {
  display: inline-block; background: #1B3324; color: #E2C979 !important; border-radius: 999px;
  font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 1.4px;
  text-transform: uppercase; padding: 15px 28px; text-decoration: none;
}
.mh-parcours-access a:hover { background: #BF9B30; color: #FFFFFF !important; }
@media (max-width: 767px) {
  .mh-parcours-list { grid-template-columns: 1fr; }
  .e-con[data-id^="mhstp"]::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .e-con[data-id="mhprc001"]::before, .e-con[data-id="mhfnd001"]::before,
  .e-con[data-id="mhprc030"]::before, .e-con[data-id="mhprc050"]::before, .e-con[data-id="mhfnd050"]::before { animation: none !important; }
  .e-con[data-id^="mhprk"]:hover, .mh-parcours-card:hover { transform: none !important; }
}
/* =========================================================
   22. Plan de cours (espace parcours)
   ========================================================= */
.mh-plan h3 { font-size: 19px; margin: 1.6em 0 .5em; padding-left: 14px; border-left: 3px solid #BF9B30; }
.mh-plan h3:first-child { margin-top: .4em; }
.mh-plan em { color: #6B7A6E; font-size: .92em; }

/* =========================================================
   23. Encart parcours sur l'accueil
   ========================================================= */
.e-con[data-id="mhprg080"] { transition: transform .5s var(--mh-ease), box-shadow .5s var(--mh-ease); }
.e-con[data-id="mhprg080"]:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -24px rgba(27,51,36,.32); }

/* =========================================================
   24. Lecteur audio du parcours
   ========================================================= */
audio.mh-audio { width: 100%; height: 46px; margin: 10px 0 4px; }
audio.mh-audio::-webkit-media-controls-panel { background: #FAF6EC; }

/* =========================================================
   25. Sommaire des lecons et pages de lecon
   ========================================================= */
a.e-con[data-id^="mhsol"], a.e-con[data-id="mhsoev"] { text-decoration: none; color: inherit; transition: transform .45s var(--mh-ease), box-shadow .45s var(--mh-ease), border-color .4s ease; }
a.e-con[data-id^="mhsol"]:hover, a.e-con[data-id="mhsoev"]:hover { transform: translateX(6px); box-shadow: 0 18px 38px -22px rgba(27,51,36,.35); border-color: rgba(191,155,48,.55) !important; }
a.e-con[data-id^="mhsol"]:hover .mh-card-cta .elementor-heading-title, a.e-con[data-id="mhsoev"]:hover .mh-card-cta .elementor-heading-title { transform: translateX(4px); }
.e-con[data-id^="mhlecb"] { transition: border-color .4s ease; }
.e-con[data-id^="mhlecb"]:hover { border-color: rgba(191,155,48,.45) !important; }

/* =========================================================
   26. Bibliotheque video (page /bibliotheque/)
   ========================================================= */
.mh-lib-video {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #12241A;
  box-shadow: 0 18px 38px -22px rgba(27,51,36,.35);
}
.e-con[data-id^="mhlc"][data-id$="9"] { display: block !important; }
.mh-lib-video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.mh-lib-card {
  transition: box-shadow .45s var(--mh-ease), border-color .4s ease;
}
.mh-lib-card:hover {
  box-shadow: 0 22px 46px -24px rgba(27,51,36,.32);
  border-color: rgba(191,155,48,.45) !important;
}
@media (max-width: 767px) {
  .mh-lib-video {
    border-radius: 0;
    box-shadow: none;
  }
  .mh-lib-card {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    row-gap: 18px !important;
  }
}

/* =========================================================
   27. Recherche de la bibliotheque (mot-cle + theme)
   ========================================================= */
.mh-lib-search { display: none; width: min(760px, 100%); margin: 0 auto; text-align: center; }
.mh-lib-search.is-ready { display: block; }
.mh-lib-search__field { display: block; position: relative; }
.mh-lib-search input[type="search"] {
  width: 100%; box-sizing: border-box; height: 58px; padding: 0 26px;
  border: 1px solid rgba(27,51,36,.22); border-radius: 999px; background: #FFFFFF;
  font-family: "Outfit", sans-serif; font-size: 16px; font-weight: 300; color: #1B2A1F;
  outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.mh-lib-search input[type="search"]::placeholder { color: rgba(74,83,72,.7); }
.mh-lib-search input[type="search"]:focus { border-color: #BF9B30; box-shadow: 0 0 0 4px rgba(191,155,48,.18); }
.mh-lib-themes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.mh-lib-themes button {
  padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(27,51,36,.22); background: transparent;
  font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: #1B3324;
  cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.mh-lib-themes button:hover { border-color: #BF9B30; }
.mh-lib-themes button.is-active { background: #1B3324; border-color: #1B3324; color: #FAF6EC; }
.mh-lib-count {
  margin: 18px 0 0; font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(27,42,31,.5);
}
.mh-lib-empty {
  margin: 26px 0 0; padding: 26px 22px; border-radius: 22px; border: 1px dashed rgba(27,51,36,.25);
  font-family: "Outfit", sans-serif; font-size: 16px; font-weight: 300; color: #4A5348;
}
.mh-lib-empty[hidden] { display: none; }
.mh-lib-reset {
  display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: "Outfit", sans-serif; font-size: 14px; font-weight: 500; color: #8F6E1D; text-decoration: underline;
}
.mh-lib-hidden { display: none !important; }
@media (max-width: 767px) {
  .mh-lib-search input[type="search"] { height: 52px; font-size: 16px; }
  .mh-lib-themes button { padding: 9px 16px; }
}
/* =========================================================
   28. Bibliotheque : grille de petites cartes en pleine largeur
   ========================================================= */
.e-con[data-id="mhlib024"] > .e-con {
  flex: 0 0 calc((100% - 48px) / 3) !important;
  max-width: calc((100% - 48px) / 3) !important;
  width: auto !important;
  min-width: 0;
  box-sizing: border-box;
}
@media (min-width: 1280px) {
  .e-con[data-id="mhlib024"] > .e-con { flex-basis: calc((100% - 72px) / 4) !important; max-width: calc((100% - 72px) / 4) !important; }
}
@media (max-width: 1024px) {
  .e-con[data-id="mhlib024"] > .e-con { flex-basis: calc((100% - 24px) / 2) !important; max-width: calc((100% - 24px) / 2) !important; }
}
@media (max-width: 767px) {
  .e-con[data-id="mhlib024"] > .e-con { flex-basis: 100% !important; max-width: 100% !important; }
}
/* =========================================================
   29. Bibliotheque : page en pleine largeur (sort du conteneur Astra)
   ========================================================= */
.page-id-2130 #content > .ast-container,
.page-id-2130 .site-content > .ast-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
/* =========================================================
   26. Matn arabe dans les lecons
   ========================================================= */
.mh-matn { direction: rtl; text-align: right; }
.mh-matn p { margin: 0 0 1em; }
.mh-matn .mh-matn-titre { font-weight: 700; color: #BF9B30; text-align: center; margin: .4em 0 1.2em; }
.mh-source { font-style: italic; opacity: .85; }

/* =========================================================
   27. Tutor LMS aux couleurs Manhajiyya
   Les pages de cours et de lecon utilisent les jetons de couleur
   de Tutor : on les redefinit, puis on reprend les elements cles.
   ========================================================= */
:root, [data-tutor-theme], .tutor-wrap {
  --tutor-surface-brand-primary: #BF9B30;
  --tutor-surface-brand-primary-hover: #A8862A;
  --tutor-surface-brand-primary-2: #1B3324;
  --tutor-surface-brand-dark: #12241A;
  --tutor-surface-brand-secondary: #F1E7D3;
  --tutor-surface-brand-tertiary: #FAF6EC;
  --tutor-surface-brand-quaternary: #EFE4CF;
  --tutor-surface-exception7: #1B3324;
  --tutor-text-brand-primary: #A8862A;
  --tutor-text-primary: #12241A;
  --tutor-text-secondary: #4A5348;
  --tutor-border-brand-primary: #BF9B30;
  --tutor-color-primary: #BF9B30;
  --tutor-color-primary-hover: #A8862A;
  --tutor-color-primary-rgb: 191, 155, 48;
  --tutor-body-color: #4A5348;
  --tutor-color-black: #12241A;
}

/* Typographie */
.tutor-course-details-page, .tutor-lesson-wrapper, .tutor-course-spotlight-wrapper,
.tutor-dashboard, .tutor-wrap, .tutor-lesson-content {
  font-family: "Outfit", sans-serif;
  color: #4A5348;
}
.tutor-course-details-page h1, .tutor-course-details-page h2, .tutor-course-details-page h3,
.tutor-course-details-title, .tutor-course-content-title, .tutor-course-details-widget-title,
.tutor-lesson-content h1, .tutor-lesson-content h2, .tutor-lesson-content h3,
.tutor-accordion-item-header, .tutor-dashboard h1, .tutor-dashboard h2, .tutor-dashboard h3 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  color: #12241A !important;
  letter-spacing: -0.4px;
}
.tutor-course-details-title { font-size: 38px !important; line-height: 1.16 !important; }
@media (max-width: 767px) { .tutor-course-details-title { font-size: 27px !important; } }

/* Fonds : on sort du gris par defaut */
.tutor-course-details-page, .tutor-lesson-wrapper, .tutor-course-spotlight-wrapper { background: #FAF6EC; }
.tutor-course-details-page { padding-top: 40px; padding-bottom: 60px; }

/* Boutons */
.tutor-btn.tutor-btn-primary, .tutor-btn.tutor-btn-primary:hover,
.tutor-mark-as-complete-button, button.tutor-mark-as-complete-button {
  background-color: #BF9B30 !important;
  border-color: #BF9B30 !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  font-family: "Outfit", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 13px !important;
  padding: 15px 28px !important;
  transition: background-color .3s ease, transform .3s ease;
}
.tutor-btn.tutor-btn-primary:hover, .tutor-mark-as-complete-button:hover {
  background-color: #1B3324 !important;
  border-color: #1B3324 !important;
  transform: translateY(-2px);
}
.tutor-btn.tutor-btn-outline-primary {
  background: transparent !important;
  border-color: rgba(27,51,36,.35) !important;
  color: #1B3324 !important;
  border-radius: 999px !important;
  font-family: "Outfit", sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 13px !important;
  padding: 14px 26px !important;
}
.tutor-btn.tutor-btn-outline-primary:hover { background: #1B3324 !important; color: #FAF6EC !important; border-color: #1B3324 !important; }
.tutor-btn.tutor-btn-ghost { color: #6B7A6E !important; font-family: "Outfit", sans-serif !important; }
.tutor-btn.tutor-btn-ghost:hover { color: #A8862A !important; }

/* Barre de progression */
.tutor-progress-bar { background: rgba(27,51,36,.12) !important; border-radius: 999px; height: 8px !important; overflow: hidden; }
.tutor-progress-value, .tutor-progress-bar > span { background: linear-gradient(90deg, #BF9B30, #E2C979) !important; }

/* Carte laterale */
.tutor-sidebar-card, .tutor-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(27,51,36,.14) !important;
  border-radius: 22px !important;
  box-shadow: none !important;
}

/* Sommaire : chapitres et lecons */
.tutor-accordion-item { border: 1px solid rgba(27,51,36,.14) !important; border-radius: 18px !important; overflow: hidden; margin-bottom: 12px; background: #FFFFFF; }
.tutor-accordion-item-header { background: #F4EBD8 !important; font-size: 17px !important; font-weight: 700 !important; padding: 18px 22px !important; }
.tutor-accordion-item-header.is-active { background: #EFE4CF !important; color: #12241A !important; }
.tutor-accordion-item-body { background: #FFFFFF !important; }
.tutor-course-topic-item, .tutor-accordion-item-body a { font-family: "Outfit", sans-serif; color: #1B3324 !important; }
.tutor-course-topic-item:hover, .tutor-accordion-item-body a:hover { background: #FAF6EC !important; color: #A8862A !important; }

/* Contenu de lecon */
.tutor-lesson-content { background: #FFFFFF; border: 1px solid rgba(27,51,36,.12); border-radius: 24px; padding: 34px 38px; }
@media (max-width: 767px) { .tutor-lesson-content { padding: 24px 20px; border-radius: 18px; } }
.tutor-lesson-content h3 {
  font-size: 24px !important; margin: 1.5em 0 .6em;
  padding-left: 14px; border-left: 3px solid #BF9B30;
}
.tutor-lesson-content h3:first-child { margin-top: 0; }
.tutor-lesson-content p { font-size: 17px; line-height: 1.8; margin: 0 0 1.05em; }
.tutor-lesson-content strong { color: #12241A; font-weight: 600; }
.tutor-lesson-content em { color: #4A5348; }
.tutor-lesson-content .mh-matn {
  background: #FAF6EC; border: 1px solid rgba(191,155,48,.3); border-radius: 18px;
  padding: 26px 28px; margin: 4px 0 10px;
}
.tutor-lesson-content .mh-matn p { font-family: "Amiri", serif; font-size: 23px; line-height: 2.05; color: #12241A; }
.tutor-lesson-content .mh-source { font-size: 13px; color: #6B7A6E; font-style: italic; }
.tutor-lesson-content audio { width: 100%; height: 46px; margin: 6px 0 12px; }
.tutor-lesson-content a { color: #A8862A; text-decoration: underline; text-underline-offset: 3px; }

/* Onglets sous la lecon */
.tutor-lesson-content-tab .tutor-nav-link.is-active { color: #A8862A !important; border-color: #BF9B30 !important; }

/* ------------------------------------------------------------------
   Bandeau : inscriptions closes (page Cours 2025-2026).
   ------------------------------------------------------------------ */
/* Elementor n'applique pas _css_classes aux conteneurs : on cible l'id. */
.elementor-element[data-id="mhcl001"] {
  margin: 0 auto 10px;
  padding: 26px 30px !important;
  border: 1px solid rgba(191, 155, 48, .5);
  border-radius: 20px;
  background: #FAF6EC;
}
.mh-cloture-txt p {
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #52604F;
}
.mh-cloture-txt strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 19px;
  color: #A8503A;
}
.mh-cloture-txt a { color: #A8862A; text-decoration: underline; text-underline-offset: 3px; }
.mh-cloture .elementor-widget-button { display: inline-block; margin: 6px 10px 0 0; }

/* 28. Parcours des noms d Allah : versets arabe + francais, nom mis en avant */
.mh-aya { margin: 22px 0; padding: 16px 22px 14px; border-right: 3px solid #BF9B30; border-radius: 4px 16px 16px 4px; background: #FAF6EC; }
.mh-aya .mh-aya-ar { direction: rtl; margin: 0 0 8px; font-family: "Amiri", serif; font-size: 23px; line-height: 2; color: #12241A; }
.mh-aya .mh-aya-fr { margin: 0; font-family: "Outfit", sans-serif; font-size: 16px; font-style: italic; line-height: 1.75; color: #3C4A3E; }
.mh-aya .mh-aya-ref { display: block; margin-top: 6px; font-style: normal; font-size: 13px; letter-spacing: .6px; color: #8F6E1D; }
.mh-nom { display: inline-block; direction: rtl; font-family: "Amiri", serif; font-size: 1.22em; color: #8F6E1D; }
.mh-nom-bloc { margin: 18px 0 24px; padding: 20px 24px; border: 1px solid rgba(191,155,48,.45); border-radius: 18px; background: #FFFFFF; text-align: center; }
.mh-nom-bloc .mh-nom-ar { direction: rtl; margin: 0; font-family: "Amiri", serif; font-size: 34px; line-height: 1.7; color: #1B3324; }
.mh-nom-bloc .mh-nom-ph { margin: 4px 0 0; font-family: "Outfit", sans-serif; font-size: 15px; letter-spacing: 2.4px; text-transform: uppercase; color: #BF9B30; }

/* 29. Parcours Education de l enfant : tableau de synthese */
.mh-tableau { width: 100%; margin: 20px 0 28px; border-collapse: separate; border-spacing: 0; border: 1px solid rgba(27,51,36,.14); border-radius: 16px; overflow: hidden; font-family: "Outfit", sans-serif; font-size: 15px; line-height: 1.6; }
.mh-tableau th { padding: 12px 16px; background: #1B3324; color: #FAF6EC; text-align: left; font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; font-weight: 700; }
.mh-tableau td { padding: 14px 16px; border-top: 1px solid rgba(27,51,36,.1); vertical-align: top; color: #12241A; background: #FFFFFF; }
.mh-tableau tr:nth-child(even) td { background: #FAF6EC; }
.mh-tableau td strong { color: #8F6E1D; }
@media (max-width: 700px) { .mh-tableau thead { display: none; } .mh-tableau, .mh-tableau tbody, .mh-tableau tr, .mh-tableau td { display: block; width: 100%; } .mh-tableau tr { border-top: 1px solid rgba(27,51,36,.14); } .mh-tableau tr:first-child { border-top: 0; } .mh-tableau td { border-top: 0; padding: 8px 16px; } .mh-tableau td:first-child { padding-top: 16px; } .mh-tableau td:last-child { padding-bottom: 16px; } .mh-tableau td:nth-child(2)::before { content: "Signification"; display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #8F6E1D; } .mh-tableau td:nth-child(3)::before { content: "À faire"; display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #8F6E1D; } }
/* 29b. Tableaux de noms d Allah et de moments du quotidien */
.mh-tableau-noms td:first-child { text-align: right; white-space: nowrap; }
.mh-tableau-noms .mh-nom { font-size: 1.5em; line-height: 1.5; }
@media (max-width: 700px) { .mh-tableau-noms td:first-child { text-align: right; } .mh-tableau-noms td:nth-child(2)::before { content: "Phonétique"; } .mh-tableau-noms td:nth-child(3)::before { content: "Sens"; display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #8F6E1D; } .mh-tableau-moments td:first-child::before { content: "Quand l’enfant…"; display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #8F6E1D; } .mh-tableau-moments td:nth-child(2)::before { content: "Allah est"; } }
