/*
Theme Name: Jesús Amorós
Description: Tema ligero para arquitectura IT, IA y ciberseguridad.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: jesusamoros
*/

:root{--ink:#182e2c;--paper:#f4f3ed;--muted:#63716a;--lime:#d8edab}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,sans-serif}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #829f4d;outline-offset:5px}header,main,footer{max-width:1200px;margin:auto;padding:0 40px}header{display:flex;align-items:center;justify-content:space-between;height:110px;border-bottom:1px solid #ccd2c7}.brand{font-size:21px;font-weight:750;letter-spacing:-1px}.brand span{color:#829f4d}nav{display:flex;gap:30px;font-size:14px}.hero{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:65px;align-items:center;padding:85px 0 75px}.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;font-weight:700;color:var(--muted)}h1{font-size:clamp(45px,5.7vw,76px);font-weight:550;line-height:1.05;letter-spacing:-4px;margin:25px 0}h1 em{font-family:Georgia,serif;font-weight:400}p{color:var(--muted)}.lead{font-size:18px;max-width:540px}.actions{display:flex;gap:14px;align-items:center;margin-top:32px}.button{display:inline-block;background:var(--ink);color:white;border-radius:5px;padding:14px 22px;font-size:14px}.secondary{padding:14px 18px;border:1px solid #b7c1b4;border-radius:5px;font-size:14px}.portrait{background:transparent;position:relative;min-height:0;max-width:290px;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;justify-self:end}.portrait img{width:230px;height:265px;object-fit:contain;object-position:bottom;background:#e4e7dd;border-radius:6px;filter:saturate(.65)}.caption{width:100%;margin-top:20px;padding:16px 0;background:transparent;border-top:1px solid #ccd2c7;font-size:12px;color:var(--muted)}.caption b{display:block;font-size:18px;color:var(--ink);margin-bottom:4px}.strip{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:23px 0;border-top:1px solid #ccd2c7;border-bottom:1px solid #ccd2c7;font-size:12px;letter-spacing:1px;text-transform:uppercase}.section{padding:75px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}h2{font-size:clamp(30px,4vw,46px);font-weight:500;line-height:1.15;letter-spacing:-1.8px;margin:12px 0}h3{font-size:22px;line-height:1.25;font-weight:550;letter-spacing:-.5px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{border:1px solid #cbd2c5;border-radius:8px;padding:28px}.number{font-size:12px;color:var(--muted)}.card p{font-size:15px}.card .tags{font-size:12px;color:var(--ink);border-top:1px solid #cbd2c5;padding-top:20px;margin-top:25px}.about{background:var(--ink);color:var(--paper);border-radius:10px;padding:48px;display:grid;grid-template-columns:1fr 1fr;gap:55px}.about p,.about .eyebrow{color:#bdcbbd}.about a{color:var(--lime)}.article{border-top:1px solid #cbd2c5;padding:25px 0;display:grid;grid-template-columns:90px 1fr 35px;align-items:center;gap:25px}.article img{width:90px;height:70px;object-fit:cover;border-radius:5px}.article h3{margin:7px 0;font-size:21px}.article small{color:var(--muted)}.article .arrow{font-size:25px}.contact{background:var(--lime);padding:48px;border-radius:10px;margin-bottom:60px}.contact h2{max-width:650px}.contact p{max-width:600px;color:#44553c}footer{border-top:1px solid #ccd2c7;display:flex;justify-content:space-between;padding-top:22px;padding-bottom:30px;font-size:12px;color:var(--muted)}.note{background:#e4e6dc;padding:8px 20px;text-align:center;font-size:12px;color:#435342}@media(max-width:760px){header,main,footer{padding-left:22px;padding-right:22px}header{height:auto;min-height:95px;flex-wrap:wrap;padding-top:16px;padding-bottom:16px;gap:12px}nav{gap:18px;font-size:12px}.hero{grid-template-columns:1fr;gap:30px;padding:45px 0}h1{letter-spacing:-2px}.portrait{min-height:0;max-width:290px;width:100%;margin:0;justify-self:start;align-items:start}.portrait img{width:180px;height:210px}.cards,.about{grid-template-columns:1fr}.section{padding:45px 0}.about,.contact{padding:28px}.section-head{display:block}.article{grid-template-columns:65px 1fr 20px;gap:15px}.article img{width:65px;height:65px}.article h3{font-size:17px}footer{gap:15px;flex-wrap:wrap}.actions{flex-wrap:wrap}}

/* WordPress content */
body.admin-bar header{margin-top:32px}.content-wrap{max-width:850px;margin:55px auto 75px}.content-wrap h1{font-size:clamp(32px,5vw,56px);letter-spacing:-1.8px;line-height:1.15}.content-wrap img{max-width:100%;height:auto}.content-wrap a{color:#385e38;text-decoration:underline}.content-wrap pre{overflow:auto;background:#e6e8df;padding:20px;border-radius:6px}.content-wrap iframe{max-width:100%}.post-meta{font-size:13px;color:var(--muted)}.blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;margin:35px 0}.blog-card{border:1px solid #cbd2c5;border-radius:8px;padding:25px}.blog-card img{width:100%;height:190px;object-fit:cover;border-radius:5px}.blog-card h2{font-size:25px;letter-spacing:-.6px}.pagination{margin:25px 0}.pagination a,.pagination span{padding:8px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:15px;top:10px;z-index:10000;background:white;padding:10px}.article-text h3{margin:7px 0}.article-thumb{width:90px;height:70px;background:#e4e7dd;border-radius:5px}.content-wrap input,.content-wrap textarea{max-width:100%;padding:10px;border:1px solid #b7c1b4}.content-wrap button,.content-wrap input[type=submit]{background:var(--ink);color:white;padding:12px 20px;border:0;border-radius:5px}@media(max-width:760px){.blog-grid{grid-template-columns:1fr}.content-wrap{margin:35px auto}.article-thumb{width:65px;height:65px}body.admin-bar header{margin-top:46px}}

.profile-links{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 30px}.event-card{display:flex;flex-direction:column;align-items:flex-start}.event-card a{margin-top:auto;font-size:14px;font-weight:650;text-decoration:underline;text-underline-offset:4px}.event-logo{width:100%;height:86px;background:white;border-radius:5px;padding:12px;margin-bottom:22px;display:flex;align-items:center;justify-content:center}.event-logo img{max-width:100%;max-height:62px;object-fit:contain}.event-logo-dark{background:#152322}.event-label{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:20px;font-weight:700}nav{gap:20px}@media(max-width:900px){header{height:auto;min-height:100px;flex-wrap:wrap;gap:18px;padding-top:20px;padding-bottom:20px}nav{flex-wrap:wrap;gap:12px 18px}}
