/*
 * Mahmoud Bakr Platform — Complete CSS
 * Restored from the last complete site stylesheet and merged with FAQ,
 * support section refinements, and the final Kadence footer.
 */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
    /* Dashboard and activation pages */
    --dash-primary: #0080FF;
    --dash-secondary: #24B1B1;
    --dash-whatsapp: #25D366;
    --dash-whatsapp-hover: #1ebe5b;
    --dash-text-dark: #1a1a1a;
    --dash-text-muted: #666666;
    --dash-bg-light: #f5f6f8;
    --dash-radius: 8px;
    --dash-card-radius: 12px;
    --dash-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);

    /* Header */
    --mb-header-blue: #0080FF;
    --mb-header-teal: #24B1B1;
    --mb-header-navy: #0A2142;
    --mb-header-muted: #66758A;
    --mb-header-border: #E7EEF7;
    --mb-header-surface: #FFFFFF;
    --mb-header-soft: #EEF7FF;
    --mb-header-danger: #D34B57;
    --mb-header-radius: 14px;
    --mb-header-shadow: 0 18px 48px rgba(8, 45, 89, 0.16);
    --mb-header-speed: 150ms;
    --mb-scroll-progress: 0%;
}

/* ==========================================================================
   2. SHARED BUTTONS
   ========================================================================== */
.llms-sd-link,
.activation-whatsapp-btn,
.activation-code-box button[type="submit"],
.activation-code-box input[type="submit"] {
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: var(--dash-radius);
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.llms-sd-link {
    background: var(--dash-bg-light);
    color: #333;
    text-align: right;
    font-weight: 600;
}
.llms-sd-link:hover {
    background: #e8eaed;
}

.activation-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dash-whatsapp);
    color: #fff !important;
    width: fit-content;
}
.activation-whatsapp-btn:hover {
    background: var(--dash-whatsapp-hover);
}

.activation-code-box button[type="submit"],
.activation-code-box input[type="submit"] {
    background: var(--dash-primary);
    color: #fff !important;
    width: 100%;
}
.activation-code-box button[type="submit"]:hover,
.activation-code-box input[type="submit"]:hover {
    opacity: 0.9;
}


/* ==========================================================================
   3. STUDENT DASHBOARD
   ========================================================================== */
.kadence-llms-dash-wrap {
    --mbp-profile-primary: #0080ff;
    --mbp-profile-secondary: #24b1b1;
    --mbp-profile-navy: #071f49;
    --mbp-profile-text: #52627a;
    --mbp-profile-muted: #7b8aa0;
    --mbp-profile-border: #d5e5f6;
    --mbp-profile-soft: #f3f8fe;
    --mbp-profile-surface: #ffffff;
    --mbp-profile-danger: #d64545;
    --mbp-profile-shadow: 0 8px 24px rgba(7, 31, 73, 0.06);
}

.kadence-llms-dash-wrap,
.kadence-llms-dash-wrap *,
.kadence-llms-dash-wrap *::before,
.kadence-llms-dash-wrap *::after {
    box-sizing: border-box;
}

.llms-student-dashboard .llms-sd-title {
    display: none;
}

.llms-button-secondary {
    background: var(--dash-secondary) !important;
    border-color: var(--dash-secondary) !important;
    color: #ffffff !important;
}

.kadence-llms-dash-wrap .llms-sd-nav {
    min-width: 0;
    margin-bottom: 20px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--mbp-profile-border);
    border-radius: 16px;
    box-shadow: var(--mbp-profile-shadow);
}

.kadence-llms-dash-wrap .llms-sd-nav > select {
    display: none !important;
}

.kadence-llms-dash-wrap .llms-sd-nav .llms-sd-items {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.kadence-llms-dash-wrap .llms-sd-nav .llms-sd-item {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.kadence-llms-dash-wrap .llms-sd-nav .llms-sep {
    display: none !important;
}

.kadence-llms-dash-wrap .llms-sd-nav .llms-sd-link {
    --mbp-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.42 0-8 2.24-8 5v3h16v-3c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E");
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    color: var(--mbp-profile-navy);
    background: #f5f7fa;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-align: right;
    text-decoration: none !important;
    transform: none !important;
}

.kadence-llms-dash-wrap .llms-sd-nav .llms-sd-link::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: currentColor;
    -webkit-mask: var(--mbp-nav-icon) center / contain no-repeat;
    mask: var(--mbp-nav-icon) center / contain no-repeat;
}

.kadence-llms-dash-wrap .llms-sd-nav .redeem-voucher .llms-sd-link {
    --mbp-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 10V4a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6a3 3 0 0 1 0 6v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a3 3 0 0 1 0-6Zm-7 8h-4v-2h4v2Zm0-5h-4v-2h4v2Zm0-5h-4V6h4v2Z'/%3E%3C/svg%3E");
}

.kadence-llms-dash-wrap .llms-sd-nav .view-courses .llms-sd-link {
    --mbp-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h7a3 3 0 0 1 3 3v13a4 4 0 0 0-3-1H4V3Zm16 0h-5a5 5 0 0 1 1 3v12.13c.57-.09 1.16-.13 1.75-.13H20V3ZM4 20h7a2 2 0 0 1 2 2H4v-2Zm12.17 2A2 2 0 0 1 18 20h2v2h-3.83Z'/%3E%3C/svg%3E");
}

.kadence-llms-dash-wrap .llms-sd-nav .my-grades .llms-sd-link {
    --mbp-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h16v2H2V4h2v16Zm4-2H6v-7h2v7Zm5 0h-2V6h2v12Zm5 0h-2V9h2v9Z'/%3E%3C/svg%3E");
}

.kadence-llms-dash-wrap .llms-sd-nav .view-certificates .llms-sd-link {
    --mbp-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm-4 11.74V23l4-2 4 2v-7.26a9 9 0 0 1-2 .91v3.12l-2-1-2 1v-3.12a9 9 0 0 1-2-.91Z'/%3E%3C/svg%3E");
}

.kadence-llms-dash-wrap .llms-sd-nav .signout .llms-sd-link {
    --mbp-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6v-2H4V5h6V3Zm5.59 3.59L17 5.17 23.83 12 17 18.83l-1.41-1.42L20 13H10v-2h10l-4.41-4.41Z'/%3E%3C/svg%3E");
    color: var(--mbp-profile-danger);
    background: #fff5f5;
}

.kadence-llms-dash-wrap .llms-sd-nav .llms-sd-link:hover,
.kadence-llms-dash-wrap .llms-sd-nav .llms-sd-link:focus-visible {
    color: var(--mbp-profile-primary);
    background: #edf6ff;
    border-color: #b9dcff;
    transform: none !important;
}

.kadence-llms-dash-wrap .llms-sd-nav .llms-sd-item.current .llms-sd-link {
    color: #ffffff;
    background: var(--mbp-profile-primary);
    border-color: var(--mbp-profile-primary);
}

.kadence-llms-dash-wrap .llms-sd-nav .signout .llms-sd-link:hover,
.kadence-llms-dash-wrap .llms-sd-nav .signout .llms-sd-link:focus-visible {
    color: #b92f2f;
    background: #ffecec;
    border-color: #f2c4c4;
}

body .kadence-llms-dash-wrap .llms-student-dashboard:is(
    [data-current="dashboard"],
    [data-current="redeem-voucher"],
    [data-current="view-courses"],
    [data-current="my-grades"],
    [data-current="view-certificates"]
) {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 32px 20px 64px !important;
    direction: rtl;
}

body .kadence-llms-dash-wrap .llms-student-dashboard:is(
    [data-current="dashboard"],
    [data-current="view-courses"],
    [data-current="my-grades"],
    [data-current="view-certificates"]
) {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 24px !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
}

body .kadence-llms-dash-wrap .llms-student-dashboard[data-current="redeem-voucher"] {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    grid-template-rows: repeat(4, min-content) !important;
    grid-template-areas: none !important;
    column-gap: 24px !important;
    row-gap: 0 !important;
    align-items: start !important;
}

body .kadence-llms-dash-wrap .llms-student-dashboard:is(
    [data-current="dashboard"],
    [data-current="redeem-voucher"],
    [data-current="view-courses"],
    [data-current="my-grades"],
    [data-current="view-certificates"]
) > .llms-sd-header {
    display: none !important;
}

body .kadence-llms-dash-wrap .llms-student-dashboard:is(
    [data-current="dashboard"],
    [data-current="redeem-voucher"],
    [data-current="view-courses"],
    [data-current="my-grades"],
    [data-current="view-certificates"]
) > .llms-sd-nav {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    order: 0 !important;
    position: static !important;
    width: 260px !important;
    max-width: 260px !important;
    min-width: 0 !important;
    flex: 0 0 260px !important;
    float: none !important;
    margin: 0 !important;
}

body .kadence-llms-dash-wrap .llms-student-dashboard[data-current="redeem-voucher"] > .llms-sd-nav {
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;
}

body .kadence-llms-dash-wrap .llms-student-dashboard:is(
    [data-current="dashboard"],
    [data-current="redeem-voucher"],
    [data-current="view-courses"],
    [data-current="my-grades"],
    [data-current="view-certificates"]
) > :not(.llms-sd-nav):not(.llms-sd-header) {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    order: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 1 1 0 !important;
    float: none !important;
    margin-inline: 0 !important;
    direction: rtl;
}

body .kadence-llms-dash-wrap .llms-student-dashboard[data-current="redeem-voucher"] > :not(.llms-sd-nav):not(.llms-sd-header) {
    grid-column: 2 !important;
}

body .kadence-llms-dash-wrap .llms-student-dashboard[data-current="dashboard"] > .llms-sd-tab.dashboard {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .kadence-llms-dash-wrap .llms-student-dashboard[data-current="dashboard"] > .mbp-profile-welcome,
body .kadence-llms-dash-wrap .llms-student-dashboard[data-current="dashboard"] > .mbp-grade-summary {
    display: none !important;
}

.mbp-profile-dashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
    direction: rtl;
}

.mbp-profile-welcome,
.mbp-grade-summary,
.mbp-profile-dashboard > .llms-sd-section {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 24px;
    background: var(--mbp-profile-surface);
    border: 1px solid var(--mbp-profile-border);
    border-radius: 18px;
    box-shadow: var(--mbp-profile-shadow);
}

.mbp-grade-summary,
.mbp-profile-dashboard > .llms-sd-section {
    padding: 24px !important;
}

.mbp-profile-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 150px;
}

