/* ############### global ############### */
/* body {
  background: #fdfdfd;
} */
.mt-0 {
  margin-top: 0 !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-16 {
  margin-bottom: 16px !important;
}
.m-block-12 {
  margin-block: 12px !important;
}
@media (max-width: 768px) {
  .mb-16-mobile {
    margin-bottom: 16px !important;
  }
  #sc-news-related {
      margin-top: 32px;
}
}
.nowrap {
  white-space: nowrap;
}

#sc-news-related {
  background: #fcfcfc;
}

#sc-news-article {
  background: #fff;
}

/* #sc-news-article a.link {
  color: #188152;
  text-decoration: underline;
  font-weight: 500;
} */

#sc-news-article a.link {
  color: #188152;
  font-size: unset;
  font-weight: 500;
  line-height: 1.2;

  background-image: linear-gradient(#188152, #188152);
  background-position: 0 80%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.4s ease-out;
}
#sc-news-article a.link:hover {
  color: #188152;
  background-size: 100% 1px;
}

#sc-news-article ul {
  padding-left: 30px;
}
#sc-news-article ul.disc-start {
  margin-left: -30px;
  list-style-type: disc;
}
#sc-news-article ul.disc-start li {
  margin-bottom: 0;
}
#sc-news-article ol li {
  margin-bottom: 12px;
}

/* ############### sc-highlight-banner ############### */
/* #highlight-banner {
    width: 100%;
    height: 100%;
}
.highlight-banner-container {
    width: 100%;
    height: 100%;
} */

/* ################# news-landing ################# */

#about {
  overflow: hidden;
}
.news-main .hl-banner-swiper {
  max-height: 620px;
  position: relative;
}

.news-main .banner-content {
  flex-direction: column;
  align-items: flex-start;
  max-width: 1120px;
  max-height: 620px;
  gap: 16px;
  left: 5%;
  z-index: 3;
  justify-content: flex-end;
  padding-bottom: 83px;
}
.news-main .banner-content h1 {
  font-size: 42px;
  line-height: 72px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-main .banner-assets {
  position: relative;
}
.news-main .banner-assets::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2;
  pointer-events: none;
}

.news-main .banner-swiper-pagination {
  position: absolute;
  z-index: 2;
  text-align: center;
  bottom: 40px;
}

.news-main .banner-swiper-pagination .swiper-pagination-bullet {
  background: #e9eaeb;
  opacity: 1;
}

.news-main .banner-swiper-pagination .swiper-pagination-bullet-active {
  background: #1eba75;
}

.news-main .btn-ccrc {
  padding: 10px 16px;
  max-width: fit-content !important;
  font-size: 16px;
  font-weight: 600;
  background: rgba(14, 76, 48, 0.8);
}

.news-main .btn-ccrc:hover {
  background: #13643f;
}

@media screen and (max-width: 767px) {
  #about {
    padding: 96px 30px 58px 30px;
  }

  .news-heading {
    font-size: 28px;
    line-height: 42px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
  }
  .news-main .hl-banner-swiper {
    overflow-y: visible;
    overflow-x: clip;
  }
  .banner-container.news-main .swiper-slide {
    overflow: hidden;
    border-radius: 12px;
  }
  .news-main .banner-content h1 {
    font-size: 14px;
    line-height: 1.8;
  }
  .news-main .btn-ccrc {
    padding: 6px 12px;
    font-size: 12px;
  }
  .news-main .banner-content {
    padding-bottom: 16px;
    max-width: 90%;
    gap: 6px;
  }
  .news-main .banner-assets {
    aspect-ratio: 16 / 9;
  }
  .news-main .banner-assets img {
    object-fit: cover;
    transform: scale(1.4) translateY(15px);
  }
  .news-main .banner-swiper-pagination {
    bottom: -40px;
  }
}
/* ################# news-landing ################# */

.hl-banner {
  position: relative;
  width: 100%;
}
.banner-assets {
  width: 100%;
}
.banner-assets img {
  display: block;
  width: 100%;
  height: auto;
}
.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner-content .banner-header {
  color: #ffffff;
  margin: 0;
  font-size: 80px;
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 768px) {
  .hl-banner {
    margin-top: 63px;
  }
  .banner-content .banner-header {
    font-size: 28px;
    line-height: 1.5;
    text-align: center;
  }
}

