html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

.banner-slider .item img {
  width: 100vw;
}

section#main-content-desktop,
 section#main-content-mobile {
  padding: 0;
}

/* === HEADER BASE === */
section#header {
  /* position: sticky; */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 6;
  overflow: visible;
}

#top-content,
section#banner {
  margin-top: 47px;
}

/* === DESKTOP NAVIGATION === */
#desktop-nav {
  display: block;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu>li {
  position: relative;
}

.menu>li>a {
  text-decoration: none;
  padding: 10px;
  display: block;
  color: #000;
}

/* Submenu hidden by default on desktop */
.menu>li>.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  /* background: white; */
  background: transparent;
  /* min-width: 200px; */
  min-width: 26px;
  width: max-content;
  list-style: none;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  z-index: 1000;
  border-radius: 8px;
}

.menu>li:hover>.submenu {
  display: block;
}

.space-submenu {
  display: block;
  background-color: transparent;
  height: 10px;
}

.submenu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  background-color: #FFF;
}

.submenu li a:hover {
  background-color: #f5f5f5;
}

ul.menu>li>a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

ul.menu>li {
  border-bottom: 1px solid transparent;
}

ul.menu>li:hover {
  background-color: transparent;
  border-bottom: 1px solid #40f8a9;
}

/* ul.menu > li:hover > ul.submenu {
  margin-top: 4px;
} */

ul.submenu li a {
  color: #777777;
  padding: 10px 16px;
  font-weight: 500;
}

ul.submenu li a:hover {
  background-color: #f4f4f4;
  color: #117B76;
}

ul.submenu li:nth-child(2) a {
  border-radius: 8px 8px 0 0;
}

ul.submenu li:last-child a {
  border-radius: 0 0 8px 8px;
}

/* === HAMBURGER BUTTON (Mobile Only) === */
.hamburger {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 5;
  color: #007a3d;
}

.close-btn {
  background: none;
  border: none;
  position: relative;
  color: white;
  cursor: pointer;
  text-align: right;
  margin: 0 0 40px;
  padding: 0;
}

/* === MOBILE NAVIGATION OVERLAY === */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  /* height: unset; */
  overflow-y: scroll;
  width: 100%;
  background-color: #117b76;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}

.modal-content {
  padding: 20px;
  height: unset;
}

.mobile-nav-overlay.show {
  transform: translateX(0);
  opacity: 1;
}

.mobile-nav-overlay .menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* === ACCORDION STYLE (Mobile Submenus) === */
#mobile-nav .accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: white;
}

#mobile-nav .accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 20px;
  background-color: transparent;
  color: #fff;
}

#mobile-nav .accordion-header a {
  color: white;
  text-decoration: none;
  flex: 1;
}

#mobile-nav .accordion-body {
  background-color: transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 20px 0 36px;
  margin-bottom: 24px;
}

#mobile-nav .accordion-body ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

#mobile-nav .accordion-body ul li {
  padding: 14px 0;
}

#mobile-nav .accordion-body ul li a {
  color: #c7c7c7;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

#mobile-nav .accordion-item.active .accordion-body {
  max-height: 500px;
  background-color: transparent;
  padding: 0 20px 0 36px;
}

#mobile-nav .accordion-header .icon {
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
}

#mobile-nav .accordion-item.active .icon {
  transform: rotate(180deg);
}

.accordion-item {
  border: none;
}

.accordion-header {
  color: #333;
  font-size: 24px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.48px;
}

.accordion-body {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
}

/* .right.about-accordion {
  height: 290px;
} */
#about .container {
  padding:60px 0 0 0
}

/*# Insight Library Section : Homepage #*/


#insight-library .container {
  display: flex;
  flex-direction: column;
  padding: 60px 0 0 0;
  row-gap: 24px;
}

