/* =============================================================================
   CAASL UI Revamp — enhanceUIUX2 focused polish (branch: fix/final-ui-spacing-
   navbar-slideshow). Spacing, slideshow gap/sizing, contrast, and reversible
   hiding of the Rate Us + email floating buttons. Loaded last (after foundation/
   home/content/forms). No core edits; scoped selectors only.
   ============================================================================ */

/* ---- 7) Temporarily hide "Rate Us" + email floating buttons (REVERSIBLE) ----
   .Psurvay = Rate Us (fa-comment); .Psurvay.SubCribe = email (fa-envelope).
   display:none removes them from layout, the a11y tree, and tab order.
   RE-ENABLE: delete this rule (or set .Psurvay{display:block}). */
.Psurvay{ display:none !important; }

/* ---- 8) Consistent, responsive gap below the slideshow ----
   Was ~56px desktop but 0 at <=768. Put the gap on the following section so it
   survives slide-height changes and the slideshow being absent. */
/* desktop already has ~56px; only tablet/mobile had a 0 gap -> add it there. */
@media (max-width:1040px){ .HomeSlide{ padding-top:clamp(28px,5vw,44px) !important; } }

/* ---- 9) Slideshow sizing on tablet/mobile (text was oversized/clipped) ----
   Smart Slider text layer is full-width with no side padding and a 27px font at
   390px -> gold words clipped at the right edge. Add padding + a fluid font so
   captions fit and wrap. Scoped to .slider; slider stays functional. */
@media (max-width:768px){
  /* keep Smart Slider's absolute layer offset from pushing the text box past the
     right edge: cap the content width to the viewport and shrink the font fluidly. */
  .slider .n2-ss-layer{ max-width:100vw !important; box-sizing:border-box; }
  .slider .n2-ss-layer [class*="n2-font"], .slider .n2-ss-layer p, .slider .n2-ss-layer span,
  .slider .n2-ss-layer div{ max-width:92vw !important;
    font-size:clamp(12px,3.6vw,17px) !important; line-height:1.45 !important;
    white-space:normal !important; overflow-wrap:anywhere; }
}

/* ---- 10) Slideshow text contrast over variable slide images ----
   Gold (#ECC31F) text sits over a blue-sky gradient that lightens toward the
   bottom; add a soft dark shadow so it stays legible over any slide without
   changing the approved colour. */
.slider .n2-ss-layer [class*="n2-font"], .slider .n2-ss-layer p, .slider .n2-ss-layer span{
  text-shadow:0 1px 3px rgba(0,0,0,.55); }

/* =============================================================================
   enhanceUIUX3 — screenshot-driven fixes (/var/www/caasl/ss)
   ============================================================================ */

/* SS1/SS7 — home "AVIATION DATA" tab set (.jm-tabs): the raw blue .nav-tabs bar
   -> clean Direction A tabs + bordered content card (was an empty blue banner). */
.jm-tabs .nav-tabs{ background:transparent !important; border:0 !important;
  border-bottom:2px solid var(--line) !important; height:auto !important;
  display:flex; flex-wrap:wrap; gap:2px; padding:0 !important; margin:14px 0 0 !important; box-shadow:none !important; }
.jm-tabs .nav-tabs > li{ margin:0 !important; float:none !important; background:transparent !important; }
.jm-tabs .nav-tabs > li > a{ background:transparent !important; color:var(--navy) !important;
  border:0 !important; border-bottom:3px solid transparent !important; border-radius:0 !important;
  margin:0 !important; padding:10px 16px !important; font-family:var(--display); font-weight:600; }
.jm-tabs .nav-tabs > li > a:hover{ border-bottom-color:var(--line-strong) !important; }
.jm-tabs .nav-tabs > li.active > a{ color:var(--navy) !important; background:transparent !important;
  border-bottom-color:var(--amber) !important; }
