/*
Theme Name: Muay Thai Live
Theme URI: https://muaythai.com
Author: Muay Thai Team
Author URI: https://muaythai.com
Description: A modern WordPress theme for displaying Thai boxing matches and schedules
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: muaythai
Tags: sports, boxing, thai-boxing, responsive, modern

This theme, like WordPress, is licensed under the GPL.
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;600;700&family=Prompt:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
  --color-red: #dc2626;
  --color-red-dark: #b91c1c;
  --color-red-light: #fee2e2;
  --color-blue: #2563eb;
  --color-blue-dark: #1e40af;
  --color-blue-light: #dbeafe;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-600: #4b5563;
  --color-gray-900: #111827;
  --color-white: #ffffff;
  --font-thai: 'Sarabun', 'Prompt', sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-thai);
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.7;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(220, 38, 38, 0.5), 0 0 10px rgba(37, 99, 235, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.8), 0 0 30px rgba(37, 99, 235, 0.8);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Header */
.site-header {
  background: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 50;
  animation: slideDown 0.5s ease-out;
  transition: transform 0.3s ease;
  border-bottom: 2px solid var(--color-red);
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo i {
  font-size: 2rem;
  color: var(--color-red);
  animation: bounce 2s ease-in-out infinite;
}

.site-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  animation: bounce 2s ease-in-out infinite;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* Navigation */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b0b0b0;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  background: transparent;
}

.nav-link i {
  font-size: 1rem;
  color: var(--color-blue);
}

.nav-link:hover {
  color: var(--color-red);
  background: rgba(220, 38, 38, 0.1);
}

.nav-link:hover i {
  color: var(--color-red);
}

.nav-link:active,
.nav-link.active,
.nav-item.active .nav-link {
  color: var(--color-red);
  background: rgba(220, 38, 38, 0.15);
  font-weight: 600;
}

