
.mm-drawer {
    --p: var(--sb-general-color, #1E40AF);
    --p-light: var(--sb-general-color, #3B5FC0);
    --p-pale: #EFF4FF;
    --p-glow: rgba(30, 64, 175, .15);
    --red: #EF4444;

    --text: #0A0F1E;
    --text2: #1E293B;
    --text3: #64748B;
    --text4: #94A3B8;

    --bg: #F0F2F8;
    --card: #FFFFFF;
    --card2: #FAFBFF;
    --border: rgba(0, 0, 0, .06);
    --sep: rgba(0, 0, 0, .05);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .08), 0 1px 3px rgba(0, 0, 0, .05);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);

    --dur: 300ms;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --font: inherit;
    --safe-b: env(safe-area-inset-bottom, 16px);
    --r-menu: 24px;
}

.mm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(5, 10, 30, .55);
    backdrop-filter: blur(6px) saturate(1.4);
    -webkit-backdrop-filter: blur(6px) saturate(1.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur, 300ms) ease,
                visibility var(--dur, 300ms) ease;
    pointer-events: none;
}

.mm-backdrop.mm-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mm-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 88vw;
    max-width: 358px;
    z-index: 99999;

    display: flex;
    flex-direction: column;

    background: var(--bg);
    font-family: var(--font);

    border-radius: 0 var(--r-menu) var(--r-menu) 0;
    clip-path: inset(0 0 0 0 round 0 var(--r-menu) var(--r-menu) 0);

    transform: translateX(-100%);
    transition: transform 320ms cubic-bezier(.4, 0, .2, 1),
                box-shadow 320ms ease;
    box-shadow: none;
}

.mm-drawer.mm-open {
    transform: translateX(0);
    box-shadow: 28px 0 80px rgba(0, 0, 0, .24),
                0 0 0 1px rgba(255, 255, 255, .06);
}

.mm-header {
    height: 66px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px 0 22px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
}

.mm-header-logo img {
    max-height: 32px;
    width: auto;
    display: block;
}

.mm-close {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text3);
    box-shadow: var(--shadow-sm), 0 0 0 1px var(--border);
    transition: background 150ms, transform 120ms, box-shadow 150ms, color 150ms;
    -webkit-tap-highlight-color: transparent;
}

.mm-close:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    color: var(--text2);
}

.mm-close:active {
    transform: scale(.88);
    background: #FEE2E2;
    color: var(--red);
}

.mm-trigger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, .18);
    border-radius: 9px;
    cursor: pointer;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: background 150ms, border-color 150ms;
}

.mm-trigger:hover {
    background: rgba(0, 0, 0, .05);
    border-color: rgba(0, 0, 0, .28);
}

.mm-trigger span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 260ms cubic-bezier(.4, 0, .2, 1),
                opacity   260ms ease,
                width     260ms ease;
}

.mm-trigger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mm-trigger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.mm-trigger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

#mm-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.mm-panel {
    position: absolute;
    inset: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
    padding: 14px 12px calc(14px + var(--safe-b));
    background: var(--bg);
    transform: translateX(0);
    transition: transform var(--dur) var(--ease),
                opacity   var(--dur) var(--ease);
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
}

.mm-panel::-webkit-scrollbar { display: none; }

.mm-panel.mm-right {
    transform: translateX(105%);
}

.mm-panel.mm-left {
    transform: translateX(-25%) scale(.97);
    opacity: .55;
}

.mm-subhead {
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 6px 0 4px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.mm-back-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--p);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    padding: 7px 10px 7px 6px;
    border-radius: 12px;
    min-width: 0;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background 150ms, color 150ms;
    letter-spacing: -.1px;
}

.mm-back-btn:hover {
    background: var(--p-pale);
}

.mm-back-btn:active {
    background: var(--p-pale);
    opacity: .75;
}

.mm-back-btn[hidden] {
    display: none !important;
}

.mm-back-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mm-back-label {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mm-subhead-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.25px;
    white-space: nowrap;
    pointer-events: none;
    max-width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
}

#mm-crumbs {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    max-height: 0;
    opacity: 0;
    padding: 0 14px;
    background: var(--card2);
    border-bottom: 1px solid transparent;
    transition: max-height var(--dur) var(--ease),
    opacity var(--dur) var(--ease),
    padding var(--dur) var(--ease),
    border-color var(--dur);
}

#mm-crumbs::-webkit-scrollbar {
    display: none;
}

