/* SeminarBooking front-end styles.
   Colours come from the site's dynamic theme variables:
     --system_primery_gredient1 / --system_primery_gredient2  solid start / end colours
     --system_primery_color                                   the gradient (background only)
     --system_secendory_color                                 dark text colour               */

.sem-page, .seminar-otp, .seminar-alert, .seminar-search, .seminar-card-cta {
    --sem-c1: var(--system_primery_gredient1, #660AFB);
    --sem-c2: var(--system_primery_gredient2, #BF37FF);
    --sem-grad: var(--system_primery_color, linear-gradient(77deg, #660AFB, #BF37FF));
    --sem-ink: var(--system_secendory_color, #202E3B);
    --sem-muted: #6b7088;
    --sem-line: #e6e8f2;
    --sem-soft: color-mix(in srgb, var(--sem-c1) 8%, #fff);
}

/* ---- Inline messages ------------------------------------------------------ */
.seminar-alert {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
}
.seminar-alert[hidden] { display: none; }
.seminar-alert.is-error { background: #fff1f1; border-color: #f7c6c6; color: #a12828; }
.seminar-alert.is-success { background: #effaf3; border-color: #bfe6cc; color: #1d6b3a; }

/* ---- Buttons / inputs ----------------------------------------------------- */
.sem-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 22px;
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: #fff;
    background: var(--sem-grad);
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.sem-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px color-mix(in srgb, var(--sem-c1) 35%, transparent); }
.sem-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; box-shadow: none; }
.sem-btn.is-outline { color: var(--sem-c1); background: #fff; border: 1.5px solid var(--sem-c1); }
.sem-btn.is-outline:hover { color: #fff; background: var(--sem-grad); }
.sem-btn.is-whatsapp { background: #25d366; }
.sem-btn.is-whatsapp:hover { box-shadow: 0 10px 22px rgba(37, 211, 102, .35); }
.sem-btn.is-light { color: var(--sem-c1); background: #fff; }
.sem-btn.is-busy { position: relative; pointer-events: none; opacity: .85; }
.sem-btn.is-busy::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: seminar-spin .7s linear infinite;
}
@keyframes seminar-spin { to { transform: rotate(360deg); } }

.sem-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--sem-ink); }
.sem-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid var(--sem-line);
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    color: var(--sem-ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.sem-input:focus { outline: none; border-color: var(--sem-c1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sem-c1) 14%, transparent); }
.sem-hint { margin: 6px 0 0; font-size: 12px; color: var(--sem-muted); }

/* ---- OTP step ------------------------------------------------------------- */
.seminar-otp[hidden] { display: none; }
.seminar-otp { text-align: center; }
.seminar-otp-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--sem-c1);
    background: var(--sem-soft);
}
.seminar-otp-title { font-weight: 700; margin-bottom: 4px; color: var(--sem-ink); }
.seminar-otp-sub { color: var(--sem-muted); font-size: 14px; margin-bottom: 18px; }
.seminar-otp-field { text-align: left; margin-bottom: 16px; }
.seminar-otp-input {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 10px;
    padding: 0 8px 0 18px;
    height: 56px;
    font-family: "Courier New", Courier, monospace;
}
.seminar-otp-input::placeholder { letter-spacing: 6px; color: #c3c6d6; font-weight: 400; }
.seminar-otp-hint { display: block; margin-top: 4px; color: var(--sem-muted); font-size: 12px; }
.seminar-otp-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.seminar-otp-actions button { border: 0; background: transparent; padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--sem-c1); }
.seminar-otp-actions button:disabled { color: var(--sem-muted); font-weight: 500; cursor: not-allowed; }

/* ---- Seminar listing ------------------------------------------------------- */
.seminar-tag.is-live::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: #e5383b;
    animation: seminar-pulse 1.2s ease-in-out infinite;
}
@keyframes seminar-pulse { 50% { opacity: .3; } }
.seminar-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--sem-c1);
}
.seminar-card-cta:hover { color: var(--sem-c1); gap: 10px; }
.course-item-footer .seminar-card-cta { font-size: 16px; color: var(--sem-c1); }
.course-item-footer .seminar-card-cta:hover { color: var(--sem-c2, var(--sem-c1)); }

.seminar-card-countdown { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 18px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--sem-c1) 8%, #fff); }
.seminar-card-countdown { --sem-c1: var(--system_primery_gredient1, #660AFB); }
.seminar-countdown-label { font-size: 12px; font-weight: 700; color: var(--sem-c1); text-transform: uppercase; letter-spacing: .4px; }
.seminar-countdown-units { display: flex; gap: 6px; }
.seminar-countdown-units[hidden] { display: none; }
.seminar-countdown-units span { min-width: 34px; text-align: center; line-height: 1.1; }
.seminar-countdown-units b { display: block; font-size: 15px; font-weight: 800; color: var(--sem-c1); font-variant-numeric: tabular-nums; }
.seminar-countdown-units small { font-size: 9px; font-weight: 600; text-transform: uppercase; color: #6b7088; }
.seminar-search { position: relative; }
.seminar-search input {
    width: 100%;
    height: 44px;
    padding: 0 44px 0 14px;
    border: 1px solid var(--sem-line);
    border-radius: 10px;
    background: transparent;
    font-size: 14px;
}
.seminar-search input:focus { outline: none; border-color: var(--sem-c1); }
.seminar-search button { position: absolute; top: 0; right: 0; height: 44px; width: 44px; border: 0; background: transparent; color: var(--sem-c1); }

/* ---- Seminar page ---------------------------------------------------------- */
.sem-page { color: var(--sem-ink); font-family: inherit; overflow-x: hidden; }
.sem-page *, .sem-page *::before, .sem-page *::after { box-sizing: border-box; }
.sem-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sem-page h1, .sem-page h2, .sem-page h3, .sem-page h4, .sem-page h5, .sem-page p, .sem-page ul, .sem-page ol { margin-top: 0; }

/* Hero */
.sem-hero {
    position: relative;
    isolation: isolate;
    padding: 72px 0 150px;
    color: #fff;
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .13) 1px, transparent 0) 0 0 / 24px 24px,
        linear-gradient(180deg, rgba(8, 10, 40, .0), rgba(8, 10, 40, .28)),
        var(--sem-grad);
}
.sem-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sem-bg .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; background: #fff; }
.sem-bg .o1 { width: 380px; height: 380px; top: -160px; right: 8%; opacity: .22; }
.sem-bg .o2 { width: 300px; height: 300px; bottom: -140px; left: -80px; opacity: .16; }
.sem-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; }

.sem-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(8px);
}
.sem-badge i { width: 8px; height: 8px; border-radius: 50%; background: #ff5d5d; box-shadow: 0 0 0 0 rgba(255, 93, 93, .7); animation: sem-ping 1.6s infinite; }
@keyframes sem-ping { 70% { box-shadow: 0 0 0 9px rgba(255, 93, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 93, 93, 0); } }
.sem-title { margin: 20px 0 16px; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.12; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.sem-title span { background: linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, .7)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sem-topic-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .95); }
.sem-topic-line small { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; background: rgba(255, 255, 255, .2); }

.sem-facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; max-width: 560px; }
.sem-facts li { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(8px); min-width: 0; }
.sem-facts li i { margin-bottom: 8px; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; background: rgba(255, 255, 255, .22); }
.sem-facts small { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; opacity: .8; }
.sem-facts b { font-size: 15px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }

