/* Motor Ladies Mazandaran v4 – IranYekan + typewriter */

@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/Iranyekan.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
    margin: 0;
    background: #07090f;
    color: #e8edf5;
    font-family: 'IranYekan', Tahoma, 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Content same color as header, 100% width */
.mlm-main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #07090f;
    color: #e8edf5;
}
.mlm-main__inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 48px 4vw 80px;
}
.mlm-content {
    width: 100%;
    max-width: 100%;
    line-height: 1.9;
    font-size: 15.5px;
    color: #cbd5e1;
}
.mlm-content h1, .mlm-content h2, .mlm-content h3 {
    color: #f8fafc;
    font-family: 'IranYekan', Tahoma, sans-serif;
}
.mlm-content img { max-width: 100%; height: auto; }
.mlm-content a { color: #fb923c; }

/* ========== Hero ========== */
.mhh {
    direction: rtl;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    color: #fff;
    font-family: 'IranYekan', Tahoma, sans-serif;
}

.mhh__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mhh__bg-base {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 78% 55%, rgba(180, 40, 20, .22) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 15% 40%, rgba(30, 60, 140, .12) 0%, transparent 55%),
        linear-gradient(165deg, #0a0d16 0%, #0c101c 45%, #07090f 100%);
}
.mhh__bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.mhh__bg-glow--r {
    width: 480px; height: 480px;
    background: rgba(225, 30, 10, .14);
    top: 10%; left: 55%;
}
.mhh__bg-glow--b {
    width: 360px; height: 360px;
    background: rgba(40, 80, 180, .1);
    bottom: 5%; right: 5%;
}
.mhh__bg-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 70% 50%, #000 10%, transparent 70%);
    opacity: .7;
}

.mhh__layout {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 16px 32px;
    padding: 40px 4vw 48px;
}

.mhh__copy {
    max-width: 640px;
    padding: 24px 0;
}

.mhh__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    color: #fca5a5;
    margin-bottom: 26px;
}
.mhh__eyebrow-line {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #ef4444, transparent);
    border-radius: 2px;
}

.mhh__title {
    margin: 0 0 12px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.4px;
}
.mhh__title > span:first-child {
    display: block;
    font-size: clamp(32px, 4.5vw, 52px);
    color: #f8fafc;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.mhh__title-em {
    display: block;
    font-size: clamp(52px, 8vw, 88px);
    background: linear-gradient(100deg, #ef4444 0%, #f97316 50%, #fdba74 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 8px 36px rgba(239, 68, 68, .4));
    line-height: 1.05;
    margin-top: 4px;
}

/* typewriter */
.mhh__type {
    min-height: 1.7em;
    margin: 0 0 28px;
    font-size: clamp(17px, 2.2vw, 22px);
    font-weight: 700;
    color: #fdba74;
    letter-spacing: .25px;
}
.mhh__type::after {
    content: '|';
    margin-right: 2px;
    color: #f97316;
    animation: mhh-caret 1s steps(1) infinite;
}

.mhh__bio { margin-bottom: 28px; }
.mhh__name {
    margin: 0 0 10px !important;
    font-size: 22px !important;
    color: #fff !important;
}
.mhh__name strong { font-weight: 900; color: #fff; }
.mhh__bio p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #94a3b8;
}
.mhh__bio em {
    font-style: normal;
    color: #fb923c;
    font-weight: 800;
}

/* Pills – credentials + contact */
.mhh__pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    max-width: 520px;
}
.mhh__pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
    line-height: 1.5;
}
.mhh__pill:hover {
    background: rgba(239, 68, 68, .1);
    border-color: rgba(239, 68, 68, .35);
    transform: translateX(-3px);
    box-shadow: 0 4px 20px rgba(239, 68, 68, .12);
}
.mhh__pill-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(239, 68, 68, .15);
    color: #fb923c;
}
.mhh__pill-icon svg {
    display: block;
}
.mhh__pill-text {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}
.mhh__pill-link {
    color: #fdba74;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .3px;
    transition: color .2s;
}
.mhh__pill-link:hover {
    color: #fb923c;
}
a.mhh__pill {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.mhh__pill .mhh__pill-text {
    color: #fdba74;
}
a.mhh__pill:hover .mhh__pill-text {
    color: #fb923c;
}

.mhh__stage {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: min(88vh, 820px);
    width: 100%;
}

.mhh__stage-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92%, 640px);
    aspect-ratio: 1;
    transform: translate(-50%, -52%);
    border-radius: 50%;
    border: 1.5px solid rgba(239, 68, 68, .32);
    box-shadow: 0 0 80px rgba(239, 68, 68, .15);
    pointer-events: none;
    animation: mhh-spin 24s linear infinite;
}
.mhh__stage-ring--2 {
    width: min(108%, 740px);
    border-color: rgba(255, 255, 255, .06);
    animation-duration: 36s;
    animation-direction: reverse;
    box-shadow: none;
}

