﻿
:root {
    --primary-color: #ff5722;
    --secondary-color: #ff8a65;
    --accent-color: #e64a19;
    --light-color: #fbe9e7;
    --dark-color: #2c3e50;
    --gray-color: #95a5a6;
    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f8f9fa;
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* منوی جدید - وسط‌چین و نارنجی */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    height: 60px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: absolute;
    right: 15px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* فلش برای منوهای دارای زیرمنو */
.nav-item:has(.dropdown-menu) > .nav-link::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 15px;
        left: 15px;
        height: 3px;
        background-color: var(--primary-color);
    }

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid var(--primary-color);
}

    .dropdown-menu li {
        border-bottom: 1px solid #f0f0f0;
        text-decoration:none;
    }

        .dropdown-menu li:last-child {
            border-bottom: none;
        }

    .dropdown-menu .nav-link {
        padding: 12px 20px;
        white-space: nowrap;
    }

        .dropdown-menu .nav-link:hover {
            background-color: var(--light-color);
            color: var(--primary-color);
        }

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* انیمیشن فلش هنگام هاور */
.nav-item:hover > .nav-link::after {
    transform: rotate(180deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 21px;
    justify-content: space-between;
    position: absolute;
    left: 15px;
}

    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--dark-color);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

/* استایل‌های رسپانسیو برای منو */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        justify-content: space-between;
    }

    .nav-logo {
        position: static;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background-color: white;
        flex-direction: column;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
        padding-top: 20px;
        justify-content: flex-start;
    }

        .nav-menu.active {
            right: 0;
        }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        justify-content: space-between;
    }

    /* فلش برای موبایل */
    .nav-item:has(.dropdown-menu) > .nav-link::after {
        content: '\f107';
        transform: none;
    }

    .nav-item.active > .nav-link::after {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--light-color);
        display: none;
        width: 100%;
        border-top: none;
        border-right: 3px solid var(--primary-color);
    }

        .dropdown-menu.active {
            display: block;
        }

        .dropdown-menu .nav-link {
            padding-right: 40px;
        }

    .nav-link.active::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .nav-menu {
        width: 100%;
    }
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 15px;
    background-color: #f1f1f1;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 15px;
    width: 400px;
}

    .search-box input {
        border: none;
        outline: none;
        padding: 5px;
        width: 100%;
        font-size: 14px;
    }

    .search-box button {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--gray-color);
        font-size: 16px;
    }

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--light-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
}

    .tag:hover {
        background: var(--primary-color);
        color: white;
    }

.logo {
    height: 40px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-weight: bold;
    font-size: 18px;
}

/* Main Content */
.main-content {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .sidebar-item i {
        margin-left: 10px;
        color: var(--primary-color);
    }

    .sidebar-item:hover {
        background: var(--light-color);
        color: var(--primary-color);
        padding-right: 10px;
    }

.ad-banner {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    position: relative;
}

    .ad-banner img {
        max-width: 100%;
        border-radius: 8px;
    }

.ad-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
}

/* Main Area */
.main-area {
    flex: 1;
}

.banner {
    width: 100%;
    height: 150px;
    background: #fd8c0a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

    .banner img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.section-title {
    display: flex;
    align-items: center;
    margin: 30px 0 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--primary-color);
}

    .section-title::before {
        content: '';
        width: 20px;
        height: 2px;
        background: var(--primary-color);
        margin-right: 10px;
    }

    .section-title h2 {
        font-size: 18px;
        font-weight: 600;
        color: var(--dark-color);
    }

/* Grid Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(255, 87, 34, 0.2);
        border-color: var(--secondary-color);
    }

.card-img {
    height: 180px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

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

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--dark-color);
}

    .card-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .card-title a:hover {
            color: var(--primary-color);
        }

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray-color);
}

    .card-meta span {
        display: flex;
        align-items: center;
    }

    .card-meta i {
        margin-left: 5px;
        font-size: 14px;
    }

.author {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-color);
    margin-left: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
}

.author-name {
    font-size: 12px;
    color: var(--gray-color);
}

/* Video Section */
.video-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.main-video {
    flex: 2;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.video-player {
    height: 400px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 87, 34, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .play-btn:hover {
        background: var(--primary-color);
        transform: scale(1.1);
    }

    .play-btn i {
        color: white;
        font-size: 24px;
    }

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark-color);
}

.video-desc {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s ease;
}

    .video-link:hover {
        color: var(--accent-color);
    }

