/* Base Styles */
body {
  background: #f7fafc;
  color: #0f172a;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Header */
.sc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #e5eaf0;
  position: sticky;
  top: 0;
  z-index: 10;
  gap: 16px;
}

.sc-logo-link {
  display: inline-block;
  text-decoration: none;
}

.sc-logo {
  height: 48px;
  width: auto;
  display: block;
}

.sc-back {
  margin-right: auto;
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.sc-back:hover {
  text-decoration: underline;
}

.sc-social {
  display: flex;
  gap: 12px;
}

.sc-social a {
  display: inline-flex;
  width: 28px;
  height: 28px;
}

.sc-social img {
  width: 100%;
  height: 100%;
}

/* Container */
.sc-container {
  max-width: 820px;
  margin: 24px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Image */
.sc-image {
  width: 100%;
  max-width: 600px;
  max-height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Details Section */
.sc-details {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.sc-details h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5eaf0;
}

.sc-details-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sc-detail-item {
  display: flex;
  flex-direction: row;
  gap: 12px;
  line-height: 1.6;
  align-items: flex-start;
}

.sc-detail-label {
  font-weight: 600;
  color: #475569;
  min-width: 180px;
  flex-shrink: 0;
  font-size: 15px;
}

.sc-detail-value {
  color: #0f172a;
  flex: 1;
  font-size: 15px;
}

.sc-detail-value a {
  color: #1976d2;
  text-decoration: none;
}

.sc-detail-value a:hover {
  text-decoration: underline;
}

/* Story/Article Section */
.sc-article {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.sc-article h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5eaf0;
}

.sc-content {
  white-space: pre-wrap;
  line-height: 1.8;
  font-size: 16px;
  color: #334155;
}

/* Google Doc / PDF embedded under Story */
.sc-content.sc-content--drive {
  white-space: normal;
}

.sc-content-drive-frame {
  display: block;
  width: 100%;
  height: min(75vh, 720px);
  min-height: 420px;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  background: #f8fafc;
}

.sc-content-drive-open {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1976d2;
  text-decoration: none;
}

.sc-content-drive-open:hover {
  text-decoration: underline;
}

/* Video Section */
.sc-video {
  width: 100%;
}

.sc-video iframe {
  width: 100%;
  height: 460px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sc-header {
    padding: 12px 16px;
  }
  
  .sc-container {
    margin: 16px auto;
    padding: 0 12px;
    gap: 16px;
  }
  
  .sc-image {
    max-height: 200px;
  }
  
  .sc-details,
  .sc-article {
    padding: 20px;
  }
  
  .sc-details h2,
  .sc-article h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }
  
  .sc-detail-item {
    flex-direction: column;
    gap: 4px;
  }
  
  .sc-detail-label {
    min-width: auto;
    font-size: 14px;
  }
  
  .sc-detail-value {
    font-size: 14px;
  }
  
  .sc-content {
    font-size: 15px;
    line-height: 1.7;
  }

  .sc-content-drive-frame {
    height: min(60vh, 560px);
    min-height: 320px;
  }
  
  .sc-video iframe {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .sc-back {
    font-size: 14px;
  }
  
  .sc-social {
    gap: 8px;
  }
  
  .sc-social a {
    width: 24px;
    height: 24px;
  }
  
  .sc-details,
  .sc-article {
    padding: 16px;
  }
  
  .sc-details h2,
  .sc-article h2 {
    font-size: 18px;
  }
  
  .sc-video iframe {
    height: 220px;
  }
}
