/* Show the blog-specific search only; hide the global store search row under the logo.
   The section selector matches the current Elementor Header/Footer template. */
body.slb-blog-page #header-content .elementor-element-b0fc1e1,
body.slb-blog-page #header-content .elementor-widget-nasa-sc-search-form { display: none !important; }

/* SomaticLab blog listing. Styles scoped to the dedicated blog only. */
.slb-blog, .slb-blog * { box-sizing: border-box; }
.slb-blog { background: #fff; color: #1b3238; padding: 0px 0 15px; font-family: "Jost", Arial, sans-serif; overflow-x: clip; }
.slb-blog .slb-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.slb-blog a { text-decoration: none; }
/* Hero background is full browser width, while its content aligns to the article grid. */
.slb-blog .slb-hero-band {position:relative;left:50%;width:100vw;max-width:none;margin-left:-50vw;margin-right:-50vw;background: url(https://somaticlab.ru/wp-content/uploads/2026/10/blog-fon.webp);
    background-size: cover;border-top:1px solid #d5efec;border-bottom:1px solid #d5efec;}
.slb-blog .slb-hero {isolation:isolate;position:relative;min-height:275px;padding:44px 56px 42px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);gap:36px;align-items:center;}
.slb-blog .slb-articles-shell {padding-top:30px;}
.slb-blog .slb-hero-content { z-index: 1; min-width:0; max-width:700px; position:relative; }
.slb-blog .slb-eyebrow {display:flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700;color:#23777c;}
.slb-blog .slb-eyebrow-dot {display:block;width:7px;height:7px;border-radius:50%;background:#24b9b4;}
.slb-blog .slb-hero h1 { font-size:clamp(32px,4.2vw,53px); font-weight:650; letter-spacing:-1.6px; line-height:1.14; margin:14px 0 16px; color:#163e43; text-transform:none; }
.slb-blog .slb-hero p {max-width:600px;margin:0;color:#3e696f;font-size:17px;line-height:1.6;}
.slb-blog .slb-hero-points {display:flex;flex-wrap:wrap;gap:9px;margin-top:22px;}
.slb-blog .slb-hero-points span {font-size:12px;color:#246b73;border:1px solid #8edbd6;background:rgba(255,255,255,.6);padding:6px 12px;border-radius:999px;}
.slb-blog .slb-hero-decor {position:absolute;right:4%;top:8%;height:250px;width:260px;opacity:.35;pointer-events:none;z-index:0;}
.slb-blog .slb-hero-decor span {position:absolute;border:2px solid rgba(17,130,144,.25);border-radius:50%;}
.slb-blog .slb-hero-decor span:nth-child(1){width:255px;height:255px;left:16px;top:0;}
.slb-blog .slb-hero-decor span:nth-child(2){width:170px;height:170px;left:59px;top:42px;}
.slb-blog .slb-hero-decor span:nth-child(3){width:83px;height:83px;left:103px;top:86px;background:rgba(48,213,200,.26);}
/* The search moves INSIDE the right-bottom of the banner. */
.slb-blog .slb-hero-aside {position:relative;z-index:2;min-width:0;align-self:end;transform:translateY(28px);display:flex;flex-direction:column;align-items:stretch;}

.slb-blog .slb-search {display:flex;align-items:center;gap:10px;min-width:0;width:100%;height:41px;padding:4px 6px 4px 15px;background:#f6fafa;border:1px solid #d8e7e7;border-radius:10px;color:#66949a;box-shadow:0 2px 8px rgba(15,93,96,.05);} /* 51px → 41px: -20% */
.slb-blog .slb-search svg {flex:none;}
.slb-blog .slb-search input {flex:1;min-width:0;max-width:none!important;margin:0!important;padding:0!important;height:100%!important;min-height:0!important;max-height:100%!important;border:none!important;background:transparent!important;box-shadow:none!important;outline:none!important;color:#1b3238;font-size:14px;}
.slb-blog .slb-search button {flex:none;align-self:stretch;border:0!important;border-radius:7px!important;padding:0 16px!important;margin:0!important;min-height:0!important;height:auto!important;background:#30c9c4!important;color:#113e43!important;box-shadow:none!important;text-transform:none!important;font-weight:650!important;cursor:pointer;}
.slb-blog .slb-search button:hover {background:#71ddd6!important;}
.slb-blog .slb-article-count {color:#47777c;font-size:12px;white-space:nowrap;text-align:right;margin-top:0;padding:0 5px 0 0;}
.slb-blog .slb-topics {display:flex;gap:9px;overflow-x:auto;scrollbar-width:thin;padding:0 0 20px;margin:0 0 6px;}
.slb-blog .slb-topic {white-space:nowrap;display:inline-flex;align-items:center;min-height:35px;padding:7px 15px;border:1px solid #e5eded;border-radius:999px;color:#526f74;background:#fff;font-size:13px;line-height:1.2;font-weight:500;transition:background .15s ease,border-color .15s ease;}
.slb-blog .slb-topic:hover {background:#eefafa;color:#175b65;border-color:#b7e3e0;}
.slb-blog .slb-topic.is-active {background:#d8f6f3;border-color:#96dcd7;color:#15666b;font-weight:650;}
.slb-blog .slb-cards {display:grid;grid-template-columns:repeat(var(--slb-cols-desktop,3),minmax(0,1fr));gap:26px;}
.slb-blog .slb-card {min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e4eeee;border-radius:18px;overflow:hidden;box-shadow:0 6px 23px rgba(27,61,67,.045);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
/* Remove the Elessi default bottom padding from blog article cards, on all screen sizes. */
.slb-blog article.slb-card { padding-bottom: 0 !important; }
.slb-blog .slb-card:hover {transform:translateY(-3px);box-shadow:0 14px 35px rgba(27,61,67,.095);border-color:#c9e7e5;}
.slb-blog .slb-cover {display:block;position:relative;width:100%;aspect-ratio:16/9;background:#e3f5f4;overflow:hidden;}
.slb-blog .slb-cover img {display:block!important;position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .35s ease;}
.slb-blog .slb-card:hover .slb-cover img {transform:scale(1.03);}
.slb-blog .slb-cover-tag {position:absolute;bottom:15px;left:16px;padding:6px 11px;border-radius:7px;background:rgba(255,255,255,.94);color:#246970;font-size:11px;box-shadow:0 2px 8px rgba(0,0,0,.06);max-width:calc(100% - 32px);}
.slb-blog .slb-cover-empty {display:flex;align-items:center;justify-content:center;flex-direction:column;position:absolute;inset:0;overflow:hidden;background:radial-gradient(circle at 72% 24%,#e2ffff 0,#d2f2f0 30%,#9ad7da 78%,#85c4ca 100%);color:#236d77;letter-spacing:1px;font-size:23px;font-weight:600;}
.slb-blog .slb-cover-empty>span:last-child{position:relative;z-index:1;text-shadow:0 1px 0 rgba(255,255,255,.65);}
.slb-blog .slb-cover-empty>span:last-child span{color:#369ca3;}
.slb-blog .slb-molecule {position:absolute;width:130px;height:120px;transform:rotate(-25deg);opacity:.33;}
.slb-blog .slb-molecule:before,.slb-blog .slb-molecule:after{content:"";display:block;position:absolute;background:#369fa9;height:2px;width:120px;top:42px;left:0;transform:rotate(32deg);}
.slb-blog .slb-molecule:after{top:78px;transform:rotate(-24deg);}
.slb-blog .slb-molecule i{display:block;position:absolute;width:21px;height:21px;border-radius:50%;background:#2f9ba7;z-index:1;}
.slb-blog .slb-molecule i:nth-child(1){top:7px;left:0}.slb-blog .slb-molecule i:nth-child(2){top:59px;left:54px}.slb-blog .slb-molecule i:nth-child(3){top:18px;right:0}.slb-blog .slb-molecule i:nth-child(4){bottom:7px;right:18px}
.slb-blog .slb-card-body {display:flex;flex:1;flex-direction:column;padding:25px 27px 24px;}
.slb-blog .slb-card h2 {margin:0 0 12px;color:#1b3339;font-size:clamp(20px,2vw,24px);line-height:1.32;font-weight:650;letter-spacing:-.25px;text-transform:none;}
.slb-blog .slb-card h2 a {color:inherit;}
.slb-blog .slb-card h2 a:hover {color:#167f82;}
.slb-blog .slb-excerpt {color:#697f83;font-size:14px;line-height:1.7;margin:0 0 20px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.slb-blog .slb-card-footer {margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eaf0f0;padding-top:16px;}
.slb-blog .slb-meta {display:inline-flex;align-items:center;gap:8px;color:#8b9ca0;font-size:12px;}
.slb-blog .slb-more {display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#158c8b;font-weight:650;}
.slb-blog .slb-more span {font-size:17px;line-height:1;}
.slb-blog .slb-more:hover {color:#145c65;}
.slb-blog .slb-featured {grid-column:1 / -1;display:grid;grid-template-columns:minmax(0, 1fr) minmax(0,1fr);min-height:350px;}
.slb-blog .slb-featured .slb-cover {height:100%;aspect-ratio:auto;min-height:350px;align-self:stretch;}
.slb-blog .slb-featured .slb-card-body {padding:38px 42px;}
.slb-blog .slb-featured .slb-featured-label {display:inline-flex;align-self:flex-start;width:max-content;padding:5px 11px;margin:0 0 15px;color:#157f80;background:#e4faf7;border-radius:999px;font-size:11px;letter-spacing:.3px;text-transform:uppercase;font-weight:650;}
.slb-blog .slb-featured h2 {font-size:clamp(25px,2.75vw,35px);margin-bottom:15px;line-height:1.24;}
.slb-blog .slb-featured .slb-excerpt {-webkit-line-clamp:5;font-size:15px;}
.slb-blog .slb-pagination {display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:38px;}
.slb-blog .slb-pagination .page-numbers {padding:10px 16px;min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe9e7;border-radius:9px;color:#275f64;font-size:13px;}
.slb-blog .slb-pagination .current {background:#c4f1ed;border-color:#6dcfc9;font-weight:700;}
.slb-blog .slb-pagination a:hover {background:#ebf9f8;}
.slb-blog .slb-empty {background:#f6fbfa;text-align:center;padding:65px 20px;border-radius:18px;}
.slb-blog .slb-empty h2 {font-size:25px;color:#21454a;}
.slb-blog .slb-empty p {color:#758c91;}
.slb-blog .slb-empty a {color:#16898a;text-decoration:underline;}
@media (min-width:768px) and (max-width:1024px) {
 .slb-blog .slb-cards {grid-template-columns:repeat(var(--slb-cols-tablet,2),minmax(0,1fr));}
}
/* At tablet widths, place the compact search BELOW the introduction INSIDE the hero. */
@media (max-width:1140px) {
 .slb-blog .slb-hero {grid-template-columns:minmax(0,1fr);padding:36px 36px 24px;gap:24px;}
 .slb-blog .slb-hero-aside {transform:none;width:min(520px,100%);margin-left:auto;align-self:stretch;}
 .slb-blog .slb-hero-decor {right:-70px;top:4%;}
 .slb-blog .slb-featured .slb-card-body {padding:30px;}
 .slb-blog .slb-featured .slb-cover {min-height:320px;}
}
@media (max-width:767px) {
 .slb-blog {padding:0px 0 56px;}
 .slb-blog .slb-hero-band {padding:0 20px;}
 .slb-blog .slb-shell {width:min(100% - 30px,560px);}
 .slb-blog .slb-hero {padding:28px 0 22px;gap:22px;min-height:0;}
 .slb-blog .slb-hero h1 {letter-spacing:-.6px;}
 .slb-blog .slb-hero p {font-size:15px;}
 .slb-blog .slb-hero-decor {opacity:.15;right:-110px;}
 .slb-blog .slb-hero-points {gap:6px;margin-top:18px;}
 .slb-blog .slb-hero-points span {font-size:10px;padding:5px 9px;}
 .slb-blog .slb-hero-aside {width:100%;}
 .slb-blog .slb-search {height:41px;}
 .slb-blog .slb-article-count {margin:0;padding:0 5px 0 0;}
 .slb-blog .slb-articles-shell {padding-top:20px;}
 .slb-blog .slb-topics {padding-bottom:15px;}
 .slb-blog .slb-cards {grid-template-columns:repeat(var(--slb-cols-mobile,1),minmax(0,1fr));gap:17px;}
 .slb-blog .slb-featured {grid-column:1 / -1;display:flex;min-height:0;}
 .slb-blog .slb-cover,.slb-blog .slb-featured .slb-cover {height:auto;min-height:0;aspect-ratio:16/9;}
 .slb-blog .slb-featured .slb-card-body,.slb-blog .slb-card-body {padding:20px 21px;}
 .slb-blog .slb-featured h2,.slb-blog .slb-card h2 {font-size:22px;}
 .slb-blog .slb-card-footer {padding-top:14px;}
 .slb-blog .slb-featured-label {margin-bottom:12px!important;}
}
@media (prefers-reduced-motion:reduce) {
 .slb-blog .slb-card,.slb-blog .slb-cover img,.slb-blog .slb-topic{transition:none!important;}
 .slb-blog .slb-card:hover{transform:none;}
}

/* v1.5: use the native Nasa Core Isotope layout and reveal/remove transitions.
   Width is calculated from Elessi's existing 3/2/1 column options by blog.js. */
.slb-blog .slb-cards.slb-isotope { display:block; position:relative; }
.slb-blog .slb-cards.slb-isotope .slb-card { width:var(--slb-item-width, 100%); margin-bottom:var(--slb-isotope-gap, 26px); }
.slb-blog .slb-cards.slb-isotope .slb-featured { width:100%; }
/* Do not compete with Isotope's transform-based item animation on hover. */
.slb-blog .slb-cards.slb-isotope .slb-card:hover { transform:none; }
.slb-blog.slb-is-loading .slb-topics { opacity:.7; }
.slb-blog .slb-topics { transition:opacity .2s ease; }
.slb-blog .slb-result-enter { animation:slb-result-in .32s ease both; }
@keyframes slb-result-in { from {opacity:0} to {opacity:1} }
@media (prefers-reduced-motion:reduce) {
  .slb-blog .slb-result-enter { animation:none; }
  .slb-blog .slb-topics { transition:none; }
}
/* Extra metadata controlled by the Elessi Blog options. */
.slb-blog .slb-card-tags{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 12px}
.slb-blog .slb-card-tags span{font-size:11px;color:#397278;background:#edf8f7;border-radius:6px;padding:3px 7px}
