/* ============== article ============== */
.media-tag-news {
  background-color: #8DC63F !important; 
}

.media-tag-announcement {
  background-color: #2B3990 !important; 
}

.article-sec {
   position: relative;
   padding: 0px 15px 0px 15px;
}
.article-top-dropdown {
   position: relative;
   display: flex;
   gap: 10px;
   margin-top: 40px;
   margin-bottom: 37px;
}
.article-year-dropdown {
   padding: 8px 60px;
   border: 1px solid #D9D9D9;
   border-radius: 100px;
}
.article-month-dropdown {
   padding: 8px 60px;
   border: 1px solid #D9D9D9;
   border-radius: 100px;
}
.article-post-div {
   display: flex;
}
.article-post-time {
   width: 7%;
   line-height: 1.6em;
}
.article-image {
   position: relative;
   width: 40%;
}
.article-content {
   width: 90%;
}
.article-title {
   font-size: 16px;
   font-weight: 700;
   margin-bottom: 14px;
   color: black;
}
.article-description {
   color: #7A7A7A;
   margin-bottom: 30px;
   line-height: 1.6em;
}
.read-button {
   padding: 10px 18px;
   background-color: #8DC63F;
   color: white;
   border-radius: 100px;
}
.read-button:hover {
   background-color: #2B3990;
   color: white;
}
img.article-image-img {
   width: 300px;
   height: 201px;
}
.article-post-day {
   color: #2B3990;
   font-weight: 700;
   font-size: 30px;
}
.article-post-month {
   font-size: 16px;
   font-weight: 700;
}
.article-post-year {
   color: #7A7A7A;
   font-size: 16px;
   font-weight: 700;
   margin-top: -8px;
}
.article-post {
   padding-bottom: 22px;
   border-bottom: 1px solid #D4D4D4;
   margin-bottom: 30px;
}
.custom-article-dropdown-form {
   display: flex;
   justify-content: left;
   gap: 10px;
   color: #7A7A7A;
   margin-top: 4px;
   margin-left: 20px;
}
select#article-year-dropdown {
   padding: 10px 120px 12px 13px;
   border-radius: 100px;
   border: 1px solid #D9D9D9;
   background-image: url("../images/dropdown-arrow-black.png");
   background-size: 12px;
   background-repeat: no-repeat;
   background-position: calc(100% - 15px);
   -webkit-appearance: none;
   font-size: 16px;
   background-color: #F6F6F6;
}
select#article-month-dropdown {
   padding: 10px 107px 12px 14px;
   border-radius: 100px;
   border: 1px solid #D9D9D9;
   background-image: url("../images/dropdown-arrow-black.png");
   background-size: 12px;
   background-repeat: no-repeat;
   background-position: calc(100% - 15px);
   -webkit-appearance: none;
   font-size: 16px;
   background-color: #F6F6F6;
}

/* ============== post-article ============= */
.post-article-sec {
   background-color: #F6F6F6;
}
.post-article-div {
   max-width: 1200px;
   margin: 0 auto;
   padding: 30px;
}
.post-article-content {
   padding: 66px 107px;
   background: white;
   margin-bottom: 100px;
}
.post-article-top-button {
   margin-top: 35px;
   margin-bottom: 35px;
}
.post-article-top-button-link {
   background: #8DC63F;
   color: white;
   padding: 7px 23px;
   border-radius: 100px;
   text-decoration: none;
}
.post-article-top-button-link:hover {
   background: #2B3990;
   color: white;
}
.post-article-datetime {
   display: flex;
   gap: 3px;
   margin-left: 2px;
   margin-bottom: 31px;
   padding-bottom: 23px;
   border-bottom: 0.5px solid #D1D1D1;
}
.post-article-divider {
  padding: 0 10px;
}
.post-article-subtitle {
   font-weight: 700;
}
img.post-article-image-img {
   height: 520px;
   width: 100%;
   margin-top: 20px;
   margin-bottom: 20px;
}
.cs-image-container {
    display: flex;
}
.post-article-text-column {
   display: flex;
   gap: 20px;
}
.article-text-column {
   width: 50%;
   line-height: 1.6em;
}
.article-text-column {
   width: 50%;
   line-height: 1.6em;
}

