.textwidget img {
  max-width: 250px !important;
  width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}
/* =========================================================
   OBJECTIF PN — FICHES FORMATIONS
   CSS commun : Pack CCA renforcé + Module Boarding
   ========================================================= */

.opn-course {
  --opn-primary: #17324d;
  --opn-accent: #2f6f9f;
  --opn-text: #263746;
  --opn-muted: #687784;
  --opn-border: #dce3e8;
  --opn-soft: #f5f7f9;
  --opn-info: #edf4f8;
  --opn-warning: #fff8e9;

  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  color: var(--opn-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.opn-course,
.opn-course *,
.opn-course *::before,
.opn-course *::after {
  box-sizing: border-box;
}

.opn-course p,
.opn-course ul,
.opn-course ol,
.opn-course dl {
  margin-top: 0;
}

.opn-course p {
  margin-bottom: 0.65rem;
}

.opn-course ul {
  margin-bottom: 0.5rem;
  padding-left: 1.15rem;
}

.opn-course li {
  margin-bottom: 0.28rem;
}

.opn-course li:last-child {
  margin-bottom: 0;
}

.opn-course a {
  color: var(--opn-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.opn-course a:hover,
.opn-course a:focus {
  color: var(--opn-primary);
}


/* =========================================================
   EN-TÊTE
   ========================================================= */

.opn-course__header {
  margin-bottom: 0.75rem;
  padding: 1.15rem 1.25rem;
  background: var(--opn-soft);
  border: 1px solid var(--opn-border);
  border-left: 4px solid var(--opn-primary);
  border-radius: 8px;
}


/* Sur-titre :
   ex. Renforcement des compétences professionnelles */

.opn-course__eyebrow {
  margin-bottom: 0.35rem !important;
  color: var(--opn-accent);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}


/* Titre principal */

.opn-course__header h1 {
  margin: 0 0 0.55rem;
  color: var(--opn-primary);
  font-size: clamp(1.9rem, 4vw, 2.35rem);
  font-weight: 750;
  line-height: 1.12;
}


/* Introduction sous le titre */

.opn-course__intro {
  margin-bottom: 0.9rem !important;
  color: var(--opn-text);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
}


/* =========================================================
   BLOC DURÉE / TARIF / NATURE / FINANCEMENT
   ========================================================= */

.opn-course__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0.95rem 0 0;
  border-top: 1px solid var(--opn-border);
  border-left: 1px solid var(--opn-border);
}

.opn-course__meta > div {
  min-width: 0;
  padding: 0.75rem 0.8rem;
  background: #ffffff;
  border-right: 1px solid var(--opn-border);
  border-bottom: 1px solid var(--opn-border);
}


/* Libellés :
   Durée / Tarif / Nature / Financement */

.opn-course__meta dt {
  margin: 0 0 0.18rem;
  color: var(--opn-muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}


/* Valeurs :
   3 jours – 20 h / 300 € / etc. */

.opn-course__meta dd {
  margin: 0;
  color: var(--opn-primary);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.3;
}


/* =========================================================
   ENCADRÉS D’INFORMATION
   ========================================================= */

.opn-course__callout {
  margin: 0 0 0.75rem;
  padding: 0.8rem 0.95rem;
  background: var(--opn-info);
  border-left: 3px solid var(--opn-accent);
  border-radius: 5px;
}

.opn-course__callout strong {
  color: var(--opn-primary);
}

.opn-course__callout p:last-child,
.opn-course__notice p:last-child {
  margin-bottom: 0;
}


.opn-course__notice {
  margin-top: 0.65rem;
  padding: 0.75rem 0.9rem;
  background: var(--opn-warning);
  border: 1px solid #ead8aa;
  border-radius: 5px;
}

.opn-course__notice strong {
  color: #6d531b;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.opn-course__section {
  margin-bottom: 0.65rem;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border: 1px solid var(--opn-border);
  border-radius: 7px;
}

.opn-course__section h2 {
  margin: 0 0 0.55rem;
  padding-bottom: 0.4rem;
  color: var(--opn-primary);
  font-size: 1.16rem;
  font-weight: 750;
  line-height: 1.25;
  border-bottom: 1px solid var(--opn-border);
}

.opn-course__section h3 {
  margin: 0.85rem 0 0.3rem;
  color: var(--opn-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.opn-course__section h3:first-child {
  margin-top: 0;
}


/* =========================================================
   RÉPARTITION DES HEURES
   ========================================================= */

.opn-course__breakdown {
  margin: 0;
  border-top: 1px solid var(--opn-border);
}

.opn-course__breakdown > div {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.5rem 0.15rem;
  border-bottom: 1px solid var(--opn-border);
}

.opn-course__breakdown dt {
  margin: 0;
  font-weight: 500;
}

.opn-course__breakdown dd {
  flex: 0 0 auto;
  margin: 0;
  color: var(--opn-primary);
  font-weight: 700;
}

.opn-course__breakdown .opn-course__total {
  padding-right: 0.55rem;
  padding-left: 0.55rem;
  background: var(--opn-soft);
}

.opn-course__breakdown .opn-course__total dt,
.opn-course__breakdown .opn-course__total dd {
  font-weight: 750;
}


/* =========================================================
   COMPÉTENCES C02 / C04
   ========================================================= */

.opn-course__skills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.opn-course__skill {
  padding: 0.75rem 0.8rem;
  background: var(--opn-soft);
  border-radius: 6px;
}

.opn-course__skill-code {
  display: inline-block;
  margin-bottom: 0.3rem;
  padding: 0.12rem 0.42rem;
  color: #ffffff;
  background: var(--opn-accent);
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
}

.opn-course__skill h3 {
  margin: 0 0 0.25rem;
  color: var(--opn-primary);
  font-size: 1rem;
}

.opn-course__skill p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   PIED DE PAGE
   ========================================================= */

.opn-course__footer {
  margin-top: 0.7rem;
  color: var(--opn-muted);
  font-size: 0.76rem;
  line-height: 1.35;
  text-align: right;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

  .opn-course {
    font-size: 15.5px;
  }

  .opn-course__header {
    padding: 1rem;
  }

  .opn-course__eyebrow {
    font-size: 1.85rem;
  }

  .opn-course__header h1 {
    font-size: 1.85rem;
  }

  .opn-course__intro {
    font-size: 1.08rem;
  }

  .opn-course__meta {
    grid-template-columns: 1fr;
  }

  .opn-course__meta dt {
    font-size: 0.85rem;
  }

  .opn-course__meta dd {
    font-size: 1.03rem;
  }

  .opn-course__skills {
    grid-template-columns: 1fr;
  }

  .opn-course__section {
    padding: 0.85rem 0.9rem;
  }
}