.sem-proof { display: flex; align-items: center; gap: 14px; }
.sem-avatars { display: flex; flex: none; }
.sem-avatars img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; background: #fff; }
.sem-avatars img:first-child { margin-left: 0; }
.sem-stars { display: flex; gap: 2px; color: #ffc107; font-size: 13px; }
.sem-proof p { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .9); max-width: 300px; }

/* Registration card */
.sem-card {
    background: #fff;
    color: var(--sem-ink);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 30px 70px rgba(10, 12, 40, .35);
    scroll-margin-top: 96px;
}
.sem-countdown-label { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--sem-muted); }
.sem-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.sem-countdown div { padding: 10px 4px 8px; text-align: center; border-radius: 14px; background: var(--sem-soft); }
.sem-countdown strong { display: block; font-size: 24px; line-height: 1.1; font-weight: 800; color: var(--sem-c1); font-variant-numeric: tabular-nums; }
.sem-countdown small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--sem-muted); }

.sem-steps { display: flex; align-items: center; list-style: none; padding: 0; margin: 0 0 20px; }
.sem-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--sem-muted); }
.sem-steps li:not(:last-child) { flex: 1; }
.sem-steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 6px; border-radius: 2px; background: var(--sem-line); }
.sem-steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--sem-muted); background: var(--sem-soft); }
.sem-steps li.is-active { color: var(--sem-ink); }
.sem-steps li.is-active b, .sem-steps li.is-done b { color: #fff; background: var(--sem-grad); }
.sem-steps li.is-done:not(:last-child)::after { background: var(--sem-c1); }

.sem-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sem-form[hidden] { display: none; }
.sem-form .is-full { grid-column: 1 / -1; }
.sem-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 12px; text-align: center; color: var(--sem-muted); }