.jm-tabs .tab-content{ border:1px solid var(--line); border-top:0; border-radius:0 0 var(--radius) var(--radius);
  background:#fff; padding:18px !important; }

/* SS5 — breadcrumb separators (items ran together "HomeContactsContact Details") */
.mod-breadcrumbs .breadcrumb-item{ display:inline-flex; align-items:center; }
.mod-breadcrumbs .breadcrumb-item + .breadcrumb-item::before{
  content:"\203A"; padding:0 8px; color:var(--ink-muted); font-family:var(--mono); }
.mod-breadcrumbs .mod-breadcrumbs__here{ margin-right:4px; }

/* SS1/SS2/SS4 — desktop: the Hamberg-menu collapse icon (.BarMenu, absolute
   top:-50px right:26px) overlapped the A+/accessibility control. Drop it into the
   nav tier on desktop so it clears the utility bar; mobile rules untouched. */
@media (min-width:992px){
  #header .BarMenu{ top:20px !important; right:8px !important; left:auto !important; z-index:20; }
}

/* SS8 — pagination: mute disabled/empty cells so they don't look like blank boxes */
.pagination .disabled > span, .pagination .disabled > a, .pagination .page-item.disabled .page-link{
  opacity:.4; pointer-events:none; }

/* SS4 — news/category body: comfortable right padding.
   (2026-12-04: the 72ch paragraph cap that was here is removed. On full-text blog
   pages — Employment, Events, Special Notices — the heading and logo centre across
   the whole card, so capped paragraphs read as left-aligned with a dead band on the
   right. News uses its own teaser cards and was never affected.) */
.blog-item .item-content{ padding-right:6px; }
.blog-item .item-content p{ max-width:none; } /* overrides the global 74ch --measure (ui-foundation.css) here only */

/* =============================================================================
   sc2 fixes (user-marked, /var/www/caasl/sc2)
   ============================================================================ */

/* SC2-4 — logo clipped at top: the emblem (52px) overflowed the 45px masthead row
   upward (top at y=-10). Give the brand room, vertically centre, and use contain. */
#header > .container{ padding-top:8px; padding-bottom:4px; }
#header .logo{ display:flex; align-items:center; min-height:60px; }
#header .logo a{ align-items:center; }
#header .logo .brand-emblem{ height:auto !important; max-height:52px !important; width:auto; object-fit:contain; }

/* SC2-5 — more breathing room between the slideshow and the cards below */
@media (max-width:1040px){ .HomeSlide{ padding-top:clamp(44px,7vw,64px) !important; } }

/* SC2-6 — "Data & Analysis"/"Aviation Data…" headings were white on the light
   section bg (invisible) -> navy. */
.BotWelcom h3, .BotWelcom h5{ color:var(--navy) !important; }

/* SC2-7 — Hamberg menu panel (.ExmenuCon) items were white text on a light/transparent
   panel (invisible). Give the off-canvas panel a navy surface so its white links read;
   style the "Read More" promo button to the Direction A accent. */
.ExmenuCon{ background:var(--navy) !important; }
.ExmenuCon, .ExmenuCon ul.menu a, .ExmenuCon .nav.menu a, .ExmenuCon a{ color:#eaf1f8 !important; }
.ExmenuCon ul.menu a:hover{ color:#fff !important; }
.readmore-but{ background:var(--amber) !important; color:var(--amber-ink) !important; }

/* SC2-9 — sidebar news teaser kept a default <ul> disc bullet + 40px indent (misaligned) */
.innermenuNew .mod-articlescategory, .innerMods .mod-articlescategory,
.innermenuNew .mod-articlescategory > li, .innerMods .mod-articlescategory > li{
  list-style:none !important; padding-left:0 !important; margin-left:0 !important; }

/* SC2-8 — clear space above the footer (was stacked tight against content) */
.ContactDiv{ margin-top:clamp(36px,5vw,64px) !important; }
.site-footer{ margin-top:clamp(36px,5vw,64px); }

/* SC2-3 — separate the Hamberg toggle (☰) from the "Employment" nav item */
@media (min-width:992px){ #header .custom-nav ul.menu.navbar-right{ margin-right:44px !important; } }

/* SC2-5b — also enlarge the slideshow→cards gap on desktop (was ~56, felt tight) */
@media (min-width:1041px){ .HomeSlide{ padding-top:32px !important; } }

/* SC2-7b — "NGAP Sri Lanka"/"CADEC" also render as banner <h3> titles in the home
   right column (white on the light bg = invisible). Make them navy/visible. */
.banner-box h3, .banner-img h3, .col-md-3 .mod-custom h3, .rightbannersNew h3{ color:var(--navy) !important; }

/* FOOTER-DARK — the copyright row (.footerrow) is a SEPARATE, thin, full-width
   strip below the footer columns. Retinted 2026-07-03 (round 2) to a deeper navy
   under the new navy .ContactDiv band (ui-home.css §8) — the light strip read as
   a floating white bar once the band above went dark. Full-bleed out of the
   container, then re-padded to the container's content edges. */
.ContactDiv .footerrow{ position:static !important;
  width:100vw; max-width:100vw;
  margin-left:calc(50% - 50vw) !important; margin-right:calc(50% - 50vw) !important;
  margin-top:34px !important; padding:11px calc(50vw - 50% + 15px) !important;
  background:#081F38 !important; border-top:1px solid rgba(255,255,255,.12) !important;
  display:flex; align-items:center; }
.ContactDiv .footerrow > [class*="col-"]{ padding-top:0 !important; padding-bottom:0 !important; }
.ContactDiv .footer1, .ContactDiv .footer1 *, .ContactDiv .mod-footer, .ContactDiv .mod-footer *,
.ContactDiv .sitmapLinks, .ContactDiv .sitmapLinks *{ color:rgba(217,228,240,.78) !important; background:transparent !important; }
.ContactDiv .footer1 a, .ContactDiv .mod-footer a,
.ContactDiv .sitmapLinks a{ color:#fff !important; }
.ContactDiv .footer1 a:hover, .ContactDiv .mod-footer a:hover, .ContactDiv .sitmapLinks a:hover{ color:var(--amber) !important; }
/* legacy responsive.css mobile hack `.footerrow .nav>li.item-220 a{color:blue !important}`
   (the Sitemap link) out-specified the re-ink above — beat it with one more level */
.ContactDiv .footerrow .nav > li a{ color:#fff !important; }
.ContactDiv .footerrow .nav > li a:hover{ color:var(--amber) !important; }
/* address block: a touch larger + roomier lines, matching prod (ss/20) */
.ContactDiv .address, .ContactDiv .address *{ font-size:17px !important; line-height:1.72 !important; }
/* Sinhala/Tamil scripts render much larger than Latin at the same px — 17px read
   oversized next to the EN footer (owner, 2026-07-03). Step them down; ~14.5px
   SI/TA is optically the EN 17px. */
html[lang^="si"] .ContactDiv .address, html[lang^="si"] .ContactDiv .address *,
html[lang^="ta"] .ContactDiv .address, html[lang^="ta"] .ContactDiv .address *{
  font-size:14.5px !important; line-height:1.8 !important; }

/* SC2-3b — vertically centre the Hamberg ☰ with the nav links (was sitting ~13px low) */
@media (min-width:992px){
  #header .custom-nav{ position:relative; }
  #header .BarMenu{ top:50% !important; bottom:auto !important; transform:translateY(-50%); }
}

/* SC2-8c — the copyright row was position:absolute (top:436px) and overlapped the
   Inquiries & Feedback form. Return it to normal flow so it sits below the columns. */
.ContactDiv .footerrow{ position:static !important; }

/* SC2-3c — fine-align the ☰ to the nav LINKS' centre (container-centre was ~12px low) */
@media (min-width:992px){ #header .BarMenu{ top:6px !important; transform:none !important; } }

/* =============================================================================
   NAVBAR + MULTILINGUAL MASTHEAD REWORK  (branch: fix/navbar-multilang-logo)
   Fixes reported on the desktop primary nav:
     1. menu items ran edge-to-edge and "Employment" wrapped onto the slideshow
     2. the active-item amber underline "popped out" below the masthead onto blue
     3. the "Personnel Licences" CTA was a heavy full-height amber box
   Approach: keep the legacy markup; turn the floated BS3 list into a compact,
   self-contained white nav band (so a wrapped row can never bleed onto the blue
   hero), anchor the ☰ extra-menu toggle to the band's right edge, and refine the
   CTA into a tidy pill. Also sizes the SI/TA wordmark lockup (shared emblem +
   translated wordmark, set in index.php). Loaded last → wins the cascade.
   ============================================================================ */
@media (min-width:768px){
  /* the legacy masthead is locked to height:116px, but the logo row + nav band
     need ~127px, so the band overhung the fixed header and a container-width white
     strip (with its border) floated onto the blue hero. Let the masthead grow to
     contain the band; its own full-width border-bottom becomes the single clean
     separator (the slider sits behind it, so covering a few more px of blue is
     harmless). */
  #header.header{ height:auto !important; min-height:116px; padding-bottom:0 !important; }

  /* MODERN "FLIGHT DECK" BAR (UI revamp 2026-06-29): the self-contained nav band
     becomes a floating deep-navy bar — rounded, soft-shadowed, with an amber
     "runway" accent skimming its top edge. Keep it static + relative (the legacy
     rule pulls .custom-nav up with top:-55px when positioned; relative anchors the
     ::before accent and the absolute ☰). Layout/behaviour rules below are unchanged. */
  #header .custom-nav{ position:relative !important; top:auto !important; right:auto !important;
    clear:both; margin:6px 0 14px !important;
    background:linear-gradient(180deg,#103562 0%,var(--navy) 68%,#0a2543 100%) !important;
    border:0 !important; border-radius:10px; padding:0 10px !important;
    box-shadow:0 8px 22px rgba(11,42,74,.20), inset 0 1px 0 rgba(255,255,255,.07); }
  #header .custom-nav::before{ content:""; position:absolute; left:18px; right:18px; top:0; height:2px;
    background:linear-gradient(90deg,transparent,var(--amber) 16%,var(--amber) 84%,transparent);
    border-radius:2px; opacity:.85; pointer-events:none; }
  /* collapse the BS3 .navbar wrapper chrome (min-height:50px + margin-bottom:20px +
     border) so the band hugs the links instead of leaving a tall white strip. */
  #header .custom-nav .navbar, #header .custom-nav .navbar-home,
  #header .custom-nav .navbar-collapse{
    min-height:0 !important; margin:0 !important; padding:0 !important;
    border:0 !important; background:transparent !important; box-shadow:none !important; }

  /* floated BS3 list -> in-flow, compact flex bar that fits on one line */
  #header .custom-nav ul.menu,
  #header .custom-nav ul.menu.navbar-nav.navbar-right{
    display:flex !important; flex-wrap:wrap; align-items:center;
    justify-content:flex-start; gap:0 1px;
    float:none !important; margin:0 !important;
    padding:3px 28px 3px 0 !important;     /* right gap reserves room for the ☰ */
    list-style:none; }
  #header .custom-nav ul.menu > li{
    float:none !important; margin:0 !important; display:flex; align-items:center; }
  #header .custom-nav ul.menu > li > a{
    display:inline-flex; align-items:center; line-height:1.15;
    padding:9px 11px !important; letter-spacing:.01em;
    /* !important + Archivo override the legacy `…navbar-right li a{font-size:120%!important;font-weight:900}`
       (Lato) that was rendering the nav at ~19px/900 — too heavy for a nav bar. */
    font-family:var(--display) !important; font-size:.9rem !important; font-weight:600 !important;
    white-space:nowrap; color:#e8f0f8 !important; border-radius:7px; margin:4px 1px;
    border-bottom:0 !important; background:transparent !important;
    transition:background .18s ease, color .18s ease, box-shadow .18s ease; }
  /* hover/focus: subtle translucent pill */
  #header .custom-nav ul.menu > li > a:hover,
  #header .custom-nav ul.menu > li > a:focus{
    color:#fff !important; background:rgba(255,255,255,.10) !important; }
  /* active / current: amber-tinted pill + amber underline indicator */
  #header .custom-nav ul.menu > li.active > a,
  #header .custom-nav ul.menu > li.current > a{
    color:#fff !important; background:rgba(242,169,0,.18) !important;
    box-shadow:inset 0 -3px 0 var(--amber) !important; }
  /* BS3 caret follows the light text colour */
  #header .custom-nav ul.menu > li > a .caret{ border-top-color:currentColor; opacity:.75; }

  /* "Personnel Licences" CTA: amber-outline "ghost" chip with a licence/ID badge
     icon (no heavy amber fill — fills amber only on hover). Stands out as the key
     action without the cheap solid-yellow box. */
  /* clear the legacy pale-yellow highlight (fullpage.css: .item-408{background:#fdea69})
     that sits on the <li> and leaked through behind the transparent ghost chip */
  #header .custom-nav ul.menu > li.item-408{ margin:0 4px !important; background:transparent !important; }
  #header .custom-nav ul.menu > li.item-408 > a{
    background:transparent !important; color:var(--amber) !important;
    border:1.5px solid var(--amber) !important; box-shadow:none !important;
    border-radius:999px !important; padding:6px 15px 6px 31px !important;
    position:relative !important; font-family:var(--display) !important; font-size:.9rem !important; font-weight:700 !important;
    transition:background .18s ease, color .18s ease; }
  #header .custom-nav ul.menu > li.item-408 > a::before{
    content:"\f2c2" !important; font-family:"Font Awesome 5 Free" !important; font-weight:900 !important;
    position:absolute !important; left:12px !important; top:50% !important; transform:translateY(-50%) !important;
    font-size:13px !important; line-height:1 !important; color:inherit !important; }
  #header .custom-nav ul.menu > li.item-408 > a:hover,
  #header .custom-nav ul.menu > li.item-408 > a:focus{
    background:var(--amber) !important; color:var(--amber-ink) !important; }
  /* Tamil labels run wider than English/Sinhala; shrink the nav font + item padding so
     the row stays on one line. html[lang^="ta"] adds specificity so it beats the .9rem
     rule above, and only loads on ta-* pages (Sinhala/English keep .9rem). */
  html[lang^="ta"] #header .custom-nav ul.menu > li > a,
  html[lang^="ta"] #header .custom-nav ul.menu > li.item-408 > a{ font-size:.74rem !important; }
  html[lang^="ta"] #header .custom-nav ul.menu > li:not(.item-408) > a{ padding:9px 7px !important; }  /* not the CTA — it needs left room for its icon */
  /* Sinhala glyphs render taller/wider than Latin at the same px — at .9rem the row
     wrapped to two lines below ~1366px. Shrink a step (milder than Tamil's .74). */
  html[lang^="si"] #header .custom-nav ul.menu > li > a,
  html[lang^="si"] #header .custom-nav ul.menu > li.item-408 > a{ font-size:.8rem !important; }
  html[lang^="si"] #header .custom-nav ul.menu > li:not(.item-408) > a{ padding:9px 8px !important; }
  #header .custom-nav ul.menu > li.item-408 > a .caret{ border-top-color:currentColor !important; }

  /* ☰ extra-menu toggle — a clear "more menu" button pinned to the right END of the
     navy bar, with a hairline divider so the empty bar tail reads as intentional.
     NB: .BarMenu is a SIBLING of .custom-nav inside .col-md-12 (not a child of the
     bar), so it is positioned against .col-md-12 — whose padding box sits ~22px
     wider than the bar on each side; the right offset accounts for that so the icon
     lands INSIDE the bar (not on its rounded corner). Do NOT use transform here — the
     full-screen .ExmenuCon overlay is a position:fixed CHILD of .BarMenu and a
     transformed ancestor would become its containing block. */
  #header .col-md-12{ position:relative; }
  /* .BarMenu is a full-height, TRANSPARENT flex container that just centres the
     button on the nav row (no box of its own → nothing to mis-centre or overflow).
     No transform (a transformed ancestor would capture the position:fixed .ExmenuCon
     overlay and collapse it). right:24px lands it inside the bar at every width. */
  /* span the BAR exactly (top:6px/bottom:14px = the bar's own margins) so the flex
     centre lands on the bar's centre, not the slightly-lower col-md-12 centre. */
  #header .BarMenu{ position:absolute !important; right:24px !important; top:6px !important;
    bottom:14px !important; left:auto !important; transform:none !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
    height:auto !important; width:auto !important; margin:0 !important; padding:0 !important;
    background:transparent !important; border:0 !important; z-index:10000 !important; }
  /* the visible "more menu" button IS the inner <i> — fixed size so it can't overflow
     the bar. The legacy `fa fa-bars` glyph won't render on J6 (FA4 markup + a fonts.css
     override blank it), so we DRAW the hamburger in pure CSS: a centred bar + two more
     via box-shadow. No font dependency → always shows. */
  #header .BarMenu > .fa-bars{ display:inline-flex !important; align-items:center !important;
    justify-content:center !important; width:40px !important; height:34px !important;
    border-radius:8px !important; background:rgba(255,255,255,.12) !important;
    border:1px solid rgba(255,255,255,.22) !important; position:relative !important;
    font-size:0 !important; line-height:1 !important; cursor:pointer;
    transition:background .18s ease, border-color .18s ease; }
  #header .BarMenu > .fa-bars::before{ content:"" !important; display:block !important;
    width:18px !important; height:2px !important; border-radius:2px !important;
    background:#fff !important; box-shadow:0 -6px 0 #fff, 0 6px 0 #fff !important; }
  #header .BarMenu:hover > .fa-bars{ background:rgba(242,169,0,.95) !important; border-color:var(--amber) !important; }
  #header .BarMenu:hover > .fa-bars::before{ background:var(--amber-ink) !important;
    box-shadow:0 -6px 0 var(--amber-ink), 0 6px 0 var(--amber-ink) !important; }

  /* hover/focus-open dropdowns. PRE-EXISTING J6 BUG: the legacy hover rule targets
     ul.nav-child.unstyled… but J6 mod_menu emits class "list-unstyled" (not
     "unstyled"), so the submenus never opened. Re-open them on the real J6 classes
     (focus-within keeps it keyboard-accessible). */
  #header .custom-nav ul.menu > li.deeper{ position:relative; }
  #header .custom-nav ul.menu > li.deeper > .nav-child.dropdown-menu{
    position:absolute; top:100%; left:0; display:none; min-width:210px; margin:0;
    z-index:30; }
  #header .custom-nav ul.menu > li.deeper:hover > .nav-child.dropdown-menu,
  #header .custom-nav ul.menu > li.deeper:focus-within > .nav-child.dropdown-menu,
  #header .custom-nav ul.menu > li.deeper.open > .nav-child.dropdown-menu{
    display:block !important; }
}
@media (min-width:992px){
  /* override the earlier SC2 ☰ tweaks — span the bar exactly (its 6/14 margins) so the
     button flex-centres on the bar, not the slightly-lower col-md-12. */
  #header .BarMenu{ top:6px !important; bottom:14px !important; transform:none !important; }
}

