/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --text-primary: #2c3e50;
  --text-secondary: #666;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  gap: 2rem;
}

.site-title a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  text-decoration: none;
}

.site-title a:hover {
  color: #3498db;
}

/* Navigation styles */
.site-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.site-nav a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: #3498db;
}

/* Language switcher */
.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #555;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background-color: #f8f9fa;
  border-color: #3498db;
  color: #3498db;
}

.lang-btn.active {
  background-color: #3498db;
  border-color: #3498db;
  color: white;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #2c3e50;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 4px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #555;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: #3498db;
}

/* Main content */
.site-main {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

/* Home page styles */
.hero {
  position: relative;
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin: -2rem -20px 1rem -20px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 80px 80px;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-badge span {
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: #667eea;
}

.categories {
  padding: 3rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.category-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  padding: 2rem;
}

.category-card.featured {
  border: 2px solid #3498db;
  transform: scale(1.02);
}

.category-card.featured::before {
  content: "⭐ 추천";
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #3498db;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}



.arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.category-link:hover .arrow {
  transform: translateX(5px);
}

/* Latest Posts Section */
.latest-posts {
  padding: 3rem 0;
  background: #f8f9fa;
}

/* Simple Posts List Styles */
.posts-list-simple {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.post-item-simple {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-item-simple:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.post-meta-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-meta-simple .post-category {
  background: #3498db;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.post-meta-simple .post-date {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
}

.post-title-simple {
  margin-bottom: 1rem;
}

.post-title-simple a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.post-title-simple a:hover {
  color: #3498db;
}

.post-tags-simple {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: #f8f9fa;
  color: #495057;
  padding: 0.2rem 0.6rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
}

.tag:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.posts-preview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.post-preview-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.post-preview-card.featured {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}

.post-preview-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.image-placeholder {
  font-size: 4rem;
  color: white;
}

.post-preview-content {
  padding: 2rem;
}

.post-preview-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.post-preview-meta .post-category {
  background: #3498db;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
}

.post-preview-meta .post-date {
  color: #666;
}

.post-preview-card h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-preview-card h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.post-preview-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.read-more-link:hover {
  color: #2980b9;
}

.posts-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.post-preview-card.small {
  padding: 1.5rem;
}

.post-preview-card.small h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.post-preview-card.small p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter {
  padding: 5rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.newsletter-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.newsletter h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
}

.newsletter-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background: #2980b9;
}

.newsletter small {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Blog Archive Styles */
.blog-archive {
  background: #f8f9fa;
  min-height: 100vh;
}

.archive-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.archive-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.archive-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.search-section {
  max-width: 600px;
  margin: 0 auto;
}

.search-box {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.search-btn:hover {
  background: #2980b9;
}

.search-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.tag-label {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.tag-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.main-tag {
  font-weight: 600 !important;
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15) !important;
}

.sub-tag {
  font-size: 0.8rem !important;
  opacity: 0.9 !important;
}

#moreTags {
  max-height: 200px;
  overflow-y: auto;
  border-radius: 10px;
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.search-tag {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  border: 1px solid rgba(255,255,255,0.3);
}

.search-tag:hover {
  background: rgba(255,255,255,0.3);
}

.archive-content {
  padding: 3rem 0;
}

.archive-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
}

.archive-sidebar {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-section h3 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.year-archive,
.month-archive,
.category-filter {
  list-style: none;
  padding: 0;
  margin: 0;
}

.year-archive li,
.month-archive li,
.category-filter li {
  margin-bottom: 0.5rem;
}

.year-link,
.month-link,
.category-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #666;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.year-link:hover,
.month-link:hover,
.category-link:hover {
  background: #f8f9fa;
  color: #2c3e50;
}

.year-link.active,
.month-link.active,
.category-link.active {
  background: #3498db;
  color: white;
}

.archive-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.archive-stats .stat-item {
  text-align: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.archive-stats .stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3498db;
  margin-bottom: 0.3rem;
}

.archive-stats .stat-label {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.archive-main {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 2rem;
}

.post-count {
  color: #666;
  font-size: 0.9rem;
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  font-size: 0.9rem;
  outline: none;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.post-item {
  padding: 2rem;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: white;
}

.post-item:hover {
  border-color: #3498db;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);
}

.post-item.coming-soon {
  opacity: 0.7;
  background: #f8f9fa;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.post-meta .post-category {
  background: #3498db;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-weight: 500;
}

.post-meta .post-date {
  color: #666;
}

.post-meta .post-author {
  color: #666;
}

.post-title {
  margin-bottom: 1rem;
}

.post-title a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #3498db;
}

.post-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tag {
  background: #f8f9fa;
  color: #666;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  border: 1px solid #e9ecef;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.read-more {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #2980b9;
}

.reading-time {
  color: #999;
  font-size: 0.9rem;
}

.coming-soon-badge {
  background: #ffc107;
  color: #856404;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

.pagination {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
  margin-top: 2rem;
}

.page-info {
  color: #666;
  font-size: 0.9rem;
}

/* About Page Styles */
.about-page {
  background: #f8f9fa;
  min-height: 100vh;
}

.about-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.profile-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.profile-avatar {
  flex-shrink: 0;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.3);
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.profile-info h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.profile-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.profile-location {
  font-size: 1.1rem;
  opacity: 0.8;
}

.about-content {
  padding: 3rem 0;
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-section {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-section h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.placeholder-text {
  color: #999;
  font-style: italic;
  font-size: 1.1rem;
}

/* Intro Section Styles */
.intro-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-tag {
  background: #3498db;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Timeline Section */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e9ecef;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: #3498db;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #e9ecef;
}

.timeline-date {
  color: #3498db;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #666;
  margin-bottom: 0.5rem;
}

.timeline-location {
  color: #999;
  font-size: 0.9rem;
}

/* Education Section */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.education-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.education-degree {
  background: #27ae60;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.education-details h3 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.education-major {
  color: #3498db;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.education-period {
  color: #666;
  font-size: 0.9rem;
}

/* Purpose Section */
.purpose-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.purpose-content p:last-child {
  margin-bottom: 0;
}

/* Topics Section */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.topic-item {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #3498db;
}

.topic-item h3 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  border: none;
  padding: 0;
}

.topic-item p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.contact-item:hover {
  background: white;
  border-color: #3498db;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  border: none;
  padding: 0;
}

.contact-details p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* Post specific styles */
.diagram-layer {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.diagram-layer h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.diagram-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.item-label {
  background: #3498db;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}

.item-desc {
  color: #666;
  font-size: 0.9rem;
  text-align: center;
}

/* Table styles */
.comparison-table,
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
}

.comparison-table th,
.comparison-table td,
table th,
table td {
  padding: 1.2rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
  vertical-align: top;
  line-height: 1.6;
}

.comparison-table th,
table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table td,
table td {
  font-size: 0.95rem;
  color: #2c3e50;
}

.comparison-table tr:nth-child(even),
table tr:nth-child(even) {
  background: #f8f9fa;
}

.comparison-table tr:hover,
table tr:hover {
  background: #e3f2fd;
  transition: background-color 0.2s ease;
}

.comparison-table tr:last-child td,
table tr:last-child td {
  border-bottom: none;
}

/* Table code blocks */
.comparison-table code,
table code {
  background: #f1f3f4;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.85rem;
  color: #e74c3c;
  border: 1px solid #e9ecef;
}

/* Table responsive */
@media (max-width: 768px) {
  .comparison-table,
  table {
    font-size: 0.9rem;
    margin: 1rem 0;
  }
  
  .comparison-table th,
  .comparison-table td,
  table th,
  table td {
    padding: 0.8rem 0.6rem;
  }
  
  .comparison-table code,
  table code {
    font-size: 0.8rem;
    padding: 0.15rem 0.3rem;
  }
}

/* Hive Architecture Styles */
.hive-architecture {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid #e9ecef;
}

.architecture-flow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.flow-layer {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.flow-layer:hover {
  border-color: #3498db;
  box-shadow: 0 6px 12px rgba(52, 152, 219, 0.15);
  transform: translateY(-2px);
}

.metastore-layer {
  border-color: #e74c3c;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.metastore-layer:hover {
  border-color: #e74c3c;
  box-shadow: 0 6px 12px rgba(231, 76, 60, 0.15);
}

.layer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.layer-components {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.component {
  background: #f8f9fa;
  color: #2c3e50;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.component:hover {
  background: #3498db;
  color: white;
  transform: scale(1.05);
}

.component.primary {
  background: #e74c3c;
  color: white;
  border-color: #c0392b;
  font-weight: 600;
}

.component.primary:hover {
  background: #c0392b;
  transform: scale(1.05);
}

.connection-lines {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  z-index: 1;
}

.connection-line {
  position: absolute;
  width: 2px;
  background: #3498db;
  left: 50%;
  transform: translateX(-50%);
}

.line1 {
  top: 20%;
  height: 2rem;
}

.line2 {
  top: 45%;
  height: 2rem;
}

.line3 {
  top: 70%;
  height: 2rem;
}

.architecture-legend {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.architecture-legend h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.legend-item {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  font-size: 0.9rem;
  line-height: 1.4;
}

.legend-item strong {
  color: #3498db;
}

/* Applications Grid Styles */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.app-category {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.app-category:hover {
  border-color: #3498db;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);
  transform: translateY(-2px);
}

.app-category h5 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.app-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.app-category li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
  font-size: 0.9rem;
  line-height: 1.4;
}

.app-category li:last-child {
  border-bottom: none;
}

.app-category strong {
  color: #3498db;
  font-weight: 600;
}

/* Code Box Styles */
.code-box {
  background: #2d3748;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  color: white;
  overflow-x: auto;
}

.code-box h4 {
  color: #81e6d9;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.code-content {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.code-content p {
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}

.code-content pre {
  background: #1a202c;
  border-radius: 6px;
  padding: 1rem;
  margin: 0.5rem 0;
  overflow-x: auto;
}

.code-content code {
  color: #f7fafc;
  font-family: inherit;
}

.categories h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #2c3e50;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.category-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.category-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.category-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.category-link:hover {
  color: #2980b9;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Category page styles */
.category-page {
  max-width: 1000px;
  margin: 0 auto;
}

.category-header {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin: -2rem -20px 1rem -20px;
}

.category-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.category-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.category-intro {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.category-intro h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.category-intro p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Architecture diagram styles for Data Engineering category */
.architecture-diagram {
  margin-top: 2rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.architecture-diagram h3 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.architecture-layers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.layer {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.layer:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.layer-header {
  padding: 1rem 1.5rem;
  color: white;
  font-weight: 500;
}

.layer-header h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.layer-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}

.serving-layer .layer-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.processing-layer .layer-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.metadata-layer .layer-header {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.storage-layer .layer-header {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.ingestion-layer .layer-header {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.layer-content {
  padding: 1.5rem;
}

.layer-item {
  background: #f8f9fa;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #495057;
  border-left: 3px solid #dee2e6;
}

.layer-item:last-child {
  margin-bottom: 0;
}

.layer-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: #6c757d;
  font-weight: bold;
  margin: 0.5rem 0;
}

.architecture-legend {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.architecture-legend h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.legend-item {
  background: #f8f9fa;
  padding: 0.8rem;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #495057;
  border-left: 3px solid #3498db;
}

.legend-item strong {
  color: #2c3e50;
}

/* Additional category page styles for new categories */
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255,255,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

.category-icon {
  font-size: 1.5rem;
}

.category-name {
  font-size: 1rem;
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  transition: transform 0.2s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-card p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.95rem;
}

.posts-placeholder {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.placeholder-card {
  text-align: center;
  padding: 2rem;
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.placeholder-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.placeholder-card p {
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.placeholder-topics {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.topic {
  background: #e9ecef;
  color: #495057;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.tool-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
}

.tool-item h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.tool-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tool-item li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f3f4;
  color: #6c757d;
  font-size: 0.9rem;
}

.tool-item li:last-child {
  border-bottom: none;
}

.posts-grid {
  display: grid;
  gap: 2rem;
}

.post-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.post-card.coming-soon {
  opacity: 0.7;
}

.post-content {
  padding: 2rem;
}

.post-content h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.post-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-content h3 a:hover {
  color: #3498db;
}

.post-content p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.post-category {
  background: #3498db;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
}

.post-date {
  color: #999;
}

/* Blog post styles */
.post {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.post-header {
  padding: 3rem 2rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.post-meta span {
  background: rgba(255,255,255,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
}

.post-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255,255,255,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
}

.post-content {
  padding: 2rem;
  line-height: 1.8;
  color: #2c3e50;
  font-size: 1.1rem;
}

.post-content h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin: 2rem 0 1.5rem 0;
  border-bottom: 3px solid #3498db;
  padding-bottom: 0.5rem;
}

.post-content h2 {
  font-size: 2rem;
  color: #34495e;
  margin: 2rem 0 1rem 0;
  border-left: 4px solid #3498db;
  padding-left: 1rem;
}

.post-content h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin: 1.5rem 0 1rem 0;
}

.post-content h4 {
  font-size: 1.3rem;
  color: #34495e;
  margin: 1.2rem 0 0.8rem 0;
}

.post-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.post-content ul, .post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.post-content blockquote {
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #555;
}

.post-content code {
  background: #f1f2f6;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  color: #e74c3c;
}

.post-content pre {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid #34495e;
}

.post-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

.post-content a {
  color: #3498db;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.3s ease;
}

.post-content a:hover {
  border-bottom: 1px solid #3498db;
}

.post-content strong {
  color: #2c3e50;
  font-weight: 600;
}

.post-content em {
  color: #7f8c8d;
  font-style: italic;
}

.post-section {
  margin-bottom: 3rem;
}

.post-section h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

.post-section h3 {
  color: #34495e;
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
}

.post-section h4 {
  color: #34495e;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.8rem;
  font-weight: 600;
}

.post-section p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.post-section ul {
  color: #555;
  line-height: 1.7;
  margin: 1rem 0;
  padding-left: 2rem;
}

.post-section ol {
  color: #555;
  line-height: 1.7;
  margin: 1rem 0;
  padding-left: 2rem;
}

.post-section li {
  margin-bottom: 0.5rem;
}

.post-section strong {
  font-weight: 600;
  color: var(--text-primary);
}

.post-section em {
  font-style: italic;
  color: var(--text-secondary);
}

.toc {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.toc a:hover {
  color: #3498db;
}

.info-box {
  background: #e8f4fd;
  border: 1px solid #bee5eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.info-box h4 {
  color: #0c5460;
  margin-bottom: 0.5rem;
}

.info-box p {
  color: #0c5460;
  margin: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.benefit-card h4 {
  color: #2c3e50;
  margin-bottom: 0.8rem;
}

.benefit-card p {
  color: #666;
  margin: 0;
  font-size: 0.95rem;
}

.code-block {
  background: #2d3748;
  border-radius: 8px;
  margin: 1.5rem 0;
  overflow: hidden;
}

.code-block h4 {
  background: #4a5568;
  color: white;
  padding: 1rem;
  margin: 0;
  font-size: 1rem;
}

.code-block pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
}

.code-block code {
  color: #e2e8f0;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.conclusion-box {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.conclusion-box h4 {
  color: #155724;
  margin-bottom: 1rem;
}

.conclusion-box ul {
  color: #155724;
  margin: 0;
}

.post-footer {
  padding: 2rem;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.prev-post, .next-post {
  max-width: 45%;
}

.prev-post span, .next-post span {
  display: block;
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.prev-post a, .next-post a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.prev-post a:hover, .next-post a:hover {
  color: #3498db;
}

.post-share h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
}

.share-btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.share-btn:hover {
  opacity: 0.8;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.linkedin {
  background: #0077b5;
}

.share-btn.email {
  background: #ea4335;
}

/* Footer styles */
.site-footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 2rem 0 1rem;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #ecf0f1;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #3498db;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Responsive design */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: row;
    gap: 1rem;
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .site-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .site-nav .nav-list {
    flex-direction: column;
    gap: 0;
    text-align: left;
    padding: 1rem 0;
  }
  
  .site-nav .nav-list li {
    border-bottom: 1px solid #eee;
  }
  
  .site-nav .nav-list li:last-child {
    border-bottom: none;
  }
  
  .site-nav a {
    display: block;
    padding: 1rem 2rem;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: #f8f9fa;
    padding-left: 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 300px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .language-switcher {
    order: 0;
    margin-bottom: 0;
  }
  
  .category-header h1 {
    font-size: 2rem;
  }
  
  .category-header p {
    font-size: 1rem;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .prev-post, .next-post {
    max-width: 100%;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .code-block pre {
    font-size: 0.8rem;
  }
  
  .architecture-diagram {
    padding: 1rem;
  }
  
  .architecture-diagram h3 {
    font-size: 1.3rem;
  }
  
  .layer-header {
    padding: 0.8rem 1rem;
  }
  
  .layer-header h4 {
    font-size: 1rem;
  }
  
  .layer-content {
    padding: 1rem;
  }
  
  .legend-grid {
    grid-template-columns: 1fr;
  }
  
  .applications-grid {
    grid-template-columns: 1fr;
  }
  
  .app-category {
    padding: 1rem;
  }
  
  .code-box {
    padding: 1rem;
    font-size: 0.8rem;
  }
  
  .code-content pre {
    padding: 0.8rem;
  }
  
  .title-line {
    font-size: 2rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .posts-preview {
    grid-template-columns: 1fr;
  }
  
  .post-preview-card.featured {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }
  
  .newsletter-input {
    min-width: auto;
    width: 100%;
    max-width: 300px;
  }
  
  .archive-header h1 {
    font-size: 2rem;
  }
  
  .archive-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .archive-sidebar {
    position: static;
    order: 2;
  }
  
  .search-box {
    flex-direction: column;
    align-items: center;
  }
  
  .search-input {
    width: 100%;
    max-width: 400px;
  }
  
  .archive-stats {
    grid-template-columns: 1fr;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .about-header h1 {
    font-size: 2.5rem;
  }
  
  .profile-section {
    flex-direction: column;
    text-align: center;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding-left: 0;
  }
  
  .timeline-item {
    padding-left: 0;
  }
  
  .timeline-item::before {
    display: none;
  }
  
  .education-grid {
    grid-template-columns: 1fr;
  }
  
  .topics-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hive-architecture {
    padding: 1rem;
  }
  
  .flow-layer {
    padding: 1rem;
  }
  
  .layer-components {
    grid-template-columns: 1fr;
  }
  
  .connection-lines {
    display: none;
  }
  
  .legend-grid {
    grid-template-columns: 1fr;
  }
}

/* Lakehouse Formats Post Styles */
.architecture-diagram {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

.architecture-diagram h4 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
}

.diagram-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.diagram-layer {
  width: 100%;
  max-width: 600px;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease;
}

.diagram-layer:hover {
  transform: translateY(-2px);
}

.diagram-layer:nth-child(1) {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 2px solid #2196f3;
}

.diagram-layer:nth-child(3) {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  border: 2px solid #9c27b0;
}

.diagram-layer:nth-child(5) {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 2px solid #ff9800;
}

.diagram-layer:nth-child(7) {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  border: 2px solid #4caf50;
}

.layer-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #2c3e50;
}

.layer-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.item {
  background: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #495057;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.diagram-arrow {
  font-size: 1.5rem;
  color: #6c757d;
  font-weight: bold;
  margin: 0.5rem 0;
}

.diagram-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #495057;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.comparison-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.comparison-table tr:nth-child(even) {
  background: #f8f9fa;
}

.comparison-table tr:hover {
  background: #e9ecef;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.use-case-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.use-case-card h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.ranking {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.rank {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.platform {
  font-weight: 600;
  color: #2c3e50;
  min-width: 120px;
}

.reason {
  color: #6c757d;
  font-size: 0.9rem;
}

.decision-tree {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

.decision-node {
  text-align: center;
}

.question {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.branches {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.branch {
  text-align: center;
  min-width: 200px;
}

.answer {
  background: #28a745;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.branch:nth-child(2) .answer {
  background: #dc3545;
}

.result {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  border: 2px solid #dee2e6;
  font-weight: 600;
  color: #2c3e50;
}

.next-question {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #2c3e50;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  margin: 1rem 0;
  display: inline-block;
}

.conclusion-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.summary-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: transform 0.2s ease;
}

.summary-item:hover {
  transform: translateY(-4px);
}

.summary-item h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.summary-item p {
  color: #6c757d;
  line-height: 1.6;
}

/* Mobile Responsiveness for Lakehouse Formats */
@media (max-width: 768px) {
  .diagram-container {
    gap: 0.3rem;
  }
  
  .diagram-layer {
    padding: 0.8rem;
  }
  
  .layer-items {
    gap: 0.3rem;
  }
  
  .item {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .diagram-legend {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .use-case-card {
    padding: 1rem;
  }
  
  .rank-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .platform {
    min-width: auto;
  }
  
  .branches {
    flex-direction: column;
    gap: 1rem;
  }
  
  .branch {
    min-width: auto;
  }
  
  .conclusion-summary {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.8rem 0.5rem;
  }
  
  /* Mobile styles for simple posts list */
  .posts-list-simple {
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .post-item-simple {
    padding: 1rem;
  }
  
  .post-meta-simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  
  .post-title-simple a {
    font-size: 1.1rem;
  }
  
  .post-tags-simple {
    gap: 0.3rem;
  }
  
  .tag {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
  }
  
  /* Mobile styles for new category pages */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1rem;
  }
  
  .tool-item {
    padding: 1rem;
  }
  
  .placeholder-topics {
    gap: 0.3rem;
  }
  
  .topic {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }
  
  /* Mobile styles for category badge */
  .category-badge {
    gap: 0.15rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 0.4rem;
  }
  
  .category-icon {
    font-size: 1.2rem;
  }
  
  .category-name {
    font-size: 0.85rem;
  }
  
  /* Mobile styles for category pages */
  .category-header {
    padding: 1.5rem 0;
    margin: -2rem -20px 0.8rem -20px;
  }
  
  .category-header h1 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
  }
  
  .category-header p {
    font-size: 1rem;
  }
  
  .category-intro {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .features-grid {
    gap: 0.8rem;
    margin: 1rem 0;
  }
  
  .tools-grid {
    gap: 0.8rem;
    margin: 1rem 0;
  }
  

}

/* 시계열 시리즈 관련 스타일 */
.series-flow {
  margin: 2rem 0;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.step-content p {
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
  font-weight: 500;
}

.step-content ul {
  margin: 0;
  padding-left: 1.5rem;
}

.step-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.objective-card {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.objective-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.objective-card h4 {
  margin: 0 0 1rem 0;
  color: var(--text-primary);
}

.objective-card ul {
  margin: 0;
  padding-left: 1.5rem;
}

.objective-card li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.application-item {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.application-item h4 {
  margin: 0 0 1rem 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.application-item ul {
  margin: 0;
  padding-left: 1.5rem;
}

.application-item li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.timeline {
  margin: 2rem 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 60px;
  top: 60px;
  bottom: -2rem;
  width: 2px;
  background: var(--border-color);
}

.timeline-year {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.timeline-content {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  flex: 1;
}

.timeline-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.timeline-content p {
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
  font-weight: 500;
}

.timeline-content ul {
  margin: 0;
  padding-left: 1.5rem;
}

.timeline-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .series-flow {
    margin: 1.5rem 0;
  }
  
  .flow-step {
    flex-direction: column;
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
    align-self: center;
  }
  
  .objectives-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .applications-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-item:not(:last-child)::after {
    display: none;
  }
  
  .timeline-year {
    margin-right: 0;
    margin-bottom: 1rem;
    align-self: center;
  }
}

/* Resource types for time series characteristics */
.resource-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.resource-types .layer {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-types .layer:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.resource-types .layer-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px 12px 0 0;
}

.resource-types .layer-header h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.resource-types .layer-desc {
  padding: 1.5rem;
  background: white;
  border-radius: 0 0 12px 12px;
}

.resource-types .layer-desc p {
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
  font-weight: 500;
}

.resource-types .layer-desc ul {
  margin: 0;
  padding-left: 1.5rem;
}

.resource-types .layer-desc li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Mobile responsive for resource types */
@media (max-width: 768px) {
  .resource-types {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .resource-types .layer-header,
  .resource-types .layer-desc {
    padding: 1rem;
  }
  
  .resource-types .layer-header h4 {
    font-size: 1.1rem;
  }
}

/* Post navigation */
.post-navigation {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 2px solid var(--border-color);
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.nav-link.prev {
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.nav-link.prev:hover {
  background: var(--secondary-color);
  color: white;
}

.nav-link.next {
  background: var(--primary-color);
  color: white;
}

.nav-link.next:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Mobile responsive for post navigation */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Call to action section */
.call-to-action {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: 15px;
  text-align: center;
}

.call-to-action h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.call-to-action p {
  margin: 0 0 2rem 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Mobile responsive for call to action */
@media (max-width: 768px) {
  .call-to-action {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .call-to-action h3 {
    font-size: 1.3rem;
  }
  
  .call-to-action p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    min-width: auto;
    width: 100%;
    max-width: 300px;
  }
}