#mm-crumbs.show {
    max-height: 30px;
    opacity: 1;
    padding: 5px 14px;
    border-bottom-color: var(--border);
}

.mm-crumb {
    font-size: 11px;
    font-weight: 600;
    color: var(--text4);
    white-space: nowrap;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 6px;
    transition: color 120ms, background 120ms;
}

.mm-crumb:not(:last-child):hover {
    color: var(--p);
    background: var(--p-pale);
}

.mm-crumb:last-child {
    color: var(--p);
    cursor: default;
    font-weight: 700;
}

.mm-crumb-sep {
    font-size: 9px;
    color: var(--text4);
    opacity: .4;
    flex-shrink: 0;
    margin: 0 1px;
}

.mm-group {
    background: var(--card);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: var(--shadow-md);
}

.mm-item {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 56px;
    padding: 11px 14px 11px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    color: var(--text2);
    text-decoration: none;
    text-align: left;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: background 120ms;
}

.mm-item:hover {
    background: rgba(30, 64, 175, .03);
}

.mm-item:active {
    background: rgba(30, 64, 175, .07);
}

.mm-item + .mm-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 64px;
    right: 0;
    height: 1px;
    background: var(--sep);
}

.mm-item.mm-active {
    color: var(--p);
    background: linear-gradient(90deg, var(--p-glow) 0%, transparent 100%);
}

.mm-item.mm-active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(180deg, var(--p) 0%, var(--p-light) 100%);
    border-radius: 0 3px 3px 0;
}

.mm-item.mm-active .mm-ico-wrap {
    background: linear-gradient(135deg, var(--p) 0%, var(--p-light) 100%);
    box-shadow: 0 4px 12px var(--p-glow);
}

.mm-item.mm-active .mm-ico-wrap i,
.mm-item.mm-active .mm-ico-wrap svg {
    color: #fff !important;
    stroke: #fff !important;
}

.mm-ico-wrap {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: var(--bg);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm), 0 0 0 1px var(--border);
    transition: background 200ms, box-shadow 200ms;
}

.mm-ico-wrap i {
    font-size: 17px;
    color: var(--text3);
    line-height: 1;
    transition: color 150ms;
}

.mm-ico-wrap svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--text3);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 150ms;
}

.mm-item:active .mm-ico-wrap:not(.mm-item.mm-active .mm-ico-wrap) {
    background: var(--p-pale);
    box-shadow: var(--shadow-sm), 0 0 0 1px rgba(30, 64, 175, .15);
}

.mm-item:active .mm-ico-wrap i {
    color: var(--p) !important;
}

.mm-item:active .mm-ico-wrap svg {
    stroke: var(--p) !important;
}

.mm-item-text {
    flex: 1;
    min-width: 0;
}

.mm-item-name {
    display: block;
    line-height: 1.3;
    letter-spacing: -.1px;
}

.mm-item-sub {
    display: block;
    font-size: 11.5px;
    font-weight: 400;
    color: var(--text4);
    margin-top: 2px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mm-trail {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--text4);
    opacity: .55;
    transition: opacity 150ms, transform 150ms;
}

.mm-trail svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mm-item:hover .mm-trail {
    opacity: .85;
    transform: translateX(2px);
}

.mm-item.mm-active .mm-trail {
    color: var(--p);
    opacity: .7;
}

.mm-footer {
    flex-shrink: 0;
    padding: 14px 14px calc(var(--safe-b));
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .04);
}

.mm-footer .btn {
    border-radius: 14px !important;
    font-family: var(--font) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    height: 50px !important;
    letter-spacing: -.15px !important;
    transition: transform 120ms, box-shadow 150ms !important;
}

.mm-footer .btn:active {
    transform: scale(.97) !important;
}

.mm-footer .btn-primary,
.mm-footer .btn-dark {
    box-shadow: 0 4px 14px rgba(30, 64, 175, .3) !important;
}

#mobileMenuWPList {
    display: none !important
}

#sb_nav .mega-parent {
    position: static;
}

#sb_nav .mega-parent > .mega-menu.dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0;
    padding: 20px;
    border: none;
    border-top: 3px solid var(--sb-general-color, #1E40AF) !important;
    border-radius: 0 0 16px 16px;
    box-shadow:
        0 20px 56px rgba(0, 0, 0, .09),
        0 4px 12px rgba(0, 0, 0, .05),
        0 0 0 1px rgba(0, 0, 0, .04);
    background: #fff;
    overflow: hidden;
}

