/* -------- header --------- */

.blog-grid .card .card-body .author .project-status {
    margin-right: 4px;
    margin-left: 4px;
    vertical-align: middle;
  }
.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.line-clamp-1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* test */
/* Make UL full width */
.custom-nav {
  background-color: var(--bs-green);
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
}

.nav-items-custom .navbar-nav {
  flex: 0; 
}

.mobile-nav{
  background-color:var(--bs-green);
}

/* box */
.nav-link.custom-nav-link {
  color: white !important;
  display: block;
  width: 100%;
  padding: 18px 0;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 16px !important;
}
.nav-link.custom-nav-link.active-header-link {
  opacity: 0.7 !important;
}

/* Hover */
.custom-nav-link:hover {
  opacity: 0.9;
  text-decoration: none;
}
/* wp iframe tinymce*/
.page-content iframe {
  width: 100vw !important; 
  max-width: 100vw !important;
  height: 500px;   
  display: block;
  border: 0;
}

.page-content p {
  margin: 0;   
  padding: 0;
}

a.text-green-hover:hover{
  color: var(--base-color) !important;
}

a.timeline-hover:hover span,
a.timeline-hover:hover i {
  color: var(--base-color) !important;
}

/* Base overlay style */
.custom-overlay {
  background: white;
  transform: translateY(100%); /* hidden below */
  transition: transform 0.4s ease-in-out;
}

/* On hover: slide up */
.custom-gallery-box:hover .custom-overlay {
  transform: translateY(0);
}

/* Mobile: always visible, fixed at bottom */
@media (max-width: 768px) {
  .custom-overlay {
      transform: translateY(0) !important;
  }
}
select.form-select-category {
  padding-right: 2.5rem;
  color: black;
  font-weight: 600;
}

.box-brief {
  min-height: 3.5rem !important;
}

.blog-card-custom{
height: 100% !important;
}
.card-body-custom{
  height: 100% !important;
  width: 100% !important;
}

.categories-btn.active {
  background-color: var(--base-color) !important;
  color: white;
 
}
.categories-btn-custom{
  border-color: var(--base-color) !important;
  font-size: 18px !important;
  padding-top: 10px;
  padding-bottom: 10px;
}
.border-radius-15px-custom{
  border-radius: 15px !important;
}
.border-radius-top-15px-custom{
  border-top-left-radius: 15px !important;
  border-top-right-radius: 15px !important;
}
footer .footer-logo-custom img {
    max-height: 150px;
    width: auto;
}
@media (max-width: 768px) {
  footer .footer-logo-custom img {
    max-height: 100px;
 }
}

.member-image {
  object-fit: contain; 
  max-height: 300px; 
}

@media (min-width: 768px) {
  .member-image {
      max-height: 700px;
  }
}
header {
  transition: transform 0.3s ease-in-out;
}

header.hide {
  transform: translateY(-100%);
}
.hover-green:hover {
  color: var(--bs-green) !important;
}

@media (max-width: 768px) {
  .team-style-08 figure figcaption {
    opacity: 1 !important;
  }
  .team-style-08 figure figcaption .team-member-name {
    opacity: 1 !important;
  }
  .team-style-08 figure figcaption .member-designation {
      opacity: 1 !important;
  }
}
/* Make nav-items-custom full width */
.nav-items-custom {
  flex: 1;
  display: flex;
  background-color: var(--bs-green);
}

/* Center menu items */
.nav-items-custom .custom-nav {
  margin: 0 auto; 
  display: flex;
  justify-content: space-between;
  flex: 1;
 
}



/* .nav-link.custom-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between; 
} */

/* Push language button to far right */
.header-links-custom {
  margin-left: auto;
}

.navbar-toggler-line {
  background-color: white !important; 
}
 /* .navbar-toggler-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #000;
    margin: 5px 0;
    transition: all 0.3s ease;
} */
.dropdown-toggle::after {
    display: inline-block;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
.icon-white {
  filter: brightness(0) invert(1) !important;
}
.custom-image-icon{
  height: 40px;
  width: auto;
}

.navbar-nav.custom-nav {
    padding-left: 150px;
    padding-right: 150px;
}

@media (max-width: 1291.98px) {
    .navbar-nav.custom-nav {
        padding-left: 80px;
        padding-right: 80px;
    }
}

/* Medium screens (tablets and below ~768px) */
@media (max-width: 991.98px) {
    .navbar-nav.custom-nav {
        padding-left: 0;
        padding-right: 0;
    }
}


/* @media (max-width: 768px) {
  .post-custom{
    max-height: 300px !important;
  }
} */
@media (max-width: 767.98px) {
  .post-custom {
    max-height: 50vh;
    object-fit: cover;
  }
}

.header-items {
  font-size: 16px; 
}

@media (max-width: 1199.98px) { 
  .header-items {
    font-size: 14px;
  }
}

@media (max-width: 767.98px) { 
  .header-items {
    font-size: 13px;
  }
}




.timeline-section {
    width: 100%;
}

/* Horizontal timeline wrapper */
.timeline-horizontal-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
    padding-bottom: 40px;
    padding-top: 10px;
}

.timeline-scroll {
    display: inline-flex;
    align-items: flex-start;
    position: relative;
    gap: 3rem;
    padding: 2rem 0;
    width: 100%;
}

/* Connecting line behind */
.timeline-horizontal-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, var(--green), transparent);
    z-index: 0;
    transform: translateY(-50%);
}

/* Each timeline item */
.timeline-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 240px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    z-index: 1;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Dots */
.timeline-dot {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
}

.timeline-dot .dot-inner {
    width: 12px;
    height: 12px;
    background-color: var(--green);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.timeline-dot .dot-pulse {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.5;
}

.timeline-card:hover .dot-inner {
    transform: scale(1.2);
}

/* Animation keyframes */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0.2; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Scroll styling */
.timeline-horizontal-wrapper::-webkit-scrollbar {
    height: 8px;
}

.timeline-horizontal-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--green);
    border-radius: 10px;
}

.timeline-horizontal-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.timeline-content h5 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive */
/* @media (max-width: 767px) {
    .timeline-scroll {
        gap: 2rem;
    }

    .timeline-card {
        min-width: 180px;
        padding: 1rem;
    }

    .timeline-content h5 {
        font-size: 15px;
        max-width: 150px;
    }
} */
.md-text {
    font-size: 22px;
}
@media (max-width: 767px) {
  .md-text {
      font-size: 16px;
  }
}
/* .timeline-card-responsive {
    min-height: 200px;
} */
/* Small screens */
/* @media (max-width: 768px) {
    .timeline-card-responsive {
        min-height: 200px;
        padding: 2rem 1rem; 
    }
} */

.prose table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #d1d5db; /* gray-300 */
}

.prose th,
.prose td {
  border: 1px solid #d1d5db; /* gray-300 */
  padding: 0.5rem; /* add some padding */
}

.prose thead th {
  background-color: #f3f4f6; /* gray-100 */
}

.prose ul > li::before {
  background-color: #6b7280; /* gray-500 */
}