.heading {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
  padding: 2px 16px;
  border-radius: 6px;
  background: var(--lineat-green,
      linear-gradient(90deg, #40f8a9 0%, rgba(255, 255, 255, 0) 100%));
}

.heading h2 {
  color: #333;
  font-size: 30px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -1.5px;
  text-transform: capitalize;
}

.tabs {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.tab-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  column-gap: 16px;
  margin-left: 20px;
  font-weight: 600;
  align-items: center;
}

.tab-links a {
  padding: 10px 12px;
  display: inline-block;
  background: #f1f1f1;
  color: #777;
  border: 1px solid #f1f1f1;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.tab-links .active a,
.tab-links a:hover {
  border: 1px solid #117b76;
  color: #117b76;
  background-color: #ffffff;
}

#insight-library .tab-content .tab {
  display: none;
}

#insight-library .tab-content .active {
  display: flex;
  flex-direction: row;
  column-gap: 24px;
}

#insight-library .tab {
  display: flex;
  flex-direction: row;
  column-gap: 24px;
}

#insight-library .left.hightlight {
  width: 65%;
}

#insight-library .left.hightlight a {
  text-decoration: none;
}

#insight-library .right.recent-content {
  width: 35%;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

#insight-library .hightlight-box {
  flex: 1;
  aspect-ratio: 72/49;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  display: flex;
  align-items: flex-end;
  border-radius: 16px;
}

#insight-library .highlight-text {
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.8) 30%,
      rgba(0, 0, 0, 0) 100%);
  padding: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  border-radius: 16px;
}

#insight-library .highlight-text h1 {
  color: #fff;
  text-overflow: ellipsis;
  font-size: 20px;
  font-weight: 500;
  line-height: 140%;
  text-transform: capitalize;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  align-self: stretch;
  overflow: hidden;
}

#insight-library .highlight-text p {
  color: #b5b5b5;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
}

#insight-library .left.recent-content {
  flex: 1;
}

#insight-library .recent-content a {
  list-style: none;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: row;
  column-gap: 16px;
  align-items: center;
}

#insight-library .recent-content ul {
  list-style: none;
  padding: 0;
}

#insight-library .recent-content li {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

#insight-library .recent-content li:last-child {
  margin-bottom: 0px;
}

#insight-library .recent-content img {
  height: 124px;
  max-width: 190px;
  border-radius: 8px;
  object-fit: cover;
}

#relatedNews .related-card .wrapper-img img {
    object-fit: cover;
    aspect-ratio: 97 / 62;
    max-width: 190px;
    height: auto;
    min-width: 120px;
}

#insight-library .recent-content strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  align-self: stretch;
  overflow: hidden;
  font-size: 16px;
  font-weight: 500;
  /* line-height: 140%; */
  line-height: 165%;
  /* 22.4px */
}

#insight-library .recent-content small {
  color: #777;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
}

#insight-library .view-all {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #b8b8b8;
  cursor: pointer;
  color: #808080;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  background-color: #fff;
  transition: 0.3s;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  justify-content: center;
  text-decoration: none;
}

#insight-library .view-all:hover,
#single-news .view-all:hover {
  color: #117b76;
  border: 1px solid #117b76;
}

#insight-library .view-all img.icon {
  width: 9.8px;
  height: auto;
}

/*# Know The Market Section : Homepage #*/
#know-the-markets .container {
  display: flex;
  flex-direction: column;
  padding: 60px 0 30px 0;
  row-gap: 24px;
}

#know-the-markets .slide-img,
#know-the-markets a.tab-links {
  width: 100%;
  /* height: 600px; */
  object-fit: cover;
}

#know-the-markets .dl {
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  color: #737373;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  background-color: #f1f1f1;
  transition: 0.3s;
  display: flex;
  flex-direction: row;
  column-gap: 4px;
  justify-content: center;
  width: fit-content;
  align-items: center;
  text-decoration: none;
  border: 1px solid #f1f1f1;
  transition: 0.3s;
}

