.home-news-module {
  padding: 50px 0;
  background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
}

.home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(290px, 1fr);
  gap: 20px;
  align-items: start;
}

.home-news-main-card,
.home-news-faq-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 860px;
  overflow: hidden;
 
  border: 1px solid #dfe8f4;
}

.news-tab-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.news-tab-btn {
  border: 0;
  padding: 20px 14px;
  color: #374151
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.25s ease, filter 0.25s ease;
  opacity: 0.86;
}

.news-tab-btn:hover {
  filter: brightness(1.06);
}

.news-tab-btn.is-active {
  opacity: 1;
  position: relative;
  height: 80px;
  color:#ff7607;
  border-bottom: 2px solid #ff7607;
 
}

.news-tab-btn.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;

  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ff7607;

}

.news-tab-btn--company {
  
  height: 80px;
  
}

.news-tab-btn--industry {
  
    height: 80px;
}

.news-tab-body {
  padding: 20px;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.news-tab-body.is-dragging {
  cursor: grabbing;
}

.news-tab-track {
  position: relative;
}

.news-tab-pane {
  display: none;
  animation: fadeNewsIn 0.28s ease;
}

.news-tab-pane.is-active {
  display: block;
}

.news-pane-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.5fr);
  gap: 16px;
  align-items: start;
}

@keyframes fadeNewsIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.news-feature {
  border: 1px solid #e2eaf5;
  border-radius: 10px;
  padding: 12px;
}

.feature-thumb-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.feature-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
}

.feature-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1d3151;
  margin-bottom: 6px;
  line-height: 1.4;
}

.feature-excerpt {
  color: #627188;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.news-list-wrap {
  border: 1px solid #e2eaf5;
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 0;
  overflow: hidden;
}

.home-news-list,
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-news-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #e5ebf3;
  min-width: 0;
}

.home-news-list li:last-child,
.faq-list li:last-child {
  border-bottom: 0;
}

.home-news-list a {
  color: #30445f;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.home-news-list time {
  color: #7b8ca6;
  font-size: 14px;
  flex-shrink: 0;
}

.faq-head {
  padding: 22px;
   color: #30445f;
 border-bottom: 1px dashed #ccc;
  text-align: center;
}

.faq-head h3 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
}

.faq-head span {
  font-size: 14px;
  opacity: 0.9;
}

.faq-list {
  padding: 16px 20px;
}

.faq-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed #e5ebf3;
}

.faq-tag {
  min-width: 24px;
  height: 24px;
  background: #e8f1ff;
  color: #ff7607;
  border-radius: 4px;
  text-align: center;
  line-height: 24px;
  font-weight: 700;
  font-size: 14px;
}

.faq-list a {
  color: #344257;
  font-size: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.faq-more-wrap {
  padding: 0 20px 20px;
  text-align: right;
}

.faq-more-wrap a {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  background: #1f6fce;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.faq-more-wrap a:hover {
  filter: brightness(1.08);
}

.search-container {
  position: relative;
  padding: 20px 0px;
  background:
    radial-gradient(1200px 300px at 50% -30%, rgba(29, 99, 196, 0.14), transparent 62%),
    linear-gradient(180deg, #eff4fb 0%, #f7faff 100%);
}

.search-container .search-wrap {

  margin: 0 auto;
  padding: 18px 22px 16px;

  border-top: 1px solid #d7e3f4;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(20, 52, 98, 0.11);
  backdrop-filter: blur(6px);
}

.search-container .search-form {
  margin: 0;
}

.search-container .search-input-group {
  display: flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #c9daf3;
  background: #fff;
  transition: box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.search-container .search-input-group:focus-within {
  border-color: #2a6dca;
  box-shadow: 0 0 0 4px rgba(36, 105, 199, 0.15), 0 10px 22px rgba(22, 54, 98, 0.1);
  transform: translateY(-1px);
}

.search-container .search-input {
  flex: 1;
  border: none;
  height: 56px;
  padding: 0 20px;
  font-size: 16px;
  color: #24364d;
  background: transparent;
}

.search-container .search-input::placeholder {
  color: #90a1ba;
}

.search-container .search-input:focus {
  outline: none;
}

.search-container .search-btn {
  height: 56px;
  min-width: 142px;
  border: none;
  background: linear-gradient(135deg, #125fbc 0%, #357dd7 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.search-container .search-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.search-container .search-btn:active {
  transform: translateY(0);
}

.search-container .search-hint {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #68809f;
  font-size: 14px;
}

.search-container .search-hint > span {
  color: #4e6482;
  font-weight: 600;
}

.search-container .search-hint a {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d8e4f5;
  color: #3a567d;
  background: #f2f7ff;
  transition: all 0.22s ease;
}

.search-container .search-hint a:hover {
  background: #e8f1ff;
  border-color: #b9d2f5;
  color: #185db7;
  transform: translateY(-1px);
}

@media (max-width: 1199px) {
  .home-news-layout {
    grid-template-columns: 1fr;
  }

  .news-pane-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .search-container {
    padding: 18px 0 24px;
  }

  .search-container .search-wrap {
    padding: 14px 14px 12px;
    border-radius: 12px;
  }

  .search-container .search-input {
    height: 48px;
    font-size: 14px;
    padding: 0 14px;
  }

  .search-container .search-btn {
    min-width: 98px;
    height: 48px;
    font-size: 14px;
    gap: 6px;
  }

  .search-container .search-text {
    display: none;
  }
}

.home-advantage-section,
.home-case-section {
  padding: 44px 0 20px;
  background: #f3f6fb;
}

.home-case-section {
  padding-top: 18px;
}

.home-block-heading h2 {
  margin: 0 0 10px;
  color: #153a6c;
  font-size: 32px;
  font-weight: 700;
}

.home-block-heading p {
  margin: 0 auto 24px;
  max-width: 760px;
  color: #657d9d;
  font-size: 15px;
  line-height: 1.8;
}

.home-advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-advantage-item {
  background: #fff;
  border: 1px solid #dfe8f4;
  border-radius: 14px;
  padding: 22px 16px 18px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(20, 52, 98, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-advantage-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(20, 52, 98, 0.1);
}

.home-advantage-item i {
  width: 52px;
  height: 52px;
  line-height: 52px;
  border-radius: 50%;
  background: #e8f1ff;
  color: #1f67c5;
  font-size: 22px;
  margin-bottom: 10px;
}

.home-advantage-item h3 {
  margin: 0 0 8px;
  color: #1e3557;
  font-size: 20px;
  font-weight: 700;
}

.home-advantage-item p {
  margin: 0;
  color: #5e7392;
  line-height: 1.75;
  font-size: 14px;
}

.home-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-case-item {
  display: block;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #dfe8f4;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(20, 52, 98, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-case-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(20, 52, 98, 0.1);
}

.home-case-item img {
  width: 100%;
  height: 182px;
  object-fit: cover;
  display: block;
}

.home-case-item span {
  display: block;
  padding: 12px 14px;
  color: #1f3658;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 1199px) {
  .home-advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-block-heading h2 {
    font-size: 26px;
  }
  .home-block-heading p {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .home-advantage-section,
  .home-case-section {
    padding: 30px 0 10px;
  }
  .home-advantage-grid,
  .home-case-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-case-item img {
    height: 170px;
  }
}
