/* ============================================
   MAVEN.IE — Blog Styles
   Dark theme blog extending style.css
============================================ */

/* BLOG INDEX */
.blog-hero { padding: 120px 0 48px; background: var(--ink); text-align: center; }
.blog-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 12px; color: var(--white); }
.blog-hero p { color: var(--mid-grey); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.blog-grid-section { padding: 64px 0 80px; background: var(--surface); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.blog-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-2px); }
.blog-card-body { padding: 24px; }
.blog-card-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--violet-light); background: rgba(124,58,237,0.1); padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }
.blog-card-body h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.blog-card-body h2 a { color: var(--white); transition: color 0.2s; }
.blog-card-body h2 a:hover { color: var(--violet-light); }
.blog-card-body p { font-size: 0.9rem; color: var(--mid-grey); line-height: 1.6; margin-bottom: 14px; }
.blog-card-meta { font-size: 0.8rem; color: #555; }

/* ARTICLE PAGE */
.article-content { padding: 120px 0 64px; background: var(--ink); }
.article-content .container { max-width: 740px; }
.article-content h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; color: var(--white); }
.article-content h2 { font-size: 1.5rem; font-weight: 700; margin: 40px 0 16px; color: var(--white); }
.article-content h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 12px; color: var(--white); }
.article-content p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 20px; color: var(--mid-grey); }
.article-content ul, .article-content ol { margin: 16px 0 24px 24px; line-height: 1.8; color: var(--mid-grey); }
.article-content li { margin-bottom: 8px; font-size: 1rem; }
.article-content a { color: var(--violet-light); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: var(--violet); }
.article-content strong { color: var(--white); }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--mid-grey); margin-bottom: 24px; padding-top: 100px; }
.breadcrumb a { color: var(--violet-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Info & tip boxes */
.info-box { background: rgba(124,58,237,0.06); border-left: 4px solid var(--violet); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.info-box p { margin-bottom: 8px; font-size: 0.95rem; color: var(--mid-grey); }
.info-box p:last-child { margin-bottom: 0; }

.tip-box { background: rgba(167,139,250,0.06); border-left: 4px solid var(--violet-light); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.tip-box p { margin-bottom: 8px; font-size: 0.95rem; color: var(--mid-grey); }
.tip-box p:last-child { margin-bottom: 0; }

/* Quick facts table */
.quick-facts { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; }
.quick-facts th { text-align: left; padding: 12px 16px; background: var(--violet); color: #fff; font-weight: 600; }
.quick-facts td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--mid-grey); }
.quick-facts tr:nth-child(even) td { background: var(--surface); }

/* Article CTA */
.article-cta { background: linear-gradient(135deg, var(--violet-dark), var(--violet)); color: #fff; padding: 32px; border-radius: var(--radius-lg); margin: 40px 0; text-align: center; }
.article-cta h3 { font-size: 1.3rem; margin-bottom: 10px; color: #fff; }
.article-cta p { color: rgba(255,255,255,0.8); margin-bottom: 20px; font-size: 0.95rem; }

/* Author box */
.author-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin: 40px 0; }
.author-box h4 { font-size: 1rem; color: var(--white); margin-bottom: 6px; }
.author-box p { font-size: 0.9rem; color: var(--mid-grey); margin-bottom: 0; }

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .article-content { padding: 80px 0 48px; }
    .breadcrumb { padding-top: 80px; }
}
