video {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
  }
    body {
      background: #1e1e2f;
      color: #ddd;
      font-family: sans-serif;
      padding: 20px;
      max-width: 900px;
      margin: auto;
    }
    h1 { color: #90caf9; }
    .section { margin-top: 40px; }
    a { color: #80d8ff; text-decoration: none; }
    a:hover { text-decoration: underline; }
.related-section {
  max-width: 100%;
  padding: 10px;
  color: #fff;
}

.related-section h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  color: #ffab91;
  text-align: left;
  padding-left: 10px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.related-card {
  background: #2a2f4a;
  padding: 14px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #eb2407;
}

.related-card:hover {
  background: #394264;
  transform: translateY(-3px);
}

.related-title {
  font-size: 13px;
  font-weight: bold;
  color: #90caf9;
  word-wrap: break-word;
}

/* Mobile fix */
@media screen and (max-width: 480px) {
  .related-list {
    grid-template-columns: 1fr;
  }

  .related-card {
    padding: 12px 16px;
  }

  .related-title {
    font-size: 14px;
  }
}
form {
      text-align: center;
      margin: 20px auto;
      max-width: 600px;
    }

    input[type="text"] {
      width: 300px;
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }

    .pagination {
      text-align: center;
      margin-top: 30px;
    }
    .search-button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 16px;
  background: linear-gradient(90deg, #00c6ff, #0072ff); /* Xanh gradient */
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.search-button:hover {
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  transform: translateY(-2px);
}

.search-button:active {
  transform: scale(0.98);
}
    .home-button {
      display: inline-block;
      background-color: #26a69a;
      color: white;
      padding: 10px 16px;
      text-decoration: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: bold;
      transition: background-color 0.3s ease;
      margin-bottom: 20px;
      text-align: center;
    }

    .home-button:hover { background-color: #1e827a; }
.post{
    border: 1px solid #ddd;
    padding: 20px;
}
