/*
 * Site theme modelled on the Government of Nepal web template used by
 * ird.gov.np: Mukta type, blue/red palette, bordered cards, white navigation
 * and a blue footer. Loaded after the Bootstrap/Skote and legacy stylesheets
 * so it wins ties; page-level <style> blocks still load after it.
 */

:root {
  --site-theme: #2460b9;          /* header band, buttons, active states */
  --site-theme-strong: #0447af;   /* titles, links */
  --site-theme-dark: #264f8b;     /* identity block in the header */
  --site-theme-hover: #1d4f9b;
  --site-accent: #cc1424;         /* title underline */
  --site-light: #f4f8ff;          /* tinted panels and cards */
  --site-light-100: #eef5ff;      /* dropdown menus */
  --site-light-300: #eaf1ff;
  --site-border: #f0f0f0;
  --site-card-border: #e5e5e5;
  --site-text: #646464;
  --site-heading: #111;
  --site-muted: #a5a5a5;
  --site-footer: #1b4789;
  --site-footer-bottom: #143566;
  --site-footer-line: #2159ab;
  --site-font: "Mukta", sans-serif;
  --site-gutter: 35px;
}

@media (max-width: 768px) {
  :root {
    --site-gutter: 20px;
  }
}

/* ---------- Base ---------- */

body {
  font-family: var(--site-font);
  font-size: 16px;
  color: var(--site-text);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--site-font);
  color: var(--site-heading);
}

a {
  color: var(--site-theme-strong);
}

a:hover {
  color: var(--site-theme);
}

.text-primary {
  color: var(--site-theme-strong) !important;
}

.bg-primary {
  background-color: var(--site-theme) !important;
}

.border-primary {
  border-color: var(--site-theme) !important;
}

.badge-primary {
  background-color: var(--site-theme);
}

.page-content {
  padding-bottom: 0;
}

/* ---------- Section title: blue with a short red rule ---------- */

.site-title {
  margin: 0 0 30px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--site-theme-strong);
  text-align: left;
}

.site-title span {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.site-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 2px;
  background-color: var(--site-accent);
}

@media (max-width: 575px) {
  .site-title {
    font-size: 18px;
  }
}

/* ---------- Buttons ---------- */

.btn {
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
}

.btn-sm {
  border-radius: 100px;
  font-size: 14px;
  padding-left: 14px;
  padding-right: 14px;
}

.btn-primary {
  background-color: var(--site-theme);
  border-color: var(--site-theme);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
  background-color: var(--site-theme-hover);
  border-color: var(--site-theme-hover);
  color: #fff;
}

.btn-primary:focus,
.btn-outline-primary:focus {
  box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.3);
}

.btn-outline-primary {
  color: var(--site-theme);
  border-color: var(--site-theme);
}

.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active {
  background-color: var(--site-theme);
  border-color: var(--site-theme);
  color: #fff;
}

/* Pill button used across the header and home page */
.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 4px 20px;
  border: 1px solid var(--site-theme);
  border-radius: 100px;
  background-color: var(--site-theme);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.site-btn:hover,
.site-btn:focus {
  background-color: var(--site-theme-hover);
  border-color: var(--site-theme-hover);
  color: #fff;
}

.site-btn-outline {
  background-color: transparent;
  color: var(--site-theme);
}

.site-btn-outline:hover,
.site-btn-outline:focus {
  background-color: var(--site-light-100);
  border-color: var(--site-theme);
  color: var(--site-theme);
}

/* Wishlist heart toggle on job/training listing cards */
.site-fav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--site-card-border);
  border-radius: 50%;
  background-color: #fff;
  color: var(--site-accent);
  font-size: 14px;
  line-height: 1;
}

.site-fav-btn:hover,
.site-fav-btn:focus {
  border-color: var(--site-accent);
  background-color: var(--site-light);
  color: var(--site-accent);
}

/* ---------- Cards, blocks, tables, forms ---------- */

.card {
  border: 1px solid var(--site-card-border);
  border-radius: 10px;
  box-shadow: none;
}

.card-header {
  padding: 12px 20px;
  background-color: var(--site-light);
  border-bottom: 1px solid var(--site-card-border);
  color: var(--site-theme-strong);
  font-size: 18px;
  font-weight: 700;
}

