/* solaraespana — soft UI / pastel cards */
:root {
  --bg: #f4f5f7;
  --card-radius: 22px;
  --font: 'Nunito Sans', system-ui, sans-serif;
}
body.theme-soft { margin: 0; background: var(--bg); font-family: var(--font); color: #2d3436; }
.soft-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.soft-sidebar { background: #fff; border-right: 1px solid #e8eaed; padding: 1.25rem 1rem; position: sticky; top: 0; height: 100vh; }
.soft-profile { text-align: center; padding-bottom: 1.25rem; border-bottom: 1px solid #eee; margin-bottom: 1rem; }
.soft-avatar { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.soft-profile strong { display: block; font-size: .95rem; }
.soft-profile small { color: #888; font-size: .75rem; line-height: 1.3; display: block; margin-top: .25rem; }
.soft-nav-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: #aaa; margin: 1rem 0 .35rem; }
.soft-nav-item { display: flex; align-items: center; gap: .5rem; padding: .5rem .65rem; border-radius: 12px; color: #444; text-decoration: none; font-size: .88rem; font-weight: 600; }
.soft-nav-item:hover, .soft-nav-item.active { background: #f0f4ff; color: #3d5afe; }
.soft-topbar { grid-column: 2; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; background: #fff; border-bottom: 1px solid #e8eaed; position: sticky; top: 0; z-index: 10; }
.soft-crumb { font-size: .85rem; color: #888; }
.soft-search { display: flex; align-items: center; gap: .5rem; background: #f4f5f7; border-radius: 999px; padding: .45rem 1rem; min-width: 220px; }
.soft-search input { border: none; background: transparent; outline: none; width: 100%; font-size: .88rem; }
.soft-body { grid-column: 2; display: flex; flex-direction: column; min-width: 0; }
.soft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.soft-card { background: var(--card-tone, #fff); border-radius: var(--card-radius); box-shadow: 0 8px 24px rgba(0,0,0,.06); overflow: hidden; transition: transform .2s; }
.soft-card:hover { transform: translateY(-4px); }
.soft-card-promo { grid-column: 1 / -1; max-width: 100%; }
.soft-card-hd { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.1rem; font-weight: 700; font-size: .82rem; }
.soft-card-body { background: #fff; margin: 0 .65rem .65rem; border-radius: 16px; padding: 1rem 1.1rem 1.15rem; }
.soft-card-img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; margin-bottom: .75rem; }
.soft-card h2, .soft-card h3 { font-size: 1.05rem; line-height: 1.35; margin: .35rem 0; }
.soft-card h2 { font-size: 1.35rem; }
.soft-card a { color: inherit; text-decoration: none; }
.soft-card a:hover { color: #3d5afe; }
.soft-tag { display: inline-block; background: #fff3e0; color: #e65100; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: .5rem; }
.soft-btn { display: inline-block; margin-top: .75rem; background: #3d5afe; color: #fff !important; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.soft-time { font-size: .75rem; color: #999; display: block; margin-top: .5rem; }

.soft-main { padding: 1.5rem; flex: 1; }
.site-wrap { padding: 1.5rem; flex: 1; }
.cat-head { margin-bottom: 1.25rem; }
.cat-head h1 { font-weight: 800; margin: 0 0 .35rem; }
.cat-head p { color: #888; margin: 0; font-size: .92rem; }

.article-page { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem; background: #fff; border-radius: var(--card-radius); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.article-hero { width: 100%; border-radius: 16px; }
.ad-note { background: #fff8e1; border-radius: 12px; padding: 1rem; }

.theme-soft .ad-disclosure {
  margin: 0 0 1.25rem; padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #fff8e1, #fce4ec);
  border-radius: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.theme-soft .ad-disclosure-label {
  display: inline-block; font-size: .72rem; font-weight: 800; color: #e65100;
  background: #fff; padding: .2rem .65rem; border-radius: 999px; margin-bottom: .55rem;
}
.theme-soft .ad-disclosure-text { margin: 0; font-size: .88rem; line-height: 1.55; color: #555; }
.article-content .article-disclaimer { display: none; }

.legal-page { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem; }
.legal-page h1 { font-weight: 800; margin-bottom: 1rem; }
.legal-page h2 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; color: #3d5afe; }
.legal-page p { line-height: 1.65; color: #555; }
.site-footer { padding: 1.5rem; text-align: center; font-size: .85rem; color: #888; border-top: 1px solid #e8eaed; margin-top: 2rem; }
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #2d3436; color: #fff; padding: 1rem; display: flex; gap: 1rem; justify-content: center; align-items: center; z-index: 999; }
.site-quiz { background: #fff; border-radius: 16px; padding: 1.25rem; box-shadow: 0 4px 16px rgba(0,0,0,.06); margin: 1.5rem 0; }
.hidden { display: none !important; }
.quiz-progress { height: 6px; background: #e8eaed; border-radius: 3px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: #3d5afe; transition: width .35s ease; }
.site-quiz h2 { font-size: 1.15rem; margin-bottom: .75rem; }
.quiz-option.active { background: #3d5afe !important; border-color: #3d5afe !important; color: #fff !important; }
.quiz-radar-ring { width: 120px; height: 120px; border-radius: 50%; border: 8px solid #e8eaed; border-top-color: #3d5afe; margin: 1rem auto; animation: radarSpin 1.2s linear infinite; }
@keyframes radarSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .soft-shell { grid-template-columns: 1fr; }
  .soft-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid #e8eaed; }
  .soft-topbar, .soft-main { grid-column: 1; }
}
