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

html, body {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #2e3c50, #243b55);
  color: #eee;
  line-height: 1.6;
}

.background-figure img {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.3);
}

.seo-container {
  max-width: 1400px;
  margin: 80px auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
}

.seo-container h1 {
  font-size: 2.4rem;
  margin-bottom: 32px;
  text-align: center;
  color: #c47611;
  text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.seo-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-top: 30px;
}

.seo-content-block {
  background: rgba(255, 255, 255, 0.08);
  color: blueviolet;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.seo-content-block h2 {
  color: #109bad;
}

.seo-content-block a {
  color: #f3c90f;
  text-decoration: none;
}

.seo-content-block a:hover {
  color: #da670a;
  text-decoration: underline;
}

.seo-content-block.full-width-block {
  grid-column: 1 / -1;
}

/* Special style for JSON-LD section */
.seo-content-block pre {
  background-color: rgba(0, 0, 0, 0.7);
  color: #00e0ff;
  padding: 16px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.seo-content-block pre code {
  color: inherit;
  background: none;
}


.seo-content-block.full-width-section {
  grid-column: 1 / -1;
  max-width: 100%;
  background-color: rgba(255,255,255,0.4);
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(255,255,255,0.8);
}

th, td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  color: #333;
}

.table-wrapper {
  overflow-x: auto;
  max-width: 100%;
}

.home-button-seo {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
}
.home-button-seo:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.footer {
  width: 100%;
  text-align: center;
  background-color: rgba(10, 20, 35, 0.35);
  color: white;
  padding: 25px 15px;
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
  font-size: 0.9rem;
}

.footer a {
  color: #A6D4FF;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .seo-grid-layout {
    grid-template-columns: 1fr !important;
  }

  .seo-container {
    padding: 20px;
    margin: 20px 10px;
  }

  .seo-container h1 {
    font-size: 1.6rem;
  }

  .seo-content-block {
    padding: 16px;
  }

  .seo-content-block h2 {
    font-size: 1.2rem;
  }

  .seo-content-block p,
  .seo-content-block ul,
  .seo-content-block li {
    font-size: 0.95rem;
  }

  .table-wrapper {
    overflow-x: auto;
  }

  .seo-content-block pre {
    font-size: 0.82rem;
    padding: 12px;
  }

  .footer {
    font-size: 0.8rem;
    padding: 15px 10px;
  }


  .home-button-seo {
    font-size: 0.85rem;
    top: 12px;
    left: 12px;
    padding: 8px 14px;
  }
}

@media (max-width: 480px) {
  .seo-container {
    padding: 15px 8px;
    margin: 20px 5px;
  }

  .seo-container h1 {
    font-size: 1.5rem;
  }

  th, td {
    font-size: 0.85rem;
    padding: 8px;
  }

  .footer {
    font-size: 0.8rem;
    padding: 15px 10px;
  }
}
