﻿



:root {
    --tapesh-navy: #0f1d34;
    --tapesh-navy-2: #13263f;
    --tapesh-gold: #d4a95f;
    --tapesh-gold-hover: #bf9346;
    --tapesh-bg: #f5f7fb;
    --tapesh-card: rgba(255,255,255,.96);
    --tapesh-border: rgba(15, 29, 52, .08);
    --tapesh-text: #243043;
    --tapesh-muted: #6b7280;
}

body {
    background: linear-gradient(to bottom, #ffffff 0%, #f6f8fc 100%);
    color: var(--tapesh-text);
}

/* HERO */
.news-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(6, 15, 28, .35), rgba(6, 15, 28, .82)), url('/img/indexh.jpeg') center center / cover no-repeat;
}

    .news-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(212,169,95,.22), transparent 30%), radial-gradient(circle at bottom left, rgba(255,255,255,.08), transparent 28%);
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 2;
    padding: 34px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,169,95,.16);
    border: 1px solid rgba(212,169,95,.28);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
    font-size: .95rem;
}

.breadcrumb-custom {
    color: #cbd5e1;
    font-size: .95rem;
}

    .breadcrumb-custom a {
        color: #e2e8f0;
        text-decoration: none;
        transition: color 0.2s;
    }

        .breadcrumb-custom a:hover {
            color: var(--gold);
        }

.news-title {
    color: #fff;
    font-weight: 900;
    line-height: 1.5;
    font-size: 2.8rem;
}

.news-summary {
    color: #e2e8f0;
    line-height: 2;
    font-size: 1.08rem;
    max-width: 850px;
}



.news-wrapper {
    margin-top: -70px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.news-card {
    background: white;
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(15,23,42,.06);
    border: 1px solid rgba(255,255,255,.7);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
}

.news-featured-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 35px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.news-content {
    line-height: 2.25;
    font-size: 1.06rem;
}

    .news-content h2,
    .news-content h3 {
        margin-top: 40px;
        margin-bottom: 20px;
        color: var(--primary);
        font-weight: 800;
    }

    .news-content img {
        max-width: 100%;
        height: auto;
        border-radius: 18px;
        margin: 25px 0;
        box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    }

.side-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(15,23,42,.05);
    border: 1px solid rgba(0,0,0,0.02);
    margin-bottom: 25px;
}

.side-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

.related-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: var(--text);
    margin-bottom: 20px;
    transition: color 0.2s;
}

    .related-item:hover {
        color: var(--gold-hover);
    }

.related-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.related-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.footer-modern {
    margin-top: 90px;
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color: #cbd5e1;
    padding: 70px 0 25px;
}

.footer-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: .2s;
}

/* کانتینر اصلی کارت */
.doctor-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden; /* گرد کردن گوشه‌ها اعمال می‌شود */
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* سایه بسیار ملایم */
    height: 100%;
}

    .doctor-card-modern:hover {
        transform: translateY(-10px); /* بالا آمدن کارت هنگام هاور */
        box-shadow: 0 12px 25px rgba(0,0,0,0.1); /* سایه عمیق‌تر */
    }

/* کانتینر تصویر */
.doctor-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

    .doctor-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.doctor-card-modern:hover .doctor-img-wrapper img {
    transform: scale(1.1); /* زوم ملایم تصویر */
}

/* محتوا */
.doctor-card-body {
    padding: 20px;
    text-align: center;
}
.specialty-text {
    font-size: 0.85rem;
    color: #6c757d;
    background: #f8f9fa;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
}
.timingDate {
    font-size: 0.85rem;
    color: #6c757d;
    background: #f8f9fa;
    
    padding: 4px 4px;
    border-radius: 20px;
}

/* دکمه */
.btn-view-profile {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: #0d6efd; /* رنگ آبی برند شما */
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.3s;
}

    .btn-view-profile:hover {
        background: #0056b3;
        color: #fff;
    }

    .footer-social:hover {
        background: var(--gold);
        color: #fff;
        transform: translateY(-3px);
    }

@@media (max-width: 768px) {
    .news-title {
        font-size: 2rem;
    }

    .news-card {
        padding: 25px;
        border-radius: 22px;
    }

    .news-wrapper {
        margin-top: -30px;
    }

    .news-hero {
        min-height: auto;
        padding: 40px 0 70px 0;
    }



}

