/* Foro de Descubre Magia: hereda el tema de la landing */
.foro-head{max-width:1100px;margin:0 auto;padding:4rem clamp(1rem,5vw,4rem) 1rem;text-align:center}
.foro-head h1{font-size:clamp(2.4rem,6vw,4rem);line-height:1.05}
.foro-head h1 i{color:var(--accent)}
.foro-head p{color:var(--muted);max-width:36rem;margin:1rem auto 0;font-size:1.1rem}
.cats{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;margin:2rem 0}
.cats a{border:1px solid rgba(255,255,255,.15);border-radius:999px;padding:.4rem 1rem;color:var(--muted);font-size:.9rem;transition:.2s}
.cats a:hover,.cats a.on{border-color:var(--accent);color:var(--fg);background:rgba(230,57,70,.12)}
.search{max-width:460px;margin:0 auto 2rem;display:flex;gap:.5rem}
.search input{flex:1;padding:.8rem 1.2rem;border-radius:999px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.05);color:var(--fg);font:inherit}
.posts{max-width:1100px;margin:0 auto;padding:0 clamp(1rem,5vw,4rem) 5rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.post-card{background:var(--bg2);border:1px solid rgba(255,255,255,.08);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;transition:transform .3s,border-color .3s}
.post-card:hover{transform:translateY(-5px);border-color:rgba(230,57,70,.5)}
.post-card .cover{aspect-ratio:16/9;background:linear-gradient(135deg,#1c1830,#0b0a12);display:flex;align-items:center;justify-content:center;font-size:3rem;color:var(--accent);overflow:hidden}
.post-card .cover img{width:100%;height:100%;object-fit:cover}
.post-card .body{padding:1.3rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.post-card h3{font-size:1.3rem;line-height:1.2}
.post-card p{color:var(--muted);font-size:.95rem;flex:1}
.meta{display:flex;gap:.6rem;align-items:center;font-size:.78rem;color:var(--muted);flex-wrap:wrap}
.tag{background:rgba(233,196,106,.12);color:var(--gold);border-radius:6px;padding:.1rem .5rem;font-weight:500}
.lvl{border:1px solid rgba(255,255,255,.15);border-radius:6px;padding:.1rem .5rem}
.empty{grid-column:1/-1;text-align:center;color:var(--muted);padding:3rem}
.big{grid-column:1/-1}
.big .post-card{flex-direction:row}
.big .cover{flex:1.1;aspect-ratio:auto;min-height:320px}
.big .body{flex:1;padding:2.5rem;justify-content:center}
.big h3{font-size:2rem}
/* Artículo */
.article{max-width:760px;margin:0 auto;padding:3rem clamp(1rem,5vw,2rem) 5rem}
.article .hero-img{width:100%;border-radius:18px;margin:1.5rem 0;box-shadow:0 30px 60px rgba(0,0,0,.4)}
.article h1{font-size:clamp(2rem,5vw,3.2rem);line-height:1.1;margin:.6rem 0 1rem}
.post-body{font-size:1.12rem;line-height:1.8;color:#ded9ea;margin-top:2rem}
.post-body h2,.post-body h3,.post-body h4{font-family:"Playfair Display",serif;color:var(--fg);margin:2.2rem 0 .8rem;line-height:1.2}
.post-body h2{font-size:1.8rem}.post-body h3{font-size:1.4rem}
.post-body p{margin-bottom:1.2rem}
.post-body ul,.post-body ol{margin:0 0 1.2rem 1.4rem}.post-body li{margin-bottom:.4rem}
.post-body blockquote{border-left:3px solid var(--accent);padding:.6rem 1.2rem;margin:1.5rem 0;color:var(--gold);font-style:italic;background:rgba(230,57,70,.06);border-radius:0 12px 12px 0}
.post-body img{max-width:100%;border-radius:14px;display:block;margin:1.5rem auto}
.post-body code{background:var(--bg2);padding:.1rem .4rem;border-radius:4px;font-size:.9em}
.post-body pre{background:var(--bg2);padding:1rem;border-radius:12px;overflow:auto;margin-bottom:1.2rem}
.post-body a{color:var(--gold);text-decoration:underline dotted}
.post-body hr{border:0;border-top:1px solid rgba(255,255,255,.1);margin:2rem 0}
.post-body .video{aspect-ratio:16/9;margin:1.5rem 0;border-radius:14px;overflow:hidden}
.post-body .video iframe{width:100%;height:100%;border:0}
.share{display:flex;gap:.6rem;flex-wrap:wrap;margin:2.5rem 0;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.08)}
.share a{border:1px solid rgba(255,255,255,.15);border-radius:999px;padding:.45rem 1rem;color:var(--muted);font-size:.85rem}
.share a:hover{border-color:var(--accent);color:var(--fg)}
.comments{margin-top:3rem}
.comments h2{font-size:1.8rem;margin-bottom:1.2rem}
.comment{background:var(--bg2);border-radius:14px;padding:1rem 1.3rem;margin-bottom:.8rem}
.comment.admin{border:1px solid rgba(233,196,106,.3)}
.comment.reply{margin-left:2rem}
.comment .who{font-weight:500;font-size:.9rem;display:flex;gap:.5rem;align-items:center}
.comment .who small{color:var(--muted);font-weight:400}
.comment p{color:#ded9ea;margin-top:.3rem;white-space:pre-line}
.cform{background:var(--bg2);border-radius:18px;padding:1.5rem;margin-top:1.5rem}
.cform h3{margin-bottom:.5rem}
.cform .row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.cform input,.cform textarea{width:100%;padding:.8rem 1rem;border-radius:10px;border:1px solid rgba(255,255,255,.15);background:var(--bg);color:var(--fg);font:inherit;margin-top:.6rem}
.cform .hp{position:absolute;left:-9999px}
.notice{background:rgba(126,212,146,.12);color:#7ed492;border-radius:10px;padding:.8rem 1rem;margin-bottom:1rem}
.related{max-width:1100px;margin:0 auto;padding:0 clamp(1rem,5vw,4rem) 5rem}
.related h2{font-size:1.6rem;margin-bottom:1.2rem}
@media(max-width:800px){.big .post-card{flex-direction:column}.big .cover{min-height:200px;aspect-ratio:16/9}.big .body{padding:1.5rem}.big h3{font-size:1.5rem}.cform .row{grid-template-columns:1fr}.comment.reply{margin-left:1rem}}
