.course-status { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; width: fit-content; padding: 6px 10px; border-radius: 7px; font-size: 12px; font-weight: 700; line-height: 1.6; background: #edf0f3; color: #52616e; margin-block: 8px; }
.course-status svg { width: 18px; height: 18px; flex-shrink: 0; }
.course-brochure-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 14px 18px; border: 1px solid #179f9a; border-radius: 14px; background: #179f9a; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.6; text-align: center; text-decoration: none; box-shadow: 0 8px 20px #179f9a26; transition: transform .2s, box-shadow .2s, background .2s; }
.course-brochure-button svg { flex: none; transition: transform .2s; }
.course-brochure-button:hover { background: #117c78; border-color: #117c78; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px #179f9a38; }
.course-brochure-button:hover svg { transform: translateY(2px); }
.course-brochure-button:focus-visible { outline: 3px solid #265171; outline-offset: 4px; }
@media(prefers-reduced-motion: reduce) { .course-brochure-button, .course-brochure-button svg { transition: none; } .course-brochure-button:hover, .course-brochure-button:hover svg { transform: none; } }
.course-status--available { color: #08704d; background: #e1f6eb; }
.course-status--ongoing { color: #8b5104; background: #fff0d4; }
.course-status--ended { color: #a13434; background: #fce9e8; }
.course-presentation { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-bottom: 28px; width: 100%; min-width: 0; }
.course-presentation h2 { display: flex; align-items: center; gap: 10px; color: #265171; font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.course-presentation h2::before { content: ''; width: 5px; height: 22px; border-radius: 3px; background: #179f9a; }
.course-flyer { width: 100%; height: clamp(300px, 40vw, 480px); padding: 16px; overflow: hidden; border: 1px solid #dee6e9; border-radius: 18px; background: #f5f8f9; }
.course-flyer img { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.course-flyer-format { width: 100%; height: 100%; }
.course-flyer--formatted { height: auto; }
.course-flyer--formatted .course-flyer-format { position: relative; width: min(100%, calc(446px * var(--announcement-ratio-number))); height: auto; aspect-ratio: var(--announcement-ratio); margin-inline: auto; }
.course-flyer--formatted img { position: absolute; inset: 0; }
.course-video-player { position: relative; overflow: hidden; border: 1px solid #264556; border-radius: 18px; background: #122a39; box-shadow: 0 12px 30px -20px #12324660; }
.course-intro-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #122a39; }
.course-video-play { position: absolute; inset: 0; margin: auto; width: fit-content; height: fit-content; max-width: calc(100% - 32px); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 24px; border: 0; border-radius: 18px; background: #122a39e6; color: white; font: inherit; font-weight: 600; cursor: pointer; }
.course-video-play svg { width: 62px; height: 62px; padding: 17px; border-radius: 50%; background: #179f9a; box-shadow: 0 0 0 7px #179f9a26; transition: transform .2s ease, background .2s ease; }
.course-video-play:hover svg { transform: scale(1.08); background: #117d79; }
.course-video-play:focus-visible { outline: 3px solid #47d7c4; outline-offset: 4px; }
.course-video-play[hidden], .course-video-error[hidden] { display: none; }
.course-video-error { margin-top: 12px; padding: 14px 16px; border-radius: 10px; color: #7f4825; background: #fff4e7; font-size: 14px; }
.course-video-error a { color: #117b77; text-decoration: underline; margin-inline-start: 8px; }
@media(max-width: 639px) { .course-presentation { gap: 24px; } .course-flyer, .course-video-player { border-radius: 12px; } .course-video-play { font-size: 13px; padding: 12px; } .course-video-play svg { width: 48px; height: 48px; padding: 12px; } }
@media(prefers-reduced-motion: reduce) { .course-video-play svg { transition: none; } }
.course-qr-dialog { width: min(90vw, 28rem); max-height: 90vh; margin: auto; padding: 24px; overflow: auto; border: 0; border-radius: 16px; background: #fff; color: #262b2f; text-align: center; box-shadow: 0 20px 60px #0004; }
.course-qr-dialog::backdrop { background: #0009; }
.course-qr-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; text-align: start; }
.course-qr-dialog h2 { margin: 0; color: #265171; font-size: 20px; font-weight: 700; }
.course-qr-dialog p { margin: 12px 0 0; color: #525b61; font-size: 14px; }
.course-qr-dialog img { display: block; width: min(100%, 288px); height: auto; aspect-ratio: 1; margin: 20px auto 0; object-fit: contain; }
.course-qr-dialog__icon-close { padding: 2px 6px; border: 0; background: transparent; color: #525b61; font-size: 28px; line-height: 1; cursor: pointer; }
.course-qr-dialog__close { width: 100%; margin-top: 20px; padding: 10px 16px; border: 0; border-radius: 6px; background: #265171; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.course-qr-dialog__close:hover { background: #193950; }
.course-qr-dialog button:focus-visible { outline: 3px solid #179f9a; outline-offset: 3px; }
