* { box-sizing: border-box; }

:root {
  --container-max: 978px;
  --green: #2f6d2e;
  --green-dark: #2d6a2d;
  --outer-bg: #0d6b2b;
  --banner-bg: #d9edf8;
  --white: #ffffff;
  --text: #333333;
  --muted: #aaa;
  --accent: #0000cc;
  --fs: 15px; /* controlled by JS font-resize */
}

body {
  background: var(--outer-bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: var(--fs);
  margin: 0;
  padding: 0;
}

a { color: inherit; text-decoration: none; font-size: var(--fs); }
p { margin: 0 0 10px; line-height: 1.5; font-size: var(--fs); }
a:hover { text-decoration: underline; }

/* ── TOP BAR (compact) ── */
.top-bar {
  background: var(--green);
  max-width: var(--container-max);
  margin: 0 auto;
  font-size: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px 8px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.top-link { color: var(--white); font-size: 12px; white-space: nowrap; }
.top-link:hover { text-decoration: underline; color: #fff; }
.top-sep { color: var(--muted); font-size: 12px; }
.top-search-form {
  display: inline-flex;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
}
.top-search-input {
  border: 0;
  padding: 3px 9px;
  font-size: 12px;
  width: 120px;
  outline: none;
}
.top-search-btn {
  background: #55abda;
  color: var(--white);
  border: none;
  padding: 3px 12px;
  font-size: 14px;
  cursor: pointer;
}

/* ── HEADER WRAP: green band + emblem outside ── */
.site-header-wrap {
  display: flex;
  align-items: stretch;
  background: var(--green);
  max-width: var(--container-max);
  margin: 0 auto;
  border-left: 1px solid rgba(255,255,255,0.16);
  border-right: 1px solid rgba(255,255,255,0.16);
}
.site-header-green {
  flex: 1;
  background: var(--green);
  display: flex;
  align-items: center;
  padding: 6px 10px;
  min-height: 84px;
}
.hd-logos-left {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-right: 10px;
}
.hd-logo-img { max-height: 89px; max-width: 146px; }
.title-logo-img {     max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    line-height: normal;
    vertical-align: middle;
    box-sizing: border-box; }
.hd-logo-ph {
  width: 60px; height: 60px; border-radius: 50%;
  font-size: 9px; background: rgba(255,255,255,0.3); color: var(--white);
}
.hd-title-center { flex: 1; text-align: center; }

.hd-emblem-right {
  /* background: var(--white); */
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 84px;
  border-left: 1px solid rgba(0,0,0,0.08);
}
.hd-emblem-img { max-height: 94px; max-width: 87px; }
.hd-emblem-ph {
  width: 65px; height: 65px; border-radius: 50%;
  font-size: 9px; background: #ddd;
}

/* ── NAVBAR DROPDOWN HOVER (desktop) ── */
@media (min-width: 992px) {
  /* Hide via visibility so Bootstrap JS .show class doesn't conflict */
  .navbar-nav .nav-item.dropdown > .dropdown-menu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    margin-top: 0;
  }
  .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-nav .nav-item.dropdown > .nav-link.dropdown-toggle::after {
    transition: transform 0.15s ease-in-out;
  }
  .navbar-nav .nav-item.dropdown:hover > .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/* ── FLYOUT SUBMENU ── */
.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-item.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 0.5em;
  vertical-align: 2px;
  border-top: 0.3em solid transparent;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
}
.dropdown-submenu .dropdown-menu-flyout {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  position: absolute;
  top: 0;
  left: 100%;
  margin: 0;
}
.dropdown-submenu:hover > .dropdown-menu-flyout {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 991.98px) {
  .dropdown-submenu .dropdown-menu-flyout {
    position: static;
    display: none !important;
    padding-left: 1rem;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }
  .dropdown-submenu.open > .dropdown-menu-flyout,
  .dropdown-submenu:focus-within > .dropdown-menu-flyout {
    display: block !important;
  }
}

/* ── NAVBAR ── */
.navbar {
  background: #fff;
  max-width: var(--container-max);
  margin: 3px auto;
  padding: 0 !important;
  border-radius: 7px;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.navbar .container-fluid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}
.navbar .navbar-nav { flex-wrap: wrap; }

/* Nav links - white text */
.navbar .navbar-nav .nav-link {
  font-size: var(--fs);
  font-weight: 400;
  padding: 9px 10px !important;
  white-space: nowrap;
  color: #06213f !important;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-item.show > .nav-link {
  background: rgba(255,255,255,0.15);
  color: #06213f !important;
  text-decoration: none;
}

/* Dropdown menu - dark semi-transparent */
.navbar .navbar-nav .dropdown-menu {
  border-radius: 0 !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  min-width: 220px;
  background-color: rgba(15, 15, 15, 0.682) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border-radius: 10px;
}

/* Dropdown items - white text */
.navbar .navbar-nav .dropdown-menu .dropdown-item {
  font-size: 14px !important;
  padding: 7px 16px !important;
  color: #f0f0f0 !important;
  background-color: transparent !important;
  white-space: normal;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar .navbar-nav .dropdown-menu .dropdown-item:last-child { border-bottom: none; }
.navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar .navbar-nav .dropdown-menu .dropdown-item:focus {
  background-color: #55abda !important;
  color: #ffffff !important;
  text-decoration: none;
}
.navbar .navbar-nav .dropdown-menu .dropdown-item.active {
  background-color: var(--green-dark) !important;
  color: #ffffff !important;
}

/* Flyout submenu */
.navbar .navbar-nav .dropdown-submenu > .dropdown-item.dropdown-toggle::after {
  float: right;
  margin-top: 5px;
}
.navbar .navbar-nav .dropdown-menu-flyout {
  background-color: rgba(15, 15, 15, 0.682) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 0 !important;
  padding: 4px 0 !important;
}
.navbar .navbar-nav .dropdown-menu-flyout .dropdown-item {
  color: #f0f0f0 !important;
  background-color: transparent !important;
}
.navbar .navbar-nav .dropdown-menu-flyout .dropdown-item:hover {
  background-color: #55abda !important;
  color: #ffffff !important;
}

/* Active state */
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .dropdown-item.active {
  background: rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
}

/* Mobile toggler */
.navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
  margin: 4px 0;
}
.mobile-nav-label,
.mobile-nav-arrow {
  display: none;
}
.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
  .navbar {
    margin: 3px 4px;
    padding: 8px !important;
    border: 6px solid var(--white);
    border-radius: 10px;
    background: var(--white);
  }
  .navbar .container-fluid {
    padding: 0;
  }
  .navbar .navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0;
    background: var(--white);
    color: #111;
    outline: 0;
    box-shadow: none !important;
  }
  .mobile-nav-label {
    display: inline-block;
    font-size: 18px;
    font-weight: 400;
  }
  .mobile-nav-arrow {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(45deg) translateY(-3px);
  }
  .navbar .navbar-collapse {
    border: 1px solid #e5e5e5;
    border-top: 0;
    padding: 8px 14px 10px;
  }
  .navbar .navbar-nav {
    width: 100%;
    display: block;
  }
  .navbar .navbar-nav .nav-item {
    display: block;
  }
  .navbar .navbar-nav .nav-item.dropdown:hover > .dropdown-menu,
  .navbar .navbar-nav .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block !important;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .navbar .navbar-nav .dropdown-submenu:hover > .dropdown-menu-flyout,
  .navbar .navbar-nav .dropdown-submenu:focus-within > .dropdown-menu-flyout {
    display: block !important;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .navbar .navbar-nav .nav-link {
    padding: 9px 6px !important;
    font-size: 16px !important;
  }
  .navbar .navbar-nav .nav-link:hover,
  .navbar .navbar-nav .nav-link:focus,
  .navbar .navbar-nav .nav-item.show > .nav-link,
  .navbar .navbar-nav .nav-link.active {
    font-size: 16px !important;
  }
  .navbar .navbar-nav .dropdown-menu .dropdown-item,
  .navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
  .navbar .navbar-nav .dropdown-menu .dropdown-item:focus,
  .navbar .navbar-nav .dropdown-menu .dropdown-item.active {
    font-size: 14px !important;
  }
  .navbar .navbar-toggler:focus,
  .navbar .navbar-toggler:active {
    border-color: #e5e5e5 !important;
    outline: 0;
    box-shadow: none !important;
  }
}

/* ── CAROUSEL INDICATORS ── */
#dbcpCarousel .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  opacity: 0.7;
  margin: 0 4px;
}
#dbcpCarousel .carousel-indicators li.active {
  background: #06213f;
  opacity: 1;
}

