/* Shared Styles */

#content-home-hero,
#content-home-profile,
#content-home-organization,
#content-home-8-pillars,
#content-home-5-pillars,
#content-home-best-practice,
#content-home-journey,
#content-home-villages,
#content-home-socmed {
  line-height: 1;
}

#content-home-profile .container a,
#content-home-organization .container a,
#content-home-8-pillars .content-header a,
#content-home-5-pillars .card-item:last-child .content a,
#content-home-best-practice .container p>a,
#content-home-local-hero .container p>a {
  border-radius: 4px;
  background-color: #FF6E00;
  padding: 10px 16px;
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
}

#content-home-profile .container a:after,
#content-home-8-pillars .content-header a:after,
#content-home-5-pillars .card-item:last-child .content a:after,
#content-home-best-practice .container p>a:after,
#content-home-local-hero .container p>a:after {
  content: "";
  background: url(../images/arrow-right-white.svg);
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 12px;
  background-size: 100% 100%;
}

#content-home-hero > .background,
#content-home-hero .hero-wrapper > div > .background,
#content-home-organization .member-bg,
#content-home-8-pillars .background,
#content-home-8-pillars .slider-bg,
#content-home-5-pillars .card-bg {
  position: absolute;
  inset: 0;
}

#content-home-5-pillars .card-bg img,
#content-home-8-pillars .slider-bg img,
#content-home-8-pillars .background img,
#content-home-hero .hero-wrapper > div > .background > img,
#content-home-hero > .background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#content-home-8-pillars .slider-bg:after,
#content-home-5-pillars .card-bg:after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.75) 100%);
}


#content-home-8-pillars .slider-item .content,
#content-home-5-pillars .card-item .content {
  position: relative;
  padding: 14px 12px;
  display: grid;
  grid-template-columns: 45px 1fr;
  column-gap: 16px;
}

#content-home-8-pillars .slider-item .content .logo,
#content-home-5-pillars .card-item .content .logo {
  grid-row: 1/3;
  grid-column: 1;
  align-self: center;
  width: 100%;
}

#content-home-8-pillars .slider-item .content .heading,
#content-home-5-pillars .card-item .content .heading {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

#content-home-8-pillars .slider-item .content .desc,
#content-home-5-pillars .card-item .content .desc {
  font-size: 14px;
  line-height: 21px;
}

#content-home-profile .container p:has(strong),
#content-home-organization .container>p:first-child,
#content-home-8-pillars .content-header > p:first-child,
#content-home-5-pillars .content-header > p:first-child,
#content-home-best-practice .container p:has(strong),
#content-home-journey .container p:has(strong),
#content-home-villages .container p:has(strong),
#content-home-socmed .container p:has(strong),
#content-home-local-hero .container p:has(strong) {
  font-size: 36px;
  line-height: 44px;
}

#content-home-profile .container p:has(strong) em,
#content-home-organization .container>p:first-child em,
#content-home-best-practice .container p:has(strong) em,
#content-home-journey .container p:has(strong) em,
#content-home-5-pillars .content-header > p:first-child em,
#content-home-villages .container p:has(strong) em,
#content-home-socmed .container p:has(strong) em,
#content-home-local-hero .container p:has(strong) em {
  color: #105962;
  font-style: normal;
}

/* End Shared Styles */

#content-home-hero {
  position: relative;
  overflow: hidden;
  --header: 118.4px;
  top: calc(var(--header) * -1);
  padding-top: var(--header);
  margin-bottom: calc(-8px + var(--header) * -1);
}

#content-home-hero > .background:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
linear-gradient(271.49deg, rgba(0, 0, 0, 0) 7.89%, rgba(0, 0, 0, 0.25) 98.73%),
linear-gradient(91.22deg, rgba(0, 0, 0, 0) 37.17%, rgba(0, 0, 0, 0.25) 99.58%),
linear-gradient(180deg, rgba(0, 0, 0, 0.65) 2.44%, rgba(0, 0, 0, 0) 66.17%);
}

#content-home-hero .container {
  color: #fff;
  padding-top: 76px;
  padding-bottom: 217px;
}

#content-home-hero .container p {
  width: 49%;
  line-height: 24px;
}

#content-home-hero .container p:has(strong) {
  font-size: 40px;
  line-height: 52px;
  margin-bottom: 16px;
}

#content-home-hero .hero-slider {
  width: 48%;
  position: absolute;
  bottom: 58px;
  right: 0;
  overflow: hidden;
}

#content-home-hero .hero-wrapper {
  gap: 16px;
  display: flex;
  width: max-content;
  flex: none;
  animation: slide 20s linear infinite;
}

#content-home-hero .hero-wrapper>div {
  width: 230px;
  height: 306px;
  border-radius: 12px;
  flex: 0 0 230px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.20);
}

#content-home-hero .hero-wrapper > div > .background:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(179.35deg, rgba(0, 0, 0, 0) 46.89%, rgba(0, 0, 0, 0.65) 89.39%),
    linear-gradient(180.04deg, rgba(0, 0, 0, 0.45) 0.03%, rgba(0, 0, 0, 0) 63.63%);
}

