/*
Theme Name: Medium Blog
Theme URI: https://example.com/medium-blog
Description: A premium, Medium-inspired blog theme with modern design and professional layouts
Version: 3.0.0
Author: Sadai
Author URI: https://example.com
Text Domain: medium-blog
*/

/* ========================================
   CSS Variables
   ======================================== */
:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-secondary: #8b5cf6;
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  line-height: 1.7;
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   Container
   ======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ========================================
   Site Header
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-light);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.site-branding {
  flex-shrink: 0;
}

.main-navigation {
  flex: 1;
  display: flex;
}

.header-search {
  position: relative;
  flex-shrink: 0;
}

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-bg-light);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.search-toggle:hover {
  background: var(--color-border);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}

.search-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-dropdown form {
  display: flex;
  gap: 8px;
}

.search-dropdown input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}

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

.search-dropdown button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.search-dropdown button:hover {
  background: var(--color-primary-dark);
}

.site-branding a {
  text-decoration: none;
}

.site-logo {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-navigation {
  display: flex;
}

.primary-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.primary-menu a {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.primary-menu a:hover,
.primary-menu a.current {
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text-main);
  border-radius: 2px;
}

/* ========================================
   Hero Section (Intro/Landing)
   ======================================== */
.hero-section {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid var(--color-border-light);
  text-align: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-section h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.hero-section p {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: #ffffff;
  color: var(--color-text-main);
  text-decoration: none;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.05);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

/* ========================================
   Featured Post Hero (Compact)
   ======================================== */
.featured-post-hero {
  padding: 40px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
}

.featured-hero-wrapper {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
}

.featured-hero-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.featured-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.featured-hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-category {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 100px;
}

.featured-category a {
  color: inherit;
  text-decoration: none;
}

.featured-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.featured-title a {
  color: inherit;
  text-decoration: none;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.featured-dot {
  width: 3px;
  height: 3px;
  background: var(--color-text-light);
  border-radius: 50%;
}

.featured-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.featured-read-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 10px 20px;
  background: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}

.featured-read-more:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.featured-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.featured-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.featured-author-name {
  font-weight: 600;
  color: var(--color-text-main);
}

/* ========================================
   Search Section (Prominent)
   ======================================== */
.search-section {
  padding: 80px 0;
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border-light);
}

.search-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.search-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.search-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.search-bar-large {
  position: relative;
  margin-bottom: 32px;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--color-bg-light);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 8px;
  transition: var(--transition);
}

.search-form:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  background: var(--color-bg-white);
}

.search-icon {
  position: absolute;
  left: 20px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 16px 16px 16px 56px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--color-text-main);
  outline: none;
}

.search-input::placeholder {
  color: var(--color-text-muted);
}

.search-submit {
  padding: 12px 24px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-submit:hover {
  background: var(--color-primary-dark);
}

.quick-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.quick-categories-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--color-bg-white);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
}

.category-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.05);
}

.category-pill.active {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-secondary) 100%
  );
  color: #ffffff;
  border-color: transparent;
}

/* ========================================
   Posts Section
   ======================================== */
.posts-section {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.view-all-link:hover {
  gap: 10px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 1rem;
}

.post-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.post-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.post-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition);
}

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

