@charset "UTF-8";

/* ===== Fonts ===== */
@font-face{
    font-family: 'AppText';
    src: url('../../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'AppBold';
    src: url('../../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== Reset / Base ===== */
*, *::before, *::after { box-sizing: border-box; }

:root{
    --font-text: 'AppText', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-bold: 'AppBold', 'AppText', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --front-bg-header: #0F172A;
    --front-bg-header-soft: #111827;
    --front-text-header: #E5E7EB;
    --front-text-muted: #9CA3AF;

    --front-accent: #22C55E;
    --front-accent2: #0EA5E9;

    --front-border-soft: #1F2937;
    --front-radius-pill: 999px;
    --front-transition-fast: 0.18s ease-out;
}

html, body{
    font-family: var(--font-text);
    font-weight: 400;
    margin: 0;
    background-color: #F3F4F6;
    color: #111827;
    line-height: 1.6;
}

*{ font-family: var(--font-text); }

h1,h2,h3,h4,h5,h6,b,strong{
    font-family: var(--font-bold);
    font-weight: 700;
}

a{
    font-family: var(--font-text);
    text-decoration: none;
    color: inherit;
}

::placeholder{ font-family: var(--font-text); }

.front-main{ min-height: 60vh; }

/* ===== Containers / Sections ===== */
.front-container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.front-container-head{
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.front-section{ padding: 2rem 0; }
.front-section-alt{ background-color: #FFFFFF; }

/* ===== Header ===== */
.front-header{
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(to left, var(--front-bg-header), var(--front-bg-header-soft));
    color: var(--front-text-header);
    border-bottom: 1px solid var(--front-border-soft);
}

.front-header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
}

/* Brand */
.front-brand{
    display:flex;
    align-items:center;
    gap:.6rem;
}
.front-brand-logo{
    width:40px;
    height:40px;
    border-radius:14px;
    background: radial-gradient(circle at 30% 0, var(--front-accent), var(--front-accent2));
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    color:#020617;
    font-size:.95rem;
}
.front-brand-text{ display:flex; flex-direction:column; }
.front-brand-name{
    font-size:1.3rem;
    color:#22C55E;
    font-weight:700;
}
.front-brand-tagline{
    font-size:1rem;
    color:#FFFFFF;
    font-weight:500;
    margin-top:.5rem;
}

/* Desktop Nav */
.front-nav{
    display:flex;
    align-items:center;
    gap:1.5rem;
    font-size:.9rem;
}
.front-nav-link{
    position:relative;
    color: var(--front-text-header);
    opacity:.9;
    white-space:nowrap;
    cursor:pointer;
    transition: opacity var(--front-transition-fast), color var(--front-transition-fast);
}
.front-nav-link::after{
    content:"";
    position:absolute;
    right:0;
    bottom:-4px;
    width:0;
    height:2px;
    border-radius: var(--front-radius-pill);
    background: linear-gradient(to left, var(--front-accent), var(--front-accent2));
    transition: width var(--front-transition-fast);
}
.front-nav-link:hover{ opacity:1; }
.front-nav-link:hover::after{ width:100%; }
.front-nav-link.is-active{ opacity:1; font-weight:600; }
.front-nav-link.is-active::after{ width:100%; }

/* Header Right */
.front-header-right{
    display:flex;
    align-items:center;
    gap:.75rem;
}
.front-header-phone{
    display:flex;
    align-items:center;
    gap:.4rem;
    padding:.2rem .7rem;
    border-radius: var(--front-radius-pill);
    border: 1px solid var(--front-border-soft);
    background: rgba(15, 23, 42, 0.75);
    font-size:.8rem;
    white-space:nowrap;
}
.front-header-phone-icon{
    width:16px;
    height:16px;
    border-radius:50%;
    background: rgba(34, 197, 94, 0.15);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.75rem;
    color: var(--front-accent);
}

.front-header-actions{
    display:flex;
    align-items:center;
    gap:.5rem;
}

/* ===== Buttons ===== */
.front-btn{
    border-radius: var(--front-radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    font-size: .85rem;
    padding: .45rem 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background var(--front-transition-fast), color var(--front-transition-fast),
    border-color var(--front-transition-fast), transform var(--front-transition-fast),
    box-shadow var(--front-transition-fast);
}
.front-btn-primary{
    background: linear-gradient(135deg, var(--front-accent), var(--front-accent2));
    color: #020617;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}
.front-btn-primary:hover{
    transform: translateY(-1px);
    box-shadow: 0 16px 35px rgba(34, 197, 94, 0.6);
}
.front-btn-outline{
    background: transparent;
    color: var(--front-text-header);
    border-color: var(--front-border-soft);
}
.front-btn-outline:hover{
    background: rgba(15, 23, 42, 0.95);
    border-color: #4B5563;
}

.front-btn-small{ padding: .3rem .75rem; font-size: .8rem; }
.front-btn-chip{ padding: .25rem .8rem; font-size: .8rem; border-radius: 999px; line-height: 1.2; }

.mt-2{ margin-top: .5rem !important; }

/* ===== Mobile Menu ===== */
.front-menu-toggle{
    display:none;
    width:36px;
    height:36px;
    border-radius:999px;
    border:1px solid #374151;
    background: rgba(15, 23, 42, 0.95);
    cursor:pointer;
    align-items:center;
    justify-content:center;
}
.front-menu-toggle span,
.front-menu-toggle span::before,
.front-menu-toggle span::after{
    display:block;
    width:18px;
    height:2px;
    border-radius:999px;
    background:#E5E7EB;
    position:relative;
    transition: transform .2s ease-out, opacity .2s ease-out;
}
.front-menu-toggle span::before,
.front-menu-toggle span::after{
    content:"";
    position:absolute;
    right:0;
}
.front-menu-toggle span::before{ transform: translateY(-6px); }
.front-menu-toggle span::after{ transform: translateY(6px); }

.front-menu-toggle.is-open span{ transform: rotate(45deg); }
.front-menu-toggle.is-open span::before{ transform: rotate(-90deg); }
.front-menu-toggle.is-open span::after{ opacity:0; }

.front-nav-mobile{
    position:fixed;
    top:0; bottom:0;
    right:-280px;
    width:260px;
    padding:4rem 1rem 1rem;
    background:#020617;
    box-shadow:-12px 0 30px rgba(15, 23, 42, 0.6);
    display:flex;
    flex-direction:column;
    gap:.9rem;
    font-size:.95rem;
    z-index:1100;
    opacity:0;
    transition: right .25s ease-out, opacity .25s ease-out;
}
.front-nav-mobile.is-open{ right:0; opacity:1; }

.front-nav-mobile-backdrop{
    position:fixed;
    inset:0;
    background: rgba(15, 23, 42, 0.6);
    z-index:1000;
    opacity:0;
    pointer-events:none;
    transition: opacity .2s ease-out;
}
.front-nav-mobile-backdrop.is-open{
    opacity:1;
    pointer-events:auto;
}
body.front-nav-mobile-open{ overflow:hidden; }

.front-nav-mobile-extra{ display:flex; flex-direction:column; gap:.5rem; margin-top:.4rem; }
.front-nav-mobile-actions{ display:flex; flex-direction:column; gap:.4rem; }

@media (min-width: 1025px){
    .front-nav-mobile,
    .front-nav-mobile-backdrop{ display:none !important; }
}

@media (max-width: 1024px){
    .front-header-inner{ padding: .55rem 0; }
    .front-nav, .front-header-phone, .front-header-actions{ display:none; }
    .front-menu-toggle{ display:inline-flex; }
}

/* ===== Modal Auth ===== */
.front-modal{
    position:fixed;
    inset:0;
    z-index:1000;
    display:none;
    align-items:center;
    justify-content:center;
}
.front-modal.is-open{ display:flex; }

.front-modal-backdrop{
    position:absolute;
    inset:0;
    background: rgba(15, 23, 42, 0.65);
}
.front-modal-dialog{
    position:relative;
    z-index:10;
    width:100%;
    max-width:420px;
    margin:0 1rem;
    background:#FFFFFF;
    border-radius:16px;
    box-shadow:0 24px 60px rgba(15, 23, 42, 0.45);
    display:flex;
    flex-direction:column;
    max-height:90vh;
}
.front-modal-header{
    padding:.9rem 1.1rem;
    border-bottom:1px solid #E5E7EB;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.75rem;
}
.front-modal-title{
    margin:0;
    font-size:1rem;
    font-weight:600;
    color:#111827;
}
.front-modal-close{
    border:none;
    background:transparent;
    cursor:pointer;
    font-size:1rem;
    line-height:1;
    color:#6B7280;
    padding:.2rem;
}
.front-modal-close:hover{ color:#111827; }
.front-modal-body{
    padding:.9rem 1.1rem 1.1rem;
    overflow-y:auto;
}

/* Tabs */
.front-tabs{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    background:#F3F4F6;
    padding:.15rem;
    margin-bottom:.9rem;
}
.front-tab{
    border:none;
    background:transparent;
    cursor:pointer;
    padding:.35rem .9rem;
    border-radius:999px;
    font-size:.85rem;
    color:#6B7280;
    transition: background .15s ease-out, color .15s ease-out;
    white-space:nowrap;
}
.front-tab.is-active{
    background:#FFFFFF;
    color:#111827;
    box-shadow:0 0 0 1px #E5E7EB;
}
.front-tab-panel{ display:none; }
.front-tab-panel.is-active{ display:block; }

/* Forms */
.front-form{ display:flex; flex-direction:column; gap:.75rem; }
.front-form-row{ display:flex; flex-direction:column; gap:.25rem; }
.front-label{ font-size:.85rem; color:#374151; }
.front-input{
    border-radius:10px;
    border:1px solid #D1D5DB;
    padding:.45rem .7rem;
    font-size:.9rem;
    outline:none;
    transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.front-input:focus{
    border-color:#22C55E;
    box-shadow:0 0 0 1px rgba(34, 197, 94, 0.3);
}
.front-help{ font-size:.78rem; color:#6B7280; margin:0; }
.front-btn-block{ width:100%; justify-content:center; }
.is-hidden{ display:none !important; }

/* ===== Footer ===== */
.front-footer{
    margin-top:2rem;
    background:#020617;
    color:#9CA3AF;
    border-top:1px solid #111827;
    font-size:.85rem;
}
.front-footer-inner{
    padding:1.5rem 0 1rem;
    display:flex;
    flex-direction:column;
    gap:1.5rem;
}
.front-footer-brand{ max-width:360px; }
.front-footer-desc{
    margin-top:.75rem;
    margin-bottom:0;
    font-size:.9rem;
    color:#FFFFFF;
}
.front-footer-links{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:1.25rem;
}
.front-footer-title{
    margin:0 0 .6rem;
    font-size:.9rem;
    font-weight:600;
    color:#22C55E;
}
.front-footer-link{
    display:block;
    margin-bottom:.25rem;
    color:#E5E7EB;
    font-size:.82rem;
    transition: color .15s ease-out;
}
.front-footer-link:hover{ color:#a5ffde; }

.front-footer-bottom{
    border-top:1px solid #111827;
    padding:.75rem 0 1rem;
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
    justify-content:space-between;
    align-items:center;
    font-size:.9rem;
    color:#FFFFFF;
}

@media (min-width: 768px){
    .front-footer-inner{
        flex-direction:row;
        justify-content:space-between;
        align-items:flex-start;
    }
}
@media (max-width: 768px){
    .front-footer-links{
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}
@media (max-width: 480px){
    .front-footer-links{
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== Float Ads (used in layouts/app.blade.php) ===== */
.front-float-ad{
    position: fixed;
    bottom: 16px;
    z-index: 1100;
    width: 200px;
    max-width: calc(50% - 24px);
    padding: 6px;
    border-radius: 16px;
    background: #F9FAFB;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    animation: front-float-ad-in 0.25s ease-out;
}
.front-float-ad--right{ right: 16px; }
.front-float-ad--left{ left: 16px; }

.front-float-ad-img{
    display: block;
    width: 100%;
    border-radius: 12px;
}
.front-float-ad-close{
    align-self: flex-start;
    border: none;
    background: #FFFFFF;
    border-radius: 999px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
    margin-bottom: 2px;
}
.front-float-ad-close:hover{ background: #F3F4F6; }

@keyframes front-float-ad-in{
    from{ opacity:0; transform: translateY(12px); }
    to{ opacity:1; transform: translateY(0); }
}

.front-float-ad-title{
    font-size: .85rem;
    font-weight: 600;
    color: #111827;
    margin-top: 4px;
}
.front-float-ad-text{
    font-size: .78rem;
    color: #4B5563;
    margin-top: 2px;
}
.front-float-ad-cta{
    margin-top: 4px;
    width: 100%;
    justify-content: center;
}

/* در موبایل تبلیغ‌های شناور را خاموش کن (اختیاری) */
@media (max-width: 1100px){
    .front-float-ad{ display:none; }
}
/* ===== Show Page Layout ===== */
.front-news-grid{
    display:grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 280px) minmax(0, 260px);
    gap:1rem;
    align-items:flex-start;
}

/* ===== Head ===== */
.front-news-article-head{
    max-width: 820px;
    margin: 0 auto;
    text-align: right;
}
.front-news-article-title{
    font-size: 1.4rem;
    line-height: 1.8;
    margin: 0 0 .6rem;
}
.front-news-article-meta{
    display:flex;
    flex-wrap:wrap;
    gap:.4rem;
    font-size:.82rem;
    color:#6b7280;
}
.front-news-article-meta-item a{
    color:#0ea5e9;
    text-decoration:none;
}
.front-news-article-meta-item a:hover{ text-decoration:underline; }
.front-news-article-meta-sep{ color:#d1d5db; }

/* ===== Right Column (Article) ===== */
.front-news-right{
    display:flex;
    flex-direction:column;
    gap:1rem;
}

/* Share */
.front-news-article-share{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.4rem;
    margin-bottom:.9rem;
}
.front-news-article-share-label{
    font-size:.8rem;
    color:#6b7280;
}
.front-news-article-share-btn{
    border:1px solid #e5e7eb;
    background:#f9fafb;
    border-radius:999px;
    padding:.2rem .7rem;
    font-size:.78rem;
    cursor:pointer;
    text-decoration:none;
    color:#111827;
}
.front-news-article-share-btn:hover{ background:#e5f9ff; }

/* Body (robust) */
.front-news-article-body{
    direction: rtl;
    unicode-bidi: plaintext;
    color: #1f2937;
    font-size: 15px;
    line-height: 2.05;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.front-news-article-body > *{ margin:0 0 14px; }
.front-news-article-body > *:last-child{ margin-bottom:0; }
.front-news-article-body p{ margin:0 0 14px; }
.front-news-article-body strong{ font-weight:700; }
.front-news-article-body em{ font-style:italic; }

.front-news-article-body ul,
.front-news-article-body ol{
    padding:0 22px 0 0;
    margin:0 0 14px;
}
.front-news-article-body li{ margin:6px 0; }
.front-news-article-body ol{ list-style: decimal; }
.front-news-article-body ul{ list-style: disc; }

.front-news-article-body img,
.front-news-article-body video{
    max-width:100%;
    height:auto;
    display:block;
    border-radius:14px;
}
.front-news-article-body picture{
    display:block;
    max-width:100%;
}
.front-news-article-body picture img{
    width:100%;
    height:auto;
    display:block;
}
.front-news-article-body iframe{
    width:100% !important;
    max-width:100%;
    border:0;
    display:block;
    border-radius:14px;
    aspect-ratio:16/9;
    height:auto;
}
.front-news-article-body p video{
    width:100% !important;
    max-width:100%;
    border:0;
    display:block;
    border-radius:14px;
    aspect-ratio:16/9;
    height:auto;
}
.front-news-article-body *{ max-width:100%; }
.front-news-article-body img{ width:100%; }

/* Tags */
.front-news-article-tags{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.35rem;
    margin-top:.4rem;
}
.front-news-article-tags-label{
    font-size:.8rem;
    color:#6b7280;
}
.front-news-article-tag{
    font-size:.78rem;
    padding:.15rem .6rem;
    border-radius:999px;
    background:#f3f4f6;
    color:#374151;
    text-decoration:none;
}

/* Related */
.front-news-article-related{
    margin-top:1.1rem;
    padding-top:.9rem;
    border-top:1px solid #f3f4f6;
}
.front-news-article-related-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.75rem;
    margin-bottom:.7rem;
}
.front-news-article-related-title{
    font-size:.95rem;
    font-weight:600;
    margin:0;
}
.front-news-article-related-more{
    font-size:.8rem;
    color:#0ea5e9;
    text-decoration:none;
    white-space:nowrap;
}
.front-news-article-related-more:hover{ text-decoration:underline; }

.front-news-article-related-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:.8rem;
}
.front-news-article-related-card{
    background:#f9fafb;
    border-radius:12px;
    border:1px solid #e5e7eb;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    height:100%;
}
.front-news-article-related-image-wrap{ display:block; overflow:hidden; }
.front-news-article-related-image{
    width:100%;
    height:140px;
    object-fit:cover;
    display:block;
    transition:transform .25s ease;
}
.front-news-article-related-card:hover .front-news-article-related-image{
    transform: scale(1.03);
}
.front-news-article-related-body{
    padding:.6rem .7rem .7rem;
    display:flex;
    flex-direction:column;
    height:100%;
}
.front-news-article-related-card-title{
    font-size:.85rem;
    margin:0 0 .4rem;
    line-height:1.7;
}
.front-news-article-related-card-title a{
    color:#111827;
    text-decoration:none;
}
.front-news-article-related-card-title a:hover{ color:#0ea5e9; }
.front-news-article-related-excerpt{
    font-size:.78rem;
    color:#4b5563;
    line-height:1.8;
    margin:0 0 .5rem;
    flex:1 1 auto;
}
.front-news-article-related-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.5rem;
}
.front-news-article-related-meta{
    font-size:.75rem;
    color:#9ca3af;
}
.front-news-article-related-btn{
    font-size:.78rem;
    padding:.2rem .7rem;
    border-radius:999px;
    background: linear-gradient(to left, #22c55e, #0ea5e9);
    color:#fff;
    text-decoration:none;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}

/* ===== Middle Column ===== */
.front-news-middle{
    display:flex;
    flex-direction:column;
    gap:.7rem;
}
.front-news-compact-group{
    background:#fff;
    border-radius:12px;
    border:1px solid #e5e7eb;
    overflow:hidden;
}
.front-news-compact-group-header{
    padding:.55rem .9rem;
    font-size:.83rem;
    font-weight:600;
    color:#111827;
    background:#f9fafb;
    border-bottom:1px solid #f3f4f6;
}
.front-news-compact-list{ list-style:none; margin:0; padding:0; }
.front-news-compact-item{
    padding:.6rem .9rem .4rem;
    font-size:.9rem;
    border-bottom:1px solid #f3f4f6;
}
.front-news-compact-item:last-child{ border-bottom:none; }
.front-news-compact-item a{
    color:#111827;
    text-decoration:none;
}
.front-news-compact-item a:hover{ color:#0ea5e9; }
.front-news-compact-meta{
    display:block;
    margin-top:.2rem;
    font-size:.76rem;
    color:#9ca3af;
}

/* ===== Ads Column ===== */
.front-news-ads{
    display:flex;
    flex-direction:column;
    gap:.7rem;
}
.front-news-ad-box{
    background:#fff;
    border-radius:12px;
    border:1px solid #e5e7eb;
    min-height:100px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.8rem;
    color:#6b7280;
}
.front-news-sidebar-box{
    background:#fff;
    border-radius:12px;
    border:1px solid #e5e7eb;
    padding:.75rem .9rem;
}
.front-news-sidebar-title{
    font-size:.85rem;
    font-weight:600;
    color:#111827;
    margin-bottom:.6rem;
}
.front-news-sidebar-list{ list-style:none; margin:0; padding:0; }
.front-news-sidebar-list li{ margin-bottom:.35rem; font-size:.8rem; }
.front-news-sidebar-list li:last-child{ margin-bottom:0; }
.front-news-sidebar-list a{
    color:#374151;
    text-decoration:none;
    line-height:1.7;
}
.front-news-sidebar-list a:hover{ color:#0ea5e9; }

.front-news-sidebar-links{
    display:flex;
    flex-wrap:wrap;
    gap:.4rem;
}
.front-news-sidebar-links .front-btn{
    padding:.25rem .75rem;
    font-size:.78rem;
    box-shadow:none;
    min-width:0;
    white-space:nowrap;
}

/* ===== Bottom Ads ===== */
.front-news-bottom-ads{
    padding-top:.5rem;
    padding-bottom:1.8rem;
}
.front-news-bottom-ads-grid{
    display:grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap:.75rem;
}
.front-news-bottom-ad{
    display:block;
    overflow:hidden;
    border-radius:12px;
    background:#f3f4f6;
}
.front-news-bottom-ad img{
    width:100%;
    height:90px;
    object-fit:cover;
    display:block;
    border-radius:inherit;
    transition: transform .25s ease, box-shadow .25s ease;
}
.front-news-bottom-ad:hover img{
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.18);
}

/* ===== Responsive ===== */
@media (max-width: 1024px){
    .front-news-grid{
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 260px);
        gap:.8rem;
    }
    .front-news-article-related-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .front-news-bottom-ads-grid{
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px){
    .front-news-grid{ grid-template-columns: minmax(0, 1fr); }
    .front-news-right{ order:1; }
    .front-news-middle{ order:2; }
    .front-news-ads{ order:3; }

    .front-news-bottom-ads-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px){
    .front-news-article-related-grid{
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px){
    .front-news-bottom-ads-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.front-footer-contact-item {
    margin-bottom: 0.25rem;
    font-size: 0.82rem;
    margin-top: 0.5rem;
    color: #aeaeae;
}
.front-footer-contact-item span a{
    color: #f8f8f8;
}
.front-news-article-meta { color: #374151; }
.front-news-article-meta-item { color: #374151; }

.front-news-article-meta-item a,
.front-news-article-related-more,
.front-news-compact-item a:hover {
    color: #075985; /* تیره‌تر از آبی قبلی */
}

.front-news-article-related-meta,
.front-news-compact-meta {
    color: #4b5563;
}
