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

ul,
li {
  list-style: none;
}

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

body {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: #fcfbf8;
  line-height: 1.4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

main {
  margin-bottom: 80px;
}

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

.home-page-content {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}



.header {
  background: white;
  color: #333;
  padding: 0 20px;
  position: relative;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid #000000;
  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;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.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;
  font-style: italic;
}

.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;
  flex-shrink: 0;
}

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


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

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

.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;
}

.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;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.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;
  border-top: 4px solid #ff5f40;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.footer-domain {
  font-style: italic;
  color: white;
  font-size: 24px;
  font-weight: bold;
  border-bottom: 2px solid #ff5f40;
  margin: 30px 0;
  display: inline-block;
}

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


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

.back-to-top {
  display: block;
  text-align: center;
  color: #999;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 0 20px 0;
}


.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;
  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;
  padding-bottom: 15px;
}

.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;
  color: #000000;
}

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

.dropdown-item {
  display: block;
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}


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



.featured-article {
  max-width: 800px;
  margin: 20px auto;
  background: white;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  cursor: pointer;
}

.featured-article-image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  padding: 10px;
  box-sizing: border-box;
}

.featured-article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-article-category {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-primary);
  color: white;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-article-content {
  padding: 16px 20px;
}

.featured-article-title {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-article-source {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.live-container {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  max-width: 800px;
  margin: 0 auto;
  border-bottom: 1px solid #e5e7eb;
}

.live-banner {
  display: flex;
  align-items: center;
  background: #000;
  color: white;
  padding: 4px 10px;
  width: fit-content;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: rgb(239 68 68 / var(--tw-bg-opacity, 1));
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
}

.live-text {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2px;
}

.live-slogan {
  font-size: 12px;
  color: #333;
  margin-left: 18px;
  font-style: italic;
}

.first-section-card {
  display: flex;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
}


.first-section-image {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  margin-right: 16px;
  overflow: hidden;
}

.first-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.first-section-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

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

.first-section-time {
  font-size: 13px;
  color: #999;
}

.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;
}

.category-page-content .category-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  padding: 20px 0 0 0;
  grid-column: 1 / -1;
  border-top: 2px solid #000000;
  font-style: italic;
}

.category-page-content .articles-container.category-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
}

.category-page-content .articles-container.category-grid .grid-card {
  overflow: hidden;
  cursor: pointer;
  height: auto;
  min-height: auto;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}


.category-page-content .articles-container.category-grid .grid-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-page-content .articles-container.category-grid .grid-card .article-type {
  font-size: 12px;
  color: #dd4a5f;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-page-content .articles-container.category-grid .grid-card .article-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-page-content .articles-container.category-grid .grid-card .article-time {
  font-size: 12px;
  color: #999;
}

.article-card {
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
}

.category-section {
  padding: 0 20px;
}

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

.recommended-section .recommended-articles.category-grid .grid-card {
  overflow: hidden;
  cursor: pointer;
  height: auto !important;
  min-height: 180px;
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  padding: 0;
  margin: 0;
}

.recommended-section .recommended-articles.category-grid .grid-card .article-image {
  width: 100% !important;
  height: 95px !important;
  flex-shrink: 0 !important;
}

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

.recommended-section .recommended-articles.category-grid .grid-card .article-content {
  padding: 12px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.recommended-section .recommended-articles.category-grid .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;
  margin: 0 0 10px 0;
}

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

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

.second-section-wrapper {
  border: 1px solid #e0e0e0;
  padding: 0;
  background: #2a415f;
  margin: 10px 0;
}

.second-section-header {
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  color: white;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  margin: 0;
  display: flex;
  align-items: center;
}


.category-section:nth-of-type(1) .section-title {
  font-size: 14px;
  font-style: italic;
  background: var(--color-primary);
  color: white;
  padding: 6px 10px;
  display: inline-block;
  margin-bottom: px;
}

.category-section:nth-of-type(2) .section-title {
  display: none;
}

.second-section-card {
  display: flex;
  align-items: center;
  padding: 12px ;
}

.second-section-card:last-child {
  border-bottom: none;
}

.second-section-card .article-rank {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dd4a5f;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  flex-shrink: 0;
}

.second-section-card .article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.second-section-card .article-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.second-section-card .article-time {
  font-size: 12px;
  color: #999;
}

.third-section-card {
  display: block !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: auto !important;
  margin-bottom: 20px;
  overflow: hidden;
}

.third-section-card:last-child {
  margin-bottom: 0;
}

.third-section-card .article-image {
  width: 100%;
  height: 200px;
}

.third-section-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.third-section-card .article-content {
  padding: 16px;
}

.third-section-card .article-source {
  font-size: 12px;
  color: #dd4a5f;
  font-weight: 500;
  margin-bottom: 8px;
}

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

.third-section-card .article-time {
  font-size: 12px;
  color: #999;
}

.grid-card {
  overflow: hidden;
  cursor: pointer;
  height: auto;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
}


.grid-card .article-image {
  width: 100%;
  height: 95px;
  flex-shrink: 0;

}

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

.grid-card .article-content {
  padding: 12px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.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;
  margin: 0 0 10px 0;
}

.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;
}

.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);
  cursor: pointer;
  height: auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}


.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;
}


.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;
}


.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;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

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

.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;
  align-items: center;
  gap: 20px;
  color: #666;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.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;
  margin: 15px auto;
  display: block;
  position: relative;
}

.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;
  background: transparent;
  border-radius: 0;
  box-shadow: none;

}

.recommended-section .section-title{
  font-style: italic;
  border-top: 2px solid #000000;
  padding: 20px 0;
}

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

.recommended-articles .grid-card {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  height: 140px;
  min-height: 140px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  cursor: pointer;
}


.recommended-articles .grid-card .article-image {
  flex-shrink: 0;
  display: block;
}

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

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

.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;
}

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


.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;
}

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


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


.about-header,
.privacy-header {
  text-align: center;
  padding: 15px;
}

.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 {
  overflow: hidden;
}

.about-section,
.privacy-section {
  padding: 15px;
  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;
  }


.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;
}