.card-header:first-child {
  border-radius: 10px 10px 0 0;
}

/* Blue card headers become the light IRD style */
.card-header.bg-primary {
  background-color: var(--site-light) !important;
}

.card-header.bg-primary.text-white {
  color: var(--site-theme-strong) !important;
}

.site-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  background-color: #fff;
  border: 1px solid var(--site-card-border);
  border-radius: 10px;
}

@media (max-width: 575px) {
  .site-block {
    padding: 20px;
  }
}

.table {
  color: #333;
}

.table td,
.table th {
  border-color: #eee;
  vertical-align: middle;
}

.table-hover tbody tr:hover {
  background-color: var(--site-light);
}

.card-footer {
  padding: 12px 20px;
  background-color: var(--site-light);
  border-top: 1px solid var(--site-card-border);
}

.card-footer:last-child {
  border-radius: 0 0 10px 10px;
}

.alert {
  border-radius: 6px;
  font-size: 15px;
}

.alert-info {
  background-color: var(--site-light);
  border-color: rgba(36, 96, 185, 0.25);
  color: var(--site-theme-strong);
}

.form-control,
.custom-select {
  border-color: #ddd;
  border-radius: 4px;
  color: #333;
}

.form-control:focus,
.custom-select:focus {
  border-color: var(--site-theme);
  box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.15);
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--site-theme);
  border-color: var(--site-theme);
}

.page-link {
  min-width: 30px;
  margin: 0 3px;
  border: 1px solid var(--site-light-300);
  border-radius: 4px !important;
  background-color: #fff;
  color: #000;
  font-weight: 700;
  text-align: center;
}

.page-link:hover {
  background-color: var(--site-light-300);
  color: var(--site-theme);
}

.page-item.active .page-link {
  background-color: var(--site-theme);
  border-color: var(--site-theme);
  color: #fff;
}

.nav-tabs {
  gap: 10px 20px;
  border-bottom: 0;
}

.nav-tabs .nav-link {
  padding: 8px 15px 6px;
  border: 0;
  border-radius: 4px;
  color: var(--site-theme);
  font-weight: 500;
}

.nav-tabs .nav-link:hover {
  background-color: var(--site-light-100);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  background-color: var(--site-theme);
  color: #fff;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--site-theme);
}

.page-title-box {
  padding: 20px 0 24px;
}

.page-title-box .breadcrumb {
  font-size: 15px;
}

.breadcrumb-item a {
  color: var(--site-theme-strong);
  font-weight: 500;
}

.breadcrumb-item.active {
  color: #888;
}

/* ---------- Header ---------- */

/* The id matches Skote's #page-topbar rule, which adds a shadow */
#page-topbar.site-header {
  position: relative;
  z-index: 1002;
  background-color: #fff;
  box-shadow: none;
}

.site-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 6px var(--site-gutter);
  border-bottom: 1px solid var(--site-border);
  font-size: 15px;
}

.site-topbar-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.site-topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--site-theme);
  font-weight: 500;
}

.site-topbar-contact a:hover {
  color: var(--site-accent);
}

.site-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.site-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--site-light-100);
  color: var(--site-theme);
  font-size: 13px;
  transition: background-color 0.2s, color 0.2s;
}

.site-social a:hover {
  background-color: var(--site-theme);
  color: #fff;
}

.site-social-light a {
  width: 32px;
  height: 32px;
  background-color: #fff;
}

.site-social-light a:hover {
  background-color: var(--site-light-100);
  color: var(--site-theme-strong);
}

/* Blue band with the Pokhara landscape blended into it */
.site-brand {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  background-color: var(--site-theme);
  color: #fff;
}

.site-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/pokhara-landscape.webp") center 30% / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.6;
}

.site-brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 110px 20px var(--site-gutter);
  background: linear-gradient(90deg, var(--site-theme-dark) 60%, rgba(38, 79, 139, 0));
  color: #fff;
}

.site-brand-identity:hover,
.site-brand-identity:focus {
  color: #fff;
}

.site-brand-identity img {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.site-brand-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}

