/*
Theme Name: IPOGMP Emerald Finance
Theme URI: https://ipogmp.xyz/
Author: IPOGMP
Description: Responsive emerald-green finance and IPO news portal theme. Designed to work with WordPress content, IPOGMP Backend and Yoast SEO without adding duplicate schema.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: ipogmp-emerald
*/
:root{--green:#087443;--green-dark:#064b30;--green-soft:#eaf6ef;--ink:#17231d;--muted:#66756d;--line:#e3ebe6;--surface:#fff;--page:#f5f8f6;--gold:#eabf55;--radius:16px;--shadow:0 8px 28px rgba(9,55,32,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:var(--green);text-decoration:none}a:hover{color:var(--green-dark)}img{max-width:100%;height:auto}button,input{font:inherit}.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:5}.topline{background:var(--green-dark);color:#e9fff2;font-size:12px;padding:6px 0}.wrap{width:min(1160px,calc(100% - 36px));margin:auto}.topline .wrap{display:flex;justify-content:space-between;gap:15px}.brand-row{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:17px 0}.site-branding{display:flex;align-items:center;gap:12px;min-width:0}.custom-logo{max-height:48px;width:auto}.site-title{font-size:26px;font-weight:850;letter-spacing:-1px;color:var(--green-dark);line-height:1.15}.site-description{font-size:12px;color:var(--muted);margin-top:3px}.site-nav{background:var(--green);color:white}.site-nav .wrap{display:flex;align-items:center;justify-content:space-between;min-height:48px}.site-nav ul{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}.site-nav li{margin:0}.site-nav a{display:block;color:#fff;padding:12px 14px;font-weight:650;font-size:14px}.site-nav a:hover,.site-nav .current-menu-item>a{background:rgba(255,255,255,.14);color:#fff}.menu-fallback{display:flex;gap:4px;flex-wrap:wrap}.search-form{display:flex;gap:6px}.search-form input{width:180px;min-width:0;border:1px solid #d8e5dd;border-radius:9px;padding:8px 10px}.search-form button,.button{border:0;background:var(--green);color:white;border-radius:9px;padding:9px 14px;font-weight:700;cursor:pointer}.site-nav .search-form input{border:0}.site-nav .search-form button{background:var(--green-dark)}.hero{margin:26px 0 22px;background:linear-gradient(115deg,#064b30,#087443 62%,#16965c);border-radius:22px;color:#fff;padding:clamp(24px,5vw,48px);display:grid;grid-template-columns:1.4fr .8fr;gap:20px;align-items:center;overflow:hidden;position:relative}.hero:after{content:"₹";font-size:230px;line-height:1;color:rgba(255,255,255,.07);font-weight:900;position:absolute;right:6%;top:-22px}.hero h1{font-size:clamp(27px,4vw,43px);line-height:1.12;margin:0 0 12px;letter-spacing:-1.2px;color:#fff}.hero p{margin:0;color:#e2f5e9;max-width:650px}.hero .hero-tag{display:inline-block;background:rgba(255,255,255,.15);padding:5px 10px;border-radius:30px;font-size:12px;font-weight:800;letter-spacing:.5px;margin-bottom:12px}.hero-art{position:relative;z-index:1;justify-self:end;width:min(260px,100%);border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(255,255,255,.1);padding:18px}.hero-art strong{display:block;font-size:32px;color:#fff}.hero-art span{font-size:12px;color:#e2f5e9}.section{margin:28px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.section-head h2{font-size:22px;line-height:1.2;margin:0;color:var(--green-dark)}.section-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.section-link{font-size:13px;font-weight:750}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.quick-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:19px;box-shadow:var(--shadow);transition:.2s}.quick-card:hover{transform:translateY(-3px);border-color:#b5d9c3}.quick-icon{width:42px;height:42px;border-radius:12px;background:var(--green-soft);display:grid;place-items:center;font-size:21px;margin-bottom:12px}.quick-card h3{margin:0 0 5px;font-size:16px;color:var(--green-dark)}.quick-card p{margin:0;color:var(--muted);font-size:12px}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.post-card,.sidebar-widget,.article-content,.archive-header{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.post-card{overflow:hidden}.post-thumb{display:block;aspect-ratio:16/9;background:var(--green-soft);overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover;display:block}.post-body{padding:16px}.post-meta{font-size:11px;color:var(--muted);display:flex;gap:9px;flex-wrap:wrap;margin-bottom:7px}.post-body h3{font-size:17px;line-height:1.35;margin:0 0 8px}.post-body h3 a{color:var(--ink)}.post-body p{font-size:13px;color:var(--muted);margin:0}.sidebar-widget{padding:18px;margin-bottom:16px}.sidebar-widget h2,.sidebar-widget h3{font-size:16px;color:var(--green-dark);margin:0 0 12px}.sidebar-widget ul{margin:0;padding-left:18px}.sidebar-widget li{margin:7px 0;font-size:13px}.archive-header{padding:22px;margin-bottom:18px}.archive-header h1{font-size:28px;color:var(--green-dark);margin:0}.archive-header p{margin:6px 0 0;color:var(--muted)}.article-content{padding:clamp(20px,4vw,38px)}.article-content h1{font-size:clamp(28px,4vw,40px);line-height:1.2;color:var(--green-dark);margin:0 0 12px}.article-content h2,.article-content h3{color:var(--green-dark)}.article-content .entry-content{margin-top:22px}.article-content .entry-content a{text-decoration:underline}.featured-image{margin:20px 0}.featured-image img{border-radius:14px;width:100%}.pagination{margin:24px 0}.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{background:#fff;border:1px solid var(--line);border-radius:8px;padding:7px 12px}.page-numbers.current{background:var(--green);color:#fff}.site-footer{background:#063e28;color:#d7eee0;margin-top:48px;padding:34px 0 20px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:25px}.site-footer h2,.site-footer h3{color:#fff;margin:0 0 10px}.site-footer p,.site-footer li{font-size:13px;color:#c4dfcf}.site-footer a{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:25px;padding-top:14px;font-size:12px;color:#b8d7c5}.no-results{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.screen-reader-text{position:absolute;left:-9999px}.alignwide{max-width:1100px;margin-left:auto;margin-right:auto}.wp-block-image img{border-radius:12px}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%;border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid var(--line);padding:9px}.widget-area .widget{list-style:none}
@media(max-width:850px){.quick-grid{grid-template-columns:repeat(2,1fr)}.content-layout{grid-template-columns:1fr}.hero{grid-template-columns:1fr}.hero-art{justify-self:start;width:100%;max-width:330px}.footer-grid{grid-template-columns:1fr 1fr}.site-nav .wrap{align-items:flex-start;flex-direction:column;padding:5px 0}.site-nav ul{flex-wrap:wrap}.site-nav a{padding:9px 10px}}
@media(max-width:560px){.wrap{width:min(100% - 24px,1160px)}.topline .wrap{font-size:10px}.brand-row{padding:13px 0}.site-title{font-size:22px}.site-description{font-size:11px}.site-nav .wrap{gap:5px}.site-nav ul{gap:0}.site-nav a{font-size:12px;padding:8px}.site-nav .search-form{width:100%;padding:4px 0 7px}.site-nav .search-form input{flex:1;width:auto}.hero{margin:16px 0;border-radius:16px}.quick-grid{gap:10px}.quick-card{padding:14px}.quick-card h3{font-size:14px}.post-grid{grid-template-columns:1fr}.section-head h2{font-size:19px}.footer-grid{grid-template-columns:1fr}.article-content{padding:19px}.article-content h1{font-size:27px}}