.post-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-category {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.post-category a {
  color: inherit;
  text-decoration: none;
}

.post-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

.post-title a:hover {
  color: var(--color-primary);
}

.post-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.read-more {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover {
  text-decoration: underline;
}

.read-more::after {
  content: "→";
  transition: var(--transition);
}

.read-more:hover::after {
  transform: translateX(4px);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
  font-size: 13px;
  color: var(--color-text-light);
}

.post-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.post-author span {
  color: var(--color-text-muted);
  font-weight: 500;
}

.posts-grid-footer {
  text-align: center;
  margin-top: 48px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
}

.empty-state svg {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.empty-state h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-bottom: 32px;
}

.newsletter-section h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.newsletter-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.newsletter-input-group input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-disclaimer {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Site Footer
   ======================================== */
.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-meta-links span {
  color: rgba(255, 255, 255, 0.3);
}

.footer-meta-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-meta-links a:hover {
  color: #ffffff;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .featured-hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-image {
    height: 360px;
  }

  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    justify-content: space-between;
  }
  .site-header .container .header-right {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
    order: 3;
  }

  .header-search {
    order: 2;
  }

  .main-navigation {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
  }

  .main-navigation.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-menu {
    flex-direction: column;
    width: 100%;
  }

  .primary-menu a {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }

  .hero-section {
    padding: 80px 0 48px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .featured-post-hero {
    padding: 48px 0;
  }

  .featured-image {
    height: 280px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .posts-section,
  .search-section {
    padding: 48px 0;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .search-form {
    flex-wrap: wrap;
  }

  .search-submit {
    width: 100%;
  }

  .search-input {
    padding-right: 16px;
  }

  .newsletter-section {
    padding: 64px 0;
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  .newsletter-input-group input,
  .newsletter-input-group .btn {
    width: 100%;
  }

  .site-footer {
    padding: 48px 0 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-meta-links {
    justify-content: center;
  }

  .quick-categories {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .post-card {
    border-radius: var(--radius-md);
  }

  .post-content {
    padding: 20px;
  }
}

/* ========================================
   SVG Icons
   ======================================== */
svg {
  display: block;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
  padding: 60px 0;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border-light);
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.page-description {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   Category Filter Section
   ======================================== */
.category-filter-section {
  padding: 24px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.category-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--color-bg-white);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.filter-btn span {
  font-size: 12px;
  opacity: 0.8;
}

/* ========================================
   No Posts Message
   ======================================== */
.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
  color: var(--color-text-muted);
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* ========================================
   Single Post Layout
   ======================================== */
.single-post-wrapper {
  max-width: 100%;
  background: var(--color-bg-white);
}

.single-post-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}

/* ========================================
   Breadcrumb Navigation
   ======================================== */
.single-post-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--color-primary);
}

.breadcrumb-separator {
  color: var(--color-text-light);
}

.breadcrumb-current {
  color: var(--color-text-main);
  font-weight: 500;
}

/* ========================================
   Single Post Header
   ======================================== */
.single-post-header {
  text-align: center;
  margin-bottom: 48px;
}

.single-post-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 100px;
  margin-bottom: 24px;
  text-decoration: none;
  transition: var(--transition);
}

.single-post-category-badge:hover {
  background: rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

.single-post-title {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--color-text-main);
}

.single-post-meta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.single-post-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.single-post-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border-light);
}

.single-post-author-avatar-link {
  text-decoration: none;
}

.single-post-author-info {
  text-align: left;
}

.single-post-author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  text-decoration: none;
  display: block;
}

.single-post-author-name:hover {
  color: var(--color-primary);
}

.single-post-meta-details {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.single-post-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--color-text-light);
  border-radius: 50%;
}

/* ========================================
   Single Post Featured Image
   ======================================== */
.single-post-featured-image-wrapper {
  margin: 0 -24px 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.single-post-featured-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
}

.single-post-image-caption {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border-light);
  font-style: italic;
}

/* ========================================
   Single Post Content Typography
   ======================================== */
.single-post-content-wrapper {
  margin-bottom: 48px;
}

.single-post-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-main);
  max-width: 700px;
  margin: 0 auto;
}

.single-post-content p {
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.8;
}

.single-post-content h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 48px 0 24px;
  color: var(--color-text-main);
}

.single-post-content h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin: 40px 0 20px;
  color: var(--color-text-main);
}

.single-post-content h4 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin: 32px 0 16px;
  color: var(--color-text-main);
}

.single-post-content ul,
.single-post-content ol {
  margin-bottom: 24px;
  padding-left: 28px;
}

.single-post-content li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.single-post-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 20px;
  line-height: 1.6;
  font-style: italic;
  color: var(--color-text-main);
}

.single-post-content blockquote p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 0;
}

.single-post-content code {
  background: var(--color-bg-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Monaco", "Consolas", monospace;
  font-size: 0.9em;
  color: var(--color-primary);
}

.single-post-content pre {
  background: var(--color-text-main);
  color: var(--color-bg-white);
  padding: 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.6;
}

.single-post-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 32px 0;
  display: block;
}

.single-post-content a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.single-post-content a:hover {
  border-bottom-color: var(--color-primary);
}

.single-post-content hr {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: 48px 0;
}

.single-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}

.single-post-content th,
.single-post-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.single-post-content th {
  background: var(--color-bg-light);
  font-weight: 600;
  color: var(--color-text-main);
}

.single-post-content tr:hover {
  background: var(--color-bg-light);
}

