:root {
  --company-news-primary: #ff6b00;
  --company-news-primary-hover: #e65100;
  --company-news-bg: #f8fafc;
  --company-news-text: #0f172a;
  --company-news-muted: #64748b;
  --company-news-border: rgba(226, 232, 240, 0.8);
  --company-news-max: 1200px;
}

.company-news-prototype {
  color: var(--company-news-text);
  background: var(--company-news-bg);
  line-height: 1.6;
}

.company-news-prototype a {
  color: inherit;
  text-decoration: none;
}

.company-news-prototype .container {
  max-width: var(--company-news-max);
  margin: 0 auto;
  padding: 0 24px;
}

.company-news-prototype .header-section {
  position: relative;
  overflow: hidden;
  padding: 200px 0 100px;
  background: #f8fafc;
}

.company-news-prototype .header-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  z-index: 0;
  width: 140%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(255, 255, 255, 0) 60%), radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.06) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
}

.company-news-prototype .header-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.company-news-prototype .section-title {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  color: #0f172a;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.company-news-prototype .section-desc {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--company-news-muted);
  font-size: 20px;
  line-height: 1.8;
}

.company-news-prototype .filter-bar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin: -40px auto 60px;
  padding: 16px 24px;
  border: 1px solid var(--company-news-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(20px);
}

.company-news-prototype .filter-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 16px;
  background: #f1f5f9;
}

.company-news-prototype .filter-tab {
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--company-news-muted);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-news-prototype .filter-tab:hover {
  color: var(--company-news-text);
}

.company-news-prototype .filter-tab.active {
  background: #fff;
  color: var(--company-news-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-weight: 700;
}

.company-news-prototype .search-box {
  position: relative;
  max-width: 300px;
  width: 100%;
}

.company-news-prototype .search-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--company-news-muted);
  border-radius: 999px;
  transform: translateY(-55%);
}

.company-news-prototype .search-icon::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 32px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--company-news-muted);
  transform: rotate(45deg);
}

.company-news-prototype .search-box input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 1px solid var(--company-news-border);
  border-radius: 14px;
  background: #f8fafc;
  font: inherit;
  font-size: 14px;
  transition: all 0.3s;
}

.company-news-prototype .search-box input:focus {
  border-color: rgba(249, 115, 22, 0.3);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
  outline: none;
}

.company-news-prototype .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  min-height: 400px;
  padding-bottom: 40px;
}

.company-news-prototype .news-featured {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--company-news-border);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.05);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.company-news-prototype .news-featured:hover {
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.1);
  transform: translateY(-8px);
}

.company-news-prototype .featured-img-box,
.company-news-prototype .card-img-box {
  position: relative;
  overflow: hidden;
}

.company-news-prototype .featured-img-box img,
.company-news-prototype .card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.company-news-prototype .news-featured:hover .featured-img-box img,
.company-news-prototype .news-card:hover .card-img-box img {
  transform: scale(1.05);
}

.company-news-prototype .featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
}

.company-news-prototype .news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--company-news-muted);
  font-size: 14px;
  font-weight: 600;
}

.company-news-prototype .meta-tag {
  padding: 6px 14px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--company-news-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.company-news-prototype .meta-tag.hot {
  background: #fff7ed;
  color: var(--company-news-primary);
}

.company-news-prototype .featured-content h3 {
  margin-bottom: 24px;
  color: #0f172a;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: color 0.3s;
}

.company-news-prototype .news-featured:hover h3,
.company-news-prototype .news-card:hover .card-body h3 {
  color: var(--company-news-primary);
}

.company-news-prototype .featured-content p {
  margin-bottom: 32px;
  color: var(--company-news-muted);
  font-size: 17px;
  line-height: 1.8;
}

.company-news-prototype .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.company-news-prototype .news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--company-news-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 20px -10px rgba(15, 23, 42, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-news-prototype .news-card:hover {
  border-color: rgba(249, 115, 22, 0.15);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
  transform: translateY(-8px);
}

.company-news-prototype .card-img-box {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.company-news-prototype .card-img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.company-news-prototype .news-card:hover .card-img-box::after {
  opacity: 1;
}

.company-news-prototype .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 32px 28px;
}

.company-news-prototype .card-body h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  transition: color 0.3s ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.company-news-prototype .card-body p {
  display: -webkit-box;
  overflow: hidden;
  flex-grow: 1;
  margin-bottom: 24px;
  color: var(--company-news-muted);
  font-size: 15px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.company-news-prototype .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed rgba(226, 232, 240, 0.8);
}

.company-news-prototype .news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--company-news-primary);
  font-size: 14px;
  font-weight: 800;
}

.company-news-prototype .news-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.company-news-prototype .news-card:hover .news-link::after,
.company-news-prototype .news-featured:hover .news-link::after {
  transform: translateX(5px) rotate(45deg);
}

.company-news-prototype .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 60px;
}

.company-news-prototype .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--company-news-border);
  border-radius: 12px;
  background: #fff;
  color: var(--company-news-muted);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-news-prototype .page-btn:hover:not(:disabled) {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.05);
  color: var(--company-news-primary);
  transform: translateY(-2px);
}

.company-news-prototype .page-btn.active {
  border-color: var(--company-news-primary);
  background: var(--company-news-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.25);
}

.company-news-prototype .page-btn:disabled {
  background: #f8fafc;
  cursor: not-allowed;
  opacity: 0.5;
}

.company-news-prototype .page-dots {
  padding: 0 4px;
  color: var(--company-news-muted);
  font-weight: 600;
  letter-spacing: 2px;
}

.company-news-prototype .empty-state {
  text-align: center;
  padding: 100px 0;
}

.company-news-prototype .empty-state[hidden] {
  display: none;
}

.company-news-prototype .empty-icon::before {
  content: "";
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  border: 6px solid #e2e8f0;
  border-radius: 999px;
}

.company-news-prototype .empty-state p {
  color: var(--company-news-muted);
  font-size: 18px;
}

@media (max-width: 1024px) {
  .company-news-prototype .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-news-prototype .news-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .company-news-prototype .header-section {
    padding: 140px 0 88px;
  }

.company-news-prototype .news-listing-section {
  scroll-margin-top: 118px;
}

.company-news-prototype .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .company-news-prototype .filter-tabs {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .company-news-prototype .filter-tab {
    white-space: nowrap;
  }

  .company-news-prototype .search-box {
    max-width: none;
  }

  .company-news-prototype .news-grid,
  .company-news-prototype .news-featured {
    grid-template-columns: 1fr;
  }

  .company-news-prototype .featured-content {
    padding: 34px 28px;
  }

  .company-news-prototype .featured-content h3 {
    font-size: 26px;
  }
}