/* ---- multilingual wordmark lockup (SI/TA share the English emblem) ---- */
#header .logo .brand-words-si .bw-1{ font-size:.96rem; line-height:1.15; }
#header .logo .brand-words-si .bw-2{ font-size:.82rem; }
#header .logo .brand-words-ta .bw-1{ font-size:.8rem; line-height:1.2; }
#header .logo .brand-words-ta .bw-2{ font-size:.82rem; }
@media (max-width:560px){ #header .logo .brand-words-si, #header .logo .brand-words-ta{ display:none; } }

/* =============================================================================
   CONTENT FIXES (vs caa.lk prod parity) — branch: fix/navbar-multilang-logo
   ============================================================================ */

/* (ss/15) Breadcrumb separators. J6 mod_breadcrumbs emits Bootstrap-5 markup
   (<li class="breadcrumb-item">) but the bundled CSS is Bootstrap 3, so no
   divider is drawn and the crumbs run together ("HomeDownloadsAnnual Reports").
   Add the "›" separator + spacing between crumbs (matches prod). */
.mod-breadcrumbs .breadcrumb-item + .breadcrumb-item::before{
  content:"\203A" !important; display:inline-block !important;   /* the items are inline-flex and a reset hid ::before */
  padding:0 .55em; color:var(--ink-muted); font-weight:600; }
.mod-breadcrumbs .mod-breadcrumbs__here{ margin-right:.35em; }

/* (ss/14a) Article-info date icon. IcoMoon was removed in J6, so the legacy
   <span class="icon-calendar"> rendered a stray "C". Draw a Font Awesome 5
   calendar glyph instead (FA5 Free is already loaded by the template). */
.article-info .icon-calendar::before,
.item-page .article-info .icon-calendar::before,
dl.article-info .icon-calendar::before{
  font-family:"Font Awesome 5 Free" !important; font-weight:900 !important;
  content:"\f073" !important; margin-right:5px; font-size:.95em; }

/* (ss/14b) Hide the Falang free/unregistered attribution ("FaLang translation
   system by Faboba") — it shows on staging but not on prod. */
a[href*="faboba.com"], .falang-credit, .falang_credit{ display:none !important; }

/* (ss/18) Home statistics tables overflowed their card (~825px in an 810px box),
   clipping the edges. Real cause: the 3 tables sit in a Bootstrap .row whose
   -15px side margins push it wider than the wrapper. Zero those margins, trim the
   column padding + cell sizing so all three fit; keep overflow-x as a safety net. */
.stats_table{ overflow-x:auto; }
.stats_table .row{ margin-left:0 !important; margin-right:0 !important; }
.stats_table [class*="col-"]{ padding-left:7px !important; padding-right:7px !important; }
.stats_table table{ font-size:13px; width:100%; }
.stats_table th, .stats_table td{ padding:5px 7px !important; }

/* (ss/16) Footer "useful links": long labels (e.g. "International Civil Aviation
   Organization (ICAO)") wrapped to a 2nd line that fell back under the icon. Lay
   each row out as icon + text flex columns so wrapped lines hang-indent under the
   text instead. Scoped via :has() to the icon links only. */
ul.footer li a:has(> span img), ul.footer li a:has(> img){
  display:flex; align-items:center; gap:8px; font-size:13.5px; line-height:1.4; }
ul.footer li a:has(> span img) > span, ul.footer li a:has(> img) > img{
  flex:0 0 auto; line-height:0; }
/* smaller icon so the longest label ("…Organization (ICAO)") fits on one line like prod */
ul.footer li a:has(> span img) img, ul.footer li a:has(> img) > img{
  width:26px; height:26px; object-fit:contain; }

/* (ss/17) Trim the sky footer's generous padding so it isn't so tall. Bottom
   padding is 0 because the light copyright bar (.footerrow, full-bleed above)
   is now the footer's bottom edge. Out-specifies ui-home's #fullpage > .section. */
#fullpage > .section.ContactDiv, .ContactDiv{ margin-top:40px !important;
  padding-top:34px !important; padding-bottom:0 !important; }