#know-the-markets .tab {
  display: none;
}

#know-the-markets .tab-content .tab.active {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  align-items: flex-end;
}

#know-the-markets .dl:hover {
  color: #117b76;
  border: 1px solid #117b76;
}

#know-the-markets .dl img.icon {
  width: 24px;
  height: 24px;
}

.tab-links {
  margin-left: 0px;
}

/*# Exclusive Content Section : Homepage #*/
section#exclusive-content {
  background-color: #fafafa;
}

#exclusive-content .container {
  display: flex;
  flex-direction: column;
  padding: 60px 0;
  row-gap: 20px;
}

/* #exclusive-content .left.vdo-live {
  width: 80%;
}
#exclusive-content .right.vdo-short {
  width: 20%;
}
*/
#exclusive-content .tab-content .tab {
  display: none;
}

#exclusive-content .tab-content .active {
  display: flex;
  flex-direction: row;
  column-gap: 24px;
}

#exclusive-content .tab-links .vdo-short-tab {
  visibility: hidden;
}

#exclusive-content .vdo-content {
  display: flex;
  flex-direction: row;
  column-gap: 28px;
}

#exclusive-content .vdo-content iframe {
  border-radius: 10px;
  margin-bottom: 16px;
}

#exclusive-content .vdo-content h3 {
  margin-bottom: 8px;
  overflow: hidden;
  color: #333;
  text-overflow: ellipsis;
  font-size: 20px;
  font-weight: 600;
  line-height: 140%;
  /* 28px */
}

#exclusive-content .view-all {
  padding: 9px 11px 9px 12px;
  border-radius: 8px;
  border: 1px solid #b8b8b8;
  cursor: pointer;
  color: #808080;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  background-color: #fff;
  transition: 0.3s;
  display: flex;
  flex-direction: row;
  column-gap: 4px;
  justify-content: center;
  width: fit-content;
  text-decoration: none;
}

#exclusive-content .view-all:hover {
  color: #117b76;
  border: 1px solid #117b76;
}

#exclusive-content .view-all img.icon {
  width: 9.8px;
  height: auto;
}

/*# Investment Solution Section : Homepage #*/
#investment-solution .container {
  display: flex;
  flex-direction: column;
  padding: 60px 0;
  row-gap: 40px;
}

/* ## Banner Slider ## */

/* section#investment-solution {
  padding: 0;
} */

/* #investment-solution .heading {
  margin: 0 20px;
} */

#investment-solution .owl-stage {
  display: flex;
}

#investment-solution .owl-carousel .owl-stage-outer {
  padding: 0 10px !important;
}

#investment-solution .owl-theme .owl-dots {
  text-align: center;
  margin-top: 10px;
  z-index: 9;
  position: relative;
}

#investment-solution .owl-theme .owl-dot {
  display: inline-block;
  margin: 0 3px;
  cursor: pointer;
}

#investment-solution .owl-theme .owl-dot span {
  width: 8px;
  height: 8px;
  background-color: transparent;
  border: solid 1px #808080;
  display: block;
  border-radius: 50%;
  transition: background-color 0.3s;
}

#investment-solution .owl-theme .owl-dots .owl-dot span {
  margin: 0;
}

#investment-solution .owl-theme .owl-dot.active span,
#investment-solution .owl-theme .owl-dot:hover span {
  background-color: #808080;
}

#investment-solution .investment-slider .investment-card {
  transform: scale(1);
  padding-top: 56px;
  /* padding-top: 40px; */
  transition: transform 0.3s ease;
  border-radius: 16px;
  border: 1px solid #dfdfdf;
  background: #fff;
  width: 85%;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: space-between;
}

#investment-solution .owl-carousel.owl-drag .owl-item {
  display: flex;
  justify-content: center;
}

#investment-solution .investment-slider .owl-item.center .investment-card {
  transform: scale(1);
  padding-top: 40px;
  transition: transform 0.3s ease;
  border: 1.047px solid #117b76;
  width: 100%;
}

