/* ========================================
   ARTICLES PAGE STYLES - MOBILE FIRST
   ======================================== */

/* Breadcrumbs */
.breadcrumbs {
    padding: 100px 0 20px 0;
    background: #111;
    border-bottom: 1px solid #333;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumbs a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #ff4444;
}

.breadcrumb-separator {
    color: #666;
}

.breadcrumb-current {
    color: #ff4444;
    font-weight: 600;
}

/* Articles Header */
.articles-header {
    padding: 40px 0 60px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    text-align: center;
}

.articles-title {
    color: white;
    margin-bottom: 16px;
}

.articles-subtitle {
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search and Filter */
.search-filter {
    padding: 40px 0;
    background: #111;
    border-bottom: 1px solid #333;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-box {
    display: flex;
    gap: 12px;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #333;
    border-radius: 12px;
    background: #1a1a1a;
    color: white;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #ff4444;
}

.search-input::placeholder {
    color: #666;
}

.search-btn {
    padding: 16px 20px;
    background: linear-gradient(45deg, #ff4444, #ff6b35);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    min-width: 60px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.3);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.filter-tag {
    padding: 8px 16px;
    background: transparent;
    color: #ccc;
    border: 2px solid #333;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.filter-tag:hover {
    border-color: #ff4444;
    color: #ff4444;
}

.filter-tag.active {
    background: linear-gradient(45deg, #ff4444, #ff6b35);
    border-color: transparent;
    color: white;
}

/* Articles Grid */
.articles-grid-section {
    padding: 60px 0;
    background: #0a0a0a;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
}

.article-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: #444;
}

.article-category {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.article-category.hot {
    background: linear-gradient(45deg, #ff4444, #ff6b35);
    color: white;
}

.article-category.presales {
    background: linear-gradient(45deg, #00d4aa, #2ecc71);
    color: white;
}

.article-category.guide {
    background: linear-gradient(45deg, #3b82f6, #1e3a8a);
    color: white;
}

.article-category.defi {
    background: linear-gradient(45deg, #8b5cf6, #6d28d9);
    color: white;
}

.article-category.analysis {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: white;
}

.article-title {
    margin-bottom: 12px;
}

.article-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.4;
}

.article-title a:hover {
    color: #ff4444;
}

.article-excerpt {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #999;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 8px;
    background: #333;
    color: #ccc;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.no-results h3 {
    color: white;
    margin-bottom: 12px;
}

.no-results p {
    color: #ccc;
    margin-bottom: 32px;
}

/* Load More */
.load-more-container {
    text-align: center;
}

.load-more-btn {
    margin-bottom: 24px;
    padding: 16px 32px;
}

.articles-count {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* Newsletter CTA */
.newsletter-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    text-align: center;
}

.newsletter-cta .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-cta .cta-title {
    color: white;
    margin-bottom: 24px;
}

.newsletter-cta .cta-subtitle {
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.newsletter-cta .cta-form {
    max-width: 400px;
    margin: 0 auto 24px auto;
}

.newsletter-cta .cta-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #333;
    border-radius: 12px;
    background: #1a1a1a;
    color: white;
    margin-bottom: 16px;
    transition: border-color 0.3s;
}

.newsletter-cta .cta-input:focus {
    outline: none;
    border-color: #ff4444;
}

.newsletter-cta .cta-input::placeholder {
    color: #666;
}

.newsletter-cta .cta-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(45deg, #ff4444, #ff6b35);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 44px;
}

.newsletter-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.3);
}

.newsletter-cta .cta-disclaimer {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* Article Page Styles */
.article-page {
    padding-top: 80px;
}

.article-header {
    padding: 40px 0 60px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.article-header .container {
    max-width: 800px;
}

.article-meta-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #999;
}

.article-title-main {
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-subtitle-main {
    color: #ccc;
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.5;
    margin: 0;
}

.article-content {
    padding: 60px 0;
    background: #0a0a0a;
}

.article-content .container {
    max-width: 800px;
}

.article-body {
    color: #f5f5f5;
    line-height: 1.7;
    font-size: clamp(16px, 2.5vw, 18px);
}

.article-body h2 {
    color: white;
    margin: 40px 0 20px 0;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.article-body h3 {
    color: white;
    margin: 32px 0 16px 0;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    background: #1a1a1a;
    border-left: 4px solid #ff4444;
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
    margin: 0;
    font-style: italic;
    color: #ccc;
}

.article-body .highlight-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.article-body .highlight-box h4 {
    color: #ff4444;
    margin: 0 0 12px 0;
}

.article-cta {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    margin: 60px 0;
    border: 1px solid #333;
}

.article-cta h3 {
    color: white;
    margin-bottom: 16px;
}

.article-cta p {
    color: #ccc;
    margin-bottom: 24px;
}

/* Social Share */
.social-share {
    padding: 40px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.social-share h4 {
    color: white;
    margin-bottom: 16px;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 20px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn:hover {
    background: #ff4444;
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

/* Small tablets - 576px+ */
@media (min-width: 576px) {
    .search-container {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .search-box {
        flex: 1;
        max-width: 400px;
    }
    
    .filter-tags {
        justify-content: flex-start;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-meta {
        justify-content: space-between;
    }
}

/* Tablets - 768px+ */
@media (min-width: 768px) {
    .breadcrumbs {
        padding: 120px 0 20px 0;
    }
    
    .search-filter {
        padding: 60px 0;
    }
    
    .newsletter-cta .cta-form {
        display: flex;
        gap: 16px;
        align-items: flex-end;
    }
    
    .newsletter-cta .cta-input {
        margin-bottom: 0;
        flex: 1;
    }
    
    .newsletter-cta .cta-btn {
        width: auto;
        white-space: nowrap;
    }
    
    .article-header {
        padding: 60px 0 80px 0;
    }
    
    .share-buttons {
        gap: 24px;
    }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .search-container {
        justify-content: space-between;
        align-items: center;
    }
    
    .filter-tags {
        justify-content: flex-end;
    }
}

/* Large Desktop - 1200px+ */
@media (min-width: 1200px) {
    .articles-grid {
        gap: 48px;
    }
}
