/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/* This CSS file was updated from the original one by Commissioner E. M. Saliba in October 2026, by my own admission, I am not a professional web designer and I am sorry if I made any mistake for my successors */

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   DESIGN TOKENS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-alt: #f1f4fb;
  --surface-hover: #fafbfc;
  --text: #3E3E3E;
  --text-muted: #6b7280;
  --text-subtle: #9ca3af;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --accent: #1F3661;
  --accent-hover: #16294a;
  --accent-soft: #eef2ff;
  --danger: #AA0000;
  --grey: #8f8f8f;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 24px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 12px 40px rgba(17, 24, 39, 0.08);
  --gap: 2rem;
  --transition: 0.2s ease;
}

/* --------------------------------
   Reset Browser Inherited Style
   --------------------------------- */
html, body, h1, h2, h3, h4, h5, h6, p, dd, dl, dt, div, hr, img,
input, select, textarea, ul, ul li, ol, ol li {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  box-sizing: border-box;
  color: var(--text);
}

html, button, input, select, textarea { color: #222; }
html { font-size: 1em; }

::-moz-selection { background: #b3d4fc; text-shadow: none; }
::selection { background: #b3d4fc; text-shadow: none; }

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1em 0;
  padding: 0;
}

audio, canvas, img, video { vertical-align: middle; }
fieldset { border: 0; margin: 0; padding: 0; }
textarea { resize: vertical; }

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   AUTHOR'S CUSTOM STYLES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */

.bc { background-size: cover !important; }

.top .wrapper .middle::after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0;
}

.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.center { text-align: center; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Links
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
a {
  color: var(--accent);
  outline: none !important;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

a:hover {
  color: var(--accent-hover);
  text-decoration-color: transparent;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Lists
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
ul, ol {
  margin-left: 30px;
  margin-bottom: 20px;
}

ul li > p:last-child,
ol li > p:last-child { margin-bottom: 0; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Headings
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
h1, h3 {
  font-family: 'fontin_sansregular', 'Nunito Sans', sans-serif;
  letter-spacing: -0.05em;
}

h1 {
  font-size: 33.6px;
  color: var(--accent);
  margin-bottom: 20px;
  line-height: 1.25;
}

h2 {
  background-color: var(--accent);
  color: #fff;
  padding: 8px 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
}

h3 {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.3;
}

h4 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 800;
}

p { margin-bottom: 20px; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Buttons — .btn and .btn2
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.btn {
  background: linear-gradient(#ffcb42, #ffbd0f);
  border: 1px solid #f4b100;
  border-bottom-color: #f4b100;
  text-shadow: #ffd567 0 1px 0;
  box-shadow: #ffe08f 0 1px 0 inset;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  color: #0d0c6a;
  transition: background var(--transition), transform 0.1s ease, box-shadow var(--transition);
}

.btn:hover {
  background: linear-gradient(#ffc428, #f4b100);
  transform: translateY(-1px);
  box-shadow: #ffe08f 0 1px 0 inset, 0 4px 12px rgba(244, 177, 0, 0.25);
  text-decoration: none;
}

.btn:active { transform: translateY(0); }

.btn2 {
  padding: 6px 16px;
  margin-right: 8px;
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition);
}

.btn2:hover { background: var(--accent-hover); }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Content line-height
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.content p,
.content ul li { line-height: 1.65; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Header (.top)
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.top {
  padding-top: 8px;
  background-color: var(--accent);
}

.wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.top h1 {
  color: #fff;
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  display: inline-block;
  position: relative;
  padding-bottom: 0.18em;
}

.top h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.top-top {
  text-align: right;
  color: #fff;
  font-size: 13px;
  margin-bottom: 13px;
}

.top-top a {
  color: #fff;
  font-size: 13px;
  display: inline-block;
  margin-left: 10px;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.top-top a:hover { opacity: 1; }

.top .title { width: 60%; float: left; }

.top .search-wrapper {
  width: 35%;
  float: right;
  margin-top: 10px;
  font-size: 13px;
  color: #fff;
}

/* Search */
.search-form label { margin: 0 30px 0 5px; }
.search { overflow: auto; }

.search input[type="text"] {
  border: 0;
  width: 74%;
  padding: 6px 10px;
  margin-bottom: 7px;
  font-size: 13px;
  border-radius: 8px;
  background: #fff;
}

.search input[type="text"]:focus {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 0;
}

.search input[type="submit"] {
  border: 0;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  float: right;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 7px;
  transition: background var(--transition);
}

.search input[type="submit"]:hover { background: rgba(0, 0, 0, 0.5); }

/* Main nav */
ul.menu {
  list-style: none;
  padding: 0;
  margin: 22px 0 0 0;
}

ul.menu li { display: inline-block; vertical-align: top; }

ul.menu li a {
  text-transform: uppercase;
  float: left;
  height: 34px;
  line-height: 34px;
  padding: 0 0.9em;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  font-size: 12px;
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  transition: background var(--transition), color var(--transition);
}

ul.menu li a:hover,
ul.menu li a.active {
  background: #fff;
  color: var(--accent);
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   HOMEPAGE — modernized
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.home {
  --h-bg: var(--bg);
  --h-surface: var(--surface);
  --h-border: var(--border);
  --h-text: var(--text);
  --h-text-muted: var(--text-muted);
  --h-accent: var(--accent);
  --h-accent-soft: var(--accent-soft);
  --h-radius: var(--radius-lg);
  --h-shadow-sm: var(--shadow-sm);
  --h-shadow-md: var(--shadow-md);
  --h-shadow-lg: var(--shadow-lg);
}

.home .wrapper {
  font-size: 1rem;
  margin-top: 40px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
  grid-template-areas:
    "left right"
    "info info";
  gap: var(--gap);
  align-items: start;
}

.home .wrapper > p { display: none; }

.home .wrapper .left-col {
  grid-area: left;
  width: auto;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--h-surface);
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow-md);
  min-width: 0;
}

.home .wrapper .left-col img {
  margin-right: 15px;
  max-width: 100%;
  height: auto;
}

.home .wrapper .right-col {
  grid-area: right;
  width: auto;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--h-surface);
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow-md);
  min-width: 0;
}

.home .wrapper .right-col h1 {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--h-text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--h-border);
}

.home .wrapper .typography {
  grid-area: info;
  position: relative;
  padding-top: 2.5rem;
  margin-top: 0;
}

.home .wrapper .typography::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.home .left-col h1 {
  display: inline-block;
  position: relative;
  padding-bottom: 0.15em;
}

.home .left-col h1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #b3d4fc, transparent);
  opacity: 0.6;
}

/* News list */
.news-updates-list {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-updates-list > div {
  position: relative;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  background: transparent !important;
  transition: background-color 0.15s ease;
}

.news-updates-list > div:last-child { border-bottom: none; }
.news-updates-list > div:hover { background: var(--surface-hover) !important; }

.news-updates-list > div .image {
  position: static;
  margin-top: 0;
  float: left;
  width: 100px;
  margin-right: 15px;
  margin-bottom: 0.25rem;
}

.news-updates-list > div .image img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  background: var(--accent-soft);
}

.news-updates-list > div .text {
  margin-left: 0;
  overflow: hidden;
  font-size: 0.92rem;
  color: var(--text-muted);
  min-width: 0;
}

.news-updates-list > div .text a,
.news-updates-list > div .text u {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
}

.news-updates-list > div .text a:hover { text-decoration: underline; }

.news-updates-list > div .text p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.news-updates-list > div .text p:last-child { margin-bottom: 0; }

/* Info boxes */
.three-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.three-columns > div {
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.three-columns > div h2 {
  background: none;
  font-family: 'fontin_sansregular', 'Nunito Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  padding: 0 0 0.75rem;
  margin: 0 0 0.75rem;
  border-bottom: 2px solid var(--accent);
  position: relative;
}

.three-columns > div h2::before { display: none; }

.three-columns > div p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.three-columns > div:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.three-columns > div > *:last-child { margin-bottom: 0; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Footer
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--surface-alt), #eaeef6);
  border-top: 1px solid var(--border);
  padding: 3rem 1rem 2rem;
  text-align: center;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.fmenu {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.fmenu li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.fmenu li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(31, 54, 97, 0.25);
  margin: 0 1.25rem;
}

.fmenu li a {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 4px 0;
  opacity: 0.85;
  transition: opacity 0.15s ease;
  background: none;
  border-radius: 0;
  font-weight: 500;
}

.fmenu li a:hover {
  opacity: 1;
  text-decoration: none;
}

.copyright {
  max-width: 500px;
  margin: 0 auto;
}

.copyright > a {
  float: left;
  height: 31px;
  margin-top: 5px;
  margin-bottom: 20px;
}

.copyright > p { margin-left: 105px; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Breadcrumb
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.breadcrumb {
  margin: 16px 0;
  color: var(--text-subtle);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Sidebar (page-with-sidebar, .sidebar)
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.page-with-sidebar .sidebar,
.page-with-sidebar .content { display: block; }

.sidebar {
  padding: 20px;
  background-color: var(--surface-alt);
  width: 100%;
  margin-bottom: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.sidebar h2 {
  padding: 0 0 10px;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--border-strong);
  color: var(--text);
  background: transparent;
  border-radius: 0;
}

.page-with-sidebar .content { width: 100%; }
.page-with-sidebar .wrapper { font-size: 0; }

.content > p > img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.sidebar ul { padding: 0; margin: 0; list-style: none; }
.sidebar ul li { margin: 10px 0; }
.sidebar ul ul { margin-left: 10px; }
.sidebar ul ul li { list-style: disc inside; margin-left: 5px; }

.sidebar a {
  color: var(--accent);
  text-decoration: none;
}

.sidebar a:hover { text-decoration: underline; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   FAQ / Accordion
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.faq h2 { margin-bottom: 10px; }
.accordion { margin-bottom: 20px; }

.accordion-toggle {
  cursor: pointer;
  border: 1px solid var(--border-strong);
  background: #f3f4f6;
  border-radius: var(--radius-sm);
  color: #555;
  display: block;
  margin-bottom: 4px;
  transition: background var(--transition), border-color var(--transition);
}

.accordion-toggle h4 {
  background: url(../img/icon-arrow-right.png) no-repeat center left 10px;
  background-size: 5px 8px;
  font-weight: 600;
  padding: 10px 14px 10px 2.2em;
  margin-bottom: 0;
}

.accordion-toggle:hover {
  background: #e8ebef;
  border-color: #999;
}

.accordion-toggle.active {
  border: 1px solid #aaa;
  background: var(--surface);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  margin-bottom: 0;
}

.accordion-toggle.active h4 {
  background: url(../img/icon-arrow-down.png) no-repeat center left 10px;
  background-size: 8px 5px;
}

.accordion-content {
  display: none;
  padding: 1em 2.2em 1.8em 2.2em;
  border: 1px solid #aaa;
  border-top: 0;
  border-bottom-right-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
  margin-bottom: 4px;
  background: var(--surface);
}

.accordion-content > p:last-child { margin-bottom: 0; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Case list (.list) modernized
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.list { margin-bottom: 20px; }

.list > div {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-top: 0;
  transition: background-color 0.15s ease;
}

.list > div:first-child {
  border-top: 1px solid var(--border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.list > div:last-child {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.list > div:nth-child(odd) {
  background: rgba(31, 54, 97, 0.02);
}

.list > div:hover {
  background: var(--surface-hover);
}

.list > div a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: none;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
  transform-origin: left center;
}

.list > div a:hover,
.list > div a:focus {
  color: var(--accent-hover);
  transform: scale(1.02);
  text-decoration: none;
  border-bottom: none;
}

.list > div a em {
  font-style: italic;
  color: inherit;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Expand menu (cases tree)
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
ul.expand-menu li,
ul.expand-menu li.level-1,
ul.expand-menu li ul li { list-style: none; }

ul.expand-menu li a {
  background: url(../img/icon-empty.png) no-repeat top 3px left;
  background-size: 12px 12px;
  padding-left: 20px;
  display: block;
  text-decoration: none;
}

ul.expand-menu li.level-1 a {
  background: url(../img/icon-plus.png) no-repeat top 3px left;
  background-size: 12px 12px;
  padding-left: 20px;
}

ul.expand-menu li.active a {
  background: url(../img/icon-minus.png) no-repeat top 3px left;
  background-size: 12px 12px;
  padding-left: 20px;
}

ul.expand-menu li.level-1 > ul { display: none; }
ul.expand-menu li.active ul { display: block; }

ul.expand-menu li.level-1 > ul li a {
  background: url(../img/icon-empty.png) no-repeat top 3px left;
  background-size: 12px 12px;
  padding-left: 20px;
  display: block;
}

ul.expand-menu li.level-1 > ul li a.active { font-weight: bold; }
ul.expand-menu li.level-1 ul li ul { display: block !important; }
ul.expand-menu li.level-1 ul li ul li { list-style: circle; margin-left: 20px; }
ul.expand-menu li.level-1 ul li ul li a { background: none; padding-left: 0; display: inline; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Tables — modernized
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
table {
  border-collapse: separate;
  border-spacing: 0;
  position: relative;
  margin-bottom: 24px;
  background-color: var(--surface);
  background-image: linear-gradient(90deg, var(--accent), rgba(31, 54, 97, 0.2));
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% 3px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

table tr td {
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  vertical-align: top;
  line-height: 1.55;
}

table tr:last-child td { border-bottom: none; }

table tr:nth-child(odd) { background: rgba(31, 54, 97, 0.02) !important; }
table tr:hover { background: var(--surface-hover) !important; }

/* Links inside tables */
table a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: none;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
  transform-origin: left center;
}

table a:hover {
  color: var(--accent-hover);
  transform: scale(1.03);
  text-decoration: none;
  border-bottom: none;
}

/* .case key/value table */
.case table tr td:first-child {
  width: 220px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  background: rgba(31, 54, 97, 0.03);
  border-right: 1px solid var(--border);
}

.case table tr td:last-child {
  font-size: 0.95rem;
  color: var(--text);
  word-break: break-word;
}

/* Keyword pills inside .case tables */
.case table td:last-child a[href*="/cases/all-cases/keyword/"] {
  display: inline-block;
  padding: 2px 9px;
  margin: 2px 2px 2px 0;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.82rem;
  text-decoration: none;
  border-bottom: none;
  transition: background 0.15s ease;
}

/* Pills must NOT zoom — override the generic table a:hover */
.case table td:last-child a[href*="/cases/all-cases/keyword/"]:hover {
  background: #e0e7ff;
  transform: none;
  text-decoration: none;
  border-bottom: none;
}

/* Commissioners table */
.commisioners table tr td { border-right: 0; border-left: 0; }
.commisioners table { border: 1px solid var(--border); }
.commisioners table tr td:first-child { width: 15%; }
.commisioners table tr td:nth-child(2) { width: 30%; }
.commisioners table tr td p:last-child { margin-bottom: 0; }

.comm_special {
  font-family: Arial, sans-serif;
  font-size: 10px;
  padding-left: 10px;
  letter-spacing: normal;
  color: var(--text-muted);
}

.page_CommissionerPage .comm_special { display: block; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Comments
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.comment-content {
  padding: 20px;
  display: none;
}

.comment-content p:last-child { margin-bottom: 0; }
.comment table { margin-bottom: 20px; }

.comment-toggle {
  display: block;
  background: url(../img/icon-arrow-down-big.png) no-repeat right 10px center;
  background-size: 12px 8px;
  padding-right: 30px;
}

.comment-toggle.active {
  background: url(../img/icon-arrow-up-big.png) no-repeat right 10px center;
  background-size: 12px 8px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Utilities
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.highlight,
.highlight a { color: var(--danger); }

.grey,
.grey a { color: var(--grey); }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Form controls
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  background: var(--surface);
  padding: 8px 12px;
  box-sizing: border-box;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 54, 97, 0.15);
}

.enquiry { max-width: 700px; }
.enquiry fieldset { margin: 0; padding: 0; border: 0; }
.enquiry fieldset > div.field { margin-bottom: 12px; }
.enquiry fieldset > div.field > label { margin-bottom: 4px; display: inline-block; }

.enquiry fieldset > div.field > label:after { content: ':'; }

.enquiry fieldset > div.field.dropdown .middleColumn { clear: left; }

.enquiry fieldset > div.field.dropdown select {
  background: var(--surface);
  padding: 8px 12px;
  box-sizing: border-box;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}

.red,
.message.bad,
.message.required { color: var(--danger); }

.contact > div > div { margin-bottom: 3px; }
.fixed-sidebar .sidebar { overflow-y: auto; }
.only-content { padding: 20px; }

#codemenu {
  width: 100%;
  background-color: #CCCCCC;
  padding: 0.25em 0.5em 0.3em 0.5em;
  margin: 0 0 1em 0;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Navigation
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.navigation a:hover { color: var(--danger); text-decoration: underline; }

.navigation a:link,
.navigation a:visited,
.navigation a:active {
  color: #336699;
  text-decoration: none;
}

fieldset {
  border: 1px solid var(--border);
  padding: 1em;
  margin: 1em 0;
  border-radius: var(--radius-sm);
}

#searchdiv input[type="radio"] { margin-left: 5px; }

.content-wrapper { margin-bottom: 40px; }

.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Search results (#results)
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
#results.list p { margin-bottom: 5px; }
#results.list p:last-child { margin-bottom: 0; }
#results.list p.itemtype {
  font-size: 90%;
  font-style: italic;
  color: var(--text-subtle);
  margin: 0;
}
#results .itemtitle {
  font-size: 110%;
  font-weight: 700;
  color: var(--accent);
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Pagination
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.paging {
  text-align: center;
  font-size: 0;
  margin-top: 30px;
}

.paging > * { display: inline-block; }

.paging > a {
  color: var(--accent);
  font-size: 15px;
  margin: 0 10px;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.paging > a:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

.paging > a.next {
  padding: 6px 15px 6px 13px;
  border-radius: 0 8px 8px 0;
}

.paging .pg_no {
  font-size: 15px;
  padding: 6px 12px;
  font-weight: 700;
}

.paging .pg_no a {
  font-weight: 400;
  text-decoration: none;
}

.paging .disabled {
  cursor: not-allowed;
  color: var(--text-subtle);
}

.paging .pg_no a:hover { text-decoration: underline; }

.paging a.disabled:hover {
  color: var(--text-subtle);
  text-decoration: none;
}

.paging .first span:before { content: '« '; }
.paging .prev span:before  { content: '‹ '; }
.paging .last span:after   { content: ' »'; }
.paging .next span:after   { content: ' ›'; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Custom search form (header)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
form#CustomSearchForm_CustomSearchForm { font-size: 0; }
form#CustomSearchForm_CustomSearchForm > * { font-size: 14px; }
form#CustomSearchForm_CustomSearchForm label { color: #fff; }

form#CustomSearchForm_CustomSearchForm fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: inline-block;
  width: 74%;
  border-radius: 0;
}

form#CustomSearchForm_CustomSearchForm .btn-toolbar {
  display: inline-block;
  width: 26%;
  text-align: right;
  vertical-align: top;
}

form#CustomSearchForm_CustomSearchForm input[type=text] {
  border: 0;
  padding: 6px 10px;
  margin-bottom: 7px;
  font-size: 13px;
  border-radius: 8px;
}

form#CustomSearchForm_CustomSearchForm input[type=submit] {
  border: 0;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 7px;
  transition: background var(--transition);
}

form#CustomSearchForm_CustomSearchForm input[type=submit]:hover {
  background: rgba(0, 0, 0, 0.7);
}

form#CustomSearchForm_CustomSearchForm .optionset ul,
form#CustomSearchForm_CustomSearchForm .optionset li {
  list-style: none;
  margin: 0;
  padding: 0;
}

form#CustomSearchForm_CustomSearchForm .optionset li {
  display: inline-block;
  margin-right: 30px;
}

form#CustomSearchForm_CustomSearchForm .optionset li:last-child { margin-right: 0; }
form#CustomSearchForm_CustomSearchForm .optionset li > * { vertical-align: middle; }

form#CustomSearchForm_CustomSearchForm input:focus {
  outline: none;
  border: 0;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Member / lost password forms
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
form#MemberLoginForm_LoginForm label.right { float: none; }

form#MemberLoginForm_LoginForm input[type=submit],
form#LostPasswordForm_lostPasswordForm input[type=submit] {
  padding: 6px 16px;
  margin-right: 8px;
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  margin-bottom: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition);
}

form#MemberLoginForm_LoginForm input[type=submit]:hover,
form#LostPasswordForm_lostPasswordForm input[type=submit]:hover {
  background: var(--accent-hover);
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Export formats
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */
.export_formats { float: right; }
.export_formats.export_details { float: none; }

.export_formats a {
  display: inline-block;
  margin-right: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  text-decoration: none;
  transition: background var(--transition);
}

.export_formats a:hover { background: #e0e7ff; }
.export_formats a:last-child { margin-right: 0; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   MEDIA QUERIES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   */

/* Two-column page-with-sidebar layout */
@media all and (min-width: 740px) {
  .page-with-sidebar .sidebar,
  .page-with-sidebar .content {
    display: inline-block;
    vertical-align: top;
  }
  .page-with-sidebar .sidebar {
    position: sticky;
    top: 20px;                 /* distance from viewport top while scrolling */
    align-self: flex-start;    /* only relevant if wrapper becomes flex */
    max-height: calc(100vh - 40px);
    overflow-y: auto;          /* sidebar can scroll internally if too tall */
  }
  .sidebar {
    width: 25%;
    margin-bottom: 0;
  }
  .page-with-sidebar .content {
    width: 75%;
    padding-left: 20px;
  }
}

/* Homepage stacks below 980px */
@media all and (max-width: 980px) {
  .home .wrapper {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "right"
      "info";
    gap: 1.5rem;
  }
}

/* Small-screen tweaks */
@media all and (max-width: 520px) {
  .news-updates-list > div .image {
    width: 64px;
  }
  .news-updates-list > div .image img {
    height: 56px;
  }