.site-brand-lines span {
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.site-brand-lines strong {
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.site-brand-end {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px var(--site-gutter) 10px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.site-brand-end img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

/* Digital Patro "today" widget as plain text on the band. Its page can't be styled
   from here, so nav.html asks for a black card and `screen` drops the black.
   In the 380x152 widget the card content sits 16px from the left and 24px from
   the top: a 72px day tile, then the text from x=104. Each box below crops one
   of those, which also hides the grey page edge and the credit line. The widget
   has no size option, so the frames are scaled down by --patro-scale and the
   crop boxes (sized in widget pixels) are multiplied to match */
.site-brand-today {
  --patro-scale: 0.85;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
}

.site-brand-today > div {
  overflow: hidden;
}

.site-brand-today iframe {
  display: block;
  /* Leaves 260px for the date line; "Wednesday, September 30, 2026" needs 245px
     and wraps below 72px (hiding the clock) if the frame is narrower */
  width: 380px;
  height: 152px;
  border: 0;
  transform-origin: 0 0;
  mix-blend-mode: screen;
}

/* Day tile (३० / मंगलबार). Inverting turns its light box black and its dark text
   white, and contrast clears the box's slight tint, so `screen` leaves only the
   text. The 4px inset and radius keep the tile's rounded corners, which invert
   to white, out of view */
.site-brand-today-day {
  width: calc(64px * var(--patro-scale));
  height: calc(64px * var(--patro-scale));
  border-radius: calc(10px * var(--patro-scale));
}

.site-brand-today-day iframe {
  transform: scale(var(--patro-scale)) translate(-20px, -28px);
  filter: invert(1) contrast(1.25);
}

/* Month and year, AD date and clock */
.site-brand-today-date {
  width: calc(260px * var(--patro-scale));
  height: calc(72px * var(--patro-scale));
}

.site-brand-today-date iframe {
  transform: scale(var(--patro-scale)) translate(-104px, -24px);
}

@media (max-width: 991px) {
  .site-brand-identity {
    padding-right: 40px;
  }

  .site-brand-today {
    display: none;
  }
}

@media (max-width: 575px) {
  .site-topbar {
    justify-content: center;
    font-size: 14px;
  }

  .site-brand-identity {
    flex: 1;
    padding: 12px 12px 12px var(--site-gutter);
    background: rgba(38, 79, 139, 0.75);
  }

  .site-brand-identity img {
    width: 56px;
    height: 56px;
  }

  .site-brand-lines span {
    font-size: 13px;
    white-space: normal;
  }

  .site-brand-lines strong {
    font-size: 17px;
    white-space: normal;
  }

  .site-brand-end {
    display: none;
  }
}

/* White navigation row */
.site-nav.navbar {
  padding: 0 var(--site-gutter);
  background-color: #fff;
  border-bottom: 1px solid var(--site-border);
}

.site-nav .navbar-brand {
  color: var(--site-theme-strong);
  font-size: 18px;
  font-weight: 700;
}

.site-nav .navbar-toggler {
  border-color: var(--site-card-border);
}

.site-nav .navbar-nav .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 18px 0;
  background-color: transparent;
  /* !important: custom.css forces `.nav-link` white for the old blue navbar */
  color: #000 !important;
  font-size: 17px !important;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s;
}

.site-nav .navbar-nav .nav-link:hover,
.site-nav .navbar-nav .show > .nav-link,
.site-nav .navbar-nav .nav-link.active {
  color: var(--site-theme) !important;
}

.site-nav .navbar-nav .nav-link .arrow-down::after {
  margin-left: 2px;
  border-color: #aeaeae;
}

.site-nav .navbar-nav .nav-link:hover .arrow-down::after,
.site-nav .navbar-nav .show > .nav-link .arrow-down::after {
  border-color: var(--site-theme);
}

.site-nav .dropdown-menu {
  min-width: 12rem;
  padding: 6px;
  border: 0;
  border-radius: 4px;
  background-color: var(--site-light-100);
  box-shadow: 0 8px 24px rgba(4, 71, 175, 0.12);
}

.site-nav .dropdown-menu .dropdown-item {
  padding: 7px 15px;
  border-radius: 4px;
  background-color: transparent !important;
  color: #515151 !important;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav .dropdown-menu .dropdown-item:hover,
.site-nav .dropdown-menu .dropdown-item:focus,
.site-nav .dropdown-menu .dropdown-item.active {
  background-color: var(--site-theme) !important;
  color: #fff !important;
}

.site-nav .dropdown-menu .dropdown-item.text-danger {
  color: var(--site-accent) !important;
}

.site-nav .dropdown-menu .dropdown-item.text-danger:hover {
  background-color: var(--site-accent) !important;
  color: #fff !important;
}

/* A menu parent nested inside a dropdown opens its children beside it */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dropdown-submenu > .dropdown-toggle::after {
  content: "";
  width: 0.45em;
  height: 0.45em;
  margin: 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg);
}

.site-nav-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-search {
  display: flex;
  align-items: center;
  width: 250px;
  height: 45px;
  padding: 0 6px 0 20px;
  border-radius: 100px;
  background-color: #f8f8f8;
}

.site-search:focus-within {
  box-shadow: 0 0 0 2px var(--site-theme);
}

.site-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.site-search input::placeholder {
  color: #b4b4b4;
}

.site-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #989898;
  font-size: 17px;
}

.site-search button:hover {
  color: var(--site-theme);
}

.site-lang {
  display: flex;
  padding: 3px;
  border: 1px solid var(--site-card-border);
  border-radius: 100px;
}

.site-lang a {
  padding: 2px 10px;
  border-radius: 100px;
  color: #515151;
  font-size: 14px;
  font-weight: 600;
}

.site-lang a:hover {
  color: var(--site-theme);
}

.site-lang a.active {
  background-color: var(--site-theme);
  color: #fff;
}

.site-auth {
  display: flex;
  gap: 8px;
}

.site-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-weight: 500;
}

