/* articles page */
.art{padding-top:1.6rem;padding-bottom:3.5rem;min-height:60vh}
.is-active{color:var(--teal)}
.crumbs{display:flex;flex-wrap:wrap;gap:0.4rem;font-size:0.78rem;color:var(--muted);margin-bottom:1.2rem}
.crumbs a:hover{color:var(--teal)}
.crumbs span:last-child{color:var(--text)}
.ahead{font-size:2rem;color:var(--navy);margin-bottom:0.4rem}
.ahead__sub{font-size:0.95rem;color:var(--muted);margin-bottom:1.4rem;max-width:40rem}
.atabs{display:flex;gap:1.4rem;border-bottom:1px solid var(--line);margin-bottom:1.4rem}
.atabs a{padding:0.55rem 0;margin-bottom:-1px;font-size:0.88rem;font-weight:500;color:var(--muted);border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.atabs a:hover{color:var(--navy)}
.atabs a.on{color:var(--navy);font-weight:600;border-color:var(--teal)}
.agrid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}
.acard{display:flex;flex-direction:column;background:var(--bg);border-radius:0.9rem;overflow:hidden;border:1.5px solid transparent;transition:border-color .2s,box-shadow .2s,transform .25s}
.acard:hover{border-color:var(--teal);box-shadow:0 0 0 3px rgba(6,182,200,.12);transform:translateY(-3px)}
.acard__img{display:grid;place-items:center;height:11rem;background:#fff;border-bottom:1px solid var(--line);padding:0.8rem}
.acard__img img{max-width:100%;max-height:100%;object-fit:contain}
.acard__body{display:flex;flex-direction:column;gap:0.5rem;padding:1.1rem 1.2rem 1.2rem;flex:1}
.acard__meta{font-size:0.72rem;text-transform:uppercase;letter-spacing:.4px;color:var(--muted)}
.acard h2{font-family:'Montserrat','Montserrat Fallback',sans-serif;font-size:1.05rem;line-height:1.35;color:var(--navy)}
.acard__desc{font-size:0.82rem;line-height:1.55;color:#4b5b69;flex:1}
.acard__go{display:inline-flex;align-items:center;gap:0.4rem;font-size:0.78rem;font-weight:600;color:var(--teal)}
.acard__go svg{width:0.8rem;height:0.8rem}
.post{max-width:46rem;margin:0 auto}
.post__meta{font-size:0.75rem;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);margin-bottom:0.6rem}
.post h1{font-size:2rem;line-height:1.25;color:var(--navy);margin-bottom:0.8rem}
.post__lead{font-size:1.02rem;line-height:1.65;color:#3c4a57;margin-bottom:1.3rem}
.post__cover{display:grid;place-items:center;height:16rem;background:var(--bg);border-radius:1rem;margin-bottom:1.6rem;padding:1rem}
.post__cover img{max-width:100%;max-height:100%;object-fit:contain}
.post__body{font-size:0.98rem;line-height:1.75;color:#2a3947}
.post__body h2{font-family:'Montserrat','Montserrat Fallback',sans-serif;font-size:1.35rem;line-height:1.3;color:var(--navy);margin:2rem 0 0.7rem}
.post__body p{margin-bottom:1rem}
.post__body ul{margin:0 0 1.1rem 1.3rem}
.post__body li{margin-bottom:0.45rem;padding-left:0.2rem}
.post__body li::marker{color:var(--teal)}
.post__cta{display:flex;align-items:center;justify-content:space-between;gap:1.4rem;flex-wrap:wrap;margin-top:2.4rem;padding:1.5rem 1.7rem;border-radius:1rem;color:#fff;background:linear-gradient(105deg,#0d2a3a 0%,#0a4a5e 55%,#06b6c8 140%)}
.post__cta b{font-family:'Montserrat','Montserrat Fallback',sans-serif;font-size:1.15rem}
.post__cta p{font-size:0.88rem;color:#dcf1f5;margin-top:0.3rem;max-width:26rem;line-height:1.55}
.post__btns{display:flex;gap:0.7rem;flex-wrap:wrap}
.post__cta .btn{background:#fff;color:var(--navy);height:2.6rem;font-size:0.82rem}
.post__cta .btn:hover{background:#e9f8fa}
.post__cta .btn--ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55)}
.post__cta .btn--ghost:hover{background:rgba(255,255,255,.12)}
.more{margin-top:3rem}
.more h2{font-size:1.4rem;color:var(--navy);margin-bottom:1rem}
@media (max-width:900px){
  .header__in{flex-wrap:wrap;gap:0.4rem 0.8rem;height:auto;padding-top:0.6rem;padding-bottom:0.6rem}
  .header{height:auto}
  .logo img{height:1.9rem}
  .agrid{grid-template-columns:1fr 1fr}
  .ahead,.post h1{font-size:1.5rem}
  .post__cover{height:11rem}
  .post__cta{padding:1.2rem}
  .post__btns,.post__btns .btn{width:100%}
}
@media (max-width:560px){.agrid{grid-template-columns:1fr}}
.acard__img,.post__cover{overflow:hidden}
.acard__img img,.post__cover img{height:100%;width:auto;max-width:100%;object-fit:contain}
.acard__img,.post__cover{display:flex;align-items:center;justify-content:center}
.acard__img img,.post__cover img{flex:none;height:100%;width:auto;max-width:100%}
/* nav of the content pages stays visible on phones (style.css hides .nav below 900px) */

/* ---- article components: key points, figures, tables, callouts, numbered lists, wide covers ---- */
.post__cover.post__cover--wide{display:block;height:auto;aspect-ratio:1200/630;padding:0;background:none;border-radius:1rem;overflow:hidden}
.post__cover.post__cover--wide img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.acard__img.acard__img--wide{display:block;height:auto;aspect-ratio:1200/630;padding:0;background:none}
.acard__img.acard__img--wide img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.post__body h3{font-family:'Montserrat','Montserrat Fallback',sans-serif;font-size:1.08rem;line-height:1.35;color:var(--navy);margin:1.5rem 0 0.5rem}
.akeys{background:#eef8fa;border-left:4px solid var(--teal);border-radius:0 0.9rem 0.9rem 0;padding:1.1rem 1.3rem 0.6rem;margin:0 0 1.6rem}
.akeys>b{display:block;font-family:'Montserrat','Montserrat Fallback',sans-serif;font-size:1.02rem;color:var(--navy);margin-bottom:0.6rem}
.akeys ul{margin:0 0 0.5rem 1.1rem}.akeys li{margin-bottom:0.5rem;font-size:0.95rem;line-height:1.6}
.afig{margin:1.6rem 0}
.afig img{display:block;width:100%;height:auto;max-height:21rem;object-fit:contain;background:var(--bg);border-radius:1rem;padding:1.1rem}
.afig--wide img{max-height:none;padding:0;background:none;border-radius:0.9rem;box-shadow:0 0 0 1px var(--line)}
.afig figcaption{font-size:0.8rem;line-height:1.5;color:var(--muted);text-align:center;margin-top:0.6rem}
.afig-row{display:grid;grid-template-columns:repeat(3,1fr);gap:0.8rem;margin:1.6rem 0}
.afig-row .afig{margin:0}
.afig-row .afig img{height:9rem;max-height:none;padding:0.7rem}
.acallout{background:var(--bg);border-left:4px solid var(--teal);border-radius:0 0.9rem 0.9rem 0;padding:1rem 1.2rem;margin:1.4rem 0}
.acallout b{display:block;font-family:'Montserrat','Montserrat Fallback',sans-serif;color:var(--navy);margin-bottom:0.3rem}
.acallout p{margin:0;font-size:0.93rem;line-height:1.65}
.acallout--warn{background:#fff6e6;border-left-color:#f0a02c}
.atable-wrap{overflow-x:auto;margin:1.3rem 0;border-radius:0.9rem;box-shadow:0 0 0 1px var(--line)}
.atable{width:100%;border-collapse:collapse;font-size:0.88rem;line-height:1.5;min-width:32rem}
.atable th{background:var(--navy);color:#fff;text-align:left;padding:0.7rem 0.9rem;font-weight:600;font-size:0.8rem}
.atable td{padding:0.7rem 0.9rem;border-bottom:1px solid var(--line);vertical-align:top}
.atable tbody tr:last-child td{border-bottom:0}
.atable tbody tr:nth-child(even) td{background:#f6fafc}
.atable td:first-child{font-weight:600;color:var(--navy)}
ol.alist{counter-reset:al;list-style:none;margin:0 0 1.3rem;padding:0}
ol.alist li{counter-increment:al;position:relative;padding:0.1rem 0 0.1rem 2.5rem;margin:0 0 0.8rem}
ol.alist li::before{content:counter(al);position:absolute;left:0;top:0.05rem;width:1.8rem;height:1.8rem;border-radius:50%;background:var(--teal);color:#fff;display:grid;place-items:center;font-size:0.82rem;font-weight:600}
@media (max-width:560px){.afig-row{grid-template-columns:1fr}.afig-row .afig img{height:8rem}.akeys{padding:1rem 1rem 0.5rem}}
.post__body ul,.akeys ul{list-style:disc}
.afig img{max-height:19rem}
.afig-row .afig img{max-height:none}
/* wide diagrams are a bit wider than the text column so their captions stay readable */
@media (min-width:1000px){.afig--wide{margin-left:-7rem;margin-right:-7rem}.atable-wrap--wide{margin-left:-3rem;margin-right:-3rem}}
/* links inside the text of an article: just a colour of the text */
.post__body a:not(.btn){color:#0499aa;font-weight:600;text-decoration:none}
.post__body a:not(.btn):hover{color:#037f8d;text-decoration:underline;text-underline-offset:3px}
.post__body a:not(.btn):focus-visible{outline:2px solid var(--teal);outline-offset:2px}

/* "related products" carousel in an article */
.pcar{position:relative;margin:0 0 0.5rem}
.pcar__track{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:0.3rem 0.1rem 1rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.pcar__track::-webkit-scrollbar{display:none}
.pcar__track>.pcard{flex:0 0 calc((100% - 2rem)/3);min-width:0;scroll-snap-align:start}
.pcar__btn{position:absolute;top:38%;z-index:2;width:2.7rem;height:2.7rem;border:0;border-radius:50%;background:#fff;color:var(--navy);box-shadow:0 6px 18px rgba(22,33,46,.18);display:grid;place-items:center;cursor:pointer;padding:0;transition:background .2s,color .2s,opacity .2s}
.pcar__btn svg{width:1.25rem;height:1.25rem}
.pcar__btn--prev{left:-1.35rem}.pcar__btn--next{right:-1.35rem}
.pcar__btn:hover:not(:disabled){background:var(--teal);color:#fff}
.pcar__btn:disabled{opacity:.0;pointer-events:none}
@media (max-width:900px){.pcar__track>.pcard{flex-basis:calc((100% - 1rem)/2)}.pcar__btn{width:2.3rem;height:2.3rem;top:34%;box-shadow:0 4px 12px rgba(22,33,46,.22)}.pcar__btn svg{width:1.05rem;height:1.05rem}.pcar__btn--prev{left:.4rem}.pcar__btn--next{right:.4rem}}
@media (max-width:480px){.pcar__track>.pcard{flex-basis:72%}}
