
:root {
  --color-primary: #664b3a;
  --color2:#d9d2ce;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
}

body {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  background-color: #ffffff;
  line-height: 1.4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

main {
  margin: 20px;
  margin-bottom: 80px;
}

.page-content {
  margin-top: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}



.header {
  background: white;
  color: #333;
  padding: 0 20px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.header-right-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sidebar-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.sidebar-toggle svg {
  width: 28px;
  height: 28px;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 16px;
}

.logo-image {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  border-radius: 8px;
}

.back-button-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.back-button-header:hover {
  opacity: 0.8;
}

.back-button-header svg {
  width: 32px;
  height: 32px;
}


.header-search-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-toggle svg {
  width: 28px;
  height: 28px;
  stroke-width: 3;
}

.header-search-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.header-search-toggle:active {
  transform: scale(0.95);
}

.header-search-container {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 997;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-search-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.header-search-input {
  flex: 1;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.header-search-input:focus {
  border-color: var(--color-primary);
}

.header-search-close {
  background: #f5f5f5;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-close svg {
  width: 16px;
  height: 16px;
}

.header-search-close:hover {
  background: #e0e0e0;
  color: #333;
}


.footer {
  background: #000;
  color: white;
  margin-top: auto;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 15px;
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-copyright {
  color: #999;
  font-size: 14px;
  padding-top: 15px;
  border-top: 1px solid #333;
}


.dropdown-menu {
  position: fixed;
  top: -100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: top 0.3s ease;
  overflow-y: auto;
  max-height: 70vh;
  border-bottom: 1px solid #e1e5e9;
  display: block;
}

.dropdown-menu.active {
  top: 60px;
}

.dropdown-content {
  padding: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e1e5e9;
}

.dropdown-header h3 {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.dropdown-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
  color: #666;
}

.dropdown-close:hover {
  background: #f5f5f5;
  color: #333;
}

.dropdown-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.dropdown-item {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e1e5e9;
  background: #f8f9fa;
  text-align: center;
}

.dropdown-item:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.dropdown-categories {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.dropdown-categories .dropdown-item {
  padding: 10px 12px;
  font-size: 13px;
}




.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.empty-state-icon {
  font-size: 60px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 18px;
  margin-bottom: 10px;
}

.empty-state-subtext {
  font-size: 14px;
  color: #999;
}


.back-home-btn {
  position: fixed;
  right: 15px;
  bottom: 300px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  text-decoration: none;
}

.back-home-btn:active {
  transform: translateY(0) scale(0.98);
}

.back-home-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.3), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.back-home-btn svg {
  width: 48px;
  height: 48px;
}


.ads {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ads > div {
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.articles-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 500px;
}

.article-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 140px;
  min-height: 140px;
  width: 100%;
  position: relative;
  margin-bottom: 10px;
}

body .main-content .articles-container .article-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

body .main-content .articles-container .article-card .article-image {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  min-width: 140px;
  max-width: 140px;
}

html body .article-card,
html body .main-content .article-card,
html body .articles-container .article-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100px;
  min-height: 100px;
}

html body .article-card .article-image,
html body .main-content .article-card .article-image,
html body .articles-container .article-card .article-image {
  flex-shrink: 0;
  width: 140px;
  height: 100px;
  min-width: 140px;
  max-width: 140px;
}

html body .article-card .article-content,
html body .main-content .article-card .article-content,
html body .articles-container .article-card .article-content {
  flex: 1;
}

.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.article-card:hover::before {
  background: rgba(146, 207, 244, 0.05);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0 10px;
}

.article-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  hyphens: auto;
  margin-top: 0;
}


.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
  margin-top: auto;
}

.article-type {
  color: var(--color-primary);
  font-weight: 500;
  max-width: 150px;
}

.article-time {
  color: #999;
  font-size: 11px;
}


.home-page-content {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  min-height: 500px;
  position: relative;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 10px 0;
}



.latest-news-layout {
  position: relative;
  margin-bottom: 10px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-item .article-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  box-sizing: border-box;
}

.carousel-item .article-title {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 30px;
  font-weight: 700;
  color: white;
  line-height: 1.4;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

.carousel-item .article-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: white;
  width: 24px;
  border-radius: 5px;
}

.carousel-item .article-meta {
  font-size: 14px;
  color: #666;
  margin: 0;
}


.category-section {
  margin-top: 20px;
}

.category-section:nth-of-type(2) .category-news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-x: visible;
  padding: 0;
}

.category-section:nth-of-type(2) .category-news-list .article-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex-shrink: 0;
  margin: 0 !important;
  height: auto !important;
  min-height: auto !important;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-section:nth-of-type(2) .category-news-list .article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-section:nth-of-type(2) .category-news-list .article-card .article-image {
  display: none !important;
}

.category-section:nth-of-type(2) .category-news-list .article-card .article-content {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.category-section:nth-of-type(2) .category-news-list .article-card .article-type {
  background: transparent;
  color: var(--color-primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  margin-bottom: 10px;
}

.category-section:nth-of-type(2) .category-news-list .article-card .article-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0 0 10px 0;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  white-space: normal;
}

.category-section:nth-of-type(2) .category-news-list .article-card .article-content .article-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #999;
  font-size: 12px;
}

.category-section:nth-of-type(2) .category-news-list .article-card .article-source {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin: 0;
}

.category-section:nth-of-type(2) .category-news-list .article-card .article-description {
  display: none;
}

.category-section:nth-of-type(2) .category-news-list .article-card .article-meta {
  display: none;
}

.category-section:nth-of-type(2) .category-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
  box-sizing: border-box;
}

