@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;800&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}




/* Single Author Page */
.single-author-page,
.authors-archive-page {
  --ink: #0c1424;
  --ink-soft: #152038;
  --card: #ffffff;
  --accent: #ed1c24;
  --muted: #9fb2cc;
  --border: #d9e2ec;
  background: linear-gradient(180deg, #0f182c 0%, #0c1424 100%);
  color: var(--ink);
}

.author-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
  color: #f8fbff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
}

.author-hero__texture {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(237, 28, 36, 0.2) 0, transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(0, 188, 212, 0.15) 0, transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.avatar-frame {
  display: inline-flex;
  padding: 8px;
  border-radius: 20px;
}

.author-avatar {
  width: 200px;
  height: 200px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.role-chip {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fbff;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #9fb2cc;
  margin-bottom: 12px;
  font-weight: 600;
}

.author-name {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin: 0 0 14px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.lead-bio {
  max-width: 640px;
  color: #d7e2f3;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 0 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
}

.author-body {
  background: #f6f8fc;
  padding-top: 50px;
}

.panel {
  overflow: hidden;
}

.panel-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5b6b85;
  margin-bottom: 8px;
  font-weight: 700;
}

.panel-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #1b2437;
}

.author-bio-content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #2a3244;
}

.author-bio-content p {
  margin-bottom: 1.1em;
}

.author-articles {
  background: #f6f8fc;
  padding: 70px 0;
}


.section-header {
  margin-bottom: 28px;
}

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #6f7c92;
  font-weight: 700;
}

