:root {
  --moj-primary-color: #3d6881;
  --moj-primaryLight-color: #6e8ea0;
  --moj-secondary-color: #8a1538;
  --moj-secondary-dark-color: #6e1030;
  --moj-light-color: #f8f9fa;
  --moj-text-color: #212529;
  --moj-gold-border: #a3937d;
  --moj-bg-light: #fcfcfc;
  --moj-black-color: #000000;
  --moj-duneLight-color: #dad4c8;
  --moj-dunemid-color: #dad4c8;
  --moj-dunemidAsh-color: #eae8e6;
  --moj-lightGray-color: #cccccc;
  --moj-ash-color: #eceae3;
  --moj-red-color: #dc2626;
  --moj-redLight-color: #fef2f2;
  --moj-success-color: #34d399;
  --moj-successLight-color: #ecfdf5;
  --moj-yellow-color: #fbbf24;
  --moj-yellowLight-color: #fffbeb;
  --moj-blue-color: #2563eb;
  --moj-blueLight-color: #eff6ff;
  --card-radius: 1rem;
  --btn-radius: 0.5rem;
  --moj-text-white: #ffffff;
  --moj-white-color: #ffffff;
  --moj-trans-white: #ffffff0d;
  --footer-border-color: rgba(255, 255, 255, 0.15);
  --icon-bg: rgba(255, 255, 255, 0.2);
  --moj-navy-color: #0d4261;
  --moj-gray-trans: #0000000a;
  --moj-navyMid-color: #9eb3c0;
  --moj-navyLight-trans: #cfd9df66;
  --moj-navyMid-trans: #cfd9df;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  color: var(--moj-text-color);
  background: #fafbfc;
}

body,
a,
button,
.btn-brand {
  -webkit-transition:
    all 400ms ease,
    outline 0ms;
  -moz-transition:
    all 400ms ease,
    outline 0ms;
  -ms-transition:
    all 400ms ease,
    outline 0ms;
  -o-transition:
    all 400ms ease,
    outline 0ms;
  transition:
    all 400ms ease,
    outline 0ms;
}

a {
  color: var(--moj-primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--moj-secondary-color);
  text-decoration: none;
}

.btn-brand {
  background-color: var(--moj-primary-color);
  color: white;
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0.5rem 1rem;
}

.btn-brand:hover {
  background-color: var(--moj-secondary-color);
}

.btn-brand-outline {
  background-color: transparent;
  color: white;
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--moj-primary-color);
  color: var(--moj-primary-color);
}

.btn-brand-outline:hover {
  background-color: var(--moj-primary-color);
  color: var(--moj-white-color);
}

.headerBannerBg {
  background: url('../img/newHeaderBg1.jpg') no-repeat bottom;
  background-size: cover;
}

.col-container {
  display: flex;
  flex-direction: column;
}

.col-container .card {
  flex: 1;
  position: relative;
}

/* --- Global Helpers --- */
.text-primary-custom {
  color: var(--moj-primary-color);
}

.bg-secondary-custom {
  background-color: var(--moj-secondary-color);
}

.text-primary {
  color: var(--moj-primary-color) !important;
}

.text-secondary {
  color: var(--moj-secondary-color) !important;
}

.custom-navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.75rem 0;
}

.custom-navbar a,
.custom-navbar button {
  font-size: 0.833rem;
}

.text-primaryLight {
  color: var(--moj-primaryLight-color);
}

.btn-login {
  background-color: #6e8ea0;
  border: 1px solid var(--moj-primary-color);
  color: var(--moj-white-color);
  border-radius: 3rem;
  padding: 0.5rem 1rem;
  font-size: 0.833rem;
}

.btn-login:hover {
  background-color: var(--moj-secondary-color);
  border: 1px solid var(--moj-secondary-color);
  color: var(--moj-white-color);
}

.btn-logout {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #6d8ca1;
  border-radius: 3rem;
  background: transparent;
  color: #4a6a7e;
  padding: 0.45rem 1rem;
  font-size: 0.833rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.btn-logout:hover {
  background-color: var(--moj-secondary-color);
  border-color: var(--moj-secondary-color);
  color: var(--moj-white-color);
}

.text-mehron {
  color: var(--moj-secondary-color) !important;
}

.lang-dropdown {
  border: 1px solid var(--moj-primary-color);
  border-radius: 3rem;
  background: transparent;
  padding: 0.5rem 1rem;
  color: var(--moj-primary-color);
  display: flex;
  align-items: center;
}

.lang-dropdown:hover {
  background-color: var(--moj-primary-color);
  border: 1px solid var(--moj-primary-color);
  color: var(--moj-white-color);
}

.flag-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  object-fit: 100%;
}