/* ── HERO BANNER ── */
.hero-banner-wrap {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--banner-bg);
  border-left: 1px solid rgba(255,255,255,0.18);
  border-right: 1px solid rgba(255,255,255,0.18);
}
.banner-img { width: 100%; height: 300px; object-fit: cover; display: block; }
.banner-fallback {
  width: 100%; height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.banner-ticker {
  background: var(--green);
  color: #ffff00;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
}

/* ── MAIN OUTER (green outer frame, white box) ── */
.main-outer {
  background: var(--outer-bg);
  padding: 0 0 1px;
}
.main-box {
  background: var(--white);
  border: 1px solid #bcbcbc;
  margin: 0 auto;
  max-width: var(--container-max);
  box-shadow: none;
}

/* ── 3-COLUMN LAYOUT ── */
.main-cols {
  display: flex;
  align-items: stretch;
}
.col-left {
  width: 25%;
  min-width: 140px;
  padding: 8px 8px;
  /* border-right: 1px solid #ccc; */
  font-size: 12px;
}
.col-center {
  flex: 1;
  padding: 8px 12px;
  /* border-right: 1px solid #ccc; */
  font-size: 12px;
}
.col-right {
  width: 25%;
  min-width: 150px;
  padding: 8px 8px;
  font-size: 12px;
}

/* ── LEFT COLUMN ── */
.section-label {
  text-align: center;
  font-weight: 400;
  font-size: calc(var(--fs) + 4px);
  color: var(--text);
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
  padding-top: 14px;
  margin-bottom: 15px;
}
.minister-photo-wrap { text-align: center; margin-bottom: 4px; }
.minister-img {
  width: 110px; height: 120px;
  object-fit: cover;
  border: 1px solid #ccc;
}
.minister-ph {
  width: 110px; height: 120px;
  font-size: 10px; margin: 0 auto;
}
.minister-name {
  text-align: center;
  font-weight: 700;
  font-size: var(--fs);
  color: var(--accent);
  margin: 15px 0px;
}
.minister-name a { color: var(--text); }
.apply-btn {
  display: block;
  width: 100%;
  background: #333;
  color: var(--white) !important;
  text-align: center;
  padding: 5px 0;
  font-weight: 700;
  font-size: var(--fs);
  margin-bottom: 6px;
  text-decoration: none !important;
}
.apply-btn:hover { background: #555; text-decoration: none !important; }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
/* .sidebar-links li { border-bottom: 1px solid #eee; } */
.sidebar-links li a {
  display: block;
  padding: 14px 2px;
  color: var(--text);
  font-size: var(--fs);
  text-decoration: underline;
  font-weight: 700;
}
.sidebar-links li a:hover { color: var(--green-dark); text-decoration: underline; }

/* ── CENTER COLUMN ── */
.welcome-heading {
  font-weight: 400;
  font-size: calc(var(--fs) + 4px);
  color: var(--text);
  border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
    padding-top: 14px;
    margin-bottom: 15px;
}
.notice-ticker {
  /* border: 1px solid #ddd; */
  padding: 4px;
  margin-bottom: 8px;
  font-size: var(--fs);
  color: #555;
  text-align: center;
  /* background: #fafafa; */
}
.welcome-text { font-size: var(--fs); color: var(--text); line-height: 1.55; text-align: justify; }
.welcome-text p { margin-bottom: 8px; }

/* Quick links grid */
.quick-grid { margin: 8px 0; }
.quick-row { display: flex; gap: 8px; margin-bottom: 8px; }
.quick-tile { flex: 1; text-align: center; }
.quick-img {
  height: 100px;
  object-fit: cover;
  border: 1px solid #ddd;
  display: block;
}
.quick-ph { width: 100%; height: 75px; font-size: 10px; }
.qt-label { font-size: var(--fs); color: var(--text); margin-top: 3px; display: flex; align-items: center; justify-content: left; }
.qt-label a { color: var(--text); text-decoration: underline; }
.qt-label a:hover { color: var(--green-dark); text-decoration: underline; }

.whats-new-header {
  background: #2d2d2d;
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs);
  padding: 5px 12px;
  margin-top: 8px;
  text-align: center;
}
.whats-new-ticker {
  height: 250px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #fafafa;
  position: relative;
}
.whats-new-ticker:hover .whats-new-list { animation-play-state: paused; }
.whats-new-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  animation: scrollUp 20s linear infinite;
}
.whats-new-list li { margin: 7px 0; font-size: var(--fs); padding-right: 6px; }
.whats-new-list li a { font-size: var(--fs); text-decoration: underline; color: var(--text); }
.whats-new-list li a:hover { text-decoration: underline; }
@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.new-badge-img {
  width: 28px;
  height: 11px;
  margin-left: 3px;
  vertical-align: middle;
}