.section-title {
  margin: 6px 0 0;
  font-size: 2rem;
  color: #1b2437;
  font-weight: 800;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.articles-grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: 0 12px 35px rgba(16, 30, 52, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(16, 30, 52, 0.12);
}

.article-card-thumb {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.35s ease;
}

.article-card:hover .article-card-thumb img {
  transform: scale(1.06);
}

.article-card-content {
  padding: 18px 18px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  font-size: 0.85rem;
  color: #74829b;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.article-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 800;
}

.article-title a {
  color: #1b2437;
  text-decoration: none;
}

.article-title a:hover {
  color: var(--accent);
}

.article-excerpt {
  color: #4d5971;
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-more {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more::after {
  content: "←";
  transition: transform 0.18s ease;
  font-weight: 700;
}

.read-more:hover::after {
  transform: translateX(4px);
}

.pagination-wrapper {
  margin-top: 34px;
  text-align: center;
}

.page-numbers {
  display: inline-block;
  padding: 10px 14px;
  margin: 0 5px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #1b2437;
  text-decoration: none;
  font-weight: 600;
  background: #fff;
  transition: all 0.18s ease;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.empty-state {
  margin: 0;
  color: #55627b;
  font-weight: 600;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-avatar {
    max-width: 320px;
  }

  .hero-copy .eyebrow,
  .author-name {
    text-align: center;
  }

  .articles-grid--triple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .author-hero {
    padding: 100px 0 70px;
  }

  .hero-copy {
    text-align: left;
  }

  .lead-bio {
    font-size: 0.98rem;
    letter-spacing: 0.08em;
    padding: 10px 14px;
  }
}

@media (max-width: 540px) {
  .hero-avatar {
    margin-top: 100px;
  }

  .author-avatar {
    width: 160px;
    height: 160px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid--triple {
    grid-template-columns: 1fr;
  }
}

/* Hero Grid Centered (for archive page) */
.hero-grid--centered {
  display: block;
  text-align: center;
}

.hero-grid--centered .hero-copy {
  max-width: 800px;
  margin: 0 auto;
}

.hero-grid--centered .eyebrow,
.hero-grid--centered .author-name,
.hero-grid--centered .lead-bio {
  text-align: center;
}

/* Authors Archive Page Main Content */
.post-type-archive-medlab_author {
  background: #f6f8fc;
}

.authors-archive-page .main-content {
  background: #f6f8fc;
  padding-top: 60px;
}

/* Authors Grid (Archive Page) */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.author-card-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

.author-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(12, 20, 36, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(217, 226, 236, 0.6);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.author-card-link:hover .author-card {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(12, 20, 36, 0.15);
  border-color: rgba(237, 28, 36, 0.2);
}

.author-image-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f6f8fc;
  box-shadow: 0 8px 24px rgba(12, 20, 36, 0.12);
  transition: all 0.3s ease;
  margin: 32px auto 0;
}

.author-card-link:hover .author-image-wrapper {
  border-color: rgba(237, 28, 36, 0.3);
  transform: scale(1.05);
}

.author-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-info {
  padding: 24px 32px 32px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.author-info .author-name {
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: #1b2437;
  font-weight: 700;
}

.author-info .author-bio {
  color: #4d5971;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  align-self: center;
}

.author-card-link:hover .read-more-btn {
  background: rgba(237, 28, 36, 0.1);
  transform: translateX(2px);
}

.read-more-btn::after {
  content: "←";
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.author-card-link:hover .read-more-btn::after {
  transform: translateX(4px);
}


/* Responsive Design for Authors Grid */
@media (max-width: 992px) {
  .authors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .authors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .author-image-wrapper {
    padding: 24px 24px 0;
  }

  .author-image-wrapper a {
    width: 120px;
    height: 120px;
  }

  .author-info {
    padding: 20px 24px 24px;
  }

  .author-info .author-name {
    font-size: 1.3rem;
  }
}


img {
  max-width: 100%;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around !important;
}

.justify-content-evenly {
  justify-content: space-evenly !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-baseline {
  align-items: baseline !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.align-content-start {
  align-content: flex-start !important;
}

.align-content-end {
  align-content: flex-end !important;
}

.align-content-center {
  align-content: center !important;
}

.align-content-between {
  align-content: space-between !important;
}

.align-content-around {
  align-content: space-around !important;
}

.align-content-stretch {
  align-content: stretch !important;
}

.col {
  flex: 1 0 0%;
}

.fd-col {
  flex-direction: column;
}

.align-center {
  align-items: center;
}

.j-sb {
  justify-content: space-between;
}

.m-auto {
  margin: auto !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 2rem !important;
}

.mt-4,
.my-4 {
  margin-top: 2rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.mt-3,
.my-3 {
  margin-top: 1rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}

.pt-5,
.py-5 {
  padding-top: 3rem !important;
}

.pb-4,
.py-4 {
  padding-bottom: 2rem !important;
}

.pt-4,
.py-4 {
  padding-top: 2rem !important;
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}

.pt-2,
.py-2 {
  padding-top: 0.5rem !important;
}

.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important;
}

.ml-5,
.mx-5 {
  margin-right: 3rem !important;
}

.mr-5,
.mx-5 {
  margin-left: 3rem !important;
}

.ml-4,
.mx-4 {
  margin-right: 2rem !important;
}

.mr-4,
.mx-4 {
  margin-left: 2rem !important;
}

.ml-3,
.mx-3 {
  margin-right: 1rem !important;
}

.mr-3,
.mx-3 {
  margin-left: 1rem !important;
}

.ml-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.mr-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.ml-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.mr-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.pl-5,
.px-5 {
  padding-right: 3rem !important;
}

.pr-5,
.px-5 {
  padding-left: 3rem !important;
}

.pl-4,
.px-4 {
  padding-right: 2rem !important;
}

.pr-4,
.px-4 {
  padding-left: 2rem !important;
}

.pl-3,
.px-3 {
  padding-right: 1rem !important;
}

.pr-3,
.px-3 {
  padding-left: 1rem !important;
}

.pl-2,
.px-2 {
  padding-right: 0.5rem !important;
}

.pr-2,
.px-2 {
  padding-left: 0.5rem !important;
}

.pl-1,
.px-1 {
  padding-right: 0.25rem !important;
}

.pr-1,
.px-1 {
  padding-left: 0.25rem !important;
}

.text-left {
  text-align: right !important;
}

.text-right {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.text-decoration-underline {
  text-decoration: underline !important;
}

.text-decoration-line-through {
  text-decoration: line-through !important;
}

.text-lowercase {
  text-transform: lowercase !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-capitalize {
  text-transform: capitalize !important;
}

.d-flex {
  display: flex;
}

.d-flex-warp {
  flex-wrap: wrap;
}

.col-item-4 {
  flex: 0 0 33.333%;
}

.flex-item-half {
  flex: 50%;
}

@media (max-width: 800px) {
  .flex-item {
    flex: 100%;
  }
}
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
}
body.active {
  overflow: hidden;
}

.container,
.container-fluid {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 320px) {
  .container {
    max-width: 100%;
    padding: 0 1em;
  }
  .col-item-4 {
    flex: 1 1 100%;
  }
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  .d-m-block {
    display: block;
  }
  .col-item-4 {
    flex: 1 1 100%;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  .d-m-block {
    display: block;
  }
  .col-item-4 {
    flex: 1 1 100%;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  .d-m-block {
    display: block;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  .col {
    flex: 1 0 0%;
  }
  .col-item-4 {
    flex: 0 0 33.333%;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  .col {
    flex: 1 0 0%;
  }
  .col-item-4 {
    flex: 0 0 33.333%;
  }
}
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
}

.home-slider {
  height: 70vh;
  width: 100%;
}
.home-slider .swiper-wrapper .swiper-slide {
  background-size: cover;
  display: flex;
  align-items: center;
  font-size: 18px;
}
.home-slider .swiper-wrapper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-slider .swiper-wrapper .swiper-slide .slider-content {
  margin-right: 5em;
  background: rgba(255, 255, 255, 0.75);
  position: relative;
  width: 50%;
  text-align: right;
  padding: 1em;
  padding-right: 2em;
  padding-left: 6em;
}
.home-slider .swiper-wrapper .swiper-slide .slider-content:after {
  content: "";
  background: #ed1c24;
  position: absolute;
  top: 10%;
  right: -5px;
  height: 80%;
  width: 10px;
}
.home-slider .swiper-wrapper .swiper-slide .slider-content .title {
  color: #4B4C4E;
  font-size: 44px;
  line-height: 44px;
  font-weight: 500;
}
.home-slider .swiper-wrapper .swiper-slide .slider-content .subtitle {
  color: #4B4C4E;
  font-size: 30px;
}
.home-slider .swiper-wrapper .swiper-slide .slider-content .subtitle a {
  color: #4B4C4E;
}
.home-slider .swiper-wrapper .swiper-slide .slider-content .text p {
  font-size: 17px;
}
.home-slider .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  display: inline-block;
  border-radius: 50%;
  opacity: 1;
  background: #fff;
}
.home-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #666;
}

.video-section {
  height: 85vh;
  position: relative;
}
.video-section .home-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-section .scrolldown {
  position: absolute;
  bottom: 10px;
  right: 0;
  left: 0;
  text-align: center;
  transition: transform 2s;
  transform: translate(0, -10%);
}
.video-section .scrolldown img {
  width: 75px;
  height: 75px;
}
.video-section .scrolldown:hover {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .video-section {
    width: 100%;
    min-height: 60vh;
    padding: 0;
  }
}
.key-tests-slider {
  width: 100%;
  background: url(/wp-content/themes/medlab-theme/assets/images/cell-background.webp);
  background-position: bottom left;
  background-repeat: repeat-x;
}
.key-tests-slider .swiper-wrapper .swiper-slide {
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 18px;
  background: #fff;
}
.key-tests-slider .swiper-wrapper .swiper-slide img {
  display: block;
  object-fit: contain;
  width: 700px;
  height: 460px;
}
.key-tests-slider .swiper-wrapper .swiper-slide .slider-content {
  width: 50%;
  text-align: right;
  padding: 50px 80px;
  background: rgb(255, 255, 255);
  position: absolute;
  left: 0;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.0705882353);
  margin-left: 1em;
}
.key-tests-slider .swiper-wrapper .swiper-slide .slider-content .title {
  color: #4B4C4E;
  font-size: 44px;
  line-height: 44px;
  font-weight: 500;
}
.key-tests-slider .swiper-wrapper .swiper-slide .slider-content .subtitle {
  color: #4B4C4E;
  font-size: 20px;
  font-weight: 500;
}
.key-tests-slider .swiper-wrapper .swiper-slide .slider-content .subtitle a {
  color: #4B4C4E;
  font-weight: 600;
}
.key-tests-slider .swiper-wrapper .swiper-slide .slider-content .text p {
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 30px;
}
.key-tests-slider .swiper-wrapper .swiper-slide .slider-content .slide-btn {
  color: #fff;
  background-color: #4B4C4E;
  padding: 10px 40px;
  border-radius: 7px;
  font-size: 16px;
}
.key-tests-slider .swiper-wrapper .swiper-slide .slider-content .slide-btn:hover {
  background-color: #000;
}
.key-tests-slider .swiper-pagination {
  position: relative;
  margin-top: 5em;
}
.key-tests-slider .swiper-pagination .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  display: inline-block;
  border-radius: 50%;
  opacity: 1;
  background: #aaa;
}
.key-tests-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #4B4C4E;
}

.publications-news {
  margin-top: -10px;
}
.publications-news .elementor-image-box-img img {
  width: 100%;
}

.our-strategic .swiper-slide img {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
.our-strategic .swiper-slide img:hover {
  -webkit-filter: none; /* Safari 6.0 - 9.0 */
  filter: none;
}

.app-icon .elementor-widget-container .elementor-icon-list-icon svg {
  height: 100px;
  width: 200px;
}

@media screen and (max-width: 768px) {
  .home-slider .swiper-wrapper .swiper-slide .slider-content {
    width: 85%;
    margin-right: 2em;
    padding: 1em;
  }
  .home-slider .swiper-wrapper .swiper-slide .slider-content .subtitle {
    font-size: 16px;
  }
  .home-slider .swiper-wrapper .swiper-slide .slider-content .title {
    font-size: 20px;
    line-height: 23px;
    font-weight: 600;
  }
  .home-slider .swiper-wrapper .swiper-slide .slider-content .text p {
    font-size: 13px;
  }
  .home-slider .swiper-wrapper .swiper-slide .slider-content .slide-btn {
    padding: 5px 15px;
  }
  .key-tests-slider .swiper-wrapper .swiper-slide {
    background-size: cover;
    display: flex;
    align-items: center;
    margin-right: 5px;
  }
  .key-tests-slider .swiper-wrapper .swiper-slide img {
    width: 80%;
    height: 35vh;
  }
  .key-tests-slider .swiper-wrapper .swiper-slide .slider-content {
    width: 70%;
    padding: 1em;
    margin-left: 0;
  }
  .key-tests-slider .swiper-wrapper .swiper-slide .slider-content .subtitle {
    font-size: 16px;
    font-weight: 600;
  }
  .key-tests-slider .swiper-wrapper .swiper-slide .slider-content .text p {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .key-tests-slider .swiper-wrapper .swiper-slide .slider-content .slide-btn {
    font-size: 15px;
    padding: 7px 21px;
  }
}
header {
  background-color: transparent;
  z-index: 99;
  position: absolute;
  width: 100%;
}
header .header-logo {
  width: 20%;
}
header .header-logo img {
  width: 200px;
  height: auto;
}
header .mobile-search-menu .burger-lines {
  margin-right: 1rem;
  height: 25px;
  width: 25px;
  position: relative;
  cursor: pointer;
}
header .mobile-search-menu .burger-lines .line {
  display: block;
  height: 3px;
  width: 35px;
  border-radius: 18px;
  background: #4B4C4E;
  margin-bottom: 5px;
  position: absolute;
  left: 0;
}
header .mobile-search-menu .burger-lines .line1 {
  transition: all 0.2s ease-in-out;
}
header .mobile-search-menu .burger-lines .line2 {
  top: 10px;
  transition: all 0.2s ease-in-out;
}
header .mobile-search-menu .burger-lines .line3 {
  top: 20px;
  transition: all 0.2s ease-in-out;
}
header .mobile-search-menu .burger-lines.opened {
  position: fixed;
}
header .mobile-search-menu .burger-lines.opened .line {
  background: #fff;
}
header .mobile-search-menu .burger-lines.opened .line.line1 {
  top: 13px;
  transform: rotate(45deg);
}
header .mobile-search-menu .burger-lines.opened .line.line2 {
  top: 13px;
  transform: rotate(45deg);
}
header .mobile-search-menu .burger-lines.opened .line.line3 {
  top: 13px;
  transform: rotate(-45deg);
}
header .mobile-search-menu .search-icon button {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
header .mobile-search-menu .search-icon button img {
  width: 35px;
}
header .mobile-search-menu .header-btn {
  display: block;
  font-size: 16px;
}
header .mobile-search-menu .header-btn a {
  color: #fff;
  background: #4B4C4E;
  padding: 0.6rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  margin-right: 15px;
  margin-left: 15px;
  transition: 0.3s all;
}
header .mobile-search-menu .header-btn a:hover {
  background-color: #000;
}
header .mobile-menu-wrapper {
  position: fixed;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  left: -125%;
  top: 0;
  transition: all 0.5s;
  background-color: #f2f2f2;
}
header .mobile-menu-wrapper .menu-item-has-children ul {
  display: none;
}
header .mobile-menu-wrapper .menu-item-has-children.active ul {
  display: block;
}
header .mobile-menu-wrapper.active {
  left: 0;
}
header .mobile-menu-wrapper.active .mobile-menu-content {
  height: 100vh;
}
header .mobile-menu-wrapper.active .mobile-menu-content .header-logo {
  display: flex;
  justify-content: center;
  padding-top: 64px;
}
header .mobile-menu-wrapper .close-btn {
  position: absolute;
  left: 110px;
  top: 80px;
  border: 0;
  color: #4B4C4E;
  font-size: 30px;
  background: transparent;
  cursor: pointer;
}
header .mobile-menu-wrapper .mobile-menu-logo {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 90px;
  height: 70px;
}
header .mobile-menu-wrapper .mobile-menu-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list {
  width: 80%;
  border-right: 1px solid #bbbbbb;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list {
  list-style: none;
  padding-right: 20px;
  padding-top: 100px;
  margin: 0;
  width: fit-content;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item {
  color: #4B4C4E;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 500;
  text-align: right;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item a {
  text-decoration: none;
  color: #4B4C4E;
  position: relative;
  font-size: 30px;
  transition: all 0.3s;
  display: inline-block;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item.current-menu-parent .sub-menu-parent-link {
  color: #ed1c24;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item.sub-menu-parent .sub-menu-parent-link::after {
  content: "";
  margin-right: 5px;
  position: absolute;
  top: 30%;
  font-size: 20px;
  width: 16px;
  height: 16px;
  -webkit-transition: -webkit-transform 200ms ease-out;
  transition: -webkit-transform 200ms ease-out;
  transition: transform 200ms ease-out;
  transition: transform 200ms ease-out, -webkit-transform 200ms ease-out;
  background-color: #6e6d7a;
  -webkit-mask-image: url(/wp-content/themes/medlab-theme/assets/images/caret-down.svg);
  mask-image: url(/wp-content/themes/medlab-theme/assets/images/caret-down.svg);
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item.sub-menu-parent .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  transition: all 0.2s;
  padding: 5px 16px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-right: 32px;
  border-right: 1px solid #ccc;
  font-size: 16px;
  font-weight: 400;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item.sub-menu-parent .sub-menu .menu-item {
  margin-bottom: 0;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item.sub-menu-parent.active {
  color: #ed1c24;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item.sub-menu-parent.active .sub-menu {
  display: block;
  padding: 5px 16px;
  margin-right: 15px;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item.sub-menu-parent.active .sub-menu a {
  color: #4B4C4E;
  font-size: 20px;
  margin-bottom: 5px;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item.sub-menu-parent.active .sub-menu .current-menu-item a {
  color: #ed1c24;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .mobile-menu-list .menu-item.sub-menu-parent.active a::after {
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .media-icons {
  text-align: left;
  padding-left: 105px;
  margin-bottom: 0;
  list-style: none;
  height: 35px;
  margin-bottom: 50px;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .media-icons li {
  display: inline-block;
  margin-left: 5px;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .media-icons.title {
  margin-left: 15px;
  text-transform: uppercase;
  color: #96a2b2;
  font-weight: 700;
  font-size: 13px;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .media-icons a {
  display: inline-block;
  text-align: center;
  background-color: #fff;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
}
header .mobile-menu-wrapper .mobile-menu-content .menu-list .media-icons a img {
  width: 25px;
}
header #searchOverlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 9;
  top: 0;
  right: 0;
  background-color: rgba(204, 204, 204, 0.9);
}
header #searchOverlay .overlay-content {
  position: relative;
  top: 46%;
  width: 80%;
  text-align: center;
  margin: 0 auto;
}
header #searchOverlay .closebtn {
  position: absolute;
  top: 20px;
  left: 45px;
  font-size: 60px;
  cursor: pointer;
  color: white;
}
header #searchOverlay .closebtn:hover {
  color: #fff;
}
header #searchOverlay input[type=text] {
  padding: 15px;
  font-size: 17px;
  border: none;
  float: right;
  width: 95%;
  background: white;
  height: 70px;
}
header #searchOverlay input[type=text]:hover {
  background: #fff;
}
header #searchOverlay input[type=text]:focus {
  outline: none;
}
header #searchOverlay button {
  float: right;
  background: #fff;
  font-size: 17px;
  border: none;
  cursor: pointer;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
header #searchOverlay button img {
  width: 40px;
}
header #searchOverlay button:hover {
  background: #fff;
}
header.nav-up {
  position: fixed;
  background: #FFF;
  box-shadow: 0 10px 20px rgba(75, 76, 78, 0.15), 0 6px 6px rgba(75, 76, 78, 0.15);
  transition: all 0.7s ease-in-out;
  top: 0;
}
header.nav-up .header-logo img {
  width: 125px;
}
header.nav-down {
  position: fixed;
  transition: all 0.7s ease-in-out;
  top: -200px;
}
header.nav-down .header-logo img {
  width: 125px;
}

body.active header.nav-up .header-logo img {
  width: 200px;
}

@media screen and (max-width: 768px) {
  header .mobile-search-menu .header-btn a {
    padding: 0.5rem;
    font-size: 14px;
  }
  header .header-logo {
    width: 30%;
    display: flex;
    flex-wrap: wrap;
    justify-items: center;
    align-content: center;
    justify-content: center;
  }
  header .mobile-menu-wrapper.active .mobile-menu-content {
    padding: 0;
  }
  header .mobile-menu-wrapper.active .mobile-menu-content .mobile-menu-list {
    padding-top: 64px;
  }
  header .mobile-menu-wrapper.active .mobile-menu-content .mobile-menu-list .menu-item a {
    font-size: 16px;
  }
  header .mobile-menu-wrapper.active .mobile-menu-content .mobile-menu-list .menu-item.sub-menu-parent .sub-menu-parent-link::after {
    margin-right: 3px;
    position: absolute;
    font-size: 15px;
    width: 12px;
    height: 12px;
  }
  header .mobile-menu-wrapper.active .mobile-menu-content .mobile-menu-list .menu-item.sub-menu-parent.active .sub-menu a {
    font-size: 14px;
    margin-bottom: 0px;
  }
  header .mobile-menu-wrapper.active .mobile-menu-content .mobile-menu-list .menu-item.sub-menu-parent.active .sub-menu a::after {
    margin-right: 3px;
    bottom: 3px;
    font-size: 15px;
  }
  header .mobile-menu-wrapper.active .mobile-menu-content .header-logo {
    width: 30%;
    display: flex;
    flex-wrap: wrap;
    justify-items: center;
    justify-content: center;
    align-content: flex-start;
  }
  header .mobile-menu-wrapper.active .mobile-menu-content .media-icons {
    list-style: none;
    height: 35px;
    padding-left: 10px;
    text-align: right;
  }
  header .mobile-menu-wrapper.active .mobile-menu-content .media-icons li {
    margin-left: 0;
    margin-bottom: 0px;
  }
  header .mobile-menu-wrapper .close-btn {
    left: 15px;
    top: 28px;
    font-size: 17px;
  }
  header #searchOverlay .overlay-content {
    width: 95%;
  }
  header #searchOverlay .overlay-content .closebtn {
    left: 10px;
    font-size: 50px;
  }
  header #searchOverlay .overlay-content input[type=text] {
    width: 80%;
  }
}
@media screen and (max-width: 280px) {
  header .mobile-search-menu .header-btn a {
    font-size: 10px;
    padding: 5px;
    margin-left: 0;
    margin-right: 0;
  }
  header .mobile-search-menu .search-icon button img {
    width: 27px;
  }
  header .header-logo {
    width: 100px;
    height: auto;
  }
}
.no-results {
  margin: 50px 0;
}
.no-results h3 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.no-results .search-form .search-input {
  padding: 0.6rem 2rem;
  border-radius: 5px;
  border: 1px solid #fff;
  outline: none;
  background-color: #fafafa;
  margin-left: 2em;
}
.no-results .search-form .search-submit {
  outline: none;
  background: #4B4C4E;
  border-radius: 5px;
  color: #fff;
  padding: 0.7rem 3rem;
  border: 1px solid #4B4C4E;
  cursor: pointer;
}
.no-results .search-form .search-submit:hover {
  background-color: #000;
  border-color: #000;
}

#breadcrumbs {
  overflow: hidden;
  text-align: right;
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}
#breadcrumbs .separator {
  font-size: 17px;
  color: #ccc;
  font-weight: 100;
}
#breadcrumbs li {
  margin-left: 14px;
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  margin-bottom: 5px;
}
#breadcrumbs li a {
  text-decoration: none;
  color: #4B4C4E;
}
#breadcrumbs li a.bread-link {
  color: #4B4C4E;
  text-decoration: none;
}
#breadcrumbs li.bread-current, #breadcrumbs li.item-current {
  color: #ed1c24;
}

.news-archive {
  margin-bottom: 5rem;
}
.news-archive .news-list {
  display: block;
  margin-bottom: 3rem;
}
.news-archive .news-list .news-item {
  border: 1px solid #ddd;
  margin-bottom: 20px;
}
.news-archive .news-list .news-item .news-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.news-archive .news-list .news-item .news-content {
  padding: 25px;
  background-color: #fff;
  display: flex;
  flex-wrap: nowrap;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
}
.news-archive .news-list .news-item .news-content .news-date {
  color: #7d7d7d;
  font-size: 10px;
  text-transform: uppercase;
}
.news-archive .news-list .news-item .news-content .news-title a {
  color: #4B4C4E;
  font-size: 20px;
  margin-bottom: 5px;
  margin-top: 10px;
  text-decoration: none;
}
.news-archive .news-list .news-item .news-content .readmore-link {
  color: #ed1c24;
  text-decoration: none;
}
.news-archive .pagination {
  text-align: center;
}
.news-archive .pagination ul {
  list-style: none;
}
.news-archive .pagination ul li {
  display: inline;
}
.news-archive .pagination a.page-numbers {
  color: #4B4C4E;
  text-decoration: none;
  width: 50px;
  height: 50px;
  padding: 5px 12px;
}
.news-archive .pagination span.current {
  background: #4B4C4E;
  color: #fff;
  padding: 10px 12px 5px 12px;
  border-radius: 3px;
}

.single-news .post-head .post-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.single-news .related-posts {
  background-color: #f8f8f8;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 50px;
}
.single-news .related-posts h2 {
  font-size: 25px;
  font-weight: 500;
  padding-bottom: 20px;
}
.single-news .related-posts .news-item {
  background-color: #fff;
}
.single-news .related-posts .news-item .news-content {
  padding: 15px;
}
.single-news .related-posts .news-item .news-content .news-date {
  color: #7d7d7d;
  font-size: 10px;
  text-transform: uppercase;
}
.single-news .related-posts .news-item .news-content .news-title a {
  color: #4B4C4E;
  font-size: 16px;
  font-weight: 500;
  margin-top: 5px;
  margin-bottom: 5px;
  text-decoration: none;
}
.single-news .related-posts .news-item .news-content .readmore-link {
  color: #ed1c24;
  text-decoration: none;
}

@media (min-width: 767px) {
  .news-archive .news-list {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }
  .news-archive .news-list .news-item:first-child {
    grid-column: 1/-1;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    height: 335px;
    margin-bottom: 50px;
    overflow: hidden;
  }
  .news-archive .news-list .news-item:first-child .inner {
    flex: 0 0 50%;
  }
  .news-archive .news-list .news-item:first-child .inner img {
    width: 100%;
    height: 335px;
  }
  .news-archive .news-list .news-item:nth-child(3n) {
    margin-right: 20px;
    margin-left: 20px;
  }
  .single-news .related-posts h2 {
    font-size: 30px;
  }
  .single-news .related-posts .items {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }
  .single-news .related-posts .items .news-item {
    border: 1px solid #ddd;
    margin-bottom: 20px;
  }
  .single-news .related-posts .items .news-item .news-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
  .single-news .related-posts .items .news-item .news-content {
    padding: 15px;
  }
  .single-news .related-posts .items .news-item .news-content .news-date {
    color: #7d7d7d;
    font-size: 10px;
    text-transform: uppercase;
  }
  .single-news .related-posts .items .news-item .news-content .news-title a {
    color: #4B4C4E;
    font-size: 20px;
    text-decoration: none;
  }
  .single-news .related-posts .items .news-item .news-content .readmore-link {
    color: #ed1c24;
    text-decoration: none;
  }
  .single-news .related-posts .items .news-item:nth-child(2n) {
    margin-right: 20px;
    margin-left: 20px;
  }
}
@media (max-width: 991px) {
  .single-news .post-head .post-img img {
    width: 100%;
    height: 300px;
  }
  .single-news h1 {
    font-size: 20px;
  }
  .single-news .post-date {
    font-size: 12px;
  }
  .single-news p {
    font-size: 14px;
  }
}
.hero-banner {
  height: 400px;
  background-size: cover;
  margin-bottom: 50px;
  position: relative;
  background-position: center center;
}
.hero-banner h1 {
  position: absolute;
  color: #4B4C4E;
  font-weight: 500;
  background-color: white;
  bottom: 0;
  font-size: 44px;
  padding: 10px 25px;
  border-radius: 10px;
}
.hero-banner h1:after {
  content: "";
  position: absolute;
  margin: auto;
  right: -2px;
  height: 70%;
  width: 5px;
  background-color: #ed1c24;
  top: 15%;
}

@media (max-width: 767px) {
  .hero-banner {
    height: 250px;
  }
  .hero-banner h1 {
    font-size: 18px;
    padding: 10px 15px;
    margin-left: 25px;
    border-radius: 7px;
  }
}
footer {
  background-color: #fff;
  font-size: 15px;
  line-height: 24px;
  color: #4B4C4E;
}
footer .footer-top {
  background-color: #efefef;
}
footer .site-footer {
  background-color: #f8f8f8;
}
footer .site-footer .aboutus {
  padding-left: 3rem;
}
footer .site-footer h6 {
  border-bottom: 2px solid #000;
  width: fit-content;
  display: block;
  padding-bottom: 5px;
  margin-bottom: 15px;
}
footer h6 {
  color: #4B4C4E;
  font-size: 16px;
  text-transform: capitalize;
  letter-spacing: 0px;
  margin: 0;
}
footer p {
  margin: 0;
}
footer p.copyright-text {
  margin: 1em 0;
}
footer a {
  color: #4B4C4E;
  text-decoration: none;
}
footer a:hover {
  color: #000;
  text-decoration: none;
}
footer .footer-links {
  padding-right: 0;
  list-style: none;
}
footer .footer-links.inline li {
  display: inline-block;
}
footer .footer-links a {
  text-decoration: none;
  color: #4B4C4E;
}
footer .footer-links a:active, footer .footer-links a:focus, footer .footer-links a:hover {
  color: #000;
  text-decoration: none;
}
footer .about-us-links {
  padding-right: 0;
  list-style: none;
}
footer .about-us-links li {
  display: inline-block;
}
footer .about-us-links li a {
  text-decoration: none;
  border-left: 2px solid #4B4C4E;
  color: #4B4C4E;
  padding-left: 5px;
}
footer .about-us-links :last-of-type a {
  border-left: none;
}
footer .newsletter {
  padding: 1em;
  background-color: #ed1c24;
}
footer .newsletter h5 {
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  margin: 1rem;
  margin-right: 0;
}
footer .newsletter input[type=email] {
  min-width: 300px;
  height: 45px;
  padding-right: 10px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 0;
  font-size: 16px;
  padding-top: 2px;
}
footer .newsletter input[type=submit] {
  min-width: 170px;
  height: 45px;
  padding: 14px 20px;
  padding-right: 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border: 0;
  font-weight: 500;
  font-size: 16px;
  background-color: #4B4C4E;
  color: #fff;
  transition: 0.5s all;
}
footer .newsletter input[type=submit]:hover {
  background-color: #000;
  color: #fff;
}
footer .newsletter .hf-form .hf-message-success {
  text-align: center;
  font-size: 16px;
  color: #FFF;
  background-color: transparent;
  padding: 15px;
}
footer .copyright .footer-links li {
  padding-left: 1em;
  display: inline-block;
}
footer .media-icons {
  text-align: right;
  padding-right: 0;
  margin: 0;
  list-style: none;
}
footer .media-icons li {
  display: inline-block;
  margin-left: 5px;
}
footer .media-icons.title {
  margin-left: 15px;
  text-transform: uppercase;
  color: #96a2b2;
  font-weight: 700;
  font-size: 13px;
}
footer .media-icons a {
  display: inline-block;
  text-align: center;
  background-color: #fff;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
}
footer .media-icons a img {
  width: 25px;
}
footer .site-footer .recent-posts .icon img {
  width: 100px;
  height: 65px;
  object-fit: cover;
  max-width: fit-content;
}
footer .site-footer p {
  font-size: 15px;
}
footer .site-footer p.post-date {
  color: #959595;
  font-size: 14px;
  font-weight: 300;
}
footer .site-footer p.post-date img {
  width: 12px;
}
footer #back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 9;
}
footer #back-to-top.show {
  opacity: 1;
  visibility: visible;
}
footer #back-to-top img {
  width: 60px;
  height: 60px;
}

@media (max-width: 767px) {
  footer {
    padding-bottom: 0;
    overflow: hidden;
  }
  footer [class^=col-] {
    margin-bottom: 30px;
  }
  footer .subscribe-now {
    text-align: center;
  }
  footer .media-icons li.title {
    display: block;
    margin-left: 0;
    font-weight: 600;
  }
  footer .footer-top {
    padding-right: 2em;
    padding-left: 2em;
  }
  footer .site-footer {
    background-color: #f8f8f8;
    padding-right: 2em;
    padding-left: 2em;
  }
  footer .site-footer .aboutus,
footer .site-footer .useful-link,
footer .site-footer .recent-posts {
    padding-right: 1rem;
  }
  footer .newsletter {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  footer .newsletter h5 {
    margin-top: 0;
  }
  footer .newsletter input[type=email] {
    min-width: 200px;
  }
  footer .newsletter input[type=submit] {
    min-width: 75px;
  }
  footer .newsletter .d-flex-warp {
    flex-direction: column;
  }
  footer .copyright {
    text-align: center;
  }
  footer .copyright .footer-links {
    padding-right: 25px;
  }
  footer .copyright .copyright-text,
footer .copyright .menu-footer {
    width: 100%;
    margin-bottom: 0;
  }
  footer #back-to-top {
    bottom: 8px;
  }
}
.lab-search {
  margin-bottom: 5em;
}
.lab-search h3.search-title {
  font-size: 19px;
  font-weight: 400;
}
.lab-search #searchform {
  background-color: #fff;
  border: 1px solid #ddd;
}

