/* Blog Page Specific Styles */

/* Blog Section */
.blog-section {
    background: linear-gradient(135deg, #0f0c29 0%, #24243e 25%, #302b63 50%, #0f0c29 75%, #24243e 100%);
    min-height: 100vh;
}

.blog__item {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.blog__item::before,
.blog__item::after {
    display: none !important;
}

.blog__item:hover {
    transform: translateY(-10px);
    border-color: rgba(233, 30, 99, 0.5);
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.2);
}

.blog__item.featured-post {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(233, 30, 99, 0.3);
}

.blog__thumb {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog__item:hover .blog__thumb img {
    transform: scale(1.1);
}

.blog__thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(233, 30, 99, 0.8), rgba(15, 12, 41, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog__item:hover .blog__thumb-overlay {
    opacity: 1;
}

.blog__category {
    position: absolute;
    top: 20px;
    left: 20px;
}

.category-badge {
    background: linear-gradient(45deg, #e91e63, #ff4081);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog__content {
    padding: 30px;
    color: #fff;
}

.blog__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog__author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #e91e63;
}

.blog__author span,
.blog__date span,
.blog__comments span {
    color: #e0e0e0;
    font-size: 14px;
}

.blog__date,
.blog__comments {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog__date i,
.blog__comments i {
    color: #e91e63;
}

.blog__content h3,
.blog__content h4 {
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog__content h3 a,
.blog__content h4 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog__content h3 a:hover,
.blog__content h4 a:hover {
    color: #e91e63;
}

.blog__content p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.blog__tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(233, 30, 99, 0.2);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid rgba(233, 30, 99, 0.3);
}

.blog__read-more {
    color: #e91e63;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog__read-more:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
}

.widget-header {
    background: linear-gradient(45deg, #e91e63, #ff4081);
    padding: 20px;
}

.widget-header h4 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.widget-content {
    padding: 25px;
}

/* Search Form */
.search-form {
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
}

.search-form input::placeholder {
    color: #ccc;
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #e91e63;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #ff4081;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: #e0e0e0;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #e91e63;
}

.category-list span {
    background: rgba(233, 30, 99, 0.2);
    color: #e91e63;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.recent-post-thumb {
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(233, 30, 99, 0.3);
}

.recent-post-content h6 {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.recent-post-content a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-content a:hover {
    color: #e91e63;
}

.post-date {
    color: #ccc;
    font-size: 12px;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    background: rgba(233, 30, 99, 0.2);
    color: #e91e63;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    border: 1px solid rgba(233, 30, 99, 0.3);
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #e91e63;
    color: #fff;
    transform: translateY(-2px);
}

/* Pagination */
.pagination-wrapper {
    margin-top: 50px;
}

.pagination .page-link {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 18px;
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #e91e63;
    border-color: #e91e63;
    color: #fff;
}

.pagination .page-item.active .page-link {
    background: #e91e63;
    border-color: #e91e63;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
    color: #666;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 15px 20px;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
}

.newsletter-form .form-control::placeholder {
    color: #ccc;
}

.newsletter-form .btn {
    background: linear-gradient(45deg, #e91e63, #ff4081);
    border: none;
    padding: 15px 30px;
    border-radius: 0 25px 25px 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background: linear-gradient(45deg, #ff4081, #e91e63);
    transform: translateY(-2px);
}

/* Mobile Search Bar */
.mobile-search .sidebar-widget {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(233, 30, 99, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.2);
}

.mobile-search .widget-header {
    background: linear-gradient(45deg, #e91e63, #ff4081);
    padding: 15px 20px;
    border-radius: 18px 18px 0 0;
}

.mobile-search .widget-header h4 {
    font-size: 16px;
    margin: 0;
}

.mobile-search .widget-content {
    padding: 20px;
}

/* Mobile Sidebar */
.mobile-sidebar .sidebar-widget,
.mobile-categories-tags .sidebar-widget {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(233, 30, 99, 0.3);
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.2);
}

.mobile-sidebar .widget-header,
.mobile-categories-tags .widget-header {
    background: linear-gradient(45deg, #e91e63, #ff4081);
    padding: 15px 20px;
    border-radius: 18px 18px 0 0;
}

.mobile-sidebar .widget-header h4,
.mobile-categories-tags .widget-header h4 {
    font-size: 16px;
    margin: 0;
}

.mobile-sidebar .widget-content,
.mobile-categories-tags .widget-content {
    padding: 20px;
}

/* Mobile Hide Class */
@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .blog__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .recent-post-item {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: 25px !important;
        margin-bottom: 15px;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .newsletter-form .btn {
        border-radius: 25px !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .newsletter-form .input-group {
        padding: 0 20px;
    }
    
    /* Mobile Blog Layout */
    .section-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-header p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .blog__item {
        margin-bottom: 25px;
    }
    
    .blog__content {
        padding: 20px;
    }
    
    .blog__content h3,
    .blog__content h4 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .blog__content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .tag {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .blog__read-more {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .blog__content {
        padding: 20px;
    }
    
    .widget-content {
        padding: 20px;
    }
    
    .tag-cloud {
        justify-content: center;
    }
}