.category-section:nth-of-type(2) .category-grid .grid-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  height: auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
}

.category-section:nth-of-type(2) .category-grid .grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-section:nth-of-type(2) .category-grid .grid-card .article-image {
  width: 100% !important;
  height: 180px !important;
  flex-shrink: 0;
  overflow: hidden;
  min-width: 0 !important;
  max-width: 100% !important;
}

.category-section:nth-of-type(2) .category-grid .grid-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-section:nth-of-type(2) .category-grid .grid-card .article-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.category-section:nth-of-type(2) .category-grid .grid-card .article-type {
  background: transparent;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.category-section:nth-of-type(2) .category-grid .grid-card .article-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0 0 10px 0;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  white-space: normal;
}

.category-section:nth-of-type(2) .category-grid .grid-card .article-content .article-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #999;
  font-size: 12px;
}

.category-section:nth-of-type(2) .category-grid .grid-card .article-source {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin: 0;
}

.category-section:nth-of-type(2) .category-grid .grid-card .article-description {
  display: none;
}

.category-section:nth-of-type(2) .category-grid .grid-card .article-meta {
  display: none;
}

.category-section:nth-of-type(3) .category-news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-x: visible;
  padding: 0;
}

.category-section:nth-of-type(3) .category-news-list .article-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex-shrink: 0;
  margin: 0 !important;
  height: auto !important;
  min-height: auto !important;
  padding: 0;
}

