/*
Theme Name: Cosco
Theme URI: https://yourwebsite.com
Author: Nguyen Quoc Cuong
Author URI: https://yourwebsite.com
Description: Theme WordPress tùy chỉnh Cosco
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cosco
Tags: custom, responsive, modern
*/

:root {
  --orange: #eb5f00;
  --white: #fff;
  --gray: #5f5f62;
  --grey: #f7f7f7;
  --overlay: rgba(235, 95, 0, 0.69);
  --primary: #0d6efd;
  --success: #198754;
  --warning: #ffc107;
  --info: #0dcaf0;
  --danger: #eb5f00;
  --extra-danger: #f7a74d;
  --black: #000;
  --dark: #3e3e3f;
  --dash: #dbdcde;
  --solid-gray: #dfe1dc;
}

.project-services {
  position: relative;
  background-color: var(--grey);
}

.project-services {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.project-services .banner,
.investor-relations-page .banner,
.recruitment .banner {
  position: relative;
  width: 100%;
}

/* .project-services .banner::after,
.investor-relations-page .banner::after,
.recruitment .banner::after {
  background: url("./assets/images/bg-banner-cam.png") top left repeat;
  background-repeat: round;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
} */

.project-services .banner-name,
.investor-relations-page .banner-name {
  color: var(--white);
  position: absolute;
  font-size: 35px;
  font-weight: 700;
  top: calc(50% - 45px);
  left: 60px;
  text-transform: uppercase;
  z-index: 3;
  margin-top: 50px;
}

.recruitment .banner-name {
  color: var(--white);
  position: absolute;
  font-size: 35px;
  font-weight: 700;
  top: 50%;
  transform: translateY(-50%);
  left: 60px;
  text-transform: uppercase;
  z-index: 3;
  margin-top: 50px;
}

.project-services .banners-item img,
.investor-relations-page .banners-item img,
.recruitment .banners-item img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
}

