/* SMNET News Hub 2.0 — topic bar counts, in-article solution box, topic tags */

.smn-topics--v2 .smn-topics__links a small{margin-left:4px;font-size:11px;font-weight:700;opacity:.6}
.smn-topics--v2 .smn-topics__links a.is-active small{opacity:.85}
a.smn-tag{text-decoration:none}
a.smn-tag:hover{text-decoration:underline}

/* Solution box inside the article */
.smn-article-content .smn-solution-box{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;margin:34px 0;padding:20px 22px;
  border:1px solid #cdeaf7;border-left:4px solid #00aeef;border-radius:14px;background:linear-gradient(135deg,#f3fbff 0%,#ffffff 70%)}
.smn-article-content .smn-solution-box__icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;color:#008dc3;background:#e2f5fd}
.smn-article-content .smn-solution-box__body{display:flex;flex-direction:column;gap:3px;min-width:0}
.smn-article-content .smn-solution-box__kicker{font-size:11px;font-weight:800;letter-spacing:.14em;color:#008dc3}
.smn-article-content .smn-solution-box__title{font-size:18px;line-height:1.3;color:#061629}
.smn-article-content .smn-solution-box__desc{font-size:14px;line-height:1.5;color:#5b6b7c}
.smn-article-content .smn-solution-box__actions{display:flex;flex-direction:column;gap:8px}
.smn-article-content a.smn-solution-box__btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 16px;border-radius:9px;
  font-size:13.5px;font-weight:800;white-space:nowrap;text-decoration:none!important;border:1px solid #bfdcea;color:#061629;background:#fff}
.smn-article-content a.smn-solution-box__btn.is-primary{background:#00aeef;border-color:#00aeef;color:#fff}
.smn-article-content a.smn-solution-box__btn:hover{border-color:#008dc3}
.smn-article-content a.smn-solution-box__btn.is-primary:hover{background:#008dc3}
@media (max-width:700px){
  .smn-article-content .smn-solution-box{grid-template-columns:auto minmax(0,1fr);padding:18px}
  .smn-article-content .smn-solution-box__actions{grid-column:1/-1;flex-direction:row}
  .smn-article-content a.smn-solution-box__btn{flex:1}
}

/* ---------- 2.1 Search: suggestions dropdown ---------- */
.smn-search.has-suggest{position:relative}
.smn-suggest{position:fixed;z-index:9999;left:0;top:0;max-height:440px;overflow:auto;padding:8px;border-radius:14px;background:#fff;
  border:1px solid #dce7ef;box-shadow:0 18px 48px rgba(6,22,41,.18);text-align:left}
.smn-suggest[hidden]{display:none}
.smn-suggest__head{padding:8px 10px 4px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#8a9aab}
.smn-suggest a.smn-suggest__item{display:flex;flex-direction:column;gap:2px;padding:9px 10px;border-radius:9px;color:#061629;text-decoration:none}
.smn-suggest a.smn-suggest__item span{font-size:14px;font-weight:700;line-height:1.35}
.smn-suggest a.smn-suggest__item small{font-size:12px;color:#008dc3;font-weight:700}
.smn-suggest a.smn-suggest__item:hover,.smn-suggest a.smn-suggest__item.is-active{background:#eef8fd}
.smn-suggest a.smn-suggest__solution{flex-direction:row;align-items:center;gap:10px;margin-bottom:4px;background:#f3fbff;border:1px solid #cdeaf7}
.smn-suggest a.smn-suggest__solution small{padding:2px 8px;border-radius:99px;background:#00aeef;color:#fff}
.smn-suggest__all{display:block;width:100%;margin-top:6px;padding:10px;border:0;border-top:1px solid #edf2f6;background:none;color:#008dc3;font-weight:800;font-size:13.5px;cursor:pointer;text-align:center}
.smn-suggest__empty{padding:12px 10px;color:#66778a;font-size:14px}

/* ---------- 2.1 Search: matching solutions & products ---------- */
.smn-search-match{margin:4px 0 30px;padding:20px;border:1px solid #dce7ef;border-radius:18px;background:#f7fbfe}
.smn-search-match__kicker{display:block;margin-bottom:12px;font-size:11px;font-weight:800;letter-spacing:.14em;color:#008dc3}
.smn-search-match__row{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.smn-search-match a.smn-search-sol,.smn-search-match a.smn-search-prod{display:flex;gap:12px;align-items:center;padding:14px;border-radius:14px;background:#fff;border:1px solid #e2ebf2;text-decoration:none;color:#061629;transition:border-color .2s,box-shadow .2s}
.smn-search-match a.smn-search-sol:hover,.smn-search-match a.smn-search-prod:hover{border-color:#7fd3f3;box-shadow:0 10px 26px rgba(6,22,41,.07)}
.smn-search-match a.smn-search-sol{border-left:4px solid #00aeef;flex-wrap:wrap}
.smn-search-sol__icon{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:10px;color:#008dc3;background:#e2f5fd}
.smn-search-sol__text,.smn-search-prod__text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.smn-search-sol__text strong,.smn-search-prod__text strong{font-size:14.5px;line-height:1.35}
.smn-search-prod__text strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px}
.smn-search-sol__text small{font-size:12.5px;color:#66778a}
.smn-search-prod__text small{font-size:13px;font-weight:800;color:#d43c2c}
.smn-search-prod__text small del{color:#9aa7b4;font-weight:500}
.smn-search-sol__more{width:100%;font-size:12.5px;font-weight:800;color:#008dc3}
.smn-search-match .smn-search-prod__img{width:64px;height:64px;flex:none;border-radius:10px;overflow:hidden;background:#fff;display:grid;place-items:center}
.smn-search-match .smn-search-prod__img img{width:100%!important;height:100%!important;max-width:64px;object-fit:contain}
.smn-search-match__all{display:inline-block;margin-top:12px;font-size:13.5px;font-weight:800;color:#008dc3;text-decoration:none}
@media (max-width:640px){.smn-search-match{padding:14px}.smn-search-match__row{grid-template-columns:1fr}}

/* ---------- 2.2 Editorial box (end of article) ---------- */
.smn-article-content .smn-editorial-box{display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;align-items:start;margin:40px 0 8px;padding:22px 24px;border:1px solid #dce7ef;border-radius:16px;background:#f7fbfe}
.smn-article-content .smn-editorial-box__logo{width:96px;height:96px;display:grid;place-items:center;border-radius:14px;background:#fff;border:1px solid #e2ebf2}
.smn-article-content .smn-editorial-box__logo img{width:76px;height:auto;margin:0!important;border-radius:0!important;box-shadow:none!important}
.smn-article-content .smn-editorial-box__kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.14em;color:#008dc3}
.smn-article-content .smn-editorial-box strong{display:block;margin:2px 0 6px;font-size:17px;color:#061629}
.smn-article-content .smn-editorial-box p{margin:0 0 10px!important;font-size:14.5px!important;line-height:1.6!important;color:#4b5b6b}
.smn-article-content .smn-editorial-box__meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:#66778a}
.smn-article-content .smn-editorial-box__links{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px}
.smn-article-content .smn-editorial-box__links a{font-size:13.5px;font-weight:800;color:#008dc3;text-decoration:none}
@media (max-width:600px){.smn-article-content .smn-editorial-box{grid-template-columns:1fr;padding:18px}.smn-article-content .smn-editorial-box__logo{width:72px;height:72px}}

/* ---------- 2.2 Topic bar: one scrollable row on tablets/phones ---------- */
@media (max-width:1100px){
  .smn-topics--v2 .smn-topics__links{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px;
    -webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
  .smn-topics--v2 .smn-topics__links::-webkit-scrollbar{display:none}
  .smn-topics--v2 .smn-topics__links a{flex:none;white-space:nowrap}
}
