/* Base Styles */
:root {
--primary: #2A5CFF; // Trustworthy blue
--accent: #FF6B6B; // Vibrant CTA color
--text: #2D3748; // High-contrast text
--background: #FFFFFF;
--soft-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: var(--text);
background: var(--background);
}
/* Header */
.blog-header {
padding: 1rem 0;
background: var(--background);
box-shadow: var(--soft-shadow);
position: sticky;
top: 0;
z-index: 100;
}
.logo {
font-size: 1.8rem;
font-weight: 700;
color: var(--primary);
}
/* Navigation */
.main-nav {
padding: 1rem 0;
background: rgba(255, 255, 255, 0.95);
}
.nav-link {
color: var(--text);
margin: 0 1rem;
font-weight: 500;
}
/* Featured Post Slider (Above the Fold) */
.featured-slider {
background: linear-gradient(135deg, #F8FAFF 0%, #F0F4FF 100%);
padding: 3rem 0;
border-radius: 12px;
margin: 2rem 0;
}
/* Article Grid Layout */
.post-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin: 2rem 0;
}
.post-card {
background: white;
border-radius: 8px;
padding: 1.5rem;
box-shadow: var(--soft-shadow);
transition: transform 0.2s;
}
.post-card:hover {
transform: translateY(-5px);
}
/* AdSense Ad Placements */
.ad-banner {
margin: 2rem auto;
text-align: center;
padding: 1rem;
background: #F8F9FE;
border-radius: 8px;
}
/* Sidebar Widgets */
.sidebar {
background: #F8F9FE;
padding: 1.5rem;
border-radius: 12px;
}
.newsletter-box {
background: var(--primary);
color: white;
padding: 1.5rem;
border-radius: 8px;
}
/* Footer */
.blog-footer {
background: #1A202C;
color: white;
padding: 3rem 0;
margin-top: 4rem;
}