/* ── RIGHT COLUMN ── */
.dot-sep { text-align: right; color: var(--muted); font-size: 16px; border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
    padding-top: 18px;
    margin-bottom: 15px;}
.registrar-box { text-align: center; margin-bottom: 10px; }
.registrar-img {
  width: 120px !important; height: 170px !important;
  object-fit: cover;
  border: 1px solid #ccc;
}
.registrar-ph { width: 95px; height: 95px; font-size: 9px; margin: 0 auto; }
.registrar-lbl { font-weight: 700; font-size: var(--fs); color: var(--text); margin-top: 4px; }
.registrar-name-txt { font-size: var(--fs); margin-top: 4px; line-height: 1.4; }
.registrar-name-txt a { color: #06213f; }
.registrar-name-txt a:hover { text-decoration: underline; }

.side-box { border: 1px solid #ccc; margin-bottom: 10px; }
.side-box-header {
  background: #06213f;
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs);
  padding: 5px 8px;
  text-align: center;
}
.side-box-content { padding: 6px 8px; }
.side-links { list-style: disc; padding-left: 16px; margin: 0;  }
.side-links li { margin: 10px 0; }
.side-links li a { color: #06213f; font-size: var(--fs); text-decoration: underline;  }
.side-links li a:hover { text-decoration: underline; }
.view-all { display: block; margin-top: 5px; font-size: 12px; color: var(--accent); }
.view-all:hover { text-decoration: underline; }
.social-links-list { list-style: none; padding: 0; margin: 4px 0 0; }
.social-links-list li { margin: 3px 0; }
.social-links-list li a { color: #e61500; font-size: var(--fs); text-decoration: underline; }
.social-links-list li a:hover { text-decoration: underline; }
.social-title-link { font-weight: 400; color: #e61500; font-size: var(--fs); display: block; margin-bottom: 3px; }
.social-title-link:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--white);
  border-top: 2px solid #ccc;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 8px;
}
.footer-top { padding: 12px 10px 8px; }
.footer-cols { display: flex; gap: 16px; align-items: stretch; }
.footer-col-map { flex: 1; display: flex; }
.footer-col-map iframe { width: 90%; height: 100%; }
.footer-col-contact { flex: 1; }
.footer-col-links { flex: 1; }

.visitors-box {
  /* border: 1px solid #ccc; */
  padding: 6px 8px;
  font-size: 12px;
  background: var(--white);
}
.visitors-title { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.visitors-count { font-size: 13px; margin-bottom: 4px; }

.footer-title { font-weight: 700; font-size: 13px; color: var(--text); margin-bottom: 6px; }
.footer-addr { font-size: var(--fs); color: var(--text); line-height: 1.9; }
.footer-stay-links { list-style: disc; padding-left: 16px; margin: 0; }
.footer-stay-links li { margin: 2px 0; }
.footer-stay-links li a { font-size: var(--fs); color: var(--text); text-decoration: underline; }
.footer-stay-links li a:hover { text-decoration: underline; color: var(--green-dark); }

.bottom-bar {
  background: var(--white);
  border-top: 1px solid #ccc;
  padding: 5px 10px;
}
.bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
}
.last-updated { font-size: 12px; color: var(--text); }
.copyright { font-size: 12px; color: var(--text); text-align: center; }
.flag-counter-wrap img { height: 50px; }

/* ── PAGE SHELL CONTENT (PHP page layout) ── */
.page-shell-main {
  background: var(--outer-bg);
  /* padding: 12px 0; */
}
.breadcrumb-nav {
  max-width: var(--container-max);
  margin: 8px auto 0;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid #bcbcbc;
  border-bottom: none;
  font-size: 13px;
  color: var(--text);
}
/* .breadcrumb-nav a { color: var(--accent); } */
.breadcrumb-nav a:hover { text-decoration: underline; }
.page-shell-content {
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #bcbcbc;
  padding: 18px 20px 22px;
  box-sizing: border-box;
}
.page-shell-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 12px;
}
.page-shell-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin: 18px 0 10px;
}
.page-shell-content p,
.page-shell-content li {
  font-size: var(--fs);
  line-height: 1.7;
  color: var(--text);
}
.page-shell-content ul {
  padding-left: 20px;
  margin: 10px 0 0;
}
.page-shell-card {
  border: 1px solid #ddd;
  background: #f9f9f9;
  padding: 12px 14px;
  margin-top: 12px;
}
.page-shell-cta {
  display: inline-block;
  background: var(--green);
  color: var(--white) !important;
  padding: 8px 14px;
  margin-top: 10px;
  font-weight: 700;
  text-decoration: none !important;
}
.page-shell-cta:hover {
  background: #225520;
  text-decoration: none !important;
}


