.aii-post-page{background:#f3f6fb;color:#1f2937;min-height:100vh}
.aii-post-wrap{max-width:1320px;margin:0 auto;padding:0 20px}
.aii-post-breadcrumb{font-size:14px;color:#64748b;margin-bottom:18px}.aii-post-breadcrumb a{text-decoration:none;color:inherit}.aii-post-breadcrumb a:hover{color:#2563eb}
.aii-post-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px}
.aii-post-main{min-width:0}
.aii-post-hero{background:#fff;border:1px solid #e3ebf3;border-radius:28px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.04)}
.aii-post-cover{aspect-ratio:16/9;background:#081426;display:flex;align-items:center;justify-content:center}.aii-post-cover img{display:block;width:100%;height:100%;object-fit:contain;object-position:center top}
.aii-post-header{padding:28px 32px 30px}
.aii-post-chiprow{display:flex;gap:8px;flex-wrap:wrap}
.aii-post-chip{display:inline-flex;align-items:center;padding:9px 13px;border-radius:999px;background:#edf4ff;border:1px solid #cfe0ff;color:#2563eb;font-size:13px;font-weight:700;text-decoration:none}
.aii-post-title{margin:18px 0 12px;font-size:3rem;line-height:1.08;font-weight:800;letter-spacing:-.03em;color:#243b53}
.aii-post-excerpt{margin:0;color:#52667a;font-size:17px;line-height:1.8}
.aii-post-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px;color:#7a8ca0;font-size:14px;font-weight:700}
.aii-post-content{margin-top:26px;background:#fff;border:1px solid #e3ebf3;border-radius:28px;padding:34px 36px;box-shadow:0 10px 30px rgba(15,23,42,.04);font-size:17px;line-height:1.9;color:#30475e}
.aii-post-content h2{font-size:2rem;line-height:1.2;font-weight:800;margin:2.4rem 0 1rem;color:#243b53;scroll-margin-top:calc(var(--aii-site-nav-h,0px) + var(--aii-anchor-gap,14px))}
.aii-post-content h3{font-size:1.4rem;line-height:1.3;font-weight:800;margin:1.8rem 0 .8rem;color:#243b53;scroll-margin-top:calc(var(--aii-site-nav-h,0px) + var(--aii-anchor-gap,14px))}
.aii-post-content p{margin:1rem 0}
.aii-post-content ul,.aii-post-content ol{margin:1rem 0 1rem 1.2rem;padding-left:1rem}
.aii-post-content li{margin:.45rem 0}
.aii-post-content strong{font-weight:800;color:#243b53}
.aii-post-content a{color:#2563eb;text-decoration:underline;font-weight:700}
.aii-post-content img{max-width:100%;height:auto;border-radius:18px;margin:16px auto;display:block}
.aii-post-table-wrap{width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;margin:20px 0;border:1px solid #dbe7ef;border-radius:20px;background:#fff}
.aii-post-table-wrap table{margin:0!important;min-width:760px;border-collapse:separate;border-spacing:0}
.aii-post-table-wrap::-webkit-scrollbar{height:10px}
.aii-post-table-wrap::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.aii-post-content pre{position:relative;max-width:100%;width:100%;box-sizing:border-box;overflow-x:auto;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;padding:14px 16px;border:1px solid #dbe7ef;border-radius:18px;background:#0f172a;color:#e5edf8;margin:20px 0}.aii-post-content pre code{display:block;max-width:100%;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;color:inherit}.aii-post-content code{max-width:100%;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.aii-post-code-copy{display:flex;align-items:stretch;gap:10px;margin:20px 0;padding:10px;border:1px solid #dbe7ef;border-radius:18px;background:#f8fbff;box-shadow:0 10px 24px rgba(15,23,42,.04)}.dark .aii-post-code-copy{background:#0b1627;border-color:#26384f;box-shadow:0 14px 30px rgba(0,0,0,.20)}.aii-post-code-copy pre{flex:1;min-width:0;margin:0!important;padding:14px 16px!important;border-radius:14px;background:#0f172a;color:#e5edf8;border:1px solid #334155}.aii-post-copy-btn{align-self:stretch;min-width:96px;border:0;background:#2563eb;color:#fff;font-size:12px;font-weight:900;line-height:1;padding:0 14px;border-radius:14px;cursor:pointer;box-shadow:0 10px 22px rgba(37,99,235,.18);transition:all .18s ease}.aii-post-copy-btn:hover{background:#1d4ed8;color:#fff;transform:translateY(-1px)}.aii-post-copy-btn.is-copied{background:#16a34a;color:#fff}.dark .aii-post-copy-btn{background:#3b82f6;color:#fff;box-shadow:0 12px 24px rgba(37,99,235,.25)}.dark .aii-post-copy-btn:hover{background:#2563eb;color:#fff}.dark .aii-post-copy-btn.is-copied{background:#16a34a;color:#fff}@media (max-width:760px){.aii-post-code-copy{display:grid;gap:8px;padding:8px}.aii-post-copy-btn{width:100%;min-height:38px}.aii-post-code-copy pre{padding:13px 14px!important}}
.aii-post-content table{width:100%;border-collapse:separate;border-spacing:0;margin:20px 0;font-size:15px}
.aii-post-content th,.aii-post-content td{border:1px solid #dbe7ef;padding:14px 14px;text-align:left;vertical-align:top;min-width:150px;line-height:1.65}
.aii-post-content th:first-child,.aii-post-content td:first-child{min-width:180px}
.aii-post-content th{background:#f6f9fc;font-weight:800;color:#243b53}
.aii-post-content blockquote{margin:22px 0;padding:18px 20px;border-left:4px solid #2563eb;background:#f7fbff;border-radius:0 16px 16px 0;color:#36536b}
.aii-post-side{display:grid;gap:22px;align-content:start}
.aii-post-sidecard{background:#fff;border:1px solid #e3ebf3;border-radius:24px;padding:26px;box-shadow:0 10px 30px rgba(15,23,42,.04)}
.aii-post-sidecard h3{margin:0 0 12px;font-size:18px;line-height:1.2;font-weight:800;color:#243b53}
.aii-post-sidecard p{margin:0;color:#52667a;font-size:15px;line-height:1.8}
.aii-post-search{display:flex;gap:10px;align-items:center;margin-top:14px}.aii-post-search input{flex:1;height:48px;border:1px solid #d7e0ea;border-radius:14px;padding:0 16px;font-size:16px;background:#fff;color:#243b53;outline:none}.aii-post-search input:focus{border-color:#60a5fa;box-shadow:0 0 0 4px rgba(37,99,235,.08)}.aii-post-search button{height:48px;min-width:54px;border:0;border-radius:14px;background:#2563eb;color:#fff;font-size:20px;font-weight:800;cursor:pointer}
.aii-post-list{list-style:none;padding:0;margin:0;display:grid;gap:14px}.aii-post-list a{text-decoration:none;color:#243b53;font-weight:700;line-height:1.45}.aii-post-list a:hover{color:#2563eb}.aii-post-list time{display:block;font-size:12px;color:#7a8ca0;margin-bottom:4px}
.aii-post-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;height:54px;border-radius:999px;background:#2563eb;color:#fff;text-decoration:none;font-weight:800;margin-top:18px;box-shadow:0 12px 28px rgba(37,99,235,.18)}.aii-post-btn:hover{background:#1d4ed8;color:#fff}
.aii-post-toc a{display:block;color:#243b53;text-decoration:none;font-weight:700;line-height:1.45}.aii-post-toc a:hover{color:#2563eb}.aii-post-toc .indent{padding-left:14px;font-size:14px}
.aii-post-tags{display:flex;gap:8px;flex-wrap:wrap}.aii-post-tag{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#f4f7fb;border:1px solid #dde7f0;color:#425a70;font-size:13px;font-weight:700}

.aii-post-product-list{display:grid;gap:12px;margin-top:16px}
.aii-post-product{display:grid;grid-template-columns:66px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border-radius:18px;border:1px solid #e3ebf3;background:#fff;text-decoration:none;transition:.18s ease}
.aii-post-product:hover{border-color:#2563eb;box-shadow:0 10px 24px rgba(37,99,235,.10);transform:translateY(-1px)}
.aii-post-product img{width:66px;height:66px;border-radius:14px;object-fit:contain;background:#dbe7ef;padding:4px}
.aii-post-product strong{display:block;color:#243b53;font-size:14px;line-height:1.25;font-weight:800}
.aii-post-product span{display:block;color:#64748b;font-size:12px;margin-top:4px;font-weight:700}
.aii-price-row{display:flex!important;align-items:center;gap:7px;flex-wrap:wrap;margin-top:6px!important}
.aii-price-old{color:#94a3b8!important;text-decoration:line-through;font-size:12px!important;font-weight:800!important}
.aii-price-now{color:#2563eb!important;font-size:13px!important;font-weight:900!important;margin-top:0!important}
.aii-price-note{color:#64748b!important;font-size:12px!important;font-weight:800!important;margin-top:6px!important}
.aii-discount-badge{display:inline-flex!important;align-items:center;justify-content:center;padding:3px 7px;border-radius:999px;background:#dcfce7;color:#15803d;font-size:11px;font-weight:900;line-height:1}
.aii-practical-product{display:block;overflow:hidden;border:1px solid #e3ebf3;border-radius:20px;background:#fff;text-decoration:none;margin:14px 0 14px;transition:.18s ease}
.aii-practical-product:hover{border-color:#2563eb;box-shadow:0 12px 26px rgba(37,99,235,.12);transform:translateY(-1px)}
.aii-practical-product img{width:100%;height:220px;object-fit:contain;object-position:center center;background:#dbe7ef;display:block;border-radius:0;padding:10px}
.aii-practical-product span{display:block;padding:12px 14px}
.aii-practical-product strong{display:block;color:#243b53;font-size:15px;line-height:1.25;font-weight:850}
.aii-practical-product .aii-practical-meta{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:5px;padding:0}
.dark .aii-price-old{color:#64748b!important}.dark .aii-price-now{color:#93c5fd!important}.dark .aii-price-note{color:#94a3b8!important}.dark .aii-discount-badge{background:rgba(34,197,94,.16);color:#86efac}.dark .aii-practical-product{background:#111c2e;border-color:#26384f}.dark .aii-practical-product strong{color:#f8fafc}.dark .aii-practical-product .aii-practical-meta{color:#94a3b8}.dark .aii-practical-product img{background:#0f172a}
.dark .aii-iot-product{background:#111c2e;border-color:#26384f}
.dark .aii-iot-product strong{color:#f8fafc}
.dark .aii-iot-product img{background:#0f172a}

.aii-post-related{margin-top:34px}.aii-post-related h2{margin:0 0 16px;font-size:1.9rem;font-weight:800;color:#243b53}.aii-post-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.aii-post-related-card{display:block;background:#fff;border:1px solid #e3ebf3;border-radius:22px;overflow:hidden;text-decoration:none;box-shadow:0 10px 30px rgba(15,23,42,.04)}.aii-post-related-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#dbe7ef}.aii-post-related-card div{padding:16px 18px 18px}.aii-post-related-card h3{margin:0;font-size:18px;line-height:1.3;font-weight:800;color:#243b53}.aii-post-related-card p{margin:10px 0 0;color:#52667a;font-size:14px;line-height:1.7}

.dark .aii-post-page{background:#07111f;color:#e5edf8}
.dark .aii-post-breadcrumb{color:#94a3b8}
.dark .aii-post-hero{background:#0d1829;border-color:#1e2c43;box-shadow:0 18px 46px rgba(0,0,0,.25)}
.dark .aii-post-cover{background:#111827}
.dark .aii-post-title{color:#f8fafc}
.dark .aii-post-excerpt{color:#cbd5e1}
.dark .aii-post-meta{color:#94a3b8}
.dark .aii-post-chip{background:#10233d;border-color:#1d4ed8;color:#93c5fd}
.dark .aii-post-content{background:#0d1829;border-color:#1e2c43;color:#dbe7f5;box-shadow:0 18px 46px rgba(0,0,0,.25)}
.dark .aii-post-content h2,.dark .aii-post-content h3{color:#f8fafc}
.dark .aii-post-content strong{color:#fff}
.dark .aii-post-content blockquote{background:#10233d;color:#bfdbfe;border-left-color:#60a5fa}
.dark .aii-post-content th{background:#111c2e;color:#f8fafc}
.dark .aii-post-content th,.dark .aii-post-content td{border-color:#334155}
.dark .aii-post-table-wrap{background:#0d1829;border-color:#334155}
.dark .aii-post-table-wrap::-webkit-scrollbar-thumb{background:#475569}
.dark .aii-post-sidecard{background:#0d1829;border-color:#1e2c43;box-shadow:0 18px 46px rgba(0,0,0,.25)}
.dark .aii-post-sidecard h3{color:#f8fafc}
.dark .aii-post-product{background:#111c2e;border-color:#26384f}
.dark .aii-post-product:hover{border-color:#3b82f6;box-shadow:0 12px 24px rgba(37,99,235,.16)}
.dark .aii-post-product strong{color:#f8fafc}
.dark .aii-post-product span{color:#94a3b8}
.dark .aii-post-product img{background:#0f172a}
.dark .aii-post-sidecard p{color:#cbd5e1}
.dark .aii-post-list a,.dark .aii-post-toc a{color:#dbe7f5}
.dark .aii-post-list time{color:#94a3b8}
.dark .aii-post-search input{background:#111c2e;border-color:#26384f;color:#e5edf8}
.dark .aii-post-search input::placeholder{color:#94a3b8}
.dark .aii-post-tag{background:#111c2e;border-color:#26384f;color:#dbe7f5}
.dark .aii-post-related h2{color:#f8fafc}
.dark .aii-post-related-card{background:#0d1829;border-color:#1e2c43;box-shadow:0 18px 46px rgba(0,0,0,.25)}
.dark .aii-post-related-card h3{color:#f8fafc}
.dark .aii-post-related-card p{color:#cbd5e1}


.aii-post-side,.aii-post-main,.aii-post-content,.aii-post-hero{min-width:0}
.aii-post-page{overflow-x:hidden}
.dark .aii-post-recent{color:#e5edf8}
.dark .aii-post-recent strong{color:#f8fafc!important;opacity:1}
.dark .aii-post-recent time{color:#94a3b8!important;opacity:1}
.dark .aii-post-sidecard{background:#0d1829;border-color:#1e2c43;box-shadow:0 18px 46px rgba(0,0,0,.25)}
.dark .aii-post-sidecard h3{color:#f8fafc}
.dark .aii-post-product{background:#111c2e;border-color:#26384f}
.dark .aii-post-product:hover{border-color:#3b82f6;box-shadow:0 12px 24px rgba(37,99,235,.16)}
.dark .aii-post-product strong{color:#f8fafc}
.dark .aii-post-product span{color:#94a3b8}
.dark .aii-post-product img{background:#0f172a}
.dark .aii-post-sidecard p{color:#cbd5e1}
.dark .aii-post-list a,.dark .aii-post-toc a{color:#dbe7f5}
.dark .aii-post-list a:hover,.dark .aii-post-toc a:hover{color:#93c5fd}
.aii-iot-product img{max-height:220px}

@media (max-width:1180px){.aii-post-layout{grid-template-columns:1fr}.aii-post-side{grid-template-columns:repeat(2,minmax(0,1fr))}.aii-post-related-grid{grid-template-columns:1fr 1fr}}
@media (max-width:760px){
  .aii-post-wrap{padding:0 14px;max-width:100vw;overflow:hidden}
  .aii-post-layout{grid-template-columns:1fr;gap:22px}
  .aii-post-title{font-size:2.05rem;line-height:1.12;overflow-wrap:anywhere}
  .aii-post-header{padding:22px}
  .aii-post-cover{aspect-ratio:16/10;background:#081426}
  .aii-post-content{padding:26px 22px;border-radius:22px;font-size:16px;line-height:1.85}
  .aii-post-content h2{font-size:1.55rem}
  .aii-post-content h3{font-size:1.2rem}
  .aii-post-side{grid-template-columns:1fr}
  .aii-post-sidecard{padding:22px}
  .aii-post-related-grid{grid-template-columns:1fr}
  .aii-post-search{width:100%}
  .aii-post-search input{min-width:0}
  .aii-post-recent{grid-template-columns:64px minmax(0,1fr)}
  .aii-post-recent strong{font-size:14px;overflow-wrap:anywhere}
  .aii-iot-product img{width:min(100%,190px);max-height:190px}
  .aii-iot-media{padding:14px 14px 0}
  .aii-practical-product img{height:150px}
  .aii-post-table-wrap{margin:18px 0 20px;border-radius:18px}
  .aii-post-table-wrap::before{content:'Desliza para ver la comparativa →';display:block;padding:10px 12px 0;color:#64748b;font-size:12px;font-weight:800;letter-spacing:.01em}
  .dark .aii-post-table-wrap::before{color:#94a3b8}
  .aii-post-content table{font-size:14px}
  .aii-post-content th,.aii-post-content td{padding:12px 12px;min-width:145px;line-height:1.6}
  .aii-post-content th:first-child,.aii-post-content td:first-child{min-width:170px}
}


.aii-post-guidebox{margin-top:26px;background:#fff;border:1px solid #dbe7ef;border-radius:24px;padding:24px;box-shadow:0 10px 30px rgba(15,23,42,.04)}
.aii-post-guidebox-head h2{margin:0;color:#243b53;font-size:1.35rem;line-height:1.25;font-weight:900}.aii-post-guidebox-head p{margin:.45rem 0 0;color:#52667a;font-size:15px;line-height:1.65}
.aii-post-guidebox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.aii-post-guidebox-card{display:grid;grid-template-columns:132px minmax(0,1fr);min-height:128px;overflow:hidden;border:1px solid #e3ebf3;border-radius:18px;background:#fff;text-decoration:none;box-shadow:0 6px 18px rgba(15,23,42,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.aii-post-guidebox-card:hover{border-color:#2563eb;box-shadow:0 12px 26px rgba(37,99,235,.10);transform:translateY(-2px)}.aii-post-guidebox-media{display:block;min-height:128px;background:#e2e8f0;overflow:hidden}.aii-post-guidebox-media img{display:block;width:100%;height:100%;min-height:128px;object-fit:cover;transition:transform .22s ease}.aii-post-guidebox-card:hover .aii-post-guidebox-media img{transform:scale(1.025)}.aii-post-guidebox-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:14px 15px}.aii-post-guidebox-kicker{display:block;margin-bottom:5px;color:#2563eb;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.aii-post-guidebox-copy strong{display:block;color:#243b53;font-size:14px;line-height:1.35;font-weight:900}.aii-post-guidebox-copy span.aii-post-guidebox-excerpt{display:-webkit-box;margin-top:5px;color:#64748b;font-size:12px;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.aii-post-guidebox-cta{display:inline-flex;align-items:center;gap:5px;margin-top:8px;color:#2563eb;font-size:12px;font-weight:850}.dark .aii-post-guidebox{background:#0d1829;border-color:#1e2c43;box-shadow:0 18px 46px rgba(0,0,0,.25)}.dark .aii-post-guidebox-head h2{color:#f8fafc}.dark .aii-post-guidebox-head p{color:#cbd5e1}.dark .aii-post-guidebox-card{background:#111c2e;border-color:#26384f;box-shadow:none}.dark .aii-post-guidebox-card:hover{border-color:#3b82f6;box-shadow:0 12px 26px rgba(0,0,0,.22)}.dark .aii-post-guidebox-media{background:#1e293b}.dark .aii-post-guidebox-copy strong{color:#f8fafc}.dark .aii-post-guidebox-copy span.aii-post-guidebox-excerpt{color:#94a3b8}.dark .aii-post-guidebox-kicker,.dark .aii-post-guidebox-cta{color:#93c5fd}
@media(max-width:760px){.aii-post-guidebox{padding:20px;border-radius:22px}.aii-post-guidebox-grid{grid-template-columns:1fr}.aii-post-guidebox-card{grid-template-columns:112px minmax(0,1fr);min-height:112px}.aii-post-guidebox-media,.aii-post-guidebox-media img{min-height:112px}}

.aii-post-share{margin-top:26px;background:#fff;border:1px solid #e3ebf3;border-radius:24px;padding:24px;box-shadow:0 10px 30px rgba(15,23,42,.04)}
.aii-post-share h3{margin:0 0 8px;font-size:20px;line-height:1.25;font-weight:900;color:#243b53}
.aii-post-share p{margin:0 0 16px;color:#52667a;font-size:15px;line-height:1.7}
.aii-share-grid{display:flex;flex-wrap:wrap;gap:10px}
.aii-share-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid #dbe7ef;background:#f8fbff;color:#243b53;text-decoration:none;font-size:14px;font-weight:900;cursor:pointer;transition:.18s ease}
.aii-share-btn svg{width:18px;height:18px;display:block;flex:0 0 auto}
.aii-share-btn:hover{transform:translateY(-1px);border-color:#2563eb;box-shadow:0 10px 22px rgba(37,99,235,.10);color:#1d4ed8}
.aii-share-whatsapp{background:#ecfdf5;border-color:#bbf7d0;color:#047857}
.aii-share-facebook{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.aii-share-linkedin{background:#eef6ff;border-color:#bfdbfe;color:#0369a1}
.aii-share-telegram{background:#f0f9ff;border-color:#bae6fd;color:#0284c7}
.aii-share-copy{background:#f8fafc;border-color:#cbd5e1;color:#334155}
.aii-share-status{display:block;margin-top:10px;color:#15803d;font-size:13px;font-weight:900;min-height:18px}
.aii-mobile-commerce{display:none}
.dark .aii-post-share{background:#0d1829;border-color:#1e2c43;box-shadow:0 18px 46px rgba(0,0,0,.25)}
.dark .aii-post-share h3{color:#f8fafc}
.dark .aii-post-share p{color:#cbd5e1}
.dark .aii-share-btn{background:#111c2e;border-color:#26384f;color:#dbe7f5}
.dark .aii-share-btn:hover{border-color:#3b82f6;color:#93c5fd}
.dark .aii-share-whatsapp{background:rgba(16,185,129,.12);border-color:rgba(16,185,129,.34);color:#86efac}
.dark .aii-share-facebook{background:rgba(37,99,235,.14);border-color:rgba(96,165,250,.32);color:#bfdbfe}
.dark .aii-share-linkedin{background:rgba(14,165,233,.12);border-color:rgba(125,211,252,.30);color:#bae6fd}
.dark .aii-share-telegram{background:rgba(14,165,233,.14);border-color:rgba(125,211,252,.30);color:#7dd3fc}
.dark .aii-share-copy{background:#111c2e;border-color:#334155;color:#e5edf8}
.dark .aii-share-status{color:#86efac}
@media (max-width:760px){
  .aii-post-share{padding:20px;border-radius:22px}
  .aii-share-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .aii-share-btn{width:100%;padding:0 10px;font-size:13px}
  .aii-share-copy{grid-column:1/-1}
  .aii-mobile-commerce{display:grid;gap:18px;margin-top:24px}
  .aii-post-side .aii-mobile-hide{display:none!important}
}