.test-directory {
  background-color: #e5e5e5;
  padding-top: 2em;
  padding-bottom: 2em;
}
.test-directory h1 {
  font-size: 35px;
  color: #4B4C4E;
}

.lab-search article.test-result {
  padding: 1em 5em;
  border: 1px solid #fafafa;
  margin: 1em 0;
}
.lab-search article.test-result:nth-of-type(odd) {
  background: #fafafa;
}
.lab-search article.test-result:nth-of-type(even) {
  background: #fff;
}
.lab-search h5 {
  font-weight: 400;
  font-size: 19px;
  color: #4B4C4E;
}
.lab-search p {
  font-weight: 600;
  font-size: 16px;
  color: #4B4C4E;
}
.lab-search .search-input,
.lab-search .search-category {
  padding: 0.6rem 2rem;
  border-radius: 5px;
  border: 1px solid #fff;
  outline: none;
  background-color: #fafafa;
  margin-left: 2em;
  width: 33%;
}
.lab-search .search-submit {
  outline: none;
  background: #4B4C4E;
  border-radius: 10px;
  color: #fff;
  padding: 0.7rem 3rem;
  border: 1px solid #4B4C4E;
  cursor: pointer;
}
.lab-search .search-submit:hover {
  background-color: #000;
  border-color: #000;
}
.lab-read {
  outline: none;
  background: #4B4C4E;
  border-radius: 10px;
  color: #fff;
  padding: 0.7rem 3rem;
  border: 1px solid #4B4C4E;
  cursor: pointer;
  text-decoration: none;
}
.lab-read:hover {
  background-color: #000;
  border-color: #000;
}
.lab-search .readmore-btn {
  text-align: left;
  text-decoration: none;
  display: block;
  font-weight: 500;
  margin-top: 25px;
}
.lab-search .readmore-btn a {
  text-decoration: none;
  color: #4B4C4E;
  transition: all 0.3s ease-in-out;
}
.lab-search .readmore-btn a:hover {
  color: #000;
}
.lab-search .not-found p {
  font-weight: 500;
}
.tests-table {
  width: 100%;
  border: 1px solid #ddd;
  margin-top: 64px;
  margin-bottom: 16px;
  padding: 0 48px;
}
.tests-table th {
  padding: 10px;
  text-align: right;
}
.tests-table tbody tr td {
  padding: 30px 10px;
}
.pagination {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding-top: 25px;
  align-items: baseline;
}
.pagination a {
  color: #000;
  text-decoration: none;
}
.pagination span.current {
  background: #4B4C4E;
  color: #fff;
  padding: 10px 12px 5px 12px;
  border-radius: 3px;
}

