@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #222;
  line-height: 1.6;
}

header {
  background: #0d6efd;
  color: #fff;
  padding: 1rem 0.5rem;
  text-align: center;
}
header .logo a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.menu { margin-top: 0.5rem; }
.menu a { color: #fff; text-decoration: none; margin: 0 8px; font-weight: 600; }

main { max-width: 960px; margin: 2rem auto; padding: 0 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.grid article { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.grid img { width: 100%; height: auto; display: block; }
.grid h2 { padding: 0.75rem 1rem; }

.latest { list-style: none; margin-top: 0.5rem; }
.latest li { padding: 6px 0; border-bottom: 1px solid #e9ecef; display: flex; gap: 10px; justify-content: space-between; }
.latest a { color: #0d6efd; text-decoration: none; }
.latest time { color: #555; font-size: 0.9rem; }

.btn, button, input[type=submit] {
  background: #0d6efd; color: #fff; border: none; border-radius: 8px;
  padding: 0.6rem 1rem; cursor: pointer; font-weight: 600; transition: background 0.2s;
}
.btn:hover, button:hover, input[type=submit]:hover { background: #0b5ed7; }

form {
  background: #fff; border-radius: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 1.2rem; margin-top: 1rem;
}
label { display: block; margin-top: 0.8rem; font-weight: 600; color: #333; }
input, textarea {
  width: 100%; padding: 0.7rem; border-radius: 8px; border: 1px solid #ced4da; margin-top: 0.3rem; font-size: 1rem;
}
textarea { min-height: 140px; resize: vertical; }
.ok {
  margin-top: 1rem; padding: 1rem; background: #d1e7dd; border-radius: 8px; color: #0f5132; border: 1px solid #badbcc;
}

footer { text-align: center; padding: 1rem 0; margin-top: 3rem; background: #f1f3f5; font-size: 0.95rem; color: #555; }

/* Breadcrumb */
.breadcrumb { font-size: 0.92rem; color: #666; margin: 0.5rem 0 1rem; }
.breadcrumb a { color: #0d6efd; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .home .ico { margin-right: 4px; }

/* Responsive */
@media (max-width: 600px) {
  .menu a { display: inline-block; margin: 4px; }
}