#sb_nav .mega-parent:hover > .mega-menu.dropdown-menu {
    margin-top: 0;
}

.mega-menu > .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.mega-row {
    margin-left:  -6px !important;
    margin-right: -6px !important;
    border-top: none;
}

.mega-row + .mega-row {
    margin-top: 6px !important;
    padding-top: 14px;
    border-top: 1px solid #EEF2F7 !important;
}

.mega-col--solo {
    padding: 0;
    border: none;
}

.mega-col-card {
    display: flex;
    gap: 13px;
    padding: 13px 15px;
    min-height: 62px;
    height: 100%;
    color: #334155;
    text-decoration: none;
    background: transparent;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    transition:
        background    180ms ease,
        border-color  180ms ease,
        color         180ms ease;
    align-items: center;
}

.mega-col-card:hover {
    background: rgba(30, 64, 175, .04);
    border-color: var(--sb-general-color, #1E40AF);
    color: var(--sb-general-color, #1E40AF);
}

.mega-col-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 9px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms ease;
}

.mega-col-icon i {
    font-size: 17px;
    color: var(--sb-general-color, #1E40AF);
    line-height: 1;
    transition: color 200ms ease;
}

.mega-col-icon i.bi-arrow-right-short {
    font-size: 22px;
}

.mega-col-card:hover .mega-col-icon {
    background: var(--sb-general-color, #1E40AF);
}

.mega-col-card:hover .mega-col-icon i {
    color: #fff;
}

.mega-col-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.mega-col-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: inherit;
    line-height: 1.3;
    letter-spacing: -.05px;
}

.mega-col-desc {
    display: block;
    font-size: 11.5px;
    color: #64748B;
    font-weight: 400;
    line-height: 1.45;
    margin-top: 4px;
    padding-top: 5px;
    border-top: 1px solid #EEF2F7;
    transition: color 180ms ease, border-color 180ms ease;
}

.mega-col-card:hover .mega-col-desc {
    color: rgba(30, 64, 175, .65);
    border-color: rgba(30, 64, 175, .15);
}

.mega-col--active .mega-col-card {
    background: rgba(30, 64, 175, .06);
    color: var(--sb-general-color, #1E40AF);
}

.mega-col--active .mega-col-icon {
    background: var(--sb-general-color, #1E40AF);
}

.mega-col--active .mega-col-icon i {
    color: #fff;
}

.mega-col {
    padding: 4px 6px;
    background: transparent;
}

.mega-col-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E9EEF4;
}

.mega-col-header a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--sb-general-color, #1E40AF);
    text-transform: uppercase;
    letter-spacing: .55px;
    transition: opacity 150ms;
}

.mega-col-header a:hover {
    opacity: .72;
    color: var(--sb-general-color, #1E40AF);
}

.mega-col-header a i {
    font-size: 14px;
}

.mega-col-links {
    display: flex;
    flex-direction: column;
}

.mega-link-item {
    list-style: none;
}

.mega-link-item a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 0;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    border-bottom: 1px solid #F1F5F9;
    transition: color 150ms, padding-left 150ms;
}

.mega-link-item:last-child a {
    border-bottom: none;
}

.mega-link-item a:hover {
    color: var(--sb-general-color, #1E40AF);
    padding-left: 5px;
    background: transparent;
}

.mega-link-item.mega-link-active a {
    color: var(--sb-general-color, #1E40AF);
    font-weight: 600;
}

.mega-link-item a i {
    font-size: 12px;
    opacity: .45;
    flex-shrink: 0;
    transition: opacity 150ms;
}

.mega-link-item a:hover i {
    opacity: 1;
}

@media (max-width: 991.98px) {
    .mega-menu.dropdown-menu {
        display: none !important;
    }
}

/* ===================================================
   Mega Media Menu
   =================================================== */

.mega-media-menu {
    background: #0d1b3e !important;
    padding: 14px !important;
    border-top: 3px solid var(--sb-general-color, #1E40AF) !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, .35),
        0 4px 12px rgba(0, 0, 0, .18) !important;
}

.mm-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 190px;
    gap: 8px;
    width: 100%;
}

.mm-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1a3160 no-repeat center / cover;
    transition: transform .22s ease, box-shadow .22s ease;
    cursor: pointer;
}

.mm-card--featured {
    grid-row: span 2;
}

.mm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}

.mm-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px;
    background: linear-gradient(
        160deg,
        rgba(8, 20, 55, .62) 0%,
        rgba(8, 20, 55, .10) 45%,
        rgba(8, 20, 55, .78) 100%
    );
}

.mm-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15px;
    text-decoration: none;
    align-self: flex-start;
    transition: background .15s;
    border: 1px solid rgba(255, 255, 255, .22);
    white-space: nowrap;
}