/* Minimise the empty navy area beside the shorter columns by shrinking the tall
   inquiry form: its field spacing comes from .sp_qc_clr clearfix divs (10px each,
   ~7 of them = ~70px). Tighten them + the field padding. */
.ContactDiv .sp_quickcontact .sp_qc_clr{ margin-bottom:3px !important; }
.ContactDiv .sp_quickcontact input,
.ContactDiv .sp_quickcontact select{ padding-top:5px !important; padding-bottom:5px !important; }

/* (ss/13) Legacy {slider …} accordions rebuilt as <details> panels by user.js.
   Clean collapsible bars (matches prod: all collapsed by default).
   2026-07-06 About-Us pass: re-skinned to the card language — white closed bars,
   card radius, amber left runway on the open panel, amber chevron cue on hover.
   Shared component: also used on Contacts, statistics and publications pages. */
.caasl-accordion{ margin:16px 0; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.caasl-slide{ border-top:1px solid var(--line); }
.caasl-slide:first-child{ border-top:0; }
.caasl-slide-title{ cursor:pointer; list-style:none; position:relative; display:block;
  padding:13px 44px 13px 18px; font-family:var(--display); font-weight:600; font-size:1rem;
  color:var(--navy); background:var(--white); transition:background .15s,color .15s; }
.caasl-slide-title::-webkit-details-marker{ display:none; }
.caasl-slide-title::after{ content:"\f078"; font-family:"Font Awesome 5 Free"; font-weight:900;
  position:absolute; right:16px; top:50%; transform:translateY(-50%); font-size:.78em;
  color:var(--teal); transition:transform .2s, color .15s; }
.caasl-slide[open] > .caasl-slide-title::after{ transform:translateY(-50%) rotate(180deg); color:var(--amber); }
.caasl-slide-title:hover{ background:var(--paper); }
.caasl-slide-title:hover::after{ color:var(--amber-deep); }
.caasl-slide[open] > .caasl-slide-title{ background:var(--navy); color:#fff; }
/* amber runway down the open panel's left edge — the brand signature, vertical */
.caasl-slide[open]{ box-shadow:inset 3px 0 0 var(--amber); }
.caasl-slide-title:focus-visible{ outline:3px solid #1565c0; outline-offset:-3px; }
.caasl-slide-body{ padding:16px 18px; background:var(--white); }
.caasl-slide-body > :first-child{ margin-top:0; }
.caasl-slide-body table{ margin:0; width:100%; }
.caasl-slide-body img{ max-width:100%; height:auto; }

/* =============================================================================
   AVIATION HEADER SEARCH — "instrument readout" capsule (UI revamp 2026-06-29)
   The header search box reskinned as a navy-framed capsule with a MONOSPACE
   placeholder (cockpit data-field feel, matching the header/breadcrumb --mono)
   and an amber CIRCULAR instrument-key button, with a teal focus ring so the
   field reads as "powered on". Function (com_finder results) was fixed in the
   mod_search override; this is a CSS-only re-skin — markup + popup position kept.
   ============================================================================ */
/* The search box is HIDDEN until the magnifier (i.newsico) is clicked — custom.js
   toggles `.show` on the form. When open it expands INLINE to the RIGHT within the white
   header strip, over the language/Gov.lk/A± items (hidden while open), so it never
   collides with the logo (to its left) or the navbar (below) — fixes ss/38/39/40/46.
   The magnifier sits at the field's left and toggles to × as the close affordance. */
#header .header-social{ position:relative; }
#header .search{ position:relative !important; z-index:62; }   /* containing block; keep the × on top */
#header .search form.form-inline{ display:none !important; }
/* hide the other social items while search is open (the field takes their space) */
#header .header-social:has(.search form.form-inline.show) .lanDiv,
#header .header-social:has(.search form.form-inline.show) .mod-languages,
#header .header-social:has(.search form.form-inline.show) .custom,
#header .header-social:has(.search form.form-inline.show) .fastfont{ visibility:hidden !important; }
/* the field's LEFT edge is the search icon (always right of the logo), expanding RIGHT
   over the now-hidden items — never collides with the logo or the navbar. The magnifier
   (toggled to ×) sits at the field's left as the close button. */
#header .search form.form-inline.show{
  position:absolute !important; top:50% !important; transform:translateY(-50%) !important;
  left:0 !important; right:auto !important; bottom:auto !important; z-index:60 !important;
  width:min(288px, 50vw);
  display:inline-flex !important; align-items:center; gap:4px;
  background:var(--white) !important; border:1px solid var(--line) !important;
  border-radius:999px !important; padding:3px 4.5px 3px 36px !important;   /* right pad = vertical gap (5.5px) so the round button is inset equally → concentric with the pill's end */
  box-shadow:0 6px 18px rgba(11,42,74,.16) !important; }
/* the magnifier/× toggle, pinned at the field's left edge as the close affordance */
#header .header-social .search .newsico{ position:relative; z-index:63; }
#header .header-social:has(.search form.form-inline.show) .search .newsico{
  position:absolute !important; left:12px; top:50%; transform:translateY(-50%);
  font-size:14px !important; color:var(--ink-muted) !important; cursor:pointer; }
#header .header-social:has(.search form.form-inline.show) .search .newsico:hover{ color:var(--navy) !important; }
#header .search form.form-inline:focus-within{
  border-color:var(--navy) !important;
  box-shadow:0 0 0 3px rgba(15,110,114,.28), 0 8px 22px rgba(11,42,74,.18) !important; }
