:root {
  --color-primary: #d80027;
  --color-primary-dark: #d80027;
  --color-text: #111111;
  --color-text-soft: #5f6773;
  --color-muted: #8c8c8c;
  --color-border: #d3d4d6;
  --color-surface: #ffffff;
  --color-surface-soft: #f9fafc;
  --color-input: #eceef2;
  --color-page: #f3f4f6;
  --color-footer: #10172a;
  --color-footer-text: #9da6c0;
  --shadow-soft: 0 1rem 2.5rem rgba(16, 23, 42, 0.08);
  --shadow-soft-hover: 0 1.25rem 3rem rgba(16, 23, 42, 0.12);
  --radius-lg: 1.6rem;
  --radius-md: 0.8rem;
  --radius-pill: 6.25rem;
  --container-max: 139rem;
}

body {
  min-height: 100%;
  font-family: "Helvetica Now Display", Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-page);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

img {
  max-width: 100%;
  display: block;
}

strong {
  font-weight: 700;
}

button,
input,
a,
.dropdown-menu,
.card-shell,
.company-card,
.articles-card,
.ads-card,
.section-header,
.activity-node,
.gallery-grid img,
.banner-image img {
  transition: all 0.28s ease;
}

.site-wrapper {
  overflow-x: clip;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--color-surface);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

#preloader.hide {
  opacity: 0;
  pointer-events: none;
}

.preloader-spinner {
  width: 4.8rem;
  height: 4.8rem;
  border: 0.4rem solid #f3f4f6;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: preloader-spin 1s linear infinite;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

.page-container {
  width: min(100%, var(--container-max));
  padding-left: 0;
  padding-right: 0;
}

.site-header {
  box-shadow: 0 0.125rem 0 rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.4s ease-in-out;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.topbar {
  min-height: 10rem;
  gap: 2rem;
}

.brand img {
  width: 12.9rem;
}

.main-nav {
  flex: 1;
  justify-content: center;
}

.main-nav .navbar-collapse {
  justify-content: center;
}

.main-nav .navbar-nav {
  gap: 2.4rem;
}

.main-nav .nav-link {
  padding: 0 !important;
  font-size: 1.5rem;
  line-height: 2;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #000000;
  white-space: nowrap;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: var(--color-primary);
  outline: none;
  border: none;
}

.main-nav .dropdown-toggle::after {
  width: 1rem;
  height: 0.6rem;
  vertical-align: middle;
  border: 0;
  background: url("../img/dropdown-arrow.svg") center / contain no-repeat;
}

.language-btn.dropdown-toggle::after {
  width: 1.2rem;
  height: 0.6rem;
  margin-left: 0.4rem;
  vertical-align: middle;
  border: 0;
  background: url("../img/dropdown-arrow.svg") center / contain no-repeat;
}

.main-nav .dropdown-menu,
.language-switch .dropdown-menu {
  margin-top: 0;
  padding: 0.75rem;
  width: 100%;
  min-width: 16rem;
  border: 0.1rem solid rgba(17, 17, 17, 0.08);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft-hover);
  left: 50%;
  transform: translateY(0.625rem) translateX(-50%);
  opacity: 0;
  visibility: hidden;
  display: block;
  pointer-events: none;
  transform-origin: top center;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0s linear 0.24s;
}

.language-switch .dropdown-menu {
  margin-top: 1rem;
  width: auto;
  left: auto;
  right: 0;
  transform: translateY(0.625rem);
}

.main-nav .dropdown:hover .dropdown-menu,
.main-nav .dropdown .dropdown-menu.show {
  transform: translateY(0) translateX(-50%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s, 0s, 0s;
}

.language-switch .dropdown-menu.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s, 0s, 0s;
}

.dropdown-item {
  padding: 0.75rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(236, 50, 55, 0.08);
  color: var(--color-primary);
}

.language-switch .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.language-switch .dropdown-item img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.language-switch .dropdown-item.active,
.language-switch .dropdown-item:active {
  background: rgba(236, 50, 55, 0.12);
  color: var(--color-primary);
}

.language-btn {
  min-width: 11rem;
  min-height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  border-radius: 5rem;
  background: transparent;
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
}

.language-btn img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10rem;
}