/* ############### sc-news-article ############### */
.news-article-container {
  width: 100%;
  padding-inline: 16px;
}
.news-article-title {
  max-width: 1140px;
  margin-inline: auto;
  padding-block: 64px;
  text-align: center;
}
.news-article-title .article-date {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #535862;
  margin-bottom: 12px;
}
.news-article-title .article-title {
  font-size: 33px;
  font-weight: 600;
  line-height: 1.5;
  color: #181d27;
}
.news-article-content {
  max-width: 720px;
  margin-inline: auto;
}
.news-article-content .detail-box {
  margin-block: 24px;
}
.news-article-content .detail-box h3 {
  color: #181d27;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
}
.news-article-content p,
.news-article-content span,
.news-article-content li {
  color: #535862;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.news-article-content strong,
.news-article-content strong span {
  font-weight: 600;
}
.news-article-content ol {
  padding-inline-start: 20px;
}
.image-article {
  border-radius: 12px;
}
.news-article-social {
  padding-top: 24px;
  margin-bottom: 48px;
  border-top: 1px solid #e9eaeb;
}
.social-container {
  display: flex;
  gap: 12px;
}
.social-container .btn-copy {
  height: unset;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #181d27;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  padding: 10px 14px;
  box-sizing: border-box;
}
.btn-social {
  height: 20px;
  border: 1px solid #d5d7da;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
  box-sizing: content-box;
  display: flex;
  align-items: center; /* <-- ตัวนี้จัดให้ "อยู่กลางแนวตั้ง" */
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(10, 13, 18, 0.18) inset,
    0 -2px 0 0 rgba(10, 13, 18, 0.05) inset, 0 1px 2px 0 rgba(10, 13, 18, 0.05);
  transition: background-color 0.3s ease;
}
.btn-social:hover {
  background-color: #f5f5f5;
}
.btn-social img {
  width: 20px;
  transition: filter 0.3s ease;
}
.btn-social img:hover {
  filter: brightness(0.8);
}

.banner-caption {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

/* .text-highlight {
  font-size: 100px;
  color: #fff;
  font-weight: 600;
} */
.banner-head {
  font-size: 42px;
  color: #fff;
  font-weight: 600;
}

.banner-head video {
  max-width: 150px;
}

.banner-desc {
  font-size: 24px;
  color: #fff;
  font-weight: 500;
}

.btn-ccrc.apply {
  max-width: fit-content !important;
  padding: 12px 18px !important;
  font-size: 16px;
  font-weight: 600;
  margin-top: 40px;
}

.btn-ccrc.apply:hover {
  background-color: #279e68;
}

.btn-ccrc.apply img {
  max-width: 20px;
  margin-left: 8px;
}

#news-highlight {
  margin-top: 40px;
  overflow: hidden;
}

#news-highlight .highlight-list {
  display: flex;
  gap: 0;
  padding: 0 24px;
}

#news-highlight .item {
  width: 100%;
  height: 300px;
  flex: 1 1 20px;
  transition: 0.3s ease-in-out;
}

#news-highlight .item:hover {
  flex: 1.5 1 20px;
}

#news-highlight .item-content {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #eee;
  overflow: hidden;
  border-radius: 16px;
}

#news-highlight .item-content .thumb {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 1;
}

#news-highlight .item .item-content .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.36);
  transition: 0.3s ease-in-out;
}

#news-highlight .item:hover .item-content .thumb img {
  transform: scale(1);
}

/* .item {
  height: 300px;
  flex: unset;
} */
#news-highlight .item:hover {
  cursor: pointer;
}

#news-highlight .highlight-list .item:last-child {
  margin-right: 0 !important;
}

/* .item .item-content .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
} */

#news-highlight .item .item-content .item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% / 4);
  z-index: 2;
  background: #ffffffcc;
  color: #0e4c30;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease-in-out;
}

#news-highlight .item:hover .item-content .item-info {
  background: #0e4c30cc;
  color: #ffffff;
}

#news-highlight .item-content .item-info p {
  font-weight: 600;
}

#news-highlight .highlight-list .item .linkout {
  transition: all 0.3s ease;
  width: 20px;
  height: 20px;
  background-image: url("/SiteCollectionDocuments/business/ccrc/thaicbn/assets/image/icon/arrow-up-right-dark-green.svg");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: right;
}