@media (max-width: 767px) {
  .lab-search article.test-result {
    padding: 1em;
  }
  .lab-search .search-input,
.lab-search .search-category {
    width: 100%;
    margin: 10px;
  }
  .lab-search .search-submit {
    margin: 10px;
    width: 100%;
  }
}
.leadership {
  margin-bottom: 100px;
}
.leadership .leadership-list {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  margin-top: 50px;
}
.leadership .leadership-list .leadership-item {
  margin-bottom: 20px;
  position: relative;
  margin-left: 50px;
}
.leadership .leadership-list .leadership-item .leadership-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.leadership .leadership-list .leadership-item .leadership-content {
  padding: 15px;
  display: grid;
  position: absolute;
  background: rgba(0, 0, 0, 0.7490196078);
  width: 100%;
  z-index: 9;
  bottom: 0;
  align-content: space-between;
}
.leadership .leadership-list .leadership-item .leadership-content h5.title {
  display: block;
  visibility: visible;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  margin-top: 5px;
  margin-bottom: 0px;
}
.leadership .leadership-list .leadership-item .leadership-content .position-title {
  height: 0;
  opacity: 0;
  color: #a7a7a7;
  transition: all 0.5s;
}
.leadership .leadership-list .leadership-item .leadership-content .position-title p {
  margin-top: 10px;
  margin-bottom: 10px;
}
.leadership .leadership-list .leadership-item .leadership-content .position-title .readmore-link {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}
.leadership .leadership-list .leadership-item:hover .position-title {
  height: 50px;
  opacity: 1;
}