/* ========================================
   Single Post Tags
   ======================================== */
.single-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}

.single-post-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-bg-light);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: var(--transition);
}

.single-post-tag:hover {
  background: var(--color-primary);
  color: var(--color-bg-white);
  transform: translateY(-1px);
}

/* ========================================
   Social Sharing Buttons
   ======================================== */
.single-post-sharing {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.single-post-sharing-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-right: 8px;
}

.single-post-share-buttons {
  display: flex;
  gap: 8px;
}

.single-post-share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.single-post-share-button:hover {
  background: var(--color-primary);
  color: var(--color-bg-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.single-post-share-button svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   Author Bio Section
   ======================================== */
.single-post-author-bio {
  display: flex;
  align-items: start;
  gap: 24px;
  padding: 40px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
}

.single-post-author-bio-avatar-link {
  text-decoration: none;
}

.single-post-author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-bg-white);
  box-shadow: var(--shadow-sm);
}

.single-post-author-bio-content {
  flex: 1;
}

.single-post-author-bio-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.single-post-author-bio-name a {
  color: var(--color-text-main);
  text-decoration: none;
}

.single-post-author-bio-name a:hover {
  color: var(--color-primary);
}

.single-post-author-bio-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.single-post-author-bio-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.single-post-author-bio-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-post-author-bio-meta-item a {
  color: var(--color-primary);
  text-decoration: none;
}

.single-post-author-bio-meta-item a:hover {
  text-decoration: underline;
}

/* ========================================
   Related Posts Section
   ======================================== */
.single-post-related {
  margin-bottom: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--color-border-light);
  padding-left: 3rem;
  padding-right: 3rem;
}

.single-post-related-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.single-post-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.single-post-related-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.single-post-related-card:hover {
  transform: translateY(-4px);
}

.single-post-related-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-bg-light);
}

.single-post-related-image.placeholder {
  background: linear-gradient(
    135deg,
    var(--color-bg-light) 0%,
    var(--color-border) 100%
  );
}

.single-post-related-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-main);
}

.single-post-related-card-meta {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ========================================
   Comments Section
   ======================================== */
.single-post-comments-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px;
}

.comments-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border-light);
}

.comments-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.comment-list {
  list-style: none;
  margin: 0;
}

.comment-list .comment {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
}

/* ========================================
   Mobile Responsive Design for Single Post
   ======================================== */
@media (max-width: 768px) {
  .single-post-article {
    padding: 40px 20px 20px;
  }

  .single-post-breadcrumb {
    padding: 16px 20px;
    font-size: 13px;
  }

  .single-post-title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .single-post-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .single-post-content p {
    font-size: 16px;
  }

  .single-post-content h2 {
    font-size: 24px;
    margin: 32px 0 16px;
  }

  .single-post-content h3 {
    font-size: 20px;
    margin: 24px 0 12px;
  }

  .single-post-featured-image-wrapper {
    margin: 0 -20px 32px;
    border-radius: var(--radius-md);
  }

  .single-post-author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }

  .single-post-author-bio-avatar {
    width: 64px;
    height: 64px;
  }

  .single-post-author-bio-meta {
    flex-direction: column;
    gap: 8px;
  }

  .single-post-related-grid {
    grid-template-columns: 1fr;
  }

  .single-post-sharing {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .single-post-article {
    padding: 32px 16px 16px;
  }

  .single-post-breadcrumb {
    padding: 12px 16px;
  }

  .single-post-title {
    font-size: 24px;
  }

  .single-post-content {
    font-size: 15px;
    line-height: 1.6;
  }

  .single-post-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .single-post-content blockquote {
    font-size: 18px;
    padding: 20px;
    margin: 24px 0;
  }

  .single-post-content blockquote p {
    font-size: 18px;
  }

  .single-post-sharing {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .single-post-share-buttons {
    width: 100%;
    justify-content: space-around;
  }
}

/* ========================================
   Comments Section - Modern Design
   ======================================== */
.comments-area {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px;
}

.comments-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--color-border);
}

.comments-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: var(--color-text-main);
}

.comments-subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
}

/* Comment List */
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list > li {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-border-light);
}

.comment-list > li:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 20px;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--color-bg-white);
    box-shadow: var(--shadow-sm);
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-author-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-main);
}

.comment-author-name a {
    color: inherit;
    text-decoration: none;
}

.comment-author-name a:hover {
    color: var(--color-primary);
}

