/* =========================================================
   Mahbet Latest Guides - Frontend Styles
   همه کلاس ها با پیشوند mlg نوشته شده اند تا با قالب تداخل نداشته باشند.
========================================================= */

.mlg,
.mlg * {
    box-sizing: border-box;
}

.mlg {
    --mlg-bg: #111d29;
    --mlg-surface: #162230;
    --mlg-surface-2: #142431;
    --mlg-border: #294252;
    --mlg-gold: #f4b400;
    --mlg-text: #f7f9fc;
    --mlg-muted: #b8c3cf;
    --mlg-meta: #9eadba;
    --mlg-gap: 18px;
    --mlg-dot-size: 8px;
    --mlg-dot-color: #40505f;
    --mlg-dot-active: #f4b400;
    position: relative;
    width: 100%;
    margin-inline: auto;
    padding: 28px;
    overflow: visible;
    color: var(--mlg-text);
    direction: rtl;
    background:
        radial-gradient(circle at 85% 0%, rgba(244, 180, 0, 0.09), transparent 31%),
        linear-gradient(145deg, #111d29, #0f1924);
    border: 1px solid rgba(120, 154, 178, 0.15);
    border-radius: 28px;
    isolation: isolate;
}

.mlg a {
    text-decoration: none;
}

.mlg button,
.mlg a {
    -webkit-tap-highlight-color: transparent;
}

.mlg-heading {
    max-width: 820px;
    margin: 0 auto 26px;
}

.mlg-heading__subtitle {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--mlg-gold);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 1.7px;
    direction: ltr;
}

.mlg-heading__title {
    margin: 0;
    color: var(--mlg-text);
    font-size: clamp(25px, 3vw, 39px);
    font-weight: 900;
    line-height: 1.35;
}

.mlg-heading__description {
    max-width: 710px;
    margin: 10px auto 0;
    color: var(--mlg-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
}

.mlg-slider {
    position: relative;
}

.mlg-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: inherit;
    outline: none;
    touch-action: pan-y;
}

.mlg-viewport:focus-visible {
    outline: 2px solid var(--mlg-gold);
    outline-offset: 5px;
}

/* حالت جایگزین قبل از اجرای جاوا اسکریپت */
.mlg-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--mlg-gap);
    width: 100%;
}

/* حالت اسلایدر پس از اجرا */
.mlg.is-ready .mlg-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    direction: ltr;
    will-change: transform;
}

.mlg-page {
    display: grid;
    flex: 0 0 100%;
    grid-template-columns: repeat(var(--mlg-page-columns, 4), minmax(0, 1fr));
    align-items: stretch;
    gap: var(--mlg-gap);
    width: 100%;
    min-width: 0;
    direction: rtl;
}

.mlg-card {
    --mlg-card-bg-default: linear-gradient(155deg, rgba(24, 40, 55, 0.97), rgba(15, 27, 39, 0.96));
    --mlg-card-border-default: rgba(112, 145, 168, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: var(--mlg-card-bg-custom, var(--mlg-card-bg-default));
    border: 1px solid var(--mlg-card-border-custom, var(--mlg-card-border-default));
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.3s ease,
        box-shadow 0.35s ease;
    direction: rtl;
}

.mlg-card:hover {
    border-color: rgba(244, 180, 0, 0.72);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
    transform: translateY(-6px);
}

.mlg-card__media {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 190px;
    aspect-ratio: 1200 / 630;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2a39, #0e1620);
}

.mlg-card__media::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(14, 22, 32, 0.02), rgba(14, 22, 32, 0.28));
}

.mlg-card__image,
.mlg-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
}

.mlg-card:hover .mlg-card__media img {
    transform: scale(1);
}

.mlg--image-contain .mlg-card__media img {
    object-fit: contain;
}

.mlg--image-cover .mlg-card__media img {
    object-fit: cover;
}

.mlg--image-fill .mlg-card__media img {
    object-fit: fill;
}

.mlg-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 25%, rgba(244, 180, 0, 0.2), transparent 28%),
        linear-gradient(135deg, #1d3143, #0f1924 70%);
}

.mlg-card__placeholder::before,
.mlg-card__placeholder::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(244, 180, 0, 0.18);
    border-radius: 50%;
}

.mlg-card__placeholder::before {
    width: 120px;
    height: 120px;
    top: -36px;
    left: -26px;
}

