/**
 * Single Post Styles
 * استایل صفحه تک نوشته (مقالات)
 */

/* ===== طراحی مدرن تمام صفحه ===== */
* { box-sizing: border-box; }

/* Hero Section - عکس تمام صفحه */
.post-hero-fullwidth {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
}

.hero-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 40px;
    z-index: 10;
}

.hero-content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-category {
    margin-bottom: 24px;
}

.hero-category a {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    transition: all 0.3s ease;
}

.hero-category a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.7);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.15;
    color: white !important;
    margin: 0 0 32px 0;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    font-family: 'Vazir', sans-serif;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    font-size: 1.05rem;
}

.hero-meta-item svg {
    opacity: 0.9;
}

.author-meta {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px 8px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
}

.author-avatar-hero {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    border: 2px solid white;
}

.author-name-hero {
    font-weight: 700;
}

/* محتوای اصلی */
.post-main-fullwidth {
    padding: 80px 0;
}

.post-container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.post-content-fullwidth {
    background: white;
    padding: 60px 80px;
    border-radius: 24px;
    box-shadow: 0 10px 60px rgba(0,0,0,0.08);
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 60px;
    font-family: 'Vazir', sans-serif;
}

.post-content-fullwidth p {
    margin-bottom: 28px;
    text-align: justify;
}

.post-content-fullwidth h2,
.post-content-fullwidth h3 {
    font-weight: 800;
    margin: 48px 0 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.post-content-fullwidth h2 {
    font-size: 2.2rem;
}

.post-content-fullwidth h3 {
    font-size: 1.7rem;
}

.post-content-fullwidth img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.post-content-fullwidth blockquote {
    border-right: 6px solid #667eea;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
    padding: 32px 40px;
    margin: 40px 0;
    border-radius: 16px;
    font-style: italic;
    font-size: 1.15rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Footer Section */
.post-footer-section {
    margin-bottom: 60px;
}

/* تگ‌ها */
.tags-section-wide {
    background: white;
    padding: 32px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    margin-bottom: 32px;
}

.tags-label-wide {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    display: block;
    margin-bottom: 20px;
}

.tags-list-wide {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-wide {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.tag-wide:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.5);
}

/* اشتراک‌گذاری */
.share-section-wide {
    padding: 48px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(240, 147, 251, 0.3);
    margin-bottom: 60px;
}

.share-title-wide {
    color: white;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 32px;
}

.share-buttons-wide {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-btn-wide {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.share-btn-wide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ناوبری مقالات */
.post-navigation-wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

.nav-card-wide {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.nav-card-wide:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.nav-arrow-wide {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-text-wide {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-label-wide {
    font-size: 0.9rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-title-wide {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.4;
}

.prev-card { justify-content: flex-start; }
.next-card { justify-content: flex-end; text-align: left; }

/* مقالات مرتبط */
.related-section-wide {
    margin-bottom: 80px;
}

.related-title-wide {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related-grid-wide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.related-card-wide {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.related-card-wide:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.related-link-wide {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-thumb-wide {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.related-thumb-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-card-wide:hover .related-thumb-wide img {
    transform: scale(1.15);
}

.related-overlay-wide {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}

.related-body-wide {
    padding: 28px;
}

.related-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.related-card-date {
    font-size: 0.95rem;
    color: #999;
    font-weight: 600;
}

/* نظرات */
.comments-section-wide {
    background: white;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 10px 60px rgba(0,0,0,0.08);
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .post-container-wide { padding: 0 12px; }
    .post-content-fullwidth { padding: 40px; font-size: 1.1rem; }
    .related-grid-wide { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .post-hero-fullwidth { height: 60vh; min-height: 500px; }
    .hero-content-wrapper { padding: 40px 24px; }
    .hero-title { font-size: 2rem; }
    .hero-meta { gap: 16px; }
    .post-content-fullwidth { padding: 32px 24px; font-size: 1.05rem; }
    .post-navigation-wide { grid-template-columns: 1fr; }
    .share-buttons-wide { flex-direction: column; }
    .related-grid-wide { grid-template-columns: 1fr; }
    .comments-section-wide { padding: 32px 20px; }
}