.mhh__portraits {
    position: relative;
    z-index: 2;
    width: min(100%, 620px);
    height: 100%;
}
.mhh__portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    opacity: 0;
    transform: translateY(8px) scale(.985);
    transition: opacity .9s ease, transform .9s ease;
    filter: drop-shadow(0 32px 60px rgba(0, 0, 0, .6)) drop-shadow(0 0 40px rgba(239, 68, 68, .12));
    pointer-events: none;
}
.mhh__portrait.is-on {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.mhh__stage-floor {
    position: absolute;
    z-index: 1;
    left: 18%;
    right: 18%;
    bottom: 2%;
    height: 14%;
    background: radial-gradient(ellipse at center, rgba(239, 68, 68, .28) 0%, transparent 70%);
    filter: blur(14px);
    pointer-events: none;
}

.mhh__stage-dots {
    position: absolute;
    z-index: 3;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.mhh__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    padding: 0;
    transition: .25s;
}
.mhh__dot.is-on {
    background: #ef4444;
    width: 24px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(239, 68, 68, .5);
}

.mhh-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}
.mhh.is-on .mhh-in {
    opacity: 1;
    transform: none;
}

@keyframes mhh-spin {
    from { transform: translate(-50%, -52%) rotate(0deg); }
    to { transform: translate(-50%, -52%) rotate(360deg); }
}
@keyframes mhh-caret {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@media (max-width: 960px) {
    .mhh__layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 28px 5vw 40px;
        gap: 8px;
        text-align: center;
    }
    .mhh { min-height: auto; }
    .mhh__copy { order: 2; max-width: 100%; margin: 0 auto; }
    .mhh__stage { order: 1; height: min(62vh, 560px); }
    .mhh__portraits { width: min(100%, 520px); }
    .mhh__eyebrow { justify-content: center; }
    .mhh__pills {
        max-width: 440px;
        margin: 0 auto;
        align-items: stretch;
    }
    .mhh__pill {
        justify-content: center;
        text-align: center;
    }
    .mhh__pill:hover {
        transform: translateY(-2px);
    }
    .mhh__pill-text {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mhh__stage { height: min(56vh, 460px); }
    .mhh__title-em { font-size: 44px; }
    .mhh__title > span:first-child { font-size: 28px; }
}


/* ========== Footer ========== */
.mlm-footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #05070c;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #cbd5e1;
    font-family: 'IranYekan', Tahoma, 'Segoe UI', system-ui, sans-serif;
    direction: rtl;
}
.mlm-footer__inner {
    width: 100%;
    max-width: 100%;
    padding: 48px 4vw 0;
}
.mlm-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.2fr;
    gap: 32px 28px;
    padding-bottom: 40px;
}
.mlm-footer__brand {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 900;
    color: #f8fafc;
}
.mlm-footer__desc {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
}
.mlm-footer__ig {
    display: inline-block;
    color: #f97316;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}
.mlm-footer__ig:hover { color: #fdba74; }

.mlm-footer__h {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: .2px;
}
.mlm-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mlm-footer__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
}
.mlm-footer__link {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}
.mlm-footer__link:hover { color: #f97316; }
.mlm-footer__text {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.mlm-footer__map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    background: #0a0c12;
    min-height: 180px;
    height: 200px;
}
.mlm-footer__map iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 180px;
    border: 0 !important;
    display: block;
}
.mlm-footer__map-placeholder {
    height: 100%;
    min-height: 180px;
    display: grid;
    place-items: center;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

.mlm-footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    color: #64748b;
}
.mlm-footer__credit a {
    color: #f97316;
    font-weight: 800;
    text-decoration: none;
}
.mlm-footer__credit a:hover {
    color: #fdba74;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .mlm-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .mlm-footer__map { height: 220px; }
}
@media (max-width: 520px) {
    .mlm-footer__inner { padding: 36px 5vw 0; }
    .mlm-footer__bar {
        flex-direction: column;
        text-align: center;
    }
}


/* ========== Posts slider shortcode ========== */
.mlm-posts {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 0 56px;
    direction: rtl;
    font-family: 'IranYekan', Tahoma, 'Segoe UI', system-ui, sans-serif;
    color: #e8edf5;
    box-sizing: border-box;
    position: relative;
}
.mlm-posts *, .mlm-posts *::before, .mlm-posts *::after { box-sizing: border-box; }

.mlm-posts__toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 0 4vw;
    margin-bottom: 24px;
}
.mlm-posts__badge {
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    color: #fdba74;
    background: rgba(249, 115, 22, .12);
    border: 1px solid rgba(249, 115, 22, .28);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.mlm-posts__title {
    margin: 0;
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 900;
    color: #f8fafc;
}
.mlm-posts__arrows { display: flex; gap: 8px; }
.mlm-posts__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #e2e8f0;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .2s;
    opacity: .4;
    pointer-events: none;
}
.mlm-posts__arrow.is-on {
    opacity: 1;
    pointer-events: auto;
}
.mlm-posts__arrow.is-on:hover {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
    transform: scale(1.05);
}