.mlg-card__placeholder::after {
    width: 70px;
    height: 70px;
    right: 22px;
    bottom: 18px;
}

.mlg-card__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.mlg-card__category {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin-bottom: 13px;
    padding: 4px 10px;
    color: #0e1620;
    background: var(--mlg-gold);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.mlg-card__category:hover {
    color: #0e1620;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.mlg-card__title {
    width: 100%;
    margin: 0;
    color: var(--mlg-text);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.75;
}

.mlg-card__title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    transition: color 0.25s ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mlg-card__title a:hover {
    color: var(--mlg-gold);
}

.mlg-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 12px;
    width: 100%;
    margin-top: 11px;
    color: var(--mlg-meta);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.7;
}

.mlg-card__meta-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.mlg-card__meta-item:not(:last-child)::after {
    width: 3px;
    height: 3px;
    margin-right: 5px;
    content: "";
    background: currentColor;
    border-radius: 50%;
    opacity: 0.55;
}

.mlg-card__avatar {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(244, 180, 0, 0.42);
    border-radius: 50%;
    object-fit: cover;
}

.mlg-card__excerpt {
    display: -webkit-box;
    width: 100%;
    margin: 13px 0 0;
    overflow: hidden;
    color: var(--mlg-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.95;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mlg-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 17px;
    color: var(--mlg-gold);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.mlg-card__more i {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 8px;
    transition: transform 0.25s ease;
}

.mlg-card__more i::before {
    position: absolute;
    top: 50%;
    right: 0;
    width: 16px;
    height: 1.5px;
    content: "";
    background: currentColor;
    transform: translateY(-50%);
}

.mlg-card__more i::after {
    position: absolute;
    top: 1px;
    left: 0;
    width: 6px;
    height: 6px;
    content: "";
    border-bottom: 1.5px solid currentColor;
    border-left: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.mlg-card__more:hover i {
    transform: translateX(-4px);
}

/* =========================================================
   قالب ۱: شیشه ای طلایی
   کارت شیشه ای با قاب نورانی ظریف و تصویر داخلی
========================================================= */
.mlg--glass .mlg-card {
    --mlg-card-bg-default:
        linear-gradient(145deg, rgba(31, 51, 68, 0.82), rgba(13, 24, 35, 0.94));
    --mlg-card-border-default: rgba(166, 191, 208, 0.19);
    border-radius: 24px;
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px) saturate(118%);
    -webkit-backdrop-filter: blur(18px) saturate(118%);
}

.mlg--glass .mlg-card::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.075), transparent 31%),
        radial-gradient(circle at 88% 4%, rgba(244, 180, 0, 0.13), transparent 28%);
    border-radius: inherit;
}

.mlg--glass .mlg-card__media {
    width: calc(100% - 20px);
    margin: 10px 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 17px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.19);
}

.mlg--glass .mlg-card__media::after {
    background: linear-gradient(180deg, transparent 62%, rgba(8, 15, 22, 0.26));
}

.mlg--glass .mlg-card__content {
    padding: 18px 20px 21px;
}

