/* =============================================================================
   CAASL UI Revamp — UI-S5 Standard Content Pages (Direction A "Colombo FIR")
   Inner-only, loaded after ui-foundation.css. Styles com_content core layouts
   (article + category blog/list) via CSS only — no core edits. Joomla markup:
   .com-content-article.item-page · .page-header · .com-content-article__body ·
   .article-info · .com-content-category-blog__item.blog-item · .pagination.
   ============================================================================ */

/* ---------- article header + meta ---------- */
.com-content-article .page-header, .item-page .page-header{
  border-bottom:1px solid var(--line); padding-bottom:12px; margin:0 0 14px; }
.com-content-article .page-header h1, .item-page .page-header h1{
  font-size:clamp(1.6rem,3vw,2.15rem); line-height:1.15; color:var(--navy); margin:0; }
.article-info{ font-family:var(--mono); font-size:.76rem; letter-spacing:.03em;
  color:var(--ink-muted) !important; display:flex; flex-wrap:wrap; gap:6px 18px; margin:0 0 18px; }
.article-info dt{ font-weight:700; }
.article-info dd{ margin:0; }
.article-info time, .article-info .article-info-term{ color:var(--ink-muted) !important; }

/* ---------- article body: readable long-form ---------- */
.com-content-article__body{ font-size:1.02rem; line-height:1.7; color:var(--ink); }
.com-content-article__body > *{ max-width:var(--measure); }
/* (2026-12-04, owner: Report-an-accident table misaligned) tables are not running
   text: the 74ch measure cut them short of the column, and by a different amount
   per language (Sinhala/Tamil glyphs are wider). Let them use the full column. */
.com-content-article__body > table{ max-width:100%; }
.com-content-article__body > .table-responsive{ max-width:none; }
/* the table's own top margin sat INSIDE the bordered .table-responsive wrapper,
   leaving an empty band above row 1 — the wrapper carries the spacing instead */
.com-content-article__body .table-responsive{ margin:1.1em 0 1.3em; }
.com-content-article__body .table-responsive > .table{ margin:0; }
/* Bootstrap's .table-responsive forbids wrapping in cells below 768px, so even a
   3-column contact table scrolled sideways on phones. Tables of up to 3 columns
   wrap normally; wider data tables keep the scroll. Phone-number style cells
   (tagged by user.js, .caasl-nowrap) never break mid-number. */
.com-content-article__body td.caasl-nowrap{ white-space:nowrap; }
@media (max-width:767px){
  .table-responsive > .table:not(:has(tr > :nth-child(4))) > tbody > tr > td,
  .table-responsive > .table:not(:has(tr > :nth-child(4))) > tbody > tr > th,
  .table-responsive > .table:not(:has(tr > :nth-child(4))) > thead > tr > th{ white-space:normal; }
  .table-responsive > .table:not(:has(tr > :nth-child(4))) > tbody > tr > td.caasl-nowrap{ white-space:nowrap; }
  .table-responsive > .table:not(:has(tr > :nth-child(4))) > tbody > tr > td,
  .table-responsive > .table:not(:has(tr > :nth-child(4))) > tbody > tr > th{ padding:8px 7px !important; }
}
@media (max-width:399px){
  .table-responsive > .table:not(:has(tr > :nth-child(4))){ font-size:.86rem; }
  .table-responsive > .table:not(:has(tr > :nth-child(4))) td.caasl-nowrap{ font-size:.8rem; padding-left:5px !important; padding-right:5px !important; }
  /* long Tamil/Sinhala words (e.g. போக்குவரத்துப்) would push the numbers off-screen */
  .table-responsive > .table:not(:has(tr > :nth-child(4))) td:not(.caasl-nowrap){ overflow-wrap:anywhere; }
  /* …but a cell with an authored width (the category column, width:15%) keeps whole
     words and sizes to its longest one, so it isn't crushed to a letter per line */
  .table-responsive > .table:not(:has(tr > :nth-child(4))) td[style*="width"]{ width:auto !important; overflow-wrap:normal; }
  .table-responsive > .table:not(:has(tr > :nth-child(4))) span[style*="font-size"]{ font-size:inherit !important; }
}
.com-content-article__body h2{ font-size:1.4rem; margin:1.7em 0 .5em; color:var(--navy); }
.com-content-article__body h3{ font-size:1.15rem; margin:1.4em 0 .4em; color:var(--navy); }
.com-content-article__body a{ color:var(--teal); }
.com-content-article__body img{ max-width:100%; height:auto; border-radius:var(--radius); }
.com-content-article__body figure{ margin:1.3em 0; max-width:100%; }
.com-content-article__body figure img{ display:block; }
.com-content-article__body figcaption{ font-family:var(--mono); font-size:.74rem; color:var(--ink-muted); margin-top:6px; }
.com-content-article__body blockquote{ border-left:4px solid var(--amber); background:var(--paper);
  padding:12px 18px; margin:1.3em 0; border-radius:0 var(--radius) var(--radius) 0; }