/* the query field: a flush, transparent mono "readout" — compact + responsive */
#header .search .search-query,
#header .search input.inputbox{
  border:0 !important; outline:0 !important; background:transparent !important; box-shadow:none !important;
  font-family:var(--mono) !important; font-size:.82rem !important; letter-spacing:.01em;
  color:var(--ink) !important; flex:1 1 0 !important; width:0 !important; min-width:0 !important; height:auto !important;
  margin:0 !important; padding:5px 4px 5px 0 !important; }
#header .search .search-query::placeholder{
  color:var(--ink-muted) !important; font-family:var(--mono); letter-spacing:.03em; opacity:.85; }
/* amber circular "instrument key" submit button.
   The legacy layout pins it `position:absolute; right:0` (ignoring the pill's padding,
   so it sat flush on the edge — user feedback). Make it a normal flex item so it flows
   with the input and respects the capsule's right padding. */
#header .search .button.btn,
#header .search button.button{
  position:static !important; right:auto !important;
  flex:none !important; width:28px !important; height:28px !important; min-width:28px !important;
  padding:0 !important; margin:0 !important; border:0 !important; border-radius:50% !important;
  background:radial-gradient(circle at 33% 28%, #ffce4d, var(--amber) 72%) !important;
  color:var(--amber-ink) !important; display:inline-flex !important; align-items:center !important;
  justify-content:center !important; line-height:1 !important; cursor:pointer;
  box-shadow:0 1px 5px rgba(242,169,0,.45), inset 0 1px 0 rgba(255,255,255,.45) !important;
  transition:filter .18s ease, box-shadow .18s ease; }