.mlg--glass .mlg-card__category {
    color: #f8cf5b;
    background: rgba(244, 180, 0, 0.1);
    border: 1px solid rgba(244, 180, 0, 0.26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.mlg--glass .mlg-card__more {
    width: 100%;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* =========================================================
   قالب ۲: تصویر سینمایی
   تصویر تمام سطح، گرادیان عمیق و محتوای خوانا روی تصویر
========================================================= */
.mlg--overlay .mlg-card {
    min-height: 448px;
    justify-content: flex-end;
    background: #09111a;
    border-color: rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32);
}

.mlg--overlay .mlg-card__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    min-height: 100%;
    aspect-ratio: auto !important;
}

.mlg--overlay .mlg-card__media::after {
    background:
        linear-gradient(180deg, rgba(3, 8, 13, 0.02) 5%, rgba(3, 8, 13, 0.16) 36%, rgba(3, 8, 13, 0.9) 78%, #071019 100%),
        linear-gradient(90deg, rgba(3, 8, 13, 0.2), transparent 60%);
}

.mlg--overlay .mlg-card__content {
    justify-content: flex-end;
    min-height: 448px;
    padding: 25px 23px 23px;
    background: linear-gradient(180deg, transparent 35%, rgba(5, 12, 18, 0.12) 55%, rgba(5, 12, 18, 0.72) 100%);
}

.mlg--overlay .mlg-card__category {
    min-height: 25px;
    color: #ffe29a;
    background: rgba(7, 15, 23, 0.58);
    border: 1px solid rgba(244, 180, 0, 0.44);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mlg--overlay .mlg-card__title {
    font-size: 20px;
    line-height: 1.7;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.mlg--overlay .mlg-card__meta {
    color: rgba(240, 245, 249, 0.75);
}

.mlg--overlay .mlg-card__excerpt {
    color: rgba(237, 242, 246, 0.78);
    -webkit-line-clamp: 2;
}

.mlg--overlay .mlg-card__more {
    align-self: stretch;
    justify-content: space-between;
    margin-top: 18px;
    padding: 11px 14px;
    color: #fff0bd;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

/* =========================================================
   قالب ۳: مجله ای حرفه ای
   ظاهر تحریریه ای با خط طلایی، تصویر قاب دار و تایپوگرافی قوی
========================================================= */
.mlg--magazine .mlg-card {
    --mlg-card-bg-default: linear-gradient(180deg, #192938, #13212e);
    --mlg-card-border-default: rgba(126, 158, 180, 0.16);
    overflow: visible;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.mlg--magazine .mlg-card::before {
    position: absolute;
    top: -1px;
    right: 20px;
    left: 20px;
    z-index: 5;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--mlg-gold) 25%, var(--mlg-gold) 75%, transparent);
    border-radius: 999px;
}

.mlg--magazine .mlg-card__media {
    width: calc(100% - 24px);
    margin: 12px 12px 0;
    border-radius: 13px;
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.18);
}

.mlg--magazine .mlg-card__content {
    padding: 18px 20px 21px;
}

.mlg--magazine .mlg-card__category {
    position: relative;
    min-height: auto;
    padding: 0 16px 0 0;
    color: #f6c64d;
    background: transparent;
    border-radius: 0;
    font-size: 10.5px;
    letter-spacing: 0.15px;
}

.mlg--magazine .mlg-card__category::before {
    position: absolute;
    top: 50%;
    right: 0;
    width: 9px;
    height: 2px;
    content: "";
    background: var(--mlg-gold);
    border-radius: 99px;
    transform: translateY(-50%);
}

.mlg--magazine .mlg-card__title {
    font-size: 19px;
    line-height: 1.75;
}

.mlg--magazine .mlg-card__meta {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid rgba(150, 175, 193, 0.1);
}

.mlg--magazine .mlg-card__more {
    position: relative;
    padding-right: 14px;
}

.mlg--magazine .mlg-card__more::before {
    position: absolute;
    top: 50%;
    right: 0;
    width: 5px;
    height: 5px;
    content: "";
    background: currentColor;
    border-radius: 50%;
}

/* =========================================================
   قالب ۴: مینیمال خوانا
   فضای خالی بیشتر، خطوط نرم و تمرکز روی عنوان و خوانایی
========================================================= */
.mlg--minimal .mlg-card {
    --mlg-card-bg-default: rgba(18, 31, 43, 0.72);
    --mlg-card-border-default: rgba(196, 211, 221, 0.09);
    border-radius: 20px;
    box-shadow: none;
}

.mlg--minimal .mlg-card:hover {
    border-color: rgba(244, 180, 0, 0.32);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
    transform: translateY(-4px);
}

.mlg--minimal .mlg-card__media {
    width: calc(100% - 28px);
    margin: 14px 14px 0;
    border-radius: 14px;
}

.mlg--minimal .mlg-card__media::after {
    background: linear-gradient(180deg, transparent 75%, rgba(7, 15, 22, 0.15));
}

.mlg--minimal .mlg-card__content {
    padding: 17px 18px 20px;
}

.mlg--minimal .mlg-card__category {
    min-height: auto;
    margin-bottom: 10px;
    padding: 0;
    color: var(--mlg-gold);
    background: transparent;
    border-radius: 0;
    font-size: 10.5px;
}

.mlg--minimal .mlg-card__title {
    font-size: 17px;
    line-height: 1.8;
}

.mlg--minimal .mlg-card__meta {
    gap: 6px 10px;
    margin-top: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(194, 211, 221, 0.08);
}

.mlg--minimal .mlg-card__excerpt {
    margin-top: 12px;
    color: rgba(194, 207, 218, 0.78);
    -webkit-line-clamp: 2;
}

.mlg--minimal .mlg-card__more {
    font-size: 12px;
    font-weight: 750;
}

/* =========================================================
   قالب ۵: قاب دار مدرن
   قاب تکنیکی با گوشه های طلایی و لایه داخلی مرتب
========================================================= */
.mlg--outlined .mlg-card {
    --mlg-card-bg-default: linear-gradient(155deg, rgba(20, 35, 48, 0.92), rgba(12, 23, 33, 0.94));
    --mlg-card-border-default: rgba(85, 119, 142, 0.46);
    border-radius: 20px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.018),
        0 17px 38px rgba(0, 0, 0, 0.18);
}

.mlg--outlined .mlg-card::before,
.mlg--outlined .mlg-card::after {
    position: absolute;
    z-index: 6;
    width: 34px;
    height: 34px;
    content: "";
    pointer-events: none;
}

.mlg--outlined .mlg-card::before {
    top: -1px;
    right: -1px;
    border-top: 2px solid var(--mlg-gold);
    border-right: 2px solid var(--mlg-gold);
    border-radius: 0 20px 0 0;
}

.mlg--outlined .mlg-card::after {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid rgba(244, 180, 0, 0.75);
    border-left: 2px solid rgba(244, 180, 0, 0.75);
    border-radius: 0 0 0 20px;
}

.mlg--outlined .mlg-card__media {
    width: calc(100% - 18px);
    margin: 9px 9px 0;
    border: 1px solid rgba(113, 147, 169, 0.17);
    border-radius: 13px;
}

.mlg--outlined .mlg-card__content {
    padding: 18px 19px 20px;
}

.mlg--outlined .mlg-card__category {
    color: #f4c64e;
    background: rgba(244, 180, 0, 0.08);
    border: 1px solid rgba(244, 180, 0, 0.22);
}

.mlg--outlined .mlg-card__meta-item {
    padding: 2px 0;
}

.mlg--outlined .mlg-card__more {
    align-self: stretch;
    justify-content: space-between;
    margin-top: 18px;
    padding: 11px 13px;
    background: rgba(54, 81, 102, 0.18);
    border: 1px solid rgba(85, 119, 142, 0.27);
    border-radius: 11px;
}

/* =========================================================
   قالب ۶: داشبوردی فشرده
   پنل اطلاعاتی منظم با متادیتای چیپی و دکمه پایانی
========================================================= */
.mlg--dashboard .mlg-card {
    --mlg-card-bg-default: linear-gradient(145deg, #172735, #101d28);
    --mlg-card-border-default: rgba(96, 132, 155, 0.25);
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 18px;
    box-shadow: 0 16px 39px rgba(0, 0, 0, 0.2);
}

.mlg--dashboard .mlg-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(244, 180, 0, 0.85), transparent);
}

.mlg--dashboard .mlg-card__media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1200 / 630;
    border-bottom: 1px solid rgba(105, 139, 161, 0.15);
}

.mlg--dashboard .mlg-card__content {
    min-width: 0;
    padding: 16px 17px 17px;
}

.mlg--dashboard .mlg-card__category {
    min-height: 23px;
    margin-bottom: 10px;
    padding: 2px 8px;
    color: #f6c853;
    background: rgba(244, 180, 0, 0.08);
    border: 1px solid rgba(244, 180, 0, 0.2);
    font-size: 9.5px;
}

.mlg--dashboard .mlg-card__title {
    font-size: 16px;
    line-height: 1.75;
}

.mlg--dashboard .mlg-card__meta {
    gap: 6px;
    margin-top: 11px;
}

.mlg--dashboard .mlg-card__meta-item {
    min-height: 25px;
    padding: 3px 8px;
    color: #aebbc6;
    background: rgba(111, 145, 168, 0.09);
    border: 1px solid rgba(111, 145, 168, 0.12);
    border-radius: 8px;
    font-size: 9.5px;
}

.mlg--dashboard .mlg-card__meta-item:not(:last-child)::after {
    display: none;
}

.mlg--dashboard .mlg-card__avatar {
    width: 20px;
    height: 20px;
}

.mlg--dashboard .mlg-card__excerpt {
    margin-top: 11px;
    font-size: 11.5px;
    line-height: 1.85;
    -webkit-line-clamp: 2;
}

.mlg--dashboard .mlg-card__more {
    align-self: stretch;
    justify-content: space-between;
    margin-top: 15px;
    padding: 10px 12px;
    color: #f5cb60;
    background: rgba(7, 14, 20, 0.22);
    border: 1px solid rgba(105, 139, 161, 0.16);
    border-radius: 10px;
    font-size: 11.5px;
}

/* =========================================================
   فلش ها
========================================================= */
.mlg-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--mlg-text);
    background: var(--mlg-surface);
    border: 1px solid rgba(111, 143, 164, 0.25);
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.mlg-nav::before {
    width: 9px;
    height: 9px;
    content: "";
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
}