.site-profile:hover {
  color: var(--site-theme);
}

.site-profile .header-profile-user {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

/* custom.css paints the profile link blue on hover and shifts its menu left */
.site-nav .profile-dropdowns .site-profile:hover {
  background-color: transparent !important;
}

.site-nav .profile-dropdowns .dropdown-menu {
  left: auto;
  right: 0;
  margin-top: 8px;
}

@media (min-width: 1200px) {
  .site-nav .navbar-nav {
    gap: 0 28px;
  }

  .site-nav .navbar-nav > .nav-item > .nav-link::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 12px;
    width: 0;
    height: 2px;
    background-color: var(--site-theme);
    opacity: 0;
    transform: translateX(-50%);
    transition: width 0.3s, opacity 0.3s;
  }

  .site-nav .navbar-nav > .nav-item > .nav-link:hover::before,
  .site-nav .navbar-nav > .nav-item.show > .nav-link::before {
    width: 100%;
    opacity: 1;
  }

  .site-nav .navbar-nav > .nav-item > .dropdown-menu {
    margin-top: 0;
  }

  /* !important beats the theme's `.dropdown-menu.show { top: 100% !important }` */
  .dropdown-submenu > .dropdown-menu,
  .dropdown-submenu > .dropdown-menu.show {
    top: 0 !important;
    left: 100%;
    margin: -6px 0 0 8px;
  }

  /* Set by custom.js when the menu would run off the right edge */
  .dropdown-submenu > .dropdown-menu.dropdown-menu-flip {
    left: auto;
    right: 100%;
    margin: -6px 8px 0 0;
  }
}

@media (max-width: 1440px) and (min-width: 1200px) {
  .site-nav .navbar-nav {
    gap: 0 18px;
  }

  .site-nav .navbar-nav .nav-link {
    font-size: 16px !important;
  }
}

/* Not enough room for the full search pill: show the icon, and slide the
   field out to its left over the menu while it has focus */
@media (max-width: 1365px) and (min-width: 1200px) {
  .site-nav-tools {
    gap: 12px;
  }

  .site-search {
    position: relative;
    justify-content: center;
    width: 45px;
    padding: 0;
  }

  .site-search input {
    position: absolute;
    top: 0;
    right: 100%;
    z-index: 2;
    width: 0;
    height: 45px;
    padding: 0;
    border-radius: 100px 0 0 100px;
    background-color: #f8f8f8;
    opacity: 0;
    transition: width 0.2s, opacity 0.2s;
  }

  .site-search:focus-within {
    border-radius: 0 100px 100px 0;
    box-shadow: none;
  }

  .site-search:focus-within input {
    width: 240px;
    padding-left: 20px;
    opacity: 1;
  }
}

