/* Article cards (articles v2): the pieces every article surface shares. The cover, the card, the chip and the kind badge, the
   product block on a product page, the home page's section. Loaded in the head of the articles index, an article, a product,
   solution or integration page that has articles, and the home page once an article is published (inc/articles.php).
   Prototype: .site/prototypes/articles-v2/. Zoho logo colours are never recoloured: product icons are the official PNGs, shown
   unmodified on a white tile (decisions.md 2026-11-03). Contrast: white on every cover ground is at least 4.67:1 for the
   topic word's ground (3:1 needed, the word is 32px bold), the kind badges 8:1 or more. */

.nw{white-space:nowrap}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ---------- shared pieces ---------- */
/* ---------- shared pieces ---------- */
.av-sec{padding:88px 0}
@media (max-width:900px){.av-sec{padding:60px 0}}
.av-chip{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--ink);line-height:1.2}
.av-chip img{width:24px;height:24px;border-radius:6px;background:#fff;padding:2px;box-shadow:0 0 0 1px var(--line)}
.av-kind{display:inline-block;font-size:12.5px;font-weight:800;border-radius:999px;padding:3px 11px;line-height:1.3}
.av-kind--guide{color:var(--teal-d);background:#e3f1ee}
.av-kind--update{color:#7a3a06;background:#fdeccf}
.av-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.av-sub{font-size:13.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 14px}
.av-sub span+span::before{content:"";display:inline-block;width:4px;height:4px;border-radius:1px;background:var(--gold);margin-inline-end:14px;vertical-align:middle}
.av-btn-line{display:inline-block;font-weight:700;font-size:15.5px;border-bottom:2px solid currentColor;padding-bottom:2px;transition:color .16s ease,border-color .16s ease}
.av-btn-line:hover{color:var(--teal)}
.av-btn-line:focus-visible,.av-card a:focus-visible,.av-tab:focus-visible{outline:3px solid var(--teal);outline-offset:3px}

/* ---------- the cover: the composed image when there is one, else drawn from the product icon and one topic word ---------- */
.cv{position:relative;aspect-ratio:1200/630;border-radius:var(--radius-lg);overflow:hidden;color:#fff;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;padding:18px 20px}
.cv--guide{background:#17332f}
.cv--update{background:#0d1a17;box-shadow:inset 0 0 0 1px #2f4a43}
.cv::before{content:"";position:absolute;inset:0;z-index:-1;background-repeat:no-repeat;background-size:auto 128%;background-position:left -8% bottom -18%}
.cv--guide::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 250'%3E%3Cpath d='M150 20 110 92h80z' fill='%231A666B'/%3E%3Cpath d='M110 92h40L80 250H40zM150 92h40l70 158h-42z' fill='%2321443e'/%3E%3C/svg%3E")}
.cv--update::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 250'%3E%3Cpath d='M150 20 110 92h80z' fill='%231A666B'/%3E%3Cpath d='M110 92h40L80 250H40zM150 92h40l70 158h-42z' fill='%231a2e29'/%3E%3Crect x='214' y='40' width='26' height='26' fill='%23b45309'/%3E%3C/svg%3E")}
.cv--guide[data-t="2"]{background:#0b4f4a}
.cv--guide[data-t="3"]{background:#0f766e}
.cv--guide[data-t="2"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 250'%3E%3Cpath d='M150 20 110 92h80z' fill='%230f766e'/%3E%3Cpath d='M110 92h40L80 250H40zM150 92h40l70 158h-42z' fill='%230e625c'/%3E%3C/svg%3E")}
.cv--guide[data-t="3"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 250'%3E%3Cpath d='M150 20 110 92h80z' fill='%232a9087'/%3E%3Cpath d='M110 92h40L80 250H40zM150 92h40l70 158h-42z' fill='%23158279'/%3E%3C/svg%3E")}
.cv[data-p="2"]::before{background-size:auto 150%;background-position:left 22% bottom -34%}
.cv[data-p="3"]::before{background-size:auto 108%;background-position:left -22% bottom -4%}
.cv-ico{width:46px;height:46px;border-radius:11px;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cv-ico img{width:32px;height:32px}
.cv-word{font-family:var(--font);font-weight:800;font-size:clamp(32px,3.6vw,46px);line-height:1.05;letter-spacing:0;text-wrap:balance;max-width:80%}
.cv--lg .cv-word{font-size:clamp(40px,5vw,64px)}
.cv--lg .cv-ico{width:54px;height:54px}
.cv--lg .cv-ico img{width:38px;height:38px}
.cv--img{padding:0;background:var(--darker)}
.cv--img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ---------- article card ---------- */
.av-card{position:relative;display:flex;flex-direction:column;gap:16px;transition:transform .2s cubic-bezier(.2,.7,.2,1)}
.av-card .cv{transition:box-shadow .2s ease}
.av-card:hover .cv{box-shadow:0 14px 28px -16px rgba(13,26,23,.6)}
.av-card:hover{transform:translateY(-3px)}
.av-card h3{font-family:var(--font);font-size:21px;line-height:1.3;font-weight:800;letter-spacing:0;text-wrap:balance}
.av-card h3 a::after{content:"";position:absolute;inset:0;z-index:1}
.av-card:hover h3 a{color:var(--teal)}
.av-card p{font-size:15.5px;line-height:1.6;color:var(--muted)}
.av-card .av-body{display:flex;flex-direction:column;gap:10px}
.av-card.is-lead{grid-column:span 2;flex-direction:row;gap:28px;align-items:stretch}
.av-card.is-lead .cv{flex:1 1 56%;align-self:flex-start}
.av-card.is-lead .av-body{flex:1 1 44%;justify-content:center;gap:14px}
.av-card.is-lead h3{font-size:clamp(26px,2.7vw,34px);line-height:1.2}
.av-card.is-lead p{font-size:17px}
.av-card[hidden],.av-row[hidden],.av-feed-item[hidden]{display:none}
.av-card h3{margin:0}
.av-card p{margin:0}

.av-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 32px}
.av-card.is-folded{display:none}
@media (min-width:981px){.av-grid[data-n="1"],.av-grid[data-n="2"]{grid-template-columns:repeat(2,1fr)}}
@media (max-width:980px){.av-grid{grid-template-columns:repeat(2,1fr);gap:40px 24px}}
@media (max-width:640px){
  .av-grid{grid-template-columns:1fr;gap:36px}
  .av-card.is-lead{grid-column:auto;flex-direction:column;gap:16px}
  .av-card.is-lead .cv{flex:none;align-self:auto}
  .av-card.is-lead h3{font-size:24px}
}

/* ---------- the index's card (the redesign approved 2026-11-15, revision 3) ----------
   Every rule is scoped under .av-list, so the home grid (.hm-grid), the product block (.pb-*) and the article's next reads, which share
   .av-card, keep the card above untouched. One bounded unit on every width: a white container, the 1px line, the site radius; the cover
   flush at the top (it is the headline: the title is the image's alt, so no visible text repeats it), then ONE meta line and ONE
   sentence inside the same container. Two equal columns from 640px, one below; 32px between cards (28px on a phone). */
.av-list .av-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.av-list .av-card{position:relative;display:flex;flex-direction:column;gap:0;min-width:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;transition:box-shadow .2s ease}
.av-list .av-card:hover{transform:none;box-shadow:0 18px 32px -24px rgba(13,26,23,.55)}
.av-list .av-grid[hidden],.av-list .av-card[hidden],.av-list .av-mh[hidden]{display:none}
.av-list .av-card.is-folded{display:none}
.av-list .av-h{margin:0;font-size:0;line-height:0}
.av-list .av-h a{display:block}
.av-list .av-h img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;background:var(--darker)}
.av-list .av-card .av-h a:focus-visible{outline:3px solid var(--teal);outline-offset:-3px}
@supports selector(:has(*)){
  .av-list .av-card .av-h a:focus-visible{outline:none}
  .av-list .av-card:has(a:focus-visible){outline:3px solid var(--teal);outline-offset:3px}
}
.av-list .av-cvx{display:block}
.av-list .av-cvx .cv{border-radius:0}
.av-list .av-t{margin:0;font-size:21px;line-height:1.3}
.av-list .av-t+.av-mt{margin-top:10px}
.av-list .av-body{display:flex;flex-direction:column;flex:1;gap:0;padding:20px 24px 24px}
.av-list .av-mt{display:flex;flex-wrap:wrap;align-items:center;margin:0;font-size:16px;line-height:26px;color:var(--muted)}
.av-list .av-mt b{color:var(--ink);font-weight:700}
.av-list .av-mt b+.av-when::before,.av-list .av-when span::before{content:"\00B7";margin-inline:8px}
.av-list .av-when{display:inline-flex;flex-wrap:wrap}
.av-list .av-mt b,.av-list .av-when>*{white-space:nowrap}
.av-list .av-mt time{font-variant-numeric:tabular-nums}
.av-list .av-ex{margin:8px 0 0;font-size:18px;line-height:29px;color:var(--muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:58px}
.av-list .av-new{position:absolute;inset-block-start:14px;inset-inline-end:14px;z-index:2;background:var(--teal-d);color:#fff;font-size:13px;font-weight:700;line-height:1.5;padding:2px 12px;border-radius:999px;pointer-events:none}
/* the reveal: the second sentence of the description in an OPAQUE bar over the foot of the cover (the cover's own baked logo must not
   show through it), on hover and keyboard focus; nothing essential lives only here, and a touch device never gets it */
.av-list .av-rv{position:absolute;inset-block-start:0;inset-inline:0;aspect-ratio:1200/630;display:flex;align-items:flex-end;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility 0s .2s}
.av-list .av-rv>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;width:100%;background:var(--darker);color:#fff;font-size:17px;font-weight:500;line-height:1.5;padding:16px 26px 18px;transform:translateY(100%);transition:transform .22s cubic-bezier(.2,.7,.2,1)}
.av-list .av-card:hover .av-rv,.av-list .av-card:focus-within .av-rv{opacity:1;visibility:visible;transition-delay:0s}
.av-list .av-card:hover .av-rv>span,.av-list .av-card:focus-within .av-rv>span{transform:none}
@media (hover:none){.av-list .av-rv{display:none}}
/* a month heading above eight articles: a quiet label and a hairline, never a box */
.av-list .av-mh{grid-column:1 / -1;display:flex;align-items:center;gap:16px;margin:16px 0 -8px;font-size:15px;line-height:1.2;font-weight:800;color:var(--muted)}
.av-list .av-mh:first-child{margin-top:0}
.av-list .av-mh::after{content:"";flex:1;height:1px;background:var(--line)}
@media (max-width:999px){
  .av-list .av-ex{-webkit-line-clamp:3;line-clamp:3;min-height:87px}
  .av-list .av-rv>span{-webkit-line-clamp:3;line-clamp:3}
  .av-list .av-mt{display:block}
  .av-list .av-mt b{display:block}
  .av-list .av-mt b+.av-when::before{content:none}
}
@media (max-width:639px){
  .av-list .av-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .av-list .av-body{padding:18px 18px 22px}
  .av-list .av-mt{font-size:15px;line-height:24px}
  .av-list .av-ex{font-size:17px;line-height:28px;display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible;min-height:0}
}

/* ---------- product page block: one article, or a large card and ruled rows (to six) ---------- */
.pb{background:var(--white);padding:80px 0}
@media (max-width:900px){.pb{padding:56px 0}}
.pb-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:32px}
.pb-head h2{font-family:var(--font);letter-spacing:0}
.pb-head p{color:var(--muted);margin-top:8px;font-size:17px}
.pb-one{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:32px;align-items:stretch}
.pb-one .av-card{flex-direction:row;gap:28px;align-items:stretch}
.pb-one .av-card .cv{flex:1 1 48%;align-self:flex-start}
.pb-one .av-card .av-body{flex:1 1 52%;justify-content:center}
.pb-ask{background:var(--dark);color:#fff;border-radius:var(--radius-lg);padding:32px;display:flex;flex-direction:column;justify-content:center;gap:12px;position:relative;overflow:hidden}
.pb-ask b{font-size:22px;line-height:1.3;font-weight:800}
.pb-ask p{color:#c8d2ce;font-size:16px}
.pb-ask .btn{align-self:flex-start;margin-top:8px;background:#fff;color:var(--teal-d)}
.pb-ask .btn:hover{background:#e8f3f1}
.pb-six{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:start}
.pb-six .av-card.is-lead{grid-column:auto;flex-direction:column;gap:16px}
.pb-six .av-card.is-lead .cv{flex:none;align-self:auto}
.pb-six .av-card h3{font-size:26px}
.pb-rows{border-top:1px solid var(--ink)}
.pb-r{position:relative;display:grid;grid-template-columns:96px 1fr;gap:16px;padding:18px 4px;border-bottom:1px solid var(--line);align-items:center;transition:background .16s ease}
.pb-r:hover{background:#eef4ec}
.pb-r .cv{aspect-ratio:1/1;padding:8px;border-radius:10px}
.pb-r .cv-ico{width:34px;height:34px;border-radius:8px}.pb-r .cv-ico img{width:24px;height:24px}
.pb-r .cv-word{display:none}
.pb-r .cv--img{padding:0}
.pb-rows{list-style:none;margin:0;padding:0}
.pb-r h3{font-family:var(--font);font-size:18px;line-height:1.35;font-weight:800;margin-top:6px}
.pb-r h3 a::after{content:"";position:absolute;inset:0}
.pb-r:hover h3 a{color:var(--teal)}
@media (max-width:900px){
  .pb-one,.pb-six{grid-template-columns:1fr;gap:28px}
  .pb-one .av-card{flex-direction:column}
  .pb-one .av-card .cv{flex:none;align-self:auto}
}

/* ---------- home section ---------- */
.hm-art{background:var(--paper)}
.hm-art-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:40px}
.hm-art-head h2{max-width:14em}
.hm-art-head .lede{margin-top:14px}
.hm-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:32px;align-items:start}
.hm-grid .av-card.is-lead{grid-column:auto;flex-direction:column;gap:16px}
.hm-grid .av-card.is-lead .cv{flex:none;align-self:auto}
@media (max-width:980px){.hm-grid{grid-template-columns:1fr 1fr}.hm-grid .av-card.is-lead{grid-column:span 2}}
@media (max-width:640px){.hm-grid{grid-template-columns:1fr;gap:32px}.hm-grid .av-card.is-lead{grid-column:auto}}
.hm-grid[data-n="1"]{grid-template-columns:minmax(0,520px)}
.hm-grid[data-n="2"]{grid-template-columns:1fr 1fr}
@media (max-width:640px){.hm-grid[data-n="2"]{grid-template-columns:1fr}}
.hm-grid .av-card:not(.is-lead){align-self:start}

@media (prefers-reduced-motion: reduce){
  .av-card,.av-card .cv,.av-btn-line,.pb-r,.av-list .av-rv,.av-list .av-rv span{transition:none!important}
  .av-card:hover{transform:none}
}
