/* Resource centre, article pages and the text written in the admin console.
   Loaded after product-detail.css, which provides the header, footer, buttons and tables. */
.rich-text { color:#35505f; font-size:14px; line-height:1.95; overflow-wrap:anywhere; }
.rich-text p { margin:0 0 16px; }
.rich-text h2 { margin:38px 0 14px; font-size:23px; }
.rich-text h3 { margin:30px 0 12px; font-size:17px; color:var(--ink); }
.rich-text h4 { margin:24px 0 10px; font-size:15px; color:var(--ink); }
.rich-text ul { margin:0 0 16px; padding-left:22px; }
.rich-text li { margin:5px 0; }
.rich-text a { color:var(--accent); text-decoration:underline; }
.rich-text td { padding:10px 14px; border-bottom:1px solid #e7eef2; vertical-align:top; }
.rich-text tr:last-child td { border-bottom:0; }
.rich-text td:first-child { color:var(--ink); font-weight:600; background:#f7fafc; white-space:nowrap; }
.rich-text figure { margin:24px 0; text-align:center; }
.rich-text figure img { max-width:100%; height:auto; border-radius:10px; border:1px solid var(--line); }
.rich-text figcaption { margin-top:8px; color:var(--muted); font-size:11px; }
.language-note { margin:14px 0 0; padding:9px 14px; border-left:3px solid #23bdb0; background:#eff7f7; color:#3d6975; font-size:12px; }

.article-page { max-width:860px; padding-bottom:70px; }
.article-head { padding:6px 0 26px; border-bottom:1px solid var(--line); }
.article-meta { display:flex; align-items:center; gap:14px; color:var(--muted); font-size:11px; }
.article-category,.tag { display:inline-block; padding:3px 10px; border-radius:4px; background:#eff6f7; color:#276975; font-size:11px; font-weight:650; }
.article-head h1 { margin:16px 0 14px; }
.article-cover { margin:28px 0 0; }
.article-cover img { display:block; width:100%; max-height:420px; object-fit:cover; border-radius:14px; }
.article .rich-text { padding-top:30px; }
.article-cta { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:46px; padding:26px 28px; border:1px solid var(--line); border-radius:14px; background:linear-gradient(145deg,#f1f7fa,#fff); }
.article-cta strong { font-size:17px; }
.article-cta p { margin:6px 0 0; color:var(--muted); font-size:12px; }
.article-cta .actions { flex-shrink:0; }

.res-hero { padding:54px 0 46px; color:#fff; background:#071a2a; }
.res-hero .eyebrow { color:#1fd2c0; }
.res-hero h1 { margin:14px 0 12px; }
.res-hero p { max-width:640px; margin:0; color:#a9c0ce; font-size:14px; }
.res-stats { display:flex; gap:34px; margin-top:28px; }
.res-stats strong { display:block; font-size:25px; }
.res-stats span { display:block; color:#94b4c3; font-size:11px; }
.res-tabs { position:sticky; top:0; z-index:15; border-bottom:1px solid var(--line); background:#fffffff5; backdrop-filter:blur(14px); }
.res-tabs .container { display:flex; gap:34px; }
.res-tab { padding:17px 0; border:0; border-bottom:2px solid transparent; background:none; color:#365567; font-size:13px; }
.res-tab.active { color:var(--accent); border-bottom-color:var(--accent); font-weight:650; }
.res-panel { padding:34px 0 70px; }
.res-tools { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:8px; }
.res-search { flex:1; min-width:220px; height:42px; padding:0 14px; border:1px solid var(--line); border-radius:9px; outline:0; background:#fbfdfe; font-size:13px; }
.res-search:focus { border-color:var(--accent); }
.res-count { color:var(--muted); font-size:12px; }
.res-filters { display:flex; flex-wrap:wrap; gap:8px; padding:14px 0 22px; }
.res-filter { padding:7px 14px; border:1px solid var(--line); border-radius:999px; background:#fff; color:#59717d; font-size:12px; }
.res-filter.active { color:#fff; border-color:var(--brand); background:var(--brand); font-weight:650; }
.doc-group { display:grid; grid-template-columns:230px minmax(0,1fr); gap:28px; padding:22px 0; border-top:1px solid var(--line); }
.doc-group h3 { margin:0 0 6px; font-size:15px; }
.doc-group h3 a:hover { color:var(--accent); }
.doc-group .download { padding:11px 0; }
.doc-group .download:last-child { border-bottom:0; }
.article-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.article-card { display:flex; flex-direction:column; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#fff; transition:box-shadow .2s,transform .2s; }
.article-card:hover { transform:translateY(-3px); box-shadow:0 16px 38px rgba(4,29,47,.1); }
.article-card img,.article-card .no-cover { display:block; width:100%; height:168px; object-fit:cover; background:linear-gradient(135deg,#163c54,#0b7f82); }
.article-card-body { display:flex; flex-direction:column; flex:1; gap:9px; padding:20px; }
.article-card h3 { margin:0; font-size:16px; line-height:1.5; }
.article-card p { margin:0; color:var(--muted); font-size:12px; }
.article-card time { margin-top:auto; color:#8295a0; font-size:11px; }
.res-empty { padding:60px 20px; color:var(--muted); text-align:center; font-size:13px; }
@media (max-width:900px) { .article-list { grid-template-columns:1fr 1fr; } .doc-group { grid-template-columns:1fr; gap:8px; } }
@media (max-width:760px) {
  .article-list { grid-template-columns:1fr; }
  .article-cta { flex-direction:column; align-items:stretch; padding:22px; }
  .res-hero { padding:38px 0 34px; } .res-stats { gap:24px; }
  .rich-text td:first-child { white-space:normal; }
}