.mlm-posts__viewport {
    overflow: hidden;
    width: 100%;
    padding: 0 4vw;
}
.mlm-posts__track {
    display: flex;
    gap: 22px;
    will-change: transform;
}

.mlm-posts__card {
    flex: 0 0 calc((100% - 44px) / 3);
    max-width: calc((100% - 44px) / 3);
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .22);
    backdrop-filter: blur(12px);
    transition: transform .3s ease, border-color .25s, box-shadow .3s;
}
.mlm-posts__card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, .4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .32), 0 0 28px rgba(249, 115, 22, .1);
}

.mlm-posts__media {
    display: block;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-decoration: none;
}
.mlm-posts__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,9,15,.7) 0%, transparent 50%);
}
.mlm-posts__date {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 1;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(6px);
    padding: 5px 10px;
    border-radius: 999px;
}

.mlm-posts__body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.mlm-posts__card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}
.mlm-posts__card-title a {
    color: #f8fafc;
    text-decoration: none;
}
.mlm-posts__card-title a:hover { color: #fdba74; }
.mlm-posts__excerpt {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: #94a3b8;
    flex: 1;
}
.mlm-posts__more {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 800;
    color: #f97316;
    text-decoration: none;
    margin-top: 4px;
}
.mlm-posts__more:hover { color: #fdba74; }

.mlm-posts__dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
}
.mlm-posts__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.25);
    cursor: pointer;
    padding: 0;
    transition: .25s;
}
.mlm-posts__dot.is-active {
    background: #f97316;
    width: 24px;
    border-radius: 8px;
}

.mlm-posts-empty {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
    background: rgba(255,255,255,.04);
    border-radius: 16px;
    margin: 0 4vw;
    font-family: 'IranYekan', Tahoma, sans-serif;
}

@media (max-width: 1100px) {
    .mlm-posts__card {
        flex: 0 0 calc((100% - 22px) / 2);
        max-width: calc((100% - 22px) / 2);
    }
}
@media (max-width: 700px) {
    .mlm-posts__card {
        flex: 0 0 88%;
        max-width: 88%;
    }
    .mlm-posts__media { height: 180px; }
}