/* How it works */
.sem-how { position: relative; z-index: 3; margin-top: -62px; }
.sem-how ol { list-style: none; margin: 0; padding: 18px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: #fff; border: 1px solid var(--sem-line); border-radius: 20px; box-shadow: 0 14px 40px rgba(16, 24, 40, .1); }
.sem-how li { display: flex; align-items: center; gap: 14px; padding: 8px 14px; }
.sem-how li + li { border-left: 1px dashed var(--sem-line); }
.sem-how li > b { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #fff; background: var(--sem-grad); }
.sem-how strong { display: block; font-size: 15px; font-weight: 800; }
.sem-how span { display: block; font-size: 13px; line-height: 1.4; color: var(--sem-muted); }

/* Body */
.sem-body { padding: 36px 0 80px; }
.sem-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.sem-panel { background: #fff; border: 1px solid var(--sem-line); border-radius: 22px; padding: 30px; margin-bottom: 24px; box-shadow: 0 6px 24px rgba(16, 24, 40, .05); }
.sem-panel h2 { margin: 0 0 18px; font-size: 22px; font-weight: 800; color: var(--sem-ink); display: flex; align-items: center; gap: 10px; }
.sem-panel h2::before { content: ""; width: 5px; height: 22px; border-radius: 4px; background: var(--sem-grad); }
.sem-description { font-size: 16px; line-height: 1.75; color: #444a63; overflow-wrap: anywhere; }
.sem-description img { max-width: 100%; height: auto; border-radius: 12px; }
.sem-description h1, .sem-description h2, .sem-description h3 { color: var(--sem-ink); }

.sem-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.sem-cta { border-radius: 22px; padding: 24px; }
.sem-cta h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.sem-cta p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; }
.sem-cta-icon { width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.sem-cta.is-course { color: #fff; background: var(--sem-grad); box-shadow: 0 14px 34px color-mix(in srgb, var(--sem-c1) 30%, transparent); }
.sem-cta.is-course h3 { color: #fff; }
.sem-cta.is-course p { color: rgba(255, 255, 255, .92); }
.sem-cta.is-course .sem-cta-icon { background: rgba(255, 255, 255, .2); }
.sem-cta.is-whatsapp { background: #f0fbf4; border: 1px solid #c6ecd3; }
.sem-cta.is-whatsapp .sem-cta-icon { color: #fff; background: #25d366; }
.sem-cta.is-whatsapp p { color: #3d5a49; }

/* FAQ */
.sem-faq details { border: 1px solid var(--sem-line); border-radius: 14px; margin-bottom: 12px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.sem-faq details[open] { border-color: var(--sem-c1); box-shadow: 0 6px 18px color-mix(in srgb, var(--sem-c1) 12%, transparent); }
.sem-faq summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; }
.sem-faq summary::-webkit-details-marker { display: none; }
.sem-faq summary .no { flex: none; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--sem-c1); background: var(--sem-soft); }
.sem-faq summary .q { flex: 1; min-width: 0; }
.sem-faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--sem-c1); transition: transform .2s ease; }
.sem-faq details[open] summary::after { transform: rotate(45deg); }
.sem-faq .a { padding: 0 18px 18px 64px; color: #4b4f6b; line-height: 1.7; }

/* Success */
.sem-success { text-align: center; padding: 8px 0; }
.sem-success .tick { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; background: #22b573; box-shadow: 0 10px 24px rgba(34, 181, 115, .35); }
.sem-success h4 { margin: 0 0 6px; font-weight: 800; color: var(--sem-ink); }
.sem-success p { margin: 0 0 18px; color: var(--sem-muted); font-size: 14px; }
.sem-success .sem-btn + .sem-btn { margin-top: 10px; }

/* Mobile booking bar */
.sem-mobile-bar { display: none; }

@media (max-width: 991px) {
    .sem-hero { padding: 40px 0 110px; }
    .sem-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .sem-facts { max-width: none; }
    .sem-body-grid { grid-template-columns: 1fr; }
    .sem-side { position: static; }
    .sem-how ol { grid-auto-flow: row; padding: 10px; }
    .sem-how li + li { border-left: 0; border-top: 1px dashed var(--sem-line); }
    .sem-mobile-bar {
        display: flex;
        position: fixed;
        z-index: 60;
        left: 0;
        right: 0;
        bottom: 0;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid var(--sem-line);
        box-shadow: 0 -10px 30px rgba(16, 24, 40, .12);
    }
    .sem-mobile-bar small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--sem-muted); }
    .sem-mobile-bar b { display: block; font-size: 16px; font-weight: 800; color: var(--sem-c1); font-variant-numeric: tabular-nums; }
    .sem-mobile-bar .sem-btn { width: auto; padding: 12px 20px; white-space: nowrap; }
    .sem-page { padding-bottom: 76px; }
}
@media (max-width: 575px) {
    .sem-wrap { padding: 0 16px; }
    .sem-hero { padding: 28px 0 96px; }
    .sem-title { margin: 16px 0 12px; }
    .sem-topic-line { margin-bottom: 18px; font-size: 14px; }
    .sem-facts { gap: 8px; margin-bottom: 20px; }
    .sem-facts li { padding: 10px; border-radius: 14px; }
    .sem-facts li i { width: 28px; height: 28px; margin-bottom: 6px; font-size: 13px; }
    .sem-facts b { font-size: 13px; }
    .sem-proof { display: none; }
    .sem-card { padding: 18px 16px; border-radius: 20px; }
    .sem-countdown { gap: 6px; }
    .sem-countdown strong { font-size: 20px; }
    .sem-steps li span { display: none; }
    .sem-steps li.is-active span { display: inline; }
    .sem-form { grid-template-columns: 1fr; gap: 12px; }
    .sem-how { margin-top: -52px; }
    .sem-how li { padding: 10px 8px; }
    .sem-body { padding-top: 24px; }
    .sem-panel { padding: 22px 18px; border-radius: 18px; }
    .sem-panel h2 { font-size: 19px; }
    .sem-description { font-size: 15px; }
    .sem-faq summary { padding: 14px; font-size: 15px; }
    .sem-faq .a { padding: 0 14px 16px; }
}

/* ---- Live seminar page ----------------------------------------------------- */
.sem-hero.is-live { padding: 64px 0 150px; text-align: center; }
.sem-live-intro { max-width: 760px; }
.sem-hero.is-live .sem-title { margin-bottom: 26px; }
.sem-facts.is-centered { margin: 0 auto 20px; max-width: 520px; text-align: left; }
.sem-ends { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); }
.sem-ends b { font-variant-numeric: tabular-nums; font-size: 16px; }

.sem-live-body { position: relative; z-index: 3; margin-top: -86px; padding-bottom: 80px; }
.sem-live-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.sem-live-side { display: grid; gap: 18px; align-content: start; }
.sem-join { padding: 34px; text-align: center; background: #fff; border: 1px solid var(--sem-line); border-radius: 24px; box-shadow: 0 24px 60px rgba(16, 24, 40, .14); }
.sem-join-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; background: var(--sem-grad); box-shadow: 0 14px 30px color-mix(in srgb, var(--sem-c1) 35%, transparent); animation: sem-float 3s ease-in-out infinite; }
@keyframes sem-float { 50% { transform: translateY(-5px); } }
.sem-join h2 { margin: 0 0 10px; font-size: 26px; font-weight: 800; color: var(--sem-ink); }
.sem-join p { margin: 0 auto 24px; max-width: 460px; font-size: 15px; line-height: 1.7; color: var(--sem-muted); }
.sem-btn-lg { padding: 18px 26px; font-size: 17px; border-radius: 14px; }
.sem-join-note { display: block; margin-top: 12px; font-size: 12px; color: var(--sem-muted); }

.sem-tips { margin-top: 24px; padding: 22px 26px; background: var(--sem-soft); border-radius: 20px; }
.sem-tips h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--sem-ink); }
.sem-tips ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.sem-tips li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: #444a63; }
.sem-tips li i { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; background: var(--sem-grad); }

@media (max-width: 991px) {
    .sem-hero.is-live { padding: 36px 0 120px; }
    .sem-live-grid { grid-template-columns: 1fr; }
    .sem-tips ul { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .sem-hero.is-live { padding: 26px 0 104px; }
    .sem-live-body { margin-top: -72px; padding-bottom: 48px; }
    .sem-join { padding: 24px 18px; border-radius: 20px; }
    .sem-join h2 { font-size: 22px; }
    .sem-tips { padding: 18px; }
}

/* Keep the search box clear of the sidebar divider and the countdown clear of the card footer. */
.single_course_categry .seminar-search { margin-bottom: 26px; }
.course-item-footer { margin-top: 0; }
.course-item .seminar-card-countdown + .course-item-footer { padding-top: 14px; }

/* ---- Gradient cards, panels and motion ---------------------------------------- */
.sem-panel, .sem-cta, .sem-join { position: relative; overflow: hidden; }
.sem-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sem-grad); }
.sem-panel h2::before { background: var(--sem-grad); }

.sem-cta { isolation: isolate; color: #fff; border: 0; padding: 26px; }
.sem-cta h3 { color: #fff; font-size: 20px; }
.sem-cta p { color: rgba(255, 255, 255, .92); }
.sem-cta.is-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #0fa968 45%, #0b7d63 100%);
    background-size: 200% 200%;
    box-shadow: 0 16px 36px rgba(15, 169, 104, .32);
}
.sem-cta.is-course {
    background: linear-gradient(120deg, var(--sem-c1), var(--sem-c2), var(--sem-c1));
    background-size: 220% 220%;
    box-shadow: 0 16px 36px color-mix(in srgb, var(--sem-c1) 34%, transparent);
}
.sem-cta .sem-cta-icon { position: relative; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; font-size: 24px; background: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(6px); }
.sem-cta.is-whatsapp .sem-cta-icon { background: #fff; color: #17b564; }
.sem-cta-badge { position: absolute; top: 20px; right: 20px; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .35); }
.sem-deco { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .14); pointer-events: none; }
.sem-deco.d1 { width: 150px; height: 150px; right: -50px; bottom: -60px; }
.sem-deco.d2 { width: 90px; height: 90px; right: 70px; top: -36px; background: rgba(255, 255, 255, .1); }

.sem-cta .sem-btn { position: relative; overflow: hidden; background: #fff; color: var(--sem-c1); box-shadow: 0 8px 18px rgba(0, 0, 0, .14); }
.sem-cta.is-whatsapp .sem-btn { color: #0b8f5d; }
.sem-cta .sem-btn:hover { color: var(--sem-c1); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 0, 0, .2); }
.sem-cta.is-whatsapp .sem-btn:hover { color: #0b8f5d; }
.sem-cta .sem-btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); transform: skewX(-20deg); }

.sem-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.sem-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
    .sem-cta.is-whatsapp, .sem-cta.is-course { animation: sem-grad-shift 9s ease-in-out infinite; }
    .sem-deco.d1 { animation: sem-drift 7s ease-in-out infinite; }
    .sem-deco.d2 { animation: sem-drift 5s ease-in-out infinite reverse; }
    .sem-cta .sem-cta-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(255, 255, 255, .7); animation: sem-ring 2.2s ease-out infinite; }
    .sem-cta .sem-btn::before { animation: sem-shine 3.4s ease-in-out infinite; }
    .sem-cta-badge { animation: sem-bob 2.6s ease-in-out infinite; }
    .sem-how li > b { transition: transform .25s ease; }
    .sem-how li:hover > b { transform: scale(1.1) rotate(-4deg); }
    .sem-panel { transition: box-shadow .25s ease, transform .25s ease; }
    .sem-panel:hover { box-shadow: 0 14px 38px rgba(16, 24, 40, .1); }
    .sem-cta { transition: transform .25s ease; }
    .sem-cta:hover { transform: translateY(-4px); }
}
@keyframes sem-grad-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sem-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-14px, -12px); } }
@keyframes sem-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes sem-shine { 0%, 55% { left: -60%; } 100% { left: 140%; } }
@keyframes sem-bob { 50% { transform: translateY(-3px); } }

/* Tighter gaps between the steps strip and the content */
.sem-body { padding-top: 24px; }
.sem-panel h2 { margin-bottom: 16px; }
@media (max-width: 575px) { .sem-cta { padding: 22px 18px; } .sem-cta-badge { top: 16px; right: 14px; } }