#content-home-hero .hero-wrapper > div > .content {
  width: 100%;
  height: 100%;
  position: relative;
  color: #fff;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#content-home-hero .hero-wrapper .small-desc {
  position: absolute;
  top: 9.6px;
  right: 9.3px;
  display: flex;
  align-items: center;
  border: 0.5px solid #FFFFFF59;
  background: #FFFFFF33;
  backdrop-filter: blur(12px);
  border-radius: 1000px;
  padding: 3px;
  padding-right: 6px;
}

#content-home-hero .hero-wrapper .small-logo {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}

#content-home-hero .hero-wrapper .small-text {
  font-size: 8px;
  line-height: 1;
}

#content-home-hero .hero-wrapper .heading {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 4px;
}

#content-home-hero .hero-wrapper .desc {
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
}

#content-home-profile {
  position: relative;
  padding-top: 46px;
  overflow: hidden;
}

#content-home-profile .ellipse1 {
  background: #FF6E0040;
  filter: blur(123px);
  position: absolute;
  top: 153px;
  left: 50%;
  transform: translateX(-50%);
  width: 392px;
  height: 392px;
  border-radius: 50%;
}

#content-home-profile .ellipse2 {
  background: #FF6E0040;
  filter: blur(123px);
  position: absolute;
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);
  width: 343px;
  height: 343px;
  border-radius: 50%;
}

#content-home-profile .container {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent; 

  border-image-source: linear-gradient(
    90deg,
    rgba(255, 110, 0, 0) 29.56%,
    rgba(255, 110, 0, 0.35) 50.03%,
    rgba(255, 110, 0, 0) 72.07%
  );
  border-image-slice: 1;

  padding-top: 77px;
  padding-bottom: 48px;
  text-align: center;
  max-width: 1120px;
}

#content-home-profile .container p:not(:has(strong)):not(:has(a)) {
  color: #000;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 32px;
  width: 92%;
  margin-left: auto;
  margin-right: auto;
}

#content-home-profile .container p:has(strong) {
  color: #000;
  margin-bottom: 16px;
  width: 66%;
  margin-left: auto;
  margin-right: auto;
}

#content-home-profile .container .wp-block-embed-youtube iframe {
  width: 100%;
  height: 462px;
  border-radius: 20px;
}

#content-home-profile .container p:has(a) {
  margin-top: 40px;
  margin-bottom: 0;
}



#content-home-organization {
  position: relative;
  overflow: hidden;
  padding-top: 46px;
  padding-bottom: 46px;
}

#content-home-organization .background {
  position: absolute;
  background-image: url(/wp-content/themes/csr-bib/images/front-page/home-organization-bg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: 285px;
  left: 50%;
  transform: translateX(-50%);
  width: 970px;
  height: 970px;
}

#content-home-organization .container {
  text-align: center;
}

#content-home-organization .container p {
  color: #000;
  line-height: 24px;
  margin-bottom: 7px;
}

#content-home-organization .container>p:first-child {
  margin-bottom: 16px;
}

#content-home-organization .container .wp-block-table th,
#content-home-organization .container>.wp-block-table td:last-child {
  display: none;
} 

#content-home-organization .container .wp-block-table thead,
#content-home-organization .container .wp-block-table th,
#content-home-organization .container .wp-block-table td {
  border: 0;
}

#content-home-organization .container .wp-block-table img {
  width: 75% !important;
}

#content-home-organization .container .wp-block-table+p:has(a) {
  margin-top: -30px;
}



#content-home-organization .dialog-members p:has(strong) {
  font-size: 30px;
  line-height: 38px;
  margin-bottom: 9px;
  color: #000;
}

#content-home-organization .dialog-members p:has(strong) em {
  color: #006069;
  font-style: normal;
}

#content-home-organization .dialog-members p:not(:has(strong)) {
  font-size: 14px;
  line-height: 20px;
  color: #000;
  width: 43%;
}

#content-home-organization .members {
  display: grid;
  grid-template-columns: repeat(auto-fill, 150px);
  gap: 11px;
  overflow: auto;
  height: 450px;
  margin-top: 32px;
}

#content-home-organization .member {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  padding: 4px 3.65px;
  flex-direction: column;
  justify-content: flex-end;
}

#content-home-organization .member-bg:after {
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 34.9%, rgba(0, 0, 0, 0.45) 99.73%);
  position: absolute;
  inset: 0;
}

#content-home-organization .member-content {
  position: relative;
  background-color: #FF6E00;
  border-radius: 6px;
  border: 0.378px solid rgba(255, 255, 255, 0.15);
  padding: 4px 5px;
  color: #fff;
  text-align: center;
}

#content-home-organization .member-content .name {
  margin-bottom: 2px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
}

#content-home-organization .member-content .title {
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
}

#content-home-organization .dialog-members {
  border: 0;
  width: 92%;
  border-radius: 18px;
  padding: 25px;
  text-align: left;
}

