/*
Theme Name: SpiceBiteHub Custom
Theme URI: https://spicebitehub.com
Author: SpiceBiteHub
Description: A custom, lightning fast, spicy dark theme designed perfectly for recipes and Google AdSense integration.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.2
Text Domain: spicebitehub
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@500;700;800&display=swap');

:root {
  /* SpiceBiteHub Theme */
  --bg-dark: #000000;
  --bg-card: #1E1E1E;
  --bg-card-hover: #262626;

  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;

  --primary-accent: #FF5A1F;
  /* Fiery Spice Orange */
  --primary-hover: #E04A15;
  --secondary-accent: #FFA048;

  --nav-bg: #000000;
  --border-subtle: #222;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-accent {
  color: var(--primary-accent);
}

.btn {
  display: inline-block;
  background: var(--primary-accent);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background var(--transition-fast);
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

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

.badge {
  background: rgba(255, 90, 31, 0.15);
  color: var(--primary-accent);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* AdSpace Placeholder Container (Hidden by default as requested) */
.ad-container {
  display: none;
  /* Site Kit or Real AdSense Code handles visibility naturally */
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container,
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  width: 100%;
}

.brand {
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-accent);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  flex-wrap: nowrap !important;
  justify-content: flex-end;
}

.hamburger-icon {
  display: none;
  cursor: pointer;
  margin-left: 15px;
}

@media screen and (max-width: 768px) {
  .hamburger-icon {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-subtle);
    z-index: 99;
    text-align: center;
  }

  .nav-links.open {
    display: flex;
  }
}

.search-form {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.search-input {
  padding: 6px 12px 6px 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
  outline: none;
  width: 120px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  transition: width 0.3s ease;
}

.search-submit {
  position: absolute;
  left: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 480px) {
  .search-input {
    width: 80px;
  }

  .search-input:focus {
    width: 120px;
  }

  .site-title {
    font-size: 1.2rem;
  }
}

/* Page Layout Wrapper */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
}

/* Footer */
footer.site-footer {
  background: #000000;
  padding: 60px 0 40px;
  margin-top: 80px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-accent);
}

.copyright {
  margin-top: 60px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Recipe Grid */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.recipe-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--primary-accent);
}

.recipe-img-container {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.recipe-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recipe-card:hover .recipe-img-container img {
  transform: scale(1.05);
}

.recipe-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recipe-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.recipe-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 15px;
}

/* Hero Section */
.hero-section {
  padding: 20px;
}