/* ── INNER PAGE TWO-COLUMN LAYOUT ── */
.page-with-sidebar {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #bcbcbc;
}
.page-main-content {
  flex: 1;
  padding: 18px 20px 22px;
  min-width: 0;
  border-right: 1px solid #ddd;
}
.page-main-content h1 {
  font-size: 19px;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 12px;
  text-align: left;
  padding-bottom: 6px;
  border-bottom: 1px solid #ccc;
}
.contact-page h1 {
  border-bottom: 0;
}
.contact-alert-marquee {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 0 14px;
  color: #8a5a00;
  background: #fff3cd;
  border: 1px solid #ffe69c;
  padding: 8px 0;
}
.contact-alert-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: contact-alert-scroll 18s linear infinite;
}
@keyframes contact-alert-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-alert-marquee span {
    padding-left: 8px;
    animation: none;
  }
}
.page-main-content h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 14px 0 8px;
}
.page-main-content p,
.page-main-content li {
  font-size: var(--fs);
  line-height: 1.7;
  color: var(--text);
  text-align: justify;
}
.page-main-content ul {
  padding-left: 20px;
  margin: 8px 0;
}
.page-sidebar {
  width: 220px;
  flex-shrink: 0;
  padding: 12px 8px;
  background: var(--white);
}
.page-sidebar .side-box {
  border: 1px solid #ccc;
  margin-bottom: 12px;
  font-size: 12px;
}
.page-sidebar .side-box-header {
  background: #06213f;
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 8px;
  text-align: center;
}
.page-sidebar .side-box-content {
  padding: 8px;
  font-size: 12px;
}
.page-sidebar .side-links {
  list-style: disc;
  padding-left: 16px;
  margin: 0;
}
.page-sidebar .side-links li {
  margin: 4px 0;
  font-size: 12px;
}
.page-sidebar .side-links li a {
  color: #06213f;
  font-size: var(--fs);
}
@media (max-width: 700px) {
  .page-with-sidebar { flex-direction: column; }
  .page-sidebar { width: 100%; border-top: 1px solid #ddd; }
  .page-main-content { border-right: none; }
}

/* ── UTILITY ── */
.img-placeholder {
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 10px;
  text-align: center;
}

/* ── NOTIFICATION TABLE ── */
.notification-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
  background: var(--white);
}
.notification-table thead {
  background: #2d2d2d;
  color: var(--white);
}
.notification-table th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  border: 1px solid #ccc;
  font-size: 14px;
}
.notification-table td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  font-size: var(--fs);
}
.rti-table th:nth-child(1),
.rti-table td:nth-child(1),
.rti-table th:nth-child(2),
.rti-table td:nth-child(2) {
  white-space: nowrap;
}
.notification-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}
.notification-table tbody tr:hover {
  background: #f0f0f0;
}

