/* blog.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f8fafc;
}

h1, h2, h3 {
    color: #1e293b;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.footer {
    margin-top: 50px;
    font-size: 0.9em;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    text-align: center;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    color: white;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 15px 0;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.85;
    margin: 0 auto 25px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.1s, opacity 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: white;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary:hover, .btn-secondary:hover {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

/* BLOG GRID */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-tag {
    display: inline-block;
    background: #e0e7ff;
    color: #4f46e5;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.blog-excerpt {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.5;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    margin-top: auto;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.read-more:hover {
    text-decoration: none;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ARTICLE CONTENT */
.article-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.article-content h2 {
    color: #1e293b;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.article-content h3 {
    color: #334155;
    font-size: 18px;
    margin-top: 25px;
}

.article-content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    font-size: 16px;
    color: #475569;
    margin-bottom: 10px;
    line-height: 1.6;
}

.article-author {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.article-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.article-author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 15px;
}

.article-date {
    font-size: 13px;
    color: #64748b;
}

.cta-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 12px;
    padding: 25px;
    margin-top: 40px;
    border: 1px solid #bae6fd;
    text-align: center;
}

.cta-box h3 {
    margin-top: 0;
    color: #0369a1;
}

@media (max-width: 600px) {
    .article-content {
        padding: 20px;
    }
}