#investment-solution .investment-slider .owl-item.center .investment-tabs {
  border: 1.047px solid #117b76;
  /* width: 90%; */
}

#investment-solution .investment-card {
  background: #fff;
  border-radius: 16px;
  text-align: center;
  /* height: 407px; */
}

#investment-solution .tab-card {
  width: 154px;
  color: #777777;
  background: #f1f1f1;
  padding: 10.5px 12px;
  border-radius: 6.8px;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 120%;
  text-transform: uppercase;
  transition: 0.3s;
  border: 1px solid #f1f1f1;
}

#investment-solution .owl-item.center .tab-card,
#investment-solution .tab-card:hover {
  border: 1px solid #117b76;
  background: #fff;
  color: #117b76;
}
#investment-solution .owl-item .bottom div.date-box p,
#investment-solution .owl-item .bottom div.date-box ul li  {
  font-size: 12px;
}
#investment-solution .owl-item.center .bottom div.date-box p,
#investment-solution .owl-item.center .bottom div.date-box ul li {
  font-size: 14px;
}

#investment-solution .investment-card .top {
  margin-bottom: 30px;
}

#investment-solution .investment-card .top h2 {
  color: #00788a;
  font-size: 24px;
  font-weight: 600;
  line-height: 140%;
  /* 33.6px */
  text-transform: uppercase;
  margin-bottom: 8.3px;
}

#investment-solution .investment-card .top h3 {
  color: #777;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  /* 22.4px */
}

#investment-solution .graph {
  width: 235px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  row-gap: 8.3px;
  margin-top: 8.3px;
  padding: 0 8.3px 8.3px 8.3px;
}

#investment-solution .graph .graph-text {
  display: flex;
  flex-direction: row;
  font-size: 14px;
  font-weight: 600;
  line-height: 140%;
  /* 19.6px */
  width: 100%;
  justify-content: space-between;
}

#investment-solution .more-info,
#investment-solution .fund-box {
  display: flex;
  flex-direction: row;
  column-gap: 6px;
  width: 100%;
  justify-content: center;
  padding: 8.3px 0;
  align-items: center;
}

#investment-solution .more-info .risk-box {
  color: #777;
  font-size: 12px;
  font-weight: 600;
  line-height: 100%;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0px 2.095px 4.19px 0px rgba(0, 0, 0, 0.1);
  padding-left: 8.3px;
  display: flex;
  flex-direction: row;
  column-gap: 4px;
  align-items: center;
}

#investment-solution .more-info .risk-box .num {
  border-radius: 104.738px;
  background: #f3f4f4;
  display: flex;
  width: 24px;
  height: 24px;
  aspect-ratio: 1/1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10.474px;
}

#investment-solution .date-box,
#investment-solution .value-box {
  display: flex;
  padding: 0 16px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  flex-wrap: nowrap;
  height: 36px;
}

#investment-solution .date-box ul {
  display: flex;
  flex-direction: row;
  column-gap: 8.3px;
  list-style: none;
  justify-content: space-between;
  align-items: center;
}

#investment-solution .fund-box {
  background: #117b76;
  /* position: absolute;
  bottom: 0; */
  border-radius: 0 0 16px 16px;
}

#investment-solution .tab-list::before {
  background: linear-gradient(90deg,
      rgb(255, 255, 255) 0%,
      rgba(0, 0, 0, 0) 10%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0) 90%,
      rgba(255, 255, 255, 0.954) 100%);
  content: "";
  width: 1140px;
  height: 41.6px;
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

p.value {
  font-size: 24px;
  font-weight: 600;
  line-height: 140%;
  color: #333;
}

#investment-solution .date-box {
  font-size: 14px;
}

/*# News Update Section : Homepage #*/
#news-update .container {
  display: flex;
  flex-direction: column;
  padding: 60px 0;
  row-gap: 20px;
}

