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

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #ba4949 0%, #e0685f 100%);
  background-color: #ba4949;
  background-attachment: fixed;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 40px;
  line-height: 1.7;
}

header {
  width: 100%;
  max-width: 720px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.logo { font-weight: 700; font-size: 1.35rem; color: #fff; text-decoration: none; }
.back {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
}
.back:hover { background: rgba(255, 255, 255, 0.28); }

main {
  width: 100%;
  max-width: 720px;
  background: #fff;
  color: #333;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
main h1 { font-size: 1.7rem; color: #ba4949; margin-bottom: 6px; line-height: 1.3; }
main .updated { color: #888; font-size: 0.85rem; margin-bottom: 20px; }
main h2 { font-size: 1.15rem; margin: 24px 0 8px; color: #222; }
main p, main li { font-size: 0.97rem; color: #444; margin-bottom: 10px; }
main ul { padding-left: 22px; }
main a { color: #ba4949; }

form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
form label { font-size: 0.9rem; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
form input, form textarea {
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f7f7f7;
  width: 100%;
}
form textarea { min-height: 140px; resize: vertical; }
form button {
  background: #ba4949;
  color: #fff;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
}
form button:hover { background: #a03e3e; }
.hidden { display: none; }

.yt-btn {
  display: inline-block;
  background: #ff0000;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  margin-top: 6px;
}

footer { margin-top: 26px; color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; text-align: center; }
footer a { color: #fff; margin: 0 6px; }

/* ---------- Blog ---------- */
.crumbs { font-size: 0.85rem; color: #888; margin-bottom: 8px; }
.crumbs a { color: #888; }
.post h2 { font-size: 1.25rem; margin-top: 28px; }
.post h3 { font-size: 1.05rem; margin: 18px 0 6px; color: #222; }
.post ol { padding-left: 22px; }
.post table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 0.92rem; }
.post th, .post td { border: 1px solid #e5e5e5; padding: 8px 10px; text-align: left; vertical-align: top; }
.post th { background: #fbeaea; color: #222; }
.table-wrap { overflow-x: auto; }
.tip { background: #fff6e5; border-left: 4px solid #f0a020; padding: 12px 14px; border-radius: 6px; margin: 14px 0; }
.tip p { margin: 0; }
.cta { background: #fbeaea; border-radius: 12px; padding: 18px; margin: 28px 0 8px; text-align: center; }
.cta p { margin-bottom: 10px; color: #333; font-weight: 600; }
.cta-btn {
  display: inline-block;
  background: #ba4949;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
}
.cta-btn:hover { background: #a03e3e; }
.post-list { list-style: none; padding: 0 !important; display: grid; gap: 14px; margin-top: 18px; }
.post-list li { border: 1px solid #eee; border-radius: 12px; padding: 16px; margin: 0; }
.post-list a.title { font-weight: 600; font-size: 1.05rem; color: #222; text-decoration: none; }
.post-list a.title:hover { color: #ba4949; }
.post-list p { margin: 6px 0 0; font-size: 0.92rem; }
