/* WikiGoiás — fallback local dos componentes do padrão oficial.
   O CSS oficial wikigoias-core.css é carregado depois e prevalece quando disponível. */
.wg-cluster{max-width:1200px;margin:48px auto 0;padding:28px 20px;border-top:1px solid #dfe3e8}
.wg-cluster h2{font-size:1.35rem;line-height:1.3;margin:0 0 16px}
.wg-cluster-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.wg-cluster a{display:block;padding:10px 12px;border:1px solid #dfe3e8;border-radius:8px;text-decoration:none;color:inherit;background:#fff}
.wg-cluster a:hover{text-decoration:underline}

.wg-share{max-width:1000px;margin:48px auto;padding:22px;border:1px solid #dfe3e8;border-radius:12px;background:#f8f9fa;color:#212529}
.wg-share-inner{display:grid;grid-template-columns:minmax(190px,230px) minmax(0,1fr);gap:22px 34px;align-items:center}
.wg-share-kicker{font-weight:700;margin:0 0 2px;line-height:1.25}
.wg-share-text{margin:0;color:#495057;line-height:1.45}
.wg-share-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;max-width:500px}
.wg-share-actions a,.wg-share-actions button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:9px 14px;border:1px solid #d7dce2;border-radius:999px;background:#fff;color:#111827;font:inherit;font-weight:600;line-height:1;text-decoration:none;cursor:pointer}
.wg-share-actions a:hover,.wg-share-actions button:hover{border-color:#9ca3af;text-decoration:none}
.wg-share-status{grid-column:1/-1;min-height:1em;margin:0;color:#495057;font-size:.86rem}

.wg-footer{margin-top:48px;padding:32px 20px;background:#111827;color:#e5e7eb}
.wg-footer-inner{max-width:1200px;margin:auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}
.wg-footer strong{color:#fff}.wg-footer p{margin:.35rem 0;line-height:1.55}.wg-footer a{color:#fff}
.wg-footer ul{list-style:none;padding:0;margin:8px 0}.wg-footer li{margin:7px 0}
.wg-footer-bottom{max-width:1200px;margin:24px auto 0;padding-top:18px;border-top:1px solid #374151;font-size:.9rem}

.faq-item{border:1px solid var(--border-color,#dee2e6);margin-bottom:.75rem;border-radius:4px;background-color:var(--bg-secondary,#f8f9fa);overflow:hidden}
.faq-question{padding:1rem;width:100%;text-align:left;background:none;border:0;color:var(--text-primary,#212529);font-size:1.05rem;font-weight:700;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-question span{flex:0 0 auto;font-size:1.25rem;line-height:1}
.faq-answer{padding:0 1rem 1rem;color:var(--text-secondary,#495057);display:none}
.faq-answer p:last-child{margin-bottom:0}.faq-item.is-open .faq-answer{display:block}

[data-theme="dark"] .wg-cluster{border-top-color:#444}[data-theme="dark"] .wg-cluster a{background:#1e1e1e;border-color:#444}
[data-theme="dark"] .wg-share{background:#1e1e1e;border-color:#444;color:#f8f9fa}[data-theme="dark"] .wg-share-text,[data-theme="dark"] .wg-share-status{color:#ced4da}
[data-theme="dark"] .wg-share-actions a,[data-theme="dark"] .wg-share-actions button{background:#2d2d2d;border-color:#555;color:#f8f9fa}
@media(max-width:760px){.wg-cluster-grid{grid-template-columns:1fr}.wg-share{margin:34px 16px}.wg-share-inner{grid-template-columns:1fr}.wg-share-actions{justify-content:flex-start}.wg-footer-inner{grid-template-columns:1fr}}
@media(max-width:460px){.wg-share-actions a,.wg-share-actions button{flex:1 1 calc(50% - 10px)}}
