/*
Theme Name: DecorPulse Pro
Theme URI: https://example.com
Author: Custom Developer
Description: A lightning-fast, minimalist Pinterest and Mediavine optimized WordPress theme for Home Decor blogs.
Version: 1.0
Text Domain: decorpulse
*/

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: #fcfbfa; color: #222; line-height: 1.7; }
a { text-decoration: none; color: inherit; }

/* Header Styling */
.site-header { background: #fff; border-bottom: 1px solid #eee; padding: 25px 0; text-align: center; position: sticky; top: 0; z-index: 100; }
.site-title a { font-size: 30px; font-weight: 800; color: #111; letter-spacing: -0.5px; text-transform: uppercase; }
.main-navigation { margin-top: 12px; }
.main-navigation ul { list-style: none; display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.main-navigation a { font-size: 14px; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.2s; }
.main-navigation a:hover { color: #111; }

/* Main Container & Grid */
.container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 35px; }
.post-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.2s ease, box-shadow 0.2s ease; border: 1px solid #f0f0f0; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.06); }
.post-thumbnail img { width: 100%; height: 420px; object-fit: cover; display: block; }
.post-content { padding: 25px; }
.post-content h2 { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.post-content h2 a:hover { color: #555; }
.excerpt p { font-size: 15px; color: #666; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Single Post Styling */
.single-post-container { max-width: 800px; margin: 0 auto; background: #fff; padding: 50px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #f0f0f0; }
.single-post-container h1 { font-size: 36px; font-weight: 800; line-height: 1.3; margin-bottom: 25px; color: #111; }
.post-body { font-size: 18px; color: #333; line-height: 1.8; }
.post-body p { margin-bottom: 25px; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }

/* Ad Containers for AdSense / Mediavine */
.in-content-ad { margin: 35px 0; text-align: center; background: #f9f9f9; padding: 20px; border-radius: 8px; border: 1px dashed #ddd; font-size: 13px; color: #888; }

/* Footer Styling */
.site-footer { background: #111; color: #aaa; text-align: center; padding: 50px 0; margin-top: 80px; font-size: 14px; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; }

/* Responsive Layout */
@media(max-width: 768px) {
    .single-post-container { padding: 25px; }
    .single-post-container h1 { font-size: 28px; }
    .posts-grid { grid-template-columns: 1fr; }
}