.leadership-single .leadership-block {
  display: flex;
  margin-top: 50px;
  margin-bottom: 50px;
}
.leadership-single .leadership-block .image {
  flex-grow: 1;
  padding-left: 3em;
}
.leadership-single .leadership-block .image img {
  min-width: 430px;
  object-fit: cover;
}
.leadership-single .leadership-block .content {
  flex-grow: 2;
}
.leadership-single .leadership-block .content h2 {
  margin-top: 0;
}
.leadership-single .leadership-block .content .position {
  font-weight: 600;
  color: #999;
}

@media (max-width: 767px) {
  .leadership .leadership-list {
    display: block;
  }
  .leadership .leadership-list .leadership-item {
    margin-left: 0;
  }
  .leadership-single .leadership-block {
    display: block;
  }
  .leadership-single .leadership-block .image {
    padding: 0;
  }
  .leadership-single .leadership-block .image img {
    padding-left: 0em;
    height: auto;
    min-width: 100%;
  }
}
.cell-bg {
  background: url(/wp-content/themes/medlab-theme/assets/images/cell-background.webp);
  background-position: top left;
  background-repeat: no-repeat;
}

.contact-form h2 {
  font-size: 35px;
  color: #4B4C4E;
  margin-bottom: 0;
}
.contact-form p {
  font-size: 16px;
}
.contact-form .form-row {
  padding-left: 5em;
  padding-right: 5em;
}
.contact-form .form-row.flex-col {
  display: flex;
  justify-content: space-between;
}
.contact-form .form-row .form-col {
  margin-bottom: 1em;
}
.contact-form .form-row .form-col label {
  display: block;
  font-size: 16px;
  color: #4B4C4E;
  margin-bottom: 5px;
}
.contact-form .form-row .form-col label span {
  color: #ed1c24;
}
.contact-form .form-row .form-col input,
.contact-form .form-row .form-col textarea {
  display: block;
  min-width: 300px;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  text-align: right;
}
.contact-form .form-row .form-col textarea,
.contact-form .form-row .form-col input[type=file] {
  width: 100%;
}
.contact-form .form-row .form-col select {
  padding: 10px;
  width: 100%;
  border: 1px solid #dedede;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url(/wp-content/themes/medlab-theme/assets/images/angle-down.webp) no-repeat 3% center !important;
}
.contact-form .form-row .form-col select:focus {
  outline: none;
}
.contact-form .form-row .form-col input[type=file] {
  position: relative;
  padding-right: 30px;
  color: #000;
  text-transform: capitalize;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url(/wp-content/themes/medlab-theme/assets/images/upload-file.webp);
  background-repeat: no-repeat;
  background-position: right 8px;
}
.contact-form .form-row .form-col input[type=file]::file-selector-button {
  visibility: hidden;
  width: 0px;
  text-transform: capitalize;
}
.contact-form .form-row .submit-btn {
  color: #fff;
  text-align: center;
  background-color: #4B4C4E;
  border: 1px solid #4B4C4E;
  border-radius: 10px;
  padding: 10px 70px;
  margin-top: 3em;
  margin-bottom: 1em;
  font-size: 16px;
}
.contact-form .form-row .submit-btn:hover {
  background-color: #000;
  border-color: #000;
}

.hf-form .hf-message-success {
  text-align: center;
  font-size: 22px;
  background: #fff;
  padding: 50px;
}

@media (max-width: 767px) {
  .contact-form .form-row {
    padding-left: 1em;
    padding-right: 1em;
  }
  .contact-form .form-row.flex-col {
    display: block;
  }
  .contact-form .submit-btn {
    padding: 10px 30px;
  }
  .contact-form .form-col input,
.contact-form .form-col textarea {
    min-width: initial;
    width: 100%;
  }
}
.checkups-list .red {
  color: #ed1c24;
}

.checkup-gallery .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.enter-sbd input {
  width: 100%;
}

.rtl .check-ups .elementor-image-box-content {
  text-align: right;
}

.page404 {
  height: 70vh;
  display: flex;
  align-items: center;
}
.page404 h1 {
  font-size: 60px;
  font-weight: 400;
}
.page404 .search-input {
  height: 35px;
  width: 225px;
}
.page404 .search-submit {
  background: #4B4C4E;
  height: 35px;
  padding-left: 25px;
  padding-right: 25px;
  color: #fff;
  outline: 0;
  border: 1px solid #4B4C4E;
}

@media (max-width: 767px) {
  .page404 h1 {
    font-size: 35px;
  }
}
.partners-item figure {
  text-align: center;
}

