/* Free course block: brochure next to the form (desktop), stacked on phones. */
.course-offer { display: grid; grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.course-offer__media { display: flex; justify-content: center; }
.course-offer__media picture, .course-offer__img { display: block; width: 100%; max-width: 380px; height: auto; }
.course-offer__img { filter: drop-shadow(0 24px 30px rgba(17, 19, 24, 0.22)); }
.course-offer__title { margin: 0.4rem 0 0.8rem; }
.course-offer__text { font-size: 1.08rem; line-height: 1.65; color: var(--ink-soft, #3b3d44); max-width: 36rem; }
.ap-course-form { display: grid; gap: 0.75rem; max-width: 34rem; margin-top: 1.2rem; }
.ap-course-field span { font-weight: 600; font-size: 0.95rem; }
.ap-course-form input[type="email"] { width: 100%; min-height: 52px; padding: 0.75rem 1rem; border: 1px solid rgba(24, 25, 29, 0.25); border-radius: 12px; background: #fff; font: inherit; font-size: 1rem; color: #18191d; }
.ap-course-form input[type="email"]:focus { outline: 2px solid var(--gold, #c7a466); outline-offset: 2px; border-color: transparent; }
.ap-course-info { margin: 0; font-size: 0.9rem; color: var(--ink-muted, #5a5d66); }
.ap-course-info a, .ap-course-consent a { text-decoration: underline; }
.ap-course-consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; cursor: pointer; }
.ap-course-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--gold-deep, #80612a); }
.ap-course-consent em { font-style: normal; color: var(--ink-muted, #5a5d66); }
.ap-course-submit { justify-self: start; }
.ap-course-message:empty { display: none; }
.ap-course-message { padding: 0.9rem 1rem; border-radius: 12px; background: rgba(199, 164, 102, 0.12); }
.ap-course-message p { margin: 0 0 0.5rem; }
.ap-course-message p:last-child { margin-bottom: 0; }
.ap-course-message .btn { margin-top: 0.4rem; }
.ap-course-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.course-inline { margin: 2rem 0; }
.course-inline .container { padding: 0; }
@media (max-width: 760px) {
  .course-offer { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
  /* The brochure stays small so the form is reached quickly. */
  .course-offer__media picture, .course-offer__img { max-width: min(58vw, 230px); }
  .ap-course-submit { justify-self: stretch; width: 100%; }
}