#content-home-8-pillars {
  position: relative;
  color: #fff;
  padding-top: 57px;
  padding-bottom: 51px;
}

#content-home-8-pillars .background:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.11%, rgba(0, 0, 0, 0.55) 94.26%), linear-gradient(180deg, rgba(0, 0, 0, 0.65) 7.54%, rgba(0, 0, 0, 0.00) 72.83%), linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
}

#content-home-8-pillars .content-header {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  row-gap: 24px;
  column-gap: 145px;
  margin-bottom: 182px;
}

#content-home-8-pillars .content-header > p:first-child {
  grid-row: 1/3;
  grid-column: 1;
}

#content-home-8-pillars .content-header > p:nth-child(2) {
  line-height: 24px;
}

#content-home-8-pillars .content-header > p:not(:first-child) {
  text-align: right;
}

#content-home-8-pillars .pillars-slider {
  overflow: hidden;
}

#content-home-8-pillars .pillars-wrapper {
  gap: 27px;
  display: flex;
  transition: transform 0.4s ease;
}

#content-home-8-pillars .pillars-wrapper .slider-item {
  flex: 0 0 calc((100% - 54px) / 3);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/2;
  position: relative;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.20);
}

#content-home-8-pillars .slider-nav {
  margin-top: 24px;
  text-align: center;
  display: flex;
  align-items: center;
}

#content-home-8-pillars .slider-nav .prev-inactive,
#content-home-8-pillars .slider-nav .next-inactive,
#content-home-best-practice .slider-nav .prev-inactive,
#content-home-best-practice .slider-nav .next-inactive,
#content-home-local-hero .slider-nav .prev-inactive,
#content-home-local-hero .slider-nav .next-inactive {
  cursor: not-allowed;
}

#content-home-8-pillars .slider-nav .prev-active,
#content-home-8-pillars .slider-nav .next-active,
#content-home-best-practice .slider-nav .prev-active,
#content-home-best-practice .slider-nav .next-active,
#content-home-local-hero .slider-nav .prev-active,
#content-home-local-hero .slider-nav .next-active {
  cursor: pointer;
}

#content-home-8-pillars .slider-nav .prev-active,
#content-home-8-pillars .slider-nav .prev-inactive {
  margin-left: auto;
}

#content-home-8-pillars .slider-nav .next-active,
#content-home-8-pillars .slider-nav .next-inactive {
  margin-right: auto;
}

#content-home-8-pillars .slider-nav .bar-container,
#content-home-best-practice .slider-nav .bar-container,
#content-home-local-hero .slider-nav .bar-container {
  margin-left: 12px;
  margin-right: 12px;
  display: flex;
  gap: 6px;
}

#content-home-8-pillars .slider-nav .bar-container .bar,
#content-home-5-pillars .bar-container .bar,
#content-home-best-practice .slider-nav .bar-container .bar,
#content-home-local-hero .slider-nav .bar-container .bar {
  width: 14px;
  height: 4px;
  background-color: #AFAFAF73;
}

#content-home-8-pillars .slider-nav .bar-container .bar.active,
#content-home-5-pillars .bar-container .bar.active,
#content-home-best-practice .slider-nav .bar-container .bar.active,
#content-home-local-hero .slider-nav .bar-container .bar.active {
  width: 45px;
  background-color: #FF6E00;
}

#content-home-5-pillars {
  position: relative;
  padding-top: 96px;
  padding-bottom: 117px;
  color: #000;
  overflow: hidden;
}

#content-home-5-pillars .ellipse {
  background: rgba(16, 89, 98, 0.45);
  filter: blur(123px);
  position: absolute;
  top: -146px;
  right: -120px;
  width: 392px;
  height: 392px;
  border-radius: 50%;
}

#content-home-5-pillars .content-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 32px;
  align-items: center;
  column-gap: 16px;
}

#content-home-5-pillars .content-header > p:nth-child(2) {
  line-height: 24px;
  text-align: right;
}

#content-home-5-pillars .card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26.5px;
}

#content-home-5-pillars .card-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3/2;
  color: #fff;
}

#content-home-5-pillars .card-item:last-child {
  display: block;
}

#content-home-5-pillars .card-item:last-child .card-bg,
#content-home-5-pillars .card-item:last-child .content .logo {
  display: none;
}

#content-home-5-pillars .card-item:last-child .content {
  padding: 6px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

#content-home-5-pillars .card-item:last-child .content .heading {
  color: #105962;
  font-size: 30px;
  font-weight: 500;
  line-height: 38px;
  margin-bottom: 24px;
}

#content-home-5-pillars .bar-container {
  display: none;
}

#content-home-best-practice {
  border-top: 1px solid transparent;
  border-image-source: linear-gradient(
    90deg,
    rgba(255, 110, 0, 0) 50%,
    rgba(255, 110, 0, 1) 100%
  );
  border-image-slice: 1;
}

#content-home-best-practice .container {
  padding-top: 82px;
  padding-bottom: 105px;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  column-gap: 60px;
}