.timeline-slider .swiper {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
.timeline-slider .swiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 5%;
  background: transparent;
}
.timeline-slider .swiper .swiper-slide p {
  display: block;
  text-align: right;
  text-align: right;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.0705882353);
  background-color: #fff;
  padding: 50px;
  width: 60%;
  font-size: 14px;
  margin-top: 50px;
}
.timeline-slider .swiper.timeline:after {
  content: "";
  position: absolute;
  bottom: 9px;
  height: 0.5em;
  border-top: 2px solid black;
  z-index: -1;
  width: 100%;
}
.timeline-slider .swiper.timeline .swiper-wrapper {
  height: 29px;
}
.timeline-slider .swiper.timeline .swiper-wrapper .swiper-slide {
  width: 25%;
  background: url("/wp-content/themes/medlab-theme/assets/images/timeline-arrow-rotated.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  color: #fff;
  cursor: pointer;
  padding-left: 25px;
  padding-right: 0;
  padding-top: 0px;
}
.timeline-slider .swiper.timeline .swiper-wrapper:last-child:after {
  content: "";
}
.timeline-slider .swiper.timeline .swiper-wrapper .swiper-slide-thumb-active {
  opacity: 1;
  background: url("/wp-content/themes/medlab-theme/assets/images/timeline-red-arrow-rotated.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  color: #fff;
}
.timeline-slider .swiper.timeline.timeline-content {
  width: 50%;
}

@media (max-width: 767px) {
  .timeline-slider .swiper.timeline-content {
    width: 100%;
  }
  .timeline-slider .swiper .swiper-slide p {
    min-width: 300px;
    padding: 20px;
  }
}
.care-model .first .elementor-image-box-content {
  display: block !important;
}
.care-model .elementor-image-box-content {
  display: none;
  padding: 10px;
}

@media (max-width: 767px) {
  .care-model .elementor-image-box-content {
    display: block !important;
  }
}
.insurance-coverage .filter-countries {
  text-align: center;
}
.insurance-coverage .filter-countries #countryList {
  font-size: 17px;
  font-weight: 400;
  color: #000;
  min-width: 300px;
  margin-bottom: 50px;
  margin-bottom: 50px;
  padding: 15px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url(/wp-content/themes/medlab-theme/assets/images/angle-down.webp) no-repeat 5% center !important;
}
.insurance-coverage .companies-list {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}
.insurance-coverage .companies-list .list--list-item {
  width: 225px;
  height: 225px;
  border: 1px solid #ccc;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}
.insurance-coverage .companies-list .list--list-item img {
  display: block;
  margin: auto;
  object-fit: cover;
}
.insurance-coverage .pagination {
  list-style: none;
  text-align: center;
}
.insurance-coverage .pagination li {
  display: inline;
  padding: 7px 14px;
  border-radius: 5px;
}
.insurance-coverage .pagination li a {
  color: #707070;
}
.insurance-coverage .pagination li.active {
  background-color: #4B4C4E;
}
.insurance-coverage .pagination li.active a {
  color: #fff;
}

@media (max-width: 767px) {
  .insurance-coverage .companies-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .insurance-coverage .companies-list .list--list-item {
    width: 125px;
    height: 125px;
  }
}
.lab-testing .pagination {
  list-style: none;
  text-align: center;
  margin-top: 25px;
}
.lab-testing .pagination a {
  color: #707070;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 5px;
}
.lab-testing .pagination.active {
  background-color: #4B4C4E;
}
.lab-testing .pagination.active a {
  color: #fff;
}

.single-lab-test .hero-banner {
  background-image: url(/wp-content/themes/medlab-theme/assets/images/lab-test-hero.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.single-lab-test .lab-test-list .lab-block {
  display: flex;
  flex-direction: row;
  padding-bottom: 3em;
  align-items: center;
}
.single-lab-test .lab-test-list .lab-block .title {
  flex: 35%;
  padding-left: 5em;
}
.single-lab-test .lab-test-list .lab-block .title h2 {
  font-size: 39px;
  font-weight: 500;
  border-bottom: 2px solid #ed1c24;
  padding-bottom: 10px;
}
.single-lab-test .lab-test-list .lab-block .title p {
  font-size: 16px;
}
.single-lab-test .lab-test-list .lab-block .content {
  flex: 50%;
}

.featured-tests {
  background-color: #f8f8f8;
  padding-top: 3em;
}
.featured-tests .slide-title {
  font-size: 35px;
  font-weight: 500;
  margin-bottom: 1em;
}
.featured-tests .swiper-wrapper .swiper-slide .slider-image {
  position: relative;
  height: 440px;
}
.featured-tests .swiper-wrapper .swiper-slide .slider-image img {
  height: 440px;
  object-fit: cover;
}
.featured-tests .swiper-wrapper .swiper-slide .slider-content {
  position: absolute;
  z-index: 9;
  background: rgba(51, 51, 51, 0.87);
  bottom: 0;
  width: 100%;
  padding: 1em;
  height: 150px;
}
.featured-tests .swiper-wrapper .swiper-slide .slider-content .subtitle {
  color: #fff;
  margin: 0;
  font-size: 16px;
  height: 50px;
}
.featured-tests .swiper-wrapper .swiper-slide .slider-content .text p {
  color: #fff;
  font-size: 14px;
  margin: 0;
  margin-bottom: 10px;
}
.featured-tests .swiper-wrapper .swiper-slide .slider-content .slide-btn a {
  color: #fff;
  text-decoration: none;
}
.featured-tests .swiper-pagination {
  position: relative;
  margin-top: 50px;
}
.featured-tests .swiper-pagination .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  color: #707070;
  background-color: #707070;
}

@media (max-width: 800px) {
  .lab-test-single .lab-test-list .lab-block {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0em;
  }
  .lab-test-single .lab-test-list .lab-block .title {
    padding: 0;
  }
}
.featured-tests .slide-title {
  font-size: 25px;
}
.featured-tests .swiper {
  padding: 0.75em;
}

.careers-form .item {
  background-color: #fff;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.0705882353);
  padding: 30px 50px;
  margin-bottom: 3rem;
}
.careers-form .item h4 {
  font-size: 20px;
  font-weight: 600;
}
.careers-form .item h4 span {
  font-weight: 500;
  font-size: 16px;
}
.careers-form .item label.d-block {
  display: block;
  min-width: 200px;
}
.careers-form .item span.required {
  color: #ed1c24;
}
.careers-form .item input[type=text],
.careers-form .item input[type=date],
.careers-form .item input[type=email] {
  padding: 8px;
  min-width: 300px;
  margin: 5px 0;
  border: 1px solid #ccc;
}
.careers-form .item select {
  padding: 8px;
  min-width: 300px;
  margin: 5px 0;
  border: 1px solid #ccc;
}
.careers-form .item .item-row {
  width: 80%;
}
.careers-form .radio-label {
  margin-left: 25px;
  line-height: 1.2;
}
.careers-form .radio-input {
  line-height: 1;
  display: flex;
  grid-template-columns: 1em auto;
  gap: 0.5em;
  margin-bottom: 5px;
  align-items: center;
}
.careers-form .radio-input input[type=radio] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  border-radius: 50%;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
  margin-right: 15px;
}
.careers-form .radio-input input[type=radio]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
}
.careers-form .radio-input input[type=radio]:checked {
  border: 5px solid #000;
}
.careers-form .radio-input input[type=radio]:checked::before {
  transform: scale(1);
}
.careers-form .my-1 {
  margin-top: 1em;
  margin-bottom: 1em;
}
.careers-form .responsive-table {
  background-color: #fff;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.0705882353);
  padding: 30px 50px;
  margin-bottom: 3rem;
  overflow-x: auto;
}
.careers-form .responsive-table table {
  border-collapse: collapse;
  width: 100%;
}
.careers-form .responsive-table table thead th {
  background-color: #4B4C4E;
  color: #fff;
  padding: 10px;
  text-align: center;
  border: 1px solid #4B4C4E;
}
.careers-form .responsive-table table tbody th {
  background-color: #eee;
  text-align: right;
  padding: 20px 10px;
  text-align: center;
  border: 1px solid #ccc;
  width: 10%;
}
.careers-form .responsive-table table tbody td {
  border: 1px solid #ccc;
  text-align: right;
  padding: 8px;
}
.careers-form .responsive-table table tbody td input[type=text],
.careers-form .responsive-table table tbody td input[type=date],
.careers-form .responsive-table table tbody td input[type=email] {
  min-width: 100%;
  width: 100px;
  margin: 5px 0;
}
.careers-form .btn-submit {
  background-color: #4B4C4E;
  border: 1px solid #4B4C4E;
  color: #fff;
  padding: 10px 35px;
  border-radius: 10px;
  font-size: 16px;
}
.careers-form .btn-submit:hover {
  background-color: #000;
  border-color: #000;
  outline: #000;
}
.careers-form .preview {
  text-align: center;
  margin-bottom: 1em;
  margin-left: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.careers-form .preview #img-preview {
  width: 134px;
  height: 134px;
  border-radius: 100%;
  display: block;
  margin-bottom: 10px;
}
.careers-form .preview #fileInput {
  display: none;
}
.careers-form .preview .file-upload {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  width: 190px;
}

@media screen and (max-width: 768px) {
  .careers-form .item {
    padding: 1.5em;
  }
  .careers-form .item .d-flex {
    display: block;
  }
  .careers-form .item .item-row {
    width: 100%;
  }
  .careers-form .item input[type=text],
.careers-form .item input[type=date],
.careers-form .item input[type=email],
.careers-form .item select {
    min-width: 100%;
  }
  .careers-form .item label {
    margin-top: 10px;
  }
  .careers-form .preview #img-preview {
    display: initial;
  }
}
.our-team-slider {
  width: 100%;
}
.our-team-slider .swiper-wrapper .swiper-slide {
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 18px;
  background: transparent;
}
.our-team-slider .swiper-wrapper .swiper-slide img {
  display: block;
  object-fit: contain;
  width: 230px;
  height: 335px;
}
.our-team-slider .swiper-wrapper .swiper-slide .slider-content {
  width: 70%;
  text-align: right;
  padding-right: 3em;
  left: 0;
  margin-left: 1em;
}
.our-team-slider .swiper-wrapper .swiper-slide .slider-content .title {
  color: #4B4C4E;
  font-size: 44px;
  line-height: 44px;
  font-weight: 500;
}
.our-team-slider .swiper-wrapper .swiper-slide .slider-content .subtitle {
  color: #4B4C4E;
  font-size: 20px;
  font-weight: 600;
}
.our-team-slider .swiper-wrapper .swiper-slide .slider-content .subtitle a {
  color: #4B4C4E;
  font-weight: 600;
}
.our-team-slider .swiper-wrapper .swiper-slide .slider-content .text p {
  font-size: 16px;
  margin-top: 10px;
}
.our-team-slider .swiper-pagination {
  position: relative;
  margin-top: 2em;
}
.our-team-slider .swiper-pagination .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  display: inline-block;
  border-radius: 50%;
  opacity: 1;
  background: #aaa;
}
.our-team-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #4B4C4E;
}

@media screen and (max-width: 768px) {
  .our-team-slider .swiper-wrapper .swiper-slide {
    display: block;
  }
  .our-team-slider .swiper-wrapper .swiper-slide .slider-image {
    width: 100%;
  }
  .our-team-slider .swiper-wrapper .swiper-slide .slider-image img {
    display: inline-block;
    object-fit: cover;
    width: 300px;
    height: 300px;
  }
  .our-team-slider .swiper-wrapper .swiper-slide .slider-content {
    width: 100%;
    padding: 1em;
    margin-left: 0;
  }
  .our-team-slider .swiper-wrapper .swiper-slide .slider-content .subtitle {
    font-size: 16px;
    font-weight: 600;
  }
  .our-team-slider .swiper-wrapper .swiper-slide .slider-content .text p {
    font-size: 13px;
  }
}
.our-community {
  display: flex;
  flex-wrap: wrap;
}
.our-community .item {
  width: 50%;
}
.our-community .item .image-container {
  position: relative;
  width: 540px;
  height: 390px;
  display: flex;
  align-items: center;
}
.our-community .item .image-container:hover p {
  visibility: visible;
}
.our-community .item .image-container:hover:before {
  visibility: visible;
}
.our-community .item .image-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;
}
.our-community .item .image-container img {
  width: 540px;
  height: 390px;
  object-fit: cover;
}
.our-community .item p {
  position: absolute;
  color: white;
  font-size: 16px;
  text-align: right;
  visibility: hidden;
  padding: 3em;
}
.our-community .item h5 {
  font-size: 20px;
  color: #4B4C4E;
  text-align: center;
  font-weight: 500;
}