.nav-link.active i {
  color: var(--color-red);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-toggle,
.mobile-menu-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 0.375rem;
  color: #b0b0b0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-toggle:hover,
.mobile-menu-toggle:hover {
  background: var(--color-red);
  color: white;
  border-color: var(--color-red);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Header Social */
.header-social {
  display: flex;
  gap: 0.5rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 0.375rem;
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.social-icon:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: white;
}

/* Search Bar */
.search-bar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a1a;
  padding: 1.25rem 0;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid var(--color-red);
}

.search-bar.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 0.375rem;
  color: #e0e0e0;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: #666666;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-red);
  background: #222222;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.search-submit,
.search-close {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3a3a3a;
  border-radius: 0.375rem;
  background: #2a2a2a;
  color: #b0b0b0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-submit:hover {
  background: var(--color-red);
  color: white;
  border-color: var(--color-red);
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.search-close {
  background: #2a2a2a;
}

.search-close:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

/* Main Content */
.site-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Match Card */
.match-card {
  background: #1a1a1a;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #2a2a2a;
  position: relative;
}

.match-card:hover {
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3),
    0 4px 16px rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
  border-color: var(--color-red);
}

.match-header {
  background: #222222;
  padding: 0.625rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a2a2a;
  transition: all 0.3s ease;
}

.match-card:hover .match-header {
  background: #2a2a2a;
  border-left: 3px solid var(--color-red);
}

.match-body {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* Fighter */
.fighter {
  flex: 1;
  text-align: center;
}

.fighter-image {
  width: 128px;
  height: 128px;
  border-radius: 0.75rem;
  overflow: hidden;
  margin: 0 auto 1rem;
  position: relative;
  transition: all 0.3s;
}

.fighter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.match-card:hover .fighter-image {
  transform: scale(1.1);
}

.fighter-badge {
  position: absolute;
  top: -0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.75rem;
  color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.fighter-badge.red {
  background: var(--color-red);
  left: -0.375rem;
}

.fighter-badge.blue {
  background: var(--color-blue);
  right: -0.375rem;
}

/* VS Circle */
.vs-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.vs-circle .circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 3px solid var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.5), 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Footer */
.site-footer {
  position: relative;
  background: #1a1a1a;
  color: #b0b0b0;
  margin-top: 3rem;
  overflow: hidden;
  border-top: 2px solid var(--color-red);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.footer-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column {
  padding: 0.5rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-title i {
  color: var(--color-red);
  font-size: 1.5rem;
}

.footer-description {
  color: #888888;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  border: 2px solid #3a3a3a;
  border-radius: 50%;
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.875rem;
  padding-bottom: 0.375rem;
  border-bottom: 2px solid var(--color-red);
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-red);
  padding-left: 0.5rem;
}

.footer-links a i {
  color: var(--color-red);
  font-size: 0.875rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #b0b0b0;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--color-red);
  font-size: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 1.25rem 2rem;
  margin: 1.5rem -2rem -1.5rem;
  border-top: 1px solid var(--color-red-dark);
}

.footer-bottom-content {
  text-align: center;
  color: #ffffff;
  font-size: 0.8125rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom-content p {
  margin: 0.375rem 0;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-content {
    padding: 2rem 1rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-wave svg {
    height: 40px;
  }

  .footer-title {
    font-size: 1.25rem;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-link span {
    display: none;
  }

  .nav-link {
    padding: 0.75rem;
  }
}

@media (max-width: 768px) {
  .match-body {
    flex-direction: column;
  }

  .site-header .container {
    padding: 0.75rem 1rem;
  }

  .main-navigation {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 40;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    border-top: 2px solid var(--color-red);
  }

  .main-navigation.mobile-active {
    max-height: 400px;
    opacity: 1;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-link span {
    display: inline;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  .header-social {
    display: none;
  }

  .fighter-image {
    width: 96px;
    height: 96px;
  }

  .vs-circle .circle {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }
}

/* Calendar Styles */
.calendar-container {
  background: #1a1a1a;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--color-blue);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-top: 1rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  background: #222222;
  border: 1px solid #2a2a2a;
  color: #b0b0b0;
}

.calendar-day:hover {
  background: #2a2a2a;
  color: #ffffff;
  border-color: var(--color-blue);
}

.calendar-day.selected {
  background: var(--color-red);
  color: white;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
  border-color: var(--color-red);
}

/* Animation Utility Classes */
.animate-on-hover {
  transition: all 0.3s ease;
}

.animate-on-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

.bounce-animation {
  animation: bounce 1s infinite;
}

.glow-animation {
  animation: glow 2s infinite;
}

.rotate-animation {
  animation: rotate 2s linear infinite;
}

/* Match Card Hover Effects */
.match-card {
  transition: all 0.3s ease;
}

.match-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.match-card:hover .fighter-image {
  transform: scale(1.05);
}

.fighter-image {
  transition: transform 0.3s ease;
}

.fighter-image img {
  transition: all 0.3s ease;
}

.fighter-image:hover img {
  transform: scale(1.1);
}

/* VS Circle Animation */
.vs-circle .circle {
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
}

.vs-circle:hover .circle {
  animation: rotate 1s linear infinite;
  transform: scale(1.1);
}

/* Fighter Badge Animation */
.fighter-badge {
  transition: all 0.3s ease;
}

.match-card:hover .fighter-badge {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-red);
}

/* Main Content Wrapper - 2 Column Layout */
.main-content-wrapper {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.banner-column {
  flex: 0 0 600px;
}

.sidebar-column {
  flex: 1;
  min-width: 0;
}

/* Banner Container Styles */
.banner-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.banner-item {
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
}

.banner-item:hover {
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3),
    0 4px 16px rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
  border-color: var(--color-red);
}

.banner-item img.banner-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.banner-item a:hover img.banner-image {
  transform: scale(1.02);
}

/* Sidebar Styles */
.sidebar-content {
  background: #1a1a1a;
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--color-red);
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--color-red);
}

.sidebar-article {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #2a2a2a;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.sidebar-article:last-child {
  border-bottom: none;
}

.sidebar-article:hover {
  background: #222222;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
  transform: translateX(4px);
  border-color: transparent;
}

.sidebar-article-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid #3a3a3a;
}

.sidebar-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sidebar-article:hover .sidebar-article-thumb img {
  transform: scale(1.1);
}

.sidebar-article-content {
  flex: 1;
  min-width: 0;
}

.sidebar-article-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.sidebar-article-title a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar-article-title a:hover {
  color: var(--color-red);
}

.sidebar-article-date {
  font-size: 0.875rem;
  color: #888888;
  margin: 0;
}

/* ========================================
   Single Post Page Styles
   ======================================== */

.single-post-page {
  min-height: 100vh;
  padding: 2rem 0;
}

.single-post-article {
  background: #1a1a1a;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a2a;
}

/* Post Header */
.post-header {
  padding: 2rem;
  text-align: left;
  border-bottom: 2px solid var(--color-red);
  background: #1a1a1a;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

/* Post Thumbnail */
.post-thumbnail {
  margin: 0;
  overflow: hidden;
  position: relative;
}

.post-featured-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Post Stats */
.post-stats {
  padding: 1rem 2rem;
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  font-size: 0.8125rem;
}

.stat-item:hover {
  background: #333333;
  border-color: var(--color-red);
}

.stat-item i {
  font-size: 0.875rem;
  color: var(--color-red);
}

.stat-label {
  color: #888888;
  font-weight: 500;
}

.stat-value {
  color: #e0e0e0;
  font-weight: 600;
}

.stat-value a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.stat-value a:hover {
  color: var(--color-red);
}

/* Post Content */
.post-content {
  padding: 2rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.post-content h2 {
  font-size: 2rem;
  border-bottom: 2px solid var(--color-red);
  padding-bottom: 0.5rem;
}

.post-content h3 {
  font-size: 1.5rem;
}

.post-content h4 {
  font-size: 1.25rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content a {
  color: var(--color-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.post-content a:hover {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.post-content ul,
.post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #222222;
  border-left: 4px solid var(--color-red);
  border-radius: 0.375rem;
  font-style: italic;
  color: #b0b0b0;
}

.post-content code {
  background: #2a2a2a;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.9375rem;
  color: var(--color-blue);
}

.post-content pre {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #3a3a3a;
}

.post-content pre code {
  background: none;
  padding: 0;
  color: #e0e0e0;
}

/* Page Links */
.page-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  padding: 1rem;
  background: #222222;
  border-radius: 0.5rem;
}

.page-links-title {
  font-weight: 600;
  color: #ffffff;
}

.page-links span,
.page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 0.375rem;
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-links a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: white;
}

/* Post Tags */
.post-tags {
  padding: 1.5rem 2rem;
  border-top: 1px solid #2a2a2a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.post-tags i {
  color: var(--color-red);
  font-size: 1.125rem;
}

.post-tags a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 0.375rem;
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.post-tags a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: white;
  transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem;
  background: #222222;
  border-top: 2px solid #2a2a2a;
}

.post-navigation .nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-navigation .nav-link:hover {
  background: #333333;
  border-color: var(--color-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.post-navigation .nav-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #888888;
  font-weight: 600;
}

.post-navigation .nav-next .nav-label {
  justify-content: flex-end;
}

.post-navigation .nav-title {
  font-size: 1rem;
  color: #e0e0e0;
  font-weight: 500;
}

.post-navigation .nav-next .nav-title {
  text-align: right;
}

/* Related Posts */
.related-posts {
  padding: 2rem;
  background: #222222;
  border-top: 2px solid #2a2a2a;
}

.related-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.related-title i {
  color: var(--color-red);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-post-card {
  background: #2a2a2a;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  transition: all 0.3s ease;
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.2);
  border-color: var(--color-red);
}

.related-post-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.related-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-thumb img {
  transform: scale(1.1);
}

.related-post-content {
  padding: 1rem;
}

.related-post-title {
  margin-bottom: 0.75rem;
}

.related-post-title a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-post-title a:hover {
  color: var(--color-red);
}

.related-post-meta {
  font-size: 0.875rem;
  color: #888888;
}

.related-post-meta i {
  color: var(--color-blue);
}

/* ========================================
   Archive Page Styles
   ======================================== */

.archive-page {
  min-height: 100vh;
  padding: 2rem 0;
}

.archive-header {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--color-red);
}

.archive-header-content {
  max-width: 800px;
}

.archive-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.archive-title i {
  color: var(--color-red);
}

.archive-title .search-query {
  color: var(--color-blue);
}

.archive-description {
  font-size: 1.0625rem;
  color: #b0b0b0;
  line-height: 1.6;
}

.archive-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #222222;
  border: 1px solid #3a3a3a;
  border-radius: 0.5rem;
  color: #b0b0b0;
  font-weight: 600;
  margin-top: 1rem;
}

.archive-count i {
  color: var(--color-blue);
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.archive-post-card,
.search-post-card {
  background: #1a1a1a;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a2a;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.archive-post-card:hover,
.search-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3),
    0 8px 24px rgba(37, 99, 235, 0.2);
  border-color: var(--color-red);
}

.post-card-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.archive-post-card:hover .post-card-thumb img,
.search-post-card:hover .post-card-thumb img {
  transform: scale(1.1);
}

.post-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}

.post-card-overlay i {
  font-size: 2rem;
  color: var(--color-red);
}

.archive-post-card:hover .post-card-overlay,
.search-post-card:hover .post-card-overlay {
  opacity: 1;
}

.post-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.post-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888888;
}

.post-card-meta i {
  color: var(--color-blue);
}

.post-card-meta a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card-meta a:hover {
  color: var(--color-red);
}

.post-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.post-card-title a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-title a:hover {
  color: var(--color-red);
}

.post-card-excerpt {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  font-size: 0.9375rem;
}

.post-card-excerpt mark {
  background: var(--color-red);
  color: white;
  padding: 0.125rem 0.25rem;
  border-radius: 0.125rem;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #2a2a2a;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888888;
  font-size: 0.875rem;
}

.post-author i {
  color: var(--color-blue);
}

.read-more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-red);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 0.75rem;
}

/* Pagination */
.pagination {
  margin-top: 3rem;
}

.pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.pagination-list li {
  display: flex;
}

.pagination-list a,
.pagination-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 0.375rem;
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.pagination-list a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: white;
  transform: translateY(-2px);
}

