/* Article images and FAQ (moved here from the 3 blog post pages) */
.dv-img{margin:1.5rem 0 2rem;padding:0;width:100%;max-width:100%;text-align:left}
.dv-img img{display:block;width:100%;height:auto;border-radius:14px}
.dv-img figcaption{margin-top:.6rem;font-size:.9rem;line-height:1.5;color:#5a6b61}
.dv-faq{display:flex;flex-direction:column;gap:.75rem;margin:1.2rem 0 2rem;width:100%}
.dv-faq__item{width:100%;border:1px solid rgba(0,0,0,.12);border-radius:12px;background:#fff;overflow:hidden;transition:box-shadow .25s ease,border-color .25s ease}
.dv-faq__item[open]{border-color:#1f9d4c;box-shadow:0 6px 18px rgba(0,0,0,.07)}
.dv-faq__item summary{list-style:none;cursor:pointer;padding:1rem 3.2rem 1rem 1.2rem;font-size:1.05rem;font-weight:600;line-height:1.4;position:relative}
.dv-faq__item summary::-webkit-details-marker{display:none}
.dv-faq__item summary::after{content:"+";position:absolute;right:1.2rem;top:50%;transform:translateY(-50%);font-size:1.5rem;line-height:1;color:#1f9d4c}
.dv-faq__item[open] summary::after{content:"–"}
.dv-faq__item summary:focus-visible{outline:2px solid #1f9d4c;outline-offset:-2px}
.dv-faq__a{padding:0 1.2rem 1.1rem}
.dv-faq__a p{margin:0}

/* Blog article pages
   The article column uses the same container as the page heading,
   so text, images and the heading all start on the same left edge.
   Content fills the container, so left and right margins are equal. */
.wrap.article{max-width:var(--max)}
.wrap.article>*{max-width:100%}

/* Even spacing between headings, paragraphs, images and lists */
.article h2{margin:clamp(32px,4vw,48px) 0 14px}
.article h3{margin:28px 0 10px}
.article p{margin:0 0 16px}
.article .dv-img{margin:clamp(24px,3vw,36px) 0}
.article ul,.article ol{margin:0 0 18px;padding-left:22px}
.article li{margin-bottom:6px}

/* Tablet */
@media (max-width:900px){
  .article h2{font-size:clamp(22px,3.4vw,28px)}
}

/* Phone */
@media (max-width:600px){
  .article h2{margin:28px 0 10px}
  .article p{font-size:16px;line-height:1.7}
  .article .dv-img{margin:20px 0}
  .article .dv-img img{border-radius:12px}
  .article table{display:block;max-width:100%;overflow-x:auto}
}

/* Contents table (SL / Section): green header, soft-green and white rows */
.article table[cellpadding]{background:#fff !important;color:#26352B !important;border-collapse:separate !important;border-spacing:0;border-radius:14px;overflow:hidden;box-shadow:0 0 0 1px #d6eadc}
.article table[cellpadding] th,.article table[cellpadding] td{border:0 !important;border-bottom:1px solid #e1efe5 !important;padding:12px 16px !important;color:#26352B !important;line-height:1.45}
.article table[cellpadding] tr:first-child th,.article table[cellpadding] tr:first-child td{background:#168C4A !important;color:#fff !important;font-weight:600}
.article table[cellpadding] tr:nth-child(even) td,.article table[cellpadding] tr:nth-child(even) th{background:#F0F8F2 !important}
.article table[cellpadding] tr:nth-child(odd):not(:first-child) td,.article table[cellpadding] tr:nth-child(odd):not(:first-child) th{background:#FFFFFF !important}
.article table[cellpadding] tr:last-child td,.article table[cellpadding] tr:last-child th{border-bottom:0 !important}
.article table[cellpadding] td:first-child,.article table[cellpadding] th:first-child{text-align:center;font-weight:600}
.article table[cellpadding] a{color:#168C4A !important;text-decoration:none}
.article table[cellpadding]{width:100%;margin:1.5rem 0 2rem;line-height:1.2}
.article table[cellpadding] tr:first-child td:last-child,.article table[cellpadding] tr:first-child th:last-child{text-align:left}

/* Article sections with an image: zig-zag rows.
   Row 1 = image left, text right; row 2 = text left, image right; and so on. */
.article .zz{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:center;margin:clamp(40px,5vw,64px) 0;clear:both}
.article .zz--rev{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.article .zz--rev>.dv-img{order:2}
.article .zz>.dv-img{margin:0;width:100%;max-width:none;float:none}
.article .zz>.dv-img img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:20px;box-shadow:0 22px 44px -26px rgba(22,60,38,.5),0 0 0 6px #fff,0 0 0 7px #d6eadc}
.article .zz__txt>h2:first-child{margin-top:0}
.article .zz__txt>*:last-child{margin-bottom:0}

/* Big full-width image for long sections */
.article .dv-img--big{float:none;clear:both;width:100%;max-width:none;margin:clamp(32px,4vw,48px) 0}
.article .dv-img--big img{display:block;width:100%;aspect-ratio:21/9;object-fit:cover;border-radius:22px;box-shadow:0 26px 50px -30px rgba(22,60,38,.5)}

/* Any other article image */
.article .dv-img:not(.dv-img--big){float:none}

/* Tablet and phone: stack image above text */
@media (max-width:900px){
  .article .zz,.article .zz--rev{grid-template-columns:1fr;gap:20px;margin:32px 0}
  .article .zz>.dv-img,.article .zz--rev>.dv-img{order:2}
  .article .zz__txt{order:1}
  .article .zz>.dv-img img{aspect-ratio:16/10;border-radius:14px;box-shadow:0 0 0 4px #fff,0 0 0 5px #d6eadc}
  .article .dv-img--big img{aspect-ratio:16/10;border-radius:14px}
}

/* Lists in articles: visible green numbered / bullet markers */
.article ol:not(.dv-faq ol),.article ul:not(.dv-faq ul){list-style:none !important;padding-left:0 !important;margin:14px 0 20px;counter-reset:li}
.article ol:not(.dv-faq ol)>li,.article ul:not(.dv-faq ul)>li{position:relative;padding-left:40px;margin-bottom:12px;line-height:1.65}
.article ol:not(.dv-faq ol)>li::before{content:"\2713";position:absolute;left:0;top:.15em;width:24px;height:24px;border-radius:50%;background:#F0F8F2;color:#168C4A;font-size:14px;font-weight:700;display:grid;place-items:center;line-height:1;box-shadow:0 0 0 1px #d6eadc}
.article ul:not(.dv-faq ul)>li::before{content:"";position:absolute;left:9px;top:.62em;width:8px;height:8px;border-radius:50%;background:#168C4A}
@media (max-width:600px){
  .article ol:not(.dv-faq ol)>li,.article ul:not(.dv-faq ul)>li{padding-left:36px}
  .article ol:not(.dv-faq ol)>li::before{width:22px;height:22px;font-size:13px}
}
