/*
Theme Name: SugarPrice
Theme URI: https://sugarprice.in/
Author: SugarPrice.in
Description: A fast, accessible theme for sugar prices and market information in India.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sugarprice
*/
:root{--green:#145c3a;--green-dark:#103f2b;--mint:#eaf5ee;--ink:#17231d;--muted:#637169;--line:#dfe8e2;--paper:#fff;--soft:#f7faf8;--radius:16px;--shadow:0 12px 34px rgba(16,63,43,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}.site-header{border-bottom:1px solid var(--line);background:#fff}.header-inner,.container{width:min(1120px,calc(100% - 40px));margin-inline:auto}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:26px}.brand{color:var(--green-dark);font-size:1.24rem;font-weight:800;letter-spacing:-.04em}.brand-mark{display:inline-grid;place-items:center;width:32px;height:32px;margin-right:9px;border-radius:10px;background:var(--green);color:white;font-size:.95rem}.nav-wrap{display:flex;align-items:center;gap:22px}.primary-nav ul{display:flex;list-style:none;gap:22px;margin:0;padding:0}.primary-nav a{color:#36443b;font-size:.92rem;font-weight:600}.search-form{display:flex;gap:6px}.search-form input{width:150px;border:1px solid var(--line);border-radius:9px;padding:8px 10px}.search-form button,.button{border:0;border-radius:9px;background:var(--green);color:white;padding:9px 14px;font-weight:700;cursor:pointer}.menu-toggle{display:none;background:none;border:1px solid var(--line);border-radius:9px;padding:7px 10px;color:var(--green)}.hero{padding:74px 0 58px;background:radial-gradient(ellipse at 80% 18%,#d9efe1 0,transparent 34%),linear-gradient(135deg,#f5faf6,#fff 60%)}.eyebrow{color:var(--green);font-weight:750;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:46px;align-items:center}.hero h1{max-width:650px;font-size:clamp(2.35rem,5vw,4.2rem);line-height:1.08;letter-spacing:-.055em;margin:14px 0 18px;color:var(--green-dark)}.hero p{max-width:590px;color:#526258;font-size:1.12rem;margin:0 0 25px}.hero-links{display:flex;flex-wrap:wrap;gap:12px}.button.secondary{background:white;color:var(--green);border:1px solid var(--line)}.hero-card,.card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}.hero-card{padding:26px}.hero-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.badge{border-radius:99px;background:var(--mint);color:var(--green);font-size:.77rem;font-weight:700;padding:5px 10px}.price-empty{border-radius:12px;background:var(--soft);padding:22px;color:var(--muted);font-size:.95rem}.price-empty strong{display:block;color:var(--ink);margin-bottom:5px}.section{padding:62px 0}.section.soft{background:var(--soft)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.section h2{font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.2;letter-spacing:-.035em;margin:0 0 8px;color:var(--green-dark)}.section-head p,.section-intro{color:var(--muted);margin:0}.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.topic-card{padding:22px}.topic-card h3{margin:0 0 8px;font-size:1.08rem}.topic-card p{color:var(--muted);margin:0 0 15px;font-size:.95rem}.topic-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--mint);color:var(--green);font-weight:800;margin-bottom:17px}.split{display:grid;grid-template-columns:1fr 1fr;gap:22px}.content-panel{padding:26px}.content-panel p{color:var(--muted)}.faq details{border-bottom:1px solid var(--line);padding:16px 0}.faq summary{font-weight:700;cursor:pointer}.faq details p{margin:10px 0 0;color:var(--muted)}.page-layout{display:grid;grid-template-columns:minmax(0,760px) 280px;gap:44px;padding:48px 0}.entry-title{font-size:clamp(2rem,4vw,3rem);line-height:1.15;letter-spacing:-.045em;color:var(--green-dark);margin:0 0 12px}.entry-content{font-size:1.05rem}.entry-content h2,.entry-content h3{color:var(--green-dark);line-height:1.25;margin-top:1.8em}.entry-content img{max-width:100%;height:auto}.entry-content table,.price-table{width:100%;border-collapse:collapse}.entry-content th,.entry-content td,.price-table th,.price-table td{padding:12px;border:1px solid var(--line);text-align:left}.entry-content th,.price-table th{background:var(--soft)}.post-list{display:grid;gap:15px}.post-card{padding:20px}.post-card h2{margin:0 0 6px;font-size:1.25rem}.post-meta{font-size:.87rem;color:var(--muted)}.widget-area{color:var(--muted)}.breadcrumbs{font-size:.88rem;color:var(--muted);margin-bottom:14px}.breadcrumbs a{color:var(--green)}.site-footer{background:var(--green-dark);color:#e7f2eb;padding:44px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px}.site-footer a{color:#e7f2eb}.site-footer h2{font-size:1rem;color:white}.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}.footer-bottom{border-top:1px solid rgba(255,255,255,.18);margin-top:30px;padding-top:17px;font-size:.86rem;color:#bad0c2}.ad-slot{display:none;min-height:90px;border:1px dashed var(--line);border-radius:12px;margin:24px 0}.pagination{margin-top:25px}.pagination .nav-links{display:flex;gap:8px}.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}:focus-visible{outline:3px solid #91c5a6;outline-offset:3px}@media(max-width:850px){.header-inner{flex-wrap:wrap;padding:13px 0}.menu-toggle{display:block}.nav-wrap{display:none;flex-basis:100%;align-items:stretch;flex-direction:column;gap:14px;padding:8px 0 14px}.nav-wrap.is-open{display:flex}.primary-nav ul{flex-direction:column;gap:12px}.search-form input{flex:1}.hero-grid,.split{grid-template-columns:1fr}.hero{padding:52px 0 42px}.hero-card{max-width:560px}.page-layout{grid-template-columns:1fr}.widget-area{border-top:1px solid var(--line);padding-top:22px}}@media(max-width:600px){.container,.header-inner{width:min(100% - 30px,1120px)}.hero h1{font-size:2.55rem}.section{padding:45px 0}.section-head{align-items:start;flex-direction:column}.topic-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;gap:18px}.page-layout{padding:32px 0}.hero-card{padding:20px}}