#news-update .heading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0;
  background: none;
}

#news-update .heading h2 {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  width: 80%;
  padding: 2px 16px;
  border-radius: 6px;
  background: var(--lineat-green,
      linear-gradient(90deg, #40f8a9 0%, rgba(255, 255, 255, 0) 100%));
}

section#news-update {
  background-color: #fafafa;
  /* padding: 0; */
}



#news-update .view-all {
  padding: 9px 11px 9px 12px;
  border-radius: 8px;
  border: 1px solid #b8b8b8;
  cursor: pointer;
  color: #808080;
  font-size: 14px;
  font-weight: 500;
  /* line-height: 120%; */
  background-color: #fff;
  transition: 0.3s;
  display: flex;
  flex-direction: row;
  column-gap: 4px;
  justify-content: center;
  width: fit-content;
  text-decoration: none;
  flex-wrap: wrap;
  align-items: center;
}

#news-update .view-all:hover {
  color: #117b76;
  border: 1px solid #117b76;
}

#news-update .view-all:hover {
  color: #117b76;
  border: 1px solid #117b76;
}

#news-update .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

#news-update .news-card {
  background-color: #fafafa;
}

#news-update a.news-card {
  list-style: none;
  text-decoration: none;
}

#news-update .card-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  row-gap: 2px;
  height: auto;
}

#news-update .news-date {
  color: #969696;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
}

#news-update .news-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #333;
  text-overflow: ellipsis;
  font-size: 20px;
  font-weight: 600;
  line-height: 140%;
  /* 28px */
}

/*# Footer #*/
#footer {
  background-color: #fff;
  color: #777;
}

#footer .footer-content-bottom {
  margin-top: 20px;
}

/*# #newsTitle #*/
h1#newsTitle {
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  font-size: 30px;
  font-weight: 500;
  line-height: 140%;
  /* 42px */
}

#newsDate {
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  line-height: 140%;
}

#banner.banner-single-news .container {
  margin-bottom: 80px !important;
}

#relatedNews a {
  list-style: none;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: row;
  column-gap: 16px;
  align-items: center;
}

#relatedNews .related-card .wrapper-img {
  /* width: 40%;*/
  border-radius: 8px;
  aspect-ratio: 16/9;
}


#relatedNews .related-news-content {
  width: 60%;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

#single-news .view-all {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #b8b8b8;
  cursor: pointer;
  color: #808080;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  background-color: #fff;
  transition: 0.3s;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  justify-content: center;
  text-decoration: none;
}

section#service.sticky-bottom {
  position: -webkit-sticky;
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 5;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

section#service.sticky-bottom.hidden {
  opacity: 0;
  visibility: hidden;
}

#banner .container.blog img {
  height: 44px;
}

#banner .container.blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 16px;
}

#banner .container.blog .title {
  text-align: center;
  color: #fff;
  font-size: 56px;
  font-weight: 600;
  line-height: 120%;
  /* 67.2px */
  text-transform: uppercase;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-link {
  position: relative;
  margin-right: 20px;
}

.video-container {
  position: relative;
  cursor: pointer;
}

.video-container.videos-1 {
  width: 560px;
  height: 315px;
}

.video-container.videos-2 {
  /* width: 750px;
  height: 420px; */
  aspect-ratio: 16/9;
  /* width: 100%;
    height: 100%; */
  margin-bottom: 16px;
}

.video-container.videos-3 {
  /* aspect-ratio: 39/56; */
  /* width: 100%;
    height: 100%; */
  /* width: 292.5px;
  height: 420px; */
  margin-bottom: 16px;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.videos-2 .video-thumbnail,
.videos-3 .video-thumbnail {
  width: 100%;
  /* height: 380px;
  max-height: 400px; */

  height: 448px;
  min-height: 30px;
}

.video-iframe {
  display: none;
  width: 100%;
  height: 100%;
  border: none;
}

.videos-1 {
  aspect-ratio: 16 / 9;
  height: auto;
}

iframe#video2.video-iframe {
  aspect-ratio: 16 / 9;
  width: auto;
  height: 448px;
  min-height: 350px;
}

