/* ============================================
   DUBLINROOFING.IE — BLOG STYLES
   Extends style.css with article-specific layout
============================================ */

.blog-hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    padding: 80px 0 60px; color: var(--white); text-align: center;
}
.blog-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.blog-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto; }

.blog-grid-section { padding: 60px 0 80px; background: var(--cream); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.blog-card {
    background: var(--white); border: 1px solid var(--grey-light);
    border-radius: var(--radius-lg); padding: 28px;
    transition: all 0.2s ease; display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--orange-dark); background: rgba(232,113,58,0.12);
    padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; width: fit-content;
}
.blog-card h2 { font-size: 1.15rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; line-height: 1.35; }
.blog-card h2 a { color: inherit; transition: color 0.2s; }
.blog-card h2 a:hover { color: var(--orange-dark); }
.blog-card p { font-size: 0.9rem; color: var(--grey); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.blog-card-link { font-size: 0.88rem; font-weight: 600; color: var(--orange-dark); }

.article-header {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    padding: 80px 0 60px; color: var(--white);
}
.article-header .container { max-width: 780px; }
.article-tag-top {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--orange); background: rgba(232,113,58,0.15);
    padding: 5px 14px; border-radius: 99px; margin-bottom: 20px;
}
.article-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
.article-header .article-meta { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

.article-body { padding: 60px 0 80px; background: var(--white); }
.article-body .container { max-width: 780px; }
.article-content h2 { font-size: 1.5rem; font-weight: 800; color: var(--blue-dark); margin: 40px 0 16px; line-height: 1.3; }
.article-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--blue-dark); margin: 28px 0 12px; }
.article-content p { font-size: 1rem; color: #374151; line-height: 1.75; margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 0 0 18px 24px; color: #374151; line-height: 1.75; }
.article-content li { margin-bottom: 8px; font-size: 1rem; }
.article-content strong { color: var(--text); }

.info-box {
    background: var(--cream); border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px; margin: 24px 0;
}
.info-box p { margin-bottom: 6px; }
.info-box p:last-child { margin-bottom: 0; }

.tip-box {
    background: rgba(43,76,126,0.06); border-left: 4px solid var(--blue-mid);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px; margin: 24px 0;
}
.tip-box p { margin-bottom: 6px; }
.tip-box p:last-child { margin-bottom: 0; }

.quick-facts { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; }
.quick-facts th, .quick-facts td { padding: 12px 18px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--grey-light); }
.quick-facts th { font-weight: 700; color: var(--blue-dark); width: 35%; background: rgba(43,76,126,0.06); }
.quick-facts td { color: #374151; }

.article-cta {
    background: var(--blue-dark); border-radius: var(--radius-lg);
    padding: 36px; margin: 40px 0; text-align: center; color: var(--white);
}
.article-cta h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; color: var(--white); }
.article-cta p { color: rgba(255,255,255,0.7); margin-bottom: 20px; font-size: 0.95rem; }

.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .article-header h1 { font-size: 1.6rem; } }
