@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

*{margin:0;padding:0;box-sizing:border-box}
body{background:#f3f2f2;color:#1d1d1d;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;line-height:1.7}
img{max-width:100%;height:auto;display:block}
a{color:#2563eb;text-decoration:none}
a:hover{color:#1d4ed8}
h1,h2,h3,h4,h5,h6{font-family:'Space Grotesk',system-ui,sans-serif;font-weight:700;line-height:1.3}

.container{max-width:1060px;margin:0 auto;padding:0 24px}

/* Header */
.site-header{background:#f3f2f2;border-bottom:1px solid #e5e5e5;padding:20px 0}
.header-inner{display:flex;flex-direction:column;align-items:center;gap:16px}
.site-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#1d1d1d}
.site-logo img{max-width:100%;height:auto}
.site-title,.site-tagline{display:none}
.nav-menu{display:flex;gap:20px;align-items:center;flex-wrap:wrap;justify-content:center}
.nav-menu a{color:#1d1d1d;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:0.5px;text-decoration:none;transition:color .2s}
.nav-menu a:hover,.nav-menu a.active{color:#2563eb}

/* Hamburger */
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px}
.menu-toggle span{display:block;width:24px;height:2px;background:#1d1d1d;margin:5px 0;transition:all .3s}
.menu-toggle.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

@media(max-width:768px){
.menu-toggle{display:block;position:absolute;left:24px;top:26px}
.nav-menu{display:none;flex-direction:column;width:100%;gap:0;padding:12px 0}
.nav-menu.open{display:flex}
.nav-menu a{padding:10px 0;border-bottom:1px solid #e5e5e5}
.site-header{position:relative}
}

/* Hero — Style 5 Split */
.hero{background:#ffffff;padding:0;overflow:hidden}
.hero .container{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0;max-width:1060px}
.hero-image{overflow:hidden}
.hero-image img{width:100%;height:100%;object-fit:cover}
.hero-text{display:flex;flex-direction:column;justify-content:center;padding:48px 40px}
.hero-text h1{font-size:2rem;margin-bottom:12px;color:#1d1d1d}
.hero-text .tagline{font-size:1.05rem;color:#555;margin-bottom:16px;font-style:italic}
.hero-text .intro{font-size:0.95rem;color:#444;line-height:1.7}

@media(max-width:768px){
.hero .container{grid-template-columns:1fr}
.hero-image{max-height:280px}
.hero-text{padding:28px 24px}
.hero-text h1{font-size:1.5rem}
}

/* Cards */
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:48px 0}
@media(max-width:900px){.posts-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.posts-grid{grid-template-columns:1fr}}

.card{background:#ffffff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.08);transition:box-shadow .2s}
.card:hover{box-shadow:0 4px 12px rgba(0,0,0,0.12)}
.card a{text-decoration:none;color:inherit;display:block}
.card-image{overflow:hidden;background:#e5e5e5}
.card-image img{width:100%;height:auto}
.card-body{padding:20px}
.card-category{font-size:11px;text-transform:uppercase;letter-spacing:0.5px;color:#2563eb;font-weight:600;margin-bottom:8px}
.card-body h3{font-size:1.05rem;margin-bottom:8px;color:#1d1d1d;line-height:1.4}
.card-body p{font-size:0.85rem;color:#666;line-height:1.6}
.card-meta{font-size:0.75rem;color:#999;margin-top:10px}

/* Article */
.article-header{text-align:center;padding:48px 24px 24px;max-width:700px;margin:0 auto}
.article-header h1{font-size:2rem;margin-bottom:12px}
.article-meta{font-size:0.85rem;color:#888;margin-bottom:8px}
.article-category{font-size:11px;text-transform:uppercase;letter-spacing:0.5px;color:#2563eb;font-weight:600}
.article-image{max-width:700px;margin:0 auto;padding:0 24px;background:#e5e5e5;border-radius:8px;overflow:hidden}
.article-image img{width:100%;height:auto}
.article-content{max-width:700px;margin:0 auto;padding:32px 24px 48px}
.article-content h2{font-size:1.4rem;margin:32px 0 16px;color:#1d1d1d}
.article-content p{margin-bottom:16px;font-size:1rem;line-height:1.8}
.article-content a{color:#2563eb;text-decoration:underline;text-decoration-color:rgba(37,99,235,0.3);text-underline-offset:3px}
.article-content a:hover{text-decoration-color:#2563eb}

/* Related Posts */
.related-posts{max-width:700px;margin:0 auto;padding:0 24px 48px}
.related-posts h3{font-size:1.2rem;margin-bottom:20px}
.related-grid{display:grid;grid-template-columns:1fr;gap:20px}

/* Category Page */
.category-header{text-align:center;padding:48px 24px 0}
.category-header h1{font-size:2rem;margin-bottom:8px}
.category-header p{color:#666;font-size:1rem}

/* Standard Pages */
.page-header{text-align:center;padding:48px 24px 24px}
.page-header h1{font-size:2rem;margin-bottom:8px}
.page-content{max-width:700px;margin:0 auto;padding:0 24px 48px}
.page-content h2{font-size:1.3rem;margin:28px 0 14px}
.page-content p{margin-bottom:14px;line-height:1.8}
.page-content ul{margin:0 0 14px 24px}
.page-content li{margin-bottom:6px;line-height:1.7}
.page-content a{color:#2563eb;text-decoration:underline;text-decoration-color:rgba(37,99,235,0.3);text-underline-offset:3px}

/* Footer */
.site-footer{background:#f3f2f2;border-top:1px solid #e5e5e5;padding:40px 0 24px;color:#1d1d1d;margin-top:48px}
.footer-inner{display:grid;grid-template-columns:1fr 1fr 1fr;gap:32px}
@media(max-width:768px){.footer-inner{grid-template-columns:1fr;text-align:center}}
.footer-col h4{font-size:0.85rem;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:12px;font-family:'Space Grotesk',system-ui,sans-serif}
.footer-col a{color:#1d1d1d;font-size:0.85rem;display:block;margin-bottom:6px;text-decoration:none}
.footer-col a:hover{color:#2563eb}
.footer-col p{font-size:0.8rem;color:#666;line-height:1.6}
.footer-bottom{text-align:center;margin-top:32px;padding-top:20px;border-top:1px solid #e5e5e5;font-size:0.75rem;color:#999}