#header .search .button.btn:hover,
#header .search .button.btn:focus,
#header .search button.button:hover{
  filter:brightness(1.05) !important;
  box-shadow:0 2px 8px rgba(242,169,0,.6), inset 0 1px 0 rgba(255,255,255,.5) !important; }
#header .search .button .fa-search{ font-size:13px !important; color:var(--amber-ink) !important; }

/* BACK-TO-TOP vs "Sitemap" — the legacy FAB (.buttonClick: fixed white square pinned
   to the viewport corner, fullpage.css) sat ON TOP of the copyright strip's
   right-aligned "Sitemap" link. Lift it off the corner and restyle it as a brand
   instrument button (navy disc, white ring, amber hover); the strip reserves right
   clearance so its text never runs under the FAB at full scroll. */
.buttonClick{ bottom:18px !important; right:18px !important; padding:0 !important;
  width:44px; height:44px; border-radius:50%;
  background:var(--navy) !important; border:1px solid rgba(255,255,255,.4);
  box-shadow:0 4px 14px rgba(8,31,56,.45);
  align-items:center; justify-content:center;
  transition:background .2s ease, border-color .2s ease; }
.buttonClick.show{ display:flex; }
.buttonClick a{ display:flex; align-items:center; justify-content:center;
  width:100%; height:100%; color:#fff !important; font-size:15px; }
.buttonClick:hover{ background:var(--amber) !important; border-color:var(--amber); }
.buttonClick:hover a{ color:var(--amber-ink) !important; }
.ContactDiv .footerrow{ padding-right:calc(50vw - 50% + 78px) !important; }
/* ≤767: the 78px clearance starved the two flexed columns (one-word-per-line wrap).
   Stack them instead and reserve the FAB's zone BELOW the text, not beside it. */
@media (max-width:767px){
  .ContactDiv .footerrow{ padding-right:calc(50vw - 50% + 15px) !important;
    padding-bottom:64px !important; flex-wrap:wrap; }
  .ContactDiv .footerrow > [class*="col-"]{ flex:1 1 100%; }
}
