/* 테크니컬 블로그 스타일 - 간소화 버전 */
/* 컨테이너 */
.tech-blog-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
}

/* 제목들 */
.tech-main-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-left: 6px solid #3498db;
  border-radius: 8px;
}

.tech-section-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #2c3e50;
  margin: 2.5rem 0 1rem 0;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-left: 5px solid #3498db;
  border-radius: 6px;
}

.tech-sub-title {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: #34495e;
  margin: 2rem 0 1rem 0;
  padding: 0.8rem 1.2rem;
  background: #f8f9fa;
  border-left: 4px solid #e74c3c;
  border-radius: 4px;
}

/* 텍스트 */
.tech-content-text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #34495e;
  margin: 1.2rem 0;
  line-height: 1.7;
}

.tech-emphasis {
  color: #2c3e50;
  font-weight: 600;
}

/* 이미지 */
.tech-image-container {
  text-align: center;
  margin: 2rem 0;
}

.tech-blog-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tech-image-caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
}

/* 목록 */
.tech-content-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.tech-list-item {
  font-size: clamp(1rem, 2vw, 1.05rem);
  color: #34495e;
  margin: 0.8rem 0;
  padding: 1rem 1.2rem;
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  border-radius: 4px;
}

.tech-list-bullet {
  color: #3498db;
  font-weight: bold;
  margin-right: 0.8rem;
}

/* 코드 */
.tech-code-block {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  overflow-x: auto;
}

.tech-code-content {
  font-family: 'Fira Code', Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* 특수 박스들 */
.tech-dialogue-box {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #17a2b8;
}

.tech-dialogue-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tech-stats-box {
  background: #3498db;
  color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  text-align: center;
}

.tech-stats-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tech-stats-content {
  font-size: 0.95rem;
  opacity: 0.9;
}

.tech-quote {
  margin: 1.5rem 0;
  padding: 1.2rem 1.5rem;
  background: #f8f9fa;
  border-left: 5px solid #3498db;
  border-radius: 6px;
  font-style: italic;
  color: #34495e;
}

/* 테이블 - 모바일 반응형 최적화 */
.tech-table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.9rem;
}

.tech-table thead {
  background: #3498db;
  color: #fff;
}

.tech-table th, .tech-table td {
  padding: 0.8rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.tech-table th {
  font-weight: 600;
  font-size: 0.85rem;
}

.tech-table tbody tr:hover {
  background: #f8f9fa;
}

/* 반응형 */
@media (max-width: 768px) {
  .tech-blog-container {
    padding: 15px;
  }
  
  .tech-main-title,
  .tech-section-title,
  .tech-sub-title {
    padding: 1rem;
  }
  
  .tech-code-block {
    padding: 1rem;
    font-size: 0.85rem;
  }
  
  .tech-list-item {
    padding: 0.8rem;
  }
  
  /* 테이블 모바일 최적화 */
  .tech-table {
    font-size: 0.8rem;
  }
  
  .tech-table th, .tech-table td {
    padding: 0.6rem 0.4rem;
  }
  
  .tech-table th {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .tech-blog-container {
    padding: 10px;
  }
  
  .tech-table-container {
    margin: 1rem -10px;
    border-radius: 0;
  }
  
  .tech-table {
    font-size: 0.75rem;
    border-radius: 0;
  }
  
  .tech-table th, .tech-table td {
    padding: 0.5rem 0.3rem;
  }
  
  .tech-table th {
    font-size: 0.7rem;
  }
}