/* ============================================================
               استایل‌های اختصاصی صفحه درباره من
   ============================================================ */

.about-container {
    max-width: 900px;
    padding: 2.5rem;
    margin-top: 1.5rem !important;
    background: var(--background-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-box);
    position: relative;
    overflow: hidden;
}

.about-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--before-section);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.about-header p.subtitle {
    color: var(--text-dark);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

.artist-image {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin: 0 auto 2rem;
    display: block;
    border: 3px solid var(--bg-light);
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition);
}

.artist-image:hover {
    transform: scale(1.05);
}

.about-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed var(--border-color);
}

.about-section:last-child {
    border-bottom: none;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    position: relative;
    padding-right: 20px;
}

.about-section h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.about-section p {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1.1rem;
    font-weight: 300;
}

.process-steps {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.process-step {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 3px 10px var(--shadow-color);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
    text-align: center;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin: 0 auto 1rem;
    border: 1px solid var(--border-color);
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
}

.step-content p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
}
.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 3px 10px var(--shadow-color);
    background: #fff;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.contact-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 2rem;
    transition: var(--transition);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.contact-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-color);
}
@media (min-width: 576px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}


@media (max-width: 768px) {
    .about-container {
        padding: 1.5rem;
        margin: 2rem auto 2rem !important;
        border-radius: var(--radius-md);
    }
    .about-header h1 {
        font-size: 2rem;
    }
    .artist-image {
        width: 150px;
        height: 150px;
    }
        .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


.articles-container {
    padding: 2.5rem;
    background: var(--wn-primary-dark);
    box-shadow: var(--shadow-box);
    border-radius: var(--radius-lg);
    position: relative;
    margin-top: 1.5rem !important;
    overflow: hidden;
}

.articles-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background:var(--before-section);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.articles-card {
    position: relative;
    height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.7s ease;
    background-color: yellow;
}

.articles-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.articles-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;     
    object-position: center;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
    transition: all 0.7s ease;
}

.articles-card:hover .articles-image {
    filter: brightness(1);
    transform: scale(1.05);
}

.articles-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.articles-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    text-align: right;
    z-index: 2;
}

.articles-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.articles-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
}

.reading-time {
    background: rgba(0,0,0,0.3);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.read-more {
    font-weight: 600;
    color: #f8d56b;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    width: 100%;
}

@media (min-width: 993px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .articles-card {
        height: 300px;
        border-radius: var(--radius-sm);
    }
    .articles-container {
        margin-top: 8rem !important;
        padding: 2rem;
        border-radius: var(--radius-md);
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .articles-card {
        height: 280px;
        border-radius: var(--radius-sm);
    }
    .articles-container {
        margin-top: 7rem !important;
        padding: 1.5rem;
        border-radius: var(--radius-md);
    }
}

@media (max-width: 576px) {
     .product-gallery {
        grid-template-columns: 1fr;
    }
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .articles-card {
        height: 250px;
        border-radius: var(--radius-sm);
    }
    .articles-container {
        margin-top: 1.5rem !important;
        padding: 1.5rem;
        border-radius: var(--radius-sm);
    }
    .articles-content {
        padding: 15px;
    }
    .articles-title {
        font-size: 1.1rem;
    }
    .articles-meta {
        flex-direction: column;
        gap: 8px;
    }
    .pagination-container {
        margin-top: 2rem;
    }
}