/*
Theme Name: Todo PLC
Theme URI: https://todoplc.com/
Author: Todo PLC
Description: Portal de descargas de automatización industrial con fichas y guías.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: auto-diagnosis-pro
*/
:root{--blue:#b51f32;--deep:#252a31;--ink:#172b3c;--line:#dce8ed;--paper:#fff}*{box-sizing:border-box}body{margin:0;background:#f5f9fb;color:var(--ink);font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif}a{color:var(--deep);text-decoration:none}a:hover{text-decoration:underline}.wrap{max-width:1180px;padding:0 24px;margin:auto}.site-header{background:#fff;box-shadow:0 2px 12px #193b4d17;position:relative;z-index:2}.header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:10px;color:var(--deep);font-weight:900;line-height:1.05;font-size:19px;letter-spacing:-.04em}.brand svg{width:50px;height:50px}.brand strong{display:block}.nav{display:flex;gap:22px;flex-wrap:wrap;font-size:14px;font-weight:600}.nav a{color:#264257}.hero{text-align:center;padding:44px 0 28px;background-color:#f7fbfd;background-image:radial-gradient(circle at 10% 28%,#cfe7f078 0 2px,transparent 3px),repeating-linear-gradient(140deg,transparent 0 90px,#d9ebf341 91px 93px,transparent 94px 160px)}.hero h1{margin:0;color:var(--deep);font-size:clamp(27px,3.6vw,42px);line-height:1.17}.hero h1 span{color:var(--blue)}.hero p{margin:12px auto 20px;max-width:630px;color:#536776}.search{display:flex;max-width:560px;margin:auto;box-shadow:0 3px 12px #18405a1c;background:#fff;padding:5px;border-radius:5px}.search input{flex:1;min-width:0;border:0;padding:11px 13px;font:inherit;outline-color:var(--blue)}.button,.search button{border:0;border-radius:4px;padding:10px 15px;background:var(--blue);color:#fff;font-weight:750;cursor:pointer;display:inline-block}.button:hover,.search button:hover{background:#8c1726;color:white;text-decoration:none}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:30px auto}.tile{display:flex;gap:13px;align-items:center;padding:16px;background:#fff;border-radius:5px;box-shadow:0 2px 9px #122f461c;border:1px solid #e5eff2}.tile svg{width:38px;height:38px;flex:none;fill:var(--deep)}.tile b{display:block;font-size:13px}.tile small{display:block;color:#586c77}.layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:32px;margin:25px auto 36px}.section-title{margin:0 0 15px;font-size:18px;color:#263f50;text-transform:uppercase}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:5px;box-shadow:0 3px 11px #183d5017;overflow:hidden}.thumb{height:140px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f9fcfd,#e4f1f6);color:var(--deep)}.thumb img{width:100%;height:100%;object-fit:contain}.thumb svg{width:75px;height:75px}.card-body{padding:12px;display:flex;flex-direction:column;flex:1}.card h3{font-size:14px;line-height:1.3;margin:0 0 7px}.card p{font-size:12px;color:#53626a;margin:0 0 10px;flex:1}.meta{display:flex;gap:13px;font-size:11px;color:#465967;margin-bottom:10px}.card .button{font-size:11px;text-align:center;padding:9px}.sidebar h2{font-size:15px;text-transform:uppercase;border-bottom:1px solid var(--line);padding-bottom:7px;margin:0 0 9px}.sidebar ol{list-style:none;padding:0;margin:0 0 28px}.sidebar li{font-size:13px;padding:4px 0}.sidebar a{color:#40586b}.site-footer{background:#252a2e;color:#dce1e4;text-align:center;padding:13px;font-size:12px}.site-footer a{color:#fff}.content{background:white;padding:28px;border:1px solid var(--line);border-radius:5px}.content h1{line-height:1.2}.content img{max-width:100%;height:auto}.download-panel{background:#edf6fa;padding:18px;margin:24px 0;border-left:4px solid var(--blue)}.ad-slot{min-height:80px;border:1px dashed #bed1dc;display:grid;place-items:center;text-align:center;color:#687d8b;margin:20px 0;padding:15px}.pagination{margin:22px 0}.pagination .page-numbers{padding:5px 9px}.current{font-weight:bold}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:860px){.layout{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:18px}}@media(max-width:600px){.header-inner{align-items:flex-start;flex-direction:column;padding-top:15px;padding-bottom:15px;gap:12px}.nav{gap:12px}.tiles,.grid,.sidebar{grid-template-columns:1fr}.thumb{height:165px}.hero{padding-top:32px}.wrap{padding-left:16px;padding-right:16px}}

.brand-image{display:block;width:250px;height:105px;object-fit:cover;object-position:center}.header-inner{min-height:116px}.hero{background-image:linear-gradient(#f8fcfdee,#f8fcfdee),url("assets/industrial-bg.svg");background-size:cover,cover;background-position:center}.thumb img{padding:13px;object-fit:contain}@media(max-width:600px){.brand-image{width:200px;height:83px}.header-inner{min-height:0}}

/* Compact navigation brand, independent of the source logo's whitespace. */
.site-header .header-inner{min-height:76px;gap:18px}.site-header .brand{flex:0 0 auto;min-width:0;gap:8px;letter-spacing:0}.brand-mark{width:56px;height:56px;object-fit:contain;display:block;flex:none}.brand-wordmark{display:flex;flex-direction:column;line-height:1.1;white-space:nowrap}.brand-wordmark strong{font-size:19px;font-weight:900;color:#252a31}.brand-wordmark small{font-size:8px;letter-spacing:.06em;color:#6b2933;margin-top:5px}.custom-brand-image{display:block;width:auto;max-width:220px;height:auto;max-height:58px;object-fit:contain}.site-header .nav{justify-content:flex-end;gap:16px}@media(max-width:760px){.site-header .header-inner{align-items:flex-start;flex-direction:column;padding-top:9px;padding-bottom:12px;gap:8px}.site-header .nav{justify-content:flex-start;gap:12px;font-size:13px}.brand-mark{width:48px;height:48px}.brand-wordmark strong{font-size:17px}}@media(max-width:360px){.brand-wordmark strong{font-size:15px}.brand-wordmark small{font-size:7px}}

.site-header{background-color:#f7fbfd;background-image:linear-gradient(#f7fbfdee,#f7fbfdee),url("assets/industrial-bg.svg");background-size:cover;background-position:center top}.site-header .header-inner{position:relative}

.site-header{box-shadow:none}.hero{padding-top:25px;padding-bottom:16px}.tiles{margin-top:15px;margin-bottom:19px}.layout{margin-top:17px}.grid{align-items:stretch}

.brand-wordmark strong{color:#252a31}.brand-wordmark strong em{font-style:normal;color:#b51f32}.hero h1 span{color:#b51f32}.site-header{border-top:4px solid #b51f32}
.subcategory-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:-6px;margin-bottom:14px;font-size:12px}.subcategory-links span{font-weight:800;color:#373c41}.subcategory-links a{background:#fff;border:1px solid #e5dadd;border-radius:16px;padding:3px 10px;color:#80202c}.subcategory-links a:hover{background:#fcecef;text-decoration:none}