.download-link {
  color: #06213f;
  text-decoration: underline;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  /* gap: 1px; */
}
.download-link:hover {
  text-decoration: underline;
}
.download-link i.fa-download {
  display: none;
}
.download-link::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url('../images/icon/pdf-icon-small.png') no-repeat center / contain;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════
   RESPONSIVE STYLES
   ══════════════════════════════════════════ */

/* ── Tablet (≤768px) ── */
@media (max-width: 768px) {

  /* Top bar: wrap to two rows, search stretches */
  .top-bar-inner { flex-wrap: wrap; gap: 6px; padding: 5px 8px; }
  .top-bar-left { flex: 1 1 100%; }
  .top-bar-right { flex: 1 1 100%; }
  .top-search-form { flex: 1; }
  .top-search-input { flex: 1; width: auto; min-width: 0; padding: 5px 9px; font-size: 13px; }
  .top-search-btn { padding: 5px 12px; }

  /* Site header: stack logos */
  .site-header-wrap { flex-direction: column; }
  .site-header-green { flex-direction: column; align-items: center; text-align: center; padding: 8px; min-height: auto; }
  .hd-logos-left { margin-right: 0; margin-bottom: 6px; justify-content: center; }
  .hd-logo-img { max-height: 60px; }
  .hd-emblem-right { border-left: none; border-top: 1px solid rgba(0,0,0,0.08); min-width: auto; min-height: auto; padding: 6px; justify-content: center; }
  .hd-emblem-img { max-height: 60px; }

  /* Banner */
  .banner-img, .banner-fallback { height: 180px; }

  /* 3-col → single col */
  .main-cols { flex-direction: column; }
  .col-left, .col-center, .col-right {
    width: 100%;
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 12px;
    font-size: 14px;
  }
  .col-right { border-bottom: none; }

  /* Minister photo: smaller */
  .minister-img, .minister-ph { width: 90px; height: 100px; }

  /* Quick grid: 2 cols still fine, just ensure full width */
  .quick-img { height: 80px; }

  /* Footer */
  .footer-cols { flex-direction: column; gap: 12px; }
  .footer-col-map iframe { width: 100%; height: 140px; }
  .bottom-bar-inner { flex-direction: column; align-items: center; gap: 4px; text-align: center; }

  /* Notification table: scroll */
  .notification-table { font-size: 13px; }
  .notification-table th, .notification-table td { padding: 7px 8px; }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {

  /* Top bar: keep flag + home + A controls; hide separators & less-used links */
  .top-bar-left .top-sep { display: none; }
  .top-bar-left a[href*="skipcontent"],
  .top-bar-left a[href*="screen-reader"],
  .top-bar-left a[href*="sitemap"] { display: none; }
  /* social icons stay; search stays full-width */

  /* Header */
  .hd-logo-img { max-height: 48px; max-width: 110px; }
  .title-logo-img { max-width: 90%; }
  .hd-emblem-img { max-height: 48px; max-width: 60px; }

  /* Banner */
  .banner-img, .banner-fallback { height: 140px; }

  /* Quick grid: stack to 1 col */
  .quick-row { flex-direction: column; }
  .quick-img { height: 100px; width: 100%; }

  /* Sidebar links: smaller padding */
  .sidebar-links li a { padding: 10px 2px; font-size: 14px; }

  /* Whats new ticker */
  .whats-new-ticker { height: 200px; }

  /* Registrar img */
  .registrar-img { width: 90px; height: 85px; }

  /* Footer map */
  .footer-col-map iframe { height: 120px; }

  /* Notification table: allow horizontal scroll */
  .page-shell-content, .page-main-content { overflow-x: auto; padding: 12px; }
  .notification-table { min-width: 480px; }
}

/* ── SEARCH RESULTS PAGE ── */
.search-page-form {
  display: flex;
  max-width: 520px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ccc;
}
.search-page-input {
  flex: 1;
  border: 0;
  padding: 8px 12px;
  font-size: var(--fs);
  outline: none;
}
.search-page-btn {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: var(--fs);
  cursor: pointer;
  white-space: nowrap;
}
.search-page-btn:hover { background: var(--green-dark); }

.search-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-result-item {
  padding: 14px 0;
  border-bottom: 1px solid #e5e5e5;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-title {
  font-size: calc(var(--fs) + 2px);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin-bottom: 3px;
}
.search-result-title:hover { text-decoration: underline; }
.search-result-breadcrumb {
  font-size: calc(var(--fs) - 2px);
  color: var(--green-dark);
  margin-bottom: 4px;
}
.search-result-snippet {
  font-size: var(--fs);
  color: #444;
  line-height: 1.6;
}
.search-result-snippet mark {
  background: #fff176;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
.login-links{
  display: flex;
  gap: 35px;
  font-weight: 600;
}