#news-highlight .highlight-list .item:hover .linkout {
  rotate: 45deg;
  background-image: url("/SiteCollectionDocuments/business/ccrc/thaicbn/assets/image/icon/arrow-up-right-white.svg");
  width: 20px;
  height: 20px;
}

/* .card-news .news-date {
  display: none;
} */


#news-highlight .item-content a.card-link {color: unset;}

@media screen and (max-width: 768px) {

  #news-highlight .item:hover .item-content .item-info {
  background: #0e4c30cc;
  color: #ffffff;
}
    #news-highlight .item:hover .item-content .thumb img {
    transform: scale(1.36);
}
  .news-article-title {
    padding-block: 32px;
  }
  .news-article-title .article-title {
    font-size: 24px;
  }
  .news-article-content .detail-box h3 {
    font-size: 18px;
  }
  .news-article-content .detail-box {
    margin-block: 16px 32px;
  }
  .detail-box .image-article {
    margin-block: 4px;
  }
  #news-highlight {
    padding: 0 24px;
    position: relative;
  }

  .highlight-list {
    display: inline-flex !important;
    padding: 0 !important;
  }
  #news-highlight .item {
    flex: unset !important;
  }

  #news-highlight .item:hover {
    flex: unset !important;
  }
  .thaicbn-button-prev,
  .thaicbn-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 46px;
    height: 46px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.1);

    z-index: 10;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .thaicbn-button-prev {
    left: 10px;
    background-image: url("/SiteCollectionDocuments/business/ccrc/thaicbn/assets/image/icon/chevron-left.svg");
    width: 24px;
    height: 24px;
    padding: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: inherit;
    transform: scale(1);
  }

  .thaicbn-button-next {
    right: 10px;
    background-image: url("/SiteCollectionDocuments/business/ccrc/thaicbn/assets/image/icon/chevron-right.svg");
    width: 24px;
    height: 24px;
    padding: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: inherit;
    transform: scale(1);
  }

  .thaicbn-button-prev.swiper-button-disabled,
  .thaicbn-button-next.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}
@media screen and (min-width: 1024px) {
  .highlight-list {
    transform: none !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  #news {
    padding: 0 16px;
  }

  .news-main .banner-content h1 {
    font-size: 24px;
    line-height: 120%;
  }
  #news-highlight .highlight-list {
    display: inline-flex !important;
    padding: 0 !important;
  }
  #news-highlight {
    padding: 0 24px;
    position: relative;
  }
  .thaicbn-button-prev,
  .thaicbn-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 46px;
    height: 46px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.1);

    z-index: 10;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .thaicbn-button-prev {
    left: 10px;
    background-image: url("/SiteCollectionDocuments/business/ccrc/thaicbn/assets/image/icon/chevron-left.svg");
    width: 24px;
    height: 24px;
    padding: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: inherit;
    transform: scale(1);
  }

  .thaicbn-button-next {
    right: 10px;
    background-image: url("/SiteCollectionDocuments/business/ccrc/thaicbn/assets/image/icon/chevron-right.svg");
    width: 24px;
    height: 24px;
    padding: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: inherit;
    transform: scale(1);
  }

  .thaicbn-button-prev.swiper-button-disabled,
  .thaicbn-button-next.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}

