.footer {
    position: static !important;
}

.header__banner-wrap {
    padding: 25px 0 0;
}

.header__banner {
    position: relative;
}

.header__banner .owl-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 3;
}

.header__banner .owl-nav div.owl-prev,
.header__banner .owl-nav div.owl-next {
    position: static;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25) !important;
    color: #fff !important;
    font-size: 18px;
    line-height: 44px;
    text-align: center;
    pointer-events: auto;
    transition: background .2s ease;
}

.header__banner .owl-nav div.owl-prev {
    margin-left: 20px;
}

.header__banner .owl-nav div.owl-next {
    margin-right: 20px;
}

.header__banner .owl-nav div.owl-prev:hover,
.header__banner .owl-nav div.owl-next:hover {
    background: rgba(255, 255, 255, .4) !important;
}

.header__banner .owl-item {
    padding: 0;
}

.header__banner-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.header__banner-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .header__banner-item .header__banner-img {
        height: 300px;
    }
}

.page-heading {
    background: #151a28;
    padding: 60px 0;
    margin-bottom: 50px;
}

.page-heading__title {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    margin: 0;
}

.page-heading__subtitle {
    color: rgba(255, 255, 255, .7);
    margin: 8px 0 0;
    font-size: 15px;
}

.mzx-page-body {
    padding-bottom: 80px;
}

.mzx-card {
    display: block;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
    height: 100%;
    color: inherit;
}

.mzx-card:hover {
    box-shadow: 0 12px 30px rgba(8, 11, 23, .08);
    transform: translateY(-4px);
    color: inherit;
    text-decoration: none;
}

.mzx-card__thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.mzx-card__thumb--empty {
    height: 190px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-3));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
}

.mzx-card__body {
    padding: 20px;
}

.mzx-card__meta {
    font-size: 12px;
    color: var(--color-default);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.mzx-card__title {
    margin: 10px 0 0;
    font-size: 17px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    line-height: 1.4;
    color: #151a28;
}

.mzx-card__title a {
    color: inherit;
}

.mzx-card__title a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.mzx-card__text {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--color-default);
}

.mzx-section-title {
    font-size: 22px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    color: #151a28;
    margin-bottom: 20px;
}

.mzx-box {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
}

.mzx-box--pad20 {
    padding: 20px;
}

.mzx-btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.mzx-btn:hover {
    background: var(--color-primary-3);
    color: #fff;
    text-decoration: none;
}

.mzx-search,
.mzx-select {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #151a28;
    background: #fff;
}

.mzx-search:focus,
.mzx-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.mzx-box__title {
    font-size: 20px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    color: #151a28;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.mzx-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #151a28;
}

.mzx-contact-form > div {
    margin-bottom: 16px;
}

.mzx-contact-form .col-md-6 {
    margin-bottom: 16px;
}

.mzx-textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #151a28;
    background: #fff;
    resize: vertical;
}

.mzx-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.mzx-error {
    color: #e74c3c;
    font-size: 12px;
    margin: 5px 0 0;
}

.mzx-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mzx-contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
}

.mzx-contact-list li + li {
    border-top: 1px solid var(--color-border);
}

.mzx-contact-list i {
    color: var(--color-primary);
    font-size: 18px;
    width: 22px;
    text-align: center;
    margin-top: 3px;
}

.mzx-contact-list h5 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    color: #151a28;
}

.mzx-contact-list p {
    margin: 0;
    font-size: 13px;
    color: var(--color-default);
    word-break: break-word;
}

.mzx-success {
    text-align: center;
    padding: 40px 20px;
}

.mzx-success__icon {
    font-size: 46px;
    color: var(--color-primary);
}

.mzx-success__title {
    margin: 14px 0 6px;
    font-size: 22px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    color: #151a28;
}

.mzx-success__text {
    margin: 0;
    font-size: 14px;
    color: var(--color-default);
}

[data-theme="dark"] .mzx-box__title,
[data-theme="dark"] .mzx-label,
[data-theme="dark"] .mzx-contact-list h5,
[data-theme="dark"] .mzx-success__title {
    color: #f1f5f9;
}

