/* 소셜 블로그 스타일 - 완전 통합 버전 (Tech 요소 포함) */
/* 컨테이너 */
.social-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;
  background: #ffffff;
}

/* 제목들 */
.social-main-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.social-section-title {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 600;
  color: #2c3e50;
  margin: 2.5rem 0 1rem 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #ffffff;
  border-radius: 8px;
  position: relative;
}

.social-section-title::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid #f5576c;
}

.social-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 #ff6b6b;
  border-radius: 6px;
}

/* 텍스트 */
.social-content-text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #34495e;
  margin: 1.2rem 0;
  line-height: 1.7;
}

.social-emphasis {
  color: #e74c3c;
  font-weight: 600;
  background: linear-gradient(120deg, #ffeaa7 0%, #fab1a0 100%);
  padding: 2px 6px;
  border-radius: 4px;
}

.social-intro {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #7f8c8d;
  margin: 1rem 0 2rem 0;
  text-align: center;
  font-style: italic;
}

/* 🆕 이미지 스타일 (Tech에서 추가) */
.social-image-container {
  text-align: center;
  margin: 2rem 0;
}

.social-blog-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.social-image-caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
}


/* 인라인 이미지 보정 */
.social-blog-container img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.social-blog-container p[style*="text-align:center"] {
  text-align: center;
  margin: 2rem 0;
  width: 100%;
  overflow: hidden;
}

/* 목록 */
.social-content-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.social-list-item {
  font-size: clamp(1rem, 2vw, 1.05rem);
  color: #34495e;
  margin: 0.8rem 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.social-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-list-bullet {
  color: #e74c3c;
  font-weight: bold;
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

/* 번호 목록 */
.social-numbered-list {
  counter-reset: social-counter;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.social-numbered-item {
  counter-increment: social-counter;
  font-size: clamp(1rem, 2vw, 1.05rem);
  color: #34495e;
  margin: 1rem 0;
  padding: 1rem 1.2rem 1rem 3rem;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.social-numbered-item::before {
  content: counter(social-counter);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: #e74c3c;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* 🆕 코드 블록 (Tech에서 추가) */
.social-code-block {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  overflow-x: auto;
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

.social-code-content {
  font-family: 'Fira Code', Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  color: #ecf0f1;
}

/* 특수 박스들 */
.social-question-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  text-align: center;
}

.social-question-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}

.social-cta-box {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: #2c3e50;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 8px 20px rgba(250, 112, 154, 0.3);
}

.social-cta-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.social-cta-content {
  font-size: 1rem;
  line-height: 1.6;
}

.social-highlight-box {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

/* 🆕 대화 예시 박스 (Tech에서 추가) */
.social-dialogue-box {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid #17a2b8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.social-dialogue-label {
  font-size: 0.9rem;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  font-weight: 600;
  display: block;
}

/* 🆕 통계 박스 (소셜 스타일로 개선) */
.social-stats-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.social-stats-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.social-stats-content {
  font-size: 1rem;
  opacity: 0.95;
  line-height: 1.6;
}

/* 🆕 인용문 (소셜 스타일로 개선) */
.social-quote {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  border-left: 5px solid #f39c12;
  border-radius: 12px;
  font-style: italic;
  color: #2c3e50;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
}

.social-quote::before {
  content: '"';
  font-size: 4rem;
  color: #f39c12;
  position: absolute;
  top: -10px;
  left: 10px;
  font-family: serif;
  opacity: 0.3;
}

/* 🆕 테이블 (Tech에서 추가, 소셜 스타일 적용) */
.social-table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.social-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.95rem;
}

.social-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.social-table th, .social-table td {
  padding: 1rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.social-table th {
  font-weight: 600;
  font-size: 0.9rem;
}

.social-table tbody tr:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.social-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

/* 태그 */
.social-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #ecf0f1;
  text-align: center;
}

.social-tag {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  margin: 0.3rem;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.social-tag:hover {
  transform: scale(1.05);
}

/* 이모지 강조 */
.social-emoji {
  font-size: 1.2em;
  margin: 0 0.2rem;
}

/* 반응형 */
@media (max-width: 768px) {
  .social-blog-container {
    padding: 15px;
  }
  
  .social-main-title,
  .social-section-title,
  .social-sub-title {
    padding: 1rem;
  }
  
  .social-list-item,
  .social-numbered-item {
    padding: 0.8rem;
  }
  
  .social-numbered-item {
    padding-left: 2.5rem;
  }
  
  .social-numbered-item::before {
    left: 0.8rem;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
  }
  
  /* 코드 블록 모바일 */
  .social-code-block {
    padding: 1rem;
    font-size: 0.85rem;
  }
  
  /* 테이블 모바일 최적화 */
  .social-table {
    font-size: 0.8rem;
  }
  
  .social-table th, .social-table td {
    padding: 0.6rem 0.4rem;
  }
  
  .social-table th {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .social-blog-container {
    padding: 10px;
  }
  
  .social-section-title::before {
    display: none;
  }
  
  .social-table-container {
    margin: 1rem -10px;
    border-radius: 8px;
  }
  
  .social-table {
    font-size: 0.75rem;
    border-radius: 8px;
  }
  
  .social-table th, .social-table td {
    padding: 0.5rem 0.3rem;
  }
  
  .social-table th {
    font-size: 0.7rem;
  }
  
  .social-quote::before {
    font-size: 2.5rem;
    top: -5px;
    left: 5px;
  }
}

 