/* Premium Blog Page Styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,100 1000,0 1000,100"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.separator {
    margin: 0 8px;
    opacity: 0.7;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Premium Categories Section */
.premium-categories-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.6;
}

.highlight {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Category Filter Buttons */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    color: #4A5568;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border-color: #ff6b35;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Blog Article Cards (replacing category cards) */
.beautiful-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-item {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.category-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.article-blog-card {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.article-blog-card:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.category-gradient {
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.skincare-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.makeup-gradient {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.natural-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.reviews-gradient {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.wellness-gradient {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.business-gradient {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.category-content {
    padding: 20px;
    position: relative;
}

.category-icon {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #333;
}

.article-meta-info {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: #666;
    flex-wrap: wrap;
}

.article-author {
    font-weight: 600;
    color: #444;
}

.article-date, .article-readtime {
    color: #888;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
    line-height: 1.2;
    min-height: 45px;
    display: flex;
    align-items: flex-start;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-desc {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-count {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Featured Articles Section */
.featured-articles-section {
    padding: 100px 0;
    background: #fafafa;
}

/* Beautiful Article Cards Grid */
.beautiful-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.article-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.article-card-gradient {
    height: 140px;
    position: relative;
    overflow: hidden;
}

.article-card-gradient.skincare {
    background: linear-gradient(135deg, #FF9A8B 0%, #FECFEF 50%, #FECFEF 100%);
}

.article-card-gradient.makeup {
    background: linear-gradient(135deg, #FFB347 0%, #FFCC5C 50%, #FFE135 100%);
}

.article-card-gradient.natural {
    background: linear-gradient(135deg, #A8E6CF 0%, #88D8A3 50%, #66BB6A 100%);
}

.article-card-gradient.reviews {
    background: linear-gradient(135deg, #FFA726 0%, #FF8A65 50%, #FFAB91 100%);
}

.article-card-gradient.wellness {
    background: linear-gradient(135deg, #CE93D8 0%, #F8BBD9 50%, #F48FB1 100%);
}

.article-card-gradient.business {
    background: linear-gradient(135deg, #4FC3F7 0%, #81C784 50%, #AED581 100%);
}

.article-card-content {
    padding: 30px;
    text-align: center;
    position: relative;
}

.article-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #FF6B35;
    margin-top: -24px;
    position: relative;
    z-index: 2;
}

.article-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-excerpt {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 12px;
}

.article-card-meta > span {
    position: relative;
}

.article-card-meta > span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -9px;
}

.article-card-badge {
    display: inline-block;
    background: #F7FAFC;
    color: #4A5568;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Hide the old featured articles grid when showing article cards */
.featured-articles-grid {
    display: none;
}

.beautiful-articles-grid.active + .featured-articles-grid {
    display: none;
}

/* Show article cards when active */
.beautiful-articles-grid.active {
    display: grid;
}

.featured-articles-grid.active {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    margin-top: 60px;
}

.featured-article.large {
    grid-row: 1 / 3;
}

.featured-article {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    overflow: hidden;
}

.featured-article.large .article-image {
    height: 350px;
}

.featured-article .article-image {
    height: 200px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article:hover .article-image img {
    transform: scale(1.05);
}

.article-category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

.article-category-badge.skincare {
    background: rgba(255, 154, 139, 0.9);
}

.article-category-badge.makeup {
    background: rgba(255, 179, 71, 0.9);
}

.article-category-badge.natural {
    background: rgba(168, 230, 207, 0.9);
    color: #2D3748;
}

.article-category-badge.reviews {
    background: rgba(255, 167, 38, 0.9);
}

.article-category-badge.wellness {
    background: rgba(206, 147, 216, 0.9);
}

.article-content {
    padding: 30px;
}

.featured-article.large .article-content {
    padding: 40px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #718096;
}

.article-meta > span {
    position: relative;
}

.article-meta > span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -10px;
}

.article-title {
    margin-bottom: 15px;
}

.article-title a {
    color: #2D3748;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.featured-article.large .article-title {
    font-size: 1.5rem;
    line-height: 1.3;
}

.featured-article .article-title {
    font-size: 1.2rem;
    line-height: 1.4;
}

.article-title a:hover {
    color: #ff6b35;
}

.article-excerpt {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-article.large .article-excerpt {
    font-size: 1rem;
    -webkit-line-clamp: 4;
}

.article-stats {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #718096;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-signup {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #2D3748;
}

.newsletter-input::placeholder {
    color: #718096;
}

.newsletter-button {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.newsletter-privacy {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-articles-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .featured-article.large {
        grid-column: 1 / 3;
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .featured-articles-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .featured-article.large {
        grid-column: 1;
        grid-row: auto;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .newsletter-signup {
        flex-direction: column;
    }
    
    .category-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .premium-categories-section {
        padding: 60px 0;
    }
    
    .featured-articles-section {
        padding: 60px 0;
    }
}
