/*
Theme Name: نوآوران وب فنانوین
Description: پوسته فیزیوتراپی فنانوین 
Author: حسین قره خانی
Author URI: https://fananovin.ir
Version: 2.0
*/
@font-face{font-family:Yekan Bakh;font-style:normal;font-weight:400;font-display:swap;src:url(fonts/YekanBakhFaNum-SemiBold.woff) format("woff"),url(fonts/YekanBakhFaNum-SemiBold.woff2) format("woff2")}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Yekan Bakh;
            background-color: #f8fafc;
            color: #0f2b3d;
            line-height: 1.5;
            scroll-behavior: smooth;
        }

        :root {
            --blue-dark: #0a2b4e;
            --orange-dark: #e65c1e;
            --white: #ffffff;
            --gray-light: #f1f5f9;
            --gray-mid: #cbd5e1;
            --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
            --shadow-md: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
        }
		a {text-decoration: none;}
        .container {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 24px;
        }

         /* ========== دکمه همبرگری (فقط در موبایل) ========== */
        .new-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 32px;
            font-weight: bold;
            color: #707070;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .new-menu-toggle:hover {
            background: rgba(26, 115, 232, 0.1);
        }

        /* ========== هدر جدید ========== */
        .new-header {
            background: #ffffff;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
            padding: 12px 0;
            position: sticky;
            top: 0;
            z-index: 998;
        }

        .new-container {
            max-width: 1120px;
            margin: 0 auto;
            padding: 0 30px;
        }

        .new-header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        /* بخش سمت راست - نام کلینیک و توضیح */
        .new-brand {
            display: flex;
            align-items: center;
        }

        .new-brand h1 {
            font-size: 20px;
            color: #00075d;
            margin: 0;
            line-height: 1.3;
        }

        .new-brand span {
            font-size: 12px;
            color: #5a6e82;
            margin-top: 4px;
        }

        /* بخش وسط - منوی اصلی دسکتاپ */
        .new-main-nav {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .new-nav-menu {
            display: flex;
            list-style: none;
            gap: 35px;
            margin: 0;
            padding: 0;
        }

        .new-nav-menu li a {
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            color: #2c3e50;
            padding: 8px 0;
            transition: all 0.3s ease;
            position: relative;
        }

        .new-nav-menu li a:hover {
            color: #00075d;
        }

        .new-nav-menu li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 2px;
            background: #00075d;
            transition: width 0.3s ease;
        }

        .new-nav-menu li a:hover::after {
            width: 100%;
        }

        /* دکمه درخواست نوبت */
        .new-btn-appointment {
            background:#00075d;
            color: white;
            padding: 5px 20px;
            border-radius: 40px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .new-btn-appointment:hover {
            background: #1557b0;
            box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
        }

        /* ========== منوی موبایل (بازشونده از راست) ========== */
        .new-mobile-nav {
            position: fixed;
            top: 0;
            right: -320px;
            width: 300px;
            height: 100vh;
            background: linear-gradient(145deg, #ffffff 0%, #f8fafd 100%);
            box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
            transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1002;
            overflow-y: auto;
            padding: 0;
        }

        .new-mobile-nav.active {
            right: 0;
        }

        /* هدر داخل منو موبایل */
        .mobile-nav-header {
            background: linear-gradient(135deg, #1A73E8, #0d5bb5);
            padding: 30px 20px;
            text-align: center;
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }

        .mobile-nav-header h3 {
            color: white;
            font-size: 18px;
            margin-bottom: 5px;
        }

        .mobile-nav-header p {
            color: rgba(255,255,255,0.8);
            font-size: 11px;
        }

        /* دکمه بستن منو */
        .new-menu-close {
            position: absolute;
            top: 13px;
            left: 15px;
            background: rgba(255,255,255,0.2);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .new-menu-close:hover {
            background: rgba(255,255,255,0.3);
            transform: rotate(90deg);
        }

        /* لیست منو در موبایل */
        .new-mobile-menu-list {
            list-style: none;
            padding: 20px;
            margin: 0;
        }

        .new-mobile-menu-list li {
            margin-bottom: 5px;
            border-bottom: 1px solid #eef2f7;
        }

        .new-mobile-menu-list li:last-child {
            border-bottom: none;
        }

        .new-mobile-menu-list li a {
            display: block;
            padding: 14px 16px;
            font-size: 16px;
            font-weight: 500;
            color: #2c3e50;
            text-decoration: none;
            transition: all 0.2s ease;
            border-radius: 12px;
        }

        .new-mobile-menu-list li a:hover {
            background: #e8f0fe;
            color: #1A73E8;
            padding-right: 22px;
        }

        /* اوورلی */
        .new-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 1001;
            backdrop-filter: blur(3px);
        }

        .new-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* قفل اسکرول */
        body.new-menu-open {
            overflow: hidden;
        }

        /* ========== محتوای نمونه ========== */
        .sample-content {
            padding: 60px 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .sample-content h2 {
            color: #2c3e50;
            margin-bottom: 20px;
        }

        .sample-content p {
            color: #5a6e82;
            line-height: 1.8;
            margin-bottom: 15px;
        }
.btn-appointment {
            background-color:#2f66ff;
            color: var(--white);
            border: none;
            padding: 8px 15px;
            border-radius: 40px;
            font-weight: 800;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: 0 1px 2px #999;
            text-decoration: none;
        }

        .btn-appointment:hover {
            background-color: #1351fb;
            transform: scale(1.02);
            color: white;
        }
        /* ========== ریسپانسیو ========== */
        @media (max-width: 860px) {
            .new-container {
                padding: 0 15px;
            }

            .new-brand h1 {
                font-size: 20px;
            }

            .new-btn-appointment {
                padding: 5px 10px;
            }


            .new-menu-toggle {
                display: block;
            }

            .new-main-nav {
                display: none;
            }
			  .btn-appointment {
                margin-right: auto;
				font-size: 12px;
            }
			.hero-video {
    display: block !important;
}
        }

        @media (min-width: 861px) {
            .new-menu-toggle {
                display: none !important;
            }
            .new-mobile-nav {
                display: none !important;
            }
            .new-menu-overlay {
                display: none !important;
            }
        }

        /* Hero + ویدیو */
        .hero-video {
                background:#00075d;
    margin-bottom: 40px;
            overflow: hidden;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            box-shadow: var(--shadow-md);
        }

        .video-content {
            flex: 1.2;
            padding: 32px 40px;
            color: white;
        }

        .video-content h2 {
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .video-content p {
            margin-bottom: 28px;
            line-height: 1.6;
            opacity: 0.9;
        }

        .video-box {
            flex: 1;
            padding: 20px;
        }

        .video-wrapper {
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.4);
        }

        .video-wrapper video {
            width: 100%;
            display: block;
            aspect-ratio: 16 / 9;
            object-fit: cover;
        }

        /* درباره کلینیک */
        .about-section {
            background: var(--white);
            border-radius: 32px;
            padding: 48px 36px;
            margin: 40px 0;
            box-shadow: var(--shadow-sm);
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 800;
            border-right: 6px solid #2f66ff;
            padding-right: 20px;
            margin-bottom: 30px;
            color: #0a2b4e;
        }

        .about-flex {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            align-items: center;
        }

        .about-image {
            flex: 1.5;
            border-radius: 32px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        .about-right {
            flex: 1;
        }

        .about-desc {
            margin-bottom: 28px;
            color: #2c3e4e;
            line-height: 1.7;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 24px;
        }

        .feature-item {
            background: var(--gray-light);
            padding: 18px 12px;
            border-radius: 24px;
            text-align: center;
            transition: 0.2s;
            border: 1px solid var(--gray-mid);
        }

        .feature-item i {
            font-size: 2.2rem;
            color: #2f66ff;
            margin-bottom: 12px;
        }

        .feature-item h4 {
            font-weight: 700;
            color: #0a2b4e;
            margin-bottom: 6px;
        }

        .feature-item p {
            font-size: 0.85rem;
            color: #4a627a;
        }

         .news-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 40px;
        }
        
        .news-item {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .news-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .news-image {
            height: 200px;
            width: 100%;
            overflow: hidden;
        }
        
        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .news-item:hover .news-image img {
            transform: scale(1.05);
        }
        
        .news-content {
            padding: 10px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .news-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: #2c3e50;
            line-height: 1.4;
        }
        
        .news-description {
            font-size: 0.95rem;
            color: #555;
            margin-bottom: 20px;
            line-height: 1.6;
            flex-grow: 1;
        }
        
        .read-more {
            display: inline-block;
            background-color: #00075d;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: background-color 0.3s ease;
            margin-top: auto;
			text-align:center;
        }
        
        .read-more:hover {
            background-color: #00043b;
        }
        
        .read-more i {
            margin-right: 5px;
        }
        
        
        /* استایل‌های موبایل */
        @media (max-width: 1200px) {
            .news-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .news-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 576px) {
            .news-container {
                grid-template-columns: 1fr;
            }
        }




        /* اخبار */
        .news-section {
            margin: 40px 0;
        }
        .news-cards {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
    gap: 10px;
        }
        .news-item {
            background: #fff;
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid #e1e1e1;
            transition: transform 0.2s;
			position:relative;
        }
        .news-item:hover {
            transform: translateY(-5px);
        }
        .news-img {
            background: #0a2b4e;
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }
        .news-content {
            padding: 15px;
        }
        .news-date {
           color: #2f66ff;
    font-size: 0.8rem;
    display: flex;
    justify-content: start;
    position: absolute;
    top: 5px;
    background: #ffffffba;
    border-radius: 10px;
			padding: 5px;
        }
        .news-content h3 {
            font-size: 1rem;
            margin-bottom: 12px;
            color: #0a2b4e;
        }
        .news-content p {
            color: #4a627a;
            line-height: 1.6;
			font-size: 13px;
    height: 75px;
        }

  
        /* فوتر */
        footer {
            background-color: #0a1c2f;
            color: #e2e8f0;
            padding: 40px 0 20px;
            margin-top: 40px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 36px;
            margin-bottom: 32px;
        }
        .footer-col h4 {
            color: #2f66ff;
            margin-bottom: 18px;
            font-size: 1.2rem;
        }
        .footer-col p {
            line-height: 1.8;
            color: #cbd5e1;
        }
        .footer-col a {
            color: #cbd5e1;
            text-decoration: none;
            display: block;
            margin-bottom: 8px;
            transition: 0.2s;
        }
        .footer-col a:hover {
            color: #2f66ff;
            padding-right: 5px;
        }
        .social-icons a {
            display: inline-block;
            margin-left: 12px;
            font-size: 1.4rem;
            color: #cbd5e1;
            transition: 0.2s;
        }
        .social-icons a:hover {
            color: #2f66ff;
        }
        .copyright {
            text-align: center;
            border-top: 1px solid #1e2f3f;
            padding-top: 24px;
            font-size: 0.85rem;
			display: flex;
    justify-content: space-between;
        }
        
        @media (max-width: 600px) {
            .container { padding: 0 16px; }
            .about-flex { flex-direction: column; }
            .video-content { padding: 24px; }
            .section-title { font-size: 1.6rem; }
            .award-slide { min-width: 170px; padding: 18px; }
            .award-slide img { width: 60px; height: 60px; }
			.features-grid {display: grid;grid-template-columns: repeat(1, 1fr);}
			.news-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}
			 .copyright {display: block;
				 line-height: 3;}
        }
		    .single-left-sidebar-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 32px;
        max-width: 1120px;
        margin: 40px auto;
        padding: 0 24px;
    }

    /* سایدبار سمت چپ */
    .single-sidebar {
        flex: 1.2;
        min-width: 260px;
        background: #fff;
        border-radius: 28px;
        padding:20px;
            border: 1px solid #d1d1d1;
        height: fit-content;
    }

    /* محتوای اصلی */
    .single-content-main {
        flex: 3;
        background: #fff;
        border-radius: 32px;
        padding:25px;
           border: 1px solid #d1d1d1;
    }

    /* دکمه درخواست نوبت */
    .sidebar-appointment-btn {
        background: linear-gradient(135deg, #2f66ff, #1e2f3f);
        color: #fff;
        border: none;
        padding: 14px 20px;
        border-radius: 60px;
        font-weight: 800;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        cursor: pointer;
        margin-bottom: 32px;
        box-shadow: 0 3px 5px rgb(10 43 78 / 60%);
    }

    .sidebar-appointment-btn:hover {
        background: #1e2f3f;
        color: white;
    }

    /* عنوان بخش سایدبار */
    .sidebar-title {
        font-size: 1.3rem;
        font-weight: 800;
        border-right: 5px solid #2f66ff;
        padding-right: 14px;
        margin-bottom: 20px;
        color: #0a2b4e;
    }

    /* لیست آخرین مطالب */
    .latest-posts-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .latest-post-item {
        display: flex;
        gap: 14px;
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid #eef2f6;
        align-items: center;
    }

    .latest-post-img {
        width: 70px;
        height: 70px;
        border-radius: 20px;
        object-fit: cover;
        background: #f1f5f9;
        flex-shrink: 0;
    }

    .latest-post-content {
        flex: 1;
    }

    .latest-post-title {
        font-size: 0.9rem;
        font-weight: 700;
        margin-bottom: 6px;
        line-height: 1.4;
    }

    .latest-post-title a {
        text-decoration: none;
        color: #0a2b4e;
        transition: 0.2s;
    }

    .latest-post-title a:hover {
        color: #2f66ff;
    }

    .latest-post-date {
        font-size: 0.7rem;
        color: #7c8b9c;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    /* استایل محتوای مطلب */
    .single-content-main h1 {
        font-size: 1.1rem;
        font-weight: 800;
        color: #0a2b4e;
		    border-right: 5px solid #2f66ff;
    border-radius: 5px;
    padding-right: 10px;
    }

    .post-meta {
        display: flex;
        gap: 20px;
        margin: 20px 0;
        color: #5a6e82;
        font-size: 0.85rem;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 14px;
    }
.post-meta span{
    display: flex;
    align-items: center;
}
    .post-meta i {
        margin-left: 6px;
        color: #2f66ff;
    }

    .post-thumbnail {
        margin-bottom: 28px;
        overflow: hidden;
    }

    .post-thumbnail img {
		max-width: 500px;
        width: 100%;
        height: auto;
        display: block;
		margin: 0 auto;
		border-radius: 15px;
    }

    .entry-content {
        font-size: 1rem;
        line-height: 1.8;
        color: #1e2f3f;
    }

    .entry-content p {
        margin-bottom: 1.2em;
    }
.entry-content img {
	max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 10px;
	    margin: 0 auto;
	border-radius: 15px;
}
    .entry-content h2, .entry-content h3 {
        color: #0a2b4e;
        margin: 1.5em 0 0.8em;
    }

    /* واکنشگرایی */
    @media (max-width: 860px) {
        .single-left-sidebar-wrapper {
            flex-direction: column;
            padding: 0 16px;
        }
        .single-sidebar {
            position: static;
            order: 2;
        }
        .single-content-main {
            padding: 24px;
        }
        .latest-post-img {
            width: 60px;
            height: 60px;
        }
    }
	
	
	/* استایل مدرن بخش نظرات */
.comments-area {
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 28px;
    border: 1px solid #d1d1d1;
}

.comments-title {
    font-size: 1rem;
    color: #0a2b4e;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2f66ff !important;
    display: inline-block;
}

.comments-title span {
    color: #2f66ff;
}

/* لیست نظرات */
.comment-list {
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
}

.comment {
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
}

/* اطلاعات کاربر */
.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.comment-author .avatar {
    display:none
}

.comment-author .fn {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a2b4e;
    font-style: normal;
}

.comment-author .says {
    color: #888;
}

/* تاریخ نظر */
.comment-meta {
    margin-bottom: 15px;
    position: absolute;
    left: 10px;
    top: 15px;
}

.comment-meta a {
    font-size: 0.85rem;
    color: #888;
    text-decoration: none;
}

.comment-meta a:hover {
    color: #2f66ff;
}

/* متن نظر */
.comment-body p {
    background: #fff;
    padding: 15px 20px;
    border-radius: 16px;
    line-height: 1.7;
    color: #333;
    margin: 12px 0;
    border-right: 3px solid #2f66ff;
}

/* دکمه پاسخ */
.reply {
    text-align: left;
    margin-top: 10px;
}

.comment-reply-link {
    display: inline-block;
    background: none;
    color: #2f66ff;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #2f66ff;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: #2f66ff;
    color: #fff;
}

/* فرم ثبت نظر */
#respond {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eef2f5;
}

.comment-reply-title {
    font-size: 1.4rem;
    color: #0a2b4e;
    margin-bottom: 25px;
}

#cancel-comment-reply-link {
    font-size: 0.85rem;
    color: #2f66ff;
    text-decoration: none;
    margin-right: 15px;
}

#cancel-comment-reply-link:hover {
    text-decoration: underline;
}

/* فیلدهای فرم */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0a2b4e;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #2f66ff;
    box-shadow: 0 0 0 3px rgba(230, 92, 30, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* دکمه ارسال نظر */
.submit {
    background: #2f66ff;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit:hover {
    background: #0440e7;
    transform: scale(1.02);
}

/* نکات فرم */
.comment-notes {
    font-size: 0.85rem;
    color: #888;
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 10px;
}

.required {
    color: #2f66ff;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .comments-area {
        padding: 20px;
    }
    
    .comments-title {
        font-size: 1.3rem;
    }
    
    .comment {
        padding: 15px;
    }
    
    .comment-author .avatar {
        width: 36px;
        height: 36px;
    }
    
    .comment-author .fn {
        font-size: 1rem;
    }
}