.mbp-profile-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.mbp-profile-avatar {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    color: var(--mbp-profile-primary);
    background: #edf6ff;
    border: 1px solid #c6e3ff;
    border-radius: 16px;
}

.mbp-profile-avatar svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.mbp-profile-copy {
    min-width: 0;
}

.mbp-profile-label {
    display: block;
    margin-bottom: 4px;
    color: var(--mbp-profile-secondary);
    font-size: 13px;
    font-weight: 800;
}

.mbp-profile-copy h1 {
    margin: 0;
    color: var(--mbp-profile-navy);
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.mbp-profile-copy p {
    margin: 7px 0 0;
    color: var(--mbp-profile-text);
    font-size: 15px;
    line-height: 1.8;
}

.mbp-profile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.mbp-profile-actions .mbp-profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 18px !important;
    color: #ffffff !important;
    background: var(--mbp-profile-primary) !important;
    border: 1px solid var(--mbp-profile-primary) !important;
    border-radius: 11px !important;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none !important;
    transform: none !important;
}

.mbp-profile-actions .mbp-profile-button:hover,
.mbp-profile-actions .mbp-profile-button:focus-visible {
    color: #ffffff !important;
    background: #006fdc !important;
    border-color: #006fdc !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
}

.mbp-profile-actions .mbp-profile-button.llms-button-secondary {
    background: var(--mbp-profile-secondary) !important;
    border-color: var(--mbp-profile-secondary) !important;
}

.mbp-profile-actions .mbp-profile-button.llms-button-secondary:hover,
.mbp-profile-actions .mbp-profile-button.llms-button-secondary:focus-visible {
    color: #ffffff !important;
    background: #1b9999 !important;
    border-color: #1b9999 !important;
    box-shadow: none !important;
    transform: none !important;
}

.mbp-profile-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.mbp-profile-section-head h2,
.mbp-profile-dashboard .llms-sd-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    color: var(--mbp-profile-navy);
    font-size: clamp(22px, 2.5vw, 27px);
    font-weight: 800;
    line-height: 1.4;
}

.mbp-profile-section-head h2::before,
.mbp-profile-dashboard .llms-sd-section-title::before {
    content: "";
    width: 4px;
    height: 26px;
    flex: 0 0 4px;
    background: var(--mbp-profile-secondary);
    border-radius: 999px;
}

.mbp-profile-dashboard .llms-sd-section-title {
    margin-bottom: 20px !important;
}

.mbp-profile-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 18px !important;
    color: #ffffff !important;
    background: var(--mbp-profile-primary) !important;
    border: 1px solid var(--mbp-profile-primary) !important;
    border-radius: 11px !important;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none !important;
    transform: none !important;
}

.mbp-profile-text-link:hover,
.mbp-profile-text-link:focus-visible {
    color: #ffffff !important;
    background: #006fdc !important;
    border-color: #006fdc !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
}

.mbp-grade-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mbp-grade-card {
    display: flex;
    min-width: 0;
    min-height: 112px;
    padding: 18px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--mbp-profile-text);
    background: var(--mbp-profile-soft);
    border: 1px solid var(--mbp-profile-border);
    border-radius: 14px;
    text-align: center;
}

.mbp-grade-card span {
    font-size: 14px;
    font-weight: 700;
}

.mbp-grade-card strong {
    color: var(--mbp-profile-primary);
    font-size: clamp(25px, 3vw, 31px);
    font-weight: 800;
    line-height: 1.2;
}

.mbp-profile-dashboard .llms-loop,
.mbp-profile-dashboard .llms-loop-list,
.llms-student-dashboard[data-current="view-courses"] .llms-loop,
.llms-student-dashboard[data-current="view-courses"] .llms-loop-list {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.mbp-profile-dashboard .llms-loop-list,
.llms-student-dashboard[data-current="view-courses"] .llms-loop-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 1fr;
    gap: 16px !important;
    list-style: none !important;
}

.mbp-profile-dashboard .llms-loop-item,
.llms-student-dashboard[data-current="view-courses"] .llms-loop-item {
    width: 100% !important;
    height: 100%;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mbp-profile-dashboard .llms-loop-item-content,
.mbp-profile-dashboard .llms-loop-item-content:hover,
.llms-student-dashboard[data-current="view-courses"] .llms-loop-item-content,
.llms-student-dashboard[data-current="view-courses"] .llms-loop-item-content:hover {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--mbp-profile-border);
    border-radius: 15px;
    box-shadow: none;
    transform: none !important;
}

.mbp-profile-dashboard .llms-loop-link,
.llms-student-dashboard[data-current="view-courses"] .llms-loop-link {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "image"
        "title"
        "progress"
        "footer";
    grid-template-rows: auto auto auto 1fr;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0 !important;
    color: var(--mbp-profile-navy) !important;
    background: #ffffff;
    text-decoration: none !important;
    direction: rtl;
    transform: none !important;
}

.mbp-profile-dashboard .llms-loop-link:hover,
.mbp-profile-dashboard .llms-loop-link:focus-visible,
.llms-student-dashboard[data-current="view-courses"] .llms-loop-link:hover,
.llms-student-dashboard[data-current="view-courses"] .llms-loop-link:focus-visible {
    color: var(--mbp-profile-navy) !important;
    background: #fbfdff;
    transform: none !important;
}

.mbp-profile-dashboard .llms-featured-image,
.llms-student-dashboard[data-current="view-courses"] .llms-featured-image {
    display: block;
    grid-area: image;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    margin: 0 !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}

.mbp-profile-dashboard .llms-loop-title,
.llms-student-dashboard[data-current="view-courses"] .llms-loop-title {
    grid-area: title;
    align-self: auto;
    margin: 0 !important;
    padding: 16px 14px 8px;
    color: var(--mbp-profile-navy);
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 800;
    line-height: 1.65;
    text-align: right;
    direction: rtl;
}

.mbp-profile-dashboard .llms-progress,
.llms-student-dashboard[data-current="view-courses"] .llms-progress {
    grid-area: progress;
    align-self: center;
    width: 100%;
    margin: 0 !important;
    padding: 0 14px !important;
    direction: rtl;
}

.mbp-profile-dashboard .progress__indicator,
.llms-student-dashboard[data-current="view-courses"] .progress__indicator {
    margin: 0 0 7px;
    color: var(--mbp-profile-primary);
    font-size: 13px;
    font-weight: 800;
    text-align: right;
}

.mbp-profile-dashboard .llms-progress-bar,
.llms-student-dashboard[data-current="view-courses"] .llms-progress-bar {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #e3edf7;
    border-radius: 999px;
}

.mbp-profile-dashboard .progress-bar-complete,
.llms-student-dashboard[data-current="view-courses"] .progress-bar-complete {
    height: 100%;
    background: linear-gradient(90deg, var(--mbp-profile-secondary), var(--mbp-profile-primary));
    border-radius: inherit;
}

.mbp-profile-dashboard .llms-loop-item-footer,
.llms-student-dashboard[data-current="view-courses"] .llms-loop-item-footer {
    display: flex !important;
    grid-area: footer;
    align-self: start;
    flex-wrap: wrap;
    gap: 7px 16px;
    margin: 0 !important;
    padding: 10px 14px 16px;
    color: var(--mbp-profile-text);
    text-align: right;
    direction: rtl;
}

.mbp-profile-dashboard .llms-author,
.llms-student-dashboard[data-current="view-courses"] .llms-author {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
}

.mbp-profile-dashboard .llms-author .avatar,
.llms-student-dashboard[data-current="view-courses"] .llms-author .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.mbp-profile-dashboard .llms-meta,
.mbp-profile-dashboard .llms-meta p,
.mbp-profile-dashboard .llms-author-info,
.llms-student-dashboard[data-current="view-courses"] .llms-meta,
.llms-student-dashboard[data-current="view-courses"] .llms-meta p,
.llms-student-dashboard[data-current="view-courses"] .llms-author-info {
    margin: 0 !important;
    color: var(--mbp-profile-text);
    font-size: 13px;
    line-height: 1.6;
}

.mbp-profile-dashboard .llms-sd-section-footer {
    margin: 18px 0 0 !important;
    padding: 0 !important;
    text-align: left;
}

.mbp-profile-dashboard .llms-sd-section-footer .llms-button-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 18px !important;
    color: #ffffff !important;
    background: var(--mbp-profile-primary) !important;
    border: 1px solid var(--mbp-profile-primary) !important;
    border-radius: 11px !important;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none !important;
    transform: none !important;
}

.mbp-profile-dashboard .llms-sd-section-footer .llms-button-secondary:hover,
.mbp-profile-dashboard .llms-sd-section-footer .llms-button-secondary:focus-visible {
    color: #ffffff !important;
    background: #006fdc !important;
    border-color: #006fdc !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
}

