/* ================================================
   DX総研 記事ページスタイル
   Single Post & Archive Pages
   ================================================ */

/* ================================================
   Single Post Page - 記事詳細ページ
   ================================================ */
.single-post-page,
.page-default {
  padding-top: 104px; /* ヘッダーの高さ分 */
  min-height: 100vh;
  background-color: #f9fafb;
}

/* Article Header */
.article-header {
  background-color: #ffffff;
  padding: 60px 0 40px;
  border-bottom: 1px solid #e5e7eb;
}

.article-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-category {
  display: inline-block;
  padding: 6px 16px;
  background-color: #0066CC;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.article-category:hover {
  background-color: #0052A3;
  color: #ffffff;
}

.article-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.4;
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
  font-size: 14px;
  color: #6b7280;
}

.article-date,
.article-updated {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-date::before {
  content: "📅";
  font-size: 16px;
}

.article-updated::before {
  content: "🔄";
  font-size: 14px;
}

.article-thumbnail {
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.article-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article Content */
.article-content {
  padding: 60px 0;
  background-color: #ffffff;
}

.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: #374151;
}

.article-body h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #0066CC;
}

.article-body h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin: 40px 0 20px;
  padding-left: 16px;
  border-left: 4px solid #0066CC;
}

.article-body h4 {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin: 32px 0 16px;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body a {
  color: #0066CC;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.article-body a:hover {
  color: #0052A3;
}

.article-body ul,
.article-body ol {
  margin: 24px 0;
  padding-left: 32px;
}

.article-body li {
  margin-bottom: 12px;
}

.article-body blockquote {
  margin: 32px 0;
  padding: 24px 24px 24px 32px;
  background-color: #f9fafb;
  border-left: 4px solid #0066CC;
  font-style: italic;
  color: #4b5563;
}

.article-body img {
  max-width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-body pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 24px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.6;
}

.article-body code {
  background-color: #f3f4f6;
  color: #db2777;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Courier New', monospace;
}

.article-body pre code {
  background-color: transparent;
  color: #f9fafb;
  padding: 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
}

.article-body table th,
.article-body table td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.article-body table th {
  background-color: #f3f4f6;
  font-weight: 600;
  color: #1f2937;
}

.article-body table tr:hover {
  background-color: #f9fafb;
}

/* Article Pagination */
.article-pagination {
  margin: 40px 0;
  padding: 24px;
  background-color: #f9fafb;
  border-radius: 8px;
  text-align: center;
}

.article-pagination-title {
  font-weight: 600;
  margin-right: 16px;
  color: #374151;
}

.article-pagination a {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 16px;
  background-color: #ffffff;
  color: #0066CC;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.article-pagination a:hover {
  background-color: #0066CC;
  color: #ffffff;
  border-color: #0066CC;
}

/* Article Tags */
.article-tags {
  margin: 40px 0;
  padding: 24px;
  background-color: #f9fafb;
  border-radius: 8px;
}

.article-tags-title {
  font-weight: 600;
  color: #374151;
  margin-right: 12px;
}

.article-tag {
  display: inline-block;
  margin: 4px 8px 4px 0;
  padding: 6px 14px;
  background-color: #e5e7eb;
  color: #4b5563;
  font-size: 14px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.article-tag:hover {
  background-color: #0066CC;
  color: #ffffff;
}

/* Article Footer - Share */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #e5e7eb;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article-share-title {
  font-weight: 600;
  color: #374151;
}

.article-share-buttons {
  display: flex;
  gap: 12px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-share-twitter {
  background-color: #1DA1F2;
}

.btn-share-facebook {
  background-color: #1877F2;
}

.btn-share-line {
  background-color: #00B900;
}

/* Article Navigation */
.article-navigation {
  padding: 48px 0;
  background-color: #f9fafb;
}

.article-nav-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.article-nav-item {
  padding: 24px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.article-nav-item:hover {
  border-color: #0066CC;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.article-nav-label {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.article-nav-link {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-nav-link:hover {
  color: #0066CC;
}

.article-nav-prev .article-nav-label::before {
  content: "← ";
}

.article-nav-next {
  text-align: right;
}

.article-nav-next .article-nav-label::after {
  content: " →";
}

/* Related Posts */
.related-posts {
  padding: 60px 0;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.related-posts-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 3px solid #0066CC;
}

.related-post-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.related-post-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.related-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-post-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f3f4f6;
}

.related-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-thumbnail img {
  transform: scale(1.05);
}

.related-post-content {
  padding: 20px;
}

.related-post-date {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.related-post-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================================
   Archive Page - アーカイブページ
   ================================================ */
.archive-page {
  padding-top: 104px;
  min-height: 100vh;
  background-color: #f9fafb;
}

/* Archive Header */
.archive-header {
  background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
  padding: 60px 0;
  color: #ffffff;
}

.archive-header-content {
  text-align: center;
}

.archive-category-badge,
.archive-tag-badge,
.archive-date-badge,
.archive-author-badge {
  display: inline-block;
  padding: 8px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.archive-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.archive-description {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 20px;
  opacity: 0.95;
  line-height: 1.6;
}

.archive-count {
  font-size: 15px;
  opacity: 0.9;
}

/* Archive Content */
.archive-content {
  padding: 60px 0;
}

/* Archive Filters */
.archive-filters {
  margin-bottom: 40px;
  padding: 24px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.archive-filter-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
}

.archive-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.archive-filter-btn {
  padding: 10px 20px;
  background-color: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.archive-filter-btn:hover {
  background-color: #e5e7eb;
  color: #1f2937;
}

.archive-filter-btn.active {
  background-color: #0066CC;
  color: #ffffff;
  border-color: #0066CC;
}

.archive-filter-btn .badge {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.archive-filter-btn.active .badge {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Archive Posts Grid */
.archive-posts {
  margin-bottom: 60px;
}

.archive-post-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.archive-post-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

.archive-post-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.archive-post-thumbnail {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #f3f4f6;
  position: relative;
}

.archive-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.archive-post-card:hover .archive-post-thumbnail img {
  transform: scale(1.08);
}

.archive-post-thumbnail-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.archive-post-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.archive-post-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.archive-post-category {
  padding: 4px 12px;
  background-color: #e0f2fe;
  color: #0066CC;
  font-size: 12px;
  font-weight: 500;
  border-radius: 12px;
}

.archive-post-date {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

.archive-post-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-post-excerpt {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Archive Pagination */
.archive-pagination {
  display: flex;
  justify-content: center;
}

.archive-pagination .page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-pagination .page-numbers li {
  margin: 0;
}

.archive-pagination a,
.archive-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  background-color: #ffffff;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.archive-pagination a:hover {
  background-color: #0066CC;
  color: #ffffff;
  border-color: #0066CC;
}

.archive-pagination .current {
  background-color: #0066CC;
  color: #ffffff;
  border-color: #0066CC;
}

.archive-pagination .dots {
  border: none;
  background: transparent;
}

/* Archive No Posts */
.archive-no-posts {
  text-align: center;
  padding: 80px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.archive-no-posts-icon {
  margin-bottom: 24px;
  color: #d1d5db;
}

.archive-no-posts-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.archive-no-posts-text {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 32px;
}

.archive-no-posts-actions .btn {
  margin: 0 8px;
}

/* ================================================
   Default Page Template - 固定ページ
   ================================================ */
.page-header {
  padding-bottom: 50px;
}

.page-breadcrumb {
  margin-bottom: 24px;
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumb-item {
  color: #6b7280;
}

.breadcrumb-item a {
  color: #0066CC;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #0052A3;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #374151;
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 8px;
  color: #9ca3af;
}

.page-title {
  margin-bottom: 16px;
}

.page-meta {
  margin-bottom: 32px;
}

.page-body {
  margin-bottom: 48px;
}

/* Child Pages Section */
.child-pages-section {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 2px solid #e5e7eb;
}

.child-pages-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 3px solid #0066CC;
}

.child-page-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.child-page-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: #0066CC;
}

.child-page-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.child-page-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f3f4f6;
}

.child-page-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.child-page-card:hover .child-page-thumbnail img {
  transform: scale(1.05);
}

.child-page-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.child-page-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  line-height: 1.5;
}

.child-page-excerpt {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ================================================
   Search Page - 検索ページ
   ================================================ */
.search-page {
  padding-top: 104px;
  min-height: 100vh;
  background-color: #f9fafb;
}

.search-header .search-query {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 4px;
}

/* Search Form Section */
.search-form-section {
  margin-bottom: 48px;
  padding: 32px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-form-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
}

/* Search Form Styles */
.search-form {
  width: 100%;
}

.search-form-wrapper {
  display: flex;
  gap: 12px;
  width: 100%;
}

.search-field {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.3s ease;
}

.search-field:focus {
  outline: none;
  border-color: #0066CC;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.search-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: #0066CC;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-submit:hover {
  background-color: #0052A3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.search-submit svg {
  flex-shrink: 0;
}

/* Search Results Highlight */
.search-results mark {
  background-color: #fef3c7;
  color: #92400e;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
}

.archive-post-type {
  background-color: #8b5cf6 !important;
  color: #ffffff !important;
}

/* Search No Results */
.search-no-results {
  margin-top: 40px;
}

.search-suggestions {
  margin: 40px auto;
  max-width: 700px;
  text-align: left;
}

.search-suggestions-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  text-align: center;
}

.search-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.search-category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.search-category-link:hover {
  background-color: #0066CC;
  color: #ffffff;
  border-color: #0066CC;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.search-category-link .badge {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.search-category-link:hover .badge {
  background-color: rgba(255, 255, 255, 0.3);
}

/* ================================================
   404 Error Page - 404エラーページ
   ================================================ */
.error-404-page {
  padding-top: 104px;
  min-height: calc(100vh - 104px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.error-404-content {
  text-align: center;
  padding: 60px 20px;
}

.error-404-number {
  font-size: 120px;
  font-weight: 900;
  color: #0066CC;
  line-height: 1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-404-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.error-404-text {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.error-404-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.error-404-buttons .btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
}

/* 404 Search */
.error-404-search {
  max-width: 500px;
  margin: 0 auto 60px;
}

.error-404-search-title {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
}

.error-404-search form {
  display: flex;
  gap: 12px;
}

.error-404-search input[type="search"] {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.error-404-search input[type="search"]:focus {
  outline: none;
  border-color: #0066CC;
}

.error-404-search button {
  padding: 12px 28px;
  background-color: #0066CC;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.error-404-search button:hover {
  background-color: #0052A3;
}

/* 404 Links */
.error-404-links {
  max-width: 800px;
  margin: 0 auto;
}

.error-404-links-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
}

.error-404-link-card {
  display: block;
  padding: 24px;
  background-color: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.error-404-link-card:hover {
  border-color: #0066CC;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.12);
  transform: translateY(-4px);
}

.error-404-link-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0066CC;
  margin-bottom: 8px;
}

.error-404-link-card p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 991px) {
  .article-title {
    font-size: 28px;
  }

  .archive-title {
    font-size: 32px;
  }

  .error-404-number {
    font-size: 80px;
  }

  .error-404-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .article-header {
    padding: 40px 0 30px;
  }

  .article-title {
    font-size: 24px;
  }

  .article-content {
    padding: 40px 0;
  }

  .article-body {
    font-size: 16px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .article-body h3 {
    font-size: 20px;
  }

  .archive-header {
    padding: 40px 0;
  }

  .archive-title {
    font-size: 28px;
  }

  .archive-content {
    padding: 40px 0;
  }

  .archive-filter-buttons {
    gap: 8px;
  }

  .archive-filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .error-404-number {
    font-size: 60px;
  }

  .error-404-title {
    font-size: 24px;
  }

  .error-404-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .error-404-buttons .btn {
    width: 100%;
  }

  .error-404-search form {
    flex-direction: column;
  }

  .error-404-search button {
    width: 100%;
  }

  .search-form-wrapper {
    flex-direction: column;
  }

  .search-submit {
    width: 100%;
    justify-content: center;
  }

  .search-submit-text {
    display: inline;
  }

  .search-category-links {
    gap: 8px;
  }

  .search-category-link {
    padding: 10px 16px;
    font-size: 14px;
  }
}
