/* Global Font Definition */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans SC', 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Banner */
.solution-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.solution-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}
.banner-text h1 {
  font-size: 50px;
  margin: 0 0 15px;
}
.banner-text .line {
  width: 120px;
  height: 2px;
  background: #fff;
  margin: 0 auto 15px;
}
.banner-text p {
  font-size: 24px;
  margin: 0;
}

/* Breadcrumb */
.breadcrumb {
  padding: 14px 30px;
  background: #f7f7f7;
  font-size: 14px;
  color: #666;
}
.breadcrumb a {
  color: #333;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #00A846;
}
.breadcrumb span {
  margin: 0 8px;
  color: #999;
}
.breadcrumb .breadcrumb-active {
  color: #00A846 !important;
  font-weight: bold;
}

/* Core Layout: Left + Right */
.main-layout {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 15px;
  gap: 30px;
}

/* Left Sidebar Overall */
.left-sidebar {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap:35px;
}
/* Single Sidebar Module White Box */
.sidebar-box{
  border:1px solid #eee;
}
/* Top Green Full-Width Title (Consistent with Screenshot: Green Background, White Text, Centered) */
.sidebar-title{
  background:#00A846;
  color:#fff;
  text-align:center;
  font-size:16px;
  padding: 12px 0;
  font-weight:bold;
}
/* Menu List */
.case-menu {
  list-style: none;
}
.menu-item {
  border-bottom:1px solid #eee;
}
.menu-item:last-child{
  border-bottom:none;
}
.menu-item a {
  display: block;
  padding: 8px 12px 8px 35px;
  color:#333;
  text-decoration:none;
  font-size:14px;
  transition:0.3s;
}
.menu-item a:hover {
  /* background:#00A846; */
  color:#00A846;
}

/* Contact Information List */
.contact-list {
  list-style: none;
  padding:25px;
}
.contact-item {
  font-size:12px;
  color:#333;
  margin-bottom:18px;
}
.contact-item:last-child{
  margin-bottom:0;
}

/* Right Content */
.right-content {
  flex: 1;
}
.container {
  width: 100%;
  padding: 0;
}
.solution-page {
  padding: 0;
}

/* Card Grid: 2 Columns per Row */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

/* Card Style */
.solution-card {
  border: 1px solid #eee;
  overflow: hidden;
  background: #FFFFFF;
  position: relative;
  cursor: pointer;
  height: 280px !important;
}
.solution-card:hover {
  border-color: #00A846;
}
.solution-img img {
  width: 100%;
  height: 160px !important;
  object-fit: cover !important;
  display: block;
}
.solution-title {
  font-size: 16px;
  font-weight: bold;
  padding: 15px 15px 5px;
  color: #00A846;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}
.solution-desc {
  font-size: 14px;
  color: #666;
  padding: 0 15px 25px !important;
  line-height: 1.4 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.solution-card::after {
  content: "→";
  position: absolute;
  right: 15px;
  bottom: 10px;
  font-size: 16px;
  color: #004220;
}

/* Pagination: Hidden when no data / only 1 page */
.solution-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.solution-pagination.hidden {
  display: none;
}
.solution-pagination button {
  padding: 6px 16px;
  border: 1px solid #ddd;
  background: #FFFFFF;
  color: #000000;
  cursor: pointer;
}
.solution-pagination button:not(:disabled):hover {
  background: #00A846;
  color: #FFFFFF;
  border-color: #00A846;
}
.solution-pagination button:disabled {
  opacity: 0.5;
  cursor: default;
}
.solution-pagination span {
  font-size: 14px;
  color: #000000;
}

/* Back to Top Button */
.back-top {
  background: #00A846;
  color: #FFFFFF;
}