/* ############### download-document ############### */
.download-document h4 {
  color: #181d27;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
}
.download-list {
  gap: 8px;
}
.download-list .rows {
  display: flex;
  gap: 8px;
  padding: 16px;
  justify-content: space-between;
  border-bottom: 1px solid #ebebeb;
  backdrop-filter: blur(25px);
  transition: background 0.3s ease;
}
.download-list .rows:hover {
  background: #dcfae6;
}
.download-list .rows .icon-document {
  width: 24px;
}
.download-list .rows .icon-download {
  width: 14px;
  height: 14px;
}
.download-list .rows a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.download-list .rows > a:first-child {
  flex: 0 0 60%;
  display: flex;
  align-items: center;
  gap: 15px;
}
.download-list .rows > a.btn-download-document {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.document-detail .document-title {
  color: #181d27;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}
.document-detail .document-size {
  color: #535862;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.btn-download-document span.btn_download {
  color: #188152;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;

  background-image: linear-gradient(#188152, #188152);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.4s ease-out;
}
.btn-download-document span.btn_download:hover {
  color: #188152;
  background-size: 100% 1px;
}
.icon-mask {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  overflow: hidden;
  vertical-align: middle;
}
.icon-download {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s ease;
}
/* .icon-download.clone {
    position: absolute;
    left: 0;
    top: -50px; 
}
.btn-download-document:hover .icon-download,
.btn-download-document:active .icon-download,
.btn-download-document:focus .icon-download {
    transform: translateY(50px);
}
*/
@media (max-width: 767px) {
  .download-list .rows {
    padding-left: 8px;
  }
} 

/* ############### sc-news-related ############### */
.related-news-container {
  padding: 64px 16px;
}
.related-news-content {
  max-width: 1140px;
  margin-inline: auto;
}
.related-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.related-news-head {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.5;
  color: #181d27;
}
.related-news-all {
  display: flex;
  align-items: center;
  color: #188152;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  gap: 6px;
  cursor: pointer;
  transition: color,gap 0.3s ease;
}
.related-news-all:hover {
  color: #14613e;
  gap: 8px;
}
.related-news-all img {
  width: 20px;
}
.related-news-wrapper {
  overflow: hidden;
}
.related-news-wrapper .swiper-wrapper {
  margin-block: 32px;
}
.ralated-card {
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}
.ralated-card:hover {
  background: #e9f8f1;
}
.related-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 16px;
}
.related-news-content {
  flex-grow: 1;
}
.related-news-content .related-news-date {
  color: #535862;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 4px;
}
.related-news-content .related-news-title {
  color: #181d27;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 54px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.related-tags {
  display: flex;
  justify-content: space-between;
}
.related-tags .tag-item {
  color: #181d27;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid #99ddbf;
  border-radius: 9999px;
  background: #e9f8f1;
  padding-inline: 10px;
  transition: all 0.3s ease;
}
.related-tags .tag-item:hover {
  background: #6bcda1;
  color: #ffffff;
  border-color: #6bcda1;
}
.related-tags img {
  width: 20px;
  height: 20px;
  transition: rotate 0.3s ease;
}
.ralated-card:hover .related-tags a img {
  rotate: 45deg;
}

.related-news-wrapper .related-swiper-pagination {
  text-align: center;
}
.related-swiper-pagination .swiper-pagination-bullet {
  background: #e9eaeb;
  opacity: 1;
}
.related-swiper-pagination .swiper-pagination-bullet-active {
  background: #1eba75;
}

@media (max-width: 768px) {
  .related-news-head {
    font-size: 24px;
  }
  .related-news-all {
    font-size: 14px;
  }
  .related-news-content .related-news-title {
    font-size: 14px;
    min-height: 84px;
    -webkit-line-clamp: 4;
  }
  .related-tags .tag-item {
    font-size: 10px;
    padding-block: 6px;
    line-height: 1.2;
  }
  .related-news-container {
    padding: 40px 16px;
  }

  .related-news-all:focus,
.related-news-all:active {
  color: #14613e;
  gap: 8px;
}
}

/* ########### survey-section ########## */



.survey-container {
    background-color: #E9F8F1;
    border-radius: 16px;
    padding: 24px;
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 24px;
}

.section-title {
    color: #1A202C;
    margin-top: 0;
    /* margin-bottom: 24px; */
    font-weight: 600;
    font-size: 18px;
}

.survey-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    gap: 24px;
}

.survey-card:hover {
    transform: translateY(-5px);
}

.survey-card-title {
    font-size: 14px;
    color: #181D27;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

span.survey-card-link {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #188152;
    font-weight: 600;
    font-size: 14px;
}

.survey-card:hover  span.survey-card-link{
  color: #188152;
}

span.survey-card-link svg {
    transition: transform 0.2s;
}

.survey-card:hover  span.survey-card-link svg {
    transform: translateX(4px);
}

.survey-swiper {
    width: 100%;
    /* padding-bottom: 40px !important; */
}


.survey-container .swiper-slide {padding: 24px 0;}

.survey-swiper-pagination {    display: flex;
    justify-content: center;}
.survey-swiper-pagination .swiper-pagination-bullet {
    background: #E9EAEB;
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
}

.survey-swiper-pagination .swiper-pagination-bullet-active {
    background: #1EBA75 !important;
    width: 10px;
    height: 10px;
}


@media (max-width: 768px) {
  .survey-card-link:hover svg {
    transform: translateX(0);
}
.survey-card:hover {
    transform: translateY(0);
}
}