/*
Theme Name: Spandhanam Clean Homepage
Theme URI: https://spandhanam.in/
Author: Spandhanam
Description: Spandhanam theme with plugin-powered homepage, site header on inner pages, and dark maroon footer.
Version: 1.2.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: spandhanam-clean
*/
:root{--sp-red:#c9152a;--sp-maroon:#790b16;--sp-dark:#20232a;--sp-muted:#687080;--sp-light:#fff5f6;--sp-border:#f0dfe2}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--sp-dark);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;background:#fff}img{max-width:100%;height:auto}a{color:var(--sp-red)}.site-main{min-height:50vh}
/* Footer uses the same deep maroon pattern as the existing Spandhanam design. */
.spandhanam-footer{margin-top:0;background:#790b16;color:#fff}.sp-footer-main{max-width:1160px;margin:auto;padding:48px 22px 32px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px}.sp-footer-brand{font-size:27px;font-weight:800;letter-spacing:-.5px;color:#fff}.sp-footer-tagline{margin:7px 0;color:#f4dfe1}.sp-footer-title{margin:0 0 13px;font-size:16px;color:#fff}.sp-footer-links{list-style:none;padding:0;margin:0}.sp-footer-links li{margin:7px 0}.sp-footer-links a{color:#f4e9ea;text-decoration:none}.sp-footer-links a:hover{color:#ffb4bd;text-decoration:underline}.sp-footer-bottom{border-top:1px solid rgba(255,255,255,.2);text-align:center;padding:15px 18px;font-size:13px;color:#f0d6d9}.sp-footer-bottom p{margin:0}.entry-content{max-width:1160px;margin:36px auto;padding:0 22px}.entry-title{max-width:1160px;margin:35px auto 0;padding:0 22px;font-size:clamp(28px,4vw,40px)}.sp-missing-shortcode{margin:32px auto;padding:24px;max-width:900px;background:var(--sp-light);border:1px solid var(--sp-border);border-radius:12px}.sp-missing-shortcode code{font-size:1em}
/* Header for inner pages; the plugin homepage retains its own header/design. */
.sp-site-header{position:relative;z-index:20;background:#fff;border-bottom:1px solid #f0dfe2;box-shadow:0 2px 10px rgba(50,0,10,.05)}
.sp-header-inner{max-width:1200px;margin:0 auto;padding:10px 22px;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.sp-header-logo{display:flex;align-items:center;flex-shrink:0}.sp-header-logo img{display:block;width:auto;max-width:230px;max-height:64px;object-fit:contain}
.sp-primary-navigation{margin-left:auto}.sp-primary-menu{display:flex;align-items:center;gap:24px;list-style:none;padding:0;margin:0}.sp-primary-menu li{margin:0}.sp-primary-menu a{color:#29212a;text-decoration:none;font-weight:650;font-size:15px}.sp-primary-menu a:hover{color:var(--sp-red)}
.sp-menu-toggle{display:none;border:0;background:var(--sp-maroon);color:#fff;border-radius:8px;padding:9px 12px;font-size:22px;line-height:1;cursor:pointer}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.sp-header-inner{min-height:70px;padding:8px 16px}.sp-header-logo img{max-width:190px;max-height:54px}.sp-menu-toggle{display:block}.sp-primary-navigation{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #f0dfe2;box-shadow:0 8px 12px rgba(0,0,0,.08);padding:12px 18px}.sp-primary-navigation.is-open{display:block}.sp-primary-menu{display:flex;align-items:stretch;flex-direction:column;gap:0}.sp-primary-menu li{border-bottom:1px solid #f5e8ea}.sp-primary-menu li:last-child{border-bottom:0}.sp-primary-menu a{display:block;padding:11px 4px}.sp-footer-main{grid-template-columns:1fr;gap:24px;padding:34px 20px 26px}.entry-content{padding:0 16px}}