.hero-container {
  position: relative; 
  min-height: 550px; 
  border-radius: 24px; 
  overflow: visible;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  margin: 20px;
}
.hero-bg-image {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); z-index: 1;
}
.hero-content {
  position: relative; 
  z-index: 2; 
  max-width: 800px;
  background: #1e1e1e;
  padding: 40px 50px;
  border-radius: 16px;
  margin-bottom: -40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.hero-title {
  font-size: 3.5rem;
  margin: 10px 0 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: white;
}

.hero-badge {
  background: rgba(255, 90, 31, 0.2);
  backdrop-filter: blur(4px);
}

.hero-subtitle {
  color: #D1D5DB;
  font-size: 1.15rem;
  margin-bottom: 35px;
  max-width: 500px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Category Filters */
.category-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(42, 42, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.category-btn:hover {
  background: rgba(60, 60, 60, 0.8);
}

.category-btn.active {
  background: var(--primary-accent);
  color: white;
  border-color: var(--primary-accent);
}



.hero-btn {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 90, 31, 0.3);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  width: 100%;
}

/* Tablet (768px to 1023px) - Moved up for better ordering */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .recipes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-container {
    padding: 40px;
    margin: 15px;
    min-height: 450px;
  }
  .hero-content {
    max-width: 70%;
    padding: 35px;
    margin-bottom: -20px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

/* Post Details */
.post-hero {
  height: 480px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #000;
}

.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.post-container {
  max-width: 1000px;
  margin: -100px auto 0;
  position: relative;
  z-index: 10;
}

.post-header-card {
  background: #1e1e1e;
  padding: 50px 60px;
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.post-badge {
  display: inline-block;
  margin-bottom: 20px;
  background: #331a12;
  color: var(--primary-accent);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-title {
  font-size: 4rem;
  margin: 0 0 25px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
}

.post-excerpt {
  color: #B0B0B0;
  font-size: 1.2rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.post-meta-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 25px;
}

.post-meta-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.post-meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.post-meta-value {
  font-weight: 700;
  font-size: 1rem;
}

.post-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 80px;
}

.post-main-content {
  flex: 1 1 650px;
}

.post-sidebar {
  flex: 0 0 320px;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.sidebar-author-box {
  background: var(--bg-card);
  padding: 35px 25px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 30px;
  text-align: center;
}

.sidebar-avatar {
  width: 80px;
  height: 80px;
  background: var(--primary-accent);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.sidebar-author-name {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.sidebar-author-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .post-hero {
    height: 300px;
  }

  .post-container {
    margin-top: -40px;
  }

  .post-header-card {
    padding: 25px;
  }

  .post-title {
    font-size: 2rem;
  }

  .post-meta-row {
    gap: 20px;
  }

  .post-layout {
    gap: 40px;
  }

  .post-sidebar {
    flex: 1 1 100%;
  }
}

/* WP Content Formatting */
.wp-content,
.recipe-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.wp-content p,
.recipe-content p {
  margin-bottom: 20px;
}

.wp-content h2,
.recipe-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: white;
}

/* Custom Checkbox styles for Ingredients (ul) */
.wp-content ul,
.recipe-content ul {
  list-style: none;
  /* Hide default bullets */
  margin-left: 0;
  margin-bottom: 30px;
}

.wp-content ul li,
.recipe-content ul li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  background: var(--bg-card);
  padding: 16px 16px 16px 48px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.wp-content ul li:hover,
.recipe-content ul li:hover {
  background: var(--bg-card-hover);
}

.wp-content ul li::before,
.recipe-content ul li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-accent);
  border-radius: 4px;
  background: transparent;
}

/* Custom Number styles for Instructions (ol) */
.wp-content ol,
.recipe-content ol {
  list-style: none;
  counter-reset: custom-counter;
  margin-left: 0;
  margin-bottom: 30px;
}

.wp-content ol li,
.recipe-content ol li {
  counter-increment: custom-counter;
  margin-bottom: 20px;
  position: relative;
  padding-left: 60px;
}

.wp-content ol li::before,
.recipe-content ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 90, 31, 0.1);
  color: var(--primary-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* --- Responsive Adjustments --- */

/* Mobile (Up to 767px) - Source of Truth */
@media screen and (max-width: 767px) {
  h1 { font-size: 1.7rem !important; line-height: 1.2 !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.25rem !important; }

  .container {
    padding: 0 15px;
  }

  .navbar {
    position: sticky;
    top: 0;
  }
  .navbar .container, .navbar-container {
    height: 60px;
  }
  .brand {
    font-size: 1.25rem;
  }

  .hero-section {
    padding: 0; /* Full width on mobile */
    margin: 0;
  }
  .hero-container {
    min-height: 450px;
    padding: 20px;
    margin: 0;
    align-items: flex-end;
    border-radius: 0; /* Full width look */
    justify-content: center;
  }
  .hero-content {
    padding: 25px 20px;
    margin-bottom: 20px;
    max-width: 95%;
    text-align: left;
    background: #1e1e1e; /* Solid background for perfect legibility */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .hero-title {
    font-size: 1.6rem !important;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
  }
  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #D1D5DB;
  }
  .hero-btn {
    padding: 12px 24px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  .category-filters {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 15px 15px;
    margin-bottom: 20px;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
  }
  .category-btn {
    flex: 0 0 auto !important;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .recipes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-wrapper {
    padding-top: 0 !important;
  }
}



/* Large Screens (1024px and up) */
@media screen and (min-width: 1024px) {
  .recipes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* About Page */
.about-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 40px;
  padding-bottom: 80px;
  min-height: 70vh;
}

.about-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-top: 40px;
}

.about-image-column {
  flex: 1 1 400px;
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-text-column {
  flex: 1 1 500px;
  padding: 20px 0;
}

.about-badge {
  margin-bottom: 20px;
  display: inline-block;
}

.about-title {
  font-size: 3.5rem;
  margin-top: 0;
  margin-bottom: 30px;
  letter-spacing: -1px;
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
}

.about-content {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.stats-row {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

.stat-box {
  flex: 1;
  text-align: center;
  padding: 25px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.stat-box h3 {
  color: var(--primary-accent);
  font-size: 2.5rem;
  margin: 0 0 5px 0;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

@media screen and (max-width: 900px) {
  .about-container {
    padding: 0 20px;
    margin: 40px auto;
  }

  .about-image-wrapper {
    position: relative;
    top: 0;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .stats-row {
    flex-direction: column;
  }
}

/* Contact Page */
.contact-container {
  max-width: 700px;
  margin: 80px auto;
  background: var(--bg-card);
  padding: 50px 60px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-title {
  text-align: center;
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.contact-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.2);
}

.contact-submit {
  background: var(--primary-accent);
  color: #fff;
  padding: 16px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  transition: background 0.3s ease, transform 0.1s ease;
  margin-top: 10px;
}

.contact-submit:hover {
  background: var(--primary-hover);
}

.contact-submit:active {
  transform: scale(0.98);
}

.form-response {
  display: none;
  text-align: center;
  margin-top: 25px;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
}

.form-response.success {
  display: block;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
}

.form-response.error {
  display: block;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.1);
}

@media screen and (max-width: 767px) {
  .contact-container {
    padding: 30px 20px;
    margin: 40px auto;
  }

  .contact-title {
    font-size: 2.2rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }
}

/* Blog Page */
.blog-container {
  padding-top: 80px;
  padding-bottom: 100px;
  min-height: 80vh;
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-badge {
  margin-bottom: 20px;
  display: inline-block;
}

.blog-title {
  font-size: 4rem;
  margin-bottom: 25px;
  letter-spacing: -2px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.blog-subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-accent) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-card:hover .blog-img {
  transform: scale(1.1);
}

.blog-card:hover h3 a {
  color: var(--primary-accent) !important;
}

.read-more svg {
  transition: transform 0.3s ease;
}

.read-more:hover svg {
  transform: translateX(5px);
}

/* WordPress Pagination Styling */
.page-numbers {
  display: inline-block;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-main);
  font-weight: 600;
  transition: all 0.2s;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: #fff;
}

@media screen and (max-width: 767px) {
  .blog-container {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .blog-title {
    font-size: 2.5rem;
  }

  .blog-subtitle {
    font-size: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Search Page */
.search-header {
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: center;
}

.search-title {
  font-size: 3rem;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.search-count {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.search-results-section {
  margin-bottom: 60px;
}

.search-pagination {
  margin-top: 40px;
  text-align: center;
}

.no-results {
  text-align: center;
  padding: 60px 0;
}

.no-results-icon {
  margin-bottom: 20px;
}

.no-results-title {
  font-size: 2rem;
  margin-bottom: 15px;
}

.no-results-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.search-again-form {
  display: flex;
  justify-content: center;
}

.search-again-input {
  padding: 12px 20px;
  border-radius: 25px 0 0 25px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(30, 32, 40, 0.7);
  color: #F3F4F6;
  outline: none;
  width: 300px;
  font-size: 1rem;
}

.search-again-submit {
  background: var(--primary-accent);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
}

@media screen and (max-width: 767px) {
  .search-title {
    font-size: 2.2rem;
  }

  .search-again-input {
    width: 200px;
  }
}

/* Legal Pages (Privacy/Terms) */
.legal-container {
  max-width: 900px;
  margin: 60px auto;
  background: var(--bg-card);
  padding: 50px 60px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.legal-container h1 {
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
  font-size: 3rem;
  letter-spacing: -1px;
}

.legal-container h2 {
  color: #fff;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.legal-container p {
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.legal-container ul {
  padding-left: 20px;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.legal-container li {
  margin-bottom: 12px;
}

.legal-container li::marker {
  color: var(--primary-accent);
}

@media screen and (max-width: 767px) {
  .legal-container {
    padding: 30px 20px;
    margin: 40px auto;
  }

  .legal-container h1 {
    font-size: 2.2rem;
  }
}