/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/* ======================================================
   Custom 404 Page Styling (Scoped - Won’t Affect Others)
   ====================================================== */

/* Root container */
.custom-404-container {
  padding: 60px 20px;
  text-align: center;
  background: #fafafa;
}

/* Hero Section */
.custom-404-hero {
  margin-bottom: 40px;
}

.custom-404-title {
  font-size: 2.2rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 15px;
}

.custom-404-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================
   Latest Posts Section
   ========================================== */
.custom-404-latest {
  margin: 60px auto;
  max-width: 1100px;
}

.custom-404-latest h3 {
  font-size: 1.5rem;
  color: #111;
  margin-bottom: 30px;
}

.custom-404-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.custom-404-post {
  max-width: 230px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.custom-404-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.custom-404-thumb {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
}

.custom-404-post:hover .custom-404-thumb {
  opacity: 0.9;
}

.custom-404-post-title {
  font-size: 1rem;
  color: #222;
  font-weight: 500;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.custom-404-post-title:hover {
  color: #0066cc;
}

/* ==========================================
   Search Form
   ========================================== */
.custom-404-search {
  margin-top: 50px;
}

.custom-404-search form {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.custom-404-search input[type="search"] {
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 260px;
  transition: border-color 0.3s ease;
}

.custom-404-search input[type="search"]:focus {
  border-color: #0073aa;
  outline: none;
}

.custom-404-search input[type="submit"],
.custom-404-search button {
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.custom-404-search input[type="submit"]:hover,
.custom-404-search button:hover {
  background-color: #005f87;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
  .custom-404-title {
    font-size: 1.8rem;
  }

  .custom-404-post {
    max-width: 45%;
  }
}

@media (max-width: 480px) {
  .custom-404-post {
    max-width: 100%;
  }
}