#content-home-best-practice .thumbnail {
  font-size: 0;
}

#content-home-best-practice .thumbnail-main {
  position: relative;
  aspect-ratio: 16/9;
}

#content-home-best-practice .thumbnail.hidden,
#content-home-best-practice .best-practice-item.hidden {
  display: none;
}

#content-home-best-practice .thumbnail-main:after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
}

#content-home-best-practice .thumbnail .best-practice-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

#content-home-best-practice .thumbnail-item {
  display: flex;
  gap: 16px;
  padding: 14.5px 0;
  align-items: center;
}

#content-home-best-practice .thumbnail-each-item {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  overflow: hidden;
  cursor: pointer;
}

#content-home-best-practice .thumbnail-each-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#content-home-best-practice .thumbnail-each-item:after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
}

#content-home-best-practice .thumbnail-each-item.active {
  width: 120px;
  height: 120px;
  border: 2px solid #FF6E00;
}

#content-home-best-practice .container p:has(strong) {
  color: #000;
  margin-bottom: 50px;
}

#content-home-best-practice .container .best-practice-item {
  margin-bottom: 60px;
}

#content-home-best-practice .container .title {
  color: #000;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 16px;
}

#content-home-best-practice .container .desc {
  color: #000;
  line-height: 24px;
  margin-bottom: 16px;
}

#content-home-best-practice .container .date {
  color: #6D6A6A;
  font-size: 14px;
  margin-bottom: 24px;
}

#content-home-best-practice .container .best-practice-item a {
  color: #A0A0A0;
  line-height: 24px;
  padding: 10px 30px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #FFF;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}

#content-home-best-practice .slider-nav {
  display: flex;
  align-items: center;
}

#content-home-best-practice .footer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#content-home-journey {
  overflow: hidden;
}

#content-home-journey .container {
  border-top: 1px solid transparent;

  border-image-source: linear-gradient(
    90deg,
    rgba(255, 110, 0, 0) 23%,
    rgba(255, 110, 0, 0.45) 50%,
    rgba(255, 110, 0, 0) 82%
  );
  border-image-slice: 1;

  padding-top: 66px;
  padding-bottom: 114px;
  color: #000;
}

#content-home-journey .container p:has(strong) {
  margin-bottom: 8px;
}

#content-home-journey .container p:has(strong)+p {
  width: 64%;
  line-height: 24px;
  margin-bottom: 40px;
}

#content-home-journey .card-item {
  flex: 0 0 85%;
  display: grid;
  grid-template-columns: 5fr 4fr;
  column-gap: 40px;
  align-items: center;
}

#content-home-journey .card-item .card-image {
  border-radius: 20px;
  overflow: hidden;
}

#content-home-journey .card-item .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#content-home-journey .card-item .title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 12px;
}

#content-home-journey .card-item .year {
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  margin-bottom: 24px;
}

#content-home-journey .card-item .desc {
  color: #232323;
  line-height: 24px;
}

#content-home-journey .card-wrapper {
  overflow: hidden;
  position: relative;
  width: calc(min(93vw, 1200px) + max(3.5vw, (100vw - 1200px) / 2));
}

#content-home-journey .card-wrapper:after {
  content: "";
  width: 370px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 18.92%, #FFF 69.46%);
  position: absolute;
  right: -76px;
  top: 0;
}

#content-home-journey .card-container {
  gap: 80px;
  display: flex;
  transition: transform 0.4s ease;
}

#content-home-journey .nav-wrapper {
  margin-top: 120px;
}

#content-home-journey .nav-container {
  display: flex;
  gap: 90px;
  justify-content: center;
}

#content-home-journey .nav-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}

#content-home-journey .nav-item .circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid #FFE7E5;
}

#content-home-journey .nav-item .year {
  color: #000;
  font-size: 14px;
  line-height: 20px;
  opacity: 0.25;
}

#content-home-journey .nav-item.active .circle {
  background-color: #FF6E00;
  border: 0;
}

#content-home-journey .nav-item.active .year {
  opacity: 1;
  font-weight: 600;
}

#content-home-villages {
  position: relative;
  color: #000;
  overflow: hidden;

  border-top: 1px solid transparent;

  border-image-source: linear-gradient(
    90deg,
    rgba(255, 110, 0, 0) 23%,
    rgba(255, 110, 0, 0.45) 50%,
    rgba(255, 110, 0, 0) 82%
  );
  border-image-slice: 1;
}

#content-home-villages .ellipse1,
#content-home-villages .ellipse2 {
  filter: blur(150px);
  opacity: 0.7;
  position: absolute;
  width: 292px;
  height: 275px;
  border-radius: 50%;
}

#content-home-villages .ellipse1 {
  background: rgba(255, 110, 0, 0.65);
  top: 271px;
  left: 174px;
}

#content-home-villages .ellipse2 {
  background: rgba(16, 89, 98, 0.65);
  bottom: 100px;
  right: 164px;
}

