/* SOLARguide Core: neutral styles that inherit the theme's fonts and colors. */
:root {
  --sg-accent: #d97706;
  --sg-accent-ink: #fff;
  --sg-line: rgba(0, 0, 0, .12);
  --sg-soft: rgba(217, 119, 6, .07);
  --sg-radius: 10px;
}
.sg-box { border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 1.1rem 1.25rem; margin: 1.5rem 0; }
.sg-btn { background: var(--sg-accent); color: var(--sg-accent-ink); border: 0; border-radius: 8px; padding: .7rem 1.1rem; font-weight: 600; cursor: pointer; }
.sg-btn:hover, .sg-btn:focus-visible { filter: brightness(.92); }
.sg-fine { font-size: .85em; opacity: .8; }
.sg-crumbs ol { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85em; }
.sg-crumbs li + li::before { content: "›"; margin-right: .35rem; opacity: .6; }
.sg-byline { font-size: .85em; opacity: .85; margin-bottom: 1.25rem; }
.sg-takeaways { background: var(--sg-soft); border-color: transparent; }
.sg-takeaways ul { margin: .5rem 0 0 1.1rem; }
.sg-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: var(--sg-soft); border-color: transparent; }
.sg-cta p { margin: .25rem 0 0; }
.sg-cta__title { font-size: 1.1em; }
.sg-cta__form, .sg-zipbar__row { display: flex; gap: .5rem; }
.sg-cta__form input, .sg-zipbar input { width: 9rem; padding: .6rem; border: 1px solid var(--sg-line); border-radius: 8px; }
.sg-zipbar label { display: block; font-weight: 600; margin-bottom: .5rem; }
.sg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .85rem 1rem; }
.sg-grid label { display: flex; flex-direction: column; gap: .3rem; font-size: .9em; font-weight: 600; }
.sg-grid input, .sg-grid select { font-weight: 400; padding: .55rem; border: 1px solid var(--sg-line); border-radius: 8px; }
.sg-quote__title { margin-top: 0; }
.sg-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .82em; margin: 1rem 0; }
.sg-hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.sg-error { color: #b91c1c; font-weight: 600; }
.sg-thanks { background: #ecfdf5; border-color: #a7f3d0; }
.sg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.sg-card { display: block; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 1rem; text-decoration: none; color: inherit; }
.sg-card:hover, .sg-card:focus-visible { border-color: var(--sg-accent); }
.sg-card p { margin: .4rem 0 0; font-size: .9em; opacity: .85; }
.sg-related ul { margin: .5rem 0 0 1.1rem; }
.sg-authorbox { font-size: .9em; }
.sg-calc__note { font-size: .88em; margin: 1rem 0; }
.sg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.sg-stat { background: var(--sg-soft); border-radius: 8px; padding: .75rem; }
.sg-stat span { display: block; font-size: .8em; opacity: .8; }
.sg-stat strong { font-size: 1.25em; }
.sg-table table { width: 100%; border-collapse: collapse; font-size: .9em; }
.sg-table th, .sg-table td { border-bottom: 1px solid var(--sg-line); padding: .5rem; text-align: left; vertical-align: top; }
.sg-menu-cta > a { background: var(--sg-accent); color: var(--sg-accent-ink) !important; border-radius: 8px; padding: .4rem .9rem !important; }
.sg-block { display:flex; flex-direction:column; gap:.3rem; font-size:.9em; font-weight:600; margin-top:.85rem; }
.sg-block textarea { font-weight:400; padding:.55rem; border:1px solid var(--sg-line); border-radius:8px; }
.sg-contact .sg-btn { margin-top:1rem; }