@media (max-width: 1199.98px) {
  .site-nav .navbar-brand {
    display: block;
    padding: 0.8rem 0;
  }

  .site-nav.navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .site-nav .navbar-collapse {
    padding-bottom: 14px;
  }

  .site-nav .navbar-nav .nav-link {
    padding: 10px 0;
  }

  .site-nav .dropdown-menu {
    box-shadow: none;
  }

  .dropdown-submenu > .dropdown-toggle::after {
    transform: rotate(45deg);
  }

  .dropdown-submenu > .dropdown-menu {
    padding: 0 0 0 1rem;
    background-color: transparent;
  }

  .site-nav-tools {
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--site-border);
  }

  .site-search {
    flex: 1 1 100%;
    width: auto;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: 50px;
  padding: 0;
  overflow: hidden;
  background-color: var(--site-footer);
  color: #fff;
  line-height: 1.5;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/pokhara-landscape.webp") center 62% / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.site-footer-top {
  padding: 3.5rem var(--site-gutter);
}

.site-footer-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.site-footer-title {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.site-footer ul {
  margin: 0;
  padding: 0;
}

.site-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem !important;
}

.site-footer-contact li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.site-footer-contact i {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.site-footer-contact a {
  color: #fff;
  font-weight: 600;
  word-break: break-word;
}

.site-footer-contact a:hover,
.site-footer-links a:hover {
  color: #c9dbff;
}

.site-footer-links li {
  position: relative;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--site-footer-line);
}

.site-footer-links li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.425rem;
  height: 0.675rem;
  background-color: #fff;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  transform: translateY(-50%);
}

.site-footer-links a {
  display: flex;
  padding-left: 1rem;
  color: #fff;
  font-size: 0.9375rem;
}

.site-footer-map iframe {
  display: block;
  width: 100%;
  height: 210px;
  border: 0;
  border-radius: 6px;
}

.site-footer-subtitle {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer-app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.site-footer-app-badges a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-footer-app-badges a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.site-footer-app-badges img {
  height: 40px;
  width: auto;
  display: block;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 0.6rem var(--site-gutter);
  background-color: rgba(20, 53, 102, 0.92);
  font-size: 0.875rem;
}

.site-footer-bottom p {
  margin: 0;
  color: #fff;
}

.site-footer-bottom a {
  color: #c9dbff;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .site-footer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .site-footer-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer-title {
    margin-bottom: 1rem;
  }

  .site-footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Home page ---------- */

.home-page {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 10px;
}

.site-notice {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: var(--site-light);
}

.site-notice-title {
  position: relative;
  margin: 0;
  padding-right: 20px;
  color: var(--site-theme);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.site-notice-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 2px;
  height: 20px;
  background-color: var(--site-theme);
  opacity: 0.3;
  transform: translateY(-50%);
}

.site-notice marquee {
  flex: 1;
  min-width: 0;
}

.site-notice marquee a {
  margin-right: 40px;
  color: #515151;
  font-size: 16px;
}

.site-notice marquee a:hover {
  color: var(--site-theme);
}

.site-notice-tag {
  margin-left: 6px;
  padding: 1px 8px;
  border: 1px solid rgba(36, 96, 185, 0.25);
  border-radius: 100px;
  background-color: #fff;
  color: var(--site-theme);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 575px) {
  .site-notice {
    gap: 10px;
    padding: 8px 12px;
  }

  .site-notice-title {
    padding-right: 10px;
    font-size: 14px;
  }
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.home-hero #homeMainSlider img {
  border-radius: 10px !important;
}

.home-officials {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.site-person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 6px;
  background-color: var(--site-light);
}

.site-person img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 5px;
  object-fit: cover;
  object-position: top;
}

.site-person-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.site-person-name {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.site-person-position {
  margin: 0 0 4px;
  color: #737373;
  font-size: 16px;
  font-weight: 500;
}

.site-person-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--site-theme-strong);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-all;
}

