/* FSBO Sandpoint — Shared Area Page Styles */
/* Source: extracted from dover-idaho.html (most complete page) */
/* Build: copied to project root by build.py */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --s50:#fafaf9;--s100:#f5f5f4;--s200:#e7e5e4;--s300:#d6d3d1;
  --s400:#a8a29e;--s500:#78716c;--s600:#57534e;--s700:#44403c;
  --s800:#292524;--s900:#1c1917;--forest:#2d5016;--forest-l:#3d6b1f;--ww:#fefdfb
}
html{scroll-behavior:smooth}
body{font-family:'Inter',-apple-system,sans-serif;color:var(--s800);background:var(--ww);line-height:1.6;-webkit-font-smoothing:antialiased}

/* Nav — matches index.html */
nav{position:fixed;top:0;left:0;right:0;z-index:100;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;transition:all .4s;background:rgba(254,253,251,.95);backdrop-filter:blur(20px);box-shadow:0 1px 0 rgba(0,0,0,.06)}
.nav-logo{font-family:'Playfair Display',serif;font-size:1.25rem;font-weight:600;color:var(--s800);text-decoration:none;letter-spacing:-.02em}
.nav-links{display:flex;gap:2rem;align-items:center}
.nav-links a{color:var(--s600);text-decoration:none;font-size:.875rem;font-weight:500;letter-spacing:.02em;transition:color .3s}
.nav-links a:hover{color:var(--s900)}
.nav-links a.active{color:var(--s900);font-weight:600}
.nav-cta{background:var(--forest);color:#fff !important;padding:.5rem 1.25rem;border-radius:6px;font-weight:600}

/* Article Hero */
.article-hero{padding:8rem 4rem 4rem;max-width:820px;margin:0 auto}
.article-breadcrumb{font-size:.75rem;color:var(--s400);margin-bottom:1.5rem;letter-spacing:.02em}
.article-breadcrumb a{color:var(--s500);text-decoration:none}
.article-breadcrumb a:hover{color:var(--forest)}
.article-hero h1{font-family:'Playfair Display',serif;font-size:clamp(2rem,4vw,3rem);font-weight:600;color:var(--s900);line-height:1.12;letter-spacing:-.03em;margin-bottom:1rem}
.article-meta{font-size:.8rem;color:var(--s400);margin-bottom:2rem;display:flex;gap:1.5rem;flex-wrap:wrap}
.article-meta span{display:flex;align-items:center;gap:.35rem}
.article-definition{background:var(--s50);border-left:3px solid var(--forest);padding:1.5rem 2rem;border-radius:0 8px 8px 0;font-size:.95rem;line-height:1.75;color:var(--s700);margin-bottom:0}
.article-definition strong{color:var(--s900)}

/* Article Body */
.article-body{max-width:820px;margin:0 auto;padding:3rem 4rem 6rem}
.article-body p{font-size:1.02rem;line-height:1.85;color:var(--s700);margin-bottom:1.25rem}
.article-body h2{font-family:'Playfair Display',serif;font-size:1.75rem;font-weight:500;color:var(--s900);margin-top:3.5rem;margin-bottom:1.25rem;letter-spacing:-.02em;line-height:1.2;padding-top:2rem;border-top:1px solid var(--s200)}
.article-body h2:first-of-type{border-top:none;padding-top:0;margin-top:0}
.article-body h3{font-size:1.15rem;font-weight:600;color:var(--s800);margin-top:2.25rem;margin-bottom:.75rem;line-height:1.3}
.article-body a{color:var(--forest);text-decoration:underline;text-decoration-color:rgba(45,80,22,.3);text-underline-offset:2px;transition:text-decoration-color .2s}
.article-body a:hover{text-decoration-color:var(--forest)}
.article-body ul,.article-body ol{margin:1rem 0 1.5rem 1.5rem;color:var(--s700)}
.article-body li{margin-bottom:.6rem;font-size:.95rem;line-height:1.7}
.article-body li strong{color:var(--s800)}
.article-body strong{color:var(--s800)}
.article-body blockquote{border-left:3px solid var(--forest);padding:1rem 1.5rem;background:var(--s50);border-radius:0 8px 8px 0;margin:1.5rem 0;font-style:italic;color:var(--s600)}

/* Tables */
.article-body table{width:100%;border-collapse:collapse;margin:1.5rem 0 2rem;font-size:.88rem}
.article-body thead th{background:var(--s900);color:#fff;padding:.75rem 1rem;text-align:left;font-weight:600;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}
.article-body tbody td{padding:.65rem 1rem;border-bottom:1px solid var(--s200);color:var(--s700);vertical-align:top}
.article-body tbody tr:hover{background:var(--s50)}
.article-body tbody td:first-child{font-weight:600;color:var(--s800);white-space:nowrap}

/* Quick Reference Box */
.quick-ref{background:var(--s50);border:1px solid var(--s200);border-radius:12px;padding:2rem 2.5rem;margin:2rem 0 2.5rem}
.quick-ref h3{font-family:'Playfair Display',serif;font-size:1.2rem;font-weight:600;color:var(--s900);margin-top:0;margin-bottom:1rem}
.quick-ref ul{margin:0 0 0 1.25rem}
.quick-ref li{margin-bottom:.5rem;font-size:.92rem;line-height:1.65}

/* Image Placeholders */
.img-placeholder{position:relative;width:100%;border-radius:12px;overflow:hidden;margin:2rem 0;border:2px dashed var(--s300);background:var(--s50);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:280px;transition:border-color .3s}
.img-placeholder:hover{border-color:var(--forest)}
.img-placeholder-icon{width:48px;height:48px;border-radius:50%;background:var(--s200);display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.img-placeholder-icon svg{color:var(--s400);width:24px;height:24px}
.img-placeholder-label{font-size:.85rem;font-weight:600;color:var(--s600);margin-bottom:.25rem}
.img-placeholder-desc{font-size:.75rem;color:var(--s400);max-width:320px;line-height:1.5}
.img-placeholder-spec{position:absolute;top:.75rem;right:.75rem;background:var(--s200);padding:.2rem .6rem;border-radius:4px;font-size:.65rem;font-weight:600;color:var(--s500);letter-spacing:.03em}
.img-placeholder img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}
.img-placeholder.has-image{border:none;min-height:auto}
.img-placeholder.has-image .img-placeholder-icon,
.img-placeholder.has-image .img-placeholder-label,
.img-placeholder.has-image .img-placeholder-desc,
.img-placeholder.has-image .img-placeholder-spec{display:none}
.img-placeholder.hero-img{min-height:400px;margin:2.5rem 0}
.img-pair{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:2rem 0}
.img-pair .img-placeholder{margin:0;min-height:220px}

/* FAQ — Simple (non-accordion) */
.faq-section{margin-top:3rem}
.faq-item h3{font-size:1.1rem;font-weight:600;color:var(--s900);margin-bottom:.5rem;margin-top:0}
.faq-item p{margin-bottom:.5rem}

/* FAQ — Accordion */
.faq-item{border:1px solid var(--s200);border-radius:8px;margin-bottom:.75rem;overflow:hidden}
.faq-item summary{padding:1.25rem 1.5rem;font-size:1.05rem;font-weight:600;color:var(--s900);cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;transition:background .2s}
.faq-item summary:hover{background:var(--s50)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';font-size:1.4rem;font-weight:300;color:var(--s400);transition:transform .2s}
.faq-item[open] summary::after{content:'\2212'}
.faq-item .faq-answer{padding:0 1.5rem 1.25rem;font-size:.95rem;line-height:1.8;color:var(--s700)}

/* Fit Profiles */
.fit-profiles{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:2rem 0}
.fit-card{background:var(--s50);border:1px solid var(--s200);border-radius:12px;padding:1.75rem 2rem}
.fit-card h4{font-family:'Playfair Display',serif;font-size:1.1rem;font-weight:600;color:var(--s900);margin-bottom:.75rem}
.fit-card p{font-size:.92rem;line-height:1.7;color:var(--s700);margin-bottom:0}

/* CTA Banner */
.article-cta{background:linear-gradient(135deg,var(--forest) 0%,#1a3a0a 100%);padding:3.5rem 4rem;margin:0;color:#fff;text-align:center}
.article-cta-inner{max-width:700px;margin:0 auto}
.article-cta h2{font-family:'Playfair Display',serif;font-size:1.75rem;font-weight:500;margin-bottom:1rem;color:#fff;border:none;padding:0}
.article-cta p{color:rgba(255,255,255,.75);font-size:1rem;line-height:1.7;margin-bottom:1.5rem}
.article-cta-btn{display:inline-block;background:#fff;color:var(--forest);padding:.75rem 2rem;border-radius:8px;font-weight:600;font-size:.95rem;text-decoration:none;transition:all .3s}
.article-cta-btn:hover{background:var(--s100);transform:translateY(-1px)}

/* Footer — matches index.html */
footer{padding:2.5rem 4rem;text-align:center;color:var(--s400);font-size:.78rem;border-top:1px solid var(--s100)}
footer a{color:var(--s500);text-decoration:none}

/* Responsive */
@media(max-width:1024px){
  .img-pair{grid-template-columns:1fr}
  .table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .table-scroll table{min-width:900px}
  .fit-profiles{grid-template-columns:1fr}
}
@media(max-width:768px){
  .article-hero{padding:6rem 1.5rem 2.5rem}
  .article-body{padding:2rem 1.5rem 4rem}
  .article-cta{padding:3rem 1.5rem}
  .article-body h2{font-size:1.5rem}
  .article-body table{font-size:.8rem}
  .article-body thead th{padding:.5rem .6rem}
  .article-body tbody td{padding:.5rem .6rem}
  .nav-links{display:none}
  .img-placeholder{min-height:200px}
  .img-placeholder.hero-img{min-height:260px}
  .img-pair .img-placeholder{min-height:180px}
  .quick-ref{padding:1.5rem}
  .fit-profiles{grid-template-columns:1fr}
  .fit-card{padding:1.25rem 1.5rem}
}