.related-videos {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.video-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

    .video-item:hover {
        background: var(--light-color);
        padding-right: 10px;
    }

.video-thumb {
    width: 80px;
    height: 60px;
    background: #ddd;
    border-radius: 5px;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
}

    .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.video-play {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.video-details {
    flex: 1;
}

    .video-details h3 {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 5px;
        line-height: 1.4;
        color: var(--dark-color);
    }

.video-duration {
    font-size: 12px;
    color: var(--gray-color);
}

.more-btn {
    background: var(--light-color);
    border: 1px solid var(--secondary-color);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

    .more-btn:hover {
        background: var(--primary-color);
        color: white;
    }

    .more-btn i {
        margin-left: 5px;
    }

/* Ad Blocks */
.ad-block {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.ad-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .ad-header h3 {
        font-size: 16px;
        font-weight: 600;
        color: var(--dark-color);
    }

.ad-logo {
    height: 20px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 5px;
    font-size: 12px;
}

.ad-content {
    background: linear-gradient(45deg, var(--dark-color), #455a64);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

    .ad-content p {
        font-size: 14px;
        margin-bottom: 10px;
    }

.ad-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .ad-btn:hover {
        background: var(--accent-color);
        transform: translateY(-2px);
    }

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

    .footer-col h3 {
        font-size: 16px;
        margin-bottom: 15px;
        position: relative;
        padding-bottom: 10px;
        color: white;
    }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background: var(--primary-color);
        }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #bbb;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--primary-color);
        }

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 87, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 87, 34, 0.3);
}

    .social-icon:hover {
        background: var(--primary-color);
        transform: translateY(-3px);
    }

.copyright {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: #aaa;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .video-section {
        flex-direction: column;
    }

    .main-video {
        flex: 1;
    }

    .related-videos {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
    }

    .search-box {
        width: 100%;
    }

    .tags {
        justify-content: center;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .video-player {
        height: 250px;
    }

    .video-title {
        font-size: 18px;
    }

    .video-desc {
        font-size: 13px;
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .video-section {
        gap: 10px;
    }

    .video-player {
        height: 200px;
    }

    .video-title {
        font-size: 16px;
    }

    .card-title {
        font-size: 14px;
    }

    .card-meta {
        font-size: 11px;
    }

    .author-name {
        font-size: 11px;
    }

    .footer-col {
        min-width: 100%;
    }
}

/* Custom Styles for Specific Elements */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: var(--accent-color);
        transform: translateY(-2px);
    }

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .btn-outline:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }

.view-more {
    display: block;
    text-align: center;
    margin: 20px 0;
    padding: 10px 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .view-more:hover {
        background: var(--primary-color);
        color: white;
    }

.category-badge {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 5px;
    border: 1px solid var(--secondary-color);
}

.date-badge {
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--gray-color);
}

.comment-count {
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
}

    .comment-count i {
        margin-left: 5px;
    }

.featured {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.highlight {
    background: var(--light-color);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-right: 4px solid var(--primary-color);
}

    .highlight p {
        font-size: 14px;
        line-height: 1.6;
    }

    .highlight strong {
        color: var(--accent-color);
    }

/* Loading Skeleton */
.skeleton {
    background: #f1f1f1;
    border-radius: 8px;
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.skeleton-text {
    height: 15px;
    margin: 10px 0;
    width: 80%;
}

.skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 10px;
}

.skeleton-image {
    height: 180px;
    width: 100%;
    margin-bottom: 10px;
}

.skeleton-author {
    height: 30px;
    width: 80px;
    border-radius: 50%;
    margin-top: 10px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

    .scroll-to-top.active {
        opacity: 1;
        pointer-events: auto;
    }

    .scroll-to-top:hover {
        background: var(--accent-color);
        transform: translateY(-3px);
    }

/* Notification Badge */
.notification-badge {
    position: relative;
}

.notification-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

/* Menu Toggle for Mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}

.mlf-news-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 25px;
    background: #f8f8f8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mlf-section-header {
    color: #333;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

    .mlf-section-header::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: -1px;
        width: 220px;
        height: 4px;
        background: #ff6600; /* نارنجی */
    }

.mlf-layout-container {
    display: grid;
    grid-template-columns: 3fr 2fr; /* کوچیک‌ها سمت چپ، بزرگ سمت راست */
    gap: 25px;

}

/* مربع بزرگ سمت راست */
.mlf-main-feature {
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.mlf-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.mlf-main-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(230, 92, 0, 0.9) 0%, rgba(255, 102, 0, 0.6) 50%, rgba(255, 102, 0, 0.3) 100%);
    z-index: 2;
}

.mlf-main-text {
    position: relative;
    z-index: 3;
    padding: 35px;
}

.mlf-feature-title {
    font-size: 25px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 18px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.mlf-feature-desc {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
}

.mlf-timestamp {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.4);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

/* 4 مربع کوچک سمت چپ به صورت 2×2 */
.mlf-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

/* استایل مشترک مربع‌های کوچک */
.mlf-news-box {
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .mlf-news-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

.mlf-small-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.mlf-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 102, 0, 0.9) 0%, rgba(255, 140, 0, 0.6) 50%, rgba(255, 153, 51, 0.3) 100%);
    z-index: 2;
}

.mlf-box-content {
    color: white;
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 20px;
}

.mlf-news-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    line-height: 1.3;
}

.mlf-news-time {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.95;
}

/* برچسب دسته‌بندی */
.mlf-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 4px;
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* رسپانسیو */
@media (max-width: 992px) {
    .mlf-layout-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .mlf-main-feature {
        height: 400px;
    }

    .mlf-small-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
    }

    .mlf-section-header::after {
        right: 0;
        width: 150px;
    }
}

@media (max-width: 768px) {
    .mlf-feature-title {
        font-size: 26px;
    }

    .mlf-section-header {
        font-size: 28px;
    }

    .mlf-news-title {
        font-size: 16px;
    }

    .mlf-main-feature {
        height: 350px;
    }
}