/* Single course page: CPD certificate section (template-parts/course-certificate.php). */
.mci-course-cert { clear: both; width: 100%; box-sizing: border-box; padding: 64px 24px; background: #fff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #0e1b33; -webkit-font-smoothing: antialiased; }
.mci-course-cert *, .mci-course-cert *::before, .mci-course-cert *::after { box-sizing: border-box; }
.mci-cc-wrap { max-width: 1104px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.mci-cc-eyebrow { margin: 0 0 10px; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #c99a3b; }
.mci-cc-title { margin: 0 0 14px; font-family: 'Playfair Display', Georgia, serif; font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; color: #0e1b33; }
.mci-cc-text { margin: 0 0 20px; font-size: .95rem; line-height: 1.7; color: #5d6577; }
.mci-cc-points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.mci-cc-points li { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; line-height: 1.5; color: #1b2233; }
.mci-cc-points svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; background: rgba(201, 154, 59, .14); color: #9c7a2f; }
.mci-cc-fine { margin: 0; font-size: .78rem; letter-spacing: .02em; color: #8a909c; }

.mci-cc-visual { margin: 0; }
.mci-cc-paper { position: relative; border-radius: 6px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(14, 27, 51, .06), 0 24px 48px -12px rgba(14, 27, 51, .28); transform: rotate(-1.2deg); transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.mci-cc-paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, 0) 60%); transform: translateX(-100%); transition: transform 1.1s ease; }
.mci-course-cert:hover .mci-cc-paper { transform: rotate(0deg) scale(1.01); }
.mci-course-cert:hover .mci-cc-paper::after { transform: translateX(100%); }
.mci-cc-visual figcaption { margin-top: 14px; text-align: center; font-size: .78rem; color: #8a909c; }

@media (max-width: 960px) {
  .mci-cc-wrap { grid-template-columns: 1fr; gap: 32px; max-width: 680px; }
  .mci-cc-visual { order: -1; }
}
@media (max-width: 520px) {
  .mci-course-cert { padding: 44px 16px; }
  .mci-cc-paper { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .mci-cc-paper, .mci-cc-paper::after { transition: none; } }
