/* CTA Sidebar Left - flatsome-child/assets/shortcode.css */
.cta-sidebar-left {
  position: fixed;
  top: 25%;
  left: 15px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cta-sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #d32f2f;
  color: #fff;
  border-radius: 50%;
  margin-bottom: 0;
  text-decoration: none;
  font-size: 22px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.cta-sidebar-btn:hover {
  background: #b71c1c;
  color: #fff;
}
.cta-sidebar-btn.cta-contact {
  border-radius: 24px;
  width: 48px;
  height: 120px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  font-size: 16px;
  background: #d32f2f;
  position: relative;
  padding: 0;
}
.cta-sidebar-btn.cta-contact span {
  writing-mode: sideways-lr;
  text-orientation: mixed;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 8px;
  color: #fff;
}
.cta-sidebar-btn i {
  font-size: 22px;
}
@media (max-width: 767px) {
  .cta-sidebar-left {
    top: unset;
    bottom: 80px;
    left: 10px;
    gap: 10px;
  }
  .cta-sidebar-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .cta-sidebar-btn.cta-contact {
    width: 40px;
    height: 90px;
    font-size: 13px;
  }
  .cta-sidebar-btn.cta-contact span {
    font-size: 12px;
  }
}
/* Shortcode: News & Events Slider */
#wrapper .news-events-header {
  display: flex;
  justify-content: space-between;
}
#wrapper .news-events-view-all {
  display: flex;
  min-width: max-content;
  align-items: center;
  font-size: 14px;
  color: #14245a;
  font-weight: 600;
}
#wrapper .news-events-title {
  text-transform: uppercase;
  color: #14245a;
}
#wrapper .news-card-group {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
#wrapper .news-card-group .news-card {
  width: calc(50% - 15px);
}
#wrapper .news-card-group .news-card:not(:first-child) .news-card-excerpt {
  display: none;
}
#wrapper .news-card-group .news-card .news-card-title {
  color: #333;
}
#wrapper .news-card-group .news-card:first-child .news-card-title {
  font-size: 18px;
}
#wrapper .news-card-group .news-card-date {
  font-size: 14px;
  color: #666;
}
#wrapper .news-card-group .news-card:not(:first-child) .news-card-title {
  font-size: 12px;
}
#wrapper .news-card-group .news-card:first-child {
  width: 100%;
}
#wrapper .news-card-group .news-card > a {
  display: flex;
  align-items: center;
  gap: 20px;
}
#wrapper .news-card-group .news-card-image {
  min-width: 40%;
}
#wrapper .news-card-group .news-card-image img {
  width: 100%;
}
#wrapper .news-slider-wrapper .swiper-button-prev,
#wrapper .news-slider-wrapper .swiper-button-next {
  position: unset;
  background-color: #cf2127;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  line-height: 1;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  display: inline-flex;
}
#wrapper .news-slider-wrapper .swiper-button-prev:after,
#wrapper .news-slider-wrapper .swiper-button-next:after {
  height: 100%;
  line-height: 1;
  font-size: 14px;
  text-align: center;
  color: #fff;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}
#wrapper .news-slider-wrapper .swiper-button-wrapper {
  display: flex;
  gap: 10px;
  justify-content: right;
}

/* Shortcode: Video Slider */
#wrapper .video-header {
  display: flex;
  justify-content: space-between;
}
#wrapper .video-view-all {
  display: flex;
  min-width: max-content;
  align-items: center;
  font-size: 14px;
  color: #14245a;
  font-weight: 600;
}
#wrapper .video-title {
  text-transform: uppercase;
  color: #14245a;
}
#wrapper .video-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  object-fit: cover;
}
#wrapper .video-card {
  position: relative;
}
#wrapper .video-card-content {
  position: absolute;
  bottom: 5px;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