@media (max-width: 991px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-officials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .site-person {
    flex: 1 1 280px;
  }
}

@media (max-width: 575px) {
  .site-person img {
    width: 80px;
    height: 80px;
  }

  .site-person-name {
    font-size: 16px;
  }
}

.home-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

@media (max-width: 767px) {
  .home-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.home-about-text {
  flex: 1;
  margin-bottom: 24px;
  color: #555;
  line-height: 1.75;
  text-align: justify;
}

.site-post-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
}

.site-post-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-post-list a {
  position: relative;
  display: block;
  padding-left: 20px;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  transition: color 0.3s;
}

.site-post-list a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: var(--site-theme);
}

.site-post-list a:hover {
  color: var(--site-theme);
}

.site-post-date {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 20px;
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 575px) {
  .site-post-list a {
    font-size: 16px;
  }
}

/* हाम्रा सेवाहरू */
.home-services-wrapper {
  margin-bottom: 30px;
}

.home-services-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.home-services-main {
  flex: 1;
  min-width: 0;
}

.home-app-download-box {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.home-app-download-box .site-title {
  margin-bottom: 0;
}

.home-app-badges-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
}

.home-app-badges-column a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-app-badges-column a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.home-app-badges-column img {
  height: 48px;
  width: auto;
  display: block;
}

@media (max-width: 991px) {
  .home-services-row {
    flex-direction: column;
  }

  .home-app-download-box {
    width: 100%;
  }

  .home-app-badges-column {
    flex-direction: row;
    padding: 24px;
  }
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 40px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
}

.home-services-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0.5rem;
  border-radius: 10px;
  text-align: center;
}

.home-services-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--site-light);
  color: var(--site-theme-strong);
  font-size: 34px;
  transition: background-color 0.2s, color 0.2s;
}

.home-services-item:hover .home-services-icon,
.home-services-item:focus-visible .home-services-icon {
  background-color: var(--site-theme);
  color: #fff;
}

.home-services-label {
  color: var(--site-theme-strong);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 637px) {
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 12px;
  }

  .home-services-icon {
    width: 80px;
    height: 80px;
    font-size: 28px;
  }

  .home-services-label {
    font-size: 16px;
  }
}

/* Citizen service panels at the bottom of the home page */
.homePage-main-content-citizen-services {
  gap: 30px;
}

.homePage-main-content-citizen-services-nayaDharta {
  flex: 1 1 420px;
  padding: 30px;
  border: 1px solid var(--site-card-border);
  border-radius: 10px;
  box-shadow: none;
}

.homePage-main-content-citizen-services-nayaDharta-title {
  color: var(--site-theme-strong);
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}

.homePage-main-content-citizen-services .services-line {
  width: 100px;
  height: 2px;
  margin: 6px 0 0;
  border-radius: 0;
  background-color: var(--site-accent);
}

.homePage-main-content-citizen-services-nayaDharta-service-item {
  border: 0;
  border-radius: 10px;
  background-color: var(--site-light);
}

.homePage-main-content-citizen-services-nayaDharta-service-item-icon {
  color: var(--site-theme-strong);
}

.homePage-main-content-citizen-services-nayaDharta h5 {
  color: var(--site-theme-strong);
  font-size: 17px;
  font-weight: 700;
}

.homePage-main-content-citizen-services-nayaDharta ul li,
.homePage-main-content-citizen-services-nayaDharta-lists ul li {
  color: #333;
}

/* ---------- Gallery grids ---------- */

.site-gallery-item {
  display: block;
  overflow: hidden;
  border: 1px solid var(--site-card-border);
  border-radius: 10px;
  background-color: #fff;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.site-gallery-item:hover,
.site-gallery-item:focus {
  box-shadow: 0 10px 24px rgba(4, 71, 175, 0.12);
  transform: translateY(-3px);
  color: inherit;
}

.site-gallery-item img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.site-gallery-item-title {
  margin: 0;
  padding: 12px 14px;
  color: var(--site-theme-strong);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.site-video-item {
  overflow: hidden;
  border: 1px solid var(--site-card-border);
  border-radius: 10px;
  background-color: #fff;
}

.site-video-item iframe {
  display: block;
  width: 100%;
  border: 0;
}