iframe#video3.video-iframe {
  aspect-ratio: 39 / 56;
  width: auto;
  height: 448px;
  min-height: 350px;
}

.footer-list,
.footer-content {
  display: block;
}

img.img-100 {
  width: 100%;
}

#insight-library.mobile .accordion-item {
  border: none;
}

#insight-library.mobile .accordion-header {
  padding: 10.5px 12px;
  background: #f1f1f1;
  border: solid 1px #f1f1f1;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  color: #777;
  font-size: 20px;
  font-weight: 600;
  line-height: 120%;
  /* 19.2px */
  margin-bottom: 10px;
}

#insight-library.mobile .accordion-item.active .accordion-header {
  border: 1px solid #117b76;
  background: #fff;
  color: #117b76;
}

#insight-library.mobile .accordion-header .icon path {
  fill: #777777;
}

#insight-library.mobile .accordion-item.active .accordion-header .icon path {
  fill: #117b76;
}

#insight-library.mobile .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
  background: #fff;
}

#insight-library.mobile .accordion-item.active .accordion-content {
  max-height: 500px;
  /* กำหนดความสูงพอให้แสดงเนื้อหา */
  padding: 1rem;
}

  section#main-content-mobile {
  display: none;
}

.news-card{
  text-decoration: none;
}
.card-content {
  height: auto;
}
.news-link{
  margin-top: 6px;
}


.accordion-toggle {
  text-decoration: underline;
  background: transparent;
  color:#117B76;
  border: none;
  padding: 0;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s;
}

.accordion-toggle:hover {
  background-color: #e0e0e0;
}

.footer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 16px;
  /* background: #fafafa; */
}

.footer-content.open {
  max-height: 1000px; /* Adjust this if your content is longer */
  padding: 16px;
}

#footer .footer-content {
  display: block;
}

#blog-list .news-title h3{
  padding-top: 2px;
}



@media (max-width: 1024px) {
      #single-news {
        padding: 24px 20px;
    }

}
/*------------------- Tablet ------------------- */