/* ============== announcement-news ============= */
.announcement-news-container {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
   gap: 20px;
   padding: 15px; 
}
.announcement-news-item {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   flex-shrink: 0;
   position: relative;
   margin-bottom: 10px;
   background: white;
   /*height: 326px;*/
}
.announcenment-news-content {
   padding: 20px;
}
/* .announcement-news-tag {
   background-color: #2B3990;
   color: #ffffff;
   padding: 5px 12px;
   border-radius: 25px;
   font-size: 14px;
   display: inline-block;
   text-decoration: none;
   transition: all 0.3s ease;
   white-space: nowrap;
} */
/* body .announcement-news-item .announcement-news-tag{
   color: white;
   background-color: #2B3990;
} */
.announcement-news-item .announcement-news-date {
   position: absolute;
   right: 0;
   bottom: 83%;
   margin-right: 32px;
   margin-top: 5px;
   margin-bottom: 16px;
   font-size: 13px;
   color: #2B3990;
}
.announcement-news-item .announcement-news-title{
   margin-top: 12px;
   color: black;
}
.announcement-news-content {
   padding: 10px 30px;
   height: 140px;
   margin-top: 0px;

}
.announcement-news-tag {
   margin-top: 10px;
}
.an-image-container {
    height: 185px;
}
img.announcement-news-image.wp-post-image {
   height: 100%;
   object-fit: cover;
}
.announcement-news-tag {
   padding: 1px 8px;
   border-radius: 25px;
   font-size: 14px;
   display: inline-block;
   text-decoration: none;
   white-space: nowrap;
   color: white;
}

/* Blue tag for 'announcement' */
.announcement-news-tag.announcement {
   background-color: #2B3990;
}

/* Green tag for 'news' */
.announcement-news-tag.news {
   background-color: #79B922;
}
.article-text {
    padding: 0px 60px;
}

/* ============== case-studies ============= */
.case-studies-container {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
   gap: 20px;
   padding: 15px; 
}
.case-studies-item {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   flex-shrink: 0;
   position: relative;
   margin-bottom: 0px;
   background: white;
   height: 363px;
}
.case-studies-content {
   padding: 18px 35px;
   margin-bottom: auto;
}
.case-studies-tag {
   background-color: #3FE1E4;
   color: #ffffff;
   padding: 3px 9px;
   border-radius: 25px;
   font-size: 12px;
   display: inline-block;
   text-decoration: none;
   transition: all 0.3s ease;
   white-space: nowrap;
}
body .case-studies-item .case-studies-tag{
   color: black;
   background-color: #3FE1E4;
}
.case-studies-item .case-studies-date {
   position: absolute;
   right: 0;
   bottom: 83%;
   margin-right: 28px;
   margin-top: 5px;
   margin-bottom: 17px;
   font-size: 13px;
   color: #2B3990;
}
.case-studies-item .case-studies-title{
   margin-top: 12px;
   margin-bottom: 0px;
   color: black;
}
.sustainability-tab { 
   display: flex; 
   flex-wrap: wrap; 
   gap: 30px;
   margin-bottom: 71px;
}
.sustainability-tab-content { 
   display: none; 
   margin-top: 20px; 
}
.sustainability-tab-content.active { 
   display: block; 
}
.sustainability-tab-content-title h2 { 
   margin-bottom: 15px; 
}
.sustainability-tab-content-text p { 
   margin-bottom: 10px; 
   line-height: 1.6; 
   margin-right: 35px;
}
.sustainability-tab-btn {
   background: #ffffff;
   border: none;
   cursor: pointer;
   font-weight: bold;
   border-radius: 5px;
   width: 22.5%;
   padding: 21px 29px 30px 65px;
   text-align: left;
   min-height: 140px;
   background-repeat: no-repeat;
   background-position: 30px center;
   background-size: 76px;
   box-shadow: 0 4px 8px rgba(0,0,0,0.1);
   transition: background-color 0.3s ease;
}
.sustainability-tab-btn.active { 
   background: #8DC63F; 
   color: #fff; 
   background-repeat: no-repeat;
   background-position: 21px center;
   background-size: 81px;
}
.tab-title {
   font-weight: 700;
   font-size: 20px;
}
.sustainability-tab-content-title {
   display: flex;
   align-items: center;
   color: black;
   margin-bottom: 30px;
   font-size: 30px;
   font-weight: 700;
}
.sustainability-tab-content-text {
   display: flex;
   color: #7A7A7A;
   margin-bottom: 100px;
   gap: 20px;
}
.st-content-text-1 {
   width: 50%;
}
.st-content-text-2 {
   width: 50%;
}
.custom-popup-overlay {
   position: fixed;
   top: 0; 
   left: 0;
   width: 100%; height: 100%;
   background: rgba(0, 0, 0, 0.4);
   display: none;
   justify-content: center;
   align-items: center;
   z-index: 9999;
}
.custom-popup-content {
   position: relative;
   max-width: 90%;
   max-height: 90%;
}
.custom-popup-content img {
   width: 1140px;
   height: auto;
   border-radius: 10px;
}
.custom-popup-close {
   position: absolute;
   top: -30px;
   right: -30px;
   font-size: 40px;
   color: #fff;
   cursor: pointer;
}
.st-content-text-row {
   margin-top: -100px;
   color: #7A7A7A;
   margin-bottom: 160px;
}