.project-services .banners-item,
.investor-relations-page .banners-item,
.recruitment .banners-item {
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.project-services .section-title-p {
  padding-top: 40px;
  font-size: 40px;
  line-height: 100%;
  color: var(--orange);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.project-services .section-summary {
  color: var(--gray);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 25px;
}

/* ==== Services Grid ==== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 50px;
}

.service-item {
  position: relative;
  overflow: hidden;
  display: block;
  height: 240px;
  text-decoration: none;
}

.service-item .service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-overlay {
  position: absolute;
  top: 83%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  transition: top 1s ease;
  z-index: 3;
}

.service-overlay .service-title {
  position: relative;
  text-align: center;
  z-index: 2;
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 12px 0 36px 0;
  transition: all 0.5s ease 0.2s;
}

.service-overlay p {
  padding-left: 20px;
  padding-right: 20px;
  font-size: 12px;
}

.service-details {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: 100%;
  text-align: justify;
  transform: translateY(20px);
  transition: all 0.5s ease 0.3s;
}

.service-details ul,
.service-details ol {
  list-style: none;
  padding-left: 20px;
  margin: 0;
  color: var(--white);
}

.service-details ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -4%;
  color: var(--white);
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}

.service-details ul li,
.service-details ol li {
  font-size: 12px;
  padding-left: 12px;
  font-weight: 500;
  position: relative;
  color: var(--white);
}

.service-item:hover .service-overlay {
  top: 0;
}

.service-item:hover .service-details {
  transform: translateY(0);
}

/* Category */

.category-header {
  background-color: var(--grey);
  padding: 40px 72px 40px;
}

.category-description {
  background-color: var(--white);
  font-size: 14px;
  padding: 40px;
  height: 132px;
  overflow: hidden;
  transition: height 0.3s ease;
}

.category-description.expanded {
  height: auto;
  overflow: visible;
}

.category-header .btn-view-more {
  font-size: 14px;
  background: none;
  border: none;
  color: var(--danger);
  display: block;
  margin: 16px auto 0;
}

.category-description .btn-view-more:hover {
  color: var(--primary);
}

.category-title {
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 32px;
  text-align: center;
  text-transform: uppercase;
}

.projects-section {
  padding: 40px 0;
}

.projects-section .section-title-p,
.projects-section .section-title-p-done {
  font-size: 40px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 32px;
  text-align: center;
  text-transform: uppercase;
}

/* PROJECT GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  margin-top: 12px;
}

.project-item {
  position: relative;
  overflow: hidden;
}

/* Row 1: Ảnh lớn bên trái + 2 ảnh nhỏ bên phải */
.project-item:nth-child(9n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.project-item:nth-child(9n + 2) {
  grid-column: 3;
  grid-row: auto;
}

.project-item:nth-child(9n + 3) {
  grid-column: 3;
  grid-row: auto;
}

/* Row 2: 2 ảnh nhỏ bên trái + ảnh lớn bên phải */
.project-item:nth-child(9n + 4) {
  grid-column: 1;
  grid-row: auto;
}

.project-item:nth-child(9n + 5) {
  grid-column: 1;
  grid-row: auto;
}

.project-item:nth-child(9n + 6) {
  grid-column: 2 / 4;
  grid-row: 3 / span 2; /* Bắt đầu từ hàng 3, span 2 hàng */
}

/* Row 3: Ảnh lớn bên trái + 2 ảnh nhỏ bên phải (giống Row 1) */
.project-item:nth-child(9n + 7) {
  grid-column: span 2;
  grid-row: span 2;
}

.project-item:nth-child(9n + 8) {
  grid-column: 3;
  grid-row: auto;
}

.project-item:nth-child(9n + 9) {
  grid-column: 3;
  grid-row: auto;
}

.preview-project {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-item:hover img {
  transform: scale(1.2);
  cursor: pointer;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: var(--white);
}

.project-overlay:hover {
  color: var(--extra-danger);
  cursor: pointer;
}

.project-overlay h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.modal .content {
  position: relative;
  background-color: var(--white);
  opacity: 0.9;
  padding: 40px;
}

.modal .project-info-card .project-title {
  color: var(--orange);
}

.modal .project-info-card label {
  font-weight: 600;
  font-size: 14px;
}

.modal .project-info-card .info-item p,
.modal .project-info-card .info-section {
  color: var(--black);
  font-weight: 490;
}

.btn-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background-color: var(--black);
}

.navigation .wp-paginate {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

.wp-paginate .page,
.wp-paginate .next,
.wp-paginate .prev {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--grey) !important;
  color: var(--black) !important;
  font-weight: 600;
  text-decoration: none;

  transition: all 0.25s ease;
}

.wp-paginate .current {
  background: var(--orange) !important;
  color: var(--white) !important;
}

.investor-relations-page .investor-nav .investor-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  background-color: var(--extra-danger);
  margin-bottom: 0;
}

.investor-relations-page .investor-nav .investor-menu li {
  padding: 12px 28px;
  border-bottom: 2px solid var(--extra-danger);
  flex: 0 0 auto;
}

.investor-relations-page .investor-nav .investor-menu li a {
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.6;
}

.investor-relations-page .investor-nav .investor-menu li:hover {
  border-color: var(--white);
}

.investor-relations-page .investor-nav .investor-menu li:hover a {
  opacity: 1;
}

.container.investor-content {
  padding-top: 40px;
  padding-left: 54px !important;
  padding-right: 54px !important;
}

.investor-content .investor-header-row .investor-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.investor-content .investor-header-row .investor-filter h1 {
  margin-bottom: 0;
}

.investor-content .investor-header-row .investor-filter #investor-sort {
  border: 1px solid var(--gray);
  border-radius: 30px;
  color: var(--gray);
  font-size: 15px;
  font-weight: 400;
  line-height: 15px;
  padding: 10px 16px 10px 20px;
}

.investor-content .investor-header-row h1 {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.investor-posts-list .investor-post-item:first-child {
  border-top: 1px dashed var(--dash);
}

.investor-posts-list .investor-post-item {
  border-bottom: 1px dashed var(--dash);
  list-style: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
}

.investor-posts-list .investor-post-item .post-date {
  color: var(--dark);
  font-size: 16px;
  font-weight: 500;
}
.investor-posts-list .investor-post-item .post-category-badge {
  background: var(--extra-danger);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 5px 10px;
  white-space: nowrap;
}

.investor-posts-list .investor-post-item .post-title {
  text-decoration: none;
  color: var(--dark);
  font-size: 16px;
  font-weight: 500;
  padding-right: 30px;
  position: relative;
}

.investor-posts-list .investor-post-item .post-title::before {
  background-image: url("./assets/images/pdf.svg");
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 16px;
  width: 16px;
}

.investor-posts-list .investor-post-item .post-title .viewtime {
  display: none;
}

/* Single */

.investor-single-content .investor-single-container {
  padding-left: 0;
  padding-right: 0;
}

.investor-single-content .investor-single-inner {
  padding: 40px 72px;
  background-color: var(--grey);
}

/* Article */
.investor-article {
  background-color: var(--grey);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.investor-single-content .article-title {
  color: var(--dark);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
}

.investor-single-content .article-header-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.investor-single-content .article-meta-1 {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding: 15px 0;
  color: var(--dark);
  opacity: 0.8;
  font-size: 14px;
}

.investor-single-content .article-meta-1 .meta-date,
.investor-single-content .article-meta-1 .meta-category,
.investor-single-content .article-meta-1 .article-share-top {
  font-size: 16px;
}

.investor-single-content .meta-category {
  font-weight: 600;
  text-decoration: none;
  color: var(--dark);
  opacity: 0.8;
}

.investor-single-content .meta-category i {
  font-size: 7px;
}

.article-share-top {
  display: flex;
  align-items: center;
  gap: 15px;
}

.investor-single-content .arc-bottom {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--solid-gray);
}

.investor-single-content .arc-bottom .back-to-list i {
  background: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.recruitment-main-content .arc-bottom,
.news-main-content .arc-bottom {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
}

.recruitment-main-content .arc-bottom .back-to-list i,
.news-main-content .arc-bottom .back-to-list i {
  background: var(--grey);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Social Share */
.article-share-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
}

.article-share-top span,
.article-share-bottom span {
  color: #666;
  font-weight: 600;
}

.article-share-top a,
.article-share-bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #666;
  text-decoration: none;
  transition: all 0.3s;
}

.article-share-top a:hover,
.article-share-bottom a:hover {
  background: #e31e24;
  color: white;
}

.article-content {
  line-height: 1.8;
  color: #444;
  margin: 30px 0;
  font-size: 15px;
}

.article-content p {
  margin-bottom: 20px;
}

/* File Upload Section */
.file-upload-section {
  background: #f8f8f8;
  border-radius: 4px;
}

.file-upload-section .file-upload-title {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
  font-weight: 700;
  text-transform: uppercase;
}

.file-list {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.file-header {
  background: var(--white);
  padding: 12px 20px;
  font-weight: 700;
  color: var(--dark);
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
  opacity: 0.8;
  padding-bottom: 16px;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: var(--white);
  border-radius: 8px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.file-item:hover {
  background: #fafafa;
}

.file-item:last-child {
  border-bottom: none;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-icon {
  color: #e31e24;
  font-size: 20px;
  flex-shrink: 0;
}

.file-name {
  color: #e31e24;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.file-name:hover {
  text-decoration: underline;
}

.file-size {
  color: #999;
  font-size: 13px;
  white-space: nowrap;
}

.back-to-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  opacity: 0.8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 16px;
}

.back-to-list a:hover {
  color: #e31e24;
}

.back-to-list i {
  font-size: 12px;
}

/* Sidebar */
.investor-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
}

.investor-sidebar h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 25px;
  padding-bottom: 12px;
  font-weight: 700;
}

.sidebar-post-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.sidebar-post-item:last-child {
  border-bottom: none;
}

.sidebar-post-thumbnail {
  flex-shrink: 0;
  width: 100px;
  height: 80px;
  overflow: hidden;
  border-radius: 4px;
}

.sidebar-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sidebar-post-content {
  flex: 1;
}

.sidebar-post-title {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
}

.sidebar-post-title:hover {
  color: #e31e24;
}

.investor-help-section .investor-help-layout h1 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  margin-bottom: 32px;
}

.investor-help-section .investor-help-layout h2 {
  color: #3e3e3f;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.investor-help-section .investor-help-layout .company-info {
  margin-bottom: 40px;
}

.investor-help-section .investor-help-layout .wpcf7-list-item {
  margin: 0;
}

.investor-help-section .investor-inner {
  background: url("./assets/images/bg-contact.svg") top right no-repeat;
  padding: 56px !important;
}

.investor-help-section .investor-help-layout .help-form-col .content p {
  margin-bottom: 0;
}

.investor-help-section .investor-help-layout .help-form-col .submit p {
  margin-bottom: 0;
}

.building-image img {
  max-width: 100%;
  height: auto;
}

/* Recruitment Page Styles */

.recruitment-page {
  padding: 60px 0;
}

.recruitment-page .section-title-rec {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Layout 2 cột */
.recruitment-flex {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

/* Quote box bên trái */
.recruitment-quote {
  background: var(--white);
  padding: 0;
  position: relative;
}

.recruitment-left .recruitment-image {
  margin-top: 20px;
}

.recruitment-image img {
  max-width: 100%;
  border-radius: 30px;
}

.recruitment-quote p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0;
  padding: 80px 0 30px 30px;
  border-left: 2px solid var(--danger);
  text-align: justify;
}

.recruitment-quote .quote-icon {
  position: absolute;
  top: 30px;
  left: 30px;
}

/* Danh sách tuyển dụng */
.recruitment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.job-card {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-card:hover {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.job-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.job-location,
.job-salary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  margin: 0;
}

.job-location svg,
.job-salary svg {
  flex-shrink: 0;
}

.job-salary strong {
  font-weight: 600;
  color: var(--black);
}

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
  margin: 8px 0 0 0;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

.job-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.3s ease;
}

.job-detail-link:hover {
  gap: 10px;
}

.no-jobs {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 16px;
}

/* Recruitment Detail Page - 3 Column Layout */
.recruitment-detail-page {
  padding: 40px 0;
}

.recruitment-detail-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* Sidebar trái */
.sidebar-box {
  background: #fff;
  border: 1px solid #d32f2f;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}

.sidebar-title-1 {
  background: var(--grey);
  color: var(--black);
  padding: 20px 20px 0 20px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.4;
}

.sidebar-info {
  padding: 20px;
  background: var(--grey);
  color: var(--black);
}

.sidebar-info .divider {
  border-top: 1px solid #ebebeb;
  margin-bottom: 20px;
}

.info-subtitle {
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 15px;
}

.info-item-contact {
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.info-item-contact div {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.info-item-contact p {
  margin: 0;
  color: var(--black);
  font-weight: 600;
}

.info-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.6;
}

.info-item span {
  margin: 0;
  color: var(--black);
  font-weight: 600;
}

.info-item div {
  display: block;
  color: #333;
  font-weight: 500;
}

.info-item strong {
  display: block;
  color: #333;
  font-weight: 500;
}

.info-item p {
  margin: 0;
  color: var(--black);
  font-weight: 600;
}

/* Main Content */
.recruitment-main-content {
  background: #fff;
}

.main-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.content-body {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.content-body h1,
.content-body h2,
.content-body h3 {
  color: #333;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 700;
}

.content-body h2 {
  font-size: 18px;
}

.content-body h3 {
  font-size: 16px;
}

.content-body p {
  margin-bottom: 15px;
  font-size: 16px;
}

.content-body ul,
.content-body ol {
  padding-left: 25px;
  margin-bottom: 20px;
}

.content-body li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.content-body strong {
  color: #333;
  font-weight: 600;
}

.related-box {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
}

.related-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.related-posts {
  margin: 20px 0;
}

.related-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.related-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 75px;
  overflow: hidden;
  border-radius: 4px;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-thumb:hover img {
  transform: scale(1.1);
}

.related-content h4 {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.related-content h4 a {
  color: #333;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-content h4 a:hover {
  color: #f4a78d;
}

.related-jobs-section .related-jobs-list .job-item {
  text-decoration: none;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.87);
}

.related-jobs-section .related-jobs-list .job-item:hover {
  color: var(--primary);
}

.related-jobs-section .section-title-job {
  font-size: 16px;
  font-weight: 700;
  color: #5f5f62;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-header {
    padding: 30px 56px 30px;
  }

  .investor-relations-page .investor-nav .investor-menu li {
    padding: 8px 28px;
    text-align: center;
  }

  .investor-help-section .investor-inner {
    background: none;
  }

  .investor-help-section .investor-inner .col-md-7 {
    width: 100%;
  }

  .recruitment-flex {
    grid-template-columns: 320px 1fr;
    gap: 30px;
  }

  .recruitment-quote p {
    padding: 70px 0 25px 25px;
    font-size: 15px;
  }

  .recruitment-quote .quote-icon {
    top: 25px;
    left: 25px;
  }

  .recruitment-list {
    gap: 15px;
  }

  .recruitment-left .recruitment-image img {
    max-width: 320px;
  }

  .recruitment-main-content .arc-bottom {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 991.98px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-services .banner-name,
  .investor-relations-page .banner-name {
    font-size: 28px;
    top: calc(50% - 32px);
  }

  .container.investor-content {
    padding-top: 30px;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .investor-content .investor-header-row h1 {
    font-size: 30px;
  }

  .investor-content .investor-header-row .investor-filter #investor-sort {
    font-size: 14px;
    padding: 5px 10px;
  }

  .investor-content .investor-header-row .investor-filter {
    margin-bottom: 30px;
  }

  .container.investor-content ul {
    padding: 0;
  }

  .investor-posts-list .investor-post-item {
    gap: 10px;
    padding: 15px 0;
  }

  .recruitment-flex {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .recruitment-left {
    width: 100%; /* Full width */
  }

  .recruitment-quote p {
    padding: 80px 20px 30px 20px;
    font-size: 16px;
  }

  .recruitment-quote .quote-icon {
    top: 30px;
    left: 20px;
  }

  .recruitment-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recruitment-left .recruitment-image img {
    height: 528px;
    max-width: 100%;
  }

  .recruitment-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .recruitment-sidebar,
  .recruitment-related {
    position: static;
    max-width: 100%;
  }

  .sidebar-title-1 {
    font-size: 18px;
    padding: 20px;
  }

  .main-title {
    font-size: 30px;
  }

  .related-box {
    max-width: 100%;
  }

  .related-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .related-item {
    flex-direction: column;
    border-bottom: none;
    padding-bottom: 0;
  }

  .related-thumb {
    width: 100%;
    height: 150px;
  }
}

@media (max-width: 767.98px) {
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .project-item,
  .project-item:nth-child(n) {
    grid-column: 1 !important;
    grid-row: span 1 !important;
  }

  .investor-relations-page .investor-nav .investor-menu {
    padding: 0;
    justify-content: flex-start;
  }

  .investor-relations-page .investor-nav .investor-menu li {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .recruitment-left .recruitment-image img {
    height: 283px;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .project-services .banner-name,
  .investor-relations-page .banner-name {
    font-size: 18px;
    top: calc(50% - 22px);
    left: 20px;
  }

  .recruitment .banner-name {
    font-size: 18px;
    left: 20px;
  }

  .project-services .section-title-p {
    padding-top: 30px;
    font-size: 30px;
  }

  .projects-section .section-title-p-done {
    font-size: 30px;
  }

  .category-header {
    padding: 16px 16px 8px;
  }

  .category-header .btn-view-more {
    margin: 8px auto 0;
  }

  .category-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .category-description {
    padding: 20px;
  }

  .investor-content .investor-header-row h1 {
    font-size: 20px;
  }

  .investor-posts-list .investor-post-item {
    position: relative;
    padding: 15px 0 30px 0;
  }

  .investor-posts-list .investor-post-item .post-date {
    display: none;
  }

  .investor-posts-list .investor-post-item .viewtime {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    color: #5f5f62;
  }

  .investor-relations-page .container.cnt_1,
  .investor-relations-page .container.cnt_2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .investor-relations-page .investor-nav .investor-menu li {
    padding: 8px 16px;
    text-align: center;
  }

  .investor-relations-page .investor-nav .investor-menu li a {
    font-size: 11px;
  }

  .investor-posts-list .investor-post-item .post-category-badge {
    white-space: unset;
  }

  .investor-relations-page .container.ivs_1 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .investor-help-section .investor-inner {
    padding: 30px 12px 12px !important;
  }

  .investor-help-section .investor-help-layout h1 {
    font-size: 30px;
  }

  .investor-help-section .investor-help-layout h2 {
    margin-bottom: 0;
    font-size: 16px;
  }

  .recruitment .container.rec_1 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .recruitment-page {
    padding: 30px 0 12px;
  }

  .recruitment-page .section-title-rec {
    font-size: 28px;
  }
}
