/* Morshed footer (3 rows: links / brand / credits+status) — token-driven, themes with .dark. */
.footer{display:none !important;} /* hide old Webflow footer on static pages */

.mrsh-footer{direction:rtl;width:100%;background:var(--background);border-top:1px solid var(--border);font-family:var(--font-sans);}
.mrsh-footer-in{max-width:1280px;margin:0 auto;padding:0 24px;}
@media(min-width:768px){.mrsh-footer-in{padding:0 32px;}}

/* Row 1 — link columns */
.mrsh-f-links{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;padding:40px 0;border-bottom:1px solid var(--border);}
@media(min-width:900px){.mrsh-f-links{grid-template-columns:repeat(4,1fr);}}
.mrsh-f-col{display:flex;flex-direction:column;gap:10px;}
.mrsh-f-col h3{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--foreground);margin:0 0 4px;}
.mrsh-dot{width:8px;height:8px;border-radius:999px;background:var(--c,#8B5CF6);flex:none;}
.mrsh-f-col a{font-size:14px;color:var(--muted-foreground);text-decoration:none;transition:color .2s;}
.mrsh-f-col a:hover{color:var(--foreground);}
.mrsh-f-status{display:inline-flex;align-items:center;gap:6px;}
.mrsh-pulse{width:6px;height:6px;border-radius:999px;background:var(--primary,#FF7A00);animation:mrshPulse 2s ease-in-out infinite;flex:none;display:inline-block;}
@keyframes mrshPulse{0%,100%{opacity:1}50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.mrsh-pulse{animation:none;}}

/* Row 2 — brand strip */
.mrsh-f-brand{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 20px;padding:24px 0;font-size:14px;color:var(--muted-foreground);text-align:center;}
@media(min-width:768px){.mrsh-f-brand{justify-content:flex-start;text-align:right;}}
.mrsh-f-logo{display:inline-flex;align-items:center;color:var(--foreground);text-decoration:none;}
.mrsh-f-logo svg{height:26px;width:auto;display:block;}
.mrsh-f-tag{font-size:13px;}
.mrsh-f-sp{flex:1;display:none;}
@media(min-width:768px){.mrsh-f-sp{display:block;}}
.mrsh-f-type{margin:0;color:var(--foreground);font-weight:500;line-height:1.9;}
#mrsh-type{color:#FF7A00;}
#mrsh-type::after{content:"|";margin-inline-start:2px;opacity:.6;animation:mrshBlink 1s steps(1) infinite;}
@keyframes mrshBlink{50%{opacity:0}}
.mrsh-f-brand>a{color:var(--muted-foreground);text-decoration:none;transition:color .2s;}
.mrsh-f-brand>a:hover{color:var(--foreground);}
.mrsh-f-dotsep{width:5px;height:5px;border-radius:999px;background:var(--border);display:none;flex:none;}
@media(min-width:768px){.mrsh-f-dotsep{display:inline-block;}}
.mrsh-f-social{display:flex;align-items:center;gap:8px;}
.mrsh-f-social a{width:32px;height:32px;border-radius:999px;border:1px solid var(--border);display:inline-flex;align-items:center;justify-content:center;color:var(--muted-foreground);transition:color .2s,border-color .2s;}
.mrsh-f-social a:hover{color:var(--foreground);border-color:var(--muted-foreground);}
.mrsh-f-social svg{width:16px;height:16px;}

/* Row 3 — credits + status */
.mrsh-f-bottom{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:10px;padding:14px 0 18px;border-top:1px solid var(--border);}
@media(min-width:768px){.mrsh-f-bottom{flex-direction:row;}}
.mrsh-f-credits{font-size:13px;color:var(--muted-foreground);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px;}
.mrsh-f-credits a{color:var(--muted-foreground);text-decoration:none;transition:color .2s;}
.mrsh-f-credits a:hover{color:var(--foreground);}
.mrsh-heart{width:13px;height:13px;color:#ef4444;flex:none;}
.mrsh-iran{display:inline-flex;flex-direction:column;gap:1px;vertical-align:middle;}
.mrsh-iran i{display:block;width:12px;height:3px;border-radius:999px;}
.mrsh-f-statusrow{direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;color:var(--muted-foreground);display:flex;align-items:center;gap:8px;}
.mrsh-f-statusrow a{color:var(--muted-foreground);text-decoration:none;display:inline-flex;align-items:center;gap:6px;transition:color .2s;}
.mrsh-f-statusrow a:hover{color:var(--foreground);}