.language-btn:hover,
.language-btn:focus {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.nav-item {
  padding: 0;
}

.category-bar {
  background: var(--color-primary-dark);
  position: relative;
}

.category-list {
  min-height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.8rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list::-webkit-scrollbar {
  display: none;
}

.category-list li {
  position: relative;
  flex: 0 0 auto;
}

.category-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2.4rem;
  width: 0.1rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
}

.category-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 6.125rem;
  padding: 2rem 0;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 0.5rem;
  transition: 0.35s ease;
  color: #fff;
  white-space: nowrap;
}

.category-list a:hover {
  opacity: 0.85;
}

.main-content {
  padding: 1.75rem 0 2.5rem;
}

.card-shell,
.company-card,
.articles-card,
.ads-card {
  background: var(--color-surface);
  border: 0.1rem solid var(--color-border);
  border-radius: var(--radius-lg);
  width: 100%;
}

.search-card {
  padding: 3rem 3rem 4rem 3rem;
  background: var(--color-surface-soft);
  box-shadow: none;
}

.section-title {
  margin: 0 0 2rem;
  font-size: 2.2rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.search-input {
  height: 5.9rem;
  padding: 0 2rem;
  border: 0.1rem solid transparent;
  border-radius: 0.8rem;
  background: var(--color-input);
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.search-input::placeholder {
  color: var(--color-muted);
  font-weight: 700;
}

.search-input:focus {
  box-shadow: 0 0 0 0.1875rem rgba(236, 50, 55, 0.12);
  border-color: #000000;
  background: var(--color-input);
}

.btn-search,
.btn-outline-search,
.print-btn {
  min-height: 5.9rem;
  border-radius: 0.8rem;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
}

.btn-search {
  border: 0;
  background: var(--color-primary);
  color: #fff;
}

.btn-search:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.75rem 1.5rem rgba(236, 50, 55, 0.24);
}

.btn-outline-search {
  border: 0.1rem solid #111;
  background: transparent;
  color: #111;
}

.btn-outline-search:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(236, 50, 55, 0.04);
}

.breadcrumb-card {
  margin-top: 2rem;
  padding: 1.5rem 1.5rem;
  background: var(--color-surface-soft);
  white-space: nowrap;
  overflow: auto;
}

.breadcrumb {
  gap: 1.8rem;
  flex-wrap: nowrap;
}

.breadcrumb-item,
.breadcrumb-item a {
  font-size: 1.2rem;
  line-height: 2rem;
  color: #000;
}

.breadcrumb-item.active {
  color: var(--color-primary);
}

.company-card {
  margin-top: 1.5rem;
  overflow: hidden;
}

.company-card__header {
  min-height: 5.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.8rem;
  background: var(--color-surface-soft);
  border-bottom: 0.1rem solid var(--color-border);
}

.company-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #000000;
}

.svg_22 {
  width: 2.2rem;
  height: 2.2rem;
}

.svg_14 {
  width: 1.4rem;
  height: 1.4rem;
}

.company-card__title {
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 700;
}

.print-btn {
  min-height: 3.6rem;
  padding: 0 1rem;
  background: var(--color-primary);
  border: 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.print-btn:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.company-card__body {
  padding: 3rem;
}

.company-info {
  padding: 3rem;
  background: var(--color-surface-soft);
}

.company-logo {
  width: 11.7rem;
  margin: 0 auto;
}

.company-details {
  align-items: stretch;
  padding-left: 0.5rem;
}

.detail-row {
  min-height: 3rem;
  display: grid;
  grid-template-columns: 23rem 1fr;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  font-size: 1.4rem;
  line-height: 3rem;
  letter-spacing: 0;
}

.detail-row span {
  min-width: 8.25rem;
  color: var(--color-text-soft);
  font-weight: 500;
  white-space: nowrap;
}

.detail-row strong {
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}

.detail-row a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  word-break: normal;
  white-space: nowrap;
}

.detail-row a:hover {
  color: #000000;
}

.detail-row>span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.detail-row>div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.detail-rows {
  display: grid;
  gap: 1.2rem;
}

.copy-btn {
  border: 0;
  padding: 0;
  background: transparent;
}

.credit-link {
  display: inline-block;
  margin-top: auto;
  color: var(--color-primary-dark);
  font-size: 1.4rem;
  line-height: 1.35;
  white-space: nowrap;
}

.content-section {
  margin-top: 2rem;
}