.pagination-list .current {
  background: var(--color-red);
  border-color: var(--color-red);
  color: white;
}

/* No Posts/Results */
.no-posts,
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: #1a1a1a;
  border-radius: 0.75rem;
  border: 1px solid #2a2a2a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.no-posts i,
.no-results i {
  font-size: 4rem;
  color: #3a3a3a;
  margin-bottom: 1.5rem;
}

.no-posts h2,
.no-results h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.no-posts p,
.no-results p {
  font-size: 1.125rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--color-red);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-back-home:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* ========================================
   Page Template Styles
   ======================================== */

.page-template {
  min-height: 100vh;
}

.page-article {
  background: #1a1a1a;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a2a;
}

.page-header {
  padding: 2rem;
  border-bottom: 2px solid var(--color-blue);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-excerpt {
  font-size: 1.125rem;
  color: #b0b0b0;
  line-height: 1.6;
  padding: 1rem;
  background: #222222;
  border-left: 3px solid var(--color-blue);
  border-radius: 0.375rem;
}

.page-thumbnail {
  margin: 0;
  overflow: hidden;
}

.page-featured-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-content {
  padding: 2rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-content h2 {
  font-size: 2rem;
  border-bottom: 2px solid var(--color-blue);
  padding-bottom: 0.5rem;
}

.page-content p {
  margin-bottom: 1.5rem;
}

.page-content a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-content a:hover {
  color: var(--color-red);
}

/* ========================================
   404 Page Styles
   ======================================== */

.error-404-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.error-404-content {
  text-align: center;
  padding: 4rem 2rem;
  background: #1a1a1a;
  border-radius: 0.75rem;
  border: 1px solid #2a2a2a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: 0 auto;
}

.error-404-icon {
  font-size: 5rem;
  color: var(--color-red);
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.error-404-title {
  font-size: 6rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

.error-404-subtitle {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.error-404-description {
  font-size: 1.125rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-404-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-home,
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-home {
  background: var(--color-red);
  color: white;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-home:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-back {
  background: #2a2a2a;
  color: #b0b0b0;
  border: 1px solid #3a3a3a;
}

.btn-back:hover {
  background: #333333;
  color: white;
}

.error-404-search {
  margin: 3rem auto;
  max-width: 600px;
}

.error-404-search h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.search-form-404 .search-wrapper {
  display: flex;
  gap: 0.75rem;
}

.search-form-404 .search-field {
  flex: 1;
  padding: 1rem 1.5rem;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 0.5rem;
  color: #e0e0e0;
  font-size: 1rem;
}

.search-form-404 .search-field:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.search-form-404 .search-submit {
  padding: 1rem 2rem;
  background: var(--color-red);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-form-404 .search-submit:hover {
  background: var(--color-red-dark);
}

.error-404-recent {
  margin-top: 3rem;
}

.error-404-recent h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.recent-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.recent-post-card {
  background: #2a2a2a;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  transition: all 0.3s ease;
}

.recent-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.2);
  border-color: var(--color-red);
}

.recent-post-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recent-post-card:hover .recent-post-thumb img {
  transform: scale(1.1);
}

.recent-post-content {
  padding: 1rem;
}

.recent-post-title {
  margin-bottom: 0.75rem;
}

.recent-post-title a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-title a:hover {
  color: var(--color-red);
}

.recent-post-meta {
  font-size: 0.875rem;
  color: #888888;
}

.recent-post-meta i {
  color: var(--color-blue);
}

/* ========================================
   Search Results Page Styles
   ======================================== */

.search-results-page {
  min-height: 100vh;
  padding: 2rem 0;
}

.search-header {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--color-blue);
}

.search-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-title i {
  color: var(--color-blue);
}

.search-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #222222;
  border: 1px solid #3a3a3a;
  border-radius: 0.5rem;
  color: #b0b0b0;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.search-count i {
  color: var(--color-red);
}

.search-form-wrapper {
  max-width: 600px;
}

.search-form-inline .search-wrapper {
  display: flex;
  gap: 0.75rem;
}

.search-form-inline .search-field {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 0.5rem;
  color: #e0e0e0;
  font-size: 1rem;
}

.search-form-inline .search-field:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.search-form-inline .search-submit {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue);
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-form-inline .search-submit:hover {
  background: var(--color-blue-dark);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.search-suggestions {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #222222;
  border-radius: 0.5rem;
  border-left: 3px solid var(--color-blue);
  text-align: left;
}

.search-suggestions h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.search-suggestions ul {
  list-style: none;
}

.search-suggestions li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #b0b0b0;
}

.search-suggestions li i {
  color: var(--color-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content-wrapper {
    flex-direction: column;
  }

  .banner-column {
    flex: 1;
  }

  .sidebar-content {
    position: static;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .banner-container {
    gap: 0.75rem;
  }

  .main-content-wrapper {
    padding: 0;
    gap: 1rem;
  }

  .sidebar-content {
    padding: 1rem;
  }

  /* Single Post Responsive */
  .post-title {
    font-size: 2rem;
  }

  .post-stats {
    padding: 0.875rem 1.5rem;
    gap: 0.625rem;
  }

  .stat-item {
    padding: 0.4375rem 0.75rem;
    font-size: 0.75rem;
  }

  .stat-item i {
    font-size: 0.8125rem;
  }

  .post-content {
    padding: 1.5rem;
    font-size: 1rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  /* Archive Responsive */
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .archive-title {
    font-size: 2rem;
  }

  /* 404 Responsive */
  .error-404-title {
    font-size: 4rem;
  }

  .error-404-subtitle {
    font-size: 1.5rem;
  }

  .error-404-actions {
    flex-direction: column;
  }

  .recent-posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .banner-container {
    gap: 0.5rem;
  }

  /* Single Post Mobile */
  .post-header {
    padding: 1.5rem 1rem;
  }

  .post-title {
    font-size: 1.5rem;
  }

  .post-stats {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .stat-item {
    padding: 0.375rem 0.625rem;
    font-size: 0.6875rem;
  }

  .stat-item i {
    font-size: 0.75rem;
  }

  .post-content {
    padding: 1rem;
  }

  .page-links {
    flex-wrap: wrap;
  }

  /* Archive Mobile */
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .archive-title {
    font-size: 1.5rem;
  }

  /* 404 Mobile */
  .error-404-title {
    font-size: 3rem;
  }

  .error-404-content {
    padding: 2rem 1rem;
  }
}
