/* Alternative Home Page - Medium-style blog design */

.alternative-home {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #000000;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Header Styles */
.site-header {
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #000000;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 0;
  transition: all 0.2s ease;
}

.logo-text:hover {
  background: #333333;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px 0;
  background: #ffffff;
  text-align: center;
}

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

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #000000;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.2rem;
  color: #333333;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog Feed Section - Medium Style */
.blog-feed {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 48px 0 96px 0;
  background: #ffffff;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f2f2f2;
}

.post-card:last-child {
  border-bottom: none;
}

.post-body {
  max-width: 448px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-title {
  margin: 0;
}

.post-title a {
  display: inline-block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  text-decoration: none;
}

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

.post-description {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.post-image {
  display: block;
  width: 160px;
  height: 107px;
  overflow: hidden;
  background: #f4f4f4;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-image.placeholder img {
  object-fit: contain;
  padding: 16px;
  filter: grayscale(100%);
}

.empty-state {
  margin-top: 48px;
  font-size: 1rem;
  color: #666666;
  text-align: center;
}


/* Responsive Design */
@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  .post-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .post-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .post-title a {
    font-size: 20px;
    line-height: 30px;
  }

  .post-description {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 480px) {
  .post-title a {
    font-size: 20px;
    line-height: 30px;
  }

  .post-description {
    font-size: 16px;
    line-height: 24px;
  }
}