.comment-date {
    font-size: 14px;
    color: var(--color-text-muted);
}

.comment-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-main);
}

.comment-text p {
    margin-bottom: 16px;
}

.comment-text p:last-child {
    margin-bottom: 0;
}

.comment-awaiting-moderation {
    padding: 12px 16px;
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #b45309;
    margin-bottom: 16px;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
}

.comment-reply,
.comment-edit {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.comment-reply:hover,
.comment-edit:hover {
    color: var(--color-primary);
}

/* Comment Form */
.comment-form-wrapper {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 48px;
}

.comment-form-wrapper h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.comment-form-wrapper p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.comment-form-field {
    margin-bottom: 20px;
}

.comment-form-field input[type="text"],
.comment-form-field input[type="email"],
.comment-form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background: var(--color-bg-white);
    transition: var(--transition);
}

.comment-form-field input:focus,
.comment-form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.comment-form-field input::placeholder,
.comment-form-field textarea::placeholder {
    color: var(--color-text-light);
}

.comment-form-textarea textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-submit-button {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.comment-submit-button button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comment-submit-button button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.comment-submit-button svg {
    width: 18px;
    height: 18px;
}

/* Comments Closed */
.comments-closed {
    text-align: center;
    padding: 40px;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    color: var(--color-text-muted);
}

.comments-closed svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--color-text-light);
}

/* Comments Navigation */
.comments-navigation {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 40px 0;
}

.comments-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.comments-navigation a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.05);
}

/* ========================================
   Comments Mobile Responsive
   ======================================== */
@media (max-width: 768px) {
    .comments-area {
        padding: 32px 20px;
    }

    .comment-body {
        gap: 16px;
    }

    .comment-avatar img {
        width: 48px;
        height: 48px;
    }

    .comment-form-wrapper {
        padding: 32px 24px;
    }

    .comments-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .comments-navigation a {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .comment-body {
        flex-direction: column;
        gap: 12px;
    }

    .comment-avatar {
        display: flex;
        justify-content: center;
    }

    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ========================================
   Content None / No Posts Found / 404
   ======================================== */
.content-none-wrapper {
    padding: 80px 24px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-none {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.content-none-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.content-none-icon svg {
    color: var(--color-text-muted);
    opacity: 0.3;
}

.content-none-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    color: var(--color-text-main);
}

.content-none-description {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.content-none-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.content-none-help {
    text-align: left;
    background: var(--color-bg-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    margin-top: 48px;
}

.content-none-help h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.content-none-help ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-none-help li {
    padding: 8px 0;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border-light);
}

.content-none-help li:last-child {
    border-bottom: none;
}

.content-none-help a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.content-none-help a:hover {
    text-decoration: underline;
}

/* ========================================
   404 Error Page
   ======================================== */
.error-page-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.error-page {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.error-page-icon {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.error-page-icon svg {
    color: #FF5722;
    opacity: 0.5;
    filter: drop-shadow(0 8px 24px rgba(220, 38, 38, 0.3));
}

.error-page-title {
    font-size: clamp(72px, 10vw, 120px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -4px;
    background: linear-gradient(135deg, #db5b33 0%, #b9aca7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-page-subtitle {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--color-text-main);
}

.error-page-description {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-page-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.error-page-help {
    text-align: center;
    background: #ffffff;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.error-page-help h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--color-text-muted);
}

.error-page-suggestions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text-main);
    transition: var(--transition);
}

.suggestion-item:hover {
    background: var(--color-bg-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.suggestion-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.suggestion-link {
    font-weight: 600;
    color: inherit;
}

/* ========================================
   404 and Content None Mobile Responsive
   ======================================== */
@media (max-width: 768px) {
    .content-none-wrapper,
    .error-page-wrapper {
        padding: 48px 20px;
    }

    .content-none-title {
        font-size: 28px;
    }

    .error-page-title {
        font-size: 64px;
    }

    .error-page-subtitle {
        font-size: 20px;
    }

    .content-none-help {
        padding: 24px;
    }

    .error-page-help {
        padding: 32px 24px;
    }

    .error-page-actions,
    .content-none-actions {
        flex-direction: column;
        width: 100%;
    }

    .error-page-actions .btn,
    .content-none-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .content-none-title {
        font-size: 24px;
    }

    .error-page-title {
        font-size: 48px;
    }
}