@media (max-width: 820px) {

  html,
  body {
    overflow-x: hidden;
  }

  #top-content.mobile,
  section#banner {
    margin-top: 40px;
  }

  section#service.mobile.sticky-bottom {
    max-width: 820px;
  }

  .video-container.videos-1,
  .video-container.videos-2,
  .video-container.videos-3 {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
  }

  iframe#video2.video-iframe,
  iframe#video3.video-iframe {
    display: none;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* Header */

  .mobile-nav-overlay {
    visibility: visible;
  }

  section#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 6;
  }

  .nav-bar {
    display: none;
  }

  #desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #header .header-content {
    min-height: 40px;
  }

  ul.menu>li>a {
    font-size: 16px;
    color: #fff;
    padding: 8px 40px;
    font-weight: 500;
    display: block;
    text-decoration: none;
  }

  #mobile-nav .site-logo {
    padding: 0 20px;
    margin-bottom: 56px;
  }

  #mobile-nav .site-logo img {
    width: 128px;
    height: 32px;
  }

  /* Mobile-only submenu behavior (accordion style) */
  .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
  }

  .has-submenu.open .submenu {
    max-height: 500px;
  }

  .has-submenu.open .accordion-toggle {
    transform: rotate(45deg);
  }

  .menu-more {
    margin: 100px 0 66px;
    padding: 16px 20px 0 20px;
    border-top: 1px solid #ffffff80;
    row-gap: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .menu-more ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 40px;
  }

  .menu-more ul>li>a {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    line-height: 150%;
    /* 18px */
  }

  .menu-more ul.sns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 13.3px;
  }

  .accordion-item {
    border-bottom: none;
  }

  #about.mobile .container {
    flex-direction: column;
    row-gap: 24px;
  }

  #about.mobile .container,
  #insight-library.mobile .container {
    padding: 40px 0 0 0;
  }

  #know-the-markets.mobile .container,
  #exclusive-content.mobile .container,
  #investment-solution.mobile .container,
  #news-update.mobile .container {
    padding: 40px 0;
  }

  .accordion-header {
    font-size: 20px;
  }

  .accordion .accordion-item:first-child .accordion-header {
    padding: 20px 0;
  }

  .videos-1,
  .left.vdo iframe {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .videos-2 .video-thumbnail,
  .videos-3 .video-thumbnail {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
  }

  .right.about-accordion {
    /* height: 268px; */
    height: auto;
  }

  .tab-links a {
    font-size: 18px;
  }

  #insight-library.mobile .container,
  .tabs {
    row-gap: 20px;
  }

  #news-update.mobile .news-grid {
    margin: 0;
  }

  #service.mobile .container .list ul {
    display: flex;
    justify-content: center;
  }

  #service.mobile .container .text ul li {
    display: flex;
    align-items: center;
  }

  #insight-library.mobile .tab-content .active {
    flex-direction: column;
    row-gap: 24px;
  }

  #insight-library.mobile .hightlight-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg,
        rgba(0, 0, 0, 0.8) 20%,
        rgba(0, 0, 0, 0) 100%);
    border-radius: 16px;
    opacity: 0.5;
    z-index: 1;
  }

  #insight-library.mobile .highlight-text {
    background: transparent;
    position: relative;
    z-index: 2;
  }
  #insight-library.mobile .highlight-text.more {
    width: 40%;
  }

  #insight-library.mobile .left.hightlight {
    width: 100%;
  }

  #insight-library.mobile .highlight-text p {
    color: #fff;
  }

  #insight-library.mobile .highlight-text a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    column-gap: 8px;
  }



  #insight-library.mobile .view-all,
  #exclusive-content.mobile .view-all,
  #news-update.mobile .view-all {
    font-size: 18px;
    padding: 16px;
    text-decoration: none;
    width: auto;
  }

  #know-the-markets.mobile .slide-img,
  #know-the-markets.mobile a.tab-links {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  #know-the-markets.mobile .tab-links {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none;
  }

  #know-the-markets.mobile .tab-links::-webkit-scrollbar {
    display: none;
  }

  #know-the-markets.mobile .tab-links li {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  #know-the-markets.mobile ul.tab-links::before {
    background: linear-gradient(90deg,
        rgb(255, 255, 255) 0%,
        rgba(0, 0, 0, 0) 10%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0) 90%,
        rgba(255, 255, 255) 100%);
    content: "";
    width: 100%;
    position: absolute;
    z-index: 2;
    height: 47px;
    left: 0;
    pointer-events: none;
  }

  #exclusive-content.mobile .tab-links .vdo-short-tab {
    visibility: visible;
  }

  #exclusive-content.mobile .tab-content .active {
    flex-direction: column;
    width: 100%;
  }

  /* #exclusive-content .view-all{
  width: auto;
} */
  /* #investment-solution.mobile .heading {
    margin: 0 16px;
  } */

  #investment-solution.mobile .tab-list::before {
    width: 100%;
  }

  #service.mobile .container .text ul li span {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-left: 5px;
  }

  section#news-update.mobile {
    padding: 0 20px;
  }

  #news-update.mobile .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }

  #banner .container.blog img {
    height: 24px;
  }

  #banner .container.blog .title {
    font-size: 32px;
  }

  /* #news-update .view-all{
  width:auto;
} */
  section#main-content-desktop {
    display: none;
  }
  section#main-content-mobile {
    display: block;
  }

}

