/* ===============================
   RhinoSecAI Website Styles
   Brand: Thick-Skinned. Sharp-Minded.
   =============================== */

/* ===========================
   CSS Variables & Reset
   =========================== */
   
/* Blog-specific styles */
.blog-hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(0, 139, 139, 0.05) 100%);
    padding: 140px 2rem 80px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.25rem;
    color: var(--rhino-gray);
    max-width: 700px;
    margin: 0 auto;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--electric-orange);
}

.blog-card-header {
    height: 240px;
    background: linear-gradient(135deg, var(--electric-orange) 0%, var(--deep-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-icon {
    font-size: 5rem !important;
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.blog-card-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--rhino-gray);
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-meta .material-symbols-outlined {
    font-size: 16px !important;
}

.blog-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 107, 53, 0.1);
    color: var(--electric-orange);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card h3 a {
    color: var(--charcoal-black);
    transition: color var(--transition-fast);
}

.blog-card h3 a:hover {
    color: var(--electric-orange);
}

.blog-excerpt {
    color: var(--rhino-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--electric-orange);
    font-weight: 600;
    transition: gap var(--transition-fast);
    cursor: pointer;
}

.blog-read-more:hover {
    gap: 0.75rem;
}

.blog-read-more .material-symbols-outlined {
    font-size: 18px !important;
}

.blog-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.blog-featured .blog-card-header {
    height: 100%;
    min-height: 400px;
}

.blog-featured .blog-card-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured h3 {
    font-size: 2rem;
}

.featured-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    width: fit-content;
}

.featured-label .material-symbols-outlined {
    font-size: 16px !important;
}

/* Filters */
.blog-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--electric-orange);
    color: var(--electric-orange);
    background: rgba(255, 107, 53, 0.05);
}

.blog-card.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-featured {
        grid-template-columns: 1fr;
    }
    
    .blog-featured .blog-card-header {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-featured {
        grid-column: 1;
    }
    
    .blog-card-header {
        height: 200px;
    }
    
    .blog-featured .blog-card-content {
        padding: 2rem;
    }
}