/* --- Enhancements: Category and Trending sections --- */
.category-box-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
}
.category-box-image img.category-box-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-box-image.category-box-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6d28d9, #0ea5e9);
  color: #fff;
}
.category-box-image .category-initial {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.trending-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}
.trending-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.trending-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trending-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trending-card-meta .meta-badge {
  margin-right: 6px;
}
.trending-card-title {
  margin: 0;
  line-height: 1.25;
}
.trending-card-excerpt {
  margin: 0;
  color: #6b7280; /* slate-500 */
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280; /* slate-500 */
  font-size: 0.9rem;
}
.trending-card-footer .separator {
  opacity: 0.6;
}
/* ===== MODERN BLACK & WHITE THEME ===== */
/* Root Variables */
:root {
  --primary-bg: #ffffff;
  --secondary-bg: #f8f9fa;
  --card-bg: #ffffff;
  --dark-bg: #000000;
  --accent-primary: #000000;
  --accent-hover: #333333;
  --text-primary: #000000;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border-color: #e5e5e5;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


.main-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  margin-top: 2rem;
  padding-bottom: 3rem;
}

.main-content {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--dark-bg);
  border-bottom: 1px solid #222;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 0.8;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.main-nav a {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.main-nav a:hover {
  background: #222;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #222;
  color: #ffffff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

