/* WA Multi v1.8.7 — Guide / Blog design rescue
   Restores the wm3 article system on the current w4/w5 site shell. */

.w187-reading-progress{
  position:fixed;left:0;right:0;top:78px;height:3px;z-index:90;
  pointer-events:none;background:rgba(255,255,255,.025)
}
.w187-reading-progress i{
  display:block;width:0;height:100%;
  background:linear-gradient(90deg,#21d477,#6af0a5);
  box-shadow:0 0 14px rgba(42,215,129,.32);
  transition:width .08s linear
}

.wm3-container{
  width:min(calc(100% - 44px),1220px);
  margin-inline:auto
}
.wm3-container.narrow{width:min(calc(100% - 44px),1080px)}

.wm3-guide-article-hero{
  position:relative;overflow:hidden;
  padding:72px 0 66px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at 20% -18%,rgba(35,213,116,.10),transparent 36%),
    radial-gradient(circle at 92% 18%,rgba(35,213,116,.055),transparent 30%),
    linear-gradient(180deg,#07120d 0%,#06100c 100%)
}
.wm3-guide-article-hero:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.28;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:52px 52px;
  mask-image:linear-gradient(to bottom,#000,transparent 88%)
}
.wm3-guide-article-hero .wm3-container{position:relative;z-index:1}

.wm3-breadcrumbs{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin-bottom:28px;color:#6f8579;font-size:10px
}
.wm3-breadcrumbs a{color:#89a096;text-decoration:none;transition:.15s}
.wm3-breadcrumbs a:hover{color:#67eba3}
.wm3-breadcrumbs i{font-size:7px;color:#40554a}

.w187-hero-labels{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-bottom:14px}
.w187-guide-pill{
  display:inline-flex;align-items:center;gap:6px;
  min-height:26px;padding:0 9px;
  border:1px solid rgba(35,213,116,.16);border-radius:999px;
  background:rgba(35,213,116,.055);
  color:#89eeb0;font-size:8px;font-weight:800;letter-spacing:.4px
}
.wm3-eyebrow{
  display:flex;align-items:center;gap:8px;
  color:#6f8b7c;font-size:9px;font-weight:900;letter-spacing:1.25px
}
.wm3-eyebrow>span{width:24px;height:1px;background:#22d479}

.wm3-guide-article-hero h1{
  max-width:1040px;margin:0;
  font-size:clamp(48px,6.25vw,82px);
  line-height:.99;letter-spacing:-3.9px;
  color:#f3f8f5;font-weight:850
}
.wm3-guide-intro{
  max-width:900px;margin:22px 0 0;
  color:#9db0a5;font-size:17px;line-height:1.68
}
.wm3-guide-meta{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin-top:26px
}
.wm3-guide-meta span{
  display:inline-flex;align-items:center;gap:6px;
  min-height:32px;padding:0 10px;
  border:1px solid #173126;border-radius:9px;
  background:rgba(255,255,255,.02);
  color:#8fa399;font-size:9px
}
.wm3-guide-meta i{color:#32d984}

.wm3-section{padding:72px 0}
.wm3-article-section{padding-top:48px;background:#06100c}
.wm3-article-grid{
  display:grid;
  grid-template-columns:minmax(0,820px) minmax(250px,290px);
  gap:54px;align-items:start
}
.wm3-article{min-width:0}

.wm3-article-callout{
  display:grid;grid-template-columns:46px minmax(0,1fr);gap:13px;align-items:start;
  margin-bottom:36px;padding:18px;
  border:1px solid rgba(35,213,116,.18);border-radius:15px;
  background:linear-gradient(135deg,rgba(35,213,116,.075),rgba(35,213,116,.025))
}
.wm3-article-callout>i{
  width:46px;height:46px;display:grid;place-items:center;border-radius:12px;
  background:rgba(35,213,116,.10);color:#5dea96;font-size:16px
}
.wm3-article-callout>div{display:grid;gap:4px}
.wm3-article-callout strong{font-size:12px;color:#f4fbf6}
.wm3-article-callout span{font-size:13px;line-height:1.65;color:#9cb0a5}

.wm3-article-layout-intro{
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(330px,1.1fr);
  gap:24px;align-items:start;margin-bottom:52px;padding:25px;
  border:1px solid var(--line);border-radius:18px;background:#091610
}
.wm3-article-layout-intro h2{
  margin:10px 0 10px;font-size:32px;line-height:1.07;letter-spacing:-1.2px
}
.wm3-article-layout-intro p{margin:0;color:#8fa399;font-size:12px;line-height:1.72}

.wm3-article-toc{display:grid;gap:6px}
.wm3-article-toc a{
  display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:center;
  min-height:43px;padding:6px 9px;border:1px solid #173126;border-radius:9px;
  background:#07130e;text-decoration:none;transition:.16s
}
.wm3-article-toc a:hover{border-color:rgba(35,213,116,.26);transform:translateX(2px)}
.wm3-article-toc a span{
  width:32px;height:30px;display:grid;place-items:center;border-radius:7px;
  background:rgba(35,213,116,.065);color:#52e890;font-size:8px;font-weight:900
}
.wm3-article-toc a b{font-size:9px;line-height:1.35;color:#b7c8be}

.wm3-long-section{
  scroll-margin-top:110px;
  display:grid;grid-template-columns:54px minmax(0,1fr);gap:18px;
  padding:38px 0;border-top:1px solid #14281f
}
.wm3-long-section:first-of-type{border-top:0}
.wm3-long-section-num{
  position:sticky;top:112px;
  width:44px;height:44px;display:grid;place-items:center;
  border:1px solid rgba(35,213,116,.17);border-radius:12px;
  background:rgba(35,213,116,.055);
  color:#54e992;font-size:10px;font-weight:900
}
.wm3-long-section h2{
  margin:0 0 13px;font-size:31px;line-height:1.12;letter-spacing:-1.1px;color:#f1f7f3
}
.wm3-long-section p{
  margin:0;color:#9aada2;font-size:15px;line-height:1.86
}

.wm3-article-section-inner{
  margin-top:30px;padding-top:38px;border-top:1px solid #14281f
}
.wm3-article-section-inner>h2,.wm3-sources-box h2{
  margin:10px 0 18px;font-size:31px;line-height:1.12;letter-spacing:-1px
}

.wm3-inline-faq{display:grid;gap:8px}
.wm3-inline-faq details{
  overflow:hidden;border:1px solid #173126;border-radius:12px;background:#08140f
}
.wm3-inline-faq summary{
  list-style:none;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:15px;color:#e8f3ec;font-size:11px;font-weight:800
}
.wm3-inline-faq summary::-webkit-details-marker{display:none}
.wm3-inline-faq summary i{color:#5be995;transition:.18s}
.wm3-inline-faq details[open] summary i{transform:rotate(45deg)}
.wm3-inline-faq details p{
  margin:0;padding:0 15px 16px;color:#8fa399;font-size:12px;line-height:1.72
}

.wm3-sources-box{
  margin-top:42px;padding:24px;border:1px solid #173126;border-radius:17px;
  background:linear-gradient(145deg,#091711,#07130e)
}
.wm3-sources-box p{color:#8fa399;font-size:12px;line-height:1.7}
.wm3-source-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}
.wm3-source-links a{
  display:inline-flex;align-items:center;gap:7px;
  min-height:35px;padding:0 10px;border:1px solid #1b3328;border-radius:9px;
  color:#a8c1b3;background:#06100c;text-decoration:none;font-size:9px
}
.wm3-source-links a:hover{border-color:rgba(35,213,116,.28);color:#61ec9d}

.wm3-article-cta{
  margin-top:42px;padding:27px;
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  border:1px solid rgba(35,213,116,.20);border-radius:19px;
  background:
    radial-gradient(circle at 100% 0,rgba(35,213,116,.11),transparent 35%),
    linear-gradient(135deg,#0b1c14,#08140f)
}
.wm3-article-cta>div{max-width:570px}
.wm3-article-cta h2{margin:9px 0 7px;font-size:27px;line-height:1.1;letter-spacing:-.8px}
.wm3-article-cta p{margin:0;color:#8fa399;font-size:11px;line-height:1.6}
.wm3-btn{
  min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:0 14px;border-radius:10px;text-decoration:none;font-size:9px;font-weight:900
}
.wm3-btn-primary{
  color:#031009;background:linear-gradient(135deg,#22d47b,#65eca1);
  box-shadow:0 12px 26px rgba(34,212,123,.15)
}

.w187-article-end{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin-top:28px;padding:12px 0;border-top:1px solid #14281f;
  color:#60776a;font-size:8px
}
.w187-article-end button{
  display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;
  color:#86a294;font-size:8px;cursor:pointer
}
.w187-article-end button:hover{color:#5ce996}

.wm3-article-side{min-width:0}
.wm3-side-sticky{position:sticky;top:105px;display:grid;gap:11px}
.wm3-side-card{
  padding:16px;border:1px solid #173126;border-radius:14px;background:#091610
}
.wm3-side-card>span{
  display:block;margin-bottom:9px;color:#617a6c;
  font-size:7px;font-weight:900;letter-spacing:1px
}
.wm3-side-card>a{
  display:grid;grid-template-columns:13px minmax(0,1fr);gap:5px;align-items:start;
  padding:7px 0;border-top:1px solid #12261d;
  color:#8fa399;text-decoration:none;font-size:8px;line-height:1.4
}
.wm3-side-card>a:first-of-type{border-top:0}
.wm3-side-card>a i{margin-top:2px;font-size:6px;color:#416554}
.wm3-side-card>a:hover,.wm3-side-card>a.active{color:#57e994}
.wm3-side-card>a.active i{color:#57e994}
.wm3-side-card.green{
  background:linear-gradient(145deg,rgba(35,213,116,.075),rgba(35,213,116,.025));
  border-color:rgba(35,213,116,.17)
}
.wm3-side-card.green strong{display:block;font-size:14px;line-height:1.25}
.wm3-side-card.green p{margin:7px 0 10px;color:#8da096;font-size:8px;line-height:1.5}
.wm3-side-card.green a{
  display:inline-flex;align-items:center;gap:6px;padding:0;border:0;
  color:#5fe99a;font-size:8px;font-weight:800
}
.w187-side-actions{display:grid;grid-template-columns:1fr;gap:5px;margin-top:10px;padding-top:10px;border-top:1px solid #12261d}
.w187-side-actions button,.w187-side-actions a{
  width:100%;min-height:31px;display:flex!important;align-items:center!important;gap:6px!important;
  padding:0 8px!important;border:1px solid #173126!important;border-radius:8px!important;
  background:#07130e!important;color:#859b8f!important;font:inherit;font-size:7px!important;cursor:pointer
}
.w187-side-actions button:hover,.w187-side-actions a:hover{border-color:rgba(35,213,116,.25)!important;color:#5de997!important}

.wm3-related-guides{
  padding-top:16px;border-top:1px solid var(--line);background:#07110d
}
.wm3-section-head{
  display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px
}
.wm3-section-head h2{margin:10px 0 0;font-size:31px;letter-spacing:-1px}
.wm3-text-link{color:#62e99b;text-decoration:none;font-size:9px;font-weight:800}
.wm3-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.wm3-related-grid>a{
  min-height:160px;display:flex;flex-direction:column;padding:17px;
  border:1px solid #173126;border-radius:14px;background:#091610;text-decoration:none;
  transition:.18s
}
.wm3-related-grid>a:hover{transform:translateY(-2px);border-color:rgba(35,213,116,.25)}
.wm3-related-grid small{color:#5ddf96;font-size:7px;font-weight:900;letter-spacing:.8px}
.wm3-related-grid strong{margin:10px 0;color:#edf7f1;font-size:15px;line-height:1.28}
.wm3-related-grid span{margin-top:auto;color:#768d81;font-size:8px}
.wm3-related-grid span i{margin-left:4px;color:#50e48f}

/* Light theme */
.w4-shell[data-theme="light"] .wm3-guide-article-hero{
  background:
    radial-gradient(circle at 20% -18%,rgba(20,174,92,.09),transparent 36%),
    linear-gradient(180deg,#f8fbf9,#f3f8f5);
  border-color:#dbe6df
}
.w4-shell[data-theme="light"] .wm3-guide-article-hero:before{background-image:linear-gradient(rgba(15,46,29,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(15,46,29,.025) 1px,transparent 1px)}
.w4-shell[data-theme="light"] .wm3-guide-article-hero h1,
.w4-shell[data-theme="light"] .wm3-long-section h2,
.w4-shell[data-theme="light"] .wm3-article-layout-intro h2,
.w4-shell[data-theme="light"] .wm3-article-cta h2,
.w4-shell[data-theme="light"] .wm3-article-section-inner>h2,
.w4-shell[data-theme="light"] .wm3-sources-box h2{color:#13221a}
.w4-shell[data-theme="light"] .wm3-guide-intro,
.w4-shell[data-theme="light"] .wm3-long-section p,
.w4-shell[data-theme="light"] .wm3-article-layout-intro p,
.w4-shell[data-theme="light"] .wm3-sources-box p{color:#566a5e}
.w4-shell[data-theme="light"] .wm3-article-section,
.w4-shell[data-theme="light"] .wm3-related-guides{background:#f7faf8}
.w4-shell[data-theme="light"] .wm3-article-layout-intro,
.w4-shell[data-theme="light"] .wm3-side-card,
.w4-shell[data-theme="light"] .wm3-related-grid>a,
.w4-shell[data-theme="light"] .wm3-sources-box{background:#fff;border-color:#dfe9e3}
.w4-shell[data-theme="light"] .wm3-article-toc a,
.w4-shell[data-theme="light"] .w187-side-actions button,
.w4-shell[data-theme="light"] .w187-side-actions a{background:#f7faf8;border-color:#dfe9e3!important}
.w4-shell[data-theme="light"] .wm3-related-grid strong,
.w4-shell[data-theme="light"] .wm3-inline-faq summary{color:#17271e}
.w4-shell[data-theme="light"] .wm3-inline-faq details{background:#fff;border-color:#dfe9e3}
.w4-shell[data-theme="light"] .wm3-inline-faq details p{color:#566a5e}
.w4-shell[data-theme="light"] .wm3-article-callout{background:#eefaf3}
.w4-shell[data-theme="light"] .wm3-article-cta{background:linear-gradient(135deg,#effaf4,#f7fbf9)}
.w4-shell[data-theme="light"] .w187-reading-progress{background:#e7eee9}

/* Responsive */
@media(max-width:1000px){
  .w187-reading-progress{top:68px}
  .wm3-guide-article-hero{padding:58px 0 52px}
  .wm3-guide-article-hero h1{font-size:clamp(44px,7.3vw,68px);letter-spacing:-2.9px}
  .wm3-article-grid{grid-template-columns:1fr;gap:30px}
  .wm3-article-side{order:-1}
  .wm3-side-sticky{position:static}
  .wm3-side-card:first-child{display:none}
  .wm3-side-card.green{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}
  .wm3-side-card.green p{grid-column:1}
  .wm3-side-card.green a{grid-column:2;grid-row:1/3}
}
@media(max-width:760px){
  .wm3-container,.wm3-container.narrow{width:min(calc(100% - 28px),1220px)}
  .wm3-guide-article-hero{padding:44px 0 40px}
  .wm3-breadcrumbs{margin-bottom:20px}
  .wm3-guide-article-hero h1{font-size:clamp(39px,12vw,54px);letter-spacing:-2.1px}
  .wm3-guide-intro{font-size:14px}
  .wm3-guide-meta span{font-size:8px;min-height:30px}
  .wm3-section{padding:48px 0}
  .wm3-article-layout-intro{grid-template-columns:1fr;padding:18px}
  .wm3-article-layout-intro h2{font-size:27px}
  .wm3-long-section{grid-template-columns:1fr;gap:10px;padding:31px 0}
  .wm3-long-section-num{position:static;width:36px;height:36px;border-radius:9px}
  .wm3-long-section h2{font-size:27px}
  .wm3-long-section p{font-size:14px}
  .wm3-article-cta{align-items:flex-start;flex-direction:column;padding:21px}
  .wm3-btn{width:100%}
  .wm3-related-grid{grid-template-columns:1fr}
  .wm3-side-card.green{display:block}
  .wm3-side-card.green a{margin-top:10px}
}
@media(max-width:480px){
  .wm3-guide-meta{display:grid;grid-template-columns:1fr 1fr}
  .wm3-guide-meta span{justify-content:flex-start}
  .wm3-article-callout{grid-template-columns:38px 1fr;padding:14px}
  .wm3-article-callout>i{width:38px;height:38px;border-radius:10px}
  .wm3-article-toc a{grid-template-columns:29px 1fr}
}