/*------------------- Mobile ------------------- */
@media (max-width: 480px) {
  #top-content.mobile .owl-theme .owl-dot span {
    width: 6px;
    height: 6px;
  }

  #about.mobile .container,
  #insight-library.mobile .container {
    padding: 24px 0 0 0;
  }

  #know-the-markets.mobile .container,
  #exclusive-content.mobile .container,
  #investment-solution.mobile .container,
  #news-update.mobile .container {
    padding: 24px 0;
    row-gap: 20px;
  }

  .right.about-accordion {
    height: auto;
  }

  .accordion-item.active .accordion-body,
  .accordion-item .accordion-body {
    padding: 0;
  }

  .heading {
    padding: 5.5px 10px;
  }

  .heading h2 {
    font-size: 24px;
  }

  .accordion .accordion-header {
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
  }

   .accordion .accordion-item:first-child .accordion-header {
    padding: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
  }

  #insight-library.mobile .accordion-header {
    padding: 8px 12px;
    font-size: 16px;
  }

  #insight-library.mobile .accordion-item.active .accordion-content {
    padding: 0 0 8px;
  }

  #insight-library.mobile .accordion-item .accordion-content {
    padding: 0px;
  }

  #insight-library.mobile .highlight-text {
    padding: 16px 18px;
  }

  #insight-library.mobile .highlight-text h1 {
    font-size: 16px;
  }

  #insight-library.mobile .view-all,
  #exclusive-content.mobile .view-all,
  #news-update.mobile .view-all {
    padding: 7.5px 0;
    font-size: 14px;
  }

  .tab-links a {
    padding: 10.5px 12px;
    font-size: 16px;
  }

  .tab-links {
    gap: 8px;
  }

  #news-update.mobile .news-title {
    font-size: 16px;
  }

  /* section#investment-solution {
    padding: 0 20px;
  }
   */
  #investment-solution.mobile .tab-list::before {
    background: linear-gradient(90deg,
        rgb(255, 255, 255) 0%,
        rgba(255, 255, 255, 0) 15%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0) 80%,
        rgba(255, 255, 255, 1) 95%);
  }

  #investment-solution.mobile .tab-card {
    padding: 8.5px 15px;
  }

  #investment-solution.mobile .investment-slider .investment-card {
    transform: scale(1);
    padding-top: 24px;
    transition: transform 0.3s ease;
    border-radius: 16px;
    border: 1px solid #dfdfdf;
    background: #fff;
    margin: 0 10px;
  }

  #investment-solution.mobile .investment-slider .owl-item.center .investment-card {
    transform: scale(1);
    padding-top: 24px;
    transition: transform 0.3s ease;
    border: 1px solid #dfdfdf;
    margin: 0 30px 0 10px;
    /* width: 100%; */
  }

  #investment-solution.mobile .investment-card .top h3 {
    font-size: 14px;
  }

  #investment-solution.mobile .graph .graph-text {
    font-size: 12px;
  }

  #investment-solution.mobile .graph {
    width: 208px;
  }

  #investment-solution.mobile .investment-card .top {
    margin-bottom: 16px;
  }

  p.value {
    font-size: 20px;
  }

  #investment-solution.mobile .date-box {
    font-size: 12px;
  }

  #investment-solution.mobile .owl-theme .owl-dots {
    margin-top: 16px;
  }

  #know-the-markets.mobile ul.tab-links::before {
    background: linear-gradient(90deg,
        rgb(255, 255, 255) 5%,
        rgba(0, 0, 0, 0) 15%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0) 85%,
        rgba(255, 255, 255) 95%);
    content: "";
    width: 100%;
    position: absolute;
    z-index: 2;
    height: 45px;
    left: 0;
    pointer-events: none;
  }

  #banner .container.blog img {
    height: 24px;
  }

  #banner .container.blog .title {
    font-size: 32px;
  }
}

@media (max-width: 375px) {
  #investment-solution.mobile .tab-card {
    padding: 8.5px 5px;
  }
}