.contact-link {
  text-decoration: none;
  color: var(--moj-primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.contact-link i {
  font-size: 1rem;
}

.divider {
  width: 1px;
  height: 1rem;
  background-color: var(--moj-primary-color);
  opacity: 0.5;
  margin: 0 0.25rem;
}

.search-btn,
a.search-btn {
  color: var(--moj-primary-color);
  font-size: 1rem;
  background: none;
  border: none;
}

.site-header {
  background-color: var(--moj-text-white);
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
}

.site-header .navbar {
  padding: 0;
}

.logo-img {
  max-height: 3.4rem;
  width: auto;
  object-fit: contain;
}

.site-header .navbar-nav .nav-link {
  color: var(--moj-navy-color);
  font-weight: 400;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

.wraper-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.show {
  color: var(--moj-primary-color);
}

.site-header .nav-link i.bi-chevron-down {
  color: var(--moj-secondary-color);
  font-size: 0.75rem;
  transition: transform 0.2s;
  text-shadow: 0 1px var(--moj-secondary-color);
}

.site-header .nav-link.show i.bi-chevron-down {
  transform: rotate(180deg);
}

.site-header .dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.site-header .dropdown-item {
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
}

.site-header .dropdown-item:active {
  background-color: var(--moj-primary-color);
}

.site-header .action-icons a {
  color: var(--moj-primary-color);
}

.action-icons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--moj-primary-color);
  margin-bottom: 0.25rem;
}

.action-icons i {
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.action-icons i:hover {
  opacity: 0.8;
}

@media (max-width: 991px) {
  .site-header .navbar-collapse {
    background: var(--moj-text-white);
    z-index: 1000;
    padding: 1rem 0;
  }

  .navbar-brand {
    margin: 0;
  }

  .action-icons {
    margin-left: 0;
    margin-right: 0;
    gap: 1rem;
  }

  .site-header .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }

  .site-header .navbar-nav .nav-link {
    font-size: 1rem;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Hero Section */
.heroBg-wraper {
  /*    background-image: url("../img/headerBG.png");*/
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-section {
  position: relative;
  width: 100%;
}

.hero-section .app-btns {
  padding: 1rem 0;
}

.hero-section .app-btns img {
  width: 7rem;
  border-radius: 0.35rem;
  background-color: var(--moj-text-white);
  display: inline-block;
  margin: 0.3rem;
}

.hero-content {
  text-align: center;
  margin-bottom: -2rem;
  padding-top: 7rem;
}

.hero-section .hero-content h1 {
  color: var(--moj-secondary-color);
  font-size: 2.25rem;
  font-weight: 600;
}

.hero-section .hero-content p {
  color: var(--moj-navy-color);
  font-size: 1.5rem;
}

.hero-section .search-wraper {
  display: flex;
  align-items: center;
  margin-top: 3rem;
}

.hero-section .search-wraper .form-control {
  width: 100%;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  border: 1px solid rgba(207, 217, 223, 0.4);
  background: var(--moj-white-color);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.09);
}

.hero-section .search-box {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section .icon-search-btn {
  color: var(--moj-secondary-color);
  height: 1.5rem;
  width: 1.5rem;
  position: absolute;
}

.hero-section .tag-btn {
  color: var(--moj-navy-color);
  background-color: var(--moj-navyMid-trans);
  border-radius: 0.5rem;
  padding: 0.3rem 1rem;
  position: absolute;
  font-size: 0.875rem;
}

.hero-section .icon-search-btn:hover {
  color: var(--moj-primary-color);
}

.hero-section .search-btn {
  background-color: var(--moj-primary-color);
  color: var(--moj-text-white);
  border: 1px solid var(--moj-primary-color);
  font-weight: bold;
  border-radius: 4px;
  text-wrap: nowrap;
  padding: 0.8rem 1.5rem;
}

.hero-section .search-btn:hover {
  border: 1px solid var(--moj-secondary-color);
  background-color: var(--moj-secondary-color);
  color: var(--moj-text-white);
}

/* Hero End */
/* Tabs Styling */
.widget-tabs {
  padding-bottom: 3rem;
}

.widget-tabs .navTabsHeader {
  border-bottom: 2px solid #cfd9df99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.widget-tabs .nav-tabs {
  border: 0;
  gap: 1.5rem;
  justify-content: center;
}

.widget-tabs .nav-tabs .nav-link {
  border: none;
  color: var(--moj-primary-color);
  font-weight: normal;
  padding: 1rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.widget-tabs .nav-tabs .nav-link img {
  max-height: 1.2rem;
}

.widget-tabs .nav-tabs .nav-link.active {
  color: var(--moj-secondary-color);
  border-bottom: 3px solid var(--moj-primaryLight-color);
  background: transparent;
  font-size: 1.2rem;
  font-weight: bold;
}

.widget-tabs .tab-pane {
  position: relative;
}

.tabs-dd {
  border-radius: 0.4rem;
  border: 1px solid rgba(207, 217, 223, 0.6);
  background: var(--moj-white-color);
}

.category-card-item {
  margin-bottom: 1rem;
}

.badge-count {
  background-color: #cfd9df66;
  color: var(--moj-text-color);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
}

.navTabsHeader .tabs-dd button {
  color: var(--moj-navy-color);
  position: relative;
}

.navTabsHeader .tabs-dd .dropdown-toggle::after {
  content: '\F282';
  font-family: bootstrap-icons;
  background-image: none;
  border: none;
  color: var(--moj-secondary-color);
  position: absolute;
}

.category-card {
  background: var(--moj-white-color);
  border: 1px solid #cfd9df99;
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--moj-primary-color);
  height: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.category-card:hover {
  border-color: var(--moj-primary-color);
  color: var(--moj-primary-color);
}

.category-card i.bi-chevron-left {
  color: var(--moj-secondary-color);
  font-size: 0.8rem;
}

.category-card i.bi-chevron-down {
  color: var(--moj-secondary-color);
  font-size: 0.8rem;
}

.carousel-nav-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  flex-direction: row-reverse;
}

.widget-tabs .nav-btn {
  /*background: var(--moj-white-color);
  border: 1px solid #CFD9DF99;*/
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--moj-primary-color);
}

.page-indicator {
  font-size: 1rem;
  color: var(--moj-primary-color);
  background: white;
  padding: 0.2rem 1rem;
  border-radius: 2rem;
  border: 1px solid var(--moj-dunemidAsh-color);
}

.page-indicator #current-page {
  color: var(--moj-secondary-color);
}

/* Main widget-tabs End */
.main-heading {
  padding: 1rem 0;
}

.main-heading h2 {
  color: var(--moj-navy-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.main-heading .tagline {
  opacity: 0.7;
  color: #9eb3c0;
  font-weight: 300;
}

.amendments {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.widget-tabs {
  padding-top: 3rem;
  padding-bottom: 6rem;
}

.timeline-wrapper {
  padding: 1rem 0 4rem 0;
}

.timeline-line {
  position: absolute;
  top: 6rem;
  left: 1rem;
  right: 1rem;
  height: 3px;
  border-top: 3px dashed rgba(207, 217, 223, 1);
  z-index: 0;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.card-text {
  display: none;
}

.swiper-slide-active {
  opacity: 1;
}

.swiper-slide-active .card-text {
  display: block;
  color: var(--moj-primary-color);
  margin-top: 0.5rem;
}

.timeline-date {
  font-size: 0.9rem;
  color: rgba(207, 217, 223, 1);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  margin-top: 1.7rem;
  font-weight: 400;
}

.swiper-slide-active .timeline-date {
  color: var(--moj-primary-color);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  margin-top: 0rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.swiper-slide-active .timeline-date span {
  display: block;
}

.timeline-dot {
  width: 1rem;
  height: 1rem;
  background: rgba(207, 217, 223, 1);
  border-radius: 50%;
  z-index: 2;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide-active .timeline-dot {
  background-color: var(--moj-primary-color);
  transform: scale(1.5);
}

.timeline-card {
  background: var(--moj-white-color);
  border: 1px solid var(--moj-dunemidAsh-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 18rem;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.swiper-slide-active .timeline-card {
  background-color: #cfd9df66;
  /* Light tinted background per image */
  transform: scale(1.1);
  margin-bottom: 1rem;
}

a.timeline-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

.timeline-card .card-title span {
  display: block;
  margin-top: 0.3rem;
}

.swiper-slide-active .timeline-card .card-title span {
  display: inline-block;
}

.card-title {
  color: #3d6881;
  font-size: 1rem;
  margin: 0;
  opacity: 0.6;
  font-weight: 500;
}

.card-title span,
.swiper-slide-active .card-title {
  color: var(--moj-secondary-color);
  opacity: 1;
}

.card-title.highlight {
  color: var(--moj-secondary-color);
  font-weight: normal;
}

.swiper-button-next,
.swiper-button-prev {
  background: rgba(207, 217, 223, 1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--moj-primary-color) !important;
  top: 5.2rem !important;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  max-height: 1rem;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1rem;
  font-weight: bold;
}

/* amends end */
/* Container Background to match image */
.latest-updates {
  padding: 4rem 0;
}

.latest-updates .tab-content {
  margin-top: 1.5rem;
}

.latest-updates .nav-tabs {
  border-bottom-color: #cfd9df99;
}

.border-bottom-light {
  border-bottom: 1px solid #cfd9df99;
}

.latest-updates .nav-tabs .nav-link {
  color: var(--moj-primary-color);
  padding: 0.5rem 1rem;
}

.latest-updates .nav-tabs .nav-item.show .nav-link,
.latest-updates .nav-tabs .nav-link.active {
  border-bottom: 4px solid #6e8ea0;
  color: var(--moj-secondary-color);
  background-color: transparent;
  font-weight: bold;
}

.section-title {
  color: var(--moj-primary-color);
}

/* Tabs Styling */
.nav-tabs .nav-link {
  color: var(--moj-lightGray-color);
  border: none;
  font-size: 1.1rem;
  padding: 0.5rem 1.5rem;
  position: relative;
  background: transparent;
  font-weight: 500;
}

.widget-tabs .nav-tabs .nav-link.active {
  background: var(--moj-white-color);
  color: var(--moj-secondary-color);
  font-weight: bold;
  box-shadow: 0 -2px 6px 0 rgba(0, 0, 0, 0.05);
}

.widget-tabs .nav-tabs .nav-link span {
  color: var(--moj-secondary-color);
}

/* Law Card Styling */
.law-card {
  background-color: var(--moj-white-color);
  border-radius: var(--card-radius);
  height: 100%;
  border: 1px solid #cfd9df66;
  transition: transform 0.2s;
}

.law-card:hover {
  transform: translateY(-1px);
}

.law-number {
  color: var(--moj-primary-color);
  font-weight: bold;
  font-size: 1rem;
}

.law-description {
  color: var(--moj-primaryLight-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Status Badges */
.badge-status {
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

/* Status Colors based on image */
.modified {
  background-color: var(--moj-yellowLight-color);
  color: var(--moj-yellow-color);
}

.modified .dot {
  background-color: var(--moj-yellow-color);
}

.processing {
  background-color: var(--moj-successLight-color);
  color: var(--moj-success-color);
}

.processing .dot {
  background-color: var(--moj-success-color);
}

.canceled {
  background-color: var(--moj-redLight-color);
  color: var(--moj-red-color);
}

.canceled .dot {
  background-color: var(--moj-red-color);
}

.electronic-services {
  padding: 3rem 0;
  padding-bottom: 8rem;
  background: #fff url('../img/elec-bg.png') bottom no-repeat;
}

.electronic-services .stats-section {
  padding: 0;
}

.electronic-services .stats-section .stat-card {
  border-radius: 10px;
  border: 1px solid rgba(207, 217, 223, 0.4);
  background: rgba(207, 217, 223, 0.2);
  text-align: center;
  margin-bottom: 1.5rem;
}

.electronic-services .stats-section .icon-wraper {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--moj-primary-color);
  font-size: 1rem;
  margin: 1rem auto;
  border-radius: 50%;
  background: rgba(207, 217, 223, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.electronic-services .stats-section .stat-card p {
  min-height: 3rem;
  color: var(--moj-secondary-color);
}

.electronic-services .owl-nav {
  display: none;
}

.aboveFooter {
  padding: 3rem 0;
  padding-bottom: 10rem;
  background: #fff url(../img/elec-bg.png) bottom no-repeat;
}

.aboveFooter .search-title {
  font-size: 1rem;
  color: var(--moj-primary-color);
}

/* 3. Common Card Styles */
.custom-card {
  background-color: #cfd9df33;
  border-radius: var(--card-radius);
  border: 1px solid #cfd9df66;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.custom-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* 4. Right Column: Most Searched */

.search-title {
  color: var(--moj-primary-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
  text-decoration: none;
}

.search-desc {
  color: var(--moj-primaryLight-color);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 5. App Banner Section */
.app-banner {
  border-radius: 10px;
  border: 1px solid var(--secondary-a-skyline-20, #cfd9df);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: #cfd9df4d url('../img/appsBg2.png') no-repeat top;
  background-size: contain;
}

.app-banner a img {
  height: 3rem;
  background: #fff;
  border-radius: 0.5rem;
  margin: 0.2rem;
}

/* 6. Tabs Section */
.aboveFooter .nav-tabs {
  border-bottom: 2px solid var(--moj-primary-color);
  margin-bottom: 2rem;
}

.aboveFooter .nav-tabs .nav-link {
  color: #3d6881;
  border: none;
  font-weight: 600;
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  background: transparent;
  font-weight: normal;
}

.aboveFooter .input-group {
  border: 1px solid #cfd9df99;
  border-radius: 0.2rem;
  padding: 0 0.5rem;
  border-radius: 0.3rem;
}

.aboveFooter .input-group select {
  background-color: white !important;
  padding: 0.4rem;
  font-weight: 400 !important;
  background-position: left;
  appearance: none;
  position: relative;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238A1538' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.aboveFooter .input-group:after {
  position: absolute;
  content: '\F282';
  font-family: 'bootstrap-icons';
  font-size: 1rem;
  top: 0.7rem;
  color: var(--moj-secondary-color);
  z-index: 5;
}

.aboveFooter .nav-tabs .nav-link.active {
  color: var(--moj-navy-color);
  background-color: transparent;
  border-bottom: 4px solid var(--moj-primary-color);
  /* Thicker active border */
  margin-bottom: -2px;
  font-weight: 600;
  /* Pull it down to cover the line */
}

.aboveFooter .input-group span {
  background-color: #cfd9df66 !important;
  border-radius: 100% !important;
  margin: 0.2rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  text-align: center;
  justify-content: center;
  display: flex;
}

.aboveFooter .nav-tabs .nav-link:hover {
  border-color: transparent;
  color: var(--moj-primary-color);
}
/* Year Selector */

.form-select-year {
  border: 1px solid var(--moj-dunemidAsh-color);
  border-radius: var(--btn-radius);
  color: var(--moj-primary-color);
  font-weight: bold;
}
/* 7. File/Issue Cards */
.file-card {
  background: var(--moj-white-color);
  border: 1px solid #cfd9df66;
  border-radius: var(--card-radius);
  padding: 1rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.file-icon-circle {
  width: 3rem;
  height: 3rem;
  background-color: #cfd9df66;
  /* Fallback/light bg */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: var(--moj-secondary-color);
  font-size: 1.25rem;
}

.file-year {
  color: var(--moj-primaryLight-color);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.file-issue {
  color: var(--moj-primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.file-meta {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  color: #9eb3c0;
  font-size: 0.9rem;
}

.file-meta i {
  color: var(--moj-secondary-color);
}
/* --- Footer --- */
.moj-footer {
  background: rgba(207, 217, 223, 0.3) url('../img/footer-lines.png') repeat-y top center;
  background-size: contain;
  color: var(--moj-primary-white);
  padding-top: 2.5rem;
  position: relative;
}

.footer-chat-icon {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moj-secondary-color);
  font-size: 1.5rem;
  z-index: 1050;
  cursor: pointer;
}

.footer-chat-icon img {
  width: 120px;
}

/* .footer-chat-icon:hover {
  background-color: var(--moj-secondary-dark-color);
  color: var(--moj-primary-color);
} */

.footer-col h5 {
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #0d4261;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 1rem;
}

.footer-nav-list a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* RTL Alignment */
  transition: opacity 0.3s;
  font-weight: 400;
  color: #6e8ea0;
}

.footer-nav-list a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-nav-list a i {
  font-size: 1rem;
  color: var(--moj-secondary-color);
  text-shadow: 0 1px var(--moj-secondary-color);
}

.footer-nav-list a {
  flex-direction: row;
}

.footer-app-download-bar {
  background-color: var(--moj-navyMid-color);
  margin-top: 1rem;
}

.footer-app-download-bar p {
  color: #0d4261;
  font-weight: 600;
  font-size: 1.125rem;
}

.moj-footer .app-btns img {
  width: 10rem;
  border-radius: 0.35rem;
  background-color: var(--moj-text-white);
  display: block;
  margin: 0.5rem;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 2.2rem;
  height: 2.2rem;
  background-color: #6e8ea0;
  color: var(--moj-white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  line-height: 0;
}

.contact-text,
a.contact-text {
  color: #0d4261;
}

.footer-bottom-bar {
  border: 1px solid var(--footer-border-color);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #9eb3c0;
  margin-top: 2rem;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.legal-links a {
  color: var(--moj-text-white);
  text-decoration: none;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.social-links a {
  font-size: 1.1rem;
  transition: color 0.3s;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 100px;
  background: rgba(207, 217, 223, 0.6);
  display: flex;
  padding: 0.5rem;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #6e8ea0;
}

.social-links a:hover {
  opacity: 0.8;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  background-color: #0d4261;
  padding: 1rem 0;
  color: var(--moj-text-white);
  margin-top: 2rem;
}

.innerPagesHeaderBG header {
  background-color: var(--moj-white-color);
  box-shadow: 0px 4px 4px 0px #0000000a;
}

.search-container {
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0;
}

.search-title {
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 10px;
  color: var(--moj-navy-color);
}

.search-subtitle {
  color: var(--moj-secondary-color);
  font-size: 1rem;
  margin-bottom: 40px;
  font-weight: 300;
}

.search-bar-wrap {
  background: var(--moj-text-white);
  border-radius: 0.5rem;
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0px 4px 4px 0px #0000000a;
  border: 1px solid var(--moj-gray-trans);
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  border: none;
}

.from-wraper {
  border: 1px solid var(--moj-ash-color);
  border-radius: 0.3rem;
  overflow: hidden;
}

.search-field {
  border: none;
  border-radius: 0 !important;
  padding: 1rem 0.75rem;
  font-size: 0.85rem;
  color: var(--moj-lightGray-color);
}

.search-container input[type='date']::-webkit-calendar-picker-indicator {
  filter: brightness(0) saturate(100%) invert(13%) sepia(92%) saturate(2703%) hue-rotate(327deg)
    brightness(85%) contrast(96%);
  cursor: pointer;
}

.search-container .form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238A1538' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.headerBannerBg.innerPagesHeaderBG {
  background: url(../img/inner-bg.jpg) no-repeat top center;
  background-size: cover;
}

.innerPagesHeaderBG .search-bar-wrap {
  background: #e3ebef;
}

.innerPagesHeaderBG .search-bar-wrap .from-wraper {
  background-color: var(--moj-white-color);
}

/*.innerPagesHeaderBG .search-bar-wrap .btn-brand {
  opacity: 0.3;
}*/

.search-result .sub-heading {
  color: var(--moj-navy-color);
  font-weight: 500;
  font-size: 1.25rem;
}

.searchTag-nav {
  background: var(--moj-text-white);
  padding: 0.8rem 0;
  box-shadow: 0px -1px 0px 1px #0000000a;
}

.searchTag-nav .badge-filter {
  background: var(--moj-navyLight-color);
  color: var(--moj-navy-color);
  border-radius: 1rem;
  padding: 0.3rem 1rem;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.8rem;
  margin: 0.3rem;
}

.searchTag-nav .btn-edit-search {
  color: var(--moj-primary-color);
  text-decoration: none;
  margin: 0 1rem;
  display: flex;
  align-items: center;
}

.searchTag-nav .btn-edit-search span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 100%;
  background-color: var(--moj-primary-color);
  color: var(--moj-text-white);
  margin: 0 0.3rem;
}

.searchResults-card {
  padding: 2rem 0;
}

.bage-wraper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.improve-results {
  height: 100%;
  padding: 1rem 0.5rem;
}

.improve-results .accordion-item {
  border: none;
  border-radius: 0rem;
  overflow: hidden;
}

.improve-results .accordion-button {
  background-color: transparent;
  color: var(--moj-primary-color) !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 15px;
  position: relative;
  border-bottom: 1px solid var(--moj-navyMid-color);
}

.improve-results .accordion-button:not(.collapsed) {
  color: var(--moj-primary-color);
  box-shadow: none;
}

.improve-results .accordion-button::after {
  content: '\F4FE';
  position: absolute;
  background-image: none;
  font-family: bootstrap-icons;
  color: var(--moj-primary-color);
  transform: unset;
}

.improve-results .accordion-button:not(.collapsed)::after {
  content: '\F2EA';
  transform: unset;
}

.improve-results .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.improve-results .accordion-button .badge.bage-light {
  background: var(--moj-navyLight-trans) !important;
  color: var(--moj-secondary-color);
  border-radius: 0.3rem;
}

.badge {
  padding: 0.2rem 0.7rem;
}

.bage-light {
  background-color: var(--moj-ash-color) !important;
  border-radius: 1rem;
}

.improve-results .filter-sub-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 48%;
  /* Creates the two-column grid look */
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  width: 100%;
}

.improve-results .filter-sub-item span {
  text-align: center;
  width: 100%;
}

.improve-results .filter-sub-item .count-badge {
  text-align: center;
  width: auto;
}

.improve-results .filter-sub-item.active,
.search-result .filter-sub-item.active {
  background: rgba(138, 21, 56, 0.08);
  font-weight: 600;
}

.bage-white {
  background-color: var(--moj-text-white);
  color: var(--moj-black-color);
}

.badge {
  padding: 0.5rem 0.5rem;
  border-radius: 1rem;
}

.searchResults-card h2 {
  color: var(--moj-navy-color);
}

.search-result .btn-action-dots {
  width: 2rem;
  height: 2rem;
  background-color: var(--moj-ash-color);
  border-radius: 50%;
  border: none;
  color: var(--moj-primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.search-result .btn-action-dots:hover,
.btn-action-dots:focus {
  background-color: var(--moj-secondary-color);
  color: var(--moj-text-white);
  box-shadow: none;
}

.search-result .dropdown-menu-custom {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 7rem;
  padding: 0.5rem 0;
  margin-top: 0.55rem !important;
  box-shadow: 0px 0px 4px 0px #00000024;
}

.improve-results .accordion-body {
  background: #cfd9df33;
  padding: 0.5rem;
}

.search-result .dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  color: var(--moj-Grary-color);
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid var(--moj-ash-color);
}

.search-result .dropdown-item i {
  color: #801d33;
  /* Maroon icons */
  font-size: 1.1rem;
}

.search-result .dropdown-item:hover {
  background-color: #fdf2f4;
  color: #801d33;
}

.search-result .dropdown-item:active {
  background-color: #801d33;
  color: #fff;
}

.search-result .dropdown-item:active i {
  color: #fff;
}

.search-result .filter-header {
  background: #e2e8f0;
  padding: 10px 15px;
  font-weight: bold;
  border-bottom: 1px solid #cbd5e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-result .filter-item {
  background: #f1f5f9;
  margin-bottom: 2px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.search-result .filter-sub-item {
  background: #fff;
  border: 1px solid var(--moj-dunemidAsh-color);
  border-radius: 8px;
  padding: 10px 10px;
  margin: 10px 0;
  font-size: 0.8rem;
  flex: 1 1 40%;
  display: flex;
  justify-content: space-between;
  color: var(--moj-primary-color);
  width: 100%;
}

.search-result .count-badge {
  background: var(--moj-navyLight-trans);
  color: var(--moj-secondary-color);
  border-radius: 0.3rem;
  padding: 2px 8px;
  font-size: 0.75rem;
}

.search-result .result-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #edf2f7;
  border-top: 8px solid var(--moj-navyLight-trans);
}

.search-result .status-modified {
  background: #fff4e6;
  color: #f08c00;
}

.search-result .status-active {
  background: #e6fcf5;
  color: #099268;
}

.search-result .card-meta-top .badge {
  background: var(--moj-navyLight-trans);
  font-weight: normal;
  padding: 0.4rem 0.7rem;
  border-radius: 0.3rem;
  font-size: 1rem;
  color: var(--moj-primary-color);
  margin: 0.5rem;
}

.search-result .law-title {
  color: var(--moj-primaryLight-color);
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1rem;
  border-bottom: 1px solid var(--moj-navyLight-trans);
  padding-bottom: 1rem;
}

.searchResults-card .menu-list {
  padding: 0 0.5rem;
}

.searchResults-card .menu-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.searchResults-card .menu-list a {
  background: var(--moj-navyLight-trans);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.8rem 0;
}

.search-result .law-excerpt {
  color: var(--moj-Grary-color);
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.result-card-wraper {
  display: flex;
}

.search-result .card-footer-stats {
  background: var(--moj-NavyTrans-color);
  border-radius: 1rem;
  padding: 0.7rem;
  display: flex;
  font-size: 0.8rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--moj-navyLight-trans);
}

.search-result .stat-item {
  display: flex;
  align-items: center;
  color: var(--moj-primary-color);
  border: 1px solid var(--moj-primaryLight-color);
  padding: 0 1rem;
  flex-wrap: wrap;
  margin: 0.3rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3rem;
}

.search-result .stat-item .stat-value {
  background: var(--moj-navyLight-trans);
  color: var(--moj-secondary-color);
  border-radius: 0.3rem;
  padding: 0.3rem 0.5rem;
  min-width: 1.8rem;
  text-align: center;
}

.search-result .stat-item i {
  color: var(--moj-secondary-color);
}

.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.badge-red {
  background-color: var(--moj-redLight-color) !important;
  color: var(--moj-red-color) !important;
  border-color: var(--moj-red-color);
}

.badge-green {
  background-color: var(--moj-successLight-color) !important;
  color: var(--moj-success-color) !important;
  border-color: var(--moj-success-color);
  border: 1px solid;
}

.badge-yeloow {
  background-color: var(--moj-yellowLight-color) !important;
  color: var(--moj-yellow-color) !important;
  border-color: var(--moj-yellow-color);
  border: 1px solid;
}

.badge-blue {
  background-color: var(--moj-blueLight-color) !important;
  color: var(--moj-blue-color) !important;
  border-color: var(--moj-blue-color);
  border: 1px solid;
}

.badge-gray {
  background-color: var(--moj-grayLight-color) !important;
  color: var(--moj-gray-color) !important;
  border-color: var(--moj-gray-color);
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin: 0 0.3rem;
}

.status-badge.badge-yeloow .dot {
  background-color: var(--moj-yellow-color) !important;
}

.status-badge.badge-green .dot {
  background-color: var(--moj-success-color) !important;
}

.status-badge.badge-blue .dot {
  background-color: var(--moj-blue-color) !important;
}

.status-badge.badge-red .dot {
  background-color: var(--moj-red-color) !important;
}

.search-result .stat-value {
  background: var(--moj-navyLight-trans);
  color: var(--moj-secondary-color);
  padding: 0.1rem 0.8rem;
  border-radius: 0.3rem;
}

.pagination-wraper {
  margin: 2rem 0;
}

.pagination-wraper .page-link {
  border-radius: 50% !important;
  margin: 0 3px;
  color: var(--moj-navy-color);
  border: none;
  width: 2.3rem;
  height: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem;
  border-radius: 0.3rem !important;
  border: 1px solid var(--moj-navyLight-trans);
}

.pagination-wraper .page-item.active .page-link,
.pagination-wraper .page-item:hover .page-link {
  background-color: var(--moj-primary-color);
  color: var(--moj-text-white);
}

.pagination-wraper nav {
  display: flex;
  justify-content: end;
  align-items: center;
}

.pagination-wraper p {
  color: var(--moj-primaryLight-color);
  white-space: nowrap;
  margin: 0 1rem;
  margin-bottom: 0;
}

.pagination-wraper .seclect-page {
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

.search-field::placeholder {
  color: var(--moj-lightGray-color);
}

.search-field:focus {
  box-shadow: none;
  border-color: var(--moj-primary-color);
}

.search-bar-wrap button {
  width: 100%;
  padding: 1rem 1.5rem;
}

.empty-state {
  margin-top: 3rem;
}

.binocular-icon {
  background: var(--moj-navyLight-trans);
  width: 80px;
  height: 80px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--moj-navy-color);
}

.empty-state p {
  color: var(--moj-navyMid-color);
  font-size: 0.875rem;
  font-weight: 300;
  max-width: 20rem;
  margin: auto;
}

.breadcrumb-wraper {
  padding: 1rem 0;
}

.breadcrumb-wraper li {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--moj-primary-color);
}

.breadcrumb-wraper li a {
  padding: 1rem 0;
  color: var(--moj-primary-color);
  text-decoration: underline;
}

.breadcrumb-wraper .breadcrumb-item + .breadcrumb-item::before {
  content: var(--bs-breadcrumb-divider, '/');
  color: var(--moj-primaryLight-color);
}

.legislation-details {
  padding: 2rem 0;
}

.legislation-details .card {
  border-radius: 0.65rem;
  border: 1px solid var(--moj-ash-color);
  margin-top: 1rem;
}

.legislation-details .law-title {
  color: var(--moj-navy-color);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: justify;
}

.legislation-details .group-label {
  display: inline-flex;
  align-items: center;
  color: var(--moj-secondary-color);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  padding-inline-start: 0.6rem;
  border-inline-start: 3px solid var(--moj-secondary-color);
}

.legislation-details .capsule-item {
  background: var(--moj-navyLight-trans);
  color: var(--moj-primary-color);
  padding: 0.3rem 0.5rem;
  margin: 0 4px;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  white-space: nowrap;
  margin-bottom: 0.4rem;
}

.legislation-details .capsule-item span {
  background-color: var(--moj-navyMid-trans);
  color: var(--moj-primary-color);
  border-radius: 0.3rem;
  padding: 0.2rem 0.5rem;
  display: inline-block;
}

.legislation-details .card-heading h5 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--moj-navy-color);
}

.legislation-details .authority-name {
  font-weight: bold;
  color: var(--moj-primary-color);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.legislation-details .legal-body {
  font-weight: 300;
  color: var(--moj-navy-color);
}

.legislation-details .legal-body .law-ref,
.legislation-details .legal-body a {
  color: var(--moj-secondary-color);
  text-decoration: underline;
  cursor: pointer;
}

.legislation-details .article-text a {
  color: var(--moj-secondary-color);
  text-decoration: underline;
  cursor: pointer;
}

.legislation-details .legal-suite .accordion-button {
  background-color: var(--moj-navyLight-trans);
  color: var(--moj-primary-color);
  font-weight: bold;
  border-radius: 5px !important;
  border: 1px solid var(--moj-ash-color);
  box-shadow: none;
}

.legislation-details .legal-suite .accordion-button::after {
  display: none !important;
}

.legislation-details .legal-suite .article-dates-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 6px;
  font-size: 0.78rem;
  justify-content: end;
  margin: 0 0.5rem;
}

.legislation-details .legal-suite .article-date-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6c757d;
  font-weight: 400;
}

.legislation-details .legal-suite .article-date-item i {
  color: var(--moj-secondary-color);
  font-size: 0.9rem;
}

.legislation-details .legal-suite .article-date-item--cancel {
  color: #c62828;
}

.legislation-details .legal-suite .article-date-item--cancel i {
  color: #c62828;
}

.legislation-details .legal-suite .article-date-item .hijri-date {
  color: #9e9e9e;
  font-size: 0.75rem;
}

.legislation-details .legal-suite .article-relation-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--moj-ash-color);
}

.legislation-details .legal-suite .article-relation-footer-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 400;
}

.legislation-details .legal-suite .article-relation-footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #e8eaf6;
  color: #283593;
  border: 1px solid #9fa8da;
}

.legislation-details .legal-suite .article-relation-footer-tag--amended {
  background: #fff3e0;
  color: #e65100;
  border-color: #ffcc80;
}

.legislation-details .legal-suite .article-relation-footer-tag--cancelled {
  background: #ffebee;
  color: #c62828;
  border-color: #ef9a9a;
}

.legislation-details .legal-suite .article-relation-footer-tag--added {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: #a5d6a7;
}

.legislation-details .legal-suite .article-relation-footer-tag--replaced {
  background: #e3f2fd;
  color: #1565c0;
  border-color: #90caf9;
}

.legislation-details .legal-suite .accordion-button-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.legislation-details .legal-suite .btn-print-section {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  padding: 0;
  cursor: pointer;
  color: var(--moj-secondary-color);
  font-size: 0.9rem;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
  margin-inline-start: auto;
  line-height: 0;
}

.legislation-details .legal-suite .btn-print-section:hover {
  border-color: var(--moj-secondary-color);
}

.legislation-details .legal-suite .article-relation-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legislation-details .legal-suite .article-relation-class {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #e8eaf6;
  color: #283593;
  border: 1px solid #9fa8da;
}

.legislation-details .legal-suite .article-relation-class--amended {
  background: #fff3e0;
  color: #e65100;
  border-color: #ffcc80;
}

.legislation-details .legal-suite .article-relation-class--cancelled {
  background: #ffebee;
  color: #c62828;
  border-color: #ef9a9a;
}

.legislation-details .legal-suite .article-relation-class--added {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: #a5d6a7;
}

.legislation-details .legal-suite .article-relation-class--replaced {
  background: #e3f2fd;
  color: #1565c0;
  border-color: #90caf9;
}

.legislation-details .accordion-collapse {
  margin-top: 1rem;
  border: 1px solid var(--moj-ash-color);
  border-radius: 5px;
}

.legislation-details .legal-suite .article-text {
  line-height: 2;
  color: var(--moj-navy-color);
  font-weight: 300;
  text-align: justify;
  /* allow wide tables (e.g. from MS Word imports) to scroll horizontally on
     narrow screens instead of blowing out the layout */
  overflow-x: auto;
}

/* ==========================================================
   Rich-content overrides for tables embedded in article HTML
   Article descriptions are user-generated HTML often exported
   from MS Word (MsoNormalTable / MsoNormal). The inline styles
   look ugly (barely-visible #f0f0f0 borders, fixed pt widths,
   excessive paragraph margins), so we override them here.
   ========================================================== */
.legislation-details .legal-suite .article-text table {
  width: 100% !important;
  max-width: 100% !important;
  margin: 1rem 0 !important;
  border: 1px solid var(--moj-ash-color) !important;
  border-collapse: collapse !important;
  background: #fff !important;
  font-size: 0.95rem;
  line-height: 1.6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  table-layout: auto !important;
}

.legislation-details .legal-suite .article-text table td,
.legislation-details .legal-suite .article-text table th {
  border: 1px solid var(--moj-ash-color) !important;
  padding: 10px 14px !important;
  vertical-align: top !important;
  background-color: transparent !important;
  color: var(--moj-primaryLight-color);
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
}

/* Style the first row as a header (Word rarely emits <thead>) */
.legislation-details .legal-suite .article-text table thead th,
.legislation-details .legal-suite .article-text table thead td,
.legislation-details .legal-suite .article-text table > tbody > tr:first-child > td,
.legislation-details .legal-suite .article-text table > tr:first-child > td {
  background: var(--moj-navyLight-trans) !important;
  color: var(--moj-primary-color) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--moj-ash-color) !important;
}

/* Zebra striping for readability */
.legislation-details .legal-suite .article-text table > tbody > tr:nth-child(even) > td,
.legislation-details .legal-suite .article-text table > tr:nth-child(even) > td {
  background-color: rgba(207, 217, 223, 0.15) !important;
}

/* Reset the excessive margins Word applies to every paragraph inside a cell */
.legislation-details .legal-suite .article-text table p,
.legislation-details .legal-suite .article-text table .MsoNormal {
  margin: 0 0 0.35rem 0 !important;
  padding: 0 !important;
  line-height: 1.7 !important;
  color: inherit !important;
  font-family: inherit !important;
  text-align: inherit !important;
}

.legislation-details .legal-suite .article-text table p:last-child,
.legislation-details .legal-suite .article-text table .MsoNormal:last-child {
  margin-bottom: 0 !important;
}

/* Force spans inside cells to inherit the project font instead of Arial/Calibri */
.legislation-details .legal-suite .article-text table span {
  font-family: inherit !important;
}

/* Keep emphasis in header cells clean */
.legislation-details .legal-suite .article-text table > tbody > tr:first-child > td strong,
.legislation-details .legal-suite .article-text table > tbody > tr:first-child > td u {
  color: var(--moj-primary-color) !important;
  text-decoration: none !important;
}

/* ==========================================================
   RTE table style variants — emitted by the admin rich-text
   editor as classes (rte-table-*) and data-table-style attrs.
   These override the base .article-text table rules above and
   also apply to tables rendered directly inside .legal-body
   or any .legislation-details / .entity-details container.
   ========================================================== */

/* -------- 1) Highlighted header — emphasized header row -------- */
.legislation-details table.rte-table-highlighted-header,
.legislation-details table[data-table-style='highlighted-header'],
.entity-details table.rte-table-highlighted-header,
.entity-details table[data-table-style='highlighted-header'] {
  border: 1px solid var(--moj-ash-color) !important;
  border-collapse: collapse !important;
  border-radius: 6px;
  overflow: hidden;
  width: 100% !important;
  margin-bottom: 1rem !important;
}

.legislation-details table.rte-table-highlighted-header th,
.legislation-details table[data-table-style='highlighted-header'] th,
.entity-details table.rte-table-highlighted-header th,
.entity-details table[data-table-style='highlighted-header'] th {
  background-color: var(--moj-navyLight-trans) !important;
  color: var(--moj-primary-color) !important;
  font-weight: 700 !important;
  border: 1px solid var(--moj-ash-color) !important;
  padding: 10px 14px !important;
  text-align: start;
}

.legislation-details table.rte-table-highlighted-header td,
.legislation-details table[data-table-style='highlighted-header'] td,
.entity-details table.rte-table-highlighted-header td,
.entity-details table[data-table-style='highlighted-header'] td {
  border: 1px solid var(--moj-ash-color) !important;
  padding: 10px 14px !important;
  background-color: transparent !important;
  color: var(--moj-primaryLight-color) !important;
}

.legislation-details table.rte-table-highlighted-header tbody tr:nth-child(even) td,
.legislation-details table[data-table-style='highlighted-header'] tbody tr:nth-child(even) td,
.entity-details table.rte-table-highlighted-header tbody tr:nth-child(even) td,
.entity-details table[data-table-style='highlighted-header'] tbody tr:nth-child(even) td {
  background-color: rgba(207, 217, 223, 0.15) !important;
}

/* -------- 2) Uniform rows — every row looks the same -------- */
.legislation-details table.rte-table-uniform-rows,
.legislation-details table[data-table-style='uniform-rows'],
.entity-details table.rte-table-uniform-rows,
.entity-details table[data-table-style='uniform-rows'] {
  border: 1px solid var(--moj-ash-color) !important;
  border-collapse: collapse !important;
  overflow: hidden;
  width: 100% !important;
  margin-bottom: 1rem !important;
}

.legislation-details table.rte-table-uniform-rows th,
.legislation-details table.rte-table-uniform-rows td,
.legislation-details table[data-table-style='uniform-rows'] th,
.legislation-details table[data-table-style='uniform-rows'] td,
.entity-details table.rte-table-uniform-rows th,
.entity-details table.rte-table-uniform-rows td,
.entity-details table[data-table-style='uniform-rows'] th,
.entity-details table[data-table-style='uniform-rows'] td {
  background-color: transparent !important;
  color: var(--moj-primaryLight-color) !important;
  font-weight: normal !important;
  border: 1px solid var(--moj-ash-color) !important;
  padding: 10px 14px !important;
  text-align: start;
}

/* Neutralize the "first row = header" tint that the base rules apply */
.legislation-details table.rte-table-uniform-rows > tbody > tr:first-child > td,
.legislation-details table[data-table-style='uniform-rows'] > tbody > tr:first-child > td,
.entity-details table.rte-table-uniform-rows > tbody > tr:first-child > td,
.entity-details table[data-table-style='uniform-rows'] > tbody > tr:first-child > td {
  background-color: transparent !important;
  color: var(--moj-primaryLight-color) !important;
  font-weight: normal !important;
  border-bottom: 1px solid var(--moj-ash-color) !important;
}

.legislation-details table.rte-table-uniform-rows tbody tr:nth-child(even) td,
.legislation-details table.rte-table-uniform-rows thead tr:nth-child(even) th,
.legislation-details table[data-table-style='uniform-rows'] tbody tr:nth-child(even) td,
.legislation-details table[data-table-style='uniform-rows'] thead tr:nth-child(even) th,
.entity-details table.rte-table-uniform-rows tbody tr:nth-child(even) td,
.entity-details table.rte-table-uniform-rows thead tr:nth-child(even) th,
.entity-details table[data-table-style='uniform-rows'] tbody tr:nth-child(even) td,
.entity-details table[data-table-style='uniform-rows'] thead tr:nth-child(even) th {
  background-color: rgba(236, 234, 227, 0.35) !important;
}

/* -------- 3) Spaced — no borders, only vertical breathing room -------- */
.legislation-details table.rte-table-spaced,
.legislation-details table[data-table-style='spaced'],
.entity-details table.rte-table-spaced,
.entity-details table[data-table-style='spaced'] {
  border: none !important;
  border-collapse: separate !important;
  border-spacing: 0 0.75rem !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
  width: 100% !important;
  margin-bottom: 1rem !important;
}

.legislation-details table.rte-table-spaced th,
.legislation-details table.rte-table-spaced td,
.legislation-details table[data-table-style='spaced'] th,
.legislation-details table[data-table-style='spaced'] td,
.entity-details table.rte-table-spaced th,
.entity-details table.rte-table-spaced td,
.entity-details table[data-table-style='spaced'] th,
.entity-details table[data-table-style='spaced'] td {
  border: none !important;
  background-color: #fcfbfb !important;
  color: var(--moj-primaryLight-color) !important;
  font-weight: normal !important;
  padding: 10px 14px !important;
  text-align: start;
}

/* Also flatten the "first row = header" tint for spaced tables */
.legislation-details table.rte-table-spaced > tbody > tr:first-child > td,
.legislation-details table[data-table-style='spaced'] > tbody > tr:first-child > td,
.entity-details table.rte-table-spaced > tbody > tr:first-child > td,
.entity-details table[data-table-style='spaced'] > tbody > tr:first-child > td {
  background-color: #fcfbfb !important;
  color: var(--moj-primaryLight-color) !important;
  font-weight: normal !important;
  border-bottom: none !important;
}

.legislation-details table.rte-table-spaced > tbody > tr:nth-child(even) > td,
.legislation-details table[data-table-style='spaced'] > tbody > tr:nth-child(even) > td,
.entity-details table.rte-table-spaced > tbody > tr:nth-child(even) > td,
.entity-details table[data-table-style='spaced'] > tbody > tr:nth-child(even) > td {
  background-color: #fcfbfb !important;
}

.legislation-details .legal-suite .action-btn {
  background: var(--moj-navyLight-trans);
  border: none;
  padding: 6px 15px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--moj-secondary-color);
  transition: 0.2s;
}

.legislation-details .legal-suite .action-btn i {
  color: var(--moj-primary-color);
}

.legislation-details .legal-suite .action-btn .action-btn-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--moj-primary-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  padding: 0 5px;
  margin-inline-start: 6px;
}

.legislation-details .legal-suite .action-btn.active .action-btn-badge {
  background: #fff;
  color: var(--moj-primary-color);
}

.legislation-details .legal-suite .action-btn.active {
  background: var(--moj-primary-color);
  color: #fff;
}

.legislation-details .legal-suite .action-btn.active i {
  color: #fff;
}

.legislation-details .legal-suite .related-almawad-panel {
  background: linear-gradient(135deg, #f8f9fd 0%, #eef1f8 100%);
  border: 1px solid var(--moj-ash-color);
  border-radius: 12px;
  padding: 20px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legislation-details .legal-suite .related-almawad-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--moj-primary-color);
}

.legislation-details .legal-suite .related-almawad-header i {
  font-size: 1.2rem;
  color: var(--moj-primary-color);
}

.legislation-details .legal-suite .related-almawad-header h6 {
  color: var(--moj-primary-color);
  font-weight: 600;
  font-size: 1rem;
}

.legislation-details .legal-suite .related-almawad-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legislation-details .legal-suite .related-almawad-card {
  display: block;
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.legislation-details .legal-suite .related-almawad-card:hover {
  border-color: var(--moj-primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.legislation-details .legal-suite .related-almawad-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--moj-secondary-color);
  margin-bottom: 6px;
}

.legislation-details .legal-suite .related-almawad-card-title i {
  color: var(--moj-primary-color);
  font-size: 1.1rem;
}

.legislation-details .legal-suite .related-almawad-card-desc {
  color: #6c757d;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 8px;
  font-weight: 300;
}

.legislation-details .legal-suite .related-almawad-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--moj-primary-color);
  font-size: 0.85rem;
  font-weight: 500;
}

.legislation-details .legal-suite .related-almawad-card:hover .related-almawad-link {
  text-decoration: underline;
}

.legislation-details .legal-suite .related-almawad-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.legislation-details .legal-suite .relation-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
}

.legislation-details .legal-suite .relation-badge i {
  font-size: 0.8rem;
}

.legislation-details .legal-suite .relation-badge--from {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.legislation-details .legal-suite .relation-badge--to {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
}

.legislation-details .legal-suite .relation-type-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #f3e5f5;
  color: #7b1fa2;
  border: 1px solid #ce93d8;
}

.legislation-details .legal-suite .sections-compact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.legislation-details .latest-updates .card {
  border-radius: 0.5rem;
  border: 1px solid var(--moj-ash-color);
}

.legislation-details .latest-updates .card h6 {
  color: var(--moj-primary-color);
}

.legislation-details .latest-updates .card p {
  color: var(--moj-black-color);
  font-weight: 300;
  margin-bottom: 0;
}

.legislation-details .latest-updates .icon-circle {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  background-color: var(--moj-navyMid-trans);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.legislation-details .index-card {
  max-width: 400px;
  background-color: #cfd9df33;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  margin-bottom: 2rem;
}

/* Index Card Search Styles */
.legislation-details .index-card-search {
  padding: 0.5rem 0;
}

.legislation-details .search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.legislation-details .search-icon {
  position: absolute;
  color: var(--moj-secondary-color);
  font-size: 1rem;
  pointer-events: none;
  inset-inline-start: 10px;
  z-index: 1;
}

.legislation-details .search-input {
  padding-inline-start: 32px !important;
  padding-inline-end: 32px !important;
  border: 1px solid #d9dfe5;
  border-radius: 8px;
  background-color: #fff;
  color: var(--moj-primary-color);
  font-size: 0.875rem;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.legislation-details .search-input::placeholder {
  color: #9da7b0;
}

.legislation-details .search-input:focus {
  outline: none;
  border-color: var(--moj-primary-color);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.legislation-details .btn-clear-search {
  position: absolute;
  background: none;
  border: none;
  color: var(--moj-secondary-color);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  inset-inline-end: 8px;
  transition: all 0.2s ease-in-out;
}

.legislation-details .btn-clear-search:hover {
  color: var(--moj-primary-color);
  transform: scale(1.1);
}

.legislation-details .index-item.no-results {
  padding: 1rem 0;
  text-align: center;
  font-style: italic;
  font-size: 0.875rem;
}

.legislation-details .index-item {
  display: flex;
  align-items: center;
  padding: 0.3rem 0;
  color: var(--moj-primary-color);
  font-weight: 500;
  cursor: pointer;
}

.legislation-details .index-item.active {
  font-weight: 600;
}

.legislation-details .chevron-left {
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--moj-secondary-color);
  display: inline-block;
}

.legislation-details .chevron-down {
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--moj-secondary-color);
  display: inline-block;
}

.legislation-details .action-menu-container {
  background-color: #f4f7f9;
  /* The exact light blue tint */
  border-radius: 20px;
  max-width: 400px;
  border: 1px solid #e9eff3;
}

.legislation-details .action-menu-container .action-item {
  display: flex;
  align-items: center;
  padding: 0.3rem;
}

.legislation-details .action-menu-container .action-item span {
  padding: 0.3rem;
}

.legislation-details .action-item {
  background-color: var(--moj-white-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
}

.legislation-details .action-item:hover {
  border-color: var(--moj-dunemidAsh-color);
}

.legislation-details .action-text {
  color: var(--moj-primary-color);
  font-size: 0.875rem;
}

.legislation-details .action-icon {
  color: var(--moj-secondary-color);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.Legislation-info .btn-brand {
  background-color: transparent;
  border: 1px solid var(--moj-primary-color);
  color: var(--moj-primary-color);
}

.more-link {
  gap: 0.5rem;
  color: var(--moj-primary-color);
  text-decoration: none;
  font-weight: 700;
  margin-top: 1rem;
}

.more-link i {
  color: var(--moj-secondary-color);
}

.newspaper-banner h6 {
  font-weight: normal;
  color: var(--moj-primary-color);
}

.newspaper-banner {
  padding-bottom: 6rem;
}

.newspaperCard-listing {
  padding: 3rem 0;
  padding-bottom: 8rem;
  background: #fff url(../img/elec-bg.png) bottom no-repeat;
}

.newspaperCard-listing .main-heading h2 {
  color: var(--moj-secondary-color);
}

.newspaperCard-listing .qatar-card {
  border-radius: 15px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  text-align: center;
}

.newspaperCard-listing .qatar-card.highlighted-card {
  background-color: var(--moj-navyLight-trans);
}

.qatar-card.card.highlighted-card .center-contant {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.newspaperCard-listing .card-upper {
  padding: 1rem;
}

.newspaperCard-listing .logo {
  width: 3rem;
  margin-bottom: 20px;
}

.newspaperCard-listing .year {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--moj-black-color);
}

.newspaperCard-listing .issue-number {
  color: var(--moj-secondary-color);
  font-weight: 600;
  font-size: 2rem;
}

.newspaperCard-listing .card-footer {
  background-color: var(--moj-navyLight-trans);
  padding: 1rem;
  position: relative;
}

.newspaperCard-listing .date-hijri,
.newspaperCard-listing .date-gregorian {
  color: var(--moj-primary-color);
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.newspaperCard-listing .qatar-card.highlighted-card h3 {
  font-size: 2rem;
  margin: 2rem 0;
  color: var(--moj-navy-color);
}

.newspaperCard-listing .qatar-card.highlighted-card .card-footer {
  background-color: var(--moj-navyMid-trans);
  padding: 2rem 1rem;
}

.newspaperCard-listing .qatar-card.readMore-card .card-footer {
  min-height: 83px;
}

.qatar-card.readMore-card .diamond-marker {
  background-color: var(--moj-secondary-color);
}

.newspaperCard-listing .diamond-marker {
  width: 15px;
  height: 15px;
  background-color: var(--moj-navy-color);
  position: absolute;
  top: -7px;
  transform: rotate(45deg);
}

.newspaperCard-listing .readmore-wraper {
  margin-top: -3.5rem;
}

.generalizations-section {
  padding: 4rem 0;
}

.generalizations-section .card {
  border-color: var(--moj-navyLight-trans);
  border-radius: 0.8rem;
}

.generalizations-section .latest-updates .law-card {
  background-color: var(--moj-navyLight-trans);
}

.generalizations-section .Generalizations-listing .card {
  margin-bottom: 1rem;
}

.generalizations-section .Generalizations-listing .card h5 {
  color: var(--moj-secondary-color);
}

.generalizations-section .Generalizations-listing .card p {
  color: var(--moj-primary-color);
}

.generalizations-section .Generalizations-listing .law-description {
  color: var(--moj-primaryLight-color);
  font-weight: 300;
}

.fqs-section {
  padding: 3rem 0;
  position: relative;
}

.fqs-section .faq-title {
  color: #801d33;
  font-weight: 700;
  margin-bottom: 30px;
}

.fqs-section .accordion-item {
  border: none !important;
  background: transparent;
  margin-bottom: 1rem;
}

.fqs-section .accordion-button {
  background-color: var(--moj-text-white);
  color: var(--moj-black-color);
  font-weight: 500;
  border-radius: 0.3rem !important;
  padding: 1rem 1.5rem;
  box-shadow: none;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  justify-content: space-between;
  border: 1px solid #cfd9df66;
}

.fqs-section .accordion-button::after {
  filter: brightness(0) saturate(100%) invert(12%) sepia(91%) saturate(2671%) hue-rotate(326deg)
    brightness(93%) contrast(96%);
  background-size: 1rem;
}

.fqs-section .accordion-button:focus {
  box-shadow: 0 4px 20px rgba(128, 29, 51, 0.1);
}

.fqs-section .accordion-collapse {
  background: #ffffff;
  border-radius: 0 0 15px 15px;
  margin-top: -0.6rem;
  /* Slight overlap to join with header */
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.fqs-section .accordion-body {
  padding: 25px;
  color: var(--moj-black-color);
  line-height: 1.8;
}

.innerUpdates {
  background: var(--moj-text-white);
  padding-top: 3rem;
  padding-bottom: 10rem;
  background: #fff url(../img/innerUpdates-bg.png) bottom no-repeat;
}

.innerUpdates .feature-title {
  color: var(--moj-primary-color);
}

.innerUpdates .feature-desc {
  color: var(--moj-black-color);
  font-weight: 300;
}

.innerUpdates .card {
  border: none;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.innerUpdates .card .icon-circle i {
  font-size: 3rem;
  color: var(--moj-primary-color);
}

.innerUpdates .card a {
  color: var(--moj-primary-color);
  text-decoration: none;
}

.download-app {
  display: flex;
  align-items: center;
}

.innerUpdates .download-app a {
  width: 100%;
  margin: 1rem 0;
  margin: 0 0.5rem;
  border-radius: 0.5rem;
}

.innerUpdates .download-app a img {
  width: 100%;
  background: #fff;
  border-radius: 0.5rem;
}

.feature-card {
  background-color: var(--moj-navyLight-trans);
  border: 1px solid #cfd9df99;
  border-radius: 1.5rem;
  padding: 2rem 0;
  text-align: center;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card h6 {
  color: var(--moj-primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.icon-circle {
  width: 5rem;
  padding: 0.5rem;
  height: 5rem;
  background-color: var(--moj-navyLight-trans);
  /* Light primary tint */
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  margin: 1rem auto;
}

.icon-circle i {
  font-size: 2rem;
  color: var(--moj-navy-color);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
}

.feature-desc {
  color: var(--moj-primary-color) !important;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  margin-top: 1rem;
}

.feature-arrow {
  color: var(--moj-primary-color);
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
  margin-top: auto;
  /* Pushes to bottom */
  transition: transform 0.3s;
}

.feature-card:hover .feature-arrow {
  transform: translateX(-5px);
}

.feature-card .card a {
  color: var(--moj-secondary-color);
}

.main-heading i {
  color: var(--moj-secondary-color);
}

.lega-thougthBanner {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--moj-navyMid-trans);
}

.lega-thougthBanner .app-btns {
  padding: 1rem 0;
  text-align: end;
}

.lega-thougthBanner .app-btns img {
  width: 7rem;
  border-radius: 0.35rem;
  background-color: var(--moj-black-color);
  display: inline-block;
  margin: 0.3rem;
}

.lega-thougthBanner .video-banner video {
  object-fit: cover;
  box-shadow: 0px 4px 4px 0px #00000029;
}

.lega-thougthBanner .video-banner {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}

.lega-thougthBanner .overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 60.25%, #000000 102.75%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

.lega-thougthBanner .banner-info {
  position: absolute;
  bottom: 0rem;
  padding: 1rem;
  max-width: 40rem;
}

.lega-thougthBanner .banner-info h4 {
  font-size: 3rem;
  color: var(--moj-white-color);
  font-weight: 700;
}

.lega-thougthBanner .banner-info p {
  font-size: 1.5rem;
  color: var(--moj-white-color);
}

.lega-thougthBanner .legal-sercvices .main-heading {
  padding: 0;
}

.lega-thougthBanner .legal-sercvices .card {
  background: #cfd9df99;
  border: 1px solid #d9eaf0cc;
  margin-bottom: 1rem;
}

.lega-thougthBanner .legal-sercvices h3 {
  font-size: 1rem;
  color: var(--moj-primary-color);
  font-weight: 400;
}

.lega-thougthBanner .legal-sercvices p {
  color: var(--moj-primaryLight-color);
}

.lega-thougthBanner .legal-sercvices .card p,
.lega-thougthBanner .legal-sercvices a {
  color: var(--moj-secondary-color);
}

.lega-thougthBanner .legal-sercvices .ratio-1x1 {
  --bs-aspect-ratio: 85%;
}

.lega-thougthBanner .legal-sercvices .ratio {
  margin-bottom: 1rem;
}

.lega-thougthBanner .legal-sercvices .ratio img {
  border-radius: 0.5rem;
  object-fit: cover;
}

.lega-thougthBanner .brand-owl .owl-dot span,
.lega-thougthBanner .brand-owl .owl-dots .owl-dot span {
  background-color: var(--moj-navy-color);
}

.brand-owl .owl-dot.active span,
.brand-owl .owl-dots .owl-dot:hover span {
  background-color: var(--moj-secondary-color) !important;
}

.lega-thougthBanner .about-magazine .card {
  border: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 79.82%);
  border-radius: 0;
}

.lega-thougthBanner .img-wraper {
  height: 100%;
}

.lega-thougthBanner .img-wraper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.about-magazine {
  padding: 4rem 0;
}

.about-magazine h2 {
  font-size: 1.25rem;
  color: var(--moj-navy-color);
  padding: 0.5rem;
}

.about-magazine h2 i {
  color: var(--moj-secondary-color);
  margin: 0 0.5rem;
}

.about-magazine .card {
  border: 1px solid var(--moj-navyLight-trans);
  background: #f5f7f9;
  border-radius: 1rem;
}

.about-magazine.magazine-sec {
  padding-top: 3rem;
  padding-bottom: 10rem;
  background: #fff url(../img/innerUpdates-bg.png) bottom no-repeat;
}

.about-magazine.magazine-sec .card p {
  font-weight: 300;
  color: var(--moj-primaryLight-color);
}

.about-magazine .about-img {
  object-fit: cover;
  border-radius: 0.4rem;
}

.about-magazine p {
  font-weight: 300;
  color: var(--moj-primary-color);
  margin-top: 1rem;
}

.about-magazine .chief-editor {
  margin: 1rem 0 2rem 0;
  text-align: center;
}

.about-magazine .chief-editor h5,
.about-magazine .editorial-board h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--moj-secondary-color);
}

.about-magazine .chief-editor .name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--moj-navy-color);
}

.about-magazine .chief-editor .label,
.about-magazine .editorial-board li {
  font-size: 1rem;
  font-weight: 300;
  color: var(--moj-primary-color);
  margin: 0.5rem 0;
}

.about-magazine .editorial-board {
  text-align: center;
}

.cards-listing {
  padding: 2rem 0;
}

.cards-listing .card {
  background-color: transparent;
  border: none;
}

.cards-listing .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--moj-navy-color);
  opacity: 1;
  margin-bottom: 1rem;
}

.cards-listing .card-title i {
  color: var(--moj-secondary-color);
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-group-item {
  display: flex;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--moj-ash-color) !important;
  border-radius: 0.5rem !important;
  margin-bottom: 1rem;
}

.list-group-item:last-child {
  border: none;
  margin: 0;
}

.article-link {
  color: var(--moj-primary-color);
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  font-weight: 300;
}

.list-group-item span {
  color: var(--moj-secondary-color);
  margin: 0 0.5rem;
}

.list-group-item h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--moj-primary-color);
}

.article-link:hover {
  color: var(--moj-secondary-color);
}

.cards-listing .card-body p {
  color: var(--moj-Grary-color);
  font-weight: 300;
}

.cards-listing .newsletter-card .card-body {
  background-color: var(--moj-navyLight-trans);
  border: 1px solid var(--moj-ash-color);
  border-radius: 0.5rem;
}

.newsletter-card {
  padding: 4rem 0;
}

.newsletter-card h4 {
  color: var(--moj-navy-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.newsletter-card p {
  color: var(--moj-primaryLight-color);
  margin: 1rem 0;
  font-weight: 300;
}

.custom-input {
  border-radius: 0.3rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  background-color: #fcfcfc;
  position: relative;
  border-color: var(--moj-navyMid-trans);
  border-radius: 0.5rem;
}

.newsletter-card .form-group {
  position: relative;
}

.newsletter-card .card .btn-brand {
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.newsletter-card .custom-input::placeholder {
  color: var(--moj-primary-color);
}

.newsletter-card .form-group i {
  position: absolute;
  color: var(--moj-primary-color);
  top: 0.8rem;
}

.newsletter-card .card-body {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.newsletter-card .card {
  border: 1px solid var(--moj-navyLight-trans);
  border-radius: 0.5rem;
}

.newsletter-card .card:after {
  content: '';
  position: absolute;
  background-image: url('../img/newsletter-bg.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 17%;
  height: 90%;
  bottom: 0;
  z-index: 0;
}

.legal-article-page {
  padding: 2rem 0;
}

.legal-article-page .article-title {
  font-size: 1.375rem;
  line-height: 1.6;
  font-weight: bold;
  color: var(--moj-navy-color);
}

.legal-article-page .abstract-text {
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: justify;
  color: var(--moj-Grary-color);
}

.legal-article-page .meta-box {
  text-align: center;
  font-size: 0.8rem;
  color: var(--moj-Grary-color);
}

.legal-article-page .meta-box strong {
  font-size: 1rem;
  color: var(--moj-primary-color);
}

.legal-article-page .metadata-bar.inner-box {
  background-color: var(--moj-text-white);
  margin-bottom: 1rem;
  box-shadow: 0px 4px 4px 0px #0000000a;
  padding: 1rem;
}

.legal-article-page .contents-card .card {
  background: #cfd9df33;
  border: 1px solid #cfd9df66;
  border-radius: 0.5rem;
}

.abstract-section .card {
  border-left: none;
  border-right: none;
  border-radius: 0;
}

.info-card .card {
  background-color: var(--moj-navyLight-trans);
  margin-bottom: 1rem;
  border: 1px solid var(--moj-ash-color);
}

.legal-article-page .stat-card {
  background-color: var(--moj-navyLight-trans);
  border: 1px solid var(--moj-ash-color);
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-align: center;
}

.legal-article-page .stat-card .icon-wraper,
.legal-article-page .author-box .icon-wraper {
  background-color: var(--moj-navyMid-trans);
  margin: 0.5rem auto;
  border-radius: 100%;
  min-width: 3rem;
  width: 3rem;
  height: 3rem;
  display: inline-block;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moj-primary-color);
  font-size: 1.25rem;
}

.abstract-section .card {
  box-shadow: 0px 4px 4px 0px #0000000a;
  border: none;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.abstract-section .contant-wraper {
  border-top: 1px solid var(--moj-ash-color);
  border-bottom: 1px solid var(--moj-ash-color);
  background-color: var(--moj-light-color);
  padding: 1rem;
  margin-bottom: 1rem;
}

.legal-article-page .stat-card p {
  color: var(--moj-primary-color);
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.legal-article-page .stat-card h6 {
  color: var(--moj-secondary-color);
  font-weight: 600;
}

.legal-article-page .author-box a {
  color: var(--moj-secondary-color);
}

.legal-article-page .inner-box {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
}

.legal-article-page .inner-box .btn {
  width: 50%;
  border: 1px solid var(--moj-navy-color);
  color: var(--moj-navy-color);
  background: var(--moj-text-white);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
}

.legal-article-page .inner-box .btn i {
  color: var(--moj-secondary-color);
}

.contents-card .card {
  border: none;
  border-radius: 0.5rem;
  background-color: transparent;
}

.legal-article-page .inner-box .btn:hover {
  color: var(--moj-secondary-color);
}

.legal-article-page .contents-title {
  font-size: 1rem;
  color: var(--moj-primary-color);
  font-weight: 600;
  font-size: 1.125rem;
}

.legal-article-page .list-group-item h3 {
  font-weight: 600;
}

.legal-article-page .list-group-item {
  border: none;
  padding: 0.5rem 0;
}

.legal-article-page .list-group-item {
  padding: 0;
  color: var(--moj-navy-color);
  border: none !important;
}

.legal-article-page .abstract-section a {
  color: var(--moj-secondary-color);
  text-decoration: underline;
}

.legal-article-page .abstract-section .reviewer-card a {
  color: var(--moj-navy-color);
  text-decoration: none;
}

.legal-article-page .author-box {
  display: flex;
  padding: 0.35rem 0;
  align-items: center;
  color: var(--moj-primary-color);
}

.legal-article-page i {
  line-height: 0;
}

.abstract-section ul {
  list-style: none;
  padding: 0;
}

.abstract-section ul li {
  display: flex;
  align-items: start;
  margin-bottom: 0.8rem;
  color: var(--moj-primary-color);
  font-weight: 300;
}

.abstract-section a {
  color: var(--moj-secondary-color);
  text-decoration: underline;
}

.abstract-section ul li .icon-wraper {
  background-color: var(--moj-navyMid-trans);
  margin: 0 0.5rem;
  border-radius: 100%;
  min-width: 2rem;
  width: 2rem;
  height: 2rem;
  display: inline-block;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moj-primary-color);
  font-size: 1rem;
}

.abstract-section p,
.abstract-section span,
.abstract-section a {
  font-weight: 300;
  color: var(--moj-primary-color);
  text-decoration: none;
}

.abstract-section a:hover {
  color: var(--moj-secondary-color);
}

.about-magazine .editorial-board li {
  list-style: none;
  margin: 1rem 0;
}

.improve-results {
  position: relative;
}

.improve-results .collapse-btn img {
  width: 2rem;
}

.improve-results .collapse-btn {
  position: absolute;
  width: 2rem;
  top: 1rem;
}

.collapse-col.active .coplase-contant {
  display: none;
}

.latest-updates .fill-nav li.nav-item {
  flex: 1;
  align-items: center;
  width: 100%;
}

.latest-updates .fill-nav li.nav-item button {
  width: 100%;
}

.magazine-info {
  padding: 4rem 0;
}

.magazine-info .card {
  position: relative;
  border: 1px solid var(--moj-navyMid-trans);
  border-radius: 1rem;
  overflow: hidden;
}

.magazine-info .card p {
  color: var(--moj-primaryLight-color);
  font-weight: 300;
}

.magazine-info .card:after {
  content: '';
  position: absolute;
  background-image: url(../img/book-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 15%;
  height: 100%;
  top: 0;
  z-index: 0;
}

.navbar-custom {
  display: flex;
  align-items: center;
  gap: 20px;
  direction: ltr;
  /* Keeping the group horizontal flow LTR */
}

.lang-switcher {
  display: flex;
  align-items: center;
  border: 1px solid #6d8ca1;
  border-radius: 50px;
  padding: 2px;
  background: transparent;
  cursor: pointer;
  position: relative;
  height: 42px;
  min-width: 150px;
}

.lang-option {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  z-index: 2;
  color: #4a6a7e;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}
/* The sliding "pill" background */
.lang-toggle-bg {
  position: absolute;
  width: 49%;
  height: 85%;
  background-color: #6d8ca1;
  border-radius: 50px;
  transition: transform 0.3s ease;
  z-index: 1;
}

.lang-switcher.lang-ar .lang-toggle-bg {
  transform: translateX(95%);
}

.lang-switcher.lang-ar .opt-ar {
  color: white;
}

.lang-switcher.lang-ar .gb-icon {
  display: none;
}

.lang-switcher.lang-en .opt-en {
  color: white;
}

.lang-switcher.lang-en .qatar-icon {
  display: none;
}

.lang-switcher.lang-en .lang-toggle-bg {
  width: 60%;
}
/* Flag styling */
.flag-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin: 0 6px;
  border: 1px solid #fff;
}
/* Search Icon */
.search-trigger {
  font-size: 1.5rem;
  color: #4a6a7e;
  cursor: pointer;
}
/* Responsive adjustments */
@media (max-width: 1400px) {
  .site-header .navbar-nav .nav-link {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}

@media (max-width: 1200px) {
  .newspaper-banner {
    padding-bottom: 2rem;
  }

  .newspaperCard-listing {
    margin-top: 0rem;
  }

  .newspaperCard-listing .readmore-wraper {
    margin-top: 1rem;
  }

  .newspaperCard-listing .qatar-card.highlighted-card {
    margin-top: 0rem;
  }

  .custom-navbar a:first-child {
    margin-top: 0;
  }

  .custom-navbar a,
  .custom-navbar .dropdown {
    margin-top: 1rem;
    display: block;
  }

  header {
    padding-top: 1rem;
  }

  .hero-section .search-btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    background-color: var(--moj-white-color);
    border: 1px solid var(--moj-primary-color);
    color: var(--moj-primary-color);
    border-radius: 0.5rem;
  }

  .widget-tabs .nav-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: start;
    border-bottom: 2px solid #cfd9df99;
  }

  .widget-tabs .navTabsHeader {
    border-bottom: none;
  }

  .navTabsHeader .tabs-dd {
    margin-top: 1rem;
  }

  .navTabsHeader .tabs-dd button,
  .navTabsHeader .tabs-dd {
    width: 100%;
  }

  .timeline-wrapper {
    padding: 0 0 4rem 0;
  }

  .latest-updates .nav-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: start;
    border-bottom: 2px solid #cfd9df99;
  }

  .latest-updates .border-bottom-light {
    border-bottom: none;
  }

  .magazine-info .card:after,
  .newsletter-card .card:after {
    display: none;
  }

  .aboveFooter {
    background: none;
  }

  .custom-card-wraper {
    padding: 3rem 0;
    padding-bottom: 10rem;
    background: #fff url(../img/elec-bg.png) bottom no-repeat;
  }

  .app-banner {
    display: flex;
    border: 1px solid var(--secondary-a-skyline-20, #cfd9df);
    padding: 1rem 1rem 10rem 1rem;
    background: #cfd9df33 url(../img/app-bg.png) no-repeat bottom center;
    background-size: contain;
    justify-content: center;
  }

  .app-banner a {
    width: 50%;
  }

  .app-banner a img {
    height: 3rem;
    border-radius: 0.2rem;
    width: calc(100% - 0.5rem);
  }

  .aboveFooter .nav-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: start;
    border-bottom: 1px solid #cfd9df99;
  }

  .year-selector-container {
    margin-top: 1rem;
    width: 100%;
  }

  .year-selector-container .form-select {
    text-align: center;
  }

  .year-selector-container i {
    color: var(--moj-primary-color) !important;
  }

  .contact-row {
    justify-content: start;
  }

  footer .mob-col {
    background: var(--moj-navyMid-color);
    margin-bottom: 0;
    padding: 1rem 0.5rem;
  }

  footer .app-btns {
    display: flex;
  }

  footer .app-btns a {
    width: 50%;
  }

  .moj-footer .app-btns img {
    width: calc(100% - 0.5rem) !important;
    height: 3rem;
    border-radius: 0.5rem;
  }

  .copyright {
    margin-top: 0;
  }

  .legal-links {
    margin: 1rem 0;
  }

  .footer-nav-list a {
    position: relative;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--moj-navyMid-color);
    padding-bottom: 0.5rem;
  }

  .footer-nav-list a i {
    position: absolute;
  }

  .wraper-brand {
    flex-direction: row-reverse;
  }

  .aboveFooter .border-bottom {
    border-bottom: none;
  }

  .hero-section .search-btn {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 991px) {
  .footer-header {
    flex-direction: column-reverse;
  }

  .app-download-area {
    flex-direction: column;
  }

  .footer-col {
    margin-bottom: 2rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .pagination-wraper nav {
    display: block;
  }

  .pagination-wraper .seclect-page {
    margin-bottom: 1rem;
  }

  .pagination-wraper ul {
    justify-content: center !important;
  }

  .legislation-details .info-group {
    flex-wrap: wrap;
    width: 100%;
    gap: 5px;
  }

  .legislation-details .law-title {
    font-size: 1.2rem;
  }

  .feature-card {
    height: auto;
  }

  .lega-thougthBanner .banner-info h4 {
    font-size: 2rem;
  }

  .lega-thougthBanner .video-banner .ratio-16x9 {
    --bs-aspect-ratio: 100%;
  }

  .lega-thougthBanner .video-banner {
    margin-bottom: 2rem;
  }

  .legal-article-page .metadata-bar.inner-box {
    display: block;
  }

  .legal-article-page .metadata-bar .meta-item,
  .tabs-dd {
    margin: 0.5rem 0;
  }

  .generalizations-section .main-heading h2 {
    padding: 0.5rem 0;
  }

  .lega-thougthBanner .img-wraper {
    margin-bottom: 1rem;
  }

  .improve-results .collapse-btn {
    display: none;
  }
}

@media (max-width: 767px) {
  .electronic-services .stats-section {
    padding: 1rem;
  }

  .newsletter-card .card-body:after {
    display: none;
  }

  .hero-section .search-wraper {
    display: block;
  }

  .hero-section .search-box {
    margin-bottom: 2rem;
  }
}

@media (max-width: 567px) {
  .search-result .card-meta-top .badge {
    word-wrap: break-word;
    text-wrap: auto;
    text-align: start;
  }
}

/* 11 Mar 2026 */
.heroBg-wraper {
  background-image: none;
}

.headerBannerBg.darkHeader {
  background: url(../img/MOJ-Almeezan-Hreader-Dark.png) no-repeat top center;
  background-size: cover;
}

.darkHeader .custom-navbar a,
.darkHeader .custom-navbar button,
.darkHeader .lang-option,
.darkHeader .hero-section .hero-content h1,
.darkHeader .hero-section .hero-content p,
.darkHeader .newspaper-banner h6 {
  color: white;
}

.moj-footer.darkFooter {
  background: rgba(207, 217, 223, 0.3) url(../img/MOJ-Almeezan-Footer-Dark.png) no-repeat top center;
  background-size: cover;
}

.darkFooter .logo-img {
  filter: brightness(0) invert(1);
}

.darkFooter .footer-col h5,
.darkFooter .footer-col p,
.darkFooter .footer-nav-list a,
.darkFooter .footer-nav-list a i,
.darkFooter .contact-text,
.darkFooter a.contact-text,
.darkFooter .social-links a {
  color: white;
}

.footer-app-download-bar {
  background-color: #31617c;
  margin-top: 1rem;
}

/*11 Mar 2026 Hussain css*/
.officil-gazette .card {
  border-color: #cfd9dfcc;
  border-radius: 0.65rem;
}

.officil-gazette > .container-lg > .row > .col-container {
  flex: 0 0 auto;
}

.officil-gazette > .container-lg > .row > .col-container > .card {
  flex: none;
}

.officil-gazette .law-card {
  height: auto;
}

.officil-gazette .Generalizations-listing .card {
  border: none;
  border-bottom: 1px solid #cfd9dfcc;
  border-radius: 0;
}

.officil-gazette .law-card {
  background-color: #cfd9df33;
}

.legal-suite.officil-gazette-accordion .accordion-button {
  background-color: white;
}

.darkHeader .breadcrumb-wraper li {
  font-weight: 300;
}

.darkHeader .breadcrumb-wraper li,
.darkHeader .breadcrumb-wraper li a,
.darkHeader .breadcrumb-wraper .breadcrumb-item + .breadcrumb-item::before {
  color: var(--moj-white-color);
}

.darkHeader .breadcrumb-wraper li img {
  filter: brightness(0) saturate(100%) invert(98%) sepia(4%) saturate(383%) hue-rotate(185deg)
    brightness(117%) contrast(100%);
}

.offcial-law-accordion .accordion-button {
  display: flex;
  align-content: center;
  justify-content: space-between;
}

.offcial-law-accordion .accordion-button a {
  padding: 0 0.5rem;
}

.offcial-law-accordion .accordion-button .border-right {
  color: var(--moj-secondary-color);
}

.offcial-law-accordion .accordion-button::after {
  margin: 0;
  position: absolute;
}

.offcial-law-accordion .accordion-button .more-link {
  padding: 0 2rem;
}

.offcial-gazete-issue .accordion-button:not(.collapsed) {
  color: var(--moj-secondary-color) !important;
}

.next-pervious {
  display: flex;
  align-items: center;
  justify-content: end;
}

.next-pervious a {
  border: 1px solid #cfd9df99;
  color: var(--moj-black-color);
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border-radius: 0.3rem;
  text-decoration: none;
  background: white;
}

.next-pervious a:hover {
  background-color: var(--moj-primary-color);
  color: var(--moj-white-color);
}

.next-pervious a i {
  color: var(--moj-primary-color);
}

.next-pervious a:hover i {
  color: var(--moj-white-color);
}

.next-pervious a.disabled {
  opacity: 0.5;
  cursor: none;
  color: #313131;
}

.next-pervious a.disabled:hover {
  color: var(--moj-white-color);
}

.offcial-gazete-issue .improve-results-wraper .card h2 {
  color: var(--moj-secondary-color);
  font-size: 1.125rem;
}

.offcial-gazete-issue .improve-results-wraper .card p {
  color: var(--moj-primary-color);
}

.offcial-gazete-issue .improve-results {
  background: #cfd9df33;
  border: 1px solid #cfd9df66;
}

.offcial-gazete-issue .filter-sub-item {
  background: #fff;
  border: 1px solid var(--moj-dunemidAsh-color);
  border-radius: 6px;
  padding: 10px 10px;
  margin: 8px 0;
  color: var(--moj-primary-color);
  position: relative;
}

.offcial-gazete-issue .filter-sub-item.active {
  background: #cfd9df66;
  border: 1px solid #cfd9df;
}

.offcial-gazete-issue .filter-sub-item.active:after {
  content: '\F272';
  position: absolute;
  right: 0.5rem;
  top: 0.2rem;
  font-family: bootstrap-icons;
  color: #129b82;
  font-size: 1.3rem;
}

.offcial-gazete-issue .improve-results .accordion-body {
  background: #cfd9df75;
}

.get-appFooter {
  background: #3d6881;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
}

.get-appFooter h5 {
  color: var(--moj-white-color);
}

.get-appFooter .app-btns {
  display: flex;
  align-items: center;
}

.get-appFooter .app-btns img {
  width: 10rem;
  border-radius: 0.5rem;
}

.darkFooter .contact-icon i {
  line-height: 0;
}

@media (max-width: 1200px) {
  .darkHeader .custom-navbar a,
  .darkHeader .custom-navbar .lang-dropdown {
    color: var(--moj-primary-color);
  }

  .darkHeader .custom-navbar .btn-login {
    color: var(--moj-white-color);
  }
}

.offcial-gazete-issue .improve-results .accordion-item {
  background: rgba(255, 255, 255, 0.1);
}

/* Accessibility */
.access-btn {
  border: 0;
  line-height: 1;
  font-size: 0.875rem;
  background: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  padding: 0;
}

.access-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.access-icon:after {
  content: '';
  position: relative;
  height: 1rem;
  width: 1px;
  top: 0;
  background-color: var(--moj-primary-color);
  display: inline-block;
  margin: 0 1rem;
}

.dropdown.access-icon a {
  color: var(--moj-primary-color);
}

.dropdown.access-icon .dropdown-item.active,
.dropdown.access-icon .dropdown-item:active {
  color: var(--moj-primary-color);
  text-decoration: none;
  background-color: var(--moj-white-color);
}

#bright-on,
.active #bright-off {
  display: inline-flex !important;
  pointer-events: auto;
}

#bright-off,
.active #bright-on {
  display: none !important;
  pointer-events: none;
}

.skipNav {
  position: absolute;
  top: 5px;
  z-index: -1;
  background: transparent !important;
}

.skipNav:focus-within {
  z-index: 999;
}

.skipNav .skipLink {
  opacity: 0;
  background: rgb(142 24 56 / 90%);
  height: 0;
  border: 0;
  color: var(--cgb-white-color);
  padding: 5px 15px;
  height: auto;
}

.skipNav .skipLink:focus {
  opacity: 1;
}

html[dir='ltr'] .skipNav .skipLink.ar,
html[lang='en-US'] .skipNav .skipLink.ar {
  display: none;
}

html[dir='rtl'] .skipNav .skipLink.en,
html[lang='ar'] .skipNav .skipLink.en {
  display: none;
}

.hero-section .hero-content p {
  font-weight: 600;
}

.hero-section .search-wraper .form-control::placeholder {
  color: #999999;
}

.category-card-item .category-card i {
  color: var(--moj-secondary-color);
  font-size: 0.8rem;
  position: absolute;
}

.category-card-item .category-card {
  background: #cfd9df1a;
  border: 1px solid #cfd9df66;
  justify-content: center;
}

.category-card-item .category-card {
  font-size: 0.9rem;
}

.widget-tabs .nav-tabs .nav-link.active {
  background: #cfd9df33;
}

.timeline-section .timelineSwiper .swiper-button-next i,
.timeline-section .timelineSwiper .swiper-button-prev i {
  font-size: 1.35rem;
}

.timeline-section .swiper-navigation-icon {
  display: none;
}

.ms-dropdown__btn.ms-dropdown__btn--placeholder,
.search-field::placeholder {
  color: #999999 !important;
}

.ms-dropdown__chevron {
  color: var(--moj-secondary-color) !important;
  text-shadow: 0 0 var(--moj-secondary-color) !important;
}

.span-number {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0.5rem 0.5rem;
}

.span-number i {
  color: var(--moj-secondary-color);
}

.span-number h6,
.span-number h5 {
  margin: 0;
  font-weight: 500;
  color: var(--moj-primary-color);
}

.profile-dropdown .profile-dropdown-menu {
  min-width: 18rem;
}

.profile-dropdown .profile-dropdown-menu .dropdown-item {
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 24rem;
  white-space: pre-wrap;
  display: flex;
}

.card-heading-leg h6 {
  font-weight: bold;
  font-size: 1.125rem;
  margin-top: 0.5rem;
  color: var(--moj-secondary-color);
}

.profile-dropdown .profile-dropdown-menu a.dropdown-item i {
  margin: 0 0.5rem;
  color: var(--moj-secondary-color);
}

.profile-dropdown .profile-dropdown-menu .dropdown-item-bookmark {
  padding: 0.5rem 1rem;
}

.profile-dropdown .profile-dropdown-menu .dropdown-item-bookmark i {
  margin: 0 0.5rem;
}

.offcial-gazete-issue .accordion-button:not(.collapsed) {
  color: var(--moj-secondary-color) !important;
}

.next-pervious {
  display: flex;
  align-items: center;
  justify-content: end;
}

.next-pervious a {
  border: 1px solid #cfd9df99;
  color: var(--moj-black-color);
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border-radius: 0.3rem;
  text-decoration: none;
  background: white;
}

.next-pervious a:hover {
  background-color: var(--moj-primary-color);
  color: var(--moj-white-color);
}

.next-pervious a i {
  color: var(--moj-primary-color);
}

.next-pervious a:hover i {
  color: var(--moj-white-color);
}

.next-pervious a.disabled {
  opacity: 0.5;
  cursor: none;
  color: #313131;
}

.next-pervious a.disabled:hover {
  color: var(--moj-white-color);
}

.offcial-gazete-issue .improve-results-wraper .card h2 {
  color: var(--moj-secondary-color);
  font-size: 1.125rem;
}

.offcial-gazete-issue .improve-results-wraper .card p {
  color: var(--moj-primary-color);
}

.offcial-gazete-issue .improve-results {
  background: #cfd9df33;
  border: 1px solid #cfd9df66;
}

.offcial-gazete-issue .filter-sub-item {
  background: #fff;
  border: 1px solid var(--moj-dunemidAsh-color);
  border-radius: 6px;
  padding: 10px 10px;
  margin: 8px 0;
  color: var(--moj-primary-color);
  position: relative;
}

.offcial-gazete-issue .filter-sub-item.active {
  background: #cfd9df66;
  border: 1px solid #cfd9df;
}

.offcial-gazete-issue .filter-sub-item.active:after {
  content: '\F272';
  position: absolute;
  right: 0.5rem;
  top: 0.2rem;
  font-family: bootstrap-icons;
  color: #129b82;
  font-size: 1.3rem;
}

.offcial-gazete-issue .improve-results .accordion-body {
  background: #cfd9df75;
}

.offcial-gazete-issue .improve-results .accordion-item {
  background: rgba(255, 255, 255, 0.1);
}

/* Account & Content section inside profile dropdown */
.profile-dropdown .content-submenu {
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 0.25rem;
}

.profile-dropdown .content-submenu .dropdown-item {
  font-size: 0.875rem;
}

[dir='rtl'] .profile-dropdown .content-submenu .dropdown-item {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* E-Services inline submenu inside profile dropdown */
.profile-dropdown .eservices-submenu {
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 0.25rem;
}

.profile-dropdown .eservices-submenu .dropdown-item {
  padding-left: 2.5rem;
  font-size: 0.875rem;
}

[dir='rtl'] .profile-dropdown .eservices-submenu .dropdown-item {
  padding-left: 1rem;
  padding-right: 1rem;
}

.profile-dropdown .notification-badge {
  background: var(--moj-secondary-color);
  width: 1rem;
  height: 1rem;
  border-radius: 100%;
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  line-height: 18px;
}

/* Unassigned-tasks badge for the profile dropdown trigger button.
   Floating corner-bubble pattern (Gmail / GitHub / Slack style):
   a compact circular badge positioned on the top-end corner of the
   button, lifted with a white ring + soft shadow, with a gentle pulse
   ring to draw attention to pending tasks. RTL-safe via logical props. */
.profile-dropdown .lang-dropdown {
  position: relative;
  overflow: visible;
}

.profile-dropdown .lang-dropdown .profile-tasks-badge {
  position: absolute;
  top: -0.4rem;
  inset-inline-end: -0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  background: var(--moj-secondary-color);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: inherit;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 2;
  animation: profileTasksBadgePulse 2.4s ease-out infinite;
}

@keyframes profileTasksBadgePulse {
  0% {
    box-shadow:
      0 2px 5px rgba(0, 0, 0, 0.2),
      0 0 0 0 rgba(255, 0, 0, 0.45);
  }

  70% {
    box-shadow:
      0 2px 5px rgba(0, 0, 0, 0.2),
      0 0 0 8px rgba(255, 0, 0, 0);
  }

  100% {
    box-shadow:
      0 2px 5px rgba(0, 0, 0, 0.2),
      0 0 0 0 rgba(255, 0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-dropdown .lang-dropdown .profile-tasks-badge {
    animation: none;
  }
}

.legislation-details .list-unstyled .inner-list span {
  color: #6e8ea0;
  font-weight: 400;
  font-size: 14px;
}

.legislation-details .index-item.active strong,
.legislation-details .index-item.active span {
  font-weight: 700;
  color: var(--moj-primary-color);
}

.legislation-details .index-item span {
  color: var(--moj-primary-color);
}

.legislation-details .index-item strong {
  font-weight: 400;
}

.legislation-details span.related-almawad-details-label {
  margin: 0 0.5rem;
}

.legislation-details span.related-almawad-details-label i {
  margin: 0 0.5rem;
  color: var(--moj-secondary-color);
}

.legislation-details .legal-suite .related-almawad-card-title {
  margin: 1rem 0rem;
}

.legislation-details .metadata-row .group-label {
  margin-left: 15px;
  min-width: fit-content;
}

.profile-dropdown .profile-dropdown-menu a.dropdown-item i {
  margin: 0 0.5rem;
  color: var(--moj-secondary-color);
}

.profile-dropdown .profile-dropdown-menu .dropdown-item-bookmark {
  padding: 0.5rem 1rem;
}

.profile-dropdown .profile-dropdown-menu .dropdown-item-bookmark i {
  margin: 0 0.5rem;
}

.article-number {
  color: maroon;
}

/* Highlights the words "معدلة" / "Amended" inside an article title so they stand out. */
.amended-flag {
  display: inline-block;
  margin-inline: 0.25rem;
  padding: 0.05em 0.55em;
  border-radius: 0.4rem;
  background-color: var(--moj-yellowLight-color);
  color: #b45309;
  border: 1px solid var(--moj-yellow-color);
  font-weight: 700;
  white-space: nowrap;
}

/* Highlights the words "ملغاة" / "Canceled" inside an article title so they stand out. */
.canceled-flag {
  display: inline-block;
  margin-inline: 0.25rem;
  padding: 0.05em 0.55em;
  border-radius: 0.4rem;
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef5350;
  font-weight: 700;
  white-space: nowrap;
}

/* Highlights repeated items containing "مكرر" inside an article title so they stand out. */
.repeated-flag {
  display: inline-block;
  margin-inline: 0.25rem;
  padding: 0.05em 0.55em;
  border-radius: 0.4rem;
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #66bb6a;
  font-weight: 700;
  white-space: nowrap;
}

/* Versioned mada article badge */
.badge-versioned {
  background-color: #e0e7ff;
  color: #3730a3;
  border: 1px solid #818cf8;
}

/* Subtle accent on the whole accordion item when the article is versioned */
.accordion-item--versioned {
  position: relative;
  background-color: rgba(99, 102, 241, 0.04);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.accordion-item--versioned::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 4px;
}

/* Tint the accordion header for versioned articles */
.accordion-item--versioned .accordion-header,
.accordion-item--versioned .accordion-button {
  background-color: rgba(129, 140, 248, 0.12) !important;
}

/* Add a soft indigo border to the collapse body */
.accordion-item--versioned .accordion-collapse {
  background-color: rgba(129, 140, 248, 0.05);
}

/* Optional small top-right ribbon label */
.accordion-item--versioned .accordion-header::after {
  content: attr(data-versioned-label);
  position: absolute;
  inset-inline-end: 3.25rem;
  top: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #4f46e5;
  background: #e0e7ff;
  padding: 0.15em 0.6em;
  border-radius: 0.35rem;
  pointer-events: none;
}

.almawad-info-card {
  border: solid 1px;
  border-radius: 5px;
  padding: 11px 4px 0px 4px;
  background-color: var(--moj-navyLight-trans);
  color: var(--moj-primary-color);
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 0.7rem;
}

/*Lawpage-Timeline page start css 1-Apr-2026 */

.legislation-details .legal-suite .accordion-button {
  background-color: var(--moj-navyLight-trans);
  color: var(--moj-primary-color);
  font-weight: bold;
  border-radius: 5px !important;
  border: 1px solid var(--moj-ash-color);
  box-shadow: none;
}

.legislation-details .legal-suite .accordion-button::after {
  filter: brightness(0) saturate(100%) invert(12%) sepia(91%) saturate(2671%) hue-rotate(326deg)
    brightness(93%) contrast(96%);
}

.offcial-law-accordion .legal-suite .accordion-button {
  display: flex;
  align-content: center;
  justify-content: space-between;
}

.offcial-law-accordion .accordion-button .border-right {
  border-right: 1px solid var(--moj-primaryLight-color);
}

.offcial-law-accordion .accordion-button .border-right {
  color: var(--moj-secondary-color);
}

.legislation-details .legal-suite .accordion-button::after {
  display: none;
}

.offcial-law-accordion .accordion-button .more-link {
  padding: 0 0.5rem;
}

.offcial-law-accordion .accordion-button a {
  padding: 0 0.8rem;
}

.legislation-details .more-link {
  font-weight: normal;
}

.timeline-section .swiper-button-next i,
.timeline-section .swiper-button-prev i {
  font-size: 1.35rem;
}

.legislation-details .accordion .swiper-button-next svg,
.legislation-details .accordion .swiper-button-prev svg {
  display: none;
}

.lawPage-timeline .timeline-line {
  position: absolute;
  top: unset;
  bottom: 2.4rem;
  left: 1rem;
  right: 1rem;
  height: 3px;
  border-top: 3px dashed rgba(207, 217, 223, 1);
  z-index: 0;
}

.lawPage-timeline .swiper-slide-active .timeline-card {
  background-color: unset;
  transform: unset;
  margin-bottom: unset;
}

.lawPage-timeline .nav-link.active .timeline-card {
  background-color: #cfd9df66;
  transform: scale(1.1);
  margin-bottom: 1rem;
}

.lawPage-timeline .swiper-slide-active .timeline-dot {
  background: rgba(207, 217, 223, 1);
  transform: unset;
}

.lawPage-timeline .nav-link.active .timeline-dot {
  background-color: var(--moj-primary-color);
  transform: scale(1.3);
}

.lawPage-timeline .timeline-card {
  margin-bottom: 1.75rem !important;
  margin-top: 0.5rem !important;
  padding: 0.5rem;
  min-height: 70px;
}

.lawPage-timeline .timeline-wrapper {
  position: relative;
}

.lawPage-timeline .timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  width: 35%;
  height: 100px;
  background: linear-gradient(90deg, #fafbfc 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 2;
}

.lawPage-timeline .swiper-backface-hidden .swiper-slide {
  padding: 0;
}

.lawPage-timeline .timeline-wrapper {
  padding: 1rem 0 0rem 0;
}

.lawPage-timeline .tab-pane {
  border: 1px solid #cfd9df4d;
  border-radius: 0;
  background-color: #fafbfc;
  border-top: none;
  padding: 0.8rem;
}

.lawPage-timeline .tab-pane .tab-pane {
  background-color: transparent;
  border: none;
  padding: 0;
}

.lawPage-timeline .accordion p {
  color: var(--moj-navy-color);
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 5px;
  font-weight: 300;
  text-align: start;
}

.lawPage-timeline ul.timeline-tabs {
  gap: 0.5rem;
}

.lawPage-timeline .accordion li {
  color: var(--moj-primary-color);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.lawPage-timeline .accordion li::marker {
  color: var(--moj-secondary-color);
}

.lawPage-timeline .timeline-tabs .nav-link {
  background: var(--moj-navyLight-trans);
  color: var(--moj-secondary-color);
  border-radius: 0.5rem;
  font-weight: 300;
}

.lawPage-timeline .timeline-tabs .nav-link img {
  margin: 0 0.3rem;
}

.lawPage-timeline .timeline-tabs .nav-link.active {
  border: 1px solid #cfd9df4d;
  border-radius: 0;
  background-color: #fafbfc;
  color: var(--moj-primary-color);
  border-bottom: none;
  height: calc(100% + 0.6rem);
}

.lawPage-timeline .timeline-card .badge-status.modified {
  width: fit-content;
  margin-bottom: 0.5rem;
}

.lawPage-timeline .swiper-wrapper.nav {
  flex-wrap: unset;
}

.lawPage-timeline .swiper-button-next,
.lawPage-timeline .swiper-button-prev {
  top: unset !important;
  bottom: 1.3rem;
}

.lawPage-timeline .timlineTab-info {
  background: #cfd9df33;
}

.lawPage-timeline .timlineTab-info .btn-brand {
  background: var(--moj-white-color);
  color: var(--moj-primary-color);
  border: 1px solid var(--moj-primary-color);
}

.lawPage-timeline .timlineTab-info .btn-brand i {
  color: var(--moj-secondary-color);
}

.lawPage-timeline .timlineTab-info .btn-brand:hover {
  background: var(--moj-primary-color);
  color: var(--moj-white-color);
  border: 1px solid var(--moj-primary-color);
}

.lawPage-timeline .timlineTab-info .btn-brand:hover i {
  color: var(--moj-white-color);
}

.latest-updates .nav-tabs .nav-link {
  font-weight: 400;
}

.lawPage-timeline.card {
  box-shadow: 0px 4px 4px 0px #0000000f;
}

.timelineSwiper2 {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 1200px) {
  .lawPage-timeline ul.timeline-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    white-space: nowrap;
  }

  .legislation-details .lawPage-timeline .capsule-item {
    flex-wrap: wrap;
    display: flex;
  }

  .legislation-details .lawPage-timeline .capsule-item span {
    margin-top: 0.3rem;
  }
}

/*Lawpage-Timeline page End css 1-Apr-2026 */
.action-menu-container .social-share-wrapper .social-share-link i {
  line-height: 0;
}

/* ============================================
   Shared Entity Details Page Styles
   Used by: legislation, agreement, and any
   future details pages (opinion, ruling, etc.)
   ============================================ */

/* Page-scoped layout helpers */
.entity-details .info-group {
  width: 100%;
  flex-wrap: wrap;
  gap: 5px;
}

/* Make highlightable areas show subtle cursor hint */
.entity-details .law-title,
.entity-details .legal-body {
  cursor: text;
}

/* Ensure anchor-based cards and action items have no underline */

/* Hide reCAPTCHA v3 badge globally - reCAPTCHA still works without the visible badge.
   Per Google's FAQ, you must include reCAPTCHA branding visibly in the user flow:
   "This site is protected by reCAPTCHA" text on login/register forms. */
/*.grecaptcha-badge {
  visibility: hidden !important;
}*/
.entity-details a.card,
.entity-details a.action-item {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   Inline Linked Researches (sidebar badges)
   ============================================ */
.inline-linked-researches {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.inline-linked-label {
  font-size: 0.8rem;
  color: #198754;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.inline-linked-label i {
  font-size: 0.85rem;
}

.inline-linked-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.inline-linked-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #2e7d32;
  text-decoration: none;
  transition: all 0.2s;
  max-width: 180px;
}

.inline-linked-badge:hover {
  background: #c8e6c9;
  border-color: #a5d6a7;
  color: #1b5e20;
}

.inline-linked-badge i {
  font-size: 0.75rem;
  flex-shrink: 0;
}

.inline-linked-badge span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .inline-linked-badge {
    max-width: 160px;
  }
}

/* ============================================
   Add to Research Modal
   ============================================ */
.research-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  backdrop-filter: blur(2px);
}

.research-modal {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.research-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #eaeaea;
  background: #f8f9fa;
}

.research-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: #212529;
  display: flex;
  align-items: center;
}

.research-modal-header h3 i {
  color: var(--moj-secondary-color, #8a1538);
}

.research-modal-header .btn-close {
  background: transparent;
  border: none;
  font-size: 1rem;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.research-modal-header .btn-close:hover {
  opacity: 1;
}

.research-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.research-modal-body .form-label {
  color: #212529;
  font-size: 0.9rem;
}

.research-modal-body .form-select {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
  font-size: 0.9rem;
  color: #212529;
  background-color: #fff;
  transition: border-color 0.2s;
}

.research-modal-body .form-select:focus {
  border-color: var(--moj-primary-color, #3d6881);
  box-shadow: 0 0 0 0.2rem rgba(61, 104, 129, 0.15);
  outline: none;
}

.research-modal-body .alert {
  font-size: 0.9rem;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

/* Linked researches (already added) */
.linked-researches-section {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eaeaea;
}

.linked-researches-section .form-label {
  color: #198754;
}

.linked-researches-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.linked-research-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #212529;
}

.linked-research-item > i {
  color: #198754;
  font-size: 1rem;
  flex-shrink: 0;
}

.linked-research-item > span {
  flex: 1;
  font-weight: 500;
}

.linked-research-link {
  color: #6c757d;
  font-size: 0.8rem;
  padding: 0.125rem;
  transition: color 0.2s;
  flex-shrink: 0;
  text-decoration: none;
}

.linked-research-link:hover {
  color: var(--moj-primary-color, #3d6881);
}

.research-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #eaeaea;
  background: #f8f9fa;
}

.research-modal-footer .btn-outline-secondary {
  background: #fff;
  border: 1px solid #dee2e6;
  color: #333;
  border-radius: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.research-modal-footer .btn-outline-secondary:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
}

.research-modal-footer .btn-primary-action,
.research-modal-footer .btn-brand {
  background: var(--moj-secondary-color, #8a1538);
  border: 1px solid var(--moj-secondary-color, #8a1538);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.research-modal-footer .btn-primary-action:hover,
.research-modal-footer .btn-brand:hover {
  background: var(--moj-primary-color, #3d6881);
  border-color: var(--moj-primary-color, #3d6881);
}

.research-modal-footer .btn-primary-action:disabled,
.research-modal-footer .btn-brand:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 575.98px) {
  .research-modal {
    max-width: 100%;
    margin: 0.5rem;
    border-radius: 0.75rem;
  }

  .research-modal-header,
  .research-modal-footer {
    padding: 1rem;
  }

  .research-modal-body {
    padding: 1rem;
  }
}

/* ============================================
   Text Highlighting
   ============================================ */
mark.research-highlight {
  background-color: rgba(255, 235, 59, 0.45);
  border-bottom: 2px solid #fbc02d;
  padding: 0 1px;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s;
}

mark.research-highlight:hover {
  background-color: rgba(255, 235, 59, 0.7);
}

/* Highlight Toolbar (popup on text selection) */
.highlight-toolbar {
  z-index: 1060;
  background: #fff;
  border-radius: 0.625rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  padding: 0.5rem;
  min-width: 180px;
  max-width: 280px;
  animation: highlightToolbarIn 0.15s ease-out;
}

@keyframes highlightToolbarIn {
  from {
    opacity: 0;
    transform: translate(-50%, -90%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -100%);
  }
}

.highlight-toolbar-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  overflow: hidden;
}

.highlight-toolbar-arrow::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #fff;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.08);
}

.highlight-toolbar-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  padding: 0.125rem 0.375rem 0.375rem;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 0.25rem;
}

/* ============================================
   Print Styles — only .print-section-only is printed
   ============================================ */

/* Print branding elements are hidden on screen */
.print-branding-header,
.print-branding-footer {
  display: none;
}

@media print {
  /* ---- Reset & hide non-content ---- */
  body > *:not(#root),
  header,
  footer,
  nav,
  .headerBannerBg,
  .breadcrumb-wraper,
  .col-lg-3,
  .action-menu,
  .action-menu-container,
  .index-card,
  .nav-tabs,
  .tab-content,
  .btn-print-section,
  .social-share-wrapper,
  .highlight-toolbar {
    display: none !important;
  }

  /* ---- Color fidelity ---- */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* ---- Page margins ---- */
  @page {
    margin: 14mm 10mm 16mm 10mm;
  }

  /* ---- Base typography ---- */
  body {
    font-family: 'Lusail Plus', Helvetica, Tahoma, Arial, sans-serif;
    color: #212529;
    background: #fff !important;
    font-size: 11pt;
    line-height: 1.6;
  }

  /* ---- Layout: full-width content ---- */
  .print-section-only {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 8mm !important;
  }

  .print-section-only ~ * {
    display: none !important;
  }

  .col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
  }

  .container-fluid,
  .px-lg-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ---- Print branding header ---- */
  .print-branding-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 12pt;
    margin-bottom: 20pt;
    border-bottom: 3px solid #a3937d;
  }

  .print-branding-header img {
    height: 40pt;
  }

  .print-branding-site-title {
    font-size: 10pt;
    color: #3d6881;
    font-weight: 600;
  }

  /* ---- Print branding footer ---- */
  .print-branding-footer {
    display: block !important;
    margin-top: 24pt;
    padding-top: 10pt;
    border-top: 2px solid #a3937d;
    font-size: 8pt;
    color: #9e9e9e;
    text-align: center;
  }

  /* ---- Legislation title ---- */
  .print-section-only .law-title,
  .print-section-only h2,
  .print-section-only h5 {
    color: #0d4261 !important;
    font-weight: 700;
    line-height: 1.5;
    page-break-after: avoid;
  }

  .print-section-only .law-title {
    font-size: 14pt;
    margin-bottom: 10pt;
    border-bottom: 1px solid #eceae3;
    padding-bottom: 8pt;
  }

  /* ---- Status badge ---- */
  .print-section-only .status-badge {
    display: inline-block !important;
    padding: 3pt 10pt;
    border-radius: 4pt;
    font-size: 9pt;
    font-weight: 700;
    margin-bottom: 10pt;
  }

  .print-section-only .badge-green {
    background-color: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #34d399 !important;
  }

  .print-section-only .badge-red {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #dc2626 !important;
  }

  /* ---- Metadata capsules (date, type, number) ---- */
  .print-section-only .info-group {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6pt;
    margin-bottom: 14pt;
    padding-bottom: 10pt;
    border-bottom: 1px solid #eceae3;
  }

  .print-section-only .capsule-item {
    background: #f4f7f9 !important;
    color: #3d6881 !important;
    padding: 4pt 10pt;
    border-radius: 6pt;
    font-size: 8.5pt;
    border: 1px solid #cfd9df;
    display: inline-flex;
    align-items: center;
    gap: 4pt;
  }

  .print-section-only .capsule-item img {
    width: 12pt;
    height: 12pt;
  }

  .print-section-only .capsule-item span {
    background-color: #e9eff3 !important;
    color: #3d6881 !important;
    border-radius: 3pt;
    padding: 2pt 5pt;
    font-size: 8pt;
  }

  /* ---- Description / introduction ---- */
  .print-section-only .legal-body,
  .print-section-only .article-text {
    font-size: 10.5pt;
    line-height: 2;
    color: #4a4a4a !important;
    font-weight: 400;
    text-align: justify;
    orphans: 3;
    widows: 3;
  }

  .print-section-only .article-text a,
  .print-section-only .legal-body a {
    color: #8a1538 !important;
    text-decoration: underline;
  }

  /* ---- Tables inside article-text when printing from the main page ---- */
  .print-section-only .article-text table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 8pt 0 !important;
    border: 0.75pt solid #cfd9df !important;
    border-collapse: collapse !important;
    background: #fff !important;
    font-size: 9.5pt;
    line-height: 1.5;
    page-break-inside: avoid;
  }

  .print-section-only .article-text table td,
  .print-section-only .article-text table th {
    border: 0.5pt solid #cfd9df !important;
    padding: 4pt 6pt !important;
    vertical-align: top !important;
    background: transparent !important;
    color: #4a4a4a !important;
    width: auto !important;
    height: auto !important;
  }

  .print-section-only .article-text table > tbody > tr:first-child > td,
  .print-section-only .article-text table > tr:first-child > td,
  .print-section-only .article-text table thead td,
  .print-section-only .article-text table thead th {
    background: #f4f7f9 !important;
    color: #0d4261 !important;
    font-weight: 700 !important;
  }

  .print-section-only .article-text table p,
  .print-section-only .article-text table .MsoNormal {
    margin: 0 0 3pt 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
    color: inherit !important;
  }

  .print-section-only .article-text table p:last-child,
  .print-section-only .article-text table .MsoNormal:last-child {
    margin-bottom: 0 !important;
  }

  .print-section-only .article-text table span {
    font-family: inherit !important;
  }

  /* ---- Accordion sections (articles) ---- */
  .print-section-only .accordion-item {
    border: none !important;
    margin-bottom: 12pt;
    page-break-inside: avoid;
  }

  .print-section-only .accordion-button {
    background: #f4f7f9 !important;
    color: #0d4261 !important;
    font-weight: 700;
    font-size: 11pt;
    padding: 8pt 12pt;
    border-radius: 6pt !important;
    border: 1px solid #cfd9df !important;
    box-shadow: none !important;
  }

  .print-section-only .accordion-button::after {
    display: none !important;
  }

  .print-section-only .accordion-collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    border: none !important;
    margin-top: 6pt;
  }

  .print-section-only .accordion-body {
    padding: 6pt 0 !important;
  }

  /* ---- Relation badge on articles ---- */
  .print-section-only .accordion-button .badge {
    font-size: 8pt;
    padding: 2pt 8pt;
    border-radius: 10pt;
    font-weight: 600;
    border: 1px solid #cfd9df;
  }

  .print-section-only .badge-gray {
    background: #f0f0f0 !important;
    color: #6c757d !important;
  }

  /* ---- Date items inside articles ---- */
  .print-section-only .article-dates-bar {
    gap: 8pt;
    margin-bottom: 8pt;
  }

  .print-section-only .article-date-item {
    font-size: 8pt;
    color: #6c757d !important;
  }

  .print-section-only .article-date-item i {
    color: #8a1538 !important;
  }

  .print-section-only .article-date-item--cancel,
  .print-section-only .article-date-item--cancel i {
    color: #c62828 !important;
  }

  /* ---- Signature block ---- */
  .print-section-only .card-heading h5 {
    font-size: 11pt;
    color: #0d4261 !important;
    margin-top: 16pt;
    margin-bottom: 6pt;
  }

  .print-section-only .authority-name {
    font-size: 10pt;
    color: #3d6881 !important;
    font-weight: 600;
  }

  /* ---- Page breaks ---- */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }

  .print-section-only .accordion-item {
    page-break-inside: avoid;
  }
}

.highlight-toolbar-label i {
  color: #fbc02d;
  font-size: 0.85rem;
}

.highlight-toolbar-options {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.highlight-toolbar-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.375rem 0.5rem;
  border: none;
  background: transparent;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  color: #212529;
  cursor: pointer;
  text-align: start;
  transition: background-color 0.15s;
}

.highlight-toolbar-btn:hover {
  background-color: #fff8e1;
}

.highlight-toolbar-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.highlight-toolbar-btn i {
  color: var(--moj-secondary-color, #8a1538);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.highlight-toolbar-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highlight-toolbar-btn-remove {
  color: #dc3545;
}

.highlight-toolbar-btn-remove:hover {
  background-color: #fff0f0;
}

.highlight-toolbar-btn-remove i {
  color: #dc3545;
}

/* ============================================
   Social Share Dropdown
   ============================================ */
.social-share-wrapper {
  position: relative;
}

.social-share-dropdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  margin-top: 0.5rem;
  background: #fff;
  border: 1px solid #e9eff3;
  border-radius: 12px;
  animation: socialShareFadeIn 0.15s ease-out;
}

@keyframes socialShareFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.social-share-link:hover {
  transform: scale(1.12);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: #fff;
}

/* X (Twitter) */
.social-share-link[title='X'] {
  background-color: #000;
}

/* Facebook */
.social-share-link[title='Facebook'] {
  background-color: #1877f2;
}

/* LinkedIn */
.social-share-link[title='LinkedIn'] {
  background-color: #0a66c2;
}

/* WhatsApp */
.social-share-link[title='WhatsApp'] {
  background-color: #25d366;
}

@media (max-width: 776px) {
  .uai.userway_dark {
    width: 35px !important;
    height: 35px !important;
    position: relative;
    top: -0.5rem;
    right: -0.7rem;
  }

  .site-header .access-icon:after,
  .site-header .divider {
    display: none;
  }

  .search-bar-wrap .ms-dropdown__menu {
    max-width: 100% !important;
  }

  .main-widget .d-flex.justify-content-between.align-items-center.mb-4 {
    flex-wrap: wrap;
  }

  .official-gazette-header .contact-link img {
    filter: unset;
  }

  .official-gazette-header .lang-option.opt-en {
    color: #3d6881;
  }

  .status-badge {
    white-space: nowrap !important;
  }

  .searchResults-card .d-flex.justify-content-between.align-items-center.mb-3 {
    flex-wrap: wrap;
  }

  .searchResults-card .dropdown {
    margin-top: 1rem;
  }

  .eservice-request-card {
    max-width: 100% !important;
  }
}

body,
p,
a,
.card-title,
.legislation-details .group-label,
.legislation-details .action-text,
.widget-tabs .nav-tabs .nav-link,
.form-control,
.form-label {
  font-size: 18px !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--moj-primary-color);
  color: white !important;
}

.fixed-sidebar {
  height: 100vh;
  overflow: auto;
  position: sticky;
  top: 0;
}

.widget-tabs .category-card-item .category-card span {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-tabs .category-card-item .category-card {
  min-height: 6.5rem;
  align-items: center;
}

/* Force black text on all descendants except links */
.force-black-text,
.force-black-text *:not(a) {
  color: #000 !important;
}

.lawPage-timeline .timeline-wrapper::before {
  background: unset !important;
  display: none !important;
}

.lawPage-timeline .timeline-line {
  border-top: 2px solid rgba(207, 217, 223, 1);
}

.lawPage-timeline .timeline-card {
  border: 1px solid #d9d9d9;
  box-shadow: 0px 2px 3px 0px #848484;
  min-height: auto;
  cursor: pointer;
}

.lawPage-timeline .accordion .timeline-card p {
  text-align: center !important;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moj-black-color) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
}

.lawPage-timeline .accordion .timeline-dot {
  background: var(--moj-white-color) !important;
  border: 1px solid rgba(207, 217, 223, 1);
  color: var(--moj-black-color);
  font-size: 0.875rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 1.2rem;
  transform: unset;
}

.lawPage-timeline .nav-link.active .timeline-card {
  border: 2px solid var(--moj-secondary-color) !important;
  box-shadow: none !important;
  background: var(--moj-white-color);
}

.lawPage-timeline .nav-link.active .timeline-dot {
  background: var(--moj-secondary-color) !important;
  color: var(--moj-white-color) !important;
  transform: unset;
}

.lawPage-timeline .timlineTab-info .btn-brand {
  background-color: var(--moj-primary-color);
  color: white;
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0.5rem 1rem;
}

.lawPage-timeline .timlineTab-info .btn-brand:hover {
  background-color: var(--moj-secondary-color);
}

.lawPage-timeline .timlineTab-info .btn-brand i {
  color: white !important;
}

.new-line-print-mode {
  break-after: page;
}

/* 22-07-2026 */
.heroBg-wraper {
  min-height: 320px;
}

.hero-section {
  bottom: -1rem;
}

.hero-content {
  padding-top: 8.3rem;
}

.amendments {
  padding-top: 5rem;
}

.Legislation-info {
  font-stretch: extra-condensed;
}

.article-text td h1 {
  font-size: 1rem;
  font-weight: normal;
}

.card-body {
  font-stretch: extra-condensed;
}

.amendments .timeline-section .timeline-line {
  border-top: 3px solid rgba(207, 217, 223, 1);
}

.amendments .timeline-section .swiper-button-next,
.amendments .timeline-section .swiper-button-prev {
  background: #ececec;
}

.amendments .timeline-section .timeline-dot {
  outline: 2px solid white;
}

.amendments .timeline-section .swiper-slide-active .timeline-dot {
  outline: 1px solid var(--moj-primary-color);
  border: 3px solid white;
  transform: unset;
}

.amendments .timeline-section .card-title {
  opacity: 1;
  color: var(--moj-primary-color);
}

.amendments .timeline-section .swiper-slide-active .timeline-card {
  transform: unset;
  background: #f4f6f8;
}

.amendments .timeline-section .timeline-card {
  background: var(--moj-white-color);
  border: 1px solid #d8d8d8;
  border-radius: 0.8rem;
}

.amendments .timeline-section .timeline-card .card-footer {
  color: var(--moj-primary-color);
  margin-top: 1rem;
  border-top: 1px solid #d8d8d8;
  padding-top: 0.8rem;
  font-size: 0.875rem !important;
}
.amendments .timeline-section .swiper-slide-active .timeline-date {
  margin-top: 1.7rem;
}

.amendments .timeline-section .card-title {
  min-height: 6rem;
}

.amendments .timeline-section .timeline-date {
  color: rgb(162 162 162);
  text-align: center;
  font-size: 1.2rem;
  margin-top: 1.3rem;
}

.amendments .timeline-section .swiper-slide-active .timeline-date {
  color: var(--moj-primary-color);
}

.amendments .timeline-wrapper {
  padding: 1rem 0.3rem 4rem 0.3rem;
}

/*new Home page styles start 11Aug2026*/

.newhome-banner {
  background-color: #f8f9fa;
  background-image: url('../img/Msheireb-Downtown-Doha.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.newhome-banner .banner-hero {
  position: relative;
  padding: 2rem 0;
}

.newhome-banner .banner-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  z-index: 0;
  /*background: linear-gradient(to left, rgba(246, 248, 251, 1) 46%, rgba(246, 248, 251, 0.85) 61%, rgba(246, 248, 251, 0) 90%);*/
}

.newhome-banner .main-title {
  color: #113f5f;
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.newhome-banner .sub-title {
  color: #113f5f;
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.newhome-banner .description {
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 600;
  margin-bottom: 1rem;
}

.newhome-banner .action-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.newhome-banner .btn {
  padding: 0.6rem 1.8rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newhome-banner .btn-primary-custom {
  background-color: #113f5f;
  color: var(--moj-white-color);
  border: 2px solid #113f5f;
}

.newhome-banner .btn-primary-custom:hover {
  background-color: #0c2d44;
  color: var(--moj-white-color);
}

.newhome-banner .btn-primary-custom .arrow-icon {
  font-size: 0.8rem;
  margin-left: 10px;
  /* Space between text and icon in RTL */
  margin-top: 3px;
}

.newhome-banner .btn-outline-custom {
  background-color: transparent;
  color: #113f5f;
  border: 1px solid #113f5f;
}

.newhome-banner .btn-outline-custom:hover {
  background-color: #113f5f;
  color: var(--moj-white-color);
}

.newhome-banner .watermark {
  color: var(--moj-white-color);
  font-size: 0.85rem;
  opacity: 0.8;
  display: inline-block;
}

.newhome-banner .features-wrapper {
  position: relative;
  z-index: 10;
}

.newhome-banner .features-bar {
  background-color: #fbfcfc;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.04);
  padding: 1.5rem 0;
}

.newhome-banner .feature-item {
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  justify-content: space-between;
}

.newhome-banner .icon-box {
  color: #113f5f;
  font-size: 2.2rem;
  line-height: 1;
}

.newhome-banner .text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newhome-banner .feature-title {
  color: #113f5f;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.newhome-banner .feature-desc {
  color: #6c757d !important;
  font-size: 1rem !important;
  font-weight: normal;
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.why-qatar-section {
  padding: 4rem 0;
  background-color: #f4f5f5;
  margin-top: 0.5rem;
}

.section-header h2 {
  color: #113f5f;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.separator {
  width: 60px;
  height: 1px;
  background-color: #d1d5db;
  margin: 10px auto 30px auto;
  position: relative;
}

.separator::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  background-color: white;
  transform: rotate(45deg);
  top: -3px;
  left: 50%;
  margin-left: -3.5px;
  outline: 1px solid #113f5f;
}

.why-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background-color: var(--moj-white-color);
  padding: 5px;
}

.why-card .bg-image img {
  background-size: cover;
  border-radius: 10px;
}

.why-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 7%,
    rgba(255, 255, 255, 0.8) 39%,
    transparent 79%
  );
  z-index: 2;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why-card .icon-box {
  font-size: 2.2rem;
  color: #113f5f;
  margin-bottom: 12px;
}

.why-card .card-title {
  color: #113f5f;
  font-size: 1rem !important;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 1;
}

.why-card .card-desc {
  color: var(--moj-primary-color);
  font-size: 0.85rem !important;
  width: 80%;
  margin-right: auto;
  text-align: start;
}

.why-card.clickable {
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.why-card.clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.why-qatar-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 63, 95, 0.55);
  backdrop-filter: blur(3px);
  z-index: 1055;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: whyQatarFadeIn 0.25s ease;
}

.why-qatar-modal {
  position: relative;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-width: 540px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px 32px 32px;
  text-align: center;
  animation: whyQatarSlideUp 0.3s ease;
}

.why-qatar-modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background-color: #f1f3f5;
  color: #113f5f;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.why-qatar-modal-close:hover {
  background-color: #113f5f;
  color: #ffffff;
}

.why-qatar-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 14px;
}

.why-qatar-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #eef3f7;
  color: #113f5f;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.why-qatar-modal-title {
  color: #113f5f;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
}

.why-qatar-modal-desc {
  color: var(--moj-primary-color);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.why-qatar-modal-details {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.9;
  margin-bottom: 0;
  text-align: start;
}

@keyframes whyQatarFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes whyQatarSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-areas-section {
  padding: 3rem 0;
  background-color: #f4f5f5;
  margin-top: 0.5rem;
}

.area-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  position: relative;
  border: 1px solid #f1f1f1;
}

.area-card .card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.area-card .card-content {
  padding: 35px 20px 20px;
  text-align: center;
  position: relative;
}

.area-card .icon-badge {
  position: absolute;
  top: -28px;
  left: 25px;
  width: 56px;
  height: 56px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1.6rem;
  color: #113f5f;
}

.area-card .area-title {
  color: #113f5f;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.area-card .area-desc {
  color: #6c757d;
  font-size: 0.85rem !important;
  font-weight: normal;
  margin-bottom: 0;
  min-height: 2.5rem;
}

.why-qatar-section .owl-nav button,
.main-areas-section .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background-color: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #113f5f !important;
  font-size: 1rem !important;
  transition: all 0.3s ease;
}

.why-qatar-section .owl-nav button:hover .main-areas-section .owl-nav button:hover {
  background-color: #113f5f !important;
  color: #ffffff !important;
}

.why-qatar-section .owl-carousel .owl-nav button.owl-prev,
.main-areas-section .owl-carousel .owl-nav button.owl-prev {
  right: -45px;
}

.why-qatar-section .owl-carousel .owl-nav button.owl-next,
.main-areas-section .owl-carousel .owl-nav button.owl-next {
  left: -45px;
}

.why-qatar-section .owl-dots,
.main-areas-section .owl-dots {
  display: none !important;
}

.why-qatar-section .owl-nav button {
  display: none !important;
}

.investment-details-wrapper h2,
.investment-details-wrapper h3,
.investment-details-wrapper h4 {
  color: #113f5f;
  font-weight: 700;
}

.journey-section {
  padding: 2rem 0;
  background-color: #e9e9e9;
}

.journey-section .timeline-container {
  position: relative;
}

.journey-section .dashed-line {
  border-top: 1px dashed #b5c2cb;
  position: relative;
}

.journey-section .dashed-line:after {
  content: '';
  background-color: #8d6402;
  width: 5px;
  height: 5px;
  border-radius: 100%;
  left: -3px;
  position: absolute;
  top: -3px;
}

.journey-section .dashed-line:before {
  content: '';
  background-color: #8d6402;
  width: 5px;
  height: 5px;
  border-radius: 100%;
  right: -3px;
  position: absolute;
  top: -3px;
}

.journey-section .timeline-step {
  display: flex;
  align-items: center;
  position: relative;
}

.journey-section .step-icon {
  width: 50px;
  min-width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  font-size: 1.3rem;
  color: #113f5f;
  position: relative;
}

.journey-section .step-number {
  font-size: 1.2rem;
  color: #8d6402;
  font-weight: 700;
  margin-bottom: 5px;
}

.journey-section .step-title {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #113f5f;
}

.journey-section .step-desc {
  font-size: 0.85rem !important;
  color: #6c757d;
  line-height: 1.5;
}

.journey-section .btn-dark-blue {
  background-color: #113f5f;
  color: #ffffff;
  border-radius: 6px;
  padding: 10px 25px;
  font-weight: 600;
  transition: 0.3s ease;
}

.journey-section .btn-dark-blue:hover {
  background-color: #0c2d44;
  color: #ffffff;
}

.facts-legal-section .content-panel {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
  margin: 2rem 0;
}

.facts-legal-section .panel-title {
  font-size: 1.4rem;
  color: #113f5f;
}

.facts-legal-section .panel-subtitle {
  font-size: 0.9rem !important;
  color: #6c757d;
  font-weight: 400;
}

.facts-legal-section .stat-card {
  background-color: #f8f7f5;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #f2eee8;
  box-shadow: 0px 0px 5px 0px #80808054;
  margin-top: 1rem;
}

.facts-legal-section .stat-value {
  font-size: 2.2rem;
  color: #113f5f;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.facts-legal-section .stat-title {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #113f5f;
}

.facts-legal-section .stat-desc {
  font-size: 0.75rem !important;
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  flex-grow: 1;
}

.facts-legal-section .stat-icon {
  font-size: 1.8rem;
  color: #113f5f;
  margin-top: auto;
}

.facts-legal-section .source-text {
  font-size: 1rem;
  color: black;
  text-align: center;
}

.facts-legal-section .custom-accordion .accordion-item {
  border: none;
  background-color: #f8f7f5;
  margin-bottom: 8px;
  border-radius: 6px !important;
  overflow: hidden;
}

.facts-legal-section .custom-accordion .accordion-button {
  background-color: transparent;
  color: #113f5f;
  font-size: 0.95rem;
  box-shadow: none;
  padding: 12px 20px;
  border: 1px solid #f2eee8;
  box-shadow: 0px 0px 5px 0px #80808054;
}

.facts-legal-section .custom-accordion .accordion-button:not(.collapsed) {
  background-color: #f8f7f5;
  color: #113f5f;
}

.facts-legal-section .custom-accordion .accordion-button::after {
  background-size: 1rem;
}

.facts-legal-section .custom-accordion .accordion-body {
  padding: 5px;
  font-size: 0.85rem;
  color: #4a4a4a;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
}

.facts-legal-section .custom-accordion .accordion-header {
  margin-bottom: 0;
  border-radius: 5px;
  overflow: hidden;
}

.facts-legal-section .framework-img {
  height: 100%;
  min-height: 250px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.facts-legal-section .view-all-link {
  color: #113f5f;
  font-weight: 700;
  font-size: 0.9rem !important;
  text-decoration: none;
  display: flex;
  justify-content: end;
}

.facts-legal-section .view-all-link:hover {
  text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1400px) {
  .owl-carousel .owl-nav button.owl-prev {
    right: 0px;
  }

  .owl-carousel .owl-nav button.owl-next {
    left: 0px;
  }
}

@media (max-width: 991px) {
  .newhome-banner .banner-overlay {
    width: 80%;
  }

  .newhome-banner .main-title {
    font-size: 2.8rem;
  }

  .why-qatar-section .owl-nav button {
    display: block !important;
  }

  .why-qatar-section .owl-carousel .owl-nav button.owl-prev,
  .main-areas-section .owl-carousel .owl-nav button.owl-prev {
    right: 0px;
  }

  .why-qatar-section .owl-carousel .owl-nav button.owl-next,
  .main-areas-section .owl-carousel .owl-nav button.owl-next {
    left: 0px;
  }
}

@media (max-width: 992px) {
  .newhome-banner .banner-overlay {
    width: 100%;
    background: linear-gradient(to top, rgb(246 248 251 / 79%) 0%, rgb(246 248 251) 100%);
  }

  .newhome-banner .banner-content {
    text-align: center;
  }

  .newhome-banner .action-buttons {
    justify-content: center;
  }

  .newhome-banner .watermark {
    display: none;
  }

  .newhome-banner .features-wrapper {
    margin-top: 0;
  }

  .newhome-banner .features-bar {
    border-radius: 0;
  }

  .newhome-banner .feature-item {
    flex-direction: column;
    text-align: center;
    border-left: none !important;
    border-bottom: 1px solid #e0e5eb;
    padding: 1.5rem;
  }

  .newhome-banner .feature-item:last-child {
    border-bottom: none;
  }

  .newhome-banner .icon-box {
    margin-left: 0;
    margin-top: 15px;
  }

  .framework-img {
    margin-bottom: 20px;
  }

  .journey-section .timeline-step {
    display: block;
    text-align: center;
  }

  .journey-section .step-icon {
    margin: auto !important;
    margin-bottom: 1rem !important;
  }

  .journey-section .dashed-line {
    border-right: 1px dashed #b5c2cb;
    position: relative;
    height: 4rem;
    margin: auto;
    text-align: center;
    width: 0;
  }

  .journey-section .dashed-line {
    margin-bottom: 1rem;
  }

  .journey-section .dashed-line:after {
    top: unset;
    bottom: -3px;
  }
}

/*new Home page styles End 11Aug2026*/

.homepage .icon-search-btn {
  font-size: 1.8rem !important;
  margin-bottom: 0.8rem;
}

.search-bar-wrap button i {
  font-size: 1.5rem;
}

@media (max-width: 991px) {
  .navbar-custom {
    flex-wrap: wrap;
    margin-top: 1rem;
  }

  .lang-switcher {
    width: 100%;
  }

  .btn-logout,
  .lang-dropdown {
    width: 100%;
    justify-content: center;
  }
}

/*------------27/8/2026-------------------*/

.moj-services-wrapper {
  background-color: var(--moj-bg-light);
  min-height: 100vh;
  padding: 1.5rem;
}

.moj-services-wrapper .card {
  border-radius: var(--card-radius);
  border: 1px solid var(--moj-dunemidAsh-color);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.02);
  background-color: var(--moj-white-color);
}

.moj-services-wrapper .top-nav-tabs .nav-link {
  color: var(--moj-primary-color);
  border: none;
  border-top-left-radius: 0.7rem;
  border-top-right-radius: 0.7rem;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease-in-out;
  border-bottom: 1px solid transparent;
}

.moj-services-wrapper .top-nav-tabs .nav-link i {
  color: var(--moj-secondary-color);
}

.moj-services-wrapper .top-nav-tabs .nav-link.active {
  background-color: #cfd9df;
  color: var(--moj-secondary-color);
  border-bottom: 1px solid var(--moj-navy-color);
}

.moj-services-wrapper .card {
  border-color: #cfd9df66;
  border-radius: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.moj-services-wrapper .badge-count {
  background-color: var(--moj-navy-color);
  color: var(--moj-white-color);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.moj-services-wrapper .btn-primary-custom {
  background-color: var(--moj-white-color);
  border: 1px solid #9eb3c0;
  color: var(--moj-secondary-color);
  border-radius: var(--btn-radius);
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.moj-services-wrapper .btn-primary-custom:hover {
  background-color: var(--moj-primary-color);
  color: var(--moj-white-color);
}

/* ============================================
   Search Mode Selector & Guide
   ============================================ */
.search-mode-help-btn {
  border: none;
  background: transparent;
  color: var(--moj-secondary-color, #8a1538);
  font-size: 1.05rem;
  padding: 0.15rem 0.35rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.search-mode-help-btn:hover,
.search-mode-help-btn:focus {
  background: rgba(138, 21, 56, 0.08);
  transform: scale(1.12);
  outline: none;
}

.search-mode-guide-modal {
  max-width: 720px;
}

.smg-mode-card {
  border: 1px solid #eaeaea;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background: var(--moj-white-color, #fff);
  transition: border-color 0.2s;
}

.smg-mode-card:hover {
  border-color: rgba(138, 21, 56, 0.25);
}

.smg-mode-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  background: var(--moj-secondary-color, #8a1538);
}

.smg-badge {
  display: inline-block;
  margin-inline-start: 0.5rem;
  padding: 0.1rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  background: #198754;
  border-radius: 1rem;
  vertical-align: middle;
}

.smg-best-for {
  margin: 0.25rem 0 0;
  padding-inline-start: 1.25rem;
  color: #495057;
}

.smg-best-for li {
  margin-bottom: 0.15rem;
}

.smg-table {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.smg-table thead th {
  background: #f8f9fa;
  font-weight: 600;
  white-space: nowrap;
}

.smg-table td {
  vertical-align: top;
}

.smg-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #856404;
  background: #fff3cd;
  border: 1px solid #ffecb5;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
}

.smg-note i {
  margin-top: 0.1rem;
}

.smg-stars {
  color: #f5a623;
  font-size: 0.75rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.moj-services-wrapper .search-filter-container {
  margin-bottom: 1.5rem;
}

.moj-services-wrapper .search-filter-container .input-group .form-control {
  outline: none !important;
  box-shadow: none !important;
}

.moj-services-wrapper .search-filter-container .input-group {
  border: 1px solid #cfd9df99;
  border-radius: 10px;
  height: 45px;
  overflow: hidden;
  font-size: 14px;
}

.moj-services-wrapper .search-filter-container .form-select {
  font-size: 14px;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238A1538' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.moj-services-wrapper .search-filter-container .input-group a {
  background-color: var(--moj-white-color);
  color: var(--moj-secondary-color);
}

.moj-services-wrapper .search-filter-container .form-select {
  border: 1px solid #cfd9df99;
  border-radius: 10px;
  height: 45px;
}

.moj-services-wrapper .table-section-title {
  background-color: #cfd9df;
  color: var(--moj-navy-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--btn-radius);
  font-size: 1rem;
  display: flex;
  align-items: center;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.moj-services-wrapper .table-section-title .badge {
  background-color: #6e8ea0;
  color: var(--moj-white-color);
  font-size: 14px;
  border-radius: 50%;
  width: 24px;
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 0.5rem;
}

.moj-services-wrapper .custom-table {
  font-size: 0.85rem;
  vertical-align: middle;
}

.moj-services-wrapper .custom-table th {
  color: #3d6881;
  border-bottom: none;
  font-weight: 300;
  background: transparent;
}

.moj-services-wrapper .custom-table td {
  padding: 0.5rem 0;
  border-bottom: none;
  color: var(--moj-navy-color);
}

.moj-services-wrapper .custom-table .view-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid #6e8ea0;
  background: #cfd9df66;
  color: var(--moj-secondary-color);
  border-radius: 5px;
  padding: 5px 15px;
  font-size: 16px;
  font-weight: 400;
}

.moj-services-wrapper .custom-table .view-btn:hover {
  background-color: #6e8ea0;
  color: var(--moj-white-color);
}

.moj-services-wrapper .custom-table tr:nth-child(odd) td {
  background: #cfd9df33;
}

.moj-services-wrapper .custom-table .view-btn i {
  line-height: 0;
}

.moj-services-wrapper .moj-badge-warning {
  background-color: var(--moj-yellowLight-color);
  color: #d97706;
  border: 1px solid #d97706;
  border-radius: 2rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.moj-services-wrapper .moj-badge-success {
  background-color: var(--moj-successLight-color);
  color: #065f46;
  border: 1px solid var(--moj-success-color);
  border-radius: 2rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.moj-services-wrapper .moj-badge-info {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #93c5fd;
  border-radius: 2rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.moj-services-wrapper .service-sidebar {
  background: #cfd9df33;
  border-radius: var(--card-radius);
  border: 1px solid #cfd9df66;
  overflow: hidden;
}

.moj-services-wrapper .sidebar-header {
  padding: 1rem;
  font-weight: 500;
  font-size: 18px;
  color: var(--moj-navy-color);
  display: flex;
  align-items: center;
}

.moj-services-wrapper .service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  color: var(--moj-primary-color);
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
  margin: 0 0.5rem;
  border-bottom: 1px solid #cfd9df;
}

.moj-services-wrapper li:hover .service-item,
.moj-services-wrapper li.active .service-item,
.moj-services-wrapper li:hover,
.moj-services-wrapper li.active {
  background-color: var(--moj-white-color);
  color: var(--moj-secondary-color);
}

.moj-services-wrapper .service-item i {
  color: var(--moj-secondary-color);
}

.moj-services-wrapper .service-item .service-badge {
  background-color: #6e8ea0;
  color: var(--moj-white-color);
  font-size: 14px;
  border-radius: 50%;
  width: 24px;
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.moj-services-wrapper .service-item.active .service-badge {
  background-color: var(--moj-primary-color);
  color: var(--moj-text-white);
}

.request-section .page-title {
  color: var(--moj-navy-color);
  font-weight: 600;
  font-size: 24px;
}

.request-section .search-box-wrapper {
  background: var(--moj-white-color);
  border: 1px solid var(--moj-dunemidAsh-color);
  border-radius: 4px;
  padding: 0.4rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.02);
}

.request-section .search-box-wrapper input {
  border: none;
  box-shadow: none;
  font-size: 14px;
  background: transparent;
}

.request-section .search-box-wrapper input:focus {
  outline: none;
  box-shadow: none;
}

.request-section .search-box-wrapper .search-icon {
  color: var(--moj-secondary-color);
  font-size: 1rem;
}

.request-section .accordion {
  --bs-accordion-bg: var(--moj-white-color);
  --bs-accordion-border-color: var(--moj-dunemidAsh-color);
  --bs-accordion-border-radius: var(--card-radius);
  --bs-accordion-inner-border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.request-section .accordion-item {
  border: 1px solid #cfd9df66;
  overflow: hidden;
  box-shadow: 0px 4px 4px 0px #00000014;
  border-radius: 10px;
}

.request-section .accordion-button {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: #0d4261;
  font-size: 1rem;
  background-color: var(--moj-white-color);
  box-shadow: none !important;
}

.request-section .accordion-button:not(.collapsed) {
  background-color: var(--moj-white-color);
  color: var(--moj-navy-color);
}

.request-section .accordion-button::after {
  background-image: none !important;
  content: '\2b';
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moj-navy-color);
  transition: transform 0.2s ease;
  font-family: 'Font Awesome 6 Free';
}

.request-section .accordion-button:not(.collapsed)::after {
  content: '\f068';
  transform: none;
}

/* Custom Layout for Title Badge & Text inside Accordion Header */
.request-section .accordion-header-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.request-section .service-count-badge {
  background-color: var(--moj-navy-color);
  color: var(--moj-white-color);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.request-section .accordion-body {
  padding: 1.5rem;
  background-color: var(--moj-white-color);
  padding-top: 0.5rem;
}

.request-section .service-sub-card {
  background: #cfd9df33;
  border: 1px solid #cfd9df;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--moj-text-color);
  transition: all 0.2s ease;
  height: 100%;
}

.request-section .service-sub-card:hover {
  border-color: var(--moj-primaryLight-color);
  background-color: #ffffff;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.04);
}

.request-section .service-sub-icon {
  background-color: #cfd9df;
  color: var(--moj-secondary-color);
  width: 34px;
  height: 34px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.request-section .service-sub-icon i {
  line-height: 0;
}

.request-section .service-sub-title {
  font-size: 1rem;
  font-weight: 400;
  color: #0d4261;
  line-height: 1.4;
}

.request-section .service-arrow {
  color: var(--moj-secondary-color);
  font-size: 0.9rem;
  font-weight: bold;
}

.section-info h2 {
  color: var(--moj-navy-color);
  font-weight: 600;
  font-size: 24px;
}

.section-info p {
  color: #666666;
  font-size: 1rem;
}

.legislation-details.project-rating .card {
  border: 1px solid #cfd9df66;
  border-radius: 10px;
}

.legislation-details.project-rating .card p,
.legislation-details.project-rating .card li {
  color: var(--moj-navy-color);
}

.legislation-details.project-rating .card ul {
  padding: 0 1.3rem;
}

.legislation-details.project-rating .card ul li::marker {
  color: var(--moj-secondary-color);
}

.project-rating .btn-brand-outline {
  background-color: var(--moj-white-color);
  color: var(--moj-navy-color);
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--moj-primary-color);
}

.project-rating .btn-brand-outline:hover {
  background-color: var(--moj-navyLight-trans);
}

.consultation-widget {
  background: white;
  padding: 0.5rem;
}

.consultation-widget .nav-tabs {
  border-bottom: 1px solid #e9ecef;
  display: flex;
  margin-bottom: 0;
}

.consultation-widget .nav-item {
  flex: 1;
}

.consultation-widget .nav-link {
  width: 100%;
  text-align: center;
  padding: 0.5rem;
  color: #6c757d;
  font-weight: 600;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
  background-color: transparent;
}

.consultation-widget .nav-link:hover:not(.active) {
  color: #495057;
  border-bottom-color: #dee2e6;
}

.consultation-widget .nav-link.active {
  color: #1b3664;
  background-color: transparent;
  border-bottom: 2px solid #1b3664;
}

.consultation-widget .widget-list {
  padding-top: 1.5rem;
}

.consultation-widget .list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.consultation-widget .list-item.highlighted {
  background-color: #f2f6fc;
  border-color: #f2f6fc;
}

.consultation-widget .list-item:hover {
  background-color: #f8f9fa;
}

.consultation-widget .list-item.highlighted:hover {
  background-color: #e6edf7;
}

.consultation-widget .item-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.consultation-widget .item-title {
  color: #1b3664;
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0;
}

.consultation-widget .item-meta {
  color: #6c757d;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.consultation-widget .icon-calendar {
  font-size: 0.8rem;
}

.consultation-widget .icon-chevron {
  color: #1b3664;
  font-size: 1rem;
  font-weight: bold;
}

.date-expire {
  display: flex;
  align-items: center;
  font-size: 014px;
  color: #6c757d;
}

.articles-widget {
  background-color: #fff;
}

.articles-widget .article-item {
  border: 1px solid #eaedf2;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

.articles-widget .article-item:hover {
  border-color: #d1d7e0;
}

.articles-widget .article-header {
  position: relative;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.articles-widget .header-toggle-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  z-index: 1;
  cursor: pointer;
}

/* Header Content (Passes click through to toggle button) */
.articles-widget .header-right {
  display: flex;
  align-items: center;
  flex-grow: 1;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.articles-widget .icon-doc {
  color: #243757;
  font-size: 1.25rem;
  margin-left: 0.75rem;
}

.articles-widget .article-title {
  color: #243757;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.articles-widget .header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.articles-widget .btn-add-note {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid #dce1e7;
  border-radius: 50rem;
  background-color: #fff;
  color: #243757;
  text-decoration: none;
  font-size: 0.9rem !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.articles-widget .btn-add-note:hover {
  background-color: #f4f6f9;
  border-color: #c4cadd;
  color: #16243d;
}

.articles-widget .btn-add-note .bi-chat {
  font-size: 1.1rem;
}

.articles-widget .icon-chevron {
  color: #243757;
  font-size: 1rem;
  transition: transform 0.3s ease;
  font-weight: bold;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.articles-widget .header-toggle-btn[aria-expanded='true'] ~ .header-left .icon-chevron {
  transform: rotate(180deg);
}

.section-header h2 {
  color: #063b82;
  font-size: 2.5rem;
}

.why-card .card-desc {
  width: 100% !important;
  text-align: center !important;
  font-size: 1rem !important;
  color: #063b82;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  min-height: 95px;
}

.why-card .card-title {
  color: #063b82;
  font-size: 1.25rem !important;
}

.why-card .bg-image img {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.why-card .card-overlay {
  position: relative !important;
  background: white;
  box-shadow: 0px 20px 19px 11px #fffffff5;
  padding-bottom: 5px;
}

.why-card .icon-box {
  color: #063b82 !important;
  font-size: 2.5rem;
}

.why-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.area-card .icon-badge {
  left: 50%;
  font-size: 1.6rem;
  color: #063b82;
  transform: translateX(-50%);
}

.area-card .area-title {
  color: #063b82;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  min-height: 45px;
}

.area-card .area-desc {
  color: #063b82;
  font-size: 1rem !important;
  font-weight: 300;
}

.area-card .icon-badge {
  color: #063b82;
}

.journey-section .step-title,
.journey-section .step-desc,
.journey-section .step-icon {
  color: #063b82 !important;
}

.journey-section .dashed-line {
  border: none;
}

.journey-section .dashed-line:after {
  content: '\f104';
  background: transparent;
  width: auto;
  height: auto;
  font-family: 'FontAwesome';
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #ae7228;
}

.journey-section .dashed-line:before {
  display: none;
}

.journey-section .step-number {
  color: #ae7228;
}

.journey-section {
  background: white !important;
}

.journey-section .step-icon {
  border: 1px solid #cbe2ef;
}

.facts-legal-section .stat-card {
  border: 1px solid #f2eee8;
  background-color: #fefefe;
  box-shadow: none !important;
}

.facts-legal-section .stat-icon {
  font-size: 1.8rem;
  color: #063b82;
  margin-top: 0.5rem;
  width: 50px;
  height: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  margin-bottom: 1rem;
  background: #e9f2ff;
}

.facts-legal-section .stat-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #063b82;
}

.facts-legal-section .stat-desc {
  font-size: 1rem !important;
  color: #063b82;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  flex-grow: unset;
}

.investment-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 25px;
  background:
    radial-gradient(
      ellipse at 48% 50%,
      rgba(62, 169, 229, 0.28) 0%,
      rgba(105, 193, 238, 0.18) 25%,
      rgba(184, 226, 248, 0.1) 45%,
      rgba(255, 255, 255, 0) 70%
    ),
    linear-gradient(90deg, #ffffff 0%, #f4fbff 25%, #eaf7ff 50%, #f6fbff 80%, #ffffff 100%);
}

.investment-section .iom-map-wrap {
  min-height: unset;
  background: transparent;
  border: none;
  text-align: center;
}

.investment-section .iom-map-wrap .iom-map {
  position: unset;
  inset: 0;
  width: auto;
  height: auto;
  padding: 0;
  max-height: 600px;
}

.investment-section .iom-legend-list {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

.investment-section .iom-swatch {
  border-radius: 100%;
}

.section-column .iom-legend {
  background: #fff;
  border: 1px solid #e3e8ec;
  border-radius: 1rem;
  padding: 0.5rem;
}

.investment-section .iom-details {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.investment-section .map-info .iom-title {
  color: #063b82;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.investment-section .iom-subtitle {
  color: #063b82;
  text-align: center;
}
.investment-section .iom-details .img-wraper {
  position: relative;
}

.investment-section .iom-details .img-wraper .iom-card-header {
  margin-top: -6rem;
  padding: 0.5rem;
  display: block;
}

.investment-section .iom-card-icon {
  background: transparent;
  color: #063b82;
  grid-row: unset;
  font-size: 1.2rem;
}

.investment-section .iom-card-label {
  color: #063b82;
  font-size: 1rem;
}

.investment-section .table-wraper {
  border-radius: 5px;
  border: 1px solid #e8edf0;
}

.investment-section .table-wraper table {
  border-color: #e8edf0;
}

.investment-section .iom-card-value,
.investment-section .iom-card-description {
  color: #063b82;
  font-size: 1rem;
}

.investment-section .table-wraper td {
  border-top: none;
}
.investment-section .iom-badge--usufruct {
  color: white;
  background: #ae7228;
}
.investment-section .iom-card-title {
  flex: unset;
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}
.investment-section .iom-zone-card {
  border-inline-end: 4px solid #8a1538;
  border-inline-start: none;
}
.investment-section .map-info {
  margin-top: 2rem;
}
.investment-section .iom-card-action:hover {
  color: white !important;
  background-color: var(--moj-secondary-color);
}
.investment-section .iom-point--usufruct .icon {
  color: #ae7228;
}
.investment-section .iom-point--usufruct .iom-point-label {
  color: #ae7228;
  background: white;
}
.investment-section .iom-point--usufruct.is-selected .iom-point-label,
.investment-section .iom-point--usufruct.is-hovered .iom-point-label {
  background: #ae7228;
  color: white;
}
.investment-section .iom-point--freehold .icon {
  color: #1873c5;
}
.investment-section .iom-point--freehold .iom-point-label {
  color: #1873c5;
  background: white;
}
.investment-section .iom-swatch--freehold {
  background: #1873c5;
}
.investment-section .iom-swatch--usufruct {
  background: #ae7228;
}
.investment-section .iom-point--freehold.is-selected .iom-point-label,
.investment-section .iom-point--freehold.is-hovered .iom-point-label {
  background: #1873c5;
  color: white;
}
.investment-section .iom-point .icon {
  font-size: 1.5rem;
  line-height: 0;
}
.investment-section .iom-badge {
  font-size: 1rem;
  font-weight: normal;
  padding: 0.3rem 0.75rem;
  border-radius: 7px;
  white-space: nowrap;
}
.investment-section .iom-legend {
  padding: 1rem;
  border-radius: 8px;
}

.investment-section .iom-badge--freehold {
  background: #1873c5;
  color: white;
}

.why-qatar-modal h2,
.why-qatar-modal h3 {
  color: #063b82;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.why-qatar-modal ol {
  padding-right: 1rem;
  padding-left: 1rem;
}

.why-qatar-modal ol p {
  color: #063b82;
  margin-bottom: 0.5rem;
  line-height: normal !important;
}

.why-qatar-modal p a {
  font-size: 15px !important;
  color: #063b82;
  line-height: normal !important;
}

.why-qatar-modal p a:hover {
  color: #8a1538 !important;
}

.why-qatar-modal .why-qatar-modal-icon {
  margin-bottom: 0;
}

.why-qatar-modal .why-qatar-modal-close {
  background: #8a1538;
}

.why-qatar-modal .why-qatar-modal-close {
  background: #8a1538;
  color: white;
}

.why-qatar-modal .why-qatar-modal-close i {
  line-height: 0;
}

.why-qatar-modal ol ::marker,
.why-qatar-modal .why-qatar-modal-details {
  color: #8a1538 !important;
}

.why-qatar-modal {
  padding: 0 !important;
}

.why-qatar-modal .modalWraper-img {
  position: relative;
}

.why-qatar-modal .modalWraper-img .why-qatar-modal-close {
  background: #cfd9df;
  color: #0d4261;
  position: absolute;
  z-index: 1;
  box-shadow: 0px 2px 4px 0px #00000040;
}

.why-qatar-modal .modalWraper-img .why-qatar-modal-close:hover {
  background: #0d4261;
  color: white;
}

.why-qatar-modal .why-qatar-modal-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0d4261;
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.why-qatar-modal .why-qatar-modal-header {
  flex-direction: row;
  padding: 10px;
  margin-bottom: 0;
  position: absolute;
  top: 13px;
}
.modal-inner {
  position: relative;
  padding: 2rem 0 1rem 0;
}
.why-qatar-modal h2,
.why-qatar-modal h3 {
  color: #0d4261 !important;
  margin: 0 0.8rem 0.8rem 0.8rem;
  text-align: start;
}

.why-qatar-modal ol li {
  display: flex;
}

.why-qatar-modal ol p {
  text-align: start;
}

.why-qatar-modal p a {
  color: #3d6881;
}
.why-qatar-modal ol {
  list-style: none;
  counter-reset: item;
}

.why-qatar-modal li {
  counter-increment: item;
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 10px;
}

.why-qatar-modal li::before {
  content: counter(item);
  width: 24px;
  display: inline-block;
  height: 24px;
  background: #cfd9df;
  border-radius: 100%;
  color: #3d6881;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.invesment-modal .why-qatar-modal {
  padding-top: 2rem !important;
}

.shawar-section .moj-services-wrapper {
  padding-top: 0 !important;
}

.shawar-section .request-section .search-box-wrapper {
  border: 1px solid #cfd9df99;
}

.shawar-section .request-section .search-box-wrapper input::placeholder {
  color: #999999;
}

.shawar-section .consultation-widget .nav-tabs {
  border-bottom: 1px solid #cfd9df;
}

.shawar-section .consultation-widget .nav-link.active {
  color: #8a1538;
  border-bottom: 3px solid #0d4261;
}

.shawar-section .consultation-widget .nav-link {
  color: #0d4261;
}

.shawar-section .consultation-widget {
  background: transparent;
  padding: 0;
}

.shawar-section .consultation-widget .list-item {
  border-radius: 0;
  margin: 0rem 0.5rem;
  border: none;
  border-bottom: 1px solid #cfd9df;
  padding: 0.5rem 0;
}

.shawar-section .consultation-widget .list-item.highlighted,
.shawar-section .consultation-widget .list-item.highlighted:hover {
  background-color: white;
  border-color: white;
  margin: 0.5rem 0rem;
  padding: 0.5rem;
}

.shawar-section .consultation-widget .list-item:hover {
  background-color: transparent;
}

.shawar-section .consultation-widget .list-item:last-child {
  border-bottom: none;
}

.shawar-section .consultation-widget .item-title {
  font-size: 1rem;
  color: #0d4261;
  margin-bottom: 0.5rem;
}

.shawar-section .consultation-widget .list-item.highlighted .item-title {
  color: #8a1538;
}

.shawar-section .consultation-widget .item-details {
  display: block;
  width: 100%;
}

.shawar-section .consultation-widget .item-meta {
  color: #666666;
  font-size: 0.875rem;
  justify-content: end;
}

.shawar-section .consultation-widget .item-meta i {
  color: #0d4261;
  font-size: 1.2rem;
}

.shawar-section .shawar-admin-controls.card {
  box-shadow: none !important;
}

.shawar-section .shawar-admin-controls .card-body {
  padding: 0 !important;
}

.shawar-section .shawar-admin-controls .admin-control-icon {
  background-color: #cfd9df;
  color: #0d4261;
  font-size: 1.2rem;
}

.shawar-section .shawar-admin-controls strong {
  font-size: 16px;
  font-weight: 400;
  color: #0d4261;
}

.shawar-section .shawar-admin-controls small {
  font-size: 14px;
  color: #666666;
}

.shawar-section .shawar-admin-controls .shawar-admin-info {
  border-left: 1px solid #cfd9df;
  padding-left: 1rem;
}

.shawar-section .shawar-admin-controls .group-by-switch .form-check-input:checked {
  background-color: #3d6881;
  border-color: #3d6881;
}

.shawar-section .shawar-admin-controls .sorted-btn {
  border: 1px solid #cfd9df;
  background: #cfd9df33;
  color: #0d4261 !important;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.shawar-section .project-rating .btn-brand-outline {
  border: 1px solid #9eb3c0;
}

.shawar-section .project-rating .item-meta,
.shawar-section .project-rating .date-expire {
  color: #0d4261;
  font-size: 1rem;
}

.shawar-section .project-rating .date-expire i {
  font-size: 1.2rem;
}

.shawar-section .project-rating .law-title {
  color: #000000;
  font-weight: 700;
  font-size: 22px;
}

.shawar-section .legislation-details .capsule-item {
  color: #0d4261;
}

.shawar-section .card-heading-leg h6 {
  color: #0d4261;
  font-size: 18;
  font-weight: 600;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

.shawar-section .articles-widget .icon-chevron,
.shawar-section .articles-widget .btn-add-note i {
  color: #8a1538;
}

.shawar-section .article-text {
  color: #0d4261;
  font-size: 1rem;
}

.iom-map-wrap .iom-point-label.iom-point--freehold {
  color: #1873c5;
}

.iom-map-wrap .iom-point-label {
  border-radius: 0.3rem;
}

.iom-map-wrap .iom-point .icon {
  font-size: 1.1rem;
}

.iom-map-wrap .iom-point-label.iom-point--freehold.is-selected {
  background: #1873c5;
  color: white;
}

.iom-map-wrap .iom-point-label.iom-point--usufruct.is-selected {
  color: white;
  background: #ae7228;
}

.iom-map-wrap .iom-point--freehold {
  color: #1873c5;
}

.why-qatar-section .why-card .bg-image img,
.main-areas-section .area-card img,
.why-qatar-modal .modalWraper-img img {
  object-fit: cover;
}

.why-qatar-section .why-card .bg-image,
.main-areas-section .area-card .card-img {
  position: relative;
}

.why-qatar-section .why-card .bg-image:after,
.main-areas-section .area-card .card-img:after {
  content: '';
  top: 0;
  bottom: 0;
  position: absolute;
  background: #cbc1c14f;
  width: 100%;
  height: 100%;
}

.shawar-section .moj-services-wrapper {
  padding-top: 0 !important;
}

.shawar-section .request-section .search-box-wrapper {
  border: 1px solid #cfd9df99;
}

.shawar-section .request-section .search-box-wrapper input::placeholder {
  color: #999999;
}

.shawar-section .consultation-widget .nav-tabs {
  border-bottom: 1px solid #cfd9df;
}

.shawar-section .consultation-widget .nav-link.active {
  color: #8a1538;
  border-bottom: 3px solid #0d4261;
}

.shawar-section .consultation-widget .nav-link {
  color: #0d4261;
}

.shawar-section .consultation-widget {
  background: transparent;
  padding: 0;
}

.shawar-section .consultation-widget .list-item {
  border-radius: 0;
  margin: 0rem 0.5rem;
  border: none;
  border-bottom: 1px solid #cfd9df;
  padding: 0.5rem 0;
}

.shawar-section .consultation-widget .list-item.highlighted,
.shawar-section .consultation-widget .list-item.highlighted:hover {
  background-color: white;
  border-color: white;
  margin: 0.5rem 0rem;
  padding: 0.5rem;
}

.shawar-section .consultation-widget .list-item:hover {
  background-color: transparent;
}

.shawar-section .consultation-widget .list-item:last-child {
  border-bottom: none;
}

.shawar-section .consultation-widget .item-title {
  font-size: 1rem;
  color: #0d4261;
  margin-bottom: 0.5rem;
}

.shawar-section .consultation-widget .list-item.highlighted .item-title {
  color: #8a1538;
}

.shawar-section .consultation-widget .item-details {
  display: block;
  width: 100%;
}

.shawar-section .consultation-widget .item-meta {
  color: #666666;
  font-size: 0.875rem;
  justify-content: end;
}

.shawar-section .consultation-widget .item-meta i {
  color: #0d4261;
  font-size: 1.2rem;
}

.shawar-section .shawar-admin-controls.card {
  box-shadow: none !important;
}

.shawar-section .shawar-admin-controls .card-body {
  padding: 0 !important;
}

.shawar-section .shawar-admin-controls .admin-control-icon {
  background-color: #cfd9df;
  color: #0d4261;
  font-size: 1.2rem;
}

.shawar-section .shawar-admin-controls strong {
  font-size: 16px;
  font-weight: 400;
  color: #0d4261;
}

.shawar-section .shawar-admin-controls small {
  font-size: 14px;
  color: #666666;
}

.shawar-section .shawar-admin-controls .shawar-admin-info {
  border-left: 1px solid #cfd9df;
  padding-left: 1rem;
}

.shawar-section .shawar-admin-controls .group-by-switch .form-check-input:checked {
  background-color: #3d6881;
  border-color: #3d6881;
}

.shawar-section .shawar-admin-controls .sorted-btn {
  border: 1px solid #cfd9df;
  background: #cfd9df33;
  color: #0d4261 !important;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.shawar-section .project-rating .btn-brand-outline {
  border: 1px solid #9eb3c0;
}

.shawar-section .project-rating .item-meta,
.shawar-section .project-rating .date-expire {
  color: #0d4261;
  font-size: 1rem;
}

.shawar-section .project-rating .date-expire i {
  font-size: 1.2rem;
}

.shawar-section .project-rating .law-title {
  color: #000000;
  font-weight: 700;
  font-size: 22px;
}

.shawar-section .legislation-details .capsule-item {
  color: #0d4261;
}

.shawar-section .card-heading-leg h6 {
  color: #0d4261;
  font-size: 18;
  font-weight: 600;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

.shawar-section .articles-widget .icon-chevron,
.shawar-section .articles-widget .btn-add-note i {
  color: #8a1538;
}

.shawar-section .article-text {
  color: #0d4261;
  font-size: 1rem;
}

.shawar-admin-controls .admin-control-icon {
  width: 2rem;
  height: 2rem;
  flex: unset;
  font-size: 1rem;
}

.shawar-page.shawar-section .shawar-mada-comments-header {
  border-bottom: none;
  gap: 0.3rem;
  margin-top: 1rem;
  padding-bottom: 0;
}

.shawar-page.shawar-section .shawar-mada-comments-header .header-icon {
  background: transparent;
  color: var(--moj-primary-color);
  width: unset;
  height: unset;
}

.shawar-page.shawar-section .shawar-user-comment-list {
  padding: 0 !important;
}

.shawar-page.shawar-section .shawar-user-comment-list .shawar-user-comment-item {
  border-radius: 0.3rem;
  border: 1px solid #cfd9df66;
  border-top-width: 3px;
}

.shawar-page.shawar-section .shawar-general-comment-header {
  border-bottom: 1px solid #cfd9df;
  padding-bottom: 0.5rem;
  justify-content: space-between;
}

.shawar-page.shawar-section .shawar-general-comment-header .user-avatar,
.shawar-page.shawar-section .shawar-user-comment-group-header .user-avatar {
  background: #cfd9df;
  color: #0d4261;
}

.shawar-page.shawar-section .shawar-general-comment-header .user-avatar i,
.shawar-page.shawar-section .shawar-user-comment-group-header .user-avatar i,
.shawar-page.shawar-section .shawar-general-comment-group-header .user-avatar i {
  line-height: 0;
  font-size: 1.2rem;
}
.shawar-page.shawar-section .shawar-general-comment-group-header .user-avatar {
  background: #cfd9df;
  color: #0d4261;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.shawar-page.shawar-section .shawar-comment-classification,
.shawar-page.shawar-section .comment-date {
  margin-bottom: 0;
  background: transparent;
  border: none;
  color: #0d4261;
  font-size: 14px;
  font-weight: 400;
  border-radius: 0;
}

.shawar-page.shawar-section .shawar-comment-classification i,
.shawar-page.shawar-section .comment-date i {
  color: #3d6881;
  font-size: 1rem;
}

.shawar-page.shawar-section .shawar-comment-classification {
  border-left: 1px solid #cfd9df;
}

.shawar-page.shawar-section .shawar-comment-actions .shawar-action-btn {
  background: #cfd9df99;
  border-radius: 4px;
  padding: 0.5rem 0.5rem;
  color: #0d4261;
}

.shawar-page.shawar-section .shawar-comment-actions .shawar-action-btn i {
  color: var(--moj-secondary-color);
}

.shawar-page.shawar-section .shawar-comment-text {
  color: #0d4261;
}

.shawar-page.shawar-section .shawar-comment-actions .shawar-action-btn.active {
  border: none;
  background: #3d6881;
  color: white;
  box-shadow: none;
}

.shawar-page.shawar-section .shawar-comment-actions .shawar-action-btn.active i {
  color: white;
}

.shawar-page.shawar-section .shawar-comment-closed {
  box-shadow: 0px 4px 4px 0px #00000014 !important;
  border: 1px solid #cfd9df66 !important;
  background: #cfd9df66 !important;
}

.shawar-page.shawar-section .shawar-comment-closed .shawar-general-comment-header .user-avatar {
  background: white !important;
  color: #0d4261 !important;
}

.shawar-page.shawar-section .shawar-general-comment-header .user-name {
  margin: 0 0.3rem;
}

.shawar-page.shawar-section .general-comments-header h5 {
  color: var(--moj-secondary-color);
  font-size: 18px;
}

.shawar-page.shawar-section .general-comments-header span {
  color: var(--moj-primary-color);
  width: unset;
  height: unset;
  flex: unset;
}

.shawar-page.shawar-section .shawar-user-comment-group .shawar-user-comment-item {
  border-top-width: 1px;
  margin: 0.8rem 0.8rem 0 0.8rem;
}

.shawar-page.shawar-section .shawar-user-comment-group .shawar-user-comment-item:last-child {
  margin-bottom: 1rem;
}

.financial-legislation-page {
  background: var(--moj-white-color);
  color: var(--moj-navy-color);
  padding: 3rem 0;
}

.financial-legislation-page *,
.financial-legislation-page *::before,
.financial-legislation-page *::after {
  box-sizing: border-box;
}

.financial-legislation-page > .container {
  max-width: 1180px;
}

.financial-page-heading {
  margin-bottom: 42px;
}

.financial-page-heading h1 {
  margin: 0 0 8px;
  color: var(--moj-navy-color);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
}

.financial-page-heading p {
  margin: 0;
  color: var(--moj-primaryLight-color);
  font-size: 16px;
  line-height: 1.8;
}

.financial-section {
  margin-bottom: 42px;
}

.financial-section-title {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  gap: 20px;
  margin-top: 4rem;
}

.financial-section-title::after {
  content: '';
  height: 1px;
  background: var(--moj-navyMid-trans);
  flex: 1;
  order: 2;
}

.financial-section-title h2 {
  position: relative;
  order: 1;
  flex: 0 0 auto;
  margin: 0;
  color: var(--moj-navy-color);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.financial-search-box .form-control,
.financial-search-box .form-select {
  height: 55px;
  border: 1px solid var(--moj-navyMid-trans);
  border-radius: 6px;
  background-color: var(--moj-white-color);
  color: var(--moj-navy-color);
  box-shadow: none;
  transition: 0.25s ease;
}

.financial-search-box .form-control {
  font-size: 16px;
  padding: 10px 18px;
}

.financial-search-box .form-control::placeholder {
  color: var(--moj-primaryLight-color);
  opacity: 0.85;
}

.financial-search-box .form-select {
  font-size: 15px;
  font-weight: 500;
  padding-right: 18px;
  padding-left: 45px;
}

.financial-search-box .form-select {
  background-position: left 1rem center;
}

.financial-search-box .form-control:focus,
.financial-search-box .form-select:focus {
  border-color: var(--moj-primary-color);
  box-shadow: 0 0 0 3px rgba(61, 104, 129, 0.08);
}

.authority-card {
  border: 1px solid var(--moj-navyLight-trans);
  border-radius: 7px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.authority-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(13, 66, 97, 0.07);
}

.authority-card-heading {
  position: relative;
  padding: 14px 25px;
}

.authority-card-heading::before {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: 8px;
  width: 5px;
  border-radius: 10px;
}

.authority-card-heading h3 {
  margin: 0;
  color: var(--moj-navy-color);
  font-size: 21px;
  font-weight: 700;
}

.authority-card-blue .authority-card-heading {
  background: #cfebf280;
}

.authority-card-blue .authority-card-heading::before {
  background: #009ec2;
}

.authority-card-blue.authority-card {
  background: #cfebf214;
}

.authority-card-red.authority-card {
  background: #8a153808;
}

.authority-card-red .authority-card-heading {
  background: #8a15381a;
}

.authority-card-red .authority-card-heading::before {
  background: var(--moj-secondary-color);
}

.authority-card-body {
  padding: 14px 25px 20px;
}

.authority-description {
  margin: 0 0 13px;
  color: var(--moj-primaryLight-color);
  font-size: 15px;
}

.authority-card-red .financial-text-link {
  color: var(--moj-secondary-color);
}

.authority-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.authority-links li {
  margin-bottom: 7px;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--moj-navy-color);
  font-size: 15px;
  font-weight: 600;
  transition: 0.2s ease;
}

.authority-links a:hover {
  color: var(--moj-primary-color);
  transform: translateX(-3px);
}

.authority-all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.authority-card-blue .authority-all-link {
  color: #008ab0;
}

.authority-card-red .authority-all-link {
  color: var(--moj-secondary-color);
}

.financial-table-wrapper {
  overflow: hidden;
}

.financial-table thead th {
  padding: 14px 18px;
  border: 0;
  background: linear-gradient(180deg, rgba(207, 217, 223, 0.55), rgba(234, 238, 240, 0.55));
  color: var(--moj-navy-color);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.financial-table thead th:first-child {
  border-radius: 0 6px 6px 0;
}

.financial-table thead th:last-child {
  border-radius: 6px 0 0 6px;
}

.financial-table-empty {
  padding: 24px 15px 20px;
  text-align: center;
  color: var(--moj-primaryLight-color);
  font-size: 15px;
}

.financial-section-footer {
  border-bottom: 1px solid var(--moj-navyMid-trans);
  padding: 17px 7px 18px;
}

.financial-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #008ab0;
  font-size: 15px !important;
  font-weight: 600;
  text-decoration: none;
}

.financial-text-link:hover {
  color: var(--moj-navy-color);
}

.sector-card {
  border: 1px solid var(--moj-navyLight-trans);
  border-radius: 7px;
  overflow: hidden;
  background: var(--moj-white-color);
  height: 100%;
  transition: 0.25s ease;
}

.sector-card:hover {
  box-shadow: 0 9px 28px rgba(13, 66, 97, 0.06);
  transform: translateY(-2px);
}

.sector-card-title {
  padding: 12px 20px;
  background: #cfebf273;
  color: var(--moj-navy-color);
  font-size: 18px;
  font-weight: 700;
}

.sector-card-body {
  padding: 10px 20px 14px;
}

.sector-card-body p {
  margin: 0 0 9px;
  color: var(--moj-primaryLight-color);
  font-size: 14px;
}

.sector-card-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #008ab0;
  text-decoration: none;
  font-size: 16px !important;
  font-weight: 600;
  margin-top: 1rem;
}

.financial-centre-item {
  display: flex;
  justify-content: center;
  min-height: 55px;
  padding: 20px 15px;
  text-decoration: none;
  border: 1px solid var(--moj-navyMid-trans);
  border-radius: 6px;
  background: #cfd9df2e;
  color: var(--moj-navy-color);
  font-size: 18px;
  font-weight: 500;
  transition: 0.25s ease;
}

@media (max-width: 1199.98px) {
  .financial-legislation-page > .container {
    max-width: 960px;
  }
}

@media (max-width: 991.98px) {
  .financial-legislation-page {
    padding-top: 30px;
  }

  .financial-page-heading {
    margin-bottom: 35px;
  }

  .financial-page-heading h1 {
    font-size: 32px;
  }

  .financial-section-title h2 {
    font-size: 22px;
  }

  .authority-card {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .financial-legislation-page {
    padding: 25px 0 40px;
  }

  .financial-page-heading {
    margin-bottom: 30px;
  }

  .financial-page-heading h1 {
    font-size: 27px;
  }

  .financial-page-heading p {
    font-size: 14px;
  }

  .financial-section {
    margin-bottom: 34px;
  }

  .financial-section-title {
    gap: 14px;
    margin-bottom: 18px;
  }

  .financial-section-title h2 {
    font-size: 19px;
  }

  .financial-search-box .form-control,
  .financial-search-box .form-select {
    height: 50px;
  }

  .authority-card-heading h3 {
    font-size: 18px;
  }

  .authority-card-heading,
  .authority-card-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .financial-table {
    min-width: 650px;
  }
}

@media (max-width: 575.98px) {
  .financial-page-heading h1 {
    font-size: 24px;
  }

  .financial-section-title {
    align-items: center;
  }

  .financial-section-title h2 {
    font-size: 18px;
  }

  .authority-links a {
    font-size: 14px;
  }

  .authority-all-link {
    margin-top: 18px;
  }
}

.moj-chatbot {
  min-height: 70vh;
  padding: 49px 0 50px;
  position: relative;
  color: var(--moj-navy-color);
}

.moj-chatbot .moj-chatbot-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.moj-chatbot .moj-chatbot-main {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  gap: 28px;
  padding-top: 115px;
}

.moj-chatbot .moj-chatbot-main::before {
  content: '';
  position: absolute;

  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 31px;
  width: 99vw;
  background: linear-gradient(180deg, #fbfcfd 0%, #f5f7f9 52%, #eef2f4 100%);
  z-index: -1;

  pointer-events: none;
}
.moj-chatbot .moj-chat-content,
.moj-chatbot .moj-avatar-column {
  position: relative;
  z-index: 1;
}
.moj-chatbot .moj-new-chat-btn {
  height: 45px;

  min-width: 145px;

  padding: 0 20px;

  border: 1px solid var(--moj-primary-color);

  background: var(--moj-white-color);

  color: var(--moj-navy-color);

  border-radius: 5px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 16px;

  font-size: 14px;

  transition: 0.25s ease;
}

.moj-chatbot .moj-new-chat-btn i {
  font-size: 20px;
}

.moj-chatbot .moj-new-chat-btn:hover {
  background: var(--moj-primary-color);
  color: var(--moj-white-color);
}

/* line below button */
.moj-chatbot .moj-chatbot-header-border {
  width: 100%;

  height: 1px;

  margin-top: 15px;

  background: #d6e0e5;
}
.moj-chatbot .moj-chatbot-main {
  display: flex;

  align-items: flex-end;

  gap: 28px;

  padding-top: 85px;
  background-color: white;
  isolation: unset;
  padding: 20px;
  border: solid 1px #cfd9df;
  border-radius: 8px;
  margin-top: 10px;
  min-height: 60vh;
}

.moj-chatbot .moj-chat-content {
  width: 100%;
  flex: 1 1 100%;

  min-width: 0;

  transition: all 0.35s ease;
}

.moj-chatbot .moj-chat-messages {
  display: flex;

  flex-direction: column;

  gap: 32px;
}

/* Common */
.moj-chatbot .moj-chat-message {
  /* min-height: 58px; */

  padding: 15px 20px;

  border-radius: 5px;

  font-size: 16px;

  line-height: 1.9;

  color: var(--moj-navy-color);

  /* display: flex; */

  align-items: center;
}

.moj-chatbot .moj-bot-message {
  width: 82%;

  align-self: flex-end;

  background: var(--moj-white-color);

  border: 1px solid #edf0f2;

  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.015),
    0 2px 8px rgba(61, 104, 129, 0.02);
}

.moj-chatbot .moj-user-message {
  width: 82%;

  align-self: flex-start;

  justify-content: flex-start;

  background: #dce5ea;

  border: 0;

  color: var(--moj-navy-color);
}

.moj-chatbot .moj-chat-input-row {
  display: flex;

  align-items: center;

  gap: 13px;

  margin-top: 40px;
  position: sticky;
  bottom: 10px;
}

.moj-chatbot .moj-chat-input-box {
  flex: 1;

  height: 63px;

  display: flex;

  align-items: center;

  position: relative;

  border: 1px solid #cbd7dd;

  border-radius: 34px;

  background: var(--moj-white-color);

  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(61, 104, 129, 0.04);

  padding: 4px 54px 4px 5px;
}

/* Input */
.moj-chatbot .moj-chat-input {
  height: 100%;

  border: 0;

  background: transparent;

  padding: 0 18px;

  box-shadow: none !important;
}

.moj-chatbot .moj-chat-input:focus {
  border: 0;

  outline: 0;

  box-shadow: none;
}

.moj-chatbot .moj-send-btn {
  width: 54px;
  height: 54px;

  flex: 0 0 54px;

  border: 0;

  border-radius: 50%;

  background: var(--moj-primary-color);

  color: var(--moj-white-color);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 22px;

  transition: 0.25s ease;
}

.moj-chatbot .moj-send-btn i {
  line-height: 0;
  transform: rotate(-135deg);
}
.moj-chatbot .moj-send-btn:hover {
  background: var(--moj-navy-color);
}

.moj-chatbot .moj-mic-btn {
  position: absolute;

  right: 14px;

  top: 50%;

  transform: translateY(-50%);

  width: 34px;
  height: 34px;

  border: 0;

  padding: 0;

  background: transparent;

  color: var(--moj-secondary-color);

  font-size: 20px;

  display: flex;

  align-items: center;

  justify-content: center;
}

.moj-chatbot .moj-monitor-btn {
  width: 44px;
  height: 44px;

  flex: 0 0 44px;

  padding: 0;

  border-radius: 50%;

  border: 1px solid #aac0cb;

  background: #d9e5ea;

  color: var(--moj-navy-color);

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-size: 17px;

  transition: all 0.25s ease;
}
.moj-chatbot .moj-monitor-btn i,
.moj-chatbot .moj-avatar-control i {
  line-height: 0;
}

.moj-chatbot .moj-monitor-btn:hover {
  background: var(--moj-primary-color);

  color: var(--moj-white-color);
}
.moj-chatbot .moj-monitor-btn:hover img {
  filter: brightness(0) saturate(100%) invert(99%) sepia(95%) saturate(0%) hue-rotate(200deg)
    brightness(104%) contrast(100%);
}

.moj-chatbot .moj-avatar-column {
  flex: 0 0 0;

  width: 0;

  max-width: 0;

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  overflow: hidden;

  transform: translateX(20px);

  transition:
    width 0.35s ease,
    max-width 0.35s ease,
    flex-basis 0.35s ease,
    opacity 0.25s ease,
    transform 0.35s ease;
}

.moj-chatbot .moj-avatar-card {
  width: 328px;

  height: auto;

  position: relative;

  background: white;

  border-radius: 20px;

  overflow: hidden;
  margin-bottom: 70px;
}

/* Avatar image */
.moj-chatbot .moj-avatar-img {
  position: absolute;

  left: 50%;

  bottom: 0;

  transform: translateX(-50%);

  height: 96%;

  width: auto;

  max-width: 100%;

  object-fit: contain;

  object-position: center bottom;
}

.moj-chatbot .moj-avatar-actions {
  position: absolute;

  top: 10px;

  right: 9px;

  z-index: 5;

  display: flex;

  align-items: center;

  gap: 8px;
}

.moj-chatbot .moj-avatar-control {
  width: 34px;

  height: 34px;

  padding: 0;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.35);

  background: #cfd9df;

  color: var(--moj-navy-color);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 16px;

  transition: 0.25s ease;
}

.moj-chatbot .moj-avatar-control:hover {
  background: var(--moj-white-color);
}

.moj-chatbot.avatar-open .moj-avatar-column {
  flex: 0 0 328px;

  width: 328px;

  max-width: 328px;

  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform: translateX(0);

  position: sticky;
  bottom: 10px;
}

/* Hide external monitor */
.moj-chatbot.avatar-open .moj-monitor-btn {
  display: none;
}

/*
    Exactly like screenshot:
    when avatar appears the chat area becomes smaller.
*/
.moj-chatbot.avatar-open .moj-chat-content {
  width: calc(100% - 356px);

  flex: 1 1 auto;
}

/* message width when avatar visible */
.moj-chatbot.avatar-open .moj-bot-message {
  width: 86%;
}

.moj-chatbot.avatar-open .moj-user-message {
  width: 86%;
}

.moj-chatbot .moj-speaker-toggle.is-muted {
  color: var(--moj-secondary-color);

  background: var(--moj-white-color);
}

@media (max-width: 1199.98px) {
  .moj-chatbot .moj-chatbot-main {
    gap: 22px;
  }

  .moj-chatbot.avatar-open .moj-avatar-column {
    flex-basis: 290px;

    width: 290px;

    max-width: 290px;
  }

  .moj-chatbot .moj-avatar-card {
    width: 290px;

    height: 290px;
  }

  .moj-chatbot.avatar-open .moj-chat-content {
    width: calc(100% - 312px);
  }
}

@media (max-width: 991.98px) {
  .moj-chatbot {
    padding-top: 35px;
  }

  .moj-chatbot .moj-chatbot-main {
    padding-top: 60px;

    gap: 18px;
  }

  .moj-chatbot.avatar-open .moj-avatar-column {
    flex-basis: 240px;

    width: 240px;

    max-width: 240px;
  }

  .moj-chatbot .moj-avatar-card {
    width: 240px;

    height: 270px;

    border-radius: 16px;
  }

  .moj-chatbot.avatar-open .moj-chat-content {
    width: calc(100% - 258px);
  }

  .moj-chatbot .moj-chat-message {
    font-size: 12px;
  }

  .moj-chatbot .moj-bot-message,
  .moj-chatbot .moj-user-message {
    width: 90%;
  }
  .moj-chatbot .moj-chatbot-main {
    padding-top: 80px;
  }

  .moj-chatbot .moj-chatbot-main::before {
    bottom: 31px;
  }
}

@media (max-width: 767.98px) {
  .moj-chatbot {
    padding: 25px 0 35px;
  }

  .moj-chatbot .moj-chatbot-main {
    flex-direction: column-reverse;

    align-items: stretch;

    padding-top: 40px;
  }

  .moj-chatbot .moj-chat-content,
  .moj-chatbot.avatar-open .moj-chat-content {
    width: 100%;

    flex: 1 1 100%;
  }

  .moj-chatbot .moj-bot-message,
  .moj-chatbot .moj-user-message,
  .moj-chatbot.avatar-open .moj-bot-message,
  .moj-chatbot.avatar-open .moj-user-message {
    width: 100%;
  }

  /* hidden */
  .moj-chatbot .moj-avatar-column {
    width: 100%;

    max-width: 100%;

    height: 0;

    flex-basis: 0;

    opacity: 0;
  }

  /* visible */
  .moj-chatbot.avatar-open .moj-avatar-column {
    width: 100%;

    max-width: 100%;

    height: auto;

    flex-basis: auto;

    opacity: 1;

    margin-bottom: 25px;
  }

  .moj-chatbot .moj-avatar-card {
    width: min(100%, 320px);

    height: 290px;

    margin: 0 auto;
  }

  .moj-chatbot .moj-chat-input-box {
    height: 58px;
  }

  .moj-chatbot .moj-send-btn {
    width: 49px;

    height: 49px;

    flex: 0 0 49px;

    font-size: 19px;
  }

  .moj-chatbot .moj-chat-input-row {
    gap: 9px;

    margin-top: 28px;
  }
  .moj-chatbot .moj-chatbot-main {
    padding-top: 50px;
  }

  .moj-chatbot .moj-chatbot-main::before {
    bottom: 29px;
  }
}

@media (max-width: 575.98px) {
  .moj-chatbot .moj-new-chat-btn {
    min-width: 130px;

    height: 42px;

    padding: 0 15px;
  }

  .moj-chatbot .moj-chatbot-main {
    padding-top: 30px;
  }

  .moj-chatbot .moj-chat-messages {
    gap: 18px;
  }

  .moj-chatbot .moj-chat-message {
    min-height: 52px;

    padding: 13px 15px;

    line-height: 1.65;
  }

  .moj-chatbot .moj-chat-input-row {
    margin-top: 22px;
  }

  .moj-chatbot .moj-monitor-btn {
    width: 42px;

    height: 42px;

    flex-basis: 42px;
  }
}

.facts-legal-section {
  padding: 3rem 0;
}

.facts-legal-section .content-panel,
.facts-legal-section .card {
  background-color: transparent;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: none;
  margin: 2rem 0;
}

.facts-legal-section .stat-card {
  margin-top: 1rem;
  height: auto;
  margin-bottom: 0;
  background-color: #e9f2ff8c;
  display: flex;
  flex-direction: row;
  text-align: start;
  gap: 10px;
}

.facts-legal-section .section-dis {
  color: #6c757d;
}

.facts-legal-section .stat-card .stat-icon {
  background: #dbeaff;
}

.facts-legal-section .stat-card .stat-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #082d43;
}

.facts-legal-section .stat-card .stat-num {
  font-size: 2rem;
  color: #082d43;
  margin-bottom: 0;
}

.facts-legal-section .stat-card .stat-desc {
  color: #6c757d;
}

.moj-instLegislation-section {
  padding: 30px 0;
  background: var(--moj-white-color);
  color: var(--moj-text-color);
}

.moj-instLegislation-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.moj-instLegislation-tabs {
  display: flex;
  flex-wrap: nowrap;
  border: 1px solid var(--moj-navyLight-trans);
  border-radius: 10px;
  overflow: hidden;
  background: #e9f2ff8c;
  margin-bottom: 35px;
}

.moj-instLegislation-tabs .nav-item {
  flex: 1 1 0;
  margin: 0;
}

.moj-instLegislation-tabs .nav-link {
  width: 100%;
  min-height: 72px;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  color: var(--moj-navy-color);
  font-size: 20px;
  font-weight: 500;
  padding: 15px 20px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.moj-instLegislation-tabs .nav-item:not(:last-child) .nav-link {
  border-left: 1px solid var(--moj-navyLight-trans) !important;
}

.moj-instLegislation-tabs .nav-link:hover {
  color: var(--moj-navy-color);
  background: rgba(207, 217, 223, 0.25);
}

.moj-instLegislation-tabs .nav-link.active {
  color: var(--moj-text-white);
  background: var(--moj-navy-color);
  border-radius: 14px;
}

.moj-instLegislation-tab-content {
  width: 100%;
}

.moj-instLegislation-search {
  position: relative;
  margin-bottom: 25px;
}

.moj-instLegislation-search .form-control {
  width: 100%;
  height: 64px;
  border: 1px solid var(--moj-navyLight-trans);
  border-radius: 12px;
  background: var(--moj-white-color);
  color: var(--moj-text-color);
  font-size: 20px;
  padding: 10px 60px 10px 20px;
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.moj-instLegislation-search .form-control::placeholder {
  color: #7a8793;
  opacity: 1;
}

.moj-instLegislation-search .form-control:focus {
  border-color: var(--moj-primaryLight-color);
  box-shadow: 0 0 0 3px rgba(61, 104, 129, 0.08);
}

.moj-instLegislation-search .search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.moj-instLegislation-search .search-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #536b7d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.moj-instLegislation-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 15px 22px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #dbe8fb8c;
  color: var(--moj-navy-color);
  font-size: 16px;
  font-weight: 500;
}

.moj-instLegislation-info i {
  font-size: 1.3rem;
  line-height: 0;
}

.moj-instLegislation-info .info-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--moj-navy-color);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.moj-instLegislation-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 255px;
  overflow-y: auto;
  padding-left: 7px;
  scroll-behavior: smooth;
}

.moj-instLegislation-list-wrap::-webkit-scrollbar {
  width: 7px;
}

.moj-instLegislation-list-wrap::-webkit-scrollbar-track {
  background: var(--moj-light-color);
  border-radius: 20px;
}

.moj-instLegislation-list-wrap::-webkit-scrollbar-thumb {
  background: var(--moj-navyMid-color);
  border-radius: 20px;
}

.moj-instLegislation-list-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--moj-primaryLight-color);
}

.legislation-item {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 30px;
  text-decoration: none;
  color: var(--moj-text-color);
  background: var(--moj-white-color);
  border: 1px solid var(--moj-navyLight-trans);
  border-radius: 13px;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.legislation-item:hover {
  color: var(--moj-text-color);
  background: #dbe8fb8c;
  box-shadow: 0 7px 22px rgba(13, 66, 97, 0.07);
  transform: translateY(-1px);
}

.legislation-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--moj-text-color);
  text-align: right;
}

.legislation-item i {
  line-height: 0;
  font-size: 1.5rem;
  color: var(--moj-navy-color);
}

.legislation-link-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--moj-navy-color);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.legislation-item:hover .legislation-link-icon svg {
  transform: translate(-2px, -2px);
}

.legislation-more-item {
  display: none;
}

.moj-instLegislation-list-wrap.show-all .legislation-more-item {
  display: flex;
}

.moj-show-more-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.moj-show-more-btn {
  min-width: 220px;
  min-height: 64px;
  padding: 12px 35px;
  border: 0;
  border-radius: 12px;
  background: var(--moj-navy-color);
  color: var(--moj-text-white);
  font-size: 21px;
  font-weight: 500;
  box-shadow: none;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.moj-show-more-btn:hover,
.moj-show-more-btn:focus {
  background: var(--moj-primary-color);
  color: var(--moj-text-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 66, 97, 0.15);
}

@media (max-width: 991.98px) {
  .moj-instLegislation-tabs .nav-link {
    min-height: 65px;
    font-size: 18px;
    padding: 12px 10px;
  }

  .moj-instLegislation-search .form-control {
    height: 60px;
    font-size: 18px;
  }

  .moj-instLegislation-info {
    font-size: 17px;
  }

  .legislation-item {
    min-height: 105px;
    padding: 22px;
  }
}

@media (max-width: 767.98px) {
  .moj-instLegislation-section {
    padding: 20px 0;
  }

  .moj-instLegislation-tabs {
    overflow-x: auto;
    border-radius: 11px;
    justify-content: flex-start;
  }

  .moj-instLegislation-tabs .nav-item {
    flex: 0 0 auto;
    min-width: 165px;
  }

  .moj-instLegislation-tabs .nav-link {
    min-height: 58px;
    font-size: 15px;
    padding: 10px 12px;
    white-space: nowrap;
  }

  .moj-instLegislation-search .form-control {
    height: 55px;
    font-size: 16px;
    padding-right: 52px;
  }

  .moj-instLegislation-search .search-icon {
    width: 23px;
    height: 23px;
    right: 17px;
  }

  .moj-instLegislation-info {
    min-height: 60px;
    padding: 13px 16px;
    font-size: 15px;
    gap: 10px;
  }

  .moj-instLegislation-info .info-icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  .moj-instLegislation-list-wrap {
    max-height: 310px;
    gap: 13px;
  }

  .legislation-item {
    min-height: 90px;
    padding: 18px;
    gap: 15px;
  }

  .legislation-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .legislation-link-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .legislation-link-icon svg {
    width: 27px;
    height: 27px;
  }

  .moj-show-more-wrapper {
    justify-content: stretch;
  }

  .moj-show-more-btn {
    width: 100%;
    min-width: 0;
    min-height: 55px;
    font-size: 17px;
  }
}

.moj-chat-messages a {
  color: var(--moj-secondary-color) !important;
}

.moj-org-structure {
  --org-dark: #233a5c;
  --org-muted: #71849d;
  --org-border: #d5e0eb;
  --org-line: #c7d2de;
  padding: 20px 0 60px;
  background: #f6f8fb;
  color: var(--org-dark);
  direction: rtl;
}

.moj-org-structure * {
  box-sizing: border-box;
}

.moj-org-structure .org-page-header {
  text-align: right;
  margin-bottom: 35px;
}

.moj-org-structure .org-page-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--org-dark);
  margin: 0 0 15px;
}

.moj-org-structure .org-page-header p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--org-muted);
  margin: 0;
}

.moj-org-structure .org-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 35px;
  background: var(--moj-white-color);
  border: 1px solid var(--org-border);
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 30px;
}

.moj-org-structure .org-tabs-label {
  flex: 0 0 170px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: var(--org-dark);
}

.moj-org-structure .org-tabs {
  display: flex;
  flex: 1;
  flex-wrap: nowrap;
  gap: 20px;
}

.moj-org-structure .org-tabs .nav-item {
  flex: 1;
  min-width: 0;
}

.moj-org-structure .org-tabs .nav-link {
  width: 100%;
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border: 1px solid #9fb5d1;
  border-radius: 12px;
  background: var(--moj-white-color);
  color: var(--org-dark);
  font-size: 19px;
  font-weight: 700;
  padding: 12px 18px;
  transition: all 0.25s ease;
}

.moj-org-structure .org-tabs .nav-link.active {
  background: var(--org-dark);
  border-color: var(--org-dark);
  color: var(--moj-white-color);
}

.moj-org-structure .org-tabs .nav-link:not(.active):hover {
  background: #edf3f8;
  border-color: var(--moj-primary-color);
}

.moj-org-structure .org-tab-arrow {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.moj-org-structure .org-section-heading {
  margin: 30px 0 20px;
  text-align: right;
}

.moj-org-structure .org-section-heading h2 {
  color: var(--org-dark);
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 16px;
}

.moj-org-structure .org-section-heading p {
  color: var(--org-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.moj-org-structure .org-chart-container {
  background: var(--moj-white-color);
  padding: 45px 20px 50px;
  margin: 0 auto;
  overflow: hidden;
}

.moj-org-structure .org-root-area {
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: 64px;
}

.moj-org-structure .org-root-card {
  width: 100%;
  max-width: 565px;
  padding: 17px 25px;
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--org-dark);
  background: #fcfaf6;
  border: 1px solid #c79f48;
  border-radius: 14px;
  font-size: 21px;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.moj-org-structure .org-root-card::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 65px;
  background: var(--org-line);
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
}

.moj-org-structure .org-authorities-row {
  position: relative;
  --bs-gutter-x: 5rem;
  --bs-gutter-y: 1.5rem;
}

.moj-org-structure .org-authority-card {
  --authority-color: var(--moj-primary-color);
  --authority-bg: #f2f8fa;

  width: 100%;
  height: 100%;
  background: var(--authority-bg);
  border: 1px solid var(--org-border);
  border-radius: 22px;
  padding: 14px 15px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 392px;
  position: relative;
}

.moj-org-structure .authority-legislative {
  --authority-color: #b58a2b;
  --authority-bg: #fbf7ef;
}

.moj-org-structure .authority-judicial {
  --authority-color: var(--moj-primary-color);
  --authority-bg: #f1f8fa;
}

.moj-org-structure .authority-executive {
  --authority-color: var(--moj-secondary-color);
  --authority-bg: #f8f8fa;
}

.moj-org-structure .org-authority-title {
  background: var(--authority-color);
  color: var(--moj-white-color);
  border-radius: 17px;
  padding: 17px 10px;
  min-height: 66px;
  text-align: center;
  font-size: 23px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moj-org-structure .org-authority-subtitle {
  color: var(--org-muted);
  text-align: center;
  font-size: 15px;
  padding: 15px 5px 35px;
  margin: 0;
  position: relative;
}

.moj-org-structure .org-authority-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 24px;
  background: var(--org-line);
  transform: translateX(-50%);
}

.moj-org-structure .org-list-wrapper {
  flex: 0 1 auto;
  min-height: 0;
  position: relative;
}

.moj-org-structure .org-list-scroll {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-height: 170px;
  overflow: hidden;
  padding: 0 14px 4px;
  transition: max-height 0.35s ease;
}

.moj-org-structure .org-authority-card.is-expanded .org-list-scroll {
  max-height: 170px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--authority-color) #e8edf3;
}

.moj-org-structure .org-list-scroll::-webkit-scrollbar {
  width: 5px;
}

.moj-org-structure .org-list-scroll::-webkit-scrollbar-track {
  background: #e8edf3;
  border-radius: 10px;
}

.moj-org-structure .org-list-scroll::-webkit-scrollbar-thumb {
  background: var(--authority-color);
  border-radius: 10px;
}

.moj-org-structure .org-list-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 73px;
  flex-shrink: 0;
  position: relative;
  background: var(--moj-white-color);
  border: 1px solid var(--org-border);
  border-radius: 15px;
  padding: 10px 22px;
  text-decoration: none;
  color: var(--org-dark);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.moj-org-structure .org-list-item::before {
  content: '';
  position: absolute;
  right: 4px;
  top: 12px;
  bottom: 12px;
  width: 5px;
  border-radius: 5px;
  background: var(--authority-color);
}

.moj-org-structure .org-list-item:not(:last-child)::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 23px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--org-line);
  pointer-events: none;
}

.moj-org-structure .org-item-name {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--org-dark);
}

.moj-org-structure .org-item-desc {
  display: block;
  font-size: 13px;
  color: var(--org-muted);
  margin-top: 2px;
  line-height: 1.5;
}

.moj-org-structure .org-list-item:hover {
  border-color: var(--authority-color);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
}

.moj-org-structure .org-list-item:hover .org-item-name {
  color: var(--authority-color);
}

.moj-org-structure .org-extra-item {
  display: none;
}

.moj-org-structure .org-authority-card.is-expanded .org-extra-item {
  display: flex;
}

.moj-org-structure .org-show-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: center;
  margin-top: auto;
  position: relative;
  border: 1px solid var(--org-border);
  border-radius: 30px;
  background: var(--moj-white-color);
  color: var(--authority-color);
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.25s ease;
}

.moj-org-structure .org-show-more:hover {
  background: var(--authority-color);
  color: var(--moj-white-color);
  border-color: var(--authority-color);
}

.moj-org-structure .org-more-icon {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.moj-org-structure .org-authority-card.is-expanded .org-more-icon {
  transform: rotate(180deg);
}

.moj-org-structure .org-entities-grid .org-authority-card {
  min-height: 392px;
}
@media (min-width: 992px) {
  .moj-org-structure .org-authorities-row::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 16.6667%;
    right: 16.6667%;
    height: 2px;
    width: auto;
    background: var(--org-line);
    z-index: 1;
  }

  .moj-org-structure .org-authorities-row > div {
    position: relative;
  }

  .moj-org-structure .org-authorities-row > div::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 24px;
    background: var(--org-line);
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 1199.98px) {
  .moj-org-structure .org-authorities-row {
    --bs-gutter-x: 2rem;
  }

  .moj-org-structure .org-authority-title {
    font-size: 20px;
  }

  .moj-org-structure .org-item-name {
    font-size: 17px;
  }

  .moj-org-structure .org-tabs .nav-link {
    font-size: 16px;
  }
}

@media (max-width: 991.98px) {
  .moj-org-structure .org-root-area {
    padding-bottom: 35px;
  }

  .moj-org-structure .org-root-card::after {
    height: 35px;
  }

  .moj-org-structure .org-chart-container {
    padding: 30px 20px;
  }

  .moj-org-structure .org-authorities-row {
    --bs-gutter-x: 1.5rem;
  }

  .moj-org-structure .org-tabs-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .moj-org-structure .org-tabs-label {
    flex: initial;
    text-align: right;
  }
}

@media (max-width: 767.98px) {
  .moj-org-structure {
    padding: 20px 0 40px;
  }

  .moj-org-structure .org-page-header h1 {
    font-size: 27px;
  }

  .moj-org-structure .org-page-header p {
    font-size: 15px;
  }

  .moj-org-structure .org-tabs-wrapper {
    padding: 14px;
  }

  .moj-org-structure .org-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .moj-org-structure .org-tabs .nav-link {
    min-height: 50px;
    font-size: 15px;
  }

  .moj-org-structure .org-section-heading h2 {
    font-size: 22px;
  }

  .moj-org-structure .org-section-heading p {
    font-size: 14px;
  }

  .moj-org-structure .org-chart-container {
    padding: 25px 15px;
  }

  .moj-org-structure .org-root-card {
    font-size: 16px;
    padding: 15px 12px;
  }

  .moj-org-structure .org-authority-card {
    min-height: 375px;
  }

  .moj-org-structure .org-authority-title {
    font-size: 21px;
  }
}
