/* Blog Container */
.blog-container {
    margin-top: 240px;
    margin-bottom: 5rem;
    padding: 0 5%;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 7rem;
    position: relative;
}

.header-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: var(--accent);
    opacity: 0.15;
    filter: blur(120px);
    pointer-events: none;
}

.header-badge {
    display: inline-block;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-header h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -3px;
    line-height: 1.0;
}

.blog-header h1 span {
    background: linear-gradient(to right, var(--accent), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: -0.2px;
}

/* Featured Blog Card */
.blog-featured-row {
    margin-bottom: 5rem;
}

.featured-blog-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-img {
    height: 450px;
    overflow: hidden;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

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

.featured-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.featured-tag {
    background: var(--accent);
    color: #000;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
}

.featured-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.featured-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.featured-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.featured-btn {
    align-self: flex-start;
    padding: 1rem 2.5rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.card-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.card-date {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 15px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.read-more {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-icon {
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.author-name {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Empty State */
.blog-empty {
    text-align: center;
    padding: 10rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.blog-empty h2 {
    color: var(--text-secondary);
}