#wrapper .video-card-title {
  color: #fff;
  font-size: 16px;
  text-align: center;
}
#wrapper .video-card-group {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
#wrapper .video-card-group .video-card:first-child {
  width: 100%;
}
#wrapper .video-card-group .video-card {
  width: calc(50% - 15px);
}
#wrapper .video-card:not(:first-child) .video-card-image img {
  aspect-ratio: 5 / 3;
}
#wrapper .video-card:not(:first-child) .video-card-title {
  font-size: 12px;
}
#wrapper .video-slider-wrapper .swiper-button-prev,
#wrapper .video-slider-wrapper .swiper-button-next {
  position: unset;
  background-color: #cf2127;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  line-height: 1;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  display: inline-flex;
}
#wrapper .video-slider-wrapper .swiper-button-prev:after,
#wrapper .video-slider-wrapper .swiper-button-next:after {
  height: 100%;
  line-height: 1;
  font-size: 14px;
  text-align: center;
  color: #fff;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}
#wrapper .video-slider-wrapper .swiper-button-wrapper {
  display: flex;
  gap: 10px;
  justify-content: right;
}

/* Breadcrumb shortcode */
#wrapper .breadcrumb-sec {
  padding-top: 10px;
  padding-bottom: 10px;
}
#wrapper .breadcrumb-sec .col {
  padding-bottom: 0;
}
/* End breadcrumb shortcode */

/* Recruitment Table */
.recruitment-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
}

.recruitment-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.recruitment-table thead {
  background: #c92127;
}

.recruitment-table thead tr th {
  padding: 16px 20px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-transform: none;
  border: 1px solid #fff;
  white-space: nowrap;
}

.recruitment-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s;
}

.recruitment-table tbody tr:hover {
  background: #f5f5f5;
}

.recruitment-table tbody tr td {
  padding: 14px 20px;
  text-align: center;
  color: #333;
  font-size: 15px;
  border: 1px solid #e0e0e0;
}

.recruitment-table tbody tr td.recruitment-stt {
  font-weight: 600;
  width: 80px;
}

.recruitment-table tbody tr td.recruitment-position {
  font-weight: 500;
}

.recruitment-table tbody tr td.recruitment-position a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.recruitment-table tbody tr td.recruitment-position a:hover {
  color: #c92127;
}

.recruitment-table tbody tr td.recruitment-quantity {
  width: 120px;
}

.recruitment-table tbody tr td.recruitment-location {
  width: 200px;
}

.recruitment-table tbody tr td.recruitment-deadline {
  width: 180px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .recruitment-table thead tr th,
  .recruitment-table tbody tr td {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .recruitment-table tbody tr td.recruitment-stt {
    width: 50px;
  }
  
  .recruitment-table tbody tr td.recruitment-quantity,
  .recruitment-table tbody tr td.recruitment-location,
  .recruitment-table tbody tr td.recruitment-deadline {
    width: auto;
  }
}

@media (max-width: 576px) {
  .recruitment-table {
    font-size: 12px;
  }
  
  .recruitment-table thead tr th,
  .recruitment-table tbody tr td {
    padding: 8px 6px;
    font-size: 12px;
  }
}
/* End Recruitment Table */

/* Project Grid with Filter */
.project-grid-section {
  margin: 30px 0;
}

.project-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.project-filter-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
  flex: 1;
}

.project-filter-item label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
}

.project-filter-item select {
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s;
}

.project-filter-item select:hover,
.project-filter-item select:focus {
  border-color: #c92127;
  outline: none;
}

.project-grid-container {
  position: relative;
  min-height: 300px;
}

.project-grid-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.project-grid-loading .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #c92127;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.project-card-link {
  display: block;
  text-decoration: none;
}

.project-card-image {
  position: relative;
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-card-no-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  padding: 20px;
  display: flex;
  align-items: flex-end;
  min-height: 100px;
  transition: background 0.3s;
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

.project-card-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.no-projects {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

/* Pagination */
.project-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.project-pagination-inner {
  display: flex;
  gap: 8px;
  align-items: center;
}

.project-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.project-page-link:hover {
  background: #f5f5f5;
  border-color: #c92127;
  color: #c92127;
}

.project-page-link.active {
  background: #c92127;
  color: #fff;
  border-color: #c92127;
  pointer-events: none;
}

.project-page-next {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .project-filters {
    flex-direction: column;
    gap: 12px;
  }
  
  .project-filter-item {
    min-width: 100%;
  }
  
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .project-card-image {
    height: 200px;
  }
  
  .project-card-title {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card-image {
    height: 240px;
  }
  
  .project-pagination-inner {
    gap: 5px;
  }
  
  .project-page-link {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
}
/* End Project Grid */