.mbp-profile-dashboard .llms-my-certificates > p {
    margin: 0 !important;
    padding: 26px 20px;
    color: var(--mbp-profile-text);
    background: var(--mbp-profile-soft);
    border: 1px dashed #bcd8f3;
    border-radius: 13px;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

.llms-student-dashboard[data-current="view-courses"] .llms-my-courses {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 24px !important;
    background: var(--mbp-profile-surface);
    border: 1px solid var(--mbp-profile-border);
    border-radius: 18px;
    box-shadow: var(--mbp-profile-shadow);
}

.llms-student-dashboard[data-current="view-courses"] .llms-my-courses::before {
    content: "باقاتي";
    display: block;
    margin: 0 0 20px;
    padding-right: 10px;
    color: var(--mbp-profile-navy);
    border-right: 4px solid var(--mbp-profile-secondary);
    border-radius: 2px;
    font-size: clamp(22px, 2.5vw, 27px);
    font-weight: 800;
    line-height: 1.4;
}

.llms-student-dashboard[data-current="view-courses"] .llms-my-courses > p {
    margin: 0 !important;
    padding: 26px 20px;
    color: var(--mbp-profile-text);
    background: var(--mbp-profile-soft);
    border: 1px dashed #bcd8f3;
    border-radius: 13px;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

.llms-student-dashboard:is(
    [data-current="view-courses"],
    [data-current="my-grades"],
    [data-current="view-certificates"]
) > .llms-sd-tab {
    margin-block: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.llms-student-dashboard[data-current="view-courses"] .llms-my-courses > .llms-sd-section-title,
.llms-student-dashboard[data-current="my-grades"] .llms-sd-grades > .llms-sd-section-title,
.llms-student-dashboard[data-current="view-certificates"] .llms-my-certificates > .llms-sd-section-title {
    display: none !important;
}

.llms-student-dashboard[data-current="my-grades"] .llms-sd-grades,
.llms-student-dashboard[data-current="view-certificates"] .llms-my-certificates {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 24px !important;
    background: var(--mbp-profile-surface);
    border: 1px solid var(--mbp-profile-border) !important;
    border-radius: 18px !important;
    box-shadow: var(--mbp-profile-shadow);
}

.llms-student-dashboard[data-current="my-grades"] .llms-sd-grades::before,
.llms-student-dashboard[data-current="view-certificates"] .llms-my-certificates::before {
    display: block;
    margin: 0 0 20px;
    padding-right: 10px;
    color: var(--mbp-profile-navy);
    border-right: 4px solid var(--mbp-profile-secondary);
    border-radius: 2px;
    font-size: clamp(22px, 2.5vw, 27px);
    font-weight: 800;
    line-height: 1.4;
}

.llms-student-dashboard[data-current="my-grades"] .llms-sd-grades::before {
    content: "علاماتي";
}

.llms-student-dashboard[data-current="view-certificates"] .llms-my-certificates::before {
    content: "شهاداتي";
}

.llms-student-dashboard[data-current="my-grades"] .llms-sd-grades {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table {
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid var(--mbp-profile-border) !important;
    border-spacing: 0 !important;
    border-collapse: separate !important;
    border-radius: 14px;
    background: #ffffff;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table th,
.llms-student-dashboard[data-current="my-grades"] .llms-table td {
    padding: 15px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid #e4edf7 !important;
    color: var(--mbp-profile-text);
    font-size: 14px;
    line-height: 1.7;
    text-align: right;
    vertical-align: middle;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table thead th {
    color: var(--mbp-profile-navy);
    background: var(--mbp-profile-soft);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table tbody tr:hover td {
    background: #fbfdff;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table a {
    color: var(--mbp-profile-primary) !important;
    font-weight: 700;
    text-decoration: none !important;
    transform: none !important;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table a:hover,
.llms-student-dashboard[data-current="my-grades"] .llms-table a:focus-visible {
    color: #006fdc !important;
    text-decoration: underline !important;
    transform: none !important;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table .llms-progress {
    width: 100%;
    min-width: 120px;
    margin: 0 !important;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table .llms-progress-bar {
    height: 8px;
    overflow: hidden;
    background: #e3edf7;
    border-radius: 999px;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table .progress-bar-complete {
    height: 100%;
    background: linear-gradient(90deg, var(--mbp-profile-secondary), var(--mbp-profile-primary));
    border-radius: inherit;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table tfoot td {
    padding: 14px 16px !important;
    background: #fbfdff;
    border-top: 1px solid var(--mbp-profile-border) !important;
    border-bottom: 0 !important;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table-sort form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table-sort label {
    margin: 0;
    color: var(--mbp-profile-navy);
    font-weight: 700;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table-sort select {
    width: auto;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 8px 12px;
    color: var(--mbp-profile-navy);
    background-color: #ffffff;
    border: 1px solid var(--mbp-profile-border);
    border-radius: 10px;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table-sort .llms-button-secondary {
    display: inline-flex !important;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 9px 18px !important;
    color: #ffffff !important;
    background: var(--mbp-profile-secondary) !important;
    border: 1px solid var(--mbp-profile-secondary) !important;
    border-radius: 11px !important;
    box-shadow: none !important;
    font-weight: 700;
    transform: none !important;
}

.llms-student-dashboard[data-current="my-grades"] .llms-table-sort .llms-button-secondary:hover,
.llms-student-dashboard[data-current="my-grades"] .llms-table-sort .llms-button-secondary:focus-visible {
    color: #ffffff !important;
    background: #199b9b !important;
    border-color: #199b9b !important;
    box-shadow: none !important;
    transform: none !important;
}

.llms-student-dashboard[data-current="view-certificates"] .llms-certificates-loop {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.llms-student-dashboard[data-current="view-certificates"] .llms-certificate-loop-item {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    list-style: none !important;
}

.llms-student-dashboard[data-current="view-certificates"] .llms-certificate {
    display: flex !important;
    min-height: 180px;
    padding: 22px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: var(--mbp-profile-navy) !important;
    background: #ffffff;
    border: 1px solid var(--mbp-profile-border);
    border-radius: 15px;
    box-shadow: none !important;
    text-align: right;
    text-decoration: none !important;
    transform: none !important;
}

.llms-student-dashboard[data-current="view-certificates"] .llms-certificate::before {
    content: "";
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    background-color: var(--mbp-profile-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm-4 11.74V23l4-2 4 2v-7.26a9 9 0 0 1-2 .91v3.12l-2-1-2 1v-3.12a9 9 0 0 1-2-.91Z'/%3E%3C/svg%3E") center / 30px 30px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm-4 11.74V23l4-2 4 2v-7.26a9 9 0 0 1-2 .91v3.12l-2-1-2 1v-3.12a9 9 0 0 1-2-.91Z'/%3E%3C/svg%3E") center / 30px 30px no-repeat;
}

.llms-student-dashboard[data-current="view-certificates"] .llms-certificate:hover,
.llms-student-dashboard[data-current="view-certificates"] .llms-certificate:focus-visible {
    color: var(--mbp-profile-navy) !important;
    background: #fbfdff;
    border-color: #9bcfff;
    box-shadow: none !important;
    transform: none !important;
}

.llms-student-dashboard[data-current="view-certificates"] .llms-certificate-title {
    margin: 0 !important;
    color: var(--mbp-profile-navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.6;
}

.llms-student-dashboard[data-current="view-certificates"] .llms-certificate-date {
    color: var(--mbp-profile-text);
    font-size: 14px;
    line-height: 1.7;
}

.llms-student-dashboard[data-current="view-certificates"] .llms-my-certificates > p {
    margin: 0 !important;
    padding: 30px 20px;
    color: var(--mbp-profile-text);
    background: var(--mbp-profile-soft);
    border: 1px dashed #bcd8f3;
    border-radius: 13px;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

.llms-student-dashboard[data-current="view-certificates"] .llms-pagination {
    margin-top: 18px;
}

@media (min-width: 801px) {
    .kadence-llms-dash-wrap .llms-sd-nav {
        flex: 0 0 260px;
        width: 260px;
        max-width: 260px;
        margin-bottom: 0;
    }
}

@media (min-width: 801px) and (max-width: 1024px) {
    .mbp-profile-welcome {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .mbp-profile-identity {
        width: 100%;
    }

    .mbp-profile-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .mbp-profile-dashboard .llms-loop-list,
    .llms-student-dashboard[data-current="view-courses"] .llms-loop-list {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .llms-student-dashboard[data-current="view-certificates"] .llms-certificates-loop {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 800px) {
    body .kadence-llms-dash-wrap .llms-student-dashboard:is(
        [data-current="dashboard"],
        [data-current="redeem-voucher"],
        [data-current="view-courses"],
        [data-current="my-grades"],
        [data-current="view-certificates"]
    ) {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
        padding: 20px 14px 48px !important;
    }

    body .kadence-llms-dash-wrap .llms-student-dashboard:is(
        [data-current="dashboard"],
        [data-current="redeem-voucher"],
        [data-current="view-courses"],
        [data-current="my-grades"],
        [data-current="view-certificates"]
    ) > .llms-sd-nav {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        margin: 0 0 16px !important;
    }

    body .kadence-llms-dash-wrap .llms-student-dashboard:is(
        [data-current="dashboard"],
        [data-current="redeem-voucher"],
        [data-current="view-courses"],
        [data-current="my-grades"],
        [data-current="view-certificates"]
    ) > :not(.llms-sd-nav):not(.llms-sd-header) {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: none !important;
        flex: 0 0 auto !important;
    }

    .kadence-llms-dash-wrap .llms-sd-nav > select {
        display: none !important;
    }

    .kadence-llms-dash-wrap .llms-sd-nav .llms-sd-items {
        display: flex !important;
        flex-direction: column;
        gap: 7px;
    }

    .kadence-llms-dash-wrap .llms-sd-nav .llms-sd-item,
    .kadence-llms-dash-wrap .llms-sd-nav .llms-sd-link {
        width: 100% !important;
    }

    .mbp-profile-welcome {
        min-height: 0;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .mbp-profile-actions {
        justify-content: flex-start;
    }

    .mbp-profile-dashboard .llms-loop-list,
    .llms-student-dashboard[data-current="view-courses"] .llms-loop-list {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-rows: auto;
    }

    .mbp-profile-dashboard .llms-loop-link,
    .llms-student-dashboard[data-current="view-courses"] .llms-loop-link {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "image"
            "title"
            "progress"
            "footer";
        min-height: 0;
    }

    .mbp-profile-dashboard .llms-featured-image,
    .llms-student-dashboard[data-current="view-courses"] .llms-featured-image {
        width: 100% !important;
        height: auto !important;
        min-height: 0;
        aspect-ratio: 16 / 9;
        border-radius: 14px 14px 0 0;
    }

    .mbp-profile-dashboard .llms-loop-title,
    .llms-student-dashboard[data-current="view-courses"] .llms-loop-title {
        align-self: auto;
        padding: 18px 18px 9px;
    }

    .mbp-profile-dashboard .llms-progress,
    .llms-student-dashboard[data-current="view-courses"] .llms-progress {
        padding: 0 18px !important;
    }

    .mbp-profile-dashboard .llms-loop-item-footer,
    .llms-student-dashboard[data-current="view-courses"] .llms-loop-item-footer {
        padding: 10px 18px 18px;
    }

    .llms-student-dashboard[data-current="my-grades"] .llms-table {
        min-width: 660px;
    }

    .llms-student-dashboard[data-current="view-certificates"] .llms-certificates-loop {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 560px) {
    body .kadence-llms-dash-wrap .llms-student-dashboard:is(
        [data-current="dashboard"],
        [data-current="redeem-voucher"],
        [data-current="view-courses"],
        [data-current="my-grades"],
        [data-current="view-certificates"]
    ) {
        padding: 16px 12px 40px !important;
    }

    .kadence-llms-dash-wrap .llms-sd-nav,
    .mbp-profile-welcome,
    .mbp-grade-summary,
    .mbp-profile-dashboard > .llms-sd-section {
        padding: 16px;
        border-radius: 15px;
    }

    .mbp-grade-summary,
    .mbp-profile-dashboard > .llms-sd-section {
        padding: 16px !important;
    }

    .llms-student-dashboard[data-current="view-courses"] .llms-my-courses {
        padding: 16px !important;
        border-radius: 15px;
    }

    .llms-student-dashboard[data-current="my-grades"] .llms-sd-grades,
    .llms-student-dashboard[data-current="view-certificates"] .llms-my-certificates {
        padding: 16px !important;
        border-radius: 15px !important;
    }

    .llms-student-dashboard[data-current="my-grades"] .llms-table th,
    .llms-student-dashboard[data-current="my-grades"] .llms-table td {
        padding: 13px 14px !important;
    }

    .llms-student-dashboard[data-current="view-certificates"] .llms-certificate {
        min-height: 160px;
        padding: 20px;
    }

    .mbp-profile-dashboard {
        gap: 15px;
    }

    .mbp-profile-identity {
        align-items: flex-start;
        gap: 13px;
    }

    .mbp-profile-avatar {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 14px;
    }

    .mbp-profile-avatar svg {
        width: 25px;
        height: 25px;
    }

    .mbp-profile-copy h1 {
        font-size: 23px;
    }

    .mbp-profile-copy p {
        font-size: 14px;
    }

    .mbp-profile-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .mbp-profile-actions .mbp-profile-button {
        width: 100%;
        min-width: 0;
    }

    .mbp-profile-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .mbp-grade-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .mbp-grade-card {
        min-height: 96px;
    }

    .mbp-profile-dashboard .llms-sd-section-footer,
    .mbp-profile-dashboard .llms-sd-section-footer .llms-button-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   4. ACTIVATION PAGE
   ========================================================================== */
.activation-hero {
    background: #fff;
    border-radius: var(--dash-card-radius);
    box-shadow: var(--dash-shadow);
    padding: 24px;
}

@media (max-width: 800px) {
    .activation-hero {
        text-align: center;
    }
}

.activation-hero h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--dash-text-dark);
}

.activation-hero p {
    margin: 0;
    color: var(--dash-text-muted);
    line-height: 1.7;
}

.activation-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}

.activation-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px 16px;
}

.activation-step-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--dash-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.activation-step-text strong {
    display: block;
    font-size: 15px;
    color: var(--dash-text-dark);
    margin-bottom: 3px;
}

.activation-step-text span {
    font-size: 15px;
    color: var(--dash-text-muted);
    line-height: 1.8;
    display: block;
    margin-bottom: 5px;
}

.activation-code-box {
    background: #fff;
    border-radius: var(--dash-card-radius);
    box-shadow: var(--dash-shadow);
    padding: 24px;
    margin-top: 20px;
}

@media (max-width: 800px) {
    .activation-code-box {
        text-align: center;
    }
}

.activation-code-box h3 {
    margin: 0 0 6px;
    font-size: 22px;
    color: var(--dash-text-dark);
}

.activation-code-box p {
    margin: 0 0 16px;
    font-size: 16px;
    color: var(--dash-text-muted);
}

/* Hide the default LifterLMS voucher field label. */
.redeem-voucher .form-row label {
    display: none;
}

.activation-code-box input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--dash-radius);
    font-size: 14px;
    margin-bottom: 12px;
}

.activation-code-box input[type="text"]:focus {
    outline: none;
    border-color: var(--dash-primary);
}

.activation-help {
    text-align: center;
    margin-top: 20px;
    padding: 16px;
    color: var(--dash-text-muted);
    font-size: 13px;
}


/* ==========================================================================
   5. GLOBAL RTL FIXES
   ========================================================================== */
.rtl .single-content ul,
.rtl .single-content ol {
    padding-left: 0;
    padding-right: 0 !important;
}


/* ==========================================================================
   6. HEADER
   ========================================================================== */

/* --------------------------------------------------------------------------
   6.1 Kadence header foundation
   Keep one header structure active across all viewport sizes.
   -------------------------------------------------------------------------- */

/* Hide Kadence's separate mobile header. */
#mobile-header {
    display: none !important;
}

/* Remove Kadence's default bottom divider. */
.site-main-header-wrap .site-header-row-container-inner {
    border-bottom: 0 !important;
}

/* Keep the active header fixed across all viewport sizes. */
#masthead {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
    z-index: 9999;
    overflow: visible !important;
    background: #fff;
    isolation: isolate;
    transition: box-shadow 160ms ease;
}

body.admin-bar #masthead {
    top: 32px;
}

body.mb-header-scrolled #masthead {
    box-shadow: 0 8px 24px rgba(8, 45, 89, 0.08);
}

/* Scroll progress grows from right to left for the RTL interface. */
#masthead::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: var(--mb-scroll-progress);
    height: 3px;
    border-radius: 3px 0 0 0;
    background: linear-gradient(90deg, var(--mb-header-teal), var(--mb-header-blue));
    pointer-events: none;
    will-change: width;
    z-index: 2;
}

@media (max-width: 782px) {
    body.admin-bar #masthead {
        top: 46px;
    }
}

@media (max-width: 600px) {
    body.admin-bar #masthead {
        top: 0;
    }
}

/* Keep the primary header available on desktop, tablet, and phone. */
#masthead #main-header {
    display: block !important;
}

.main-navigation.header-navigation {
    display: block !important;
}

.primary-menu-container.header-menu-container {
    display: block !important;
}

#primary-menu {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
}

.site-main-header-inner-wrap {
    min-height: 80px;
}
 
/* --------------------------------------------------------------------------
   6.2 Header V2
   -------------------------------------------------------------------------- */

.mb-screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

#primary-menu > .mb-account-menu-item,
#primary-menu > .mb-guest-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.mb-account-toggle,
.mb-guest-toggle {
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(0, 128, 255, 0.1);
    border-radius: 50%;
    color: var(--mb-header-blue);
    background: var(--mb-header-soft);
    box-shadow: none;
    cursor: pointer;
    line-height: 1;
    transition:
        color var(--mb-header-speed) ease,
        background var(--mb-header-speed) ease,
        box-shadow var(--mb-header-speed) ease,
        transform var(--mb-header-speed) ease;
}

.mb-account-menu-item.is-open .mb-account-toggle {
    color: #fff;
    background: linear-gradient(145deg, var(--mb-header-blue), #1494e5 68%, var(--mb-header-teal));
    box-shadow: 0 9px 22px rgba(0, 128, 255, 0.24);
    transform: translateY(-1px);
}

.mb-account-menu-item:not(.is-open) .mb-account-toggle:hover,
.mb-account-menu-item:not(.is-open) .mb-account-toggle:focus,
.mb-guest-menu-item:not(.is-open) .mb-guest-toggle:hover,
.mb-guest-menu-item:not(.is-open) .mb-guest-toggle:focus {
    color: var(--mb-header-blue) !important;
    background: var(--mb-header-soft) !important;
    border-color: rgba(0, 128, 255, 0.1) !important;
    box-shadow: none !important;
    transform: none;
}

.mb-account-toggle:focus-visible,
.mb-guest-toggle:focus-visible,
.mb-account-menu-list a:focus-visible,
.mb-guest-menu-list a:focus-visible {
    outline: 3px solid rgba(0, 128, 255, 0.25);
    outline-offset: 3px;
}

.mb-account-toggle:focus:not(:focus-visible),
.mb-guest-toggle:focus:not(:focus-visible) {
    outline: none !important;
}

.mb-account-toggle:active,
.mb-guest-toggle:active {
    transform: scale(0.96) !important;
    transition-duration: 80ms;
}

.mb-account-toggle svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    pointer-events: none;
}

/* Shared animated panels. */
.mb-account-panel,
.mb-guest-panel {
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top right;
    transition:
        opacity var(--mb-header-speed) ease,
        visibility var(--mb-header-speed) ease,
        transform var(--mb-header-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mb-account-menu-item.is-open .mb-account-panel,
.mb-guest-menu-item.is-open .mb-guest-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* --------------------------------------------------------------------------
   Logged-in account menu
   -------------------------------------------------------------------------- */
.mb-account-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 286px;
    max-width: calc(100vw - 20px);
    padding: 10px;
    border: 1px solid var(--mb-header-border);
    border-radius: 17px;
    direction: rtl;
    color: var(--mb-header-navy);
    background: var(--mb-header-surface);
    box-shadow: var(--mb-header-shadow);
}

.mb-account-greeting {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    margin: 0 3px 8px;
    padding: 7px 8px 11px;
    border-bottom: 1px solid var(--mb-header-border);
    color: var(--mb-header-navy);
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}

.mb-account-greeting strong {
    color: var(--mb-header-blue);
    font-weight: 700;
}

.mb-account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--mb-header-blue), var(--mb-header-teal));
}

.mb-account-avatar svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.mb-account-menu-list,
.mb-guest-menu-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mb-account-menu-list > li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mb-account-menu-list > li > a {
    display: flex !important;
    align-items: center;
    gap: 11px;
    min-height: 47px;
    padding: 9px 10px !important;
    border-radius: 11px;
    color: #263b56 !important;
    background: transparent !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-align: right;
    text-decoration: none !important;
    transition:
        color 150ms ease,
        background 150ms ease,
        transform 150ms ease;
}

.mb-account-menu-list > li > a::before,
.mb-guest-menu-list > li > a::before {
    content: "";
    display: inline-block;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    background-color: currentColor;
    -webkit-mask-image: var(--mb-menu-icon);
    mask-image: var(--mb-menu-icon);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.mb-account-menu-list > li > a:hover {
    color: var(--mb-header-blue) !important;
    background: #f1f8ff;
    transform: translateX(-2px);
}

.mb-account-menu-list > li.mb-current-menu-item > a {
    color: var(--mb-header-blue) !important;
    background: linear-gradient(90deg, #eff8ff, #f3fbfa) !important;
}

.mb-account-menu-list > .mb-menu-logout {
    margin-top: 5px !important;
    padding-top: 6px !important;
    border-top: 1px solid var(--mb-header-border);
}

.mb-account-menu-list > .mb-menu-logout > a,
.mb-account-menu-list > .mb-menu-logout > a:hover {
    color: var(--mb-header-danger) !important;
}

/* Icons are attached to stable WordPress menu-item classes. */
.mb-menu-home {
    --mb-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.7 2.5 11v10h6v-6h7v6h6V11L12 2.7Zm7.5 16.3h-2v-6h-11v6h-2v-7.1L12 5.3l7.5 6.6V19Z'/%3E%3C/svg%3E");
}

.mb-menu-activate {
    --mb-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.8 13.2a5 5 0 1 0 3 3L22 5l-3-3L7.8 13.2ZM6 20a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm7-9 2-2 2 2-2 2-2-2Zm3-3 3-3 .9.9-3 3L16 8Z'/%3E%3C/svg%3E");
}

.mb-menu-profile {
    --mb-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 8a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm0 4c-5 0-9 2.5-9 5.5V22h18v-2.5C21 16.5 17 14 12 14Zm-7 6c.3-2 3.2-4 7-4s6.7 2 7 4H5Z'/%3E%3C/svg%3E");
}

.mb-menu-packages {
    --mb-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2-10 5 10 5 8-4v7h2V7L12 2Zm0 7.8L6.4 7 12 4.2 17.6 7 12 9.8ZM5 11.2v5.1l7 3.5 7-3.5v-5.1l-2 1v2.9l-5 2.5-5-2.5v-2.9l-2-1Z'/%3E%3C/svg%3E");
}

.mb-menu-logout {
    --mb-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 3H3v18h7v-2H5V5h5V3Zm5.6 4.4L14.2 8.8l2.2 2.2H9v2h7.4l-2.2 2.2 1.4 1.4 4.6-4.6-4.6-4.6Z'/%3E%3C/svg%3E");
}

.mb-menu-register {
    --mb-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm0 8c-4.4 0-7 2.2-7 5v3h11v-2H4v-1c0-1.4 1.8-3 5-3 1.3 0 2.4.3 3.2.7l1-1.7c-1.2-.7-2.6-1-4.2-1Zm9-1v3h-3v2h3v3h2v-3h3v-2h-3v-3h-2Z'/%3E%3C/svg%3E");
}

.mb-menu-login {
    --mb-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3H4v18h7v-2H6V5h5V3Zm4.6 4.4-1.4 1.4 2.2 2.2H9v2h7.4l-2.2 2.2 1.4 1.4 4.6-4.6-4.6-4.6Z'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Guest menu — desktop and tablet (768px and wider)
   -------------------------------------------------------------------------- */
.mb-guest-toggle {
    display: none;
}

.mb-guest-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.mb-guest-menu-list {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
}

.mb-guest-menu-list > li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mb-guest-menu-list > li > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 17px !important;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        color 160ms ease,
        background 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.mb-guest-menu-list > .mb-menu-register {
    order: 1;
}

.mb-guest-menu-list > .mb-menu-login {
    order: 2;
}

.mb-guest-menu-list > .mb-menu-register > a,
.mb-guest-menu-list > .mb-menu-register > a:hover,
.mb-guest-menu-list > .mb-menu-register > a:focus-visible {
    color: #fff !important;
    background: linear-gradient(135deg, var(--mb-header-blue), #0e92ee 60%, var(--mb-header-teal) 135%) !important;
    box-shadow: 0 9px 22px rgba(0, 128, 255, 0.22);
}

.mb-guest-menu-list > .mb-menu-login > a,
.mb-guest-menu-list > .mb-menu-login > a:focus-visible {
    color: #0076e8 !important;
    border-color: rgba(0, 128, 255, 0.26);
    background: #fff !important;
}

.mb-guest-menu-list > li > a:hover {
    transform: translateY(-2px);
}

.mb-guest-menu-list > .mb-menu-register > a:hover {
    box-shadow: 0 12px 27px rgba(0, 128, 255, 0.3);
}

.mb-guest-menu-list > .mb-menu-login > a:hover {
    color: #0076e8 !important;
    background: #f1f8ff !important;
    border-color: rgba(0, 128, 255, 0.42);
    box-shadow: 0 8px 18px rgba(0, 128, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Phone only — hamburger and full-width panels
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .mb-guest-toggle {
        display: inline-flex;
        border-radius: 13px;
    }

    .mb-hamburger {
        position: relative;
        display: block;
        width: 21px;
        height: 16px;
        pointer-events: none;
    }

    .mb-hamburger > span {
        position: absolute;
        right: 0;
        display: block;
        width: 21px;
        height: 2px;
        border-radius: 5px;
        background: currentColor;
        transition:
            top var(--mb-header-speed) ease,
            width var(--mb-header-speed) ease,
            opacity 120ms ease,
            transform var(--mb-header-speed) ease;
    }

    .mb-hamburger > span:nth-child(1) {
        top: 0;
    }

    .mb-hamburger > span:nth-child(2) {
        top: 7px;
        width: 15px;
    }

    .mb-hamburger > span:nth-child(3) {
        top: 14px;
    }

    .mb-guest-menu-item.is-open .mb-guest-toggle {
        color: #fff;
        background: linear-gradient(145deg, var(--mb-header-blue), var(--mb-header-teal));
        box-shadow: 0 4px 12px rgba(0, 128, 255, 0.14);
    }

    .mb-guest-menu-item.is-open .mb-hamburger > span:nth-child(1) {
        top: 7px;
        transform: rotate(45deg);
    }

    .mb-guest-menu-item.is-open .mb-hamburger > span:nth-child(2) {
        width: 0;
        opacity: 0;
    }

    .mb-guest-menu-item.is-open .mb-hamburger > span:nth-child(3) {
        top: 7px;
        transform: rotate(-45deg);
    }

    .mb-guest-panel,
    .mb-account-panel {
        position: fixed;
        top: var(--mb-menu-panel-top, 88px);
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        max-height: calc(100dvh - var(--mb-menu-panel-top, 88px) - 12px);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform-origin: top center;
    }

    .mb-guest-panel {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(0.985);
        padding: 12px;
        border: 1px solid rgba(0, 128, 255, 0.1);
        border-radius: 0 0 20px 20px;
        direction: rtl;
        background: linear-gradient(155deg, #fff 0%, #f3f9ff 76%, #effbf9 100%);
        box-shadow: var(--mb-header-shadow);
    }

    .mb-guest-menu-item.is-open .mb-guest-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .mb-guest-menu-list {
        display: grid;
        gap: 11px;
        width: 100%;
    }

    .mb-guest-menu-list > li {
        width: 100%;
    }

    .mb-guest-menu-list > li > a {
        display: flex !important;
        justify-content: flex-start;
        width: 100%;
        min-height: 58px;
        padding: 11px 14px !important;
        border-radius: 14px;
        font-size: 14px;
        text-align: right;
    }

    .mb-guest-menu-list > li > a::before {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }

    .mb-account-panel {
        right: 12px;
        left: auto;
        width: 270px;
        max-width: calc(100vw - 24px);
        padding: 10px;
        border-radius: 17px;
        transform-origin: top right;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mb-account-toggle,
    .mb-guest-toggle,
    .mb-account-panel,
    .mb-guest-panel,
    .mb-account-menu-list > li > a,
    .mb-guest-menu-list > li > a,
    .mb-hamburger > span {
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   7. EXISTING HOMEPAGE AND RESPONSIVE RULES
   The declarations in this section retain their previous behavior.
   ========================================================================== */

@media (max-width: 767px) {
    .site-container,
    .site-header-row-layout-contained,
    .site-footer-row-layout-contained,
    .entry-hero-layout-contained,
    .alignfull > .wp-block-cover__inner-container,
    .alignwide > .wp-block-cover__inner-container {
        padding: 0 10px;
    }

    .kadence-column3026_7d11d3-74,
    .kt-inside-inner-col > .kadence-column3026_7d11d3-74:not(.specificity) {
        margin-top: 70px;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
    }
}

/* Homepage CTA visibility by authentication state. */
body:not(.logged-in) .hero-btn-user {
    display: none !important;
}

body.logged-in .hero-btn-guest {
    display: none !important;
}

/* ==========================================================================
   HOMEPAGE FEATURES
   ========================================================================== */

.mb-home-features {
    --mb-feature-primary: #0080FF;
    --mb-feature-secondary: #24B1B1;
    --mb-feature-heading: #0A2147;
    --mb-feature-text: #526279;
    --mb-feature-border: #E5EDF7;
    --mb-feature-surface: #FFFFFF;
    --mb-feature-soft: #EFF7FF;
	 background: linear-gradient(180deg, #F8FBFF 0%, #F1F8FF 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(0, 128, 255, 0.05),
        inset 0 -1px 0 rgba(0, 128, 255, 0.05);
}

.mb-home-features .kt-row-column-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 20px !important;
    padding-top: 48px;
    padding-bottom: 48px;
}

.mb-home-features .mb-feature-card {
    height: 100%;
}

.mb-home-features .mb-feature-card > .kt-inside-inner-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    height: 100%;
    padding: 28px 22px !important;
    overflow: hidden;
    text-align: center;
    background: var(--mb-feature-surface) !important;
    border: 1px solid var(--mb-feature-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(8, 45, 89, 0.07);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.mb-home-features .mb-feature-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    margin: 0 auto 16px;
    color: var(--mb-feature-primary);
    background: linear-gradient(145deg, #F3F9FF, #E9F9FA);
    border: 1px solid rgba(0, 128, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 128, 255, 0.09);
    transition: transform 180ms ease;
}

.mb-home-features .mb-feature-icon svg {
    display: block;
    width: 36px;
    height: 36px;
}

.mb-home-features .mb-feature-icon-accent {
    color: var(--mb-feature-secondary);
}

.mb-home-features .wp-block-kadence-advancedheading {
    width: 100%;
    margin: 0 0 14px !important;
    color: var(--mb-feature-heading) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

.mb-home-features .mb-feature-card p {
    width: 100%;
    margin: 0 !important;
    color: var(--mb-feature-text);
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

@media (hover: hover) and (pointer: fine) {
    .mb-home-features .mb-feature-card:hover > .kt-inside-inner-col {
        transform: translateY(-5px);
        border-color: rgba(0, 128, 255, 0.25);
        box-shadow: 0 16px 38px rgba(8, 45, 89, 0.12);
    }

    .mb-home-features .mb-feature-card:hover .mb-feature-icon {
        transform: translateY(-2px) scale(1.04);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .mb-home-features .kt-row-column-wrap {
        gap: 16px !important;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .mb-home-features .mb-feature-card > .kt-inside-inner-col {
        min-height: 200px;
        padding: 24px 16px !important;
    }

    .mb-home-features .wp-block-kadence-advancedheading {
        font-size: 18px !important;
    }

    .mb-home-features .mb-feature-card p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .mb-home-features .kt-row-column-wrap {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .mb-home-features .mb-feature-card > .kt-inside-inner-col {
        min-height: 180px;
        padding: 24px 18px !important;
    }

    .mb-home-features .mb-feature-icon {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        margin-bottom: 14px;
    }

    .mb-home-features .mb-feature-icon svg {
        width: 34px;
        height: 34px;
    }

    .mb-home-features .wp-block-kadence-advancedheading {
        font-size: 19px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mb-home-features .mb-feature-card > .kt-inside-inner-col,
    .mb-home-features .mb-feature-icon {
        transition: none;
    }
}


/* ==========================================================================
   HOME VIDEO SECTION
   ========================================================================== */
body .mb-home-video {
    background: #ffffff !important;
}

body .mb-home-video .kt-row-column-wrap {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
}

body .mb-home-video-inner .kt-inside-inner-col {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

body .mb-home-video-title {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    color: #071e46 !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

body .mb-home-video-text {
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    color: #64748b !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
    text-align: center !important;
}

body .mb-home-video-player {
    display: block;
    width: 100% !important;
    max-width: 880px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 128, 255, 0.16) !important;
    border-radius: 20px !important;
    background: #071e46;
    box-shadow: 0 18px 45px rgba(7, 30, 70, 0.12) !important;
}

body .mb-home-video-player .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

body .mb-home-video-player iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

@media (max-width: 1024px) {
    body .mb-home-video .kt-row-column-wrap {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }

    body .mb-home-video-player {
        max-width: 720px !important;
        border-radius: 18px !important;
    }
}

@media (max-width: 767px) {
    body .mb-home-video .kt-row-column-wrap {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }

    body .mb-home-video-title {
        font-size: 27px !important;
    }

    body .mb-home-video-text {
        margin-bottom: 22px !important;
        font-size: 15px !important;
    }

    body .mb-home-video-player {
        border-radius: 14px !important;
    }
}

/* Mobile video section refinement */
@media (max-width: 767px) {
    body .mb-home-video > .kt-row-column-wrap {
        box-sizing: border-box;
        padding: 42px 16px 48px !important;
    }

    body .mb-home-video-player {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px !important;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.mb-faq-section {
    --mb-faq-primary: #0080ff;
    --mb-faq-secondary: #24b1b1;
    --mb-faq-navy: #071f45;
    --mb-faq-muted: #667085;
    --mb-faq-border: rgba(0, 128, 255, 0.20);
    --mb-faq-line: rgba(7, 31, 69, 0.09);
    --mb-faq-soft: #f2f8ff;
    width: 100%;
    margin: 0 !important;
    color: var(--mb-faq-navy);
    background: #ffffff !important;
    direction: rtl;
}

.mb-faq-section,
.mb-faq-section *,
.mb-faq-section *::before,
.mb-faq-section *::after {
    box-sizing: border-box;
}

.mb-faq-section > .kt-row-layout-inner {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
}

.mb-faq-section > .kt-row-layout-inner > .kt-row-column-wrap {
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 68px 32px 36px !important;
}

.mb-faq-section
> .kt-row-layout-inner
> .kt-row-column-wrap
> .wp-block-kadence-column {
    min-width: 0 !important;
}

.mb-faq-section
> .kt-row-layout-inner
> .kt-row-column-wrap
> .wp-block-kadence-column
> .kt-inside-inner-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    counter-reset: mb-faq-item;
}

/* Small heading above the FAQ title. */
.mb-faq-section .mb-faq-kicker,
.mb-faq-section
> .kt-row-layout-inner
> .kt-row-column-wrap
> .wp-block-kadence-column
> .kt-inside-inner-col
> :first-child {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 20px !important;
    color: var(--mb-faq-primary) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

.mb-faq-section .mb-faq-kicker::before,
.mb-faq-section .mb-faq-kicker::after,
.mb-faq-section
> .kt-row-layout-inner
> .kt-row-column-wrap
> .wp-block-kadence-column
> .kt-inside-inner-col
> :first-child::before,
.mb-faq-section
> .kt-row-layout-inner
> .kt-row-column-wrap
> .wp-block-kadence-column
> .kt-inside-inner-col
> :first-child::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    flex: 0 0 38px;
    background: linear-gradient(
        90deg,
        rgba(0, 128, 255, 0.15),
        var(--mb-faq-secondary)
    );
    border-radius: 999px;
}

/* Heading and introductory text can keep their Gutenberg classes. */
.mb-faq-section .mb-faq-title,
.mb-faq-section
> .kt-row-layout-inner
> .kt-row-column-wrap
> .wp-block-kadence-column
> .kt-inside-inner-col
> h2 {
    width: 100%;
    margin: 0 0 12px !important;
    color: var(--mb-faq-navy) !important;
    font-size: clamp(32px, 4vw, 44px) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.mb-faq-section .mb-faq-intro,
.mb-faq-section .mb-faq-subtitle {
    width: min(100%, 620px) !important;
    max-width: 620px !important;
    margin: 0 auto 34px !important;
    color: var(--mb-faq-muted) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    text-align: center !important;
}

/* Keep the complete FAQ list centred without allowing flex shrink-to-fit. */
.mb-faq-section .mb-faq-list {
    width: min(920px, calc(100% - 40px)) !important;
    max-width: 920px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    align-self: center !important;
    box-sizing: border-box !important;
}

/* Native Gutenberg Details blocks. */
.mb-faq-section details {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0 0 12px !important;
    padding: 0 !important;
    overflow: hidden;
    counter-increment: mb-faq-item;
    color: var(--mb-faq-navy);
    background: #ffffff;
    border: 1px solid var(--mb-faq-border);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(7, 31, 69, 0.035);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.mb-faq-section details:first-of-type {
    margin-top: 4px !important;
}

.mb-faq-section details:last-child {
    margin-bottom: 0 !important;
}

.mb-faq-section details[open] {
    border-color: var(--mb-faq-secondary);
    box-shadow: 0 8px 24px rgba(36, 177, 177, 0.08);
}

.mb-faq-section details > summary {
    position: relative;
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 86px;
    margin: 0 !important;
    padding: 20px 72px !important;
    color: var(--mb-faq-navy) !important;
    background: transparent !important;
    border: 0 !important;
    list-style: none !important;
    cursor: pointer;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
    text-align: right !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}

.mb-faq-section details > summary::-webkit-details-marker {
    display: none;
}

.mb-faq-section details > summary::marker {
    content: "";
}

.mb-faq-section details > summary::before,
.mb-faq-section details > summary::after {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    border-radius: 10px;
    line-height: 1;
}

.mb-faq-section details > summary::before {
    content: counter(mb-faq-item, decimal-leading-zero);
    inset-inline-start: 18px;
    color: var(--mb-faq-primary);
    background: var(--mb-faq-soft);
    border: 1px solid rgba(0, 128, 255, 0.20);
    font-size: 12px;
    font-weight: 800;
}

.mb-faq-section details > summary::after {
    content: "+";
    inset-inline-end: 18px;
    color: var(--mb-faq-primary);
    background: var(--mb-faq-soft);
    border: 1px solid rgba(0, 128, 255, 0.20);
    font-size: 22px;
    font-weight: 400;
}

.mb-faq-section details[open] > summary {
    color: var(--mb-faq-primary) !important;
}

.mb-faq-section details[open] > summary::before {
    color: #ffffff;
    background: var(--mb-faq-primary);
    border-color: var(--mb-faq-primary);
}

.mb-faq-section details[open] > summary::after {
    content: "×";
    color: #ffffff;
    background: var(--mb-faq-secondary);
    border-color: var(--mb-faq-secondary);
}

.mb-faq-section details > :not(summary) {
    margin: 0 20px !important;
    padding: 18px 0 22px !important;
    color: var(--mb-faq-muted) !important;
    border-top: 1px solid var(--mb-faq-line);
    font-size: 15px !important;
    line-height: 1.9 !important;
    text-align: right !important;
}

.mb-faq-section details > summary:focus-visible {
    outline: 3px solid rgba(0, 128, 255, 0.22);
    outline-offset: -3px;
    border-radius: 15px;
}

@media (hover: hover) and (pointer: fine) {
    .mb-faq-section details:not([open]):hover {
        border-color: rgba(0, 128, 255, 0.38);
        box-shadow: 0 9px 24px rgba(7, 31, 69, 0.065);
    }

    .mb-faq-section details:not([open]) > summary:hover {
        color: var(--mb-faq-primary) !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .mb-faq-section > .kt-row-layout-inner > .kt-row-column-wrap {
        padding: 58px 18px 32px !important;
    }

    .mb-faq-section
    > .kt-row-layout-inner
    > .kt-row-column-wrap
    > .wp-block-kadence-column
    > .kt-inside-inner-col {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        align-items: stretch !important;
    }

    .mb-faq-section .mb-faq-list {
        width: min(820px, calc(100% - 40px)) !important;
        max-width: 820px !important;
    }
}

@media (max-width: 767px) {
    .mb-faq-section > .kt-row-layout-inner > .kt-row-column-wrap {
        padding: 44px 16px 26px !important;
    }

    .mb-faq-section
    > .kt-row-layout-inner
    > .kt-row-column-wrap
    > .wp-block-kadence-column
    > .kt-inside-inner-col {
        width: 100% !important;
        max-width: none !important;
    }

    .mb-faq-section .mb-faq-kicker,
    .mb-faq-section
    > .kt-row-layout-inner
    > .kt-row-column-wrap
    > .wp-block-kadence-column
    > .kt-inside-inner-col
    > :first-child {
        gap: 9px;
        margin-bottom: 16px !important;
        font-size: 13px !important;
    }

    .mb-faq-section .mb-faq-kicker::before,
    .mb-faq-section .mb-faq-kicker::after,
    .mb-faq-section
    > .kt-row-layout-inner
    > .kt-row-column-wrap
    > .wp-block-kadence-column
    > .kt-inside-inner-col
    > :first-child::before,
    .mb-faq-section
    > .kt-row-layout-inner
    > .kt-row-column-wrap
    > .wp-block-kadence-column
    > .kt-inside-inner-col
    > :first-child::after {
        width: 26px;
        flex-basis: 26px;
    }

    .mb-faq-section .mb-faq-title,
    .mb-faq-section
    > .kt-row-layout-inner
    > .kt-row-column-wrap
    > .wp-block-kadence-column
    > .kt-inside-inner-col
    > h2 {
        margin-bottom: 10px !important;
        font-size: clamp(27px, 8.5vw, 34px) !important;
    }

    .mb-faq-section .mb-faq-intro,
    .mb-faq-section .mb-faq-subtitle {
        margin-bottom: 26px !important;
        font-size: 14px !important;
    }

    .mb-faq-section .mb-faq-list {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }

    .mb-faq-section details {
        margin-bottom: 12px !important;
        border-radius: 14px;
    }

    .mb-faq-section details > summary {
        min-height: 82px;
        padding: 18px 62px !important;
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .mb-faq-section details > summary::before,
    .mb-faq-section details > summary::after {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .mb-faq-section details > summary::before {
        inset-inline-start: 14px;
    }

    .mb-faq-section details > summary::after {
        inset-inline-end: 14px;
    }

    .mb-faq-section details > :not(summary) {
        margin: 0 18px !important;
        padding: 17px 0 20px !important;
        font-size: 14px !important;
        line-height: 1.9 !important;
    }
}

@media (max-width: 390px) {
    .mb-faq-section > .kt-row-layout-inner > .kt-row-column-wrap {
        padding-inline: 12px !important;
    }

    .mb-faq-section details > summary {
        padding-inline: 58px !important;
        font-size: 14px !important;
    }

    .mb-faq-section details > summary::before,
    .mb-faq-section details > summary::after {
        width: 38px;
        height: 38px;
    }

    .mb-faq-section details > summary::before {
        inset-inline-start: 12px;
    }

    .mb-faq-section details > summary::after {
        inset-inline-end: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mb-faq-section details {
        transition: none !important;
    }
}

/* ==========================================================================
   SUPPORT CTA SECTION
   ========================================================================== */

.mb-support-section {
    --mb-support-primary: #0080ff;
    --mb-support-secondary: #24b1b1;
    --mb-support-navy: #071f45;
    --mb-support-muted: #667085;
    width: 100%;
    margin: 0 !important;
    background: #ffffff !important;
}

.mb-support-section,
.mb-support-section *,
.mb-support-section *::before,
.mb-support-section *::after {
    box-sizing: border-box;
}

/* Reset inherited Kadence sizing. */

.mb-support-section,
.mb-support-section > .kt-row-layout-inner,
.mb-support-content,
.mb-support-content > .kt-inside-inner-col,
.mb-support-action,
.mb-support-action > .kt-inside-inner-col {
    height: auto !important;
    min-height: 0 !important;
}

.mb-support-section > .kt-row-layout-inner {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
}

.mb-support-section > .kt-row-layout-inner > .kt-row-column-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1.85fr) minmax(230px, 1fr) !important;
    align-items: center !important;
    column-gap: clamp(30px, 4vw, 58px) !important;
    width: 100% !important;
    max-width: 1140px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 100px 48px !important;
    direction: rtl;
}

/* Content column */

.mb-support-content {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.mb-support-content > .kt-inside-inner-col {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 22px;
    align-content: center !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.mb-support-icon {
    display: flex;
    grid-column: 1;
    grid-row: 1 / 3;
    align-items: center;
    justify-content: center;
    width: 76px !important;
    height: 76px !important;
    margin: 0 !important;
    padding: 0;
    color: var(--mb-support-primary);
    background: rgba(0, 128, 255, 0.07);
    border: 1px solid rgba(0, 128, 255, 0.14);
    border-radius: 50%;
}

.mb-support-icon svg {
    display: block;
    width: 40px !important;
    height: 40px !important;
    max-width: none !important;
    margin: 0 !important;
}

.mb-support-title {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 10px !important;
    color: var(--mb-support-navy);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.3;
}

.mb-support-text {
    grid-column: 2;
    grid-row: 2;
    max-width: 570px;
    margin: 0 !important;
    color: var(--mb-support-muted);
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.9;
}

/* Action column */

.mb-support-action {
    min-width: 0;
    margin: 0 !important;
    padding: 0 0 0 clamp(18px, 3vw, 38px) !important;
    border-inline-start: 1px solid rgba(7, 31, 69, 0.12);
}

.mb-support-action > .kt-inside-inner-col {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* WhatsApp button */

.mb-support-button {
    margin: 0 !important;
}

.mb-support-button:is(a, button),
.mb-support-button :is(
    a,
    button,
    .kt-button,
    .kb-button,
    .wp-block-button__link
) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    min-height: 54px;
    padding: 14px 26px !important;
    color: #ffffff !important;
    background: #25d366 !important;
    border: 1px solid #25d366 !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.2);
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    text-decoration: none !important;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
    -webkit-tap-highlight-color: transparent;
}

.mb-support-button:is(a, button):hover,
.mb-support-button :is(
    a,
    button,
    .kt-button,
    .kb-button,
    .wp-block-button__link
):hover {
    color: #ffffff !important;
    background: #1ebe5b !important;
    border-color: #1ebe5b !important;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.26);
    transform: translateY(-2px);
}

/* Tablet */

@media (min-width: 768px) and (max-width: 1024px) {
    .mb-support-section > .kt-row-layout-inner > .kt-row-column-wrap {
        grid-template-columns: minmax(0, 1.65fr) minmax(205px, 0.9fr) !important;
        column-gap: 28px !important;
        padding: 100px 32px !important;
    }

    .mb-support-content > .kt-inside-inner-col {
        grid-template-columns: 66px minmax(0, 1fr);
        column-gap: 18px;
    }

    .mb-support-icon {
        width: 66px !important;
        height: 66px !important;
    }

    .mb-support-icon svg {
        width: 35px !important;
        height: 35px !important;
    }

    .mb-support-title {
        font-size: 29px;
    }

    .mb-support-text {
        font-size: 15px;
    }

    .mb-support-action {
        padding-left: 18px !important;
    }

    .mb-support-button:is(a, button),
    .mb-support-button :is(
        a,
        button,
        .kt-button,
        .kb-button,
        .wp-block-button__link
    ) {
        min-width: 205px;
        padding-inline: 18px !important;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .mb-support-section > .kt-row-layout-inner > .kt-row-column-wrap {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
        row-gap: 30px !important;
        padding: 100px 20px !important;
    }

    .mb-support-content {
        width: 100%;
    }

    .mb-support-content > .kt-inside-inner-col {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 14px;
        justify-items: center;
        align-content: start !important;
        text-align: center;
    }

    .mb-support-icon {
        grid-column: 1;
        grid-row: auto;
        width: 68px !important;
        height: 68px !important;
    }

    .mb-support-icon svg {
        width: 36px !important;
        height: 36px !important;
    }

    .mb-support-title,
    .mb-support-text {
        grid-column: 1;
        grid-row: auto;
    }

    .mb-support-title {
        margin: 0 !important;
        font-size: 28px;
    }

    .mb-support-text {
        max-width: 430px;
        font-size: 15px;
        line-height: 1.8;
    }

    .mb-support-action {
        width: 100%;
        padding: 0 !important;
        border: 0;
    }

    .mb-support-action > .kt-inside-inner-col {
        width: 100%;
        justify-content: center !important;
    }

    .mb-support-button:is(a, button),
    .mb-support-button :is(
        a,
        button,
        .kt-button,
        .kb-button,
        .wp-block-button__link
    ) {
        width: min(100%, 280px);
        min-width: 0;
    }
}

/* Final support section alignment. */

@media (min-width: 768px) {
    .mb-support-section > .kt-row-layout-inner > .kt-row-column-wrap {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }

    .mb-support-content > .kt-inside-inner-col {
        width: min(100%, 520px) !important;
        max-width: 520px !important;
        margin-inline: auto !important;
    }

    .mb-support-action > .kt-inside-inner-col {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   FINAL KADENCE FOOTER
   This footer is already part of the complete stylesheet below.
   ========================================================================== */

/* Support strip: balanced spacing and no vertical divider. */
.mb-support-section > .kt-row-layout-inner > .kt-row-column-wrap {
    padding: 44px 48px 60px !important;
}

.mb-support-action {
    padding: 0 !important;
    border: 0 !important;
}

/* ==========================================================================
   FOOTER FOUNDATION
   ========================================================================== */

#colophon.site-footer {
    --mb-footer-primary: #0080ff;
    --mb-footer-navy: #071f45;
    --mb-footer-muted: #667085;
    --mb-footer-line: rgba(7, 31, 69, 0.10);
    --mb-footer-surface: #ffffff;
    margin: clamp(48px, 5vw, 72px) 0 0 !important;
    color: var(--mb-footer-navy);
    background: var(--mb-footer-surface) !important;
}

#colophon .site-footer-wrap {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--mb-footer-surface) !important;
    border-top: 1px solid var(--mb-footer-line);
}

#colophon .site-footer-row-container-inner {
    background: var(--mb-footer-surface) !important;
}

/* ==========================================================================
   TOP FOOTER — EXACT KADENCE ROW
   ========================================================================== */

#colophon .site-top-footer-wrap,
#colophon .site-top-footer-wrap .site-footer-row-container-inner,
#colophon .site-top-footer-wrap .site-container,
#colophon .site-top-footer-inner-wrap,
#colophon .site-footer-top-section-1,
#colophon .site-footer-top-section-2,
#colophon .site-footer-top-section-3,
#colophon .site-footer-top-section-1 .footer-widget-area,
#colophon .site-footer-top-section-2 .footer-widget-area,
#colophon .site-footer-top-section-3 .footer-widget-area,
#colophon .site-footer-top-section-1 .footer-widget-area-inner,
#colophon .site-footer-top-section-2 .footer-widget-area-inner,
#colophon .site-footer-top-section-3 .footer-widget-area-inner {
    height: auto !important;
    min-height: 0 !important;
}

#colophon .site-top-footer-wrap .site-footer-row-container-inner {
    margin: 0 !important;
    padding: 0 !important;
}

#colophon .site-top-footer-inner-wrap {
    display: grid !important;
    grid-template-columns: minmax(300px, 0.95fr) minmax(340px, 1.05fr) !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 12px clamp(36px, 5vw, 72px) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 64px 24px !important;
    direction: ltr !important;
}

#colophon .site-footer-top-section-1,
#colophon .site-footer-top-section-2,
#colophon .site-footer-top-section-3 {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Right column: logo and platform description. */
#colophon .site-footer-top-section-1 {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    direction: rtl !important;
}

/* Left column: navigation, then social links. */
#colophon .site-footer-top-section-2 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: end !important;
    direction: rtl !important;
}

#colophon .site-footer-top-section-3 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: start !important;
    direction: ltr !important;
}

/* ==========================================================================
   BRAND
   ========================================================================== */

#colophon .footer-widget1,
#colophon .footer-widget1 .footer-widget-area-inner,
#colophon #block-8,
#colophon #block-11 {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: center !important;
}

#colophon #block-8 .wp-block-image {
    display: block;
    width: 160px !important;
    max-width: 100% !important;
    margin: 0 auto 10px !important;
    padding: 0 !important;
}

#colophon #block-8 .wp-block-image img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain;
}

#colophon #block-11 blockquote,
#colophon #block-11 .wp-block-quote,
#colophon #block-11 p {
    max-width: 310px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    color: var(--mb-footer-muted) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-style: normal !important;
    line-height: 1.75 !important;
    text-align: center !important;
}

#colophon #block-11 blockquote::before,
#colophon #block-11 blockquote::after,
#colophon #block-11 p::before,
#colophon #block-11 p::after {
    content: none !important;
    display: none !important;
}

/* ==========================================================================
   NAVIGATION — 2 x 2
   ========================================================================== */

#colophon .footer-navigation-wrap,
#colophon .footer-navigation-inner,
#colophon #footer-navigation,
#colophon .footer-menu-container {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#colophon #footer-menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(110px, 1fr)) !important;
    align-items: center !important;
    gap: 6px 22px !important;
    width: min(100%, 320px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

#colophon #footer-menu > li {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

#colophon #footer-menu > li > a {
    display: block !important;
    padding: 6px 4px !important;
    color: var(--mb-footer-navy) !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

#colophon #footer-menu > li > a::before,
#colophon #footer-menu > li > a::after {
    content: none !important;
    display: none !important;
}

/* ==========================================================================
   SOCIAL LINKS
   ========================================================================== */

#colophon .footer-social,
#colophon .footer-social-inner,
#colophon .footer-social-wrap,
#colophon .footer-social-inner-wrap {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#colophon .footer-social-wrap,
#colophon .footer-social-inner-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    direction: ltr !important;
}

#colophon .footer-social-inner-wrap {
    flex-wrap: wrap !important;
    gap: 9px !important;
}

#colophon .footer-social-wrap .social-button {
    display: inline-grid !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    color: var(--mb-footer-primary) !important;
    background: #f3f9ff !important;
    border: 1px solid rgba(0, 128, 255, 0.16) !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 14px rgba(7, 31, 69, 0.05);
    text-decoration: none !important;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#colophon .footer-social-wrap .social-button svg {
    width: 18px !important;
    height: 18px !important;
}

/* ==========================================================================
   COPYRIGHT — EXACT SINGLE KADENCE COLUMN
   ========================================================================== */

#colophon .site-bottom-footer-wrap {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    background: var(--mb-footer-surface) !important;
    border-top: 1px solid var(--mb-footer-line);
}

#colophon .site-bottom-footer-wrap .site-footer-row-container-inner,
#colophon .site-bottom-footer-wrap .site-container,
#colophon .site-bottom-footer-inner-wrap,
#colophon .site-footer-bottom-section-1,
#colophon .site-footer-bottom-section-1 .site-info,
#colophon .site-footer-bottom-section-1 .site-info-inner,
#colophon .site-footer-bottom-section-1 .footer-html,
#colophon .site-footer-bottom-section-1 .footer-html-inner {
    height: auto !important;
    min-height: 0 !important;
}

#colophon .site-bottom-footer-wrap .site-footer-row-container-inner {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

#colophon .site-bottom-footer-inner-wrap {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 20px !important;
}

#colophon .site-footer-bottom-section-1,
#colophon .site-footer-bottom-section-1 .site-info,
#colophon .site-footer-bottom-section-1 .site-info-inner,
#colophon .site-footer-bottom-section-1 .footer-html,
#colophon .site-footer-bottom-section-1 .footer-html-inner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
}

#colophon .site-footer-bottom-section-1 .footer-html-inner p {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    color: var(--mb-footer-muted) !important;
    font-size: clamp(10px, 1vw, 12px) !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

#colophon .mb-footer-copy,
#colophon .mb-footer-credit {
    width: 100% !important;
    margin: 0 !important;
    color: inherit !important;
    text-align: center !important;
}

#colophon .mb-footer-copy {
    display: block !important;
}

#colophon .mb-footer-credit {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3em !important;
    white-space: nowrap;
}

#colophon .mb-footer-credit a {
    display: inline !important;
    color: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

/* Interactions */
@media (hover: hover) and (pointer: fine) {
    #colophon #footer-menu > li > a:hover,
    #colophon #footer-menu > li > a:focus-visible,
    #colophon .mb-footer-credit a:hover,
    #colophon .mb-footer-credit a:focus-visible {
        color: var(--mb-footer-primary) !important;
        text-decoration: none !important;
    }

    #colophon .footer-social-wrap .social-button:hover,
    #colophon .footer-social-wrap .social-button:focus-visible {
        color: #ffffff !important;
        background: var(--mb-footer-primary) !important;
        border-color: var(--mb-footer-primary) !important;
        box-shadow: 0 8px 18px rgba(0, 128, 255, 0.20);
        transform: translateY(-2px);
    }
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    .mb-support-section > .kt-row-layout-inner > .kt-row-column-wrap {
        padding: 40px 32px 54px !important;
    }

    #colophon .site-top-footer-inner-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px 28px !important;
        padding: 24px 20px !important;
    }

    #colophon #block-8 .wp-block-image {
        width: 145px !important;
    }

    #colophon #block-11 blockquote,
    #colophon #block-11 .wp-block-quote,
    #colophon #block-11 p {
        max-width: 280px !important;
        font-size: 13px !important;
    }

    #colophon #footer-menu {
        gap: 5px 14px !important;
        width: min(100%, 285px) !important;
    }
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 767px) {
    .mb-support-section > .kt-row-layout-inner > .kt-row-column-wrap {
        padding: 38px 20px 48px !important;
    }

    #colophon .site-top-footer-inner-wrap {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto !important;
        gap: 18px !important;
        padding: 24px 16px !important;
        direction: rtl !important;
    }

    #colophon .site-footer-top-section-1,
    #colophon .site-footer-top-section-2,
    #colophon .site-footer-top-section-3 {
        grid-column: 1 !important;
        grid-row: auto !important;
        width: 100% !important;
    }

    #colophon .site-footer-top-section-1 {
        order: 1;
    }

    #colophon .site-footer-top-section-2 {
        order: 2;
    }

    #colophon .site-footer-top-section-3 {
        order: 3;
    }

    #colophon #block-8 .wp-block-image {
        width: 145px !important;
        margin-bottom: 8px !important;
    }

    #colophon #block-11 blockquote,
    #colophon #block-11 .wp-block-quote,
    #colophon #block-11 p {
        max-width: 310px !important;
        font-size: 13px !important;
    }

    #colophon #footer-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 5px 12px !important;
        width: min(100%, 300px) !important;
    }

    #colophon #footer-menu > li > a {
        padding: 6px 3px !important;
        font-size: 13px !important;
    }

    #colophon .site-bottom-footer-inner-wrap {
        padding: 9px 12px !important;
    }

    #colophon .site-footer-bottom-section-1 .footer-html-inner p {
        font-size: clamp(10px, 2.8vw, 11.5px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #colophon #footer-menu > li > a,
    #colophon .mb-footer-credit a,
    #colophon .footer-social-wrap .social-button {
        transition: none !important;
    }
}

.mb-account-menu-list {
    display: flex;
    flex-direction: column;
}

.mb-account-menu-list > .mb-menu-home {
    order: 1;
}

.mb-account-menu-list > .mb-menu-profile {
    order: 2;
}

.mb-account-menu-list > .mb-menu-activate {
    order: 3;
}

.mb-account-menu-list > .mb-menu-packages {
    order: 4;
}

.mb-account-menu-list > .mb-menu-logout {
    order: 5;
}
