
.user-actions {
    display: flex;
    gap: 15px;
}

.user-actions a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.sign-up {
    background-color: var(--primary);
    padding: 8px 20px;
    transition: background-color 0.3s;
}

.sign-up:hover {
    background-color: var(--secondary);
}

/* Page Header */
.page-header {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Layout */
.blog-section {
    padding: 0;
}

.blog-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Blog Posts */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-post {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.post-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-category {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--primary);
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.post-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: var(--primary);
}

.post-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--light);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 0;
    object-fit: cover;
}

.author-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.8rem;
    color: #666;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
}

.post-stats {
    display: flex;
    gap: 15px;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

/* Featured Post */
.featured-post {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.featured-post .post-image {
    height: 400px;
}

.featured-post .post-content {
    padding: 40px;
}

.featured-post .post-title {
    font-size: 2rem;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: white;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

/* Search Widget */
.search-widget {
    display: flex;
}

.search-widget input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
}

.search-widget button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-widget button:hover {
    background-color: var(--secondary);
}

/* Categories Widget */
.categories-list {
    list-style: none;
}

.category-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--light);
}

.category-item:last-child {
    border-bottom: none;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.category-item a:hover {
    color: var(--primary);
}

.category-count {
    background-color: var(--light-bg);
    color: var(--primary);
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Recent Posts Widget */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post {
    display: flex;
    gap: 15px;
}

.recent-post-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.recent-post-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.recent-post-content h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.recent-post-content h4 a:hover {
    color: var(--primary);
}

.recent-post-date {
    font-size: 0.8rem;
    color: #666;
}

/* Tags Widget */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--dark);
    padding: 6px 12px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.tag:hover {
    background-color: var(--primary);
    color: white;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 25px;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: var(--light-bg);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.pagination-item {
    margin: 0 2px;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pagination-link:hover {
    background-color: var(--light);
}

.pagination-link.active {
    background-color: var(--primary);
    color: white;
}

.pagination-link.prev,
.pagination-link.next {
    width: auto;
    padding: 0 20px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background-color 0.3s;
}

.footer-social-links a:hover {
    background-color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .featured-post {
        grid-column: 1;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar {
        width: 100%;
        max-width: 400px;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .featured-post .post-image {
        height: 300px;
    }
    
    .featured-post .post-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
}