@media screen and (max-width: 1024px) {
  .our-community .item {
    width: 50%;
    padding: 15px;
  }
  .our-community .item .image-container {
    max-width: 100%;
    height: auto;
  }
  .our-community .item .image-container img {
    height: 300px;
  }
}
@media screen and (max-width: 768px) {
  .our-community {
    flex-direction: column;
  }
  .our-community .item {
    width: 100%;
  }
  .our-community .item .image-container {
    max-width: 100%;
    height: auto;
  }
  .our-community .item .image-container img {
    height: 250px;
  }
}
.laboratories h2 {
  font-size: 39px;
}
.laboratories .laboratories-filter select {
  padding: 10px;
  min-width: 300px;
  margin-left: 30px;
  border: 1px solid #dedede;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url(/wp-content/themes/medlab-theme/assets/images/angle-down.webp) no-repeat 5% center !important;
}
.laboratories .laboratories-filter select:focus {
  outline: none;
}

.laboratories-single .laboratories-block {
  display: flex;
  margin-top: 50px;
  margin-bottom: 50px;
  align-items: center;
}
.laboratories-single .laboratories-block .image {
  padding-left: 3em;
}
.laboratories-single .laboratories-block .image img {
  width: 520px;
  height: 400px;
  max-width: 100%;
  object-fit: cover;
}
.laboratories-single .laboratories-block .content h2 {
  margin-top: 0;
}
.laboratories-single .laboratories-block .content .position {
  font-weight: 600;
  color: #999;
}
.laboratories-single .laboratories-block .icon {
  display: flex;
  align-items: center;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.0705882353);
  margin-bottom: 1em;
  height: 85px;
  background-color: #fff;
  text-decoration: none;
  width: 600px;
  max-width: 100%;
}
.laboratories-single .laboratories-block .icon .icon-img {
  background: #ed1c24;
  height: 85px;
  width: 85px;
  min-width: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.laboratories-single .laboratories-block .icon .icon-img img {
  padding: 20px;
  border-radius: 5px;
  width: 75px;
  object-fit: cover;
  margin-left: 0;
}
.laboratories-single .laboratories-block .icon p {
  font-size: 20px;
  color: #4B4C4E;
  padding-left: 25px;
  padding-right: 25px;
}
.laboratories-single .laboratories-block .icon a {
  text-decoration: none;
  color: #4B4C4E;
}

@media (max-width: 767px) {
  .laboratories h2 {
    font-size: 25px;
  }
  .laboratories .laboratories-filter {
    margin: 1rem;
  }
  .laboratories .laboratories-filter .laboratories-list {
    display: block;
  }
  .laboratories .laboratories-filter select {
    min-width: 100%;
    margin-bottom: 1em;
    margin-left: 0;
  }
  .laboratories-single {
    margin: 1rem;
  }
  .laboratories-single .laboratories-block {
    display: block;
  }
  .laboratories-single .laboratories-block .image {
    padding: 0;
    width: 100%;
  }
  .laboratories-single .laboratories-block .image img {
    height: auto;
    min-width: 100%;
    background: #fff;
  }
  .laboratories-single .laboratories-block .icon {
    height: 75px;
  }
  .laboratories-single .laboratories-block .icon .icon-img {
    height: 75px;
    width: 75px;
    min-width: 75px;
  }
  .laboratories-single .laboratories-block .icon p {
    font-size: 12px;
    padding-left: 15px;
    padding-right: 15px;
  }
}
/***/
.search .hero-banner {
  background-image: url(/wp-content/themes/medlab-theme/assets/images/lab-test-hero.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.referral-lab-icon .elementor-icon-box-wrapper {
  display: flex;
  align-items: center;
}

.elementor-widget:not(:last-child) {
  margin-bottom: 0;
}

.rtl header .reverse-direction {
  flex-direction: row-reverse;
}
.rtl .joinchat {
  right: auto;
  left: 30%;
  bottom: 30px;
}
.rtl .joinchat .joinchat__box {
  transition: none;
  transform: none;
  left: -108px;
}
.rtl .joinchat .joinchat__button {
  left: -90px;
  right: auto;
}
.rtl .contact-us-icon .elementor-icon-box-description {
  direction: rtl;
}
.rtl .timeline-slider .swiper .swiper-slide {
  padding-left: 5px;
}
.rtl .our-team-slider .swiper-wrapper .swiper-slide .slider-content {
  margin-right: 1em;
  text-align: right;
}
.rtl .care-model {
  direction: ltr;
}
.rtl.home .elementor-counter .elementor-counter-number-suffix {
  text-align: right;
  padding-right: 5px;
}
.rtl .contact-icon .elementor-icon-box-wrapper .elementor-icon-box-icon {
  margin: 0;
}
.rtl .contact-icon .elementor-icon-box-wrapper .elementor-icon-box-content {
  text-align: right;
  margin-right: 15px;
}

.menu-careers-container select {
  padding: 10px;
  width: 200px;
}



.rtl .elementor-301 .elementor-element.elementor-element-348afb8 > .elementor-element-populated,
.rtl .elementor-301 .elementor-element.elementor-element-a0a4341 > .elementor-element-populated,
.rtl .elementor-301 .elementor-element.elementor-element-b81fa39 > .elementor-element-populated,
.rtl .elementor-301 .elementor-element.elementor-element-d900606 > .elementor-element-populated,
.rtl .elementor-301 .elementor-element.elementor-element-759c68d > .elementor-element-populated,
.rtl .elementor-795 .elementor-element.elementor-element-8b0a8e3 > .elementor-element-populated,
.rtl .elementor-795 .elementor-element.elementor-element-af35106 > .elementor-element-populated,
.rtl .elementor-795 .elementor-element.elementor-element-58e8249 > .elementor-element-populated{
    margin: 0px 50px 0px 0px;
}

.rtl .elementor-874 .elementor-element.elementor-element-b6a1da > .elementor-element-populated,
.rtl .elementor-874 .elementor-element.elementor-element-6c63887b > .elementor-element-populated{
    padding: 20px 20px 20px 75px;
}

.rtl .elementor-301 .elementor-element.elementor-element-6b95260 > .elementor-element-populated,
.rtl .elementor-301 .elementor-element.elementor-element-c22741f > .elementor-element-populated,
.rtl .elementor-301 .elementor-element.elementor-element-49ed4b2 > .elementor-element-populated{
	margin: 0px 0px 0px 50px;
}

.page-id-346 .elementor-image-box-title,
.page-id-346 .elementor-image-box-description,
.elementor-365 .elementor-element.elementor-element-6dd6c35 .elementor-icon-box-wrapper {
	text-align: right;
}
.page-id-365 .sehtak-list .elementor-widget-container ul li{
	font-weight:400;
}
.page-id-365 .elementor-icon-list-items .fa-caret-right:before {
 	content: "f0d9";
}


@media (max-width: 767px) {
	header .header-logo img {
		width: 120px;
	}
	
	.pamphlets .leadership-block .image img {
		max-width: 100%;
		margin-bottom: 2rem;
	}
}
.rtl footer .footer-top .col-item-4 .contact-info span{
	direction:ltr;
	float:left;
    margin-right: 10px;
}

.pamphlets .leadership-block .image img {
    width: 430px;
}

img {
  max-width: 100%;
}

/* Author pages - Absolute positioned header */

html[lang="ar"] .single-news .content-news {
  margin-left: 0;
  margin-right: 280px;
}

@media (max-width: 992px) {
  html[lang="ar"] .single-news .content-news {
    margin-left: 0;
    margin-right: 0;
  }
}

html[lang="ar"] .single-news {
  direction: rtl;
}


html[lang="ar"] .single-news .articale-head a {
    border-left: none;
    border-right: 3px solid transparent;
}

html[lang="ar"] .single-news .articale-head a:hover {
    color: #ed1c24;
    background: #fff5f5;
    border-right-color: #ed1c24;
}

.single-news .sticky-fixed {
    position: fixed !important;
    top: 20px;
    transition: 0.3s ease-in-out;
}

.single-medlab_author header,
.post-type-archive-medlab_author header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent !important;
  padding: 20px 0;
  transition: background-color 0.3s ease;
}

/* Add background on scroll */
.single-medlab_author header.scrolled,
.post-type-archive-medlab_author header.scrolled {
  background-color: rgba(34, 34, 34, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* Ensure header elements are visible on transparent background */
.single-medlab_author header .header-btn a,
.post-type-archive-medlab_author header .header-btn a {
  color: #fff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.single-medlab_author header .burger-lines .line,
.post-type-archive-medlab_author header .burger-lines .line {
  background: #fff !important;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.single-medlab_author header .header-logo img,
.post-type-archive-medlab_author header .header-logo img {
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.single-news .articale-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 250px;
  position: absolute;
  top: 30px;
  border-radius: 12px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.single-news .articale-head a {
  border-radius: 6px;
  cursor: pointer;
  color: #2c2c2c;
  font-size: 15px;
  transition: all 0.2s ease;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-left: 3px solid transparent;
  margin-left: -10px;
}

.single-news .articale-head a.toc-link-2 {
  font-size: 14px;
   padding-left: 20px;
  font-weight: 500;
  margin-left: 0;
}

.single-news .articale-head a.toc-link-2::before {
  display: none;
}

.single-news .articale-head a.toc-link-3,
.single-news .articale-head a.toc-link-4,
.single-news .articale-head a.toc-link-5,
.single-news .articale-head a.toc-link-6 {
  font-size: 13px;
  padding-left: 30px;
  font-weight: 400;
  margin-left: 0;
}

.single-news .articale-head a:hover {
  color: #ed1c24;
  background: #fff5f5;
  border-left-color: #ed1c24;
}

.single-news .articale-head a.active {
  color: #ed1c24;
  background: #fff5f5;
  border-left-color: #ed1c24;
}

.single-news .articale-head a.toc-link-2:hover::before {
  background: #ed1c24;
}

.single-news .sticky-fixed {
  position: fixed !important;
  top: 20px;
  transition: 0.3s ease-in-out;
}

header.nav-up+.single-news .sticky-fixed,
header.nav-up~.single-news .sticky-fixed {
  top: 150px;
}

.single-news .sticky-bottom {
  position: absolute !important;
  bottom: 40px;
  top: auto;
}

.single-news .breadcrumbs-wrapper {
  padding-top: 20px;
  padding-bottom: 15px;
}

/* Wrapper post layout - scoped to single-news */
.single-news .wrapper-post {
  display: flex;
  gap: 30px;
  position: relative;
  padding-top: 10px;
  padding-bottom: 40px;
}

.single-news .content-news {
  margin-left: 280px;
}

.single-news .faq-accordion {
  padding-block: 40px;
}


.single-news .faq-accordion h2 {
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.single-news .faq-item {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.single-news .faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #d8d8d8;
}

.single-news .faq-question {
  padding: 20px 24px;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
   font-size: 17px;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0;
  transition: all 0.2s ease;
}

.single-news .faq-question:hover {
  color: #ed1c24;
}

.single-news .faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f5f5f5;
  transition: all 0.2s ease;
  position: relative;
}

.single-news .faq-question:hover .faq-icon {
  background: #fff5f5;
}

.single-news .faq-icon svg {
  width: 16px;
  height: 16px;
  color: #666;
  transition: all 0.2s ease;
}

.single-news .faq-icon .icon-minus {
  display: none;
  position: absolute;
}

.single-news .faq-icon .icon-plus {
  display: block;
}

.single-news .faq-item.active .faq-icon {
  background: #ed1c24;
}

.single-news .faq-item.active .faq-icon svg {
  color: #ffffff;
}

.single-news .faq-item.active .faq-icon .icon-plus {
  display: none;
}

.single-news .faq-item.active .faq-icon .icon-minus {
  display: block;
}

.single-news .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #fafafa;
}


.single-news .faq-answer p {
  margin: 0;
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.7;
}


.single-news .faq-answer.open {
  max-height: 800px;
  padding: 20px 24px;
  border-top: 1px solid #f0f0f0;
}

/* Responsive styles for single post - scoped to single-news */
@media (max-width: 991px) {
  .single-news .breadcrumbs-wrapper {
    padding-top: 15px;
    padding-bottom: 10px;
  }

  .single-news .wrapper-post {
    flex-direction: column;
    gap: 20px;
    padding-top: 0;
    padding-bottom: 20px;
  }

  .single-news .articale-head {
    position: static !important;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    top: 0;
  }

  .single-news .content-news {
    margin-left: 0;
    width: 100%;
  }

  .single-news .sticky-fixed {
    position: static !important;
  }
}

@media (max-width: 768px) {
  .single-news .wrapper-post {
    gap: 16px;
  }

  .single-news .articale-head {
    padding: 16px;
    border-radius: 10px;
  }

  .single-news .articale-head a {
    font-size: 14px;
    padding: 5px 8px;
  }

  .single-news .articale-head a.toc-link-2 {
    font-size: 13px;
    padding-left: 18px;
  }

  .single-news .articale-head a.toc-link-3,
  .single-news .articale-head a.toc-link-4,
  .single-news .articale-head a.toc-link-5,
  .single-news .articale-head a.toc-link-6 {
    font-size: 12px;
    padding-left: 26px;
  }

  .single-news .faq-accordion h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .single-news .faq-item {
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .single-news .faq-question {
    padding: 16px 18px;
    font-size: 16px;
  }

  .single-news .faq-answer p {
    font-size: 14px;
    line-height: 1.6;
  }

  .single-news .faq-answer.open {
    padding: 16px 18px;
  }

  .single-news .faq-icon {
    min-width: 22px;
    height: 22px;
  }

  .single-news .faq-icon svg {
    width: 14px;
    height: 14px;
  }
}

/* ============================================
   CONTENT TABLES - Gutenberg & General
   Theme Colors: Primary #ed1c24 (Red), Secondary #4B4C4E (Dark Gray)
   ============================================ */

/* Base table styles for all content areas */
.content-news table,
.entry-content table,
.wp-block-table table,
article table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  font-family: inherit;
}

/* Table header */
.content-news table thead,
.entry-content table thead,
.wp-block-table thead,
article table thead {
  background: #f5f5f5;
  position: relative;
}

.content-news table thead::after,
.entry-content table thead::after,
.wp-block-table thead::after,
article table thead::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ed1c24;
}

.content-news table thead th,
.entry-content table thead th,
.wp-block-table thead th,
article table thead th {
  padding: 18px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  color: #4B4C4E;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.content-news table thead th:last-child,
.entry-content table thead th:last-child,
.wp-block-table thead th:last-child,
article table thead th:last-child {
  border-right: none;
}

/* Table body */
.content-news table tbody tr,
.entry-content table tbody tr,
.wp-block-table tbody tr,
article table tbody tr {
  border-bottom: 1px solid #ebebeb;
  transition: all 0.2s ease;
}

.content-news table tbody tr:hover,
.entry-content table tbody tr:hover,
.wp-block-table tbody tr:hover,
article table tbody tr:hover {
  background-color: #fff8f8;
  transform: scale(1.001);
  box-shadow: 0 2px 8px rgba(237, 28, 36, 0.08);
}

.content-news table tbody tr:last-child,
.entry-content table tbody tr:last-child,
.wp-block-table tbody tr:last-child,
article table tbody tr:last-child {
  border-bottom: none;
}

.content-news table tbody td,
.entry-content table tbody td,
.wp-block-table tbody td,
article table tbody td {
  padding: 16px 24px;
  color: #4B4C4E;
  font-size: 14px;
  line-height: 1.7;
  border-right: 1px solid #f5f5f5;
}

.content-news table tbody td:last-child,
.entry-content table tbody td:last-child,
.wp-block-table tbody td:last-child,
article table tbody td:last-child {
  border-right: none;
}

.content-news table tbody th,
.entry-content table tbody th,
.wp-block-table tbody th,
article table tbody th {
  padding: 16px 24px;
  font-weight: 700;
  color: #4B4C4E;
  background-color: #f9f9f9;
  text-align: left;
  border-right: 1px solid #ebebeb;
}

.content-news table tbody th:last-child,
.entry-content table tbody th:last-child,
.wp-block-table tbody th:last-child,
article table tbody th:last-child {
  border-right: none;
}

/* Striped table variant */
.wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.content-news table.striped tbody tr:nth-child(odd),
.entry-content table.striped tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(even),
.content-news table.striped tbody tr:nth-child(even),
.entry-content table.striped tbody tr:nth-child(even) {
  background-color: #ffffff;
}

.wp-block-table.is-style-stripes tbody tr:hover,
.content-news table.striped tbody tr:hover,
.entry-content table.striped tbody tr:hover {
  background-color: #fff8f8 !important;
}

/* Figure wrapper for Gutenberg tables */
figure.wp-block-table {
  margin: 28px 0;
  overflow-x: auto;
  border-radius: 10px;
}

figure.wp-block-table table {
  margin: 0;
}

figure.wp-block-table figcaption {
  padding: 14px 24px;
  background: #f9f9f9;
  border-top: 2px solid #ed1c24;
  font-size: 13px;
  color: #4B4C4E;
  font-style: italic;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
}

/* Responsive table wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}

.table-responsive table {
  margin: 0;
}

/* Responsive behavior for mobile */
@media (max-width: 768px) {

  /* Auto-wrap tables on mobile */
  .content-news table,
  .entry-content table,
  .wp-block-table,
  article table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 6px;
  }

  .content-news table thead th,
  .entry-content table thead th,
  .wp-block-table thead th,
  article table thead th {
    padding: 12px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .content-news table tbody td,
  .entry-content table tbody td,
  .wp-block-table tbody td,
  article table tbody td,
  .content-news table tbody th,
  .entry-content table tbody th,
  .wp-block-table tbody th,
  article table tbody th {
    padding: 10px 14px;
    font-size: 13px;
  }

  figure.wp-block-table figcaption {
    padding: 10px 14px;
    font-size: 12px;
  }

  /* Scroll indicator shadow */
  .content-news table,
  .entry-content table,
  .wp-block-table table,
  article table {
    background: linear-gradient(to right, white 30%, rgba(255, 255, 255, 0)),
      linear-gradient(to right, rgba(255, 255, 255, 0), white 70%) 0 100%,
      radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)),
      radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 0 100%;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-position: 0 0, 100%, 0 0, 100%;
    background-attachment: local, local, scroll, scroll;
  }
}

/* Alternative: Card-style table for very small screens */
@media (max-width: 480px) {

  .content-news table.table-cards,
  .entry-content table.table-cards,
  article table.table-cards {
    display: block;
    border: none;
    box-shadow: none;
  }

  .content-news table.table-cards thead,
  .entry-content table.table-cards thead,
  article table.table-cards thead {
    display: none;
  }

  .content-news table.table-cards tbody,
  .entry-content table.table-cards tbody,
  article table.table-cards tbody {
    display: block;
  }

  .content-news table.table-cards tbody tr,
  .entry-content table.table-cards tbody tr,
  article table.table-cards tbody tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .content-news table.table-cards tbody td,
  .entry-content table.table-cards tbody td,
  article table.table-cards tbody td {
    display: block;
    text-align: left;
    padding: 8px 0;
    border: none;
  }

  .content-news table.table-cards tbody td::before,
  .entry-content table.table-cards tbody td::before,
  article table.table-cards tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: #2c2c2c;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
}