.section-header {
  min-height: 5.9rem;
  display: flex;
  align-items: center;
  padding: 1.8rem 1.7rem;
  background: var(--color-surface-soft);
  border: 0.1rem solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.articles-list,
.section-text,
.activity-diagram,
.banner-image,
.gallery-grid {
  margin-top: 2rem;
}

.articles-list {
  display: grid;
  gap: 1.2rem;
  list-style: disc !important;
  padding-left: 2.5rem;
}

.article-item {
  gap: 1.5rem;
  font-size: 1.2rem;
  line-height: 2rem;
}

.article-item-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-item p {
  margin: 0;
  max-width: 87%;
}

.article-item a {
  flex: 0 0 auto;
  color: var(--color-primary);
  white-space: nowrap;
  font-size: 1.2rem;
  line-height: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.article-item a:hover {
  opacity: 0.85;
}

.section-text {
  margin-bottom: 0;
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: 0;
  color: #000000;
}

.activity-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-img {
  width: 23rem;
  margin: 0 -0.6rem;
  position: relative;
  z-index: 1;
}

.activity-node-group {
  position: relative;
  display: grid;
  gap: 3rem;
}

.activity-node {
  width: fit-content;
  position: relative;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  background: #fff;
  border: 0.1rem solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 1.4rem;
  line-height: 3rem;
  text-align: center;
  white-space: nowrap;
}

.banner-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.banner-image img {
  width: 100%;
  /* aspect-ratio: 498 / 390; */
  height: 39rem;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  /* aspect-ratio: 1 / 1; */
  height: 12rem;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.gallery-grid img:hover,
.banner-image img:hover {
  transform: scale(1.02);
}

.sidebar-stack {
  display: grid;
  gap: 2rem;
}

.articles-card {
  position: relative;
  overflow: hidden;
  min-height: 12rem;
}

.articles-card__badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  padding: 0 0.9rem;
  border-radius: 100rem;
  background: #ec3237;
  color: #fff;
  font-size: 1rem;
  line-height: 2.3rem;
}

.articles-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: #10172a;
}

.articles-card__icon {
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
}

.articles-card__head h3 {
  margin: 0;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

.articles-card_bottom {
  padding: 1.5rem 2.6rem 1.5rem 2rem;
}

.articles-card__list {
  margin: 0;
  list-style: disc;
  list-style-position: outside;
  padding-left: 2.5rem;
  display: grid;
  gap: 2rem;
}

.articles-card__list a {
  color: #000000;
  font-size: 1.2rem;
  line-height: 2rem;
  text-decoration: underline;
}

.articles-card__list a:hover {
  text-decoration: none;
}

.articles-card__more {
  display: inline-block;
  color: var(--color-primary);
  margin-left: 2.5rem;
  font-size: 1.2rem;
  margin-top: 2rem;
  line-height: 1.1;
}

.ads-card {
  min-height: 88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.add-img {
  height: 100%;
  object-fit: cover;
}

.ads-card-three {
  height: 113.5rem;
}

.site-footer {
  margin-top: 4rem;
  background: var(--color-footer);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1fr 1fr;
  gap: 2.25rem;
  padding: 0 0 0 5.5rem;
}

.footer-top {
  border-bottom: 0.1rem solid rgba(157, 166, 192, 0.5);
  padding: 3.4rem 0;
}

.footer-brand {
  margin-bottom: 1.4rem;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 800;
}

.footer-text,
.site-footer li,
.site-footer a {
  font-size: 1.4rem;
  line-height: 3rem;
  color: var(--color-footer-text);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer a:hover svg {
  opacity: 0.5;
}

.site-footer h4 {
  margin: 0 0 2.2rem;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 700;
  color: #f3f4f6;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom {
  text-align: center;
  font-size: 1.4rem;
  line-height: 3rem;
  color: var(--color-footer-text);
  padding: 2.4rem 0;
}

.footer-box1 .footer-text {
  line-height: 1.5;
}

.svg_20 {
  width: 2rem;
  height: 2rem;
}

.svg_24 {
  width: 2.4rem;
  height: 2.4rem;
}

/* ================= Page 02 ================= */
.text-red {
  color: var(--color-primary) !important;
}

.title-18 {
  font-size: 1.8rem;
  font-weight: 700;
}

.hardware-img {
  display: block;
  height: 29rem;
  width: 100%;
  object-fit: cover;
  border-radius: 1.6rem;
  margin: 3rem 0;
}

.text-wrap:not(:last-child) {
  padding-bottom: 3rem;
}

.senelyzai {
  width: 15rem;
}

.add-img {
  width: 100%;
}

/* ============== company-card.v2 ================ */
.company-card.v2 {
  height: 100%;
}

.service-rows {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

.company-card.v2 .section-text {
  color: #515c62;
  line-height: 3rem;
  margin: 0;
}

.company-card.v2 .section-text a {
  color: #515c62;
}

.company-card.v2 .section-text a:hover {
  color: #D80027 !important;
}

.company-card.v2 .company-card__body {
  padding: 1.8rem;
}

.company-card.v2 .company-card__body .text-wrap .row {
  --bs-gutter-x: 3.6rem;
  --bs-gutter-y: 2rem;
}

.st-left svg {
  width: 0.3rem;
}

.st-left {
  gap: 1rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
}

.service-rows .section-top {
  margin-bottom: -4rem;
  padding: 3rem 0;
}

.section-top {
  padding: 3rem 0;
}

/* ============= straipsni-row =============== */
.straipsni-row {
  --bs-gutter-x: 2.2rem;
  --bs-gutter-y: 3.8rem;
}

.straipsni-row .section-top {
  margin-top: 1rem;
  margin-bottom: -4rem;
}

.card-img-top {
  height: 16.2rem;
  object-fit: cover;
}

.card-body {
  padding: 2rem 3rem 2rem 2rem;
}

h5.card-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.card-text {
  color: #6d6d6d;
  font-size: 1.2rem;
  padding: 1.3rem 0;
  line-height: 2rem;
}

.card-text a {
  text-decoration: underline;
  color: #6d6d6d;
}

.card-text a:hover {
  text-decoration: none;
}

.card-body>a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #d80027;
  font-size: 1.2rem;
}

.card-body>a:hover {
  opacity: 0.85;
}

.card {
  border-radius: var(--radius-lg);
  border: 0.1rem solid #d3d4d6;
  overflow: hidden;
}

.link {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.company-card__header>.section-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #d80027;
}

.f-500 {
  font-weight: 500;
}

.f-700 {
  font-weight: 700;
}

.autosabina-img {
  width: 17rem;
}

.autovici-img {
  width: 19.8rem;
}

.bmw-img2 {
  width: 9rem;
}

.section-flex-img {
  width: 24.2rem;
  height: 13.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  flex: 0 0 auto;
}

.company-icons button {
  background: no-repeat;
  border: none;
  padding: 0;
  position: relative;
}

.company-icons {
  gap: 1.7rem;
  display: flex;
}

.company-icons button:not(:last-child):before {
  content: "";
  width: 0.1rem;
  height: 1.1rem;
  background: #959697;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -0.85rem;
}

.company-icons button:hover {
  opacity: 0.7;
}

.section-flex {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.section-flex-right ul {
  display: flex;
  gap: 6rem;
  margin: 0;
}

.section-flex-right ul li {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  line-height: 3rem;
}

.section-flex-right p {
  font-weight: 500;
}

.section-flex-right ul li span {
  color: #515c62;
}

.section-flex-right>a {
  color: #000000;
  line-height: 3rem;
}

.section-flex-right>a:hover {
  opacity: 0.75;
}

.section-flex-right>p {
  line-height: 2.6rem;
  padding: 1rem 0;
  margin-top: 0;
}

.company-card.v3 .company-card__body {
  padding: 2rem 3.7rem 2.9rem 1.7rem;
}

.company-card.v3-2 .company-card__body {
  padding: 2.6rem 3.7rem 2.6rem 1.8rem;
}

.company-card.v3 {
  margin-top: 0;
}

.motors-rows {
  --bs-gutter-y: 1rem;
  margin-top: 1rem;
}

.section-flex-right.v2 a {
  color: #d80027;
}

.section-flex-right.v2 a:hover {
  opacity: 0.5;
}

.section-flex-right.v2 ul {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
}

.subaru-card .section-flex-right ul {
  gap: 6.3rem;
}

.tomada-img,
.subaru-img2 {
  width: 15rem;
}

/* =============================== Check Section =============================== */
.grid {
  display: grid;
  gap: 0;
  /* Remove gap to allow row backgrounds to touch */
  margin-bottom: 3rem;
}

.keywords-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  display: grid;
}

.categories-grid {
  grid-template-columns: repeat(2, 1fr);
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Row Coloring for Keywords (4 items per row) */
/* This colors every 2nd set of 4 items */
.keywords-grid .item:nth-child(8n + 5),
.keywords-grid .item:nth-child(8n + 6),
.keywords-grid .item:nth-child(8n + 7),
.keywords-grid .item:nth-child(8n + 8) {
  background-color: #ffffff;
}

/* Row Coloring for Categories (2 items per row) */
.categories-grid .item:nth-child(4n + 3),
.categories-grid .item:nth-child(4n + 4) {
  background-color: #ffffff;
}

input[type="checkbox"] {
  appearance: none;
  width: 1.8rem;
  height: 1.8rem;
  border: 0.1rem solid #d3d4d6;
  border-radius: 0.4rem;
  margin-right: 1rem;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

input[type="checkbox"]:checked {
  background-color: #ec3237;
  border-color: #ec3237;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.2rem;
  width: 0.5rem;
  height: 0.9rem;
  border: solid white;
  border-width: 0 0.2rem 0.2rem 0;
  transform: rotate(45deg);
}

.divider {
  height: 0.1rem;
  background-color: #d3d4d6;
  margin: 3rem 0;
}

.btn-search {
  background-color: #ec3237;
  color: #ffffff;
  border: none;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 400;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: opacity 0.2s;
  padding: 0 6.2rem;
}

.btn-search:hover {
  opacity: 0.9;
}

.section-header-v2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000000;
  padding-bottom: 2rem;
}

.search-container {
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 0.1rem solid #d3d4d6;
  background: #f9fafc;
}

label.checkbox-item {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: #000000;
  font-weight: 400;
  cursor: pointer;
}

.ul-last {
  font-size: 1.4rem;
  color: #000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  line-height: 2.6rem;
  padding: 2rem 1.8rem 1rem 1.8rem;
  gap: 4rem;
}

/* ============== Pagination bar ============== */

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9fafc;
  border: 1px solid #d3d4d6;
  border-radius: 1.6rem;
  padding: 0 1.7rem;
  height: 5rem;
  width: 100%;
  margin-top: 2rem;
}

.pagination-count {
  font-size: 1.4rem;
  color: #000000;
  font-weight: 400;
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.pagination-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.6rem;
  padding: 0 0.8rem;
  font-size: 1.4rem;
  color: #515c62;
  text-decoration: none;
  border-radius: 0.4rem;
  transition:
    color 0.15s ease,
    background 0.15s ease;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}

.pagination-nav a:hover {
  color: #000000;
  background: #ffffff;
}

.pagination-nav a.active {
  color: #d80027;
}

.pagination-nav a.arrow {
  color: #515c62;
  font-size: 1.4rem;
  padding: 0 0.6rem;
}

.pagination-nav a.arrow:hover {
  color: #d0021b;
  background: transparent;
}

.pagination-nav .separator {
  width: 0.6rem;
}

.ads-card-four {
  min-height: 194.5rem;
}

.text-xsm {
  font-size: 1.2rem !important;
}

.section-flex-right {
  font-size: 1.3rem;
}

.ads-card-one {
  height: 179.5rem;
}

.ads-card-two {
  height: 129.5rem;
}

.company-card__icon {
  flex: 0 0 auto;
}

/* ==================== gallery-popup ====================== */
.gallery-popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  position: relative;
  width: 90%;
  max-width: 85rem;
  margin: 5rem auto;
  z-index: 2;
}

.popup-close {
  position: absolute;
  top: -4rem;
  right: 0;
  font-size: 3rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.popup-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.popup-image-wrap {
  position: relative;
  width: 100%;
}

.popup-image {
  width: 100%;
  border-radius: 0.5rem;
}

.nav {
  font-size: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  padding: 1rem 2rem;
  cursor: pointer;
  border-radius: 1rem;
}

.image-counter {
  position: absolute;
  bottom: 1.4rem;
  right: 1.4rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 1rem;
  font-size: 1.4rem;
}

.popup-content-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.gallery-img {
  width: 100%;
  cursor: pointer;
  border-radius: 1rem;
}

.nav-link,
.nav-item {
  outline: none !important;
  box-shadow: none !important;
}

.nav-link.dropdown-toggle:hover:after {
  filter: brightness(0) saturate(100%) invert(11%) sepia(96%) saturate(4745%) hue-rotate(335deg) brightness(96%) contrast(104%);
}

.breadcrumb-nav,
.menulinks-nav {
  display: none;
}

.dec-none {
  text-decoration: none !important;
}

.dec-none:hover {
  color: #000000;
  opacity: 0.6;
}


.company-card__title-wrap:hover {
  color: #D80027;
}

.company-card.v2 .company-card__header .section-text a {
  color: #D80027 !important;
  text-decoration: none;
}

.company-card.v2 .company-card__header .section-text a:hover {
  color: #000 !important;
}

.company-card.v2 .section-text a {
  text-decoration: none;
}