.com-content-article__body ul, .com-content-article__body ol{ padding-left:1.4em; }
.com-content-article__body li{ margin:.3em 0; }

/* intro/full image floats from Joomla */
.item-image, .article-intro-image, .pull-left.item-image{ margin:0 20px 14px 0; max-width:46%; }
.item-image img, .article-intro-image img{ border-radius:var(--radius); }

/* ---------- tables (zebra; horizontal scroll on small screens) ---------- */
.com-content-article__body table, .item-page table:not(.pagination){
  width:100%; border-collapse:collapse; margin:1.3em 0; background:var(--white);
  border:1px solid var(--line); border-radius:var(--radius); }
.com-content-article__body th, .item-page table:not(.pagination) th{
  background:var(--navy); color:#fff; text-align:left; padding:10px 13px; font-family:var(--display); font-size:.9rem; }
.com-content-article__body td, .item-page table:not(.pagination) td{
  padding:10px 13px; border-top:1px solid var(--line); font-size:.94rem; }
.com-content-article__body tr:nth-child(even) td{ background:#fafbfc; }

/* ---------- category blog: scannable cards ---------- */
/* paper surface only on category pages so the white item cards stand out
   (article pages keep the white content surface) */
.maincontents:has(.com-content-category-blog),
.maincontents:has(.com-content-category){ background:var(--paper) !important; padding:18px !important; }
.com-content-category-blog__item.blog-item, .blog-item{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:18px 20px; margin-bottom:16px; }
.blog-item .page-header{ border-bottom:0; padding:0; margin:0 0 6px; }
.blog-item .page-header h2{ font-size:1.2rem; margin:0; line-height:1.25; }
.blog-item .page-header h2 a{ color:var(--navy); text-decoration:none; }
.blog-item .page-header h2 a:hover{ color:var(--teal); }
.blog-item .article-info{ margin-bottom:10px; }
.blog-item img{ max-width:100%; height:auto; border-radius:var(--radius); }
.items-leading, .items-row{ margin:0; }
.items-row [class*="item-"]{ margin-bottom:0; }

/* ---------- read-more ---------- */
.readmore a, a.readmore, p.readmore a, .com-content-readmore a, .blog-item .readmore a{
  display:inline-flex; align-items:center; gap:6px; background:var(--navy); color:#fff !important;
  padding:7px 14px; border-radius:var(--radius); font-family:var(--display); font-weight:600;
  font-size:.85rem; text-decoration:none; margin-top:10px; }
.readmore a::after, .blog-item .readmore a::after{ content:"\2192"; }
.readmore a:hover, .blog-item .readmore a:hover{ background:var(--amber); color:var(--amber-ink) !important; }

/* ---------- category list (table layout) ---------- */
.com-content-category-list table, table.category{ width:100%; border-collapse:collapse;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.com-content-category-list th, table.category th{ background:var(--navy); color:#fff; text-align:left;
  padding:11px 14px; font-family:var(--display); font-size:.9rem; }
.com-content-category-list td, table.category td{ padding:11px 14px; border-top:1px solid var(--line); }
.com-content-category-list tr:nth-child(even) td{ background:#fafbfc; }
.com-content-category-list a{ color:var(--teal); }

/* ---------- pagination ---------- */
.pagination{ display:flex; flex-wrap:wrap; gap:4px; list-style:none; padding:0; justify-content:center; margin:26px 0 0; }
.pagination > li > a, .pagination > li > span, .pagination .page-link{
  display:inline-block; min-width:40px; text-align:center; padding:9px 12px; border:1px solid var(--line);
  border-radius:var(--radius); color:var(--navy) !important; text-decoration:none; background:var(--white); }
.pagination > li > a:hover, .pagination .page-link:hover{ border-color:var(--navy); background:var(--paper); }
.pagination > .active > a, .pagination > .active > span, .pagination .page-item.active .page-link{
  background:var(--navy) !important; color:#fff !important; border-color:var(--navy) !important; }
.pagination-counter, .counter{ font-family:var(--mono); font-size:.76rem; color:var(--ink-muted); }
/* first/prev/next/last arrows: core marks them with icon-font classes (icon-angle-*)
   that poora_temp never loads, so the cells rendered empty — draw plain glyphs */
.pagination .icon-angle-left::before{ content:"\2039"; }
.pagination .icon-angle-right::before{ content:"\203A"; }
.pagination .icon-angle-double-left::before{ content:"\00AB"; }
.pagination .icon-angle-double-right::before{ content:"\00BB"; }

/* ---------- tags / related ---------- */
.com-content-article__tags .tag-list, .tags{ list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 0; }
.tags li a, .com-content-article__tags a{ display:inline-block; background:var(--paper); border:1px solid var(--line);
  border-radius:999px; padding:4px 12px; font-size:.8rem; color:var(--navy); text-decoration:none; }
.tags li a:hover{ border-color:var(--navy); }

/* ---------- responsive ---------- */
@media (max-width:767px){
  .item-image, .article-intro-image{ float:none !important; max-width:100%; margin:0 0 14px; }
  .com-content-article__body{ overflow-x:auto; }
  /* trim the content-column inset on small screens (was causing a few px of overflow) */
  .maincontents{ padding-left:14px !important; padding-right:14px !important; }
  .maincontents:has(.com-content-category-blog), .maincontents:has(.com-content-category){ padding:12px !important; }
}

/* UI-S7: prevent tiny mobile overflow from long meta/date strings */
.article-info{ min-width:0; flex-wrap:wrap; }
.article-info dt, .article-info dd, .article-info time, .article-info-term{ overflow-wrap:anywhere; word-break:break-word; min-width:0; }

/* ---------- action-button rows authored as coloured table cells (Drones page) ----------
   Authors built "buttons" as a <table> of coloured <td>s separated by empty spacer cells,
   which rendered as ugly gapped blocks (ss/43/45). Re-render the row as clean, evenly
   spaced pill buttons: collapse the spacer cells, drop the crude borders, give each a
   rounded card with a hover lift. Scoped via :has() to rows that actually contain a
   coloured cell with a link, so ordinary data tables are untouched. */
.com-content-article__body table:has(td[style*="background-color"] a[href]){
  width:auto !important; border:0 !important; background:transparent !important;  /* drop the stray table box (ss/49) */
  border-collapse:separate !important; border-spacing:14px 0 !important;
  margin:6px 0 22px -14px !important; }
.com-content-article__body table:has(td[style*="background-color"] a[href]) td{ height:auto !important; vertical-align:middle; }
/* hide the empty spacer cells (no link) */
.com-content-article__body table:has(td[style*="background-color"] a[href]) td:not(:has(a[href])){ display:none !important; }
/* the coloured button cells → flat rounded card */
.com-content-article__body td[style*="background-color"]:has(a[href]){
  border:0 !important; border-radius:10px !important; padding:0 !important; overflow:hidden;
  box-shadow:0 2px 10px rgba(11,42,74,.16); transition:transform .15s, box-shadow .15s; }
.com-content-article__body td[style*="background-color"]:has(a[href]):hover{
  transform:translateY(-2px); box-shadow:0 6px 18px rgba(11,42,74,.22); }
.com-content-article__body td[style*="background-color"] a[href]{
  display:flex !important; align-items:center; justify-content:center; text-align:center;
  min-height:66px; min-width:190px; padding:14px 22px; box-sizing:border-box;
  font-family:var(--display) !important; font-weight:700 !important; font-size:.95rem; line-height:1.25;
  text-decoration:none !important; color:#fff !important; }
.com-content-article__body td[style*="background-color"] a[href] span{ color:#fff !important; }
/* re-theme the crude "highlight" yellow tile to the brand amber with dark ink (was #ffff00 + red) */
.com-content-article__body td[style*="#ffff00"]:has(a[href]),
.com-content-article__body td[style*="#ff0"]:has(a[href]){ background:var(--amber) !important; }
.com-content-article__body td[style*="#ffff00"] a[href], .com-content-article__body td[style*="#ffff00"] a[href] span,
.com-content-article__body td[style*="#ff0"] a[href], .com-content-article__body td[style*="#ff0"] a[href] span{ color:var(--amber-ink) !important; }
/* normalise the bright author navy (#000099) to the brand navy */
.com-content-article__body td[style*="#000099"]:has(a[href]){ background:var(--navy) !important; }

/* ---------- section "hub" landing pages (branch ui/tiles-direct-links) ----------
   The grouped home tiles (Licenses/Certificates/Approvals, Legislations, Notices)
   link to hub articles whose body is a grouped list of the section's links. */
.caasl-hub-lead{ font-size:1rem; color:var(--ink-muted); margin:0 0 22px; }
/* multi-column (masonry-like): sections flow into 3 columns and pack naturally, so a
   short section (e.g. Ratings & Recommendations) stacks above the next one in the same
   column instead of wasting a full column (ss/54). break-inside keeps each section whole. */
/* 3 explicit column groups (built in reading order in the hub article), so sections
   pack as in ss/54 — a short section stacks above the next in the same column. */
.caasl-hub-cols{ display:flex; gap:38px; align-items:flex-start; }
.caasl-hub-colgroup{ flex:1 1 0; min-width:0; }
.caasl-hub-col{ margin:0 0 26px; }
.caasl-hub-col:last-child{ margin-bottom:0; }
@media (max-width:900px){ .caasl-hub-cols{ flex-wrap:wrap; } .caasl-hub-colgroup{ flex:1 1 45%; } }
@media (max-width:560px){ .caasl-hub-colgroup{ flex:1 1 100%; } }
@media (max-width:900px){ .caasl-hub-cols{ column-count:2; } }
@media (max-width:560px){ .caasl-hub-cols{ column-count:1; } }
.caasl-hub-col h3{ font-family:var(--display); font-weight:700; color:var(--navy); font-size:1.05rem;
  margin:0 0 10px; padding-bottom:8px; border-bottom:2px solid var(--amber); }
.caasl-hub-col ul{ list-style:none; margin:0; padding:0; }
.caasl-hub-col li{ margin:0; }
.caasl-hub-col li a{ display:block; color:var(--teal); text-decoration:none; padding:6px 0;
  font-size:.92rem; line-height:1.35; border-bottom:1px solid var(--paper); }
.caasl-hub-col li a:hover{ color:var(--navy); padding-left:4px; }
.com-content-article__body .caasl-hub, .caasl-hub{ max-width:none !important; }

/* ---------- latest-news sidebar (.innermenuNew / innerMods) — compact card (2026-07-04) ----------
   Was an unlabeled column of full-width news collages that outweighed the actual page
   content on every interior page. Now one instrument card: mono eyebrow heading (the
   module renders without a title, so it's CSS content — per-language via html[lang]),
   76px thumbnail + clamped title per row, intro teaser hidden. */
.innermenuNew{ background:var(--white); border:1px solid var(--line); border-radius:12px;
  box-shadow:var(--shadow); padding:6px 16px 10px; }
.innermenuNew::before{ content:"LATEST NEWS"; display:block; font-family:var(--mono);
  font-size:.7rem; font-weight:600; letter-spacing:.2em; color:var(--ink-muted);
  padding:14px 0 10px; border-bottom:2px solid var(--amber); }
html[lang="si-lk"] .innermenuNew::before{ content:"නවතම පුවත්"; letter-spacing:.05em; }
html[lang="ta-in"] .innermenuNew::before{ content:"சமீபத்திய செய்திகள்"; letter-spacing:.02em; }
.innermenuNew .mod-articlescategory > li{ display:grid; grid-template-columns:76px minmax(0,1fr);
  gap:12px; align-items:center; padding:12px 0 !important; border-bottom:1px solid var(--line); }
.innermenuNew .mod-articlescategory > li:last-child{ border-bottom:0; }
.innermenuNew .mod-articles-category-image{ display:block; line-height:0; }
.innermenuNew .mod-articlescategory img{ width:76px; height:58px !important; object-fit:cover;
  border-radius:8px; margin:0; }
.innermenuNew .mod-articles-category-title{ font-family:var(--display); font-weight:600;
  font-size:.82rem; line-height:1.4; color:var(--navy) !important; text-decoration:none;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.innermenuNew .mod-articles-category-title:hover{ color:var(--amber-deep) !important; }
.innermenuNew .mod-articles-category-introtext{ display:none; }

/* ---------- .mtable (legacy hand-authored content tables): brand-navy header ----------
   tr.mhead was hard-coded #527dde!important (off-brand blue, e.g. Technical Library).
   Same specificity trick, later in the cascade. */
table.mtable tr.mhead, table.mtable tr.mhead td{ background-color:var(--navy) !important;
  color:#fff; }
table.mtable{ background-color:var(--white); }
table.mtable td{ border-color:var(--line); }

/* ---------- owner screenshot fixes (2026-07-05, ss/68-70) ---------- */
/* ss/70 — the interior container box had no bottom padding: whichever column ran
   tallest (usually the news sidebar card) ended flush against the box's border. */
.contentNew > .container{ padding-bottom:26px; }
/* when the cols stack (<992px) the sidebar card sat directly on the content below it */
@media (max-width:991px){ .innermenuNew{ margin-bottom:22px; } }

/* ss/69 — navy header for header rows OUTSIDE table.mtable too: user.js tags
   <strong>-only first rows (e.g. Contact Details accordions) with .mhead; the legacy
   tr.mhead rule paints them #527dde!important, so out-navy it the same way. */
.maincontents tr.mhead, .maincontents tr.mhead td{ background-color:var(--navy) !important;
  color:#fff; }

/* ss/68 — responsive frame for the {youtube} embeds rendered by plg_content_caaslvideos */
.caasl-video{ position:relative; aspect-ratio:16/9; max-width:840px; margin:14px 0;
  border-radius:var(--radius); overflow:hidden; background:#000; }
.caasl-video iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ---------- News category card grid (2026-07-05) ----------
   /en/news[/latest-news] dumped 20 FULL articles (~32k px, no read-more, no
   pagination — 143/151 news articles have no read-more break so introtext IS the
   whole body). The com_content category blog.php/blog_item.php overrides render
   cat-11 items as teaser cards instead (home News Feeds card language); the menu
   params now page 12 at a time. Other categories keep the core item layout. */
.caasl-newscards .blog-items{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px; margin:0 0 8px; }
.caasl-newscards .blog-item{ padding:0; margin:0; display:flex; position:relative; overflow:hidden;
  border-radius:14px; transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.caasl-newscards .blog-item:hover, .caasl-newscards .blog-item:focus-within{
  transform:translateY(-5px); border-color:var(--navy); box-shadow:0 16px 34px rgba(11,42,74,.16); }
/* amber runway across the base on hover — the shared brand signature */
.caasl-newscards .blog-item::after{ content:""; position:absolute; left:0; right:0; bottom:0;
  height:3px; background:linear-gradient(90deg,var(--amber-deep),var(--amber),var(--amber-deep));
  transform:scaleX(0); transform-origin:center; transition:transform .28s ease; z-index:1; }
.caasl-newscards .blog-item:hover::after, .caasl-newscards .blog-item:focus-within::after{
  transform:scaleX(1); }
.caasl-newscard{ display:flex; flex-direction:column; width:100%; text-decoration:none;
  padding-bottom:40px; }   /* reserves the cue strip */
.caasl-newscard__media{ display:block; line-height:0; }
.caasl-newscard__media img{ width:100%; height:170px; object-fit:cover; border-radius:0 !important; }
.caasl-newscard__body{ display:flex; flex-direction:column; gap:8px; padding:14px 16px 0; }
.caasl-newscard__date{ font-family:var(--mono); font-size:.7rem; letter-spacing:.08em;
  text-transform:uppercase; color:var(--ink-muted); }
.caasl-newscard__title{ color:var(--navy); font-family:var(--display); font-weight:600;
  font-size:1.02rem; line-height:1.3; }
.caasl-newscard:hover .caasl-newscard__title, .caasl-newscard:focus-visible .caasl-newscard__title{
  color:var(--teal); }
.caasl-newscard__text{ color:var(--ink-muted); font-size:.85rem; line-height:1.5; }
/* mono "READ →" cue pinned to the card base (home News Feeds cue, adapted) */
.caasl-newscard::before{ content:"READ \2192"; position:absolute; left:16px; bottom:14px;
  font-family:var(--mono); font-weight:600; font-size:.68rem; letter-spacing:.14em;
  color:var(--ink-muted); transition:color .2s ease, letter-spacing .2s ease; }
.caasl-newscards .blog-item:hover .caasl-newscard::before{
  color:var(--amber-deep); letter-spacing:.2em; }
@media (max-width:991px){ .caasl-newscards .blog-items{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:600px){ .caasl-newscards .blog-items{ grid-template-columns:minmax(0,1fr); } }
@media (prefers-reduced-motion:reduce){
  .caasl-newscards .blog-item, .caasl-newscards .blog-item::after{ transition:none !important; }
  .caasl-newscards .blog-item:hover{ transform:none; } }

/* ---------- Annual Reports bookshelf + Counter Checklists chips (2026-07-06) ----------
   Two single-article download pages rebuilt from legacy markup (articles 33 + 474,
   bodies rewritten in the DB — originals in scripts/reports-checklists-backup/).
   Annual Reports: legacy 3-col striped table of bare cover thumbs, oldest first →
   cover-card grid, newest first, year + PDF/FLIPBOOK badge (2024 is an external
   hflip.co flipbook). Counter Checklists: 40 hardcoded-numbered <p> links → 2-col
   chip grid, CSS-counter numbering, PDF/DOCX badge. Card language matches the
   teaser cards above (lift + amber runway). */
.caasl-reports{ display:grid; grid-template-columns:repeat(auto-fill, minmax(164px,1fr));
  gap:18px; margin:6px 0 10px; }
.caasl-report{ position:relative; display:flex; flex-direction:column; text-decoration:none;
  background:var(--white); border:1px solid var(--line); border-radius:14px; overflow:hidden;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.caasl-report:hover, .caasl-report:focus-visible{ transform:translateY(-5px);
  border-color:var(--navy); box-shadow:0 16px 34px rgba(11,42,74,.16); }
.caasl-report::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
  background:linear-gradient(90deg,var(--amber-deep),var(--amber),var(--amber-deep));
  transform:scaleX(0); transform-origin:center; transition:transform .28s ease; }
.caasl-report:hover::after, .caasl-report:focus-visible::after{ transform:scaleX(1); }
.caasl-report__cover{ display:block; line-height:0; background:#e8edf3; }
.caasl-report__cover img{ width:100%; aspect-ratio:3/4; object-fit:cover;
  border-radius:0 !important; }
.caasl-report__meta{ display:flex; align-items:center; justify-content:space-between;
  gap:8px; padding:10px 12px 12px; }
.caasl-report__year{ font-family:var(--display); font-weight:700; font-size:1.05rem;
  color:var(--navy); }
.caasl-report__badge, .caasl-checklist__badge{ font-family:var(--mono); font-weight:600;
  font-size:.6rem; letter-spacing:.1em; color:var(--ink-muted); background:#f0f4f8;
  border:1px solid var(--line); border-radius:6px; padding:3px 7px; white-space:nowrap; }
.caasl-report:hover .caasl-report__badge{ color:var(--amber-deep);
  border-color:var(--amber-deep); }

.caasl-checklists{ list-style:none; counter-reset:ccl; display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px 16px; padding:0; margin:6px 0 10px; }
.caasl-checklists li{ counter-increment:ccl; margin:0; padding:0; display:flex; }
.caasl-checklist{ position:relative; display:flex; align-items:center; gap:12px; width:100%;
  padding:11px 14px; background:var(--white); border:1px solid var(--line); border-radius:12px;
  text-decoration:none; overflow:hidden;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.caasl-checklist::before{ content:counter(ccl, decimal-leading-zero);
  font-family:var(--mono); font-weight:600; font-size:.7rem; color:var(--ink-muted); }
.caasl-checklist::after{ content:""; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:linear-gradient(180deg,var(--amber-deep),var(--amber));
  transform:scaleY(0); transform-origin:center; transition:transform .28s ease; }
.caasl-checklist:hover, .caasl-checklist:focus-visible{ transform:translateY(-2px);
  border-color:var(--navy); box-shadow:0 10px 22px rgba(11,42,74,.12); }
.caasl-checklist:hover::after, .caasl-checklist:focus-visible::after{ transform:scaleY(1); }
.caasl-checklist__name{ flex:1; color:var(--navy); font-weight:600; font-size:.92rem;
  line-height:1.35; }
.caasl-checklist:hover .caasl-checklist__name{ color:var(--teal); }
/* Downloads pages (2026-07-06): unnumbered chip lists, "[ PDF · size ]" meta,
   and static (link-less) items — SI copies carry labels whose links were never
   added; keep them visible but inert. */
.caasl-checklists--plain .caasl-checklist::before{ content:none; }
.caasl-checklist__meta{ font-family:var(--mono); font-size:.66rem; color:var(--ink-muted);
  white-space:nowrap; }
/* Guidance Material (art 23, 2026-12-04): reference no. · edition · effective date under the title */
.caasl-checklist__sub{ display:block; margin-top:3px; font-family:var(--mono); font-weight:500;
  font-size:.66rem; letter-spacing:.02em; line-height:1.45; color:var(--ink-muted); }
.caasl-checklist--static{ cursor:default; }
.caasl-checklist--static .caasl-checklist__name{ color:var(--ink-muted); font-weight:500; }
.caasl-checklist--static:hover{ transform:none; border-color:var(--line); box-shadow:none; }
/* chip lists inside {slider} accordion bodies sit tighter */
.caasl-slide-body .caasl-checklists{ gap:8px 12px; margin:4px 0 8px; }
/* Safety Posters: image grid inside caasl-pel panels */
.caasl-posters{ display:grid; grid-template-columns:repeat(auto-fill, minmax(230px,1fr));
  gap:18px; }
.caasl-posters img{ width:100%; height:auto; border-radius:10px;
  border:1px solid var(--line); }
@media (max-width:767px){ .caasl-checklists{ grid-template-columns:minmax(0,1fr); } }
/* phones: auto-fill can only fit one 164px track in a ~345px container, which made a
   ~12,000px single-column scroll of full-width covers — pin two columns instead */
@media (max-width:600px){ .caasl-reports{ grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px; } }
@media (prefers-reduced-motion:reduce){
  .caasl-report, .caasl-report::after, .caasl-checklist, .caasl-checklist::after{
    transition:none !important; }
  .caasl-report:hover, .caasl-checklist:hover{ transform:none; } }

/* ---------- Personnel Licences articles (2026-07-06) ----------
   The nine licence pages (articles 469-473, 478-481) were walls of numbered
   paragraphs in mixed legacy markup. Bodies restructured in the DB (originals
   in scripts/pel-pages-backup/): each "Requirements…" / "Procedure for the
   Application" block is now a .caasl-pel__sec panel with a promoted h4 (ATC's
   "i./ii. If the Date…" sub-heads → h5); the regulatory wording between
   headings is byte-verbatim. These are reading panels — no link-card hover. */
.caasl-pel{ display:flex; flex-direction:column; gap:18px; margin:6px 0 10px; }
.caasl-pel__sec{ background:var(--white); border:1px solid var(--line); border-radius:14px;
  padding:22px 26px 16px; }
.caasl-pel__h{ margin:0 0 14px; padding-left:14px; position:relative;
  font-family:var(--display); font-weight:700; font-size:1.12rem; line-height:1.35;
  color:var(--navy); }
.caasl-pel__h::before{ content:""; position:absolute; left:0; top:3px; bottom:3px; width:4px;
  border-radius:2px; background:linear-gradient(180deg,var(--amber),var(--amber-deep)); }
.caasl-pel__sub{ margin:20px 0 10px; font-family:var(--display); font-weight:600;
  font-size:.98rem; color:var(--teal); }
.caasl-pel__sec p{ margin:0 0 10px; line-height:1.65; }
.caasl-pel__sec ul, .caasl-pel__sec ol{ margin:0 0 12px; padding-left:24px; }
.caasl-pel__sec li{ margin:0 0 8px; line-height:1.6; }
/* legacy inline font-size spans (12pt headings-in-content etc.) — neutralise;
   author !important outranks the style attribute */
.caasl-pel__sec span{ font-size:inherit !important; }
/* inline content photos (e.g. Evolution of CAASL's floated DCA building shot):
   round + space them; below 700px the float leaves a sliver of text — stack */
.caasl-pel__sec p img{ max-width:100%; height:auto; border-radius:10px; }
.caasl-pel__sec p img[style*="float: left"]{ margin:4px 18px 10px 0 !important; }
@media (max-width:700px){
  .caasl-pel__sec p img[style*="float"]{ float:none !important; display:block;
    margin:0 0 12px !important; } }
@media (max-width:600px){ .caasl-pel__sec{ padding:16px 16px 10px; } }

/* ---------- Board of Directors: current-board profile cards (2026-07-06) ----------
   The photo/name table at the top of art 286 (legacy 6-row striped table with
   Outlook paste artifacts; SI copy was the STALE 2020 board) → .caasl-board
   figure cards, rebuilt in the DB for EN + SI (originals in scripts/aboutus-
   backup/). Static profile cards — not links, so no lift/runway hover. */
.caasl-board{ display:grid; grid-template-columns:repeat(auto-fill, minmax(190px,1fr));
  gap:18px; margin:6px 0 22px; }
.caasl-boardcard{ margin:0; display:flex; flex-direction:column; background:var(--white);
  border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.caasl-boardcard__photo{ display:block; line-height:0; background:#e8edf3; }
.caasl-boardcard__photo img{ width:100%; aspect-ratio:5/6; object-fit:cover;
  object-position:top center; border-radius:0 !important; }
.caasl-boardcard figcaption{ display:flex; flex-direction:column; gap:5px;
  padding:12px 14px 14px; }
.caasl-boardcard__role{ font-family:var(--mono); font-weight:600; font-size:.62rem;
  letter-spacing:.1em; text-transform:uppercase; color:var(--amber-deep); }
.caasl-boardcard__name{ font-family:var(--display); font-weight:700; font-size:.98rem;
  line-height:1.3; color:var(--navy); }
.caasl-boardcard__sub{ font-size:.8rem; line-height:1.45; color:var(--ink-muted); }
@media (max-width:600px){ .caasl-board{ grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px; } }