.mlg-nav--prev {
    right: -23px;
}

.mlg-nav--prev::before {
    transform: rotate(-135deg);
}

.mlg-nav--next {
    left: -23px;
}

.mlg-nav--next::before {
    transform: rotate(45deg);
}

.mlg-nav:hover {
    color: #0e1620;
    background: var(--mlg-gold);
    border-color: var(--mlg-gold);
    transform: translateY(-50%) scale(1.06);
}

.mlg-nav:focus-visible {
    outline: 2px solid var(--mlg-gold);
    outline-offset: 3px;
}

.mlg-nav:disabled {
    cursor: default;
    opacity: 0.34;
}

.mlg-nav[hidden] {
    display: none !important;
}

/* =========================================================
   صفحه بندی
========================================================= */
.mlg-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 20px;
    margin-top: 24px;
}

.mlg-dot {
    --dot-width: var(--mlg-dot-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dot-width);
    min-width: var(--dot-width);
    height: var(--mlg-dot-size);
    padding: 0;
    color: var(--mlg-muted);
    background: var(--mlg-dot-color);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease, transform 0.25s ease, color 0.25s ease;
}

.mlg-dot:hover {
    transform: scale(1.18);
}

.mlg-dot.is-active {
    width: calc(var(--mlg-dot-size) * 3.25);
    background: var(--mlg-dot-active);
}

