/* condition hero section */
.condition-hero-section {
  background-color: #f8f8f8;
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
}

.condition-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.condition-hero-content {
  max-width: 600px;
}

.hero-desc {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 160%;
  color: rgb(71, 85, 105);
  margin-top: 16px;
  margin-bottom: 32px;
}

.condition-hero-image {
  width: 100%;
  height: 450px;
  background-color: #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}

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

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f6841f;
  color: #ffffff;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 6px 6px 6px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: fit-content;
}

.btn-primary-custom .btn-icon {
  background-color: #ffffff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-left: 16px;
}

.btn-primary-custom .btn-icon i {
  color: #f6841f !important;
}

.btn-primary-custom:hover {
  background-color: #df7314;
  color: #ffffff;
}

/* condition main content */
.condition-main-content {
  background-color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
}

.content-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 48px;
  align-items: start;
}

.rich-text-area,
.sidebar-area {
  min-width: 0;
  width: 100%;
}

.section-title {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 130%;
  color: rgb(15, 45, 89);
  margin-top: 48px;
  margin-bottom: 24px;
}

.section-subtitle {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: rgb(15, 45, 89);
  margin-top: 32px;
  margin-bottom: 16px;
}

.rich-text-area p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: rgb(71, 85, 105);
  margin-top: 0;
  margin-bottom: 24px;
}

.content-inline-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
  display: block;
  object-fit: cover;
}

.content-inline-image-auto {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
  display: block;
}

.image-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.custom-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-list li {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 160%;
  color: rgb(71, 85, 105);
  position: relative;
  padding-left: 24px;
}

.custom-list li::before {
  content: "•";
  color: #f6841f;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 24px;
  line-height: 100%;
}

.custom-list li strong {
  color: rgb(15, 45, 89);
  font-weight: 600;
}

.outro-box {
  background-color: #fafafa;
  border-radius: 12px;
  padding: 40px;
  margin-top: 48px;
  border-left: 4px solid #f6841f;
}

.outro-box .section-title {
  margin-top: 0;
}

.mt-4 {
  margin-top: 24px;
}

.mt-5 {
  margin-top: 48px;
}

/* video section layout */
.content-video-wrap {
  position: relative;
}

.small-video-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.small-video-card:hover {
  border-color: #f6841f;
}

.small-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
}

.small-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-play {
  background: transparent;
  border: none;
  color: rgb(255, 255, 255);
  font-size: 40px;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.small-video-card:hover .btn-play {
  opacity: 1;
  transform: scale(1.1);
}

/* before & after slider */
.ba-slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.ba-slider-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ba-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 10px;
  cursor: grab;
}

.ba-slider-track.active {
  cursor: grabbing;
}

.ba-slider-track::-webkit-scrollbar {
  display: none;
}

.ba-slide {
  flex: 0 0 calc(50% - 12px);
  min-width: 720px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.ba-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  pointer-events: none;
}

.ba-slide-text {
  padding: 16px;
  text-align: center;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  color: #f6841f;
}

/* Slider Arrows */
.ba-arrow {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 30px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background-color 0.3s;
}

.ba-arrow:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.ba-prev {
  left: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.ba-next {
  right: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

/* modal styling */
.ocfa-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.ocfa-video-modal.show {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  z-index: 10000;
}

.iframe-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: #000;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: rgb(255, 255, 255);
  font-size: 32px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #f6841f;
}

/* faq section */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: rgb(15, 45, 89);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question.active,
.faq-question:hover {
  background-color: #f1f2f1;
}

.faq-question i {
  color: #f6841f;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 0 24px 24px 24px;
}

.faq-answer p {
  margin-bottom: 0;
}

/* sidebar section */
.sidebar-area {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background-color: #f8f8f8;
  padding: 32px;
  border-radius: 12px;
}

.sidebar-title i {
  color: #f6841f;
  margin-right: 8px;
}

.sidebar-link-text {
  color: #f6841f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar-link-text:hover {
  color: #df7314;
}

@media (max-width: 1199.98px) {

  .condition-hero-grid,
  .content-grid {
    gap: 32px;
  }

  .condition-hero-image {
    height: 400px;
  }
}

@media (max-width: 991.98px) {

  .condition-hero-section,
  .condition-main-content {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .condition-hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .condition-hero-content {
    max-width: 100%;
    text-align: center;
    order: 2;
  }

  .condition-hero-image {
    height: 350px;
    order: 1;
  }

  .condition-hero-content .btn-primary-custom {
    margin: 0 auto;
  }

  .sidebar-area {
    position: static;
  }
}

@media (max-width: 767.98px) {

  .condition-hero-section,
  .condition-main-content {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .condition-hero-image {
    height: 250px;
  }

  .hero-desc,
  .rich-text-area p,
  .custom-list li {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
    margin-top: 32px;
    margin-bottom: 16px;
  }

  .section-subtitle {
    font-size: 22px;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .btn-primary-custom {
    width: 100%;
  }

  .outro-box {
    padding: 24px 20px;
    margin-top: 32px;
  }

  .sidebar-card {
    padding: 24px;
  }

  .image-grid-2x2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ba-slide {
    flex: 0 0 85%;
  }

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

  .faq-answer {
    padding: 0 16px 16px 16px;
  }

  .faq-answer p {
    font-size: 15px;
  }

  .faq-accordion {
    margin-bottom: 32px;
  }

  .modal-close {
    top: -36px;
    right: 0;
  }
}

.condition-hero-section {
  background-color: rgb(248, 248, 248);
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
}

.condition-main-content {
  background-color: rgb(255, 255, 255);
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
}

.rich-text-area {
  min-width: 0px;
  width: 100%;
}

.sidebar-area {
  min-width: 0px;
  width: 100%;
}

.image-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 24px;
  column-gap: 24px;
}

.content-video-wrap {
  position: relative;
}

.ba-slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.ba-arrow {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border-top-width: medium;
  border-right-width: medium;
  border-bottom-width: medium;
  border-left-width: medium;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  width: 30px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition-behavior: normal;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0s;
  transition-property: background-color;
}

.ocfa-video-modal {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  column-gap: 16px;
  margin-bottom: 48px;
}

.faq-question.active {
  background-color: rgb(241, 242, 241);
}

.faq-question:hover {
  background-color: rgb(241, 242, 241);
}

#ihkgvm {
  color: black;
  border: 0 solid black;
}

#ibddrn {
  min-width: 0;
}

#ipgmwf {
  margin-top: 0;
}

#i70oek {
  margin-top: 24px;
  margin-bottom: 24px;
}

#i3ppnh {
  max-width: 500px;
  margin: 32px 0;
}

#i81rcr {
  margin-top: 32px;
  margin-bottom: 32px;
}

#i4lrfj {
  max-width: 500px;
  margin: 32px 0;
}

#iu859a {
  max-width: 500px;
  margin: 32px 0;
}

#i1y1xu {
  max-width: 500px;
  margin: 32px 0;
}

#ix63gc {
  margin-top: 56px;
  margin-bottom: 56px;
}

#ivoy4g {
  margin-top: 0;
  text-transform: uppercase;
}

#ih9f3p {
  margin-bottom: 24px;
}

#izz2eg {
  min-width: 0;
}

#i726je {
  width: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}