#content-home-villages .container {
  padding-top: 101px;
  padding-bottom: 58px;
  text-align: center;
}

#content-home-villages .container .wp-block-table th,
#content-home-villages .container>.wp-block-table td:last-child {
  display: none;
}

#content-home-villages .container .wp-block-table thead,
#content-home-villages .container .wp-block-table th,
#content-home-villages .container .wp-block-table td {
  border: 0;
}

#content-home-villages .container p:has(strong) {
  margin-bottom: 24px;
}

#content-home-villages .container p:has(strong)+p {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  line-height: 24px;
  margin-bottom: 42px;
}

#content-home-villages .villages-footer {
  display: inline-flex;
  gap: 80px;
  align-items: center;
  border-radius: 12px;
  background: #FF6E00;
  padding: 32px 40px;
  color: #fff;
  text-align: left;
}

#content-home-villages .villages-footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

#content-home-villages .villages-footer-item img {
  width: 60px;
  height: 60px;
}

#content-home-villages .villages-footer-item .heading {
  font-size: 30px;
  line-height: 38px;
  margin-bottom: 4px;
  font-weight: 700;
}

#content-home-villages .villages-footer-item .desc {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

#content-home-villages .container>.wp-block-table td img {
  width: 100% !important;
}
 
#content-home-socmed .container {
  padding-top: 66px;
  padding-bottom: 66px;
}

#content-home-socmed .container p:has(strong) {
  color: #000;
  margin-bottom: 42px;
  text-align: center;
}

#content-home-socmed .socmed-media {
  height: 465px;
  display: grid;
  grid-template-columns: 7fr 4fr;
  column-gap: 36px;
}

#content-home-socmed .youtube-iframe,
#content-home-socmed .instagram-iframe {
  height: 100%;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #E6E5E5;
}

#content-home-socmed .socmed-cards {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#content-home-socmed .socmed-cards .socmed-item {
  display: grid;
  grid-template-columns: 44px 1fr 150px;
  column-gap: 12px;
  padding: 18px 16px;
  border-radius: 10px;
  border: 1px solid #CCC;
  align-items: center;
}

#content-home-socmed .socmed-cards .socmed-item a {
  font-size: 12px;
  color: #FF6E00;
  font-weight: 600;
  padding: 8px;
  text-align: center;
  border-radius: 4px;
  border: 1.2px solid #FF6E00;
}

#content-home-socmed .socmed-cards .socmed-item .heading {
  font-size: 14px;
  line-height: 20px;
  color: #737373;
  margin-bottom: 8px;
}

#content-home-socmed .socmed-cards .socmed-item .name {
  font-size: 14px;
  line-height: 20px;
  color: #000;
  font-weight: 600;
}

#content-home-local-hero {
  border-top: 1px solid transparent;
  border-image-source: linear-gradient(
    90deg,
    rgba(255, 110, 0, 0.45) 0%,
    rgba(255, 110, 0, 0) 50%
  );
  border-image-slice: 1;

  background-image: url(/wp-content/themes/csr-bib/images/front-page/home-local-hero-bg.png);
  background-size: cover;
}

#content-home-local-hero .container {
  padding-top: 166px;
  padding-bottom: 131px;
  display: grid;
  grid-template-columns: 5.5fr 6fr;
  column-gap: 90px;
  align-items: center;
}

#content-home-local-hero .content {
  border-radius: 20px;
  border: 1px solid #E2E3EA;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 25px 0 rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(2px);
  padding: 24px;
}

#content-home-local-hero .container p:has(strong) {
  color: #000;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d9d9d9;
  text-align: center;
}

#content-home-local-hero .content {
  grid-column: 1;
  grid-row: 1;
}

#content-home-local-hero .thumbnail {
  grid-column: 2;
  grid-row: 1;
}

#content-home-local-hero .thumbnail.hidden,
#content-home-local-hero .local-hero-item.hidden {
  display: none;
}

#content-home-local-hero .container .local-hero-item {
  margin-bottom: 60px;
}

#content-home-local-hero .container .title {
  color: #000;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 24px;
}

#content-home-local-hero .container .desc {
  color: #000;
  line-height: 24px;
  margin-bottom: 24px;
}

#content-home-local-hero .container .date {
  color: #6D6A6A;
  font-size: 14px;
  margin-bottom: 24px;
}

#content-home-local-hero .container .local-hero-item a {
  color: #A0A0A0;
  line-height: 24px;
  padding: 10px 30px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #FFF;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}

#content-home-local-hero .slider-nav {
  display: flex;
  align-items: center;
}

#content-home-local-hero .footer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#content-home-local-hero .thumbnail {
  font-size: 0;
  position: relative;
}

#content-home-local-hero .thumbnail-0 {
  margin-left: 47px;
  margin-right: 67px;
  position: relative;
}

#content-home-local-hero .thumbnail-0:after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 16px;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 73.84%, #000 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 79.79%, #000 100%);
}

#content-home-local-hero .thumbnail img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

#content-home-local-hero .thumbnail-0 img {
  border-radius: 16px;
}