.mlg--pagination-lines .mlg-dot {
    --dot-width: 22px;
    height: 3px;
}

.mlg--pagination-lines .mlg-dot.is-active {
    width: 42px;
}

.mlg--pagination-numbers .mlg-dot {
    --dot-width: 28px;
    height: 28px;
    color: var(--mlg-muted);
    background: rgba(112, 145, 168, 0.12);
    border: 1px solid rgba(112, 145, 168, 0.22);
    font-size: 11px;
    font-weight: 800;
}

.mlg--pagination-numbers .mlg-dot.is-active {
    width: 28px;
    color: #0e1620;
    background: var(--mlg-dot-active);
    border-color: var(--mlg-dot-active);
}

.mlg-dot:focus-visible {
    outline: 2px solid var(--mlg-gold);
    outline-offset: 3px;
}

.mlg-empty {
    padding: 24px;
    color: #b8c3cf;
    background: #111d29;
    border: 1px dashed #365166;
    border-radius: 16px;
    text-align: center;
}

@media (max-width: 1180px) {
    .mlg-nav--prev {
        right: 8px;
    }

    .mlg-nav--next {
        left: 8px;
    }
}

@media (max-width: 1024px) {
    .mlg-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 767px) {
    .mlg {
        padding: 20px 14px 18px;
        border-radius: 22px;
    }

    .mlg-heading {
        margin-bottom: 20px;
    }

    .mlg-heading__title {
        font-size: 25px;
    }

    .mlg-heading__description {
        font-size: 13.5px;
        line-height: 1.9;
    }

    .mlg-track {
        grid-template-columns: minmax(0, 1fr);
    }

    .mlg-nav {
        top: calc(50% - 12px);
        width: 40px;
        height: 40px;
    }

    .mlg-nav--prev {
        right: 3px;
    }

    .mlg-nav--next {
        left: 3px;
    }

    .mlg-pagination {
        margin-top: 18px;
    }
}

@media (max-width: 767px) {
    .mlg--overlay .mlg-card,
    .mlg--overlay .mlg-card__content {
        min-height: 420px;
    }

    .mlg--glass .mlg-card__content,
    .mlg--magazine .mlg-card__content,
    .mlg--minimal .mlg-card__content,
    .mlg--outlined .mlg-card__content {
        padding-inline: 17px;
    }

    .mlg--dashboard .mlg-card__meta-item {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mlg *,
    .mlg *::before,
    .mlg *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