[data-theme="dark"] .mzx-textarea {
    background: #0d1117;
    border-color: #2a3142;
    color: #e2e8f0;
}

[data-theme="dark"] .mzx-textarea::placeholder {
    color: #8b93a5;
}

[data-theme="dark"] .mzx-contact-list p,
[data-theme="dark"] .mzx-success__text {
    color: #c9ccd6;
}

[data-theme="dark"] .mzx-search,
[data-theme="dark"] .mzx-select {
    background: #0d1117;
    border-color: #2a3142;
    color: #e2e8f0;
}

[data-theme="dark"] .mzx-search::placeholder,
[data-theme="dark"] .mzx-select::placeholder {
    color: #8b93a5;
}

.mzx-rating {
    color: #f8c454;
}

.mzx-card__cat {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.mzx-sidebar {
    display: flex;
    flex-direction: column;
}

.mzx-widget--sticky {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    width: 100%;
}

.mzx-widget {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.mzx-widget__title {
    font-size: 18px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    color: #151a28;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.mzx-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mzx-cat-list li + li {
    margin-top: 0;
}

.mzx-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 16px;
    margin-bottom: 8px;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    transition: filter .2s ease, box-shadow .2s ease;
}

.mzx-cat-list a:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(1.12);
}

.mzx-cat-list a span {
    color: #fff;
}

.mzx-cat-list a.active {
    filter: brightness(.9);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(0, 0, 0, .35), 0 6px 16px rgba(0, 0, 0, .18);
}

.mzx-cat-count {
    background: rgba(255, 255, 255, .28);
    color: #fff;
    border-radius: 999px;
    padding: 1px 9px;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
}

.mzx-side-post {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mzx-side-post__item {
    align-items: center;
}

.mzx-side-post__item + .mzx-side-post__item {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.mzx-side-post__thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.mzx-side-post__thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-3));
    color: #fff;
    font-size: 18px;
}

.mzx-side-post__title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    font-family: "Jost", sans-serif;
    line-height: 1.45;
}

.mzx-side-post__title a {
    color: #151a28;
}

.mzx-side-post__title a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.mzx-side-post__date {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--color-default);
}

/* ===== Agenda interativa (dia/semana/mês) ===== */

.mzx-agenda__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.mzx-agenda__views {
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.mzx-agenda__views button {
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--color-default);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.mzx-agenda__views button + button {
    border-left: 1px solid var(--color-border);
}

.mzx-agenda__views button:hover {
    color: var(--color-primary);
}

.mzx-agenda__views button.is-active {
    background: var(--color-primary);
    color: #fff;
}

.mzx-agenda__nav {
    display: flex;
    gap: 6px;
}

.mzx-agenda__nav-btn {
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-default);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}

.mzx-agenda__nav-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.mzx-agenda__label {
    font-size: 14px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    color: #151a28;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.mzx-agenda__cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.mzx-agenda__dow {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-default);
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 0;
}