.mm-card-badge:hover {
    background: rgba(255, 255, 255, .30);
    color: #fff;
}

.mm-card-badge i {
    font-size: 14px;
    flex-shrink: 0;
}

.mm-card-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.mm-link-item a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .78);
    font-size: 12.5px;
    font-weight: 500;
    padding: 4px 0;
    text-decoration: none;
    transition: color .15s, padding-left .15s;
    line-height: 1.35;
}

.mm-link-item a::before {
    content: '•';
    color: rgba(255, 255, 255, .4);
    font-size: 10px;
    flex-shrink: 0;
    transition: color .15s;
}

.mm-link-item a:hover {
    color: #fff;
    padding-left: 4px;
}

.mm-link-item a:hover::before {
    color: var(--sb-general-color, #1E40AF);
}

.mm-card--active .mm-card-badge {
    background: var(--sb-general-color, #1E40AF);
    border-color: var(--sb-general-color, #1E40AF);
}

@media (max-width: 1199.98px) {
    .mm-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991.98px) {
    .mega-media-menu {
        display: none !important;
    }
}

/* ===================================================
   Mega Posts Menu
   =================================================== */

.mega-posts-menu {
    background: #fff !important;
    padding: 18px 20px 14px !important;
    border-top: 3px solid var(--sb-general-color, #1E40AF) !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow:
        0 20px 56px rgba(0, 0, 0, .09),
        0 4px 12px rgba(0, 0, 0, .05) !important;
}

.mega-posts-inner {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

/* ── Sidebar ── */
.mega-posts-sidebar {
    flex-shrink: 0;
    width: 130px;
    padding-top: 2px;
}

.mega-posts-cats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mega-post-cat-item button {
    width: 100%;
    text-align: left;
    padding: 7px 11px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: background 140ms, color 140ms;
    letter-spacing: -.1px;
    line-height: 1.35;
}

.mega-post-cat-item button:hover {
    background: #F1F5F9;
    color: #1E293B;
}

.mega-post-cat-item.active button {
    background: rgba(30, 64, 175, .08);
    color: var(--sb-general-color, #1E40AF);
    font-weight: 600;
}

/* ── Content area ── */
.mega-posts-content {
    flex: 1;
    min-width: 0;
}

/* ── Grid ── */
.mega-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    position: relative;
    transition: opacity 200ms;
}

.mega-posts-grid.loading {
    opacity: .45;
    pointer-events: none;
}

/* ── Post card ── */
.mega-post-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mega-post-card-img {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #E2E8F0;
    text-decoration: none;
}

.mega-post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 320ms ease;
}

.mega-post-card:hover .mega-post-card-img img {
    transform: scale(1.05);
}

.mega-post-cat-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .25px;
    border-radius: 5px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.4;
}

.mega-post-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mega-post-card-title {
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.1px;
}

.mega-post-card-title a {
    color: #1E293B;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 140ms;
}

.mega-post-card-title a:hover {
    color: var(--sb-general-color, #1E40AF);
}

.mega-post-card-date {
    display: block;
    font-size: 11px;
    color: #94A3B8;
}

/* ── Pagination ── */
.mega-posts-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.mega-posts-prev,
.mega-posts-next {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    color: #64748B;
    transition: border-color 140ms, color 140ms, background 140ms;
    padding: 0;
    line-height: 1;
}

.mega-posts-prev:hover:not(:disabled),
.mega-posts-next:hover:not(:disabled) {
    border-color: var(--sb-general-color, #1E40AF);
    color: var(--sb-general-color, #1E40AF);
    background: rgba(30, 64, 175, .05);
}

.mega-posts-prev:disabled,
.mega-posts-next:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.mega-posts-prev svg,
.mega-posts-next svg {
    width: 13px;
    height: 13px;
    display: block;
}

.mega-posts-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px 0;
    color: #94A3B8;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 991.98px) {
    .mega-posts-menu {
        display: none !important;
    }
}