.support-btn {
  padding: 0.7rem 1.5rem;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 26px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO FEATURED SECTION ===== */
.hero-featured {
  position: relative;
  height: 600px;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 3rem;
  background: var(--dark-bg);
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem;
  color: white;
  z-index: 2;
  max-width: 900px;
}

.hero-label {
  display: inline-block;
  background: #ffffff;
  color: #000000;
  padding: 0.6rem 1.2rem;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero-excerpt {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn-read-now,
.btn-other-news {
  padding: 1rem 2rem;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-read-now {
  background: #ffffff;
  color: #000000;
}

.btn-read-now:hover {
  background: #000000;
  color: #ffffff;
}

.btn-other-news {
  background: transparent;
  color: white;
  border: 2px solid #ffffff;
}

.btn-other-news:hover {
  background: #ffffff;
  color: #000000;
}

/* ===== SECTION BLOCKS ===== */
.section-block {
  margin-bottom: 4rem;
}

.section-header-block {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-title-main {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.section-footer-link {
  text-align: center;
  margin-top: 2.5rem;
}

.view-all-link {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--dark-bg);
  color: white;
  font-weight: 700;
  border-radius: 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.view-all-link:hover {
  background: #333;
  transform: translateY(-2px);
}

/* ===== NEWS LIST VERTICAL ===== */
.news-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-item-horizontal {
  display: flex;
  gap: 2rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-item-horizontal:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--dark-bg);
}

.news-item-thumb {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  overflow: hidden;
  background: var(--secondary-bg);
}

.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-item-horizontal:hover .news-item-thumb img {
  transform: scale(1.05);
}

.news-item-content {
  padding: 1.5rem 1.5rem 1.5rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-item-meta {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.meta-badge {
  display: inline-block;
  background: var(--dark-bg);
  color: white;
  padding: 0.3rem 0.9rem;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.meta-badge:hover {
  background: #333;
}

.news-item-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.news-item-title a {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.news-item-title a:hover {
  color: var(--text-secondary);
}

.news-item-author {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.author-name {
  font-weight: 700;
  color: var(--text-primary);
}

/* ===== CATEGORY BOXES ===== */
.category-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category-box {
  position: relative;
  height: 300px;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.category-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-box-image {
  position: absolute;
  inset: 0;
}

.category-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: grayscale(50%);
}

.category-box:hover .category-box-image img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.category-box-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
  font-size: 1.6rem;
  font-weight: 900;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

/* ===== TRENDING SECTION ===== */
.trending-section {
  background: var(--secondary-bg);
  padding: 4rem 0;
  margin: 4rem 0;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trending-card {
  background: white;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.trending-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--dark-bg);
}

.trending-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--secondary-bg);
}

.trending-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trending-card:hover .trending-card-image img {
  transform: scale(1.05);
}

.trending-card-content {
  padding: 1.5rem;
}

.trending-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.trending-card-title a:hover {
  color: var(--text-secondary);
}

.trending-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--dark-bg);
  color: white;
  padding: 4rem 0;
  margin: 4rem 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.widget {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 2rem;
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--dark-bg);
}

/* Trending Widget */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.trending-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trending-thumb {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 0;
  overflow: hidden;
  background: var(--secondary-bg);
}

.trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.trending-item:hover .trending-thumb img {
  transform: scale(1.1);
}

.trending-content {
  flex: 1;
}

.trending-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.trending-title a {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.trending-title a:hover {
  color: var(--text-secondary);
}

/* Suggestions Widget */
.suggestions-list,
.latest-news-list {
  list-style: none;
  padding: 0;
}

.suggestions-list li,
.latest-news-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.suggestions-list li:last-child,
.latest-news-list li:last-child {
  border-bottom: none;
}

.suggestions-list a,
.latest-news-list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
}

.suggestions-list a:hover,
.latest-news-list a:hover {
  color: var(--text-primary);
  padding-left: 0.5rem;
}

/* Contact Widget */
.contact-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-content p {
  margin-bottom: 0.8rem;
}



.post-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.post-thumb {
  margin: 2rem 0;
  border-radius: 0;
  overflow: hidden;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.post-content p {
  margin-bottom: 1.8rem;
}

.post-content h2,
.post-content h3 {
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.post-content h2 {
  font-size: 2rem;
}

.post-content h3 {
  font-size: 1.6rem;
}

.post-content img {
  border-radius: 0;
  margin: 2.5rem 0;
}

.post-content a {
  color: var(--text-primary);
  text-decoration: underline;
  font-weight: 600;
}

.post-content a:hover {
  color: var(--text-secondary);
}

/* ===== ARCHIVE PAGE ===== */
.archive-page {
  padding: 3rem 0;
}

.archive-page h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 3rem;
  color: var(--text-primary);
  letter-spacing: -1px;
  text-transform: uppercase;
  text-align: center;
}

.archive-item {
  display: flex;
  gap: 2rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 0;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.archive-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--dark-bg);
}

.archive-item img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  flex-shrink: 0;
}

.archive-item > a {
  display: flex;
  width: 100%;
  gap: 2rem;
}

.archive-item > a > div {
  padding: 1.5rem;
  flex: 1;
}

.archive-item h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.archive-item h2:hover {
  color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark-bg);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.8;
}

.footer-section a:hover {
  color: black;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  border-radius: 0;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: white;
  color: #000;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #222;
  color: #666;
  font-size: 0.9rem;
}

/* ===== PAGINATION ===== */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0;
}

.pagination .page-numbers,
.nav-links a,
.nav-links span {
  padding: 0.8rem 1.2rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.nav-links a:hover {
  background: var(--dark-bg);
  color: white;
  border-color: var(--dark-bg);
}

.pagination .current {
  background: var(--dark-bg);
  color: white;
  border-color: var(--dark-bg);
}

/* ===== COMMENTS ===== */
.comments-area {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border-color);
}

.comments-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list .comment {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 0;
  margin-bottom: 1.5rem;
}

.comment-author {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.comment-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comment-content {
  color: var(--text-secondary);
  line-height: 1.7;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background: var(--dark-bg);
  color: white;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.comment-reply-link:hover {
  background: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 1rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0;
  color: var(--text-primary);
  font-family: inherit;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--dark-bg);
}

.comment-form .submit {
  background: var(--dark-bg);
  color: white;
  padding: 1rem 2rem;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-form .submit:hover {
  background: #333;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .main-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .sidebar {
    position: relative;
    top: 0;
  }
  
  .category-boxes,
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 4;
    width: 100%;
    display: none;
    background: #111;
    margin-top: 1rem;
    padding: 1rem 0;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #222;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-actions {
    order: 3;
  }

  .hero-featured {
    height: 500px;
  }

  .hero-content {
    padding: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-excerpt {
    font-size: 1rem;
  }

  .section-title-main {
    font-size: 2rem;
  }

  .news-item-horizontal {
    flex-direction: column;
    gap: 0;
  }

  .news-item-thumb {
    width: 100%;
    height: 220px;
  }

  .news-item-content {
    padding: 1.5rem;
  }

  .category-boxes,
  .trending-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .archive-item {
    flex-direction: column;
    gap: 0;
  }

  .archive-item > a {
    flex-direction: column;
    gap: 0;
  }

  .archive-item img {
    width: 100%;
    height: 220px;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.4rem;
  }

  .social-links {
    gap: 0.5rem;
  }

  .social-links a {
    width: 34px;
    height: 34px;
  }

  .support-btn {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .section-title-main {
    font-size: 1.6rem;
  }

  .post-title {
    font-size: 2rem;
  }

  .btn-read-now,
  .btn-other-news {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.main-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  margin-top: 2rem;
  padding-bottom: 3rem;
}

.main-content {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo a:hover {
  transform: scale(1.05);
  color: var(--accent-primary);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.3rem;
  align-items: center;
  margin: 0;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: var(--text-primary);
  background: var(--secondary-bg);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary-bg);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
}

.support-btn {
  padding: 0.6rem 1.2rem;
  background: var(--accent-primary);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* ===== HERO FEATURED SECTION ===== */
.hero-featured {
  position: relative;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem;
  color: white;
  z-index: 2;
}

.hero-label {
  display: inline-block;
  background: var(--accent-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-excerpt {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn-read-now,
.btn-other-news {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-read-now {
  background: white;
  color: var(--text-primary);
}


.btn-other-news {
  background: black;
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-other-news:hover {
  background: white;
}

/* ===== SECTION BLOCKS ===== */
.section-block {
  margin-bottom: 4rem;
}

.section-header-block {
  margin-bottom: 2rem;
}

.section-title-main {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.section-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
}

.section-footer-link {
  text-align: center;
  margin-top: 2rem;
}

.view-all-link {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--secondary-bg);
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
}

/* ===== NEWS LIST VERTICAL ===== */
.news-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item-horizontal {
  display: flex;
  gap: 1.5rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-item-horizontal:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.news-item-thumb {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  overflow: hidden;
}

.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-item-horizontal:hover .news-item-thumb img {
  transform: scale(1.05);
}

.news-item-content {
  padding: 1.2rem 1.2rem 1.2rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-item-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.meta-badge {
  display: inline-block;
  background: var(--secondary-bg);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.meta-badge:hover {
  background: var(--accent-primary);
  color: white;
}

.news-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.news-item-title a {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.news-item-title a:hover {
  color: var(--accent-primary);
}

.news-item-author {
  display: flex;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.author-name {
  font-weight: 600;
  color: var(--text-secondary);
}

.post-date-small {
  font-size: 0.8rem;
}

/* ===== CATEGORY BOXES ===== */
.category-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-box {
  position: relative;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.category-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-box-image {
  position: absolute;
  inset: 0;
}

.category-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-box:hover .category-box-image img {
  transform: scale(1.1);
}

.category-box-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  z-index: 2;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.widget {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--border-color);
}

/* Trending Widget */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trending-item {
  display: flex;
  gap: 1rem;
}

.trending-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.trending-item:hover .trending-thumb img {
  transform: scale(1.1);
}

.trending-content {
  flex: 1;
}

.trending-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.trending-title a {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.trending-title a:hover {
  color: var(--accent-primary);
}

/* Suggestions Widget */
.suggestions-list,
.latest-news-list {
  list-style: none;
  padding: 0;
}

.suggestions-list li,
.latest-news-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
}

.suggestions-list li:last-child,
.latest-news-list li:last-child {
  border-bottom: none;
}

.suggestions-list a,
.latest-news-list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: block;
}

.suggestions-list a:hover,
.latest-news-list a:hover {
  color: var(--accent-primary);
  padding-left: 0.5rem;
}

/* Contact Widget */
.contact-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-content p {
  margin-bottom: 0.8rem;
}

.post-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.post-thumb {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.post-content img {
  border-radius: 10px;
  margin: 2rem 0;
}

.post-content a {
  color: var(--accent-primary);
  text-decoration: underline;
}

/* ===== ARCHIVE PAGE ===== */
.archive-page {
  padding: 2rem 0;
}

.archive-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.archive-item {
  display: flex;
  gap: 1.5rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.archive-item:hover {
  box-shadow: var(--shadow-md);
}

.archive-item img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.archive-item h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
  text-align: center;
  color: var(--text-muted);
}

.site-footer p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* ===== PAGINATION ===== */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagination .page-numbers,
.nav-links a {
  padding: 0.6rem 1rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.nav-links a:hover {
  background: var(--accent-primary);
  color: white;
}

/* ===== COMMENTS ===== */
.comments-area {
  margin-top: 3rem;
}

.comment-list {
  list-style: none;
}

.comment-list .comment {
  background: white;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .main-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .sidebar {
    position: relative;
    top: 0;
  }
  
  .category-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    display: none;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-featured {
    height: 400px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .news-item-horizontal {
    flex-direction: column;
  }

  .news-item-thumb {
    width: 100%;
    height: 200px;
  }

  .news-item-content {
    padding: 1.2rem;
  }

  .category-boxes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 2rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-title-main {
    font-size: 1.6rem;
  }
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== HEADER ===== */
.site-header {
  background: black;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 20px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 800;
  background-color: white;
  color: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo a:hover {
  transform: scale(1.05);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: var(--text-primary);
  background: rgb(255, 254, 254);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
}

.support-btn {
  padding: 0.6rem 1.2rem;
  background: var(--gradient-anime);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* ===== SECTIONS ===== */
.latest-section,
.categories-section {
  margin-top: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-anime);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.view-all-btn {
  color: var(--accent-primary);
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background: rgba(255, 107, 157, 0.1);
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: rgba(255, 107, 157, 0.2);
  transform: translateX(4px);
}

/* ===== NEWS GRID ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.news-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.news-card a {
  display: block;
}

.news-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--secondary-bg);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

.post-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.card-content {
  padding: 1.2rem;
}

.post-categories {
  margin-bottom: 0.6rem;
}

.category-badge {
  display: inline-block;
  background: var(--gradient-anime);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.news-card:hover .news-title {
  color: var(--accent-primary);
}

.news-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Load More Button */
.load-more-wrapper {
  text-align: center;
  margin: 2rem 0;
}

.load-more-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--card-bg);
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
  padding: 2rem 0 4rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.category-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.category-card:hover {
  background: var(--secondary-bg);
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}

.category-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.category-count {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}



.post-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.post-thumb {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.post-thumb img {
  width: 100%;
  max-height: 400px;
  display: block;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.post-content h2 {
  font-size: 1.8rem;
}

.post-content h3 {
  font-size: 1.5rem;
}

.post-content img {
  border-radius: 10px;
  margin: 2rem 0;
}

.post-content a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.post-content a:hover {
  color: var(--accent-secondary);
}

/* ===== ARCHIVE PAGE ===== */
.archive-page {
  padding: 2rem 0;
  min-height: 60vh;
}

.archive-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: var(--gradient-anime);
  -webkit-background-clip: text;
  background-clip: text;
}

.archive-item {
  display: flex;
  gap: 1.5rem;
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.archive-item:hover {
  transform: translateX(6px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.archive-item img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.archive-item h2 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.archive-item:hover h2 {
  color: var(--accent-primary);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
  text-align: center;
  color: var(--text-muted);
}

.site-footer p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* ===== PAGINATION ===== */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagination .page-numbers,
.nav-links a,
.nav-links span {
  padding: 0.6rem 1rem;
  background: var(--card-bg);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.nav-links a:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.pagination .current,
.nav-links .current {
  background: var(--gradient-anime);
  color: white;
  border-color: transparent;
}

/* ===== COMMENTS ===== */
.comments-area {
  margin-top: 3rem;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list .comment {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
}

.comment-author {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.comment-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.comment-content {
  color: var(--text-secondary);
  line-height: 1.6;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 107, 157, 0.1);
  color: var(--accent-primary);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.comment-reply-link:hover {
  background: var(--accent-primary);
  color: white;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  padding: 0.8rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

/* ===== POST NAVIGATION ===== */
.post-navigation a:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.post-navigation a:hover strong {
  color: var(--accent-primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    display: none;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .main-nav a {
    display: block;
    padding: 0.8rem 1rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-actions {
    gap: 0.6rem;
  }

  .social-links a {
    width: 32px;
    height: 32px;
  }

  .support-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-item {
    flex-direction: column;
  }

  .archive-item img {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.3rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .post-title {
    font-size: 1.8rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

}

.post-article {
    max-width: 800px;
    margin: 0 auto; /* Center the content */
  }
