.news-main {
  background: #ffffff;
  padding-top: 0;
  padding-bottom: 120px;
}

.news-tabs-wrap {
  position: sticky;
  top: 68px;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.news-tabs-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .news-tabs-wrap { top: 60px; }
}

.news-tabs {
  display: flex;
  gap: 0;
  justify-content: center;
}

.news-tab {
  position: relative;
  padding: 16px 32px;
  background: none;
  border: none;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: color 0.2s;
  outline: none;
}

.news-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #e30f1c;
  transform: scaleX(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-tab.is-active {
  color: #e30f1c;
  font-weight: 700;
}

.news-tab.is-active::after {
  transform: scaleX(1);
}

.news-tab:hover:not(.is-active) {
  color: rgba(0, 0, 0, 0.7);
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.news-count {
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
}

.news-count span {
  font-weight: 700;
  color: #e30f1c;
}

.news-search {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}

.news-search:focus-within {
  border-color: #1a1a2e;
}

.news-search-input {
  border: none;
  outline: none;
  background: none;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  color: #1a1a2e;
  width: 220px;
  padding: 0 8px 0 0;
}

.news-search-input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.news-search-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.news-search-btn:hover {
  color: #e30f1c;
}

.news-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 140px 40px 0;
  box-sizing: border-box;
}

.news-grid {
  scroll-margin-top: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 32px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-width: 0;
  border-radius: 10px;
  padding: 8px;
  margin: -8px;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.news-card:hover {
  background: #111;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 6px;
}

.news-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background-color: #000000;
  border-radius: 48px;
  font-family: "Pretendard-Bold", "Pretendard", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  line-height: 21.6px;
  white-space: nowrap;
  width: fit-content;
  transition: background-color 0.2s;
}

.news-card-tag.tech {
  background-color: #986232;
}

.news-card-tag.internal {
  background-color: #5c5c5c;
}

.news-card-tag.ast {
  background-color: #003a59;
}

.news-card-tag.linkedin {
  background-color: #0a66c2;
}

.news-card-tag.business {
  background-color: #E67E22;
}

.news-card:hover .news-card-tag,
.news-card:hover .news-card-tag.tech,
.news-card:hover .news-card-tag.internal,
.news-card:hover .news-card-tag.ast,
.news-card:hover .news-card-tag.linkedin {
  background-color: #e30f1c;
}

.news-card-date {
  font-family: "Pretendard", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.45);
  margin-left: auto;
}

.news-card-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  color: #ffffff;
  transition: color 0.25s ease, transform 0.3s ease, background 0.25s ease;
  z-index: 2;
}

.news-card:hover .news-card-arrow {
  color: #e30f1c;
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(-45deg);
}

.news-card-divider {
  display: none;
}

.news-card-title {
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin: 0;
  min-height: unset;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.news-card:hover .news-card-title {
  color: #ffffff;
}

.news-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2.9% / 5.2%;
  background: #111111;
}

.news-card-thumb img,
.news-card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  opacity: 0.85;
}

.news-card:hover .news-card-thumb img,
.news-card:hover .news-card-thumb video {
  transform: scale(1.04);
  opacity: 1;
}

.news-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-family: "Pretendard", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.news-more-btn {
  padding: 14px 48px;
  background: none;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 40px;
  font-family: "Pretendard", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.news-more-btn:hover {
  border-color: #1a1a2e;
  color: #1a1a2e;
  background: rgba(0, 0, 0, 0.03);
}

@media (max-width: 1024px) {
  .news-grid         { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .news-section      { padding: 100px 40px 0; }
  .news-tabs-inner   { padding: 0 40px; }
  .news-toolbar      { flex-direction: column; align-items: flex-start; gap: 16px; }
  .news-search-input { width: 180px; }
}

@media (max-width: 767px) {
  .news-main         { padding-bottom: 64px; }
  .news-tabs-inner   { padding: 0 20px; }
  .news-tab          { padding: 14px 16px; font-size: 14px; }
  .news-section      { padding: 40px 20px 0; }
  .news-toolbar      { flex-direction: row; align-items: center; gap: 12px; }
  .news-grid         { grid-template-columns: 1fr; gap: 36px; }
  .news-card-title   { font-size: 15px; white-space: normal; overflow: visible; text-overflow: clip; }
  .news-more-wrap    { margin-top: 48px; }
  .news-more-btn     { padding: 13px 36px; font-size: 15px; line-height: 1.2; }
}