body:before {
   /* content: ""; */
   background-image: url(https://amtel.iconcept-staging.com/wp-content/uploads/2025/06/Sustainability-Economic-1-scaled.jpg);
   background-position: top center;
   background-repeat: no-repeat;
   background-size: 1920px;
   position: absolute;
   width: 100%;
   height: 5000px;
   top: 0;
   left: 0;
   z-index: 999999;
   pointer-events: none;
   opacity: 0.6;
}
.sustainability-tab-content-title {
  position: relative;
  z-index: 1;
  width: 100%;
}

.title-line {
  position: relative;
  display: inline-block;
  font-weight: bold;
  font-size: 20px;
  background-color: #f9f9f9; /* Match your section bg */
  padding-right: 10px;
  z-index: 2;
}

.title-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 40px; 
  transform: translateY(-50%);
  width: 100vw; 
  height: 1px;
  background-color: #ccc;
  z-index: -1;
}

body.no-scroll {
  overflow: hidden;
}


@media (max-width: 1140px) {
   .sustainability-tab {
      gap: 25px;
   }
   .article-content {
      margin-left: 20px;
   }
}

@media (max-width: 990px) {
   .sustainability-tab-btn.active{
      background-position: 16px center;
      background-size: 68px;
   }
   .sustainability-tab-btn {
      padding: 20px 10px 20px 50px;
      background-size: 68px;
      background-position: 16px center;
   }
   .sustainability-tab {
      gap: 15px;
   }
   .tab-title {
      font-size: 18px;
   }
   .article-post-div {
      display: flex;
      flex-direction: column;
   }
   .article-post-time {
      display: flex;
      gap: 5px;
      margin-bottom: 10px;
      width: 100%;
   }
   .article-content {
      padding-left: 0px;
   }
   .article-post-year {
      margin-top: 0px;
   }
   img.article-image-img {
      width: 400px;
      height: auto;
   }
   .post-article-content {
      padding: 30px 50px;
   }
   img.post-article-image-img {
      height: 400px;
   }
}

@media (max-width: 768px) {

   
   .sustainability-tab-btn {
      width: 47%;
   }
   .sustainability-tab {
      justify-content: center;
   }
   .tab-title {
      font-size: 16px;
   }
   .sustainability-tab-content-title {
      font-size: 22px;
   }
   .sustainability-tab-content-text {
      flex-direction: column;
   }
   .st-content-text-1, .st-content-text-2 {
      width: 100%;
   }
   .post-article-text {
      flex-direction: column;
   }
   .article-text-1, .article-text-2 {
      width: 100%;
   }
   .post-article-text {
      gap: 0px;
   }
   .custom-popup-content {
      max-width: 80%;
      max-height: 80%;
   }
   .sustainability-tab-btn {
      width: 47%;
      padding: 10px;
      background-size: 60px;
      background-position: 50% 15px;
      text-align: center;
   }
   .sustainability-tab-btn.active {
      background-position: 50% 15px;
      background-size: 60px;
   }
   .sustainability-tab-content-text {
      gap: 0px;
   }
   .post-article-content {
      padding: 30px 15px 50px 15px;
   }
   .post-article-div {
      padding: 15px;
   }
   img.post-article-image-img {
      height: auto;
   }
   .article-content {
      margin-left: 0px;
   }
   .sustainability-tab-content-text p {
      margin-right: 0px;
   }
   .navigator-swiper-parent {
      padding: 5px;
   }
   .article-image {
      width: 100%;
      margin-bottom: 10px;
   }
   .article-content {
      width: 100%;
   }
   
}

@media (max-width: 425px) {
   .sustainability-tab-btn {
      width: 47%;
      padding: 10px;
      background-size: 60px;
      background-position: 50% 15px;
      text-align: center;
   }
   .sustainability-tab-btn.active {
      background-position: 50% 15px;
      background-size: 60px;
   }
   .custom-article-dropdown-form {
      margin-left: 0px;
   }
   select#article-year-dropdown {
      padding: 10px 60px 12px 14px;
      font-size: 14px;
   }
   select#article-month-dropdown {
      padding: 10px 60px 12px 14px;
      font-size: 14px;
   }
}