.mzx-agenda__cell {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: transparent;
    padding: 4px 2px;
    min-height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.mzx-agenda__cell:hover {
    border-color: var(--color-primary);
}

.mzx-agenda__cell.is-muted {
    opacity: .35;
}

.mzx-agenda__cell.is-today {
    border-color: var(--color-primary);
}

.mzx-agenda__cell.is-ref {
    background: rgba(255, 24, 78, .08);
}

.mzx-agenda__num {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #151a28;
}

.mzx-agenda__chip {
    font-size: 9px;
    line-height: 1;
    font-weight: 600;
    background: var(--color-primary);
    color: #fff;
    border-radius: 3px;
    padding: 2px 3px;
    white-space: nowrap;
}

.mzx-agenda__empty {
    font-size: 13px;
    color: var(--color-default);
}

[data-theme="dark"] .mzx-agenda__label,
[data-theme="dark"] .mzx-agenda__num {
    color: #f1f5f9;
}

[data-theme="dark"] .mzx-agenda__cell.is-ref {
    background: rgba(255, 24, 78, .15);
}

[data-theme="dark"] .mzx-agenda__empty {
    color: #c9ccd6;
}

/* ===== Agenda: itens clicáveis e modal de detalhes ===== */

.mzx-agenda__chip {
    cursor: pointer;
}

.mzx-agenda__chip:hover {
    filter: brightness(1.15);
}

.mzx-agenda__item {
    cursor: pointer;
    border-radius: 8px;
    transition: background .2s ease;
}

.mzx-agenda__item:hover {
    background: rgba(255, 24, 78, .06);
}

.mzx-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(8, 11, 23, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mzx-modal {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    width: 100%;
    max-width: 460px;
    max-height: 85vh;
    overflow: auto;
    position: relative;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.mzx-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: var(--color-default);
    cursor: pointer;
}

.mzx-modal__close:hover {
    color: var(--color-primary);
}

.mzx-modal__cover {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
    display: block;
}

.mzx-modal__head {
    margin-bottom: 16px;
    padding-right: 24px;
}

.mzx-modal__head p {
    font-size: 13px;
    color: var(--color-default);
}

.mzx-modal__title {
    margin: 4px 0 0;
    font-size: 22px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    line-height: 1.3;
    color: #151a28;
}

.mzx-modal__row {
    margin: 8px 0 0;
    font-size: 14px;
    color: #151a28;
}

.mzx-modal__row i {
    color: var(--color-primary);
    margin-right: 6px;
    width: 16px;
}

.mzx-modal__row--muted {
    color: var(--color-default);
}

.mzx-modal__desc {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-default);
}

[data-theme="dark"] .mzx-modal {
    background: #171d2e;
    border-color: #2a3142;
}

[data-theme="dark"] .mzx-modal__title,
[data-theme="dark"] .mzx-modal__row {
    color: #f1f5f9;
}

[data-theme="dark"] .mzx-modal__head p,
[data-theme="dark"] .mzx-modal__desc {
    color: #c9ccd6;
}

/* ===== Tema escuro (data-theme="dark") ===== */

[data-theme="dark"] .mzx-card,
[data-theme="dark"] .mzx-box,
[data-theme="dark"] .mzx-widget {
    background: #171d2e;
    border-color: #2a3142;
}

[data-theme="dark"] .mzx-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

[data-theme="dark"] .mzx-card__title,
[data-theme="dark"] .mzx-section-title,
[data-theme="dark"] .mzx-widget__title {
    color: #f1f5f9;
}

[data-theme="dark"] .mzx-card__text,
[data-theme="dark"] .mzx-card__meta,
[data-theme="dark"] .mzx-side-post__date {
    color: #c9ccd6;
}

[data-theme="dark"] .mzx-side-post__title a {
    color: #e2e8f0;
}

[data-theme="dark"] .mzx-side-post__title a:hover {
    color: var(--color-primary);
}

[data-theme="dark"] .mzx-search,
[data-theme="dark"] .mzx-select {
    background: #0d1117;
    border-color: #2a3142;
    color: #e2e8f0;
}

[data-theme="dark"] .mzx-select option {
    background: #0d1117;
    color: #e2e8f0;
}

[data-theme="dark"] .mzx-search::placeholder {
    color: #8b93a5;
}

[data-theme="dark"] .mzx-side-post__item + .mzx-side-post__item {
    border-top-color: #2a3142;
}

[data-theme="dark"] .text-muted {
    color: #c9ccd6 !important;
}

[data-theme="dark"] .mzx-card__thumb--empty,
[data-theme="dark"] .mzx-side-post__thumb--empty {
    color: #fff;
}

/* ===== Tema escuro: páginas do aluno (curso/aula/prova) ===== */

[data-theme="dark"] .mzx-student-page .bg-white {
    background-color: #171d2e !important;
}

[data-theme="dark"] .mzx-student-page .bg-gray-50 {
    background-color: #10141f;
}

[data-theme="dark"] .mzx-student-page .bg-gray-100 {
    background-color: #1a2030;
}

[data-theme="dark"] .mzx-student-page .bg-gray-200 {
    background-color: #2a3142;
}

[data-theme="dark"] .mzx-student-page .bg-indigo-50 {
    background-color: rgba(99, 102, 241, .15);
}

[data-theme="dark"] .mzx-student-page .bg-indigo-100 {
    background-color: rgba(99, 102, 241, .22);
}

[data-theme="dark"] .mzx-student-page .bg-emerald-50 {
    background-color: rgba(16, 185, 129, .12);
}

[data-theme="dark"] .mzx-student-page .bg-emerald-100 {
    background-color: rgba(16, 185, 129, .18);
}

[data-theme="dark"] .mzx-student-page .bg-red-50 {
    background-color: rgba(239, 68, 68, .12);
}

[data-theme="dark"] .mzx-student-page .bg-red-100 {
    background-color: rgba(239, 68, 68, .18);
}

[data-theme="dark"] .mzx-student-page .bg-gray-900 {
    background-color: #0d1117;
}

[data-theme="dark"] .mzx-student-page .border-gray-100,
[data-theme="dark"] .mzx-student-page .border-gray-200,
[data-theme="dark"] .mzx-student-page .border-gray-300 {
    border-color: #2a3142 !important;
}

[data-theme="dark"] .mzx-student-page .divide-gray-100 > :not([hidden]) ~ :not([hidden]) {
    border-color: #2a3142;
}

[data-theme="dark"] .mzx-student-page .border-indigo-200 {
    border-color: rgba(99, 102, 241, .4);
}

[data-theme="dark"] .mzx-student-page .border-emerald-200,
[data-theme="dark"] .mzx-student-page .border-emerald-300 {
    border-color: rgba(16, 185, 129, .4);
}

[data-theme="dark"] .mzx-student-page .border-red-200,
[data-theme="dark"] .mzx-student-page .border-red-300 {
    border-color: rgba(239, 68, 68, .4);
}

[data-theme="dark"] .mzx-student-page .text-gray-900 {
    color: #f1f5f9;
}

[data-theme="dark"] .mzx-student-page .text-gray-800 {
    color: #e2e8f0;
}

[data-theme="dark"] .mzx-student-page .text-gray-700 {
    color: #c9ccd6;
}

[data-theme="dark"] .mzx-student-page .text-gray-600 {
    color: #a8b0c0;
}

[data-theme="dark"] .mzx-student-page .text-gray-500 {
    color: #8b93a5;
}

[data-theme="dark"] .mzx-student-page .text-gray-400 {
    color: #94a3b8;
}

[data-theme="dark"] .mzx-student-page .text-indigo-600 {
    color: #818cf8;
}

[data-theme="dark"] .mzx-student-page .text-indigo-700 {
    color: #a5b4fc;
}

[data-theme="dark"] .mzx-student-page .text-emerald-600,
[data-theme="dark"] .mzx-student-page .text-emerald-700,
[data-theme="dark"] .mzx-student-page .text-emerald-800 {
    color: #34d399;
}

[data-theme="dark"] .mzx-student-page .text-red-500,
[data-theme="dark"] .mzx-student-page .text-red-600,
[data-theme="dark"] .mzx-student-page .text-red-700,
[data-theme="dark"] .mzx-student-page .text-red-800 {
    color: #f87171;
}

[data-theme="dark"] .mzx-student-page .text-amber-500 {
    color: #fbbf24;
}

[data-theme="dark"] .mzx-student-page .hover\:bg-gray-50:hover {
    background-color: rgba(255, 255, 255, .04);
}

[data-theme="dark"] .mzx-student-page .hover\:bg-indigo-50:hover {
    background-color: rgba(99, 102, 241, .15);
}

[data-theme="dark"] .mzx-student-page .hover\:bg-gray-700:hover {
    background-color: #2a3142;
}

[data-theme="dark"] .mzx-student-page .hover\:text-gray-900:hover {
    color: #f1f5f9;
}

[data-theme="dark"] .mzx-student-page input[type="text"],
[data-theme="dark"] .mzx-student-page input[type="number"],
[data-theme="dark"] .mzx-student-page textarea,
[data-theme="dark"] .mzx-student-page select {
    background-color: #0d1117;
    color: #e2e8f0;
    border-color: #2a3142;
}

[data-theme="dark"] .mzx-student-page input::placeholder,
[data-theme="dark"] .mzx-student-page textarea::placeholder {
    color: #8b93a5;
}