.category-section:nth-of-type(3) .category-news-list .article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image {
  position: relative;
  width: 100% !important;
  height: auto !important;
  max-height: 350px;
  flex-shrink: 0;
  overflow: hidden;
  min-width: 0 !important;
  max-width: 100% !important;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image img {
  width: 100%;
  height: auto;
  object-fit: none;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image .article-type {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  border-radius: 50px;
  border: 1px solid white;
  color: white;
  backdrop-filter: blur(12px);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  z-index: 10;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image .article-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px 15px 10px;
  color: white;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image .article-title-overlay h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image .article-title-overlay .article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image .article-title-overlay .article-source {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image .article-title-overlay .article-like {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ff6b6b;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image .article-title-overlay .article-like:hover {
  color: #ff4757;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image .article-title-overlay .article-like svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-image .article-title-overlay h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-content {
  display: none;
}

.category-section:nth-of-type(4) .category-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-x: visible;
  padding: 0;
}

.category-section:nth-of-type(4) .category-news-list .article-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex-shrink: 0;
  margin: 0 !important;
  height: auto !important;
  min-height: auto !important;
  padding: 15px;
}

.category-section:nth-of-type(4) .category-news-list .article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-image {
  display: none !important;
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 15px;
  padding: 0;
  width: 100%;
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-content .article-type {
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-content .article-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-content .article-divider {
  display: none;
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-content .article-footer {
  display: none;
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-content .article-source {
  display: none;
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-content .article-like {
  display: none;
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-description {
  display: none;
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-meta {
  display: none;
}

.category-section:nth-of-type(4) .category-news-list .article-card .article-content .article-rank {
  display: none;
}

.category-section:nth-of-type(4) .category-grid .grid-card .article-content .article-rank {
  display: none;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-content .article-title {
  display: none;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-content .article-type {
  display: none;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-content .article-divider {
  height: 1px;
  background: #eee;
  margin: 0 0 12px 0;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-content .article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-content .article-source {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-content .article-like {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ff6b6b;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-content .article-like:hover {
  color: #ff4757;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-content .article-like svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-description {
  display: none;
}

.category-section:nth-of-type(3) .category-news-list .article-card .article-meta {
  display: none;
}

.category-section:nth-of-type(4) .category-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  width: 100%;
  box-sizing: border-box;
}

.category-section:nth-of-type(4) .category-grid .grid-card {
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  height: auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.category-section:nth-of-type(4) .category-grid .grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-section:nth-of-type(4) .category-grid .grid-card .article-image {
  display: none !important;
}

.category-section:nth-of-type(4) .category-grid .grid-card .article-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px;
  padding: 0;
  width: 100%;
}

.category-section:nth-of-type(4) .category-grid .grid-card .article-content .article-type {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.category-section:nth-of-type(4) .category-grid .grid-card .article-content .article-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  padding-right: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-section:nth-of-type(4) .category-grid .grid-card .article-content .article-source {
  display: none;
}

.category-section:nth-of-type(4) .category-grid .grid-card .article-content .article-description {
  display: none;
}

.category-section:nth-of-type(4) .category-grid .grid-card .article-content .article-meta {
  display: none;
}

.category-section:nth-of-type(5) .category-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-x: visible;
  padding: 0 10px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-section:nth-of-type(5) .category-news-list .article-card {
  display: flex !important;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0 !important;
}

.category-section:nth-of-type(5) .category-news-list .article-card:last-child {
  border-bottom: none;
}

.category-section:nth-of-type(5) .category-news-list .article-card:hover {
  background-color: #f9f9f9;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-image {
  display: none !important;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-image * {
  display: none !important;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-image .article-type {
  display: none !important;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-image .article-title-overlay {
  display: none !important;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-image .article-top-right {
  display: none !important;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 15px;
  padding: 0;
  width: 100%;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-content .article-rank {
  color: #0b427a;
  font-size: 25px;
  font-weight: 700;
  flex-shrink: 0;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-content .article-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-content .article-type {
  font-size: 12px;
  font-weight: 900;
  display: inline-block;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-content .article-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-content .article-divider {
  display: none;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-content .article-footer {
  display: none;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-content .article-source {
  display: none;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-content .article-type-wrapper .article-time,
.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-type-wrapper .article-time,
.category-section:nth-of-type(4) .category-news-list .article-card .article-content .article-type-wrapper .article-time,
.category-section:nth-of-type(4) .category-grid .grid-card .article-content .article-type-wrapper .article-time {
  display: none;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-content .article-like {
  display: none;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-description {
  display: none;
}

.category-section:nth-of-type(5) .category-news-list .article-card .article-meta {
  display: none;
}

.category-section:nth-of-type(5) .category-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-section:nth-of-type(5) .category-grid .grid-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  cursor: pointer;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex-shrink: 0;
  margin: 0 !important;
  height: auto !important;
  min-height: auto !important;
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.category-section:nth-of-type(5) .category-grid .grid-card:last-child {
  border-bottom: none;
}

.category-section:nth-of-type(5) .category-grid .grid-card:hover {
  background-color: #f9f9f9;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-image {
  display: none !important;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 15px;
  padding: 0;
  width: 100%;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-rank.top3 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-type {
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-source {
  display: none;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-description {
  display: none;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-meta {
  display: none;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-divider {
  display: none;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-footer {
  display: none;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-like {
  display: none;
}

.category-section:nth-of-type(7) .category-news-list .article-card .article-content .article-like {
  display: none;
}

.category-section:nth-of-type(7) .category-grid .grid-card .article-content .article-like {
  display: none;
}



.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-source {
  display: none;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-description {
  display: none;
}

.category-section:nth-of-type(5) .category-grid .grid-card .article-content .article-meta {
  display: none;
}

.category-section:first-of-type .category-news-list {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
}

.category-section:first-of-type .category-news-list::-webkit-scrollbar {
  display: none;
}

.category-section:first-of-type .category-news-list .article-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 280px;
  max-width: 280px;
  width: 280px;
  flex-shrink: 0;
  margin: 0;
  height: auto;
  min-height: auto;
}

.category-section:first-of-type .category-news-list .article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-section:first-of-type .category-news-list .article-card .article-content {
  padding: 10px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.category-section:first-of-type .category-news-list .article-card .article-content .article-type {
  background: transparent;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 500;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.category-section:first-of-type .category-news-list .article-card .article-content .article-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-section:first-of-type .category-news-list .article-card .article-content .article-rank {
  display: none;
}

.category-section:nth-of-type(2) .category-news-list .article-card .article-content .article-rank {
  display: none;
}

.category-section:nth-of-type(2) .category-grid .grid-card .article-content .article-rank {
  display: none;
}

.category-section:first-of-type .category-news-list .article-card .article-content .article-type-wrapper,
.category-section:nth-of-type(2) .category-news-list .article-card .article-content .article-type-wrapper,
.category-section:nth-of-type(2) .category-grid .grid-card .article-content .article-type-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.category-section:first-of-type .category-news-list .article-card .article-content .article-type-wrapper .article-time,
.category-section:nth-of-type(2) .category-news-list .article-card .article-content .article-type-wrapper .article-time,
.category-section:nth-of-type(2) .category-grid .grid-card .article-content .article-type-wrapper .article-time {
  color: #999;
  font-size: 12px;
}

.category-section:first-of-type .category-news-list .article-card .article-content .article-info {
  display: contents;
}

.category-section:first-of-type .category-news-list .article-card .article-content .article-divider {
  display: none;
}

.category-section:first-of-type .category-news-list .article-card .article-content .article-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #999;
  font-size: 12px;
}

.category-section:first-of-type .category-news-list .article-card .article-content .article-source {
  display: none;
}

.category-section:first-of-type .category-news-list .article-card .article-content .article-like {
  display: none;
}

.category-section:first-of-type .category-news-list .article-card .article-description {
  display: none;
}

.category-section:first-of-type .category-news-list .article-card .article-meta {
  display: none;
}

.category-news-list {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
}

.category-news-list::-webkit-scrollbar {
  display: none;
}

.category-section .category-news-list .article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-section .category-news-list .article-card .article-image {
  width: 100%;
  height: 120px;
  flex-shrink: 0;
  border-radius: 0;
  min-width: 0;
  max-width: 100%;
}

.category-section:first-of-type .category-news-list .article-card .article-image {
  width: 280px;
  height: 158px;
  min-width: 280px;
  max-width: 280px;
}

.category-section:first-of-type .category-news-list .article-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-section:first-of-type .category-news-list .article-card .article-image .article-type {
  display: none;
}

.category-section:first-of-type .category-news-list .article-card .article-image .article-title-overlay {
  display: none;
}

.category-section .category-news-list .article-card .article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 10px;
}

.category-section .category-news-list .article-card .article-type {
  font-size: 11px;
  font-weight: 500;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.category-section .category-news-list .article-card .article-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-section .category-news-list .article-card .article-description {
  display: none;
}

.category-section .category-news-list .article-card .article-meta {
  display: none;
}


.category-section .category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
  width: 100%;
  box-sizing: border-box;
}

.grid-card {
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  height: auto;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
}

.grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.grid-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-card .article-content {
  padding: 10px;
  flex: 1;
}

.grid-card .article-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid-card .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #666;
  margin-top: auto;
}

.grid-card .article-type {
  color: #666;
  font-size: 11px;
  font-weight: 500;
  max-width: 120px;
}

.grid-card .article-time {
  font-size: 11px;
}

.ai-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  height: auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.ai-card .article-image {
  width: 100%;
  height: 140px;
  flex-shrink: 0;
}

.ai-card .article-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-card .article-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ai-card .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #666;
  margin-top: auto;
}

.ai-card .article-type {
  background: #f0f0f0;
  color: #666;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.ai-card .article-time {
  color: #999;
  font-size: 11px;
}

.category-section:nth-of-type(6) .category-news-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 0 !important;
}

.category-section:nth-of-type(6) .category-news-list .article-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  height: 96px !important;
  min-height: 96px !important;
  max-height: 96px !important;
  width: 100% !important;
  max-width: 100% !important;
  background: white !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.category-section:nth-of-type(6) .category-news-list .article-card .article-image {
  flex-shrink: 0 !important;
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  display: block !important;
}

.category-section:nth-of-type(6) .category-news-list .article-card .article-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.category-section:nth-of-type(6) .category-news-list .article-card .article-content {
  padding: 8px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.category-section:nth-of-type(6) .category-news-list .article-card .article-content .article-divider {
  display: none !important;
}

.category-section:nth-of-type(6) .category-news-list .article-card .article-content .article-info {
  gap: 2px !important;
}

.category-section:nth-of-type(6) .category-news-list .article-card .article-content .article-title {
  -webkit-line-clamp: 2 !important;
  line-height: 1.35 !important;
}

.category-section:nth-of-type(6) .category-news-list .article-card .article-content .article-footer {
  margin-top: 0 !important;
}

.category-section:nth-of-type(7) .category-news-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 !important;
}

.category-section:nth-of-type(7) .category-news-list .article-card {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  background: white !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.category-section:nth-of-type(6) .category-news-list .article-card .article-content .article-rank {
  display: none !important;
}

.category-section:nth-of-type(7) .category-news-list .article-card .article-content .article-rank {
  display: none !important;
}

.category-section:nth-of-type(6) .category-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.category-section:nth-of-type(6) .category-grid .grid-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  height: 96px !important;
  min-height: 96px !important;
  max-height: 96px !important;
  width: 100% !important;
  max-width: 100% !important;
  background: white !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.category-section:nth-of-type(6) .category-grid .grid-card .article-image {
  flex-shrink: 0 !important;
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  display: block !important;
}

.category-section:nth-of-type(6) .category-grid .grid-card .article-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.category-section:nth-of-type(6) .category-grid .grid-card .article-content {
  padding: 8px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.category-section:nth-of-type(6) .category-grid .grid-card .article-content .article-info {
  gap: 2px !important;
}

.category-section:nth-of-type(6) .category-grid .grid-card .article-content .article-title {
  -webkit-line-clamp: 2 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.category-section:nth-of-type(6) .category-grid .grid-card .article-content .article-source {
  margin: 0 !important;
  font-size: 11px !important;
}

.category-section:nth-of-type(7) .category-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 !important;
}

.category-section:nth-of-type(7) .category-grid .grid-card {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: stretch !important;
  height: 140px !important;
  min-height: 140px !important;
  width: 100% !important;
  max-width: 100% !important;
  background: white !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.category-section:nth-of-type(7) .category-grid .grid-card .article-image {
  flex-shrink: 0 !important;
  width: 140px !important;
  height: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  display: block !important;
}

.category-section:nth-of-type(7) .category-grid .grid-card .article-content {
  padding: 12px 15px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.category-section:nth-of-type(6) .category-grid .grid-card .article-content .article-rank {
  display: none !important;
}

.category-section:nth-of-type(7) .category-grid .grid-card .article-content .article-rank {
  display: none !important;
}

.search-results-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e1e5e9;
  padding: 15px 0;
  display: none;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
  position: relative;
  z-index: 998;
  margin-top: 0;
}

.search-results-container {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 500px;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.search-results-container .category-news-list {
  display: flex;
  flex-direction: column;
}

.search-results-info {
  color: #666;
  font-size: 14px;
}

.search-results-info span {
  color: #333;
  font-weight: 600;
}

.clear-search-btn {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}


.detail-page-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-detail {
  width: 100%;
}

.back-button-container {
  margin-bottom: 10px;
  margin-top: 10px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.back-button svg {
  width: 16px;
  height: 16px;
}

.article-header {
  text-align: center;
}

.article-detail-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.article-detail-source {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.article-detail-source span:first-child {
  font-weight: 500;
  color: #333;
}

.article-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #666;
  font-size: 14px;
}

.article-detail-section {
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid var(--color-primary);
}

.article-detail-section p {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.article-detail-image {
  width: 100vw;
  max-width: none;
  height: auto;
  border-radius: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-detail-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.article-detail-content {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.8;
  color: #333;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.article-detail-content h3 {
  color: var(--color-primary);
  margin: 25px 0 15px 0;
  font-size: 20px;
}

.article-detail-content p {
  margin-bottom: 15px;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.article-detail-content img {
  width: 100%;
  max-width: 100vw;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin: 15px auto;
  display: block;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}

.article-detail-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin: 10px auto;
  display: block;
}

.article-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-detail-content th,
.article-detail-content td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
  word-wrap: break-word;
  hyphens: auto;
}

.article-detail-content th {
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.article-detail-content td {
  font-size: 14px;
  line-height: 1.5;
}

.article-item {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  overflow-x: hidden;
}

.article-item p {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.article-item div {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 3px;
}


.recommended-section {
  margin-top: 40px;
  padding: 30px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.recommended-articles {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 !important;
  margin-top: 0 !important;
}

.recommended-articles .grid-card {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: stretch !important;
  height: 140px !important;
  min-height: 140px !important;
  width: 100% !important;
  max-width: 100% !important;
  background: white !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.recommended-articles .grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.recommended-articles .grid-card .article-image {
  flex-shrink: 0 !important;
  width: 140px !important;
  height: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  display: block !important;
}

.recommended-articles .grid-card .article-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.recommended-articles .grid-card .article-content {
  padding: 12px 15px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.recommended-articles .grid-card .article-content .article-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recommended-articles .grid-card .article-content .article-type {
  font-size: 12px;
  font-weight: 900;
  display: inline-block;
}

.recommended-articles .grid-card .article-content .article-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recommended-articles .grid-card .article-content .article-source {
  margin: 0;
  font-size: 11px;
  color: #999;
}

.category-page-content {
  max-width: 800px;
  margin: 0 auto;
  min-height: 500px;
}



.category-page-content .category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.category-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 15px;
}

.category-card-icon svg {
  width: 40px;
  height: 40px;
}

.category-card-content {
  flex: 1;
}

.category-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.category-card-count {
  font-size: 14px;
  color: #666;
}

.category-card-arrow {
  color: #999;
  transition: transform 0.3s ease;
}

.category-card-arrow svg {
  width: 20px;
  height: 20px;
}

.category-card:hover .category-card-arrow {
  transform: translateX(5px);
  color: var(--color-primary);
}



.about-page,
.privacy-page {
  max-width: 800px;
  margin: 0 auto;
}


.about-header,
.privacy-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-header h1,
.privacy-header h1 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.about-header p,
.privacy-header p {
  font-size: 18px;
  color: #666;
}

.about-content,
.privacy-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.about-section,
.privacy-section {
  padding: 30px;
  border-bottom: 1px solid #f0f2f5;
}

.about-section:last-child,
.privacy-section:last-child {
  border-bottom: none;
}

.about-section h2,
.privacy-section h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.about-section h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary);
  margin: 25px 0 15px 0;
}

.privacy-section h3 {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin: 25px 0 15px 0;
}

.about-section p,
.privacy-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.about-section ul,
.privacy-section ul {
  margin: 15px 0;
  padding-left: 20px;
}

.about-section li,
.privacy-section li {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 10px;
  list-style: disc;
}

.privacy-section strong {
  color: #333;
  font-weight: 600;
}


.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.value-item {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.value-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
}

.contact-icon {
  font-size: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
}

.contact-details h4 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.contact-details p {
  font-size: 14px;
  color: #666;
  margin: 0;
}



