/* Reset inherited styles */
.main-content.user-profile {
    display: block !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px, 2.5rem 1.5rem;
    background: none;
}

body.dark-mode .main-content.user-profile {
    background: none;
}

/* Profile Information */
.profile-info {
    text-align: center;
    margin-bottom: 4rem;
}

.profile-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

body.dark-mode .profile-card {
    background: #555;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.profile-name {
    font-family: 'Cutive', Georgia, serif;
    font-size: 2rem;
    color: #000;
    margin: 0.5rem 0;
}

body.dark-mode .profile-name {
    color: #fff;
}

.profile-bio {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.125rem;
    color: #555;
    margin: 1rem 0;
}

body.dark-mode .profile-bio {
    color: #ccc;
}

.profile-stats {
    font-size: 1rem;
    color: #555;
    margin: 1rem 0;
}

body.dark-mode .profile-stats {
    color: #ccc;
}

.profile-stats i {
    color: #b10036;
    margin-right: 0.5rem;
}

body.dark-mode .profile-stats i {
    color: #ff5c5c;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.profile-social .social-icon {
    font-size: 1.5rem;
}

.profile-social a {
    color: #b10036;
    text-decoration: none;
    transition: color 0.2s;
}

body.dark-mode .profile-social a {
    color: #ff5c5c;
}

.profile-social a:hover {
    color: #900028;
}

body.dark-mode .profile-social a:hover {
    color: #cc4949;
}

.profile-social .inactive {
    color: #aaa;
    cursor: default;
}

body.dark-mode .profile-social .inactive {
    color: #666;
}

/* Articles Section */
.profile-articles {
    margin-bottom: 2.5rem;
}

.profile-articles h2 {
    font-family: 'Cutive', Georgia, serif;
    font-size: 2rem;
    color: #000;
    text-align: center;
    margin-bottom: 2rem;
}

body.dark-mode .profile-articles h2 {
    color: #fff;
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    font-family: 'Cutive', Georgia, serif;
    font-size: 1.5rem;
    color: #b10036;
    margin-bottom: 1.5rem;
}

body.dark-mode .category-title {
    color: #ff5c5c;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

body.dark-mode .article-card {
    background: #555;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.article-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-details {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-family: 'Cutive', Georgia, serif;
    font-size: 1.25rem;
    color: #000;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

body.dark-mode .article-title {
    color: #fff;
}

.article-date {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

body.dark-mode .article-date {
    color: #ccc;
}

.article-date i {
    color: #b10036;
    margin-right: 0.5rem;
}

body.dark-mode .article-date i {
    color: #ff5c5c;
}

.article-abstract {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1rem;
    color: #555;
    margin: 0;
    flex: 1;
}

body.dark-mode .article-abstract {
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content.user-profile {
        padding: 1rem;
    }
    .profile-card {
        padding: 1.5rem;
    }
    .profile-name {
        font-size: 1.8rem;
    }
    .profile-bio {
        font-size: 1rem;
    }
    .profile-articles h2 {
        font-size: 1.8rem;
    }
    .category-title {
        font-size: 1.3rem;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .article-image {
        height: 150px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}