#content-home-local-hero .thumbnail-1 img,
#content-home-local-hero .thumbnail-2 img {
  border-radius: 6px;
  aspect-ratio: 4/3;
}

#content-home-local-hero .thumbnail-1 {
  position: absolute;
  width: 216px;
  padding: 15px;
  top: -131px;
  right: 0;
  background-color: #fff;
  border-radius: 9px;
}

#content-home-local-hero .thumbnail-2 {
  position: absolute;
  width: 165px;
  padding: 15px;
  bottom: -80px;
  left: 0;
  background-color: #fff;
  border-radius: 9px;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

@media (max-width: 1024px) { /* tablets */
  #content-home-8-pillars {
    padding-top: 46px;
    padding-bottom: 29.5px;
  }

  #content-home-8-pillars .content-header > p:first-child {
    margin-bottom: 16px;
  }

  #content-home-8-pillars .content-header > p:not(:first-child) {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 12px;
  }

  #content-home-8-pillars .slider-nav .prev-active,
  #content-home-8-pillars .slider-nav .prev-inactive,
  #content-home-8-pillars .slider-nav .next-active,
  #content-home-8-pillars .slider-nav .next-inactive {
    display: none !important;
  }

  #content-home-8-pillars .slider-nav .bar-container {
    margin-left: auto;
    margin-right: auto;
  }

  #content-home-8-pillars .pillars-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 18px;
  }

  #content-home-8-pillars .pillars-wrapper .slider-item {
    flex: 0 0 280px;
    border-radius: 12px;
    padding: 9px;
  }

  #content-home-8-pillars .slider-item .content,
  #content-home-5-pillars .card-item .content {
    padding: 11px 6px;
    grid-template-columns: 32px 1fr;
    column-gap: 12px;
  }

  #content-home-8-pillars .slider-item .content .heading,
  #content-home-5-pillars .card-item .content .heading {
    font-size: 16px;
    line-height: 24px;
  }

  #content-home-8-pillars .slider-item .content .desc,
  #content-home-5-pillars .card-item .content .desc {
    font-size: 10px;
    line-height: 15.8px;
  }

  #content-home-8-pillars .slider-nav .bar-container .bar,
  #content-home-5-pillars .bar-container .bar {
    width: 10.5px;
    height: 3px;
  }

  #content-home-8-pillars .slider-nav .bar-container .bar.active,
  #content-home-5-pillars .bar-container .bar.active {
    width: 33px;
  }

  #content-home-5-pillars {
    padding-top: 46px;
    padding-bottom: 37px;
  }

  #content-home-5-pillars .ellipse {
    width: 237px;
    height: 237px;
    filter: blur(123px);
    top: -85px;
    right: -70px;
  }

  #content-home-5-pillars .content-header {
    margin-bottom: 79px;
  }

  #content-home-5-pillars .content-header > p:first-child {
    margin-bottom: 16px;
  }

  #content-home-5-pillars .content-header > p:nth-child(2) {
    font-size: 14px;
    line-height: 20px;
  }

  #content-home-5-pillars .card-wrapper {
    overflow: hidden;
  }

  #content-home-5-pillars .card-container {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    transition: transform 0.4s ease;
  }

  #content-home-5-pillars .card-item {
    flex: 0 0 280px;
    border-radius: 12px;
    padding: 9px;
  }

  #content-home-5-pillars .bar-container {
    margin-top: 21px;
    display: flex;
    justify-content: center;
    gap: 4.4px;
  }

  #content-home-5-pillars .card-item:last-child .content .heading {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 768px) { /* small tablets / large phones */
  #content-home-hero {
    --header: 84px;
  }

  #content-home-8-pillars .content-header,
  #content-home-5-pillars .content-header {
    display: block;
  }

  #content-home-8-pillars .content-header > p:not(:first-child),
  #content-home-5-pillars .content-header > p:nth-child(2) {
    text-align: left;
  }

  #content-home-hero .container p:has(strong) {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 12px;
  }

  #content-home-hero .hero-slider {
    position: static;
    width: 100%;
    margin-bottom: 48px;
  }

  #content-home-hero .container p {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
  }

  #content-home-hero .container {
    padding-top: 84px;
    padding-bottom: 60px;
  }

  #content-home-hero .hero-wrapper>div {
    width: 173px;
    height: 230px;
    flex: 0 0 173px;
  }

  #content-home-hero .hero-wrapper > div > .content {
    padding: 9px 13.5px;
  }

  #content-home-hero .hero-wrapper .heading {
    font-size: 18px;
    line-height: 24px;
  }

  #content-home-hero .hero-wrapper .desc {
    font-size: 9px;
    line-height: 13.5px;
  }

  #content-home-hero .hero-wrapper .small-text {
    font-size: 6px;
  }

  #content-home-hero .hero-wrapper .small-logo {
    width: 9px;
    height: 9px;
    margin-right: 3px;
  }

  #content-home-hero .hero-wrapper .small-desc {
    top: 7.2px;
    right: 7px;
    padding: 2.25px;
    padding-right: 4.5px;
  }

  #content-home-profile {
    padding-top: 8px;
  }

  #content-home-profile .container {
    padding-top: 60px;
  }

  #content-home-profile .ellipse1 {
    width: 176px;
    height: 176px;
    filter: blur(55px);
    top: 209px;
  }

  #content-home-profile .ellipse2 {
    width: 163px;
    height: 163px;
    filter: blur(58px);
    bottom: 65px;
  }

  #content-home-profile .container p:has(strong) {
    font-size: 20px;
    line-height: 30px;
    width: 100%;
  }

  #content-home-profile .container p:not(:has(strong)):not(:has(a)) {
    font-size: 14px;
    line-height: 20px;
    width: 100%;
  }

  #content-home-profile .container .wp-block-embed-youtube iframe {
    aspect-ratio: 3.5/2;
    height: auto;
    border-radius: 10px;
  }

  #content-home-profile .container a,
  #content-home-organization .container a,
  #content-home-8-pillars .content-header a,
  #content-home-5-pillars .card-item:last-child .content a,
  #content-home-best-practice .container p>a,
  #content-home-local-hero .container p>a {
    font-size: 12px;
    line-height: 14.4px;
  }

  #content-home-profile .container a:after,
  #content-home-8-pillars .content-header a:after,
  #content-home-5-pillars .card-item:last-child .content a:after,
  #content-home-best-practice .container p>a:after,
  #content-home-local-hero .container p>a:after {
    width: 14px;
    height: 14px;
    margin-left: 6px;
  }

  #content-home-profile .container p:has(strong),
  #content-home-organization .container>p:first-child,
  #content-home-8-pillars .content-header > p:first-child,
  #content-home-5-pillars .content-header > p:first-child,
  #content-home-organization .dialog-members p:has(strong),
  #content-home-best-practice .container p:has(strong),
  #content-home-journey .container p:has(strong),
  #content-home-villages .container p:has(strong),
  #content-home-socmed .container p:has(strong),
  #content-home-local-hero .container p:has(strong) {
    font-size: 20px;
    line-height: 30px;
  }

  #content-home-organization .background {
    width: 353px;
    height: 353px;
    top: 253px;
  }

  #content-home-organization .container p {
    font-size: 14px;
    line-height: 20px;
  }

  #content-home-organization .container .wp-block-table img {
    width: 100% !important;
  }

  #content-home-organization .container>.wp-block-table td:first-child {
    display: none;
  }

  #content-home-organization .container>.wp-block-table td:last-child {
    display: table-cell;
    padding: 0;
  }

  #content-home-organization .dialog-members {
    border-radius: 12px;
    padding: 28px 15px;
  }

  #content-home-organization .dialog-members p:not(:has(strong)) {
    width: 100%;
  }

  #content-home-best-practice .container {
    grid-template-columns: 1fr;
    padding-top: 112px;
    padding-bottom: 58px;
  }

  #content-home-best-practice .thumbnail-each-item {
    width: 66px;
    height: 66px;
    border-radius: 8px;
  }

  #content-home-best-practice .thumbnail-each-item.active {
    width: 79px;
    height: 79px;
  }

  #content-home-best-practice .thumbnail .best-practice-main-image {
    border-radius: 13px;
  }

  #content-home-best-practice .thumbnail-item {
    gap: 10.5px;
    padding: 10px 0;
  }

  #content-home-best-practice .container p:has(strong) {
    position: absolute;
    top: 58px;
  }

  #content-home-best-practice .container .title {
    font-size: 18px;
    line-height: 28px;
    margin-top: 16px;
  }

  #content-home-best-practice .container .desc {
    font-size: 14px;
    line-height: 20px;
  }

  #content-home-best-practice .container .best-practice-item {
    margin-bottom: 16px;
  }

  #content-home-best-practice .container .best-practice-item a {
    font-size: 12px;
    padding: 8px 22px;
    line-height: 18px;
  }

  #content-home-best-practice .footer-item {
    display: block;
  }

  #content-home-best-practice .slider-nav {
    margin-bottom: 32px;
  }

  #content-home-journey .container {
    padding-bottom: 82px;
  }

  #content-home-journey .container p:has(strong)+p {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 24px;
  }

  #content-home-journey .card-container,
  #content-home-journey .nav-container {
    overflow-x: auto;
  }

  #content-home-journey .nav-container {
    gap: 24px;
  }

  #content-home-journey .nav-item {
    flex: 0 0 100px;
    gap: 8px;
  }

  #content-home-journey .nav-item .year {
    font-size: 14px;
    line-height: 20px;
  }

  #content-home-journey .nav-item .circle {
    width: 24px;
    height: 24px;
  }

  #content-home-journey .card-wrapper {
    width: 100%;
  }

  #content-home-journey .card-wrapper:after {
    display: none;
  }

  #content-home-journey .card-item {
    flex-basis: 100%;
    grid-template-columns: 1fr;
  }

  #content-home-journey .card-item .card-image img {
    aspect-ratio: 3.5/2;
  }

  #content-home-journey .card-item .card-image {
    margin-bottom: 16px;
    aspect-ratio: 3.5/2;
    border-radius: 8px;
  }

  #content-home-journey .card-item .title {
    font-size: 18px;
    line-height: 28px;
  }

  #content-home-journey .card-item .year {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
  }

  #content-home-journey .card-item .desc {
    font-size: 14px;
    line-height: 20px;
  }

  #content-home-journey .nav-wrapper {
    margin-top: 76px;
  }

  #content-home-villages .container {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  #content-home-villages .ellipse1 {
    width: 171px;
    height: 162px;
    filter: blur(100px);
    top: 129px;
    left: -38px;
  }

  #content-home-villages .ellipse2 {
    width: 171px;
    height: 162px;
    filter: blur(100px);
    bottom: unset;
    top: 478px;
    right: -33px;
  }

  #content-home-villages .villages-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
    row-gap: 24px;
    padding: 16px 24px;
  }

  #content-home-villages .container>.wp-block-table td:first-child {
    display: none;
  }

  #content-home-villages .container>.wp-block-table td:last-child {
    display: table-cell;
  }

  #content-home-villages .villages-footer-item img {
    display: none;
  }

  #content-home-villages .container p:has(strong) {
    margin-bottom: 8px;
  }

  #content-home-villages .container p:has(strong)+p {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 32px;
  }

  #content-home-villages .villages-footer-item .heading {
    font-size: 24px;
    line-height: 28px;
  }

  #content-home-villages .villages-footer-item .desc {
    font-size: 12px;
    line-height: 18px;
  }

  #content-home-villages .villages-footer-item:nth-child(3) {
    grid-column: 1/3;
  }

  #content-home-socmed .container {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  #content-home-socmed .container p:has(strong) {
    text-align: left;
    margin-bottom: 14px;
  }

  #content-home-socmed .socmed-media {
    display: block;
    height: 100%;
  }

  #content-home-socmed .youtube-iframe {
    aspect-ratio: 3.5/2.7;
    margin-bottom: 14px;
  }

  #content-home-socmed .instagram-iframe {
    height: 415px;
  }

  #content-home-socmed .socmed-cards {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  #content-home-socmed .socmed-cards .socmed-item {
    padding: 14px 16px;
    grid-template-columns: 32px 1fr auto;
  }

  #content-home-socmed .socmed-cards .socmed-item .heading,
  #content-home-socmed .socmed-cards .socmed-item .name {
    font-size: 12px;
    line-height: 1;
  }

  #content-home-socmed .socmed-cards .socmed-item .heading {
    margin-bottom: 4px;
  }

  #content-home-local-hero .container {
    padding-top: 39px;
    padding-bottom: 70px;
    grid-template-columns: 1fr;
  }

  #content-home-local-hero .thumbnail {
    grid-row: 2;
    grid-column: 1;
  }

  #content-home-local-hero .content {
    grid-row: 1;
    grid-column: 1;
  }

  #content-home-local-hero .thumbnail-0 {
    margin-top: 105px;
    margin-bottom: 39px;
    margin-left: 45px;
    margin-right: 40px;
  }

  #content-home-local-hero .thumbnail-0 img {
    border-radius: 8px;
  }

  #content-home-local-hero .thumbnail-1 {
    width: 145px;
    padding: 10px;
    top: 32px;
    border-radius: 6px;
  }

  #content-home-local-hero .thumbnail-2 {
    border-radius: 6px;
    width: 105px;
    padding: 10px;
    bottom: 0;
  }

  #content-home-local-hero .thumbnail img {
    border-radius: 4px;
    aspect-ratio: 4/3;
  }

  #content-home-local-hero .container .title {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 16px;
  }

  #content-home-local-hero .container .desc {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
  }

  #content-home-local-hero .container .date {
    margin-bottom: 32px;
  }

  #content-home-local-hero .container .local-hero-item {
    margin-bottom: 32px;
  }

  #content-home-local-hero .container .local-hero-item a {
    font-size: 12px;
    padding: 8px 22px;
    line-height: 18px;
  }

  #content-home-local-hero .footer-item {
    display: block;
  }

  #content-home-local-hero .slider-nav {
    margin-bottom: 32px;
  }
}

@media (max-width: 510px) {
  #content-home-journey .nav-container {
    justify-content: unset;
  }
}

@media (max-width: 380px) {
  #content-home-organization .members {
    height: unset;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
  }

  #content-home-organization .member {
    aspect-ratio: 1;
    width: unset;
    height: unset;
  }

  #content-home-organization .member-content .name {
    font-size: 11px;
    line-height: 15px;
  }

  #content-home-best-practice .container p:has(strong) {
    font-size: 18px;
  }

  #content-home-villages .villages-footer-item .heading {
    font-size: 20px;
  }

  #content-home-villages .villages-footer-item .desc {
    font-size: 10px;
  }
}