
body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  background-color: #f0f4f8;
  color: #2c3e50;
  line-height: 1.7;
}

h1.post-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 20px;
  color: #1e3a8a;
}

h2 {
  font-size: 1.4rem;
  color: #1d4ed8;
  border-left: 6px solid #3b82f6;
  padding-left: 10px;
  margin: 40px 0 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Header */
.site-header {
  background-color: #f0f6ff;
  border-bottom: 1px solid #cce0ff;
  padding: 20px 0;
  text-align: center;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.logo img {
  height: 40px;
  margin-bottom: 10px;
}
.site-title {
  font-size: 1.8rem;
  color: #1d4ed8;
  font-weight: 700;
  margin: 0;
}
/* 헤더 끝 */
/* Footer */
.site-footer {
  background-color: #e8efff;
  color: #3b3b3b;
  padding: 40px 0 20px;
  border-top: 1px solid #bdd7ff;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-container .logo img {
  height: 36px;
}
.footer-container p {
  font-size: 0.85rem;
  color: #4b5563;
  margin: 0;
}

/* 푸터 끝 */

.post-thumbnail {
  text-align: center;
  margin: 20px 0;
}
.post-thumbnail img {
  display: inline-block;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-content p {
  margin: 1em 0;
  font-size: 1rem;
}

.post-content strong {
  font-weight: 600;
  color: #1e40af;
  background: linear-gradient(to right, #e0ecff, #f0f6ff);
  padding: 4px 6px;
  border-radius: 6px;
}

.post-content blockquote {
  background-color: #e8f0ff;
  border-left: 5px solid #60a5fa;
  padding: 10px 16px;
  margin: 20px 0;
  color: #1d4ed8;
  font-style: italic;
  border-radius: 6px;
}

.post-content ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.post-content ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
}

.post-content ul li::before {
  content: "🔹";
  position: absolute;
  left: 0;
  top: 2px;
  color: #3b82f6;
}

/* 태그 스타일 */
.tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #d1d5db;
}
.tags p {
  margin-bottom: 10px;
  font-weight: bold;
  color: #1d4ed8;
}
.tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.tag-item {
  background-color: #e0ecff;
  color: #1e3a8a;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.tag-item:hover {
  background-color: #c7dbff;
}

/* 광고 */
.ads-left, .ads-right {
  position: fixed;
  top: 100px;
  width: 160px;
  height: auto;
  z-index: 1000;
}
.ads-left { left: 10px; }
.ads-right { right: 10px; }

.adsense-box {
  padding: 10px;
  background-color: #f8f9ff;
  border: 1px dashed #cce;
  margin: 15px auto;
  border-radius: 8px;
}
/* 광고 */
@media (max-width: 1000px) {
  .ads-left, .ads-right { display: none; }
}
/* 반응형 */
@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  h1.